summaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
Diffstat (limited to '.config/i3/config')
-rw-r--r--.config/i3/config26
1 files changed, 13 insertions, 13 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 148db12..ecc383b 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -74,6 +74,12 @@ bindsym $mod+Shift+c reload
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
+# i3blocks
+bar {
+ status_command i3blocks
+ position top
+}
+
# resize window (you can also use the mouse for that)
set $mode_resize Resize window
mode "$mode_resize" {
@@ -101,13 +107,13 @@ mode "$mode_system" {
}
# Volume
-bindsym $mod+Shift+greater exec --no-startup-id amixer sset Master 5%+
-bindsym $mod+Shift+less exec --no-startup-id amixer sset Master 5%-
-bindsym $mod+Shift+m exec --no-startup-id amixer sset Master toggle
-bindsym $mod+Shift+t exec --no-startup-id amixer sset Front toggle
-bindsym XF86AudioRaiseVolume exec --no-startup-id amixer sset Master 5%+
-bindsym XF86AudioLowerVolume exec --no-startup-id amixer sset Master 5%-
-bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle
+bindsym $mod+Shift+greater exec --no-startup-id amixer sset Master 5%+ && pkill -RTMIN+10 i3blocks
+bindsym $mod+Shift+less exec --no-startup-id amixer sset Master 5%- && pkill -RTMIN+10 i3blocks
+bindsym $mod+Shift+m exec --no-startup-id amixer sset Master toggle && pkill -RTMIN+10 i3blocks
+bindsym $mod+Shift+t exec --no-startup-id amixer sset Front toggle && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioRaiseVolume exec --no-startup-id amixer sset Master 5%+ && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioLowerVolume exec --no-startup-id amixer sset Master 5%- && pkill -RTMIN+10 i3blocks
+bindsym XF86AudioMute exec --no-startup-id amixer sset Master toggle && pkill -RTMIN+10 i3blocks
# Screen brightness
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10%
@@ -133,18 +139,12 @@ bindsym $mod+Shift+p exec --no-startup-id "rofi-pass"
# Gap stuff
hide_edge_borders both
new_window 1pixel
-gaps inner 15
-gaps outer 15
# Start helpful programs
exec --no-startup-id ~/.screenlayout/screen.sh
exec --no-startup-id wal -s -i "$HOME/Pictures/wal/"
exec --no-startup-id xautolock -time 5 -locker "i3lock -c 000000"
-exec --no-startup-id picom -cCf -i 1 -m 1
exec --no-startup-id tilda
-exec --no-startup-id polybar -r main0
-exec --no-startup-id polybar -r main1
-exec --no-startup-id polybar -r main2
exec --no-startup-id dex -a
# Play nice with Steam windows