aboutsummaryrefslogtreecommitdiff
path: root/i3.conf
diff options
context:
space:
mode:
Diffstat (limited to 'i3.conf')
-rw-r--r--i3.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/i3.conf b/i3.conf
index bd1d921..c27e161 100644
--- a/i3.conf
+++ b/i3.conf
@@ -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