commit 31df537de78b29b9b131006767ed0dd4ca837cd4
parent 98f01d94ee182d13b44b146aa5b9bd50a6264ce3
Author: Mark Feller <mark.feller@member.fsf.org>
Date: Fri, 27 Sep 2019 11:40:11 -0600
more i3 keybindings
Diffstat:
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/dots/.config/i3/config b/dots/.config/i3/config
@@ -11,11 +11,9 @@ set $mod Mod4
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
-bindsym $mod+Return exec alacritty
+bindsym $mod+Return exec "$TERMINAL"
bindsym $mod+Shift+q kill
-bindsym $mod+d exec $HOME/.local/bin/notify-date
-bindsym $mod+space exec rofi -show drun
-bindsym $mod+Escape exec $HOME/.local/bin/lock
+bindsym $mod+space exec "rofi -show drun"
bindsym $mod+t split h
bindsym $mod+v split v
@@ -27,6 +25,7 @@ bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
+bindsym $mod+Escape exec "$HOME/.local/bin/lock"
bindsym $mod+Shift+e exec "$HOME/.local/bin/prompt 'Do you really want to exit i3?' 'i3-msg exit'"
bindsym $mod+Shift+Escape exec "$HOME/.local/bin/prompt 'Do you really want to shutdown?' 'shutdown -h now'"
@@ -91,6 +90,16 @@ bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
+# pulseaudio volume
+bindsym $mod+u exec "$HOME/.local/bin/volume-change -5%"
+bindsym $mod+i exec "$HOME/.local/bin/volume-change +5%"
+
+# laptop power status
+bindsym $mod+p exec "$HOME/.local/bin/power-status"
+
+# date
+bindsym $mod+d exec "$HOME/.local/bin/notify-date"
+
# ----------------------------------------------------------------------
# Theme
# ----------------------------------------------------------------------