aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorodave <aryadevchavali1@gmail.com>2020-04-06 15:42:38 +0100
committerodave <aryadevchavali1@gmail.com>2020-04-06 15:44:44 +0100
commitc23dd4ed86a5f6fc3ada68f489fc9376307130ad (patch)
tree527b94252190210e42399439e703d96e8ed1f84b
parente958997b2252f43e45da097a2bee5d97dc7f7d88 (diff)
downloaddotfiles-c23dd4ed86a5f6fc3ada68f489fc9376307130ad.tar.gz
dotfiles-c23dd4ed86a5f6fc3ada68f489fc9376307130ad.tar.bz2
dotfiles-c23dd4ed86a5f6fc3ada68f489fc9376307130ad.zip
~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.
-rw-r--r--i3.conf8
1 files changed, 3 insertions, 5 deletions
diff --git a/i3.conf b/i3.conf
index bde4080..5edf111 100644
--- a/i3.conf
+++ b/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