~setup lock and bg variables in i3
$bg is the background command using feh, and is a random item from the backgrounds folder $lock is the i3lock command I use. Uses a png from locksreens folder, and also sets a colour in case the lockscreen image is not present.
This commit is contained in:
8
i3.conf
8
i3.conf
@@ -2,10 +2,8 @@
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
set $mod Mod4
|
||||
set $lock i3lock --nofork -f -e
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
set $lock i3lock -n -f -e -i ~/Pictures/Lockscreens/mountain.png -c 555555
|
||||
set $bg feh --randomize --bg-scale ~/Pictures/Backgrounds
|
||||
font pango:Waree 9
|
||||
|
||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||
@@ -183,5 +181,5 @@ bar {
|
||||
font pango:Arial 9.5
|
||||
}
|
||||
|
||||
exec --no-startup-id feh --randomize --bg-scale ~/Pictures/Backgrounds
|
||||
exec --no-startup-id $bg
|
||||
exec rofi -show run -matching fuzzy daemon
|
||||
|
||||
Reference in New Issue
Block a user