diff --git a/sway/.config/sway/.gitignore b/sway/.config/sway/.gitignore new file mode 100644 index 0000000..ca2c2c3 --- /dev/null +++ b/sway/.config/sway/.gitignore @@ -0,0 +1,2 @@ +local.d/** +!local.d/placeholder diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 230d887..e13f722 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -24,7 +24,7 @@ set $menu nwggrid -client | xargs swaymsg exec -- ### 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 +set $wallpaper /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png # # Example configuration: # @@ -198,8 +198,11 @@ mode "resize" { bindsym $mod+r mode "resize" include /etc/sway/config.d/* +include /home/peter/.config/sway/local.d/* -bindsym Ctrl+Mod1+l exec swaylock -i /home/peter/Downloads/wallpapers/737332.png --clock --fade-in 1 --indicator --indicator-thickness 6 --ring-color 5af78e --inside-color 00000055 --key-hl-color 4d4d4d --line-uses-ring --separator-color 00000000 --text-color ffffff --timestr "%H:%M" +output "*" bg $wallpaper fill + +bindsym Ctrl+Mod1+l exec swaylock -i $wallpaper --clock --fade-in 1 --indicator --indicator-thickness 6 --ring-color 5af78e --inside-color 00000055 --key-hl-color 4d4d4d --line-uses-ring --separator-color 00000000 --text-color ffffff --timestr "%H:%M" bindsym $mod+x exec bemenu-run | xargs swaymsg exec -- bindsym Print exec grimshot --notify save area @@ -220,11 +223,6 @@ input "*" { xkb_options compose:ralt } -output DP-1 scale 2 -xwayland scale 2 - -output "*" bg /home/peter/Downloads/wallpapers/737332.png fill - client.focused 00000000 00000000 00000000 00000000 client.focused_inactive 00000000 00000000 00000000 00000000 client.unfocused 00000000 00000000 00000000 00000000 diff --git a/sway/.config/sway/local.d/placeholder b/sway/.config/sway/local.d/placeholder new file mode 100644 index 0000000..e69de29