summaryrefslogtreecommitdiff
path: root/dots
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-10-04 14:43:28 -0700
committerElizabeth Hunt <me@liz.coffee>2025-10-04 14:53:07 -0700
commitff1386de7f7cb385a8b5f59a8588194eb3f1774a (patch)
tree9ab7458dfe8e09118b0081437ff375894fb468ad /dots
parent1722f55eccec31cc86cdee1a3673ebfa02af57a6 (diff)
downloaddotfiles-ff1386de7f7cb385a8b5f59a8588194eb3f1774a.tar.gz
dotfiles-ff1386de7f7cb385a8b5f59a8588194eb3f1774a.zip
Some stuff
Diffstat (limited to 'dots')
-rw-r--r--dots/home/scripts/wallpaper.sh5
-rw-r--r--dots/sway/.config/sway/config.d/bindings.j29
-rw-r--r--dots/sway/.config/sway/config.d/theme.j220
-rw-r--r--dots/systemd/.config/systemd/user/wallpaper.service.j22
4 files changed, 25 insertions, 11 deletions
diff --git a/dots/home/scripts/wallpaper.sh b/dots/home/scripts/wallpaper.sh
new file mode 100644
index 0000000..47c604c
--- /dev/null
+++ b/dots/home/scripts/wallpaper.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+wallpaper=`find -L $HOME/Pictures/wallpapers -type f | shuf -n1`
+swww img $wallpaper --transition-type random
+
diff --git a/dots/sway/.config/sway/config.d/bindings.j2 b/dots/sway/.config/sway/config.d/bindings.j2
index 8737fa7..249d0c8 100644
--- a/dots/sway/.config/sway/config.d/bindings.j2
+++ b/dots/sway/.config/sway/config.d/bindings.j2
@@ -1,14 +1,19 @@
+input "type:keyboard" {
+ xkb_options caps:ctrl_modifier
+}
+
set $mod {{ window_manager.key.mod }}
set $mov {{ window_manager.key.mov }}
set $sup {{ window_manager.key.sup }}
set $ed {{ window_manager.key.ed }}
+floating_modifier $mod
set $left h
set $down j
set $up k
set $right l
-set $browser zen-browser
+set $browser chromium
set $term alacritty
set $launcher wofi
@@ -94,3 +99,5 @@ bindsym {
XF86AudioPrev exec playerctl previous
}
+tiling_drag enable
+mouse_warping container
diff --git a/dots/sway/.config/sway/config.d/theme.j2 b/dots/sway/.config/sway/config.d/theme.j2
index 9eeb1a8..5588a6a 100644
--- a/dots/sway/.config/sway/config.d/theme.j2
+++ b/dots/sway/.config/sway/config.d/theme.j2
@@ -1,21 +1,23 @@
gaps inner 12
gaps outer 0
-default_border pixel 2
-
+default_border pixel 3
smart_borders on
smart_gaps off
font pango:{{ theme.sway.font }}
+seat seat0 xcursor_theme {{ theme.sway.cursor }}
exec gsettings set org.gnome.desktop.interface cursor-theme {{ theme.gtk.cursor }}
exec gsettings set org.gnome.desktop.interface color-scheme prefer-{{ "dark" if theme.gtk.prefer_dark else "light" }}
exec gsettings set org.gnome.desktop.interface gtk-theme '{{ theme.gtk.theme }}'
-#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 }}
+set $border_focused {{ theme.colors.bright6 }}
+set $border_unfocused {{ theme.colors.regular6 }}
+set $focused_background {{ theme.colors.regular7 }}
+set $unfocused_background {{ theme.colors.background }}
+set $font_color {{ theme.colors.foreground }}
+
+client.focused $border_focused $focused_background $font_color
+client.unfocused $border_unfocused $unfocused_background $font_color
+client.focused_inactive $border_unfocused $unfocused_background $font_color
diff --git a/dots/systemd/.config/systemd/user/wallpaper.service.j2 b/dots/systemd/.config/systemd/user/wallpaper.service.j2
index 511a82e..8a22b76 100644
--- a/dots/systemd/.config/systemd/user/wallpaper.service.j2
+++ b/dots/systemd/.config/systemd/user/wallpaper.service.j2
@@ -3,7 +3,7 @@ Description=Sets wallpaper randomly every 30 mins
[Service]
Restart=always
-RestartSec=1800s
+RestartSec=3600s
ExecStart=/bin/bash {{ user.home }}/scripts/wallpaper.sh
Sysloglevel=5
LogLevelMax=5