Add background script
Triggered when the screen configuration is changed
This commit is contained in:
parent
cb88dd4f41
commit
fe0217588e
3 changed files with 5 additions and 1 deletions
3
i3/background.sh
Executable file
3
i3/background.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
exec feh --bg-fill "$HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_modified_colours.jpg"
|
|
@ -253,7 +253,7 @@ exec --no-startup-id "$HOME/Programs/own/battery/monitor.py &>$HOME/.log/my-i3-d
|
||||||
|
|
||||||
|
|
||||||
# set background
|
# set background
|
||||||
exec_always --no-startup-id feh --bg-fill $HOME/Pictures/background/Red-billed_streamertail_Trochilus_polytmus_female_in_flight_2_modified_colours.jpg
|
exec_always --no-startup-id "$HOME/.config/i3/background.sh"
|
||||||
|
|
||||||
|
|
||||||
##################
|
##################
|
||||||
|
|
|
@ -23,6 +23,7 @@ should_exist "$builtin" "$ext1" "$ext2"
|
||||||
|
|
||||||
trigger_change_and_exit() {
|
trigger_change_and_exit() {
|
||||||
"$scriptdir/../polybar/launch.sh" & disown
|
"$scriptdir/../polybar/launch.sh" & disown
|
||||||
|
"$scriptdir/background.sh"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue