diff options
-rw-r--r-- | .config/x11/xinitrc | 2 | ||||
-rwxr-xr-x | .local/bin/dmapps | 2 | ||||
-rwxr-xr-x | .local/bin/dmlog | 2 | ||||
-rwxr-xr-x | .local/bin/scr2 | 2 |
4 files changed, 6 insertions, 2 deletions
diff --git a/.config/x11/xinitrc b/.config/x11/xinitrc index 63d8141..8d033d2 100644 --- a/.config/x11/xinitrc +++ b/.config/x11/xinitrc @@ -80,7 +80,7 @@ export LANG='en_US.UTF-8' --output VIRTUAL-1 --off dunst_shit -startif picom +[ $host = "po-rbo" ] && startif picom pgrep $mpd >/dev/null || $mpd >/dev/null 2>&1 xset s off xset -dpms diff --git a/.local/bin/dmapps b/.local/bin/dmapps index ccefc76..0ce4c81 100755 --- a/.local/bin/dmapps +++ b/.local/bin/dmapps @@ -41,6 +41,7 @@ use constant PROG_LIST => "" . "Liferea" . "\n" . "HexChat" . "\n" . "--- Audio ---" . "\n" . +"Ardour" . "\n" . "REAPER" . "\n" . "Audacity" . "\n" . "Pulse Control Panel" . "\n" . @@ -104,6 +105,7 @@ sub run exec("signal-desktop") if $action =~ "Signal"; exec("liferea") if $action =~ "Liferea"; exec("hexchat") if $action =~ "HexChat"; + exec("ardour8") if $action =~ "Ardour"; exec("reaper") if $action =~ "REAPER"; exec("audacity") if $action =~ "Audacity"; exec("pavucontrol") if $action =~ "Pulse Control Panel"; diff --git a/.local/bin/dmlog b/.local/bin/dmlog index 7264d75..9244cbf 100755 --- a/.local/bin/dmlog +++ b/.local/bin/dmlog @@ -90,6 +90,7 @@ sub action ); sleep 2; if (HOSTNAME eq 'mother') { + system('umount', '-f', '/var/dev/ceres'); exec(LOGINCTL_PATH, 'suspend'); } elsif (HOSTNAME eq 'po-rbo') { @@ -109,6 +110,7 @@ sub action elsif ($var eq ${+LIST}[3]) { if (confirm($var, $color) == 1) { if (HOSTNAME eq 'mother') { + system('umount', '-f', '/var/dev/ceres'); exec(LOGINCTL_PATH, 'reboot'); } elsif (HOSTNAME eq 'po-rbo') { diff --git a/.local/bin/scr2 b/.local/bin/scr2 index 6631c01..b0e7063 100755 --- a/.local/bin/scr2 +++ b/.local/bin/scr2 @@ -7,7 +7,7 @@ if [ $1 == "low" ]; then --output DP-1 --off \ --output DP-2 --off \ --output DP-3 --off \ - --output DP-4 --primary --mode 1920x1080 --rate 144 --pos 0x0 --rotate normal \ + --output DP-4 --primary --mode 1920x1080 --rate 180 --pos 0x0 --rotate normal \ --output DP-5 --off else xrandr \ |