diff options
author | odave <aryadevchavali1@gmail.com> | 2020-04-05 02:37:20 +0100 |
---|---|---|
committer | odave <aryadevchavali1@gmail.com> | 2020-04-05 02:39:35 +0100 |
commit | 5b5fdc7fe83affea2dc0d78f17f7ee86482fbd6a (patch) | |
tree | 7096f5de49c024ab8ad1e83b5a15bb64cd4e3ce4 /i3.conf | |
parent | 119bf0642d74a383d20eb4e0a305a969a9611da0 (diff) | |
download | dotfiles-5b5fdc7fe83affea2dc0d78f17f7ee86482fbd6a.tar.gz dotfiles-5b5fdc7fe83affea2dc0d78f17f7ee86482fbd6a.tar.bz2 dotfiles-5b5fdc7fe83affea2dc0d78f17f7ee86482fbd6a.zip |
+lock command to abstract away constant arguments
Diffstat (limited to 'i3.conf')
-rw-r--r-- | i3.conf | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,6 +2,7 @@ # 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. @@ -9,7 +10,7 @@ font pango:Waree 9 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +exec --no-startup-id xss-lock --transfer-sleep-lock -- $lock # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. @@ -60,8 +61,9 @@ bindsym $mod+w exec rofi -show window -matching fuzzy daemon # show both bindsym $mod+space exec rofi -show combi -matching fuzzy daemon -# lock bind -bindsym $mod+Ctrl+l exec i3lock +# lock bind and rename bind +bindsym $mod+Ctrl+l exec $lock +bindsym $mod+Ctrl+r exec i3-input -F "rename workspace to %s" -P "New name: " # change focus bindsym $mod+h focus left |