1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

sxhkd/dunst/mic: added sound for mute and deaf, changed notification sounds

This commit is contained in:
2023-10-08 01:34:18 +02:00
parent da287df85c
commit d8a6a1d8a5
11 changed files with 30 additions and 6 deletions

11
.local/bin/tools/monitor_toggle Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
# toggle external monitor
# by lukesmithxyz, checkout github.com/lukesmithxyz/voidrice
intern=LVDS1
extern=HDMI2
(xrandr | grep "$extern disconnected")
(xrandr --listactivemonitors | grep $extern) || ((xrandr --output $extern --right-of $intern --auto && setbg) & exit)
(xrandr --listactivemonitors | grep $extern) && xrandr --output $extern --off
setbg