diff options
author | odave <aryadevchavali1@gmail.com> | 2020-04-06 15:42:38 +0100 |
---|---|---|
committer | odave <aryadevchavali1@gmail.com> | 2020-04-06 15:44:44 +0100 |
commit | c23dd4ed86a5f6fc3ada68f489fc9376307130ad (patch) | |
tree | 527b94252190210e42399439e703d96e8ed1f84b /i3.conf | |
parent | e958997b2252f43e45da097a2bee5d97dc7f7d88 (diff) | |
download | dotfiles-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.
Diffstat (limited to 'i3.conf')
-rw-r--r-- | i3.conf | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |