aboutsummaryrefslogtreecommitdiff
path: root/.config/i3/config
diff options
context:
space:
mode:
authorNicholas Tay <nick@windblume.net>2021-11-17 17:06:49 +1100
committerNicholas Tay <nick@windblume.net>2021-11-17 17:06:49 +1100
commitd794ea6f9d49c310eaab5bed6746bb47d1e4b70c (patch)
tree3bc4fbdf430a9c561bb99122c6563add92c8fda2 /.config/i3/config
parenta64291b65b93c6034cae6e75ccb5c16f3038800a (diff)
downloaddotlite-d794ea6f9d49c310eaab5bed6746bb47d1e4b70c.tar.gz
dotlite-d794ea6f9d49c310eaab5bed6746bb47d1e4b70c.tar.bz2
dotlite-d794ea6f9d49c310eaab5bed6746bb47d1e4b70c.zip
Add xresources and repeat rate stuff into i3
Diffstat (limited to '')
-rw-r--r--.config/i3/config6
1 files changed, 5 insertions, 1 deletions
diff --git a/.config/i3/config b/.config/i3/config
index c343c3d..60f3586 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -15,10 +15,14 @@ for_window [instance="gnome-calculator"] floating enable
for_window [class="^.*"] border pixel 2
new_window 1pixel
+exec_always --no-startup-id xrdb -merge $HOME/.Xresources
+exec_always --no-startup-id xset r rate 200 50
+exec_always --no-startup-id setxkbmap -option caps:escape
+
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
-bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
+bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3statusn
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
# Bindings