summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-27 16:33:27 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-27 16:33:27 -0700
commit26192140899b6147b3ccb57410ab3c0d88927a13 (patch)
tree8b110f206350ea5d134d2cfea17d1c0b18c9235b
parent3644833991298c6785d5310b8cdf857c1a770ea6 (diff)
downloaddotfiles-26192140899b6147b3ccb57410ab3c0d88927a13.tar.gz
dotfiles-26192140899b6147b3ccb57410ab3c0d88927a13.zip
Cleans up some todos
-rw-r--r--context.json3
-rw-r--r--dots/sway/.config/sway/config.d/bindings.j213
-rw-r--r--dots/sway/.config/sway/config.d/swayfx6
-rw-r--r--dots/sway/.config/sway/config.d/theme23
-rw-r--r--dots/sway/.config/sway/config.d/theme.j221
-rw-r--r--dots/systemd/.config/systemd/services/wallpaper.service.j29
6 files changed, 48 insertions, 27 deletions
diff --git a/context.json b/context.json
index 24f8c24..ee99561 100644
--- a/context.json
+++ b/context.json
@@ -320,6 +320,9 @@
"waybar": {
"font": "Lilex Nerd Font"
},
+ "sway": {
+ "font": "monospace 11"
+ },
"sketchybar": {
"font": "Lekton Nerd Font Mono"
},
diff --git a/dots/sway/.config/sway/config.d/bindings.j2 b/dots/sway/.config/sway/config.d/bindings.j2
index c4992f4..10fe0b4 100644
--- a/dots/sway/.config/sway/config.d/bindings.j2
+++ b/dots/sway/.config/sway/config.d/bindings.j2
@@ -1,6 +1,7 @@
set $mod {{ window_manager.key.mod }}
set $mov {{ window_manager.key.mov }}
set $sup {{ window_manager.key.sup }}
+set $ed {{ window_manager.key.ed }}
set $left h
set $down j
@@ -23,8 +24,18 @@ bindsym --to-code {
$sup+Space exec $launcher
$sup+b exec $browser
$sup+Return exec $term
+}
+
+bindsym --to-code {
+ $mod+$ed+h split horizontal
+ $mod+$ed+v split vertical
+
+ $mod+$ed+l layout toggle
+ $mod+$ed+s layout stacking
+ $mod+$ed+w layout tabbed
- $mod+v layout tabbed
+ $mod+$ed+f fullscreen toggle
+ $mod+$ed+t floating toggle
}
bindsym --to-code {
diff --git a/dots/sway/.config/sway/config.d/swayfx b/dots/sway/.config/sway/config.d/swayfx
index ed88db2..b508582 100644
--- a/dots/sway/.config/sway/config.d/swayfx
+++ b/dots/sway/.config/sway/config.d/swayfx
@@ -2,12 +2,12 @@ layer_effects "gtk-layer-shell" blur enable; shadows enable; corner_radius 13
layer_effects "wofi" blur enable; shadows enable; corner_radius 13
smart_corner_radius enable
-corner_radius 15
+corner_radius 10
shadows enable
shadows_on_csd enable
shadow_blur_radius 20
blur enable
blur_xray disable
-blur_passes 4
-blur_radius 4
+blur_passes 2
+blur_radius 2
diff --git a/dots/sway/.config/sway/config.d/theme b/dots/sway/.config/sway/config.d/theme
deleted file mode 100644
index 1de8db5..0000000
--- a/dots/sway/.config/sway/config.d/theme
+++ /dev/null
@@ -1,23 +0,0 @@
-gaps inner 12
-gaps outer 0
-
-# hide titlebar on windows
-default_border pixel 5
-
-font pango:AgaveNerdFontMono Regular 11
-
-smart_borders on
-smart_gaps off
-
-exec swww-daemon -f xrgb
-# TODO: shift every 30 mins
-exec swww img $HOME/Pictures/wallpapers/penguins-hugging.jpg
-
-# TODO: pull from context
-#class border backgr text indicator child_border
-client.focused #333845 #333845 #ffffff #2e9ef4 #8fbcbb
-client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
-client.unfocused #2f343a #222222 #888888 #333845 #333845
-client.urgent #2f343a #900000 #ffffff #900000 #900000
-client.placeholder #000000 #0c0c0c #ffffff #000000 #333845
-client.background #ffffff
diff --git a/dots/sway/.config/sway/config.d/theme.j2 b/dots/sway/.config/sway/config.d/theme.j2
new file mode 100644
index 0000000..7c796ae
--- /dev/null
+++ b/dots/sway/.config/sway/config.d/theme.j2
@@ -0,0 +1,21 @@
+gaps inner 12
+gaps outer 0
+
+# hide titlebar on windows
+default_border pixel 2
+
+font pango:{{ theme.sway.font }}
+
+smart_borders on
+smart_gaps off
+
+exec swww-daemon -f xrgb
+exec systemctl start --user wallpaper
+
+#class border backgr text indicator child_border
+#client.focused {{ theme.colors.regular4 }} {{ theme.colors.regular4 }} {{ theme.colors.bright7 }} {{ theme.colors.bright4 }} {{ theme.colors.regular0 }}
+#client.focused_inactive {{ theme.colors.regular0 }} {{ theme.colors.bright0 }} {{ theme.colors.bright7 }} {{ theme.colors.regular4 }} {{ theme.colors.bright0 }}
+#client.unfocused {{ theme.colors.regular0 }} {{ theme.colors.background }} {{ theme.colors.bright0 }} {{ theme.colors.regular4 }} {{ theme.colors.regular4 }}
+#client.urgent {{ theme.colors.regular0 }} {{ theme.colors.regular1 }} {{ theme.colors.bright7 }} {{ theme.colors.regular1 }} {{ theme.colors.regular1 }}
+#client.placeholder {{ theme.colors.background }} {{ theme.colors.regular0 }} {{ theme.colors.bright7 }} {{ theme.colors.background }} {{ theme.colors.regular4 }}
+#client.background {{ theme.colors.bright7 }}
diff --git a/dots/systemd/.config/systemd/services/wallpaper.service.j2 b/dots/systemd/.config/systemd/services/wallpaper.service.j2
new file mode 100644
index 0000000..df4f595
--- /dev/null
+++ b/dots/systemd/.config/systemd/services/wallpaper.service.j2
@@ -0,0 +1,9 @@
+[Unit]
+Description=Sets wallpaper randomly every 30 mins
+
+[Service]
+Restart=always
+RestartSec=1800s
+ExecStart=/bin/bash {{ user.home }}/scripts/wallpaper.sh
+Sysloglevel=5
+LogLevelMax=5