summaryrefslogtreecommitdiff
path: root/home-config/sway/config.d
diff options
context:
space:
mode:
Diffstat (limited to 'home-config/sway/config.d')
-rw-r--r--home-config/sway/config.d/idle4
-rw-r--r--home-config/sway/config.d/keybinds2
-rw-r--r--home-config/sway/config.d/scratch4
-rw-r--r--home-config/sway/config.d/theme5
4 files changed, 9 insertions, 6 deletions
diff --git a/home-config/sway/config.d/idle b/home-config/sway/config.d/idle
index 7b94882..fb13083 100644
--- a/home-config/sway/config.d/idle
+++ b/home-config/sway/config.d/idle
@@ -1,5 +1,5 @@
# Turn off display after tiemout
exec swayidle -w \
- timeout 300 '~/.config/sway/lock.sh' \
+ timeout 300 'swaylock -f -c 14171d' \
timeout 300 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
- before-sleep '~/.config/sway/lock.sh'
+ before-sleep 'swaylock -f -c 14171d'
diff --git a/home-config/sway/config.d/keybinds b/home-config/sway/config.d/keybinds
index d70cf82..7278d49 100644
--- a/home-config/sway/config.d/keybinds
+++ b/home-config/sway/config.d/keybinds
@@ -19,7 +19,7 @@ bindsym $mod+Shift+l exec $lock
bindsym Ctrl+Alt+Delete exec killall sway
# Power menu
-bindsym $mod+L exec killall wlogout || wlogout --css ~/.config/sway/power/style.css -l ~/.config/sway/power/layout
+bindsym $mod+L exec killall wlogout || wlogout --css ~/.config/sway/logout.d/power/style.css -l ~/.config/sway/logout.d/power/layout
# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
diff --git a/home-config/sway/config.d/scratch b/home-config/sway/config.d/scratch
index 4de2190..0337319 100644
--- a/home-config/sway/config.d/scratch
+++ b/home-config/sway/config.d/scratch
@@ -10,5 +10,5 @@ bindsym $mod+minus scratchpad show
for_window [app_id="scratch_term"] move scratchpad, resize set 960 640
for_window [app_id="scratch_htop"] move scratchpad, resize set 960 640
-bindsym $mod+y exec ~/.config/sway/scratchpads.sh scratch_term zsh
-bindsym $mod+h exec ~/.config/sway/scratchpads.sh scratch_htop htop
+bindsym $mod+y exec ~/.config/sway/scripts.d/scratchpads.sh scratch_term zsh
+bindsym $mod+h exec ~/.config/sway/scripts.d/scratchpads.sh scratch_htop htop
diff --git a/home-config/sway/config.d/theme b/home-config/sway/config.d/theme
index 43ebb81..e8d2822 100644
--- a/home-config/sway/config.d/theme
+++ b/home-config/sway/config.d/theme
@@ -1,5 +1,5 @@
### Set borders
-gaps inner 10
+gaps inner $gaps
for_window [class="^.*"] border pixel 2
default_border pixel 2
default_floating_border pixel 2
@@ -21,9 +21,12 @@ smart_corner_radius $radius
shadows $shadows
shadows_on_csd $shadows
shadow_blur_radius $shadow_blur
+shadow_color #14171dff
blur $blur
blur_radius $blur_radius
blur_passes $blur_passes
+layer_effects "waybar" blur enable; shadows enable
+layer_effects "wofi" blur enable; shadows enable
### Output configuration
output * bg $bg fill