Initial backup

This commit is contained in:
2020-04-27 15:28:35 +02:00
parent 9b8c235753
commit be88ded986
34 changed files with 2161 additions and 0 deletions

Binary file not shown.

3
.xmonad/scripts/getVolume.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
amixer get Master |grep % |awk '{print $5, $6}' | head -1

7
.xmonad/scripts/getdGPULoad.py Executable file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/python3
from pynvml import *
nvmlInit()
handle = nvmlDeviceGetHandleByIndex(0)
print(str(nvmlDeviceGetUtilizationRates(handle).gpu))

View File

@@ -0,0 +1,10 @@
#!/bin/bash
STATE="$(cat /proc/acpi/bbswitch | grep -o "ON\|OFF")"
if [ "$STATE" == "ON" ];
then
LOAD="$(~/.xmonad/scripts/getdGPULoad.py)"
echo "${STATE} (${LOAD}%)"
else
echo "OFF"
fi

3
.xmonad/scripts/wallpaper.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
DISPLAY=:0 /usr/bin/feh --recursive --randomize --bg-fill /home/marius/ownCloud/Wallpaper