summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/i3/config12
1 files changed, 7 insertions, 5 deletions
diff --git a/.config/i3/config b/.config/i3/config
index 4ad4856..374c6e1 100644
--- a/.config/i3/config
+++ b/.config/i3/config
@@ -1,6 +1,7 @@
##### i3 config
set $mod Mod4
+set $alt Mod1
floating_modifier $mod
@@ -9,7 +10,8 @@ floating_modifier $mod
bindsym $mod+Shift+c reload
bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec --no-startup-id "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
-bindsym $mod+Shift+q kill
+
+bindsym $mod+q kill
bindsym $mod+Escape exec --no-startup-id systemctl suspend
bindsym $mod+Return exec --no-startup-id alacritty
bindsym $mod+b exec --no-startup-id firefox
@@ -17,10 +19,10 @@ bindsym $mod+e exec --no-startup-id pcmanfm
bindsym $mod+f fullscreen toggle
# Rofi
+bindsym $mod+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout --confirm="
bindsym $mod+d exec --no-startup-id rofi -show drun -show-icons -drun-display-format {name}
-bindsym Mod1+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name}
-bindsym Mod1+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons
-bindsym $mod+Shift+p exec --no-startup-id rofi -show p -modi "p:rofi-power-menu --choices=shutdown/reboot/suspend/hibernate/logout"
+bindsym $alt+Tab exec --no-startup-id rofi -show window -show-icons -drun-display-format {name}
+bindsym $alt+b exec --no-startup-id rofi -modi "clipboard:greenclip print" -show clipboard -run-command '{cmd}' -show-icons
bindsym $mod+p exec --no-startup-id rofi-pass
# Media keys
@@ -45,7 +47,7 @@ bindsym $mod+Shift+l move right
# Focus the parent container
bindsym $mod+a focus parent
# Focus tiled / floating windows
-bindsym $mod+Shift+t focus mode_toggle
+bindsym $mod+Tab focus mode_toggle
# Window orientation
bindsym $mod+g split h