diff --git a/home/gui/default.nix b/home/gui/default.nix index b7695db..3572c90 100644 --- a/home/gui/default.nix +++ b/home/gui/default.nix @@ -63,6 +63,7 @@ shikane shortwave source-code-pro + sway-audio-idle-inhibit syncthingtray telegram-desktop texlive.combined.scheme-medium diff --git a/home/gui/files/sway/default b/home/gui/files/sway/default index 50060b0..722b18e 100644 --- a/home/gui/files/sway/default +++ b/home/gui/files/sway/default @@ -4,7 +4,7 @@ set $terminal_path /home/don/bin/mynewterm set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $lock /home/don/bin/lock.sh -#set $lock 'swaylock -f -c 000000' +exec sway-audio-idle-inhibit exec swayidle -w \ timeout 300 $lock \ timeout 360 'swaymsg "output * dpms off"' \ diff --git a/home/gui/files/sway/eve b/home/gui/files/sway/eve index 8549910..92f70c1 100644 --- a/home/gui/files/sway/eve +++ b/home/gui/files/sway/eve @@ -4,7 +4,7 @@ set $terminal_path /home/don/bin/mynewterm set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $lock /home/don/bin/lock.sh -#set $lock 'swaylock -f -c 000000' +exec sway-audio-idle-inhibit exec swayidle -w \ timeout 300 $lock \ timeout 360 'swaymsg "output * dpms off"' \ diff --git a/home/gui/files/sway/loki b/home/gui/files/sway/loki index 1c94a7d..fb36590 100644 --- a/home/gui/files/sway/loki +++ b/home/gui/files/sway/loki @@ -4,7 +4,7 @@ set $terminal_path /home/don/bin/mynewterm set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $lock /home/don/bin/lock.sh -#set $lock 'swaylock -f -c 000000' +exec sway-audio-idle-inhibit exec swayidle -w \ timeout 300 $lock \ timeout 360 'swaymsg "output * dpms off"' \ diff --git a/home/gui/files/sway/pocket2 b/home/gui/files/sway/pocket2 index 0fa7510..c636491 100644 --- a/home/gui/files/sway/pocket2 +++ b/home/gui/files/sway/pocket2 @@ -4,7 +4,7 @@ set $terminal_path /home/don/bin/mynewterm set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $lock /home/don/bin/lock.sh -#set $lock 'swaylock -f -c 000000' +exec sway-audio-idle-inhibit exec swayidle -w \ timeout 300 $lock \ timeout 360 'swaymsg "output * dpms off"' \ diff --git a/home/gui/files/sway/smaug b/home/gui/files/sway/smaug index 1356150..7b0f575 100644 --- a/home/gui/files/sway/smaug +++ b/home/gui/files/sway/smaug @@ -4,7 +4,7 @@ set $terminal_path /home/don/bin/mynewterm set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $lock /home/don/bin/lock.sh -#set $lock 'swaylock -f -c 000000' +exec sway-audio-idle-inhibit exec swayidle -w \ timeout 300 $lock \ timeout 360 'swaymsg "output * dpms off"' \ diff --git a/home/gui/files/sway/t2 b/home/gui/files/sway/t2 index 75853be..06f05ff 100644 --- a/home/gui/files/sway/t2 +++ b/home/gui/files/sway/t2 @@ -4,7 +4,7 @@ set $terminal_path /home/don/bin/mynewterm set $snd_sink alsa_output.usb-Corsair_CORSAIR_VOID_ELITE_Wireless_Gaming_Dongle-00.iec958-stereo set $lock /home/don/bin/lock.sh -#set $lock 'swaylock -f -c 000000' +exec sway-audio-idle-inhibit exec swayidle -w \ timeout 300 $lock \ timeout 360 'swaymsg "output * dpms off"' \