From ec21f169e2a8f8cb796dd6165bee3436f7b1618e Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 8 Jul 2021 13:25:09 -0500 Subject: [PATCH 1/2] kd-laptop: reordered workspace-related configs to change sway's startup behavior --- .config/sway/kd-laptop/{workspaces.conf => 90-workspaces.conf} | 0 .../{terminal-workspace.conf => 91-terminal-workspace.conf} | 0 .../kd-laptop/{media-workspace.conf => 92-media-workspace.conf} | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename .config/sway/kd-laptop/{workspaces.conf => 90-workspaces.conf} (100%) rename .config/sway/kd-laptop/{terminal-workspace.conf => 91-terminal-workspace.conf} (100%) rename .config/sway/kd-laptop/{media-workspace.conf => 92-media-workspace.conf} (100%) diff --git a/.config/sway/kd-laptop/workspaces.conf b/.config/sway/kd-laptop/90-workspaces.conf similarity index 100% rename from .config/sway/kd-laptop/workspaces.conf rename to .config/sway/kd-laptop/90-workspaces.conf diff --git a/.config/sway/kd-laptop/terminal-workspace.conf b/.config/sway/kd-laptop/91-terminal-workspace.conf similarity index 100% rename from .config/sway/kd-laptop/terminal-workspace.conf rename to .config/sway/kd-laptop/91-terminal-workspace.conf diff --git a/.config/sway/kd-laptop/media-workspace.conf b/.config/sway/kd-laptop/92-media-workspace.conf similarity index 100% rename from .config/sway/kd-laptop/media-workspace.conf rename to .config/sway/kd-laptop/92-media-workspace.conf From 3834c9343dc6627c3296024a2529b1b640206cc5 Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 8 Jul 2021 19:19:03 -0500 Subject: [PATCH 2/2] variables: inline comments aren't supported, dumbass --- .config/sway/available/general/variables.conf | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.config/sway/available/general/variables.conf b/.config/sway/available/general/variables.conf index 828ce2b..e5f5df7 100644 --- a/.config/sway/available/general/variables.conf +++ b/.config/sway/available/general/variables.conf @@ -36,10 +36,12 @@ set $minimum-brightness "6" # Idle settings set $idle-display-timeout 600 -set $idle-display-sleep 'swaymsg "output * dpms off"' # set to ":" to disable feature -set $idle-display-wake 'swaymsg "output * dpms on"' # set to ":" to disable feature +# set next two options to ":" to disable feature +set $idle-display-sleep 'swaymsg "output * dpms off"' +set $idle-display-wake 'swaymsg "output * dpms on"' # Locker settings set $idle-lock-timeout 900 -set $idle-lock-locker "swaylock -e -f -F -l -c 000000" # set to ":" to disable feature -set $idle-lock-unlocker "killall swaylock" # set to ":" to disable feature +# set next two options to ":" to disable feature +set $idle-lock-locker "swaylock -e -f -F -l -c 000000" +set $idle-lock-unlocker "killall swaylock"