diff options
| -rw-r--r-- | .gitignore | 20 | ||||
| -rwxr-xr-x | .i3lock/lock.sh | 11 | ||||
| -rw-r--r-- | .moc/equalizer | 2 | ||||
| -rw-r--r-- | .moc/softmixer | 4 |
4 files changed, 35 insertions, 2 deletions
@@ -1,3 +1,19 @@ -* -*/ +/* + !.gitignore + +!.i3lock/ +.i3lock/* +!.i3lock/lock.sh + +!.moc/ +.moc/* +!.moc/config +!.moc/equalizer +!.moc/softmixer +!.moc/timidity.cfg +!.moc/themes/ + +!.runelite/ +.runelite/* +!.runelite/settings.properties diff --git a/.i3lock/lock.sh b/.i3lock/lock.sh new file mode 100755 index 0000000..62e3925 --- /dev/null +++ b/.i3lock/lock.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +if [ $(grep -r "RUNNING" /proc/asound | wc -l) -eq 0 ] || [[ $# -ne 0 ]]; then + # Also disables and enables dunst, my notification daemon + # https://github.com/dunst-project/dunst/issues/697 + # https://wiki.archlinux.org/title/Dunst#Disable_dunst_temporarily + + killall -SIGUSR1 dunst + i3lock -f -c d49408 -i /home/kamen/.i3lock/lockscreen.png -n + killall -SIGUSR2 dunst +fi diff --git a/.moc/equalizer b/.moc/equalizer new file mode 100644 index 0000000..7efeafd --- /dev/null +++ b/.moc/equalizer @@ -0,0 +1,2 @@ +Active: 1 +Mixin: 0.250000 diff --git a/.moc/softmixer b/.moc/softmixer new file mode 100644 index 0000000..b790bca --- /dev/null +++ b/.moc/softmixer @@ -0,0 +1,4 @@ +Active: 1 +Amplification: 100 +Value: 40 +Mono: 0 |
