summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-08-27 19:14:00 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-08-27 19:14:00 +0800
commit52093c96cb0dfc14b8e82657724393c59d2ca5c6 (patch)
treec4b35fc91ab29227ca2addbb7cb900b380804e26 /.config
parent69c7f4cdbfeede04e79d7841155511a6a2fa74c4 (diff)
downloaddotfiles-master.tar.gz
Update i3 config for i3lock and i3status.HEADmaster
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config17
-rw-r--r--.config/i3status/config5
2 files changed, 14 insertions, 8 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 5bba1bf..05f6570 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -28,7 +28,7 @@ exec --no-startup-id dex --autostart --environment i3
# 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 -- i3lock --nofork
# 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.
@@ -64,10 +64,10 @@ bindsym $mod+d exec --no-startup-id /usr/local/bin/dmenu_run
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
# change focus
-bindsym $mod+j focus left
-bindsym $mod+k focus down
-bindsym $mod+l focus up
-bindsym $mod+semicolon focus right
+# bindsym $mod+j focus left
+# bindsym $mod+k focus down
+# bindsym $mod+l focus up
+# bindsym $mod+semicolon focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
@@ -191,7 +191,12 @@ bar {
}
for_window [class=".*"] border pixel 0
-gaps inner 5
+gaps inner 4
gaps outer 0
assign [class="firefox"] 2
+
+# i3lock
+
+bindsym $mod+l exec --no-startup-id i3lock --nofork
+
diff --git a/.config/i3status/config b/.config/i3status/config
index 2672c20..1010512 100644
--- a/.config/i3status/config
+++ b/.config/i3status/config
@@ -14,10 +14,10 @@ general {
# order += "ipv6"
order += "wireless _first_"
-# order += "ethernet _first_"
+order += "ethernet _first_"
# order += "disk /"
order += "load"
-order += "memory"
+# order += "memory"
order += "volume master"
order += "battery all"
order += "tztime local"
@@ -70,3 +70,4 @@ memory {
tztime local {
format = "%Y-%m-%d %H:%M:%S"
}
+