Skip to content

Commit

Permalink
Source wallpaper path from external file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sqvid committed Dec 29, 2022
1 parent 9312e3f commit abb9f4b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ neovim/.config/nvim/spell/

qutebrowser/*
!qutebrowser/.config/qutebrowser/config.py

sway/.config/sway/wallpaper.conf
9 changes: 6 additions & 3 deletions sway/.config/sway/config
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ set $col_unfocused_titlebar_bg #040f14
set $col_unfocused_titlebar_text #AAAAAA

# Wallpaper
set $wallpaper ~/Pictures/Wallpapers/Artists/JustinMaller/Jewels.jpg
#set $wallpaper ~/Pictures/Wallpapers/Artists/SimonStalenhag/TracesOfTheGreatWar_cropped.jpg
include ~/.config/sway/wallpaper.conf

# Workspaces:
set $workspace1 1:I
Expand Down Expand Up @@ -284,7 +285,7 @@ exec ~/.bin/x-checkupdate
# Move focus to the parent container
bindsym $mod+a focus parent

# Center the focused container
# Centre the focused container
bindsym $mod+Shift+z move position center
# }}}

Expand Down Expand Up @@ -335,7 +336,6 @@ bindsym $mod+r mode "Resize"
bindsym XF86AudioMute exec $mute_toggle
bindsym XF86MonBrightnessUp exec $brightnessup
bindsym XF86MonBrightnessDown exec $brightnessdown
bindsym --locked XF86PowerOff exec sudo systemctl suspend
bindsym XF86WakeUp exec $swaylock
bindsym XF86AudioPrev exec $audio_prev
bindsym XF86AudioPlay exec $audio_toggle
Expand Down Expand Up @@ -372,9 +372,12 @@ bindsym $mod+r mode "Resize"
# Special window behaviour: {{{

for_window [class="Mathematica"] floating enable

# Inhibit idle when fullscreen.
for_window [app_id="^.*"] inhibit_idle fullscreen
for_window [class="^.*"] inhibit_idle fullscreen

# Smooth fading when changing window focus.
exec python3 ~/.config/sway/swayscripts/behaviour/sway_smooth_fading.py &
# }}}
# }}}
Expand Down

0 comments on commit abb9f4b

Please sign in to comment.