diff options
| author | kkard2 <[email protected]> | 2026-05-01 20:59:28 +0200 |
|---|---|---|
| committer | kkard2 <[email protected]> | 2026-05-01 20:59:28 +0200 |
| commit | b44b1125990fbd5bbf773d04c0cd4747ad6f7011 (patch) | |
| tree | 3b290eb99c6c7e9fbd374d773fda74f9fb05cbc1 /_linux/sway | |
| parent | 1c1a11d17d9d8580c2e3bb5ddc4de7c592c64a0b (diff) | |
silly wallpaper randomizer
Diffstat (limited to '_linux/sway')
| -rw-r--r-- | _linux/sway/config | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/_linux/sway/config b/_linux/sway/config index 89d813e..6ab5500 100644 --- a/_linux/sway/config +++ b/_linux/sway/config @@ -21,8 +21,11 @@ set $notprimary HDMI-A-2 ### Output configuration # -# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) -output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill +# Wallpaper +output * bg \"$(find /home/kkard2/Pictures/wall/random/ -type f -not -wholename '*/.git/*' -not -wholename '*.md' | shuf -n 1)\" fill +bindsym $mod+p output * bg \"$(find /home/kkard2/Pictures/wall/random/ -type f -not -wholename '*/.git/*' -not -wholename '*.md' | shuf -n 1)\" fill + +# swaymsg "output * bg \"$(find /home/kkard2/Pictures/wall/random/ -type f -not -wholename '*/.git/*' -not -wholename '*.md' | shuf -n 1)\" fill" # # Example configuration: # @@ -261,7 +264,7 @@ bar { # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. status_command i3blocks - status_edge_padding 16 + status_edge_padding 4 colors { separator #fce8c3 @@ -269,7 +272,7 @@ bar { background #1c1b19e5 #inactive_workspace #32323200 #32323200 #5c5c5c # border bg text - focused_workspace #ff00ffff #ff00ffff #ffffffff + focused_workspace #ff00ffff #ff00ffff #000000ff active_workspace #484e50ff #484e50ff #ffffffff inactive_workspace #1c1b19e5 #1c1b19e5 #fce8c3ff urgent_workspace #ff0000ff #ff0000ff #ffffffff |
