diff --git a/.config/i3/config b/.config/i3/config index f7c2a0d..1fba799 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -1,5 +1,6 @@ # Set mod key (Mod1=, Mod4=) set $mod Mod4 +set $alt Mod1 # set default desktop layout (default is tiling) # workspace_layout tabbed @@ -154,12 +155,16 @@ bindsym $mod+Shift+Up move up bindsym $mod+Shift+Right move right # move focus to different monitors -bindsym $mod+Shift+Ctrl+l focus output right -bindsym $mod+Shift+Ctrl+h focus output left +bindsym $mod+greater focus output right +bindsym $mod+less focus output left # move container to different monitors -bindsym $mod+Shift+greater move container to output right; focus output right -bindsym $mod+Shift+less move container to output left; focus output left +bindsym $mod+Ctrl+greater move container to output right; focus output right +bindsym $mod+Ctrl+less move container to output left; focus output left + +# move workspace to different monitor +bindsym $mod+Ctrl+Shift+greater move workspace to output right +bindsym $mod+Ctrl+Shift+less move workspace to output left # workspace back and forth (with/without active container) workspace_auto_back_and_forth yes @@ -301,8 +306,8 @@ bindsym $mod+Shift+r restart # bindsym $mod+Shift+e exec "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'" # Set shut down, restart and locking features -bindsym $mod+Shift+Ctrl+Alt+h systemctl hibernate -bindsym $mod+Shift+Ctrl+Alt+s systemctl suspend +bindsym $mod+Shift+Ctrl+$alt+h exec --no-startup-id systemctl hibernate +bindsym $mod+Shift+Ctrl+$alt+s exec --no-startup-id systemctl suspend #bindsym $mod+0 mode "$mode_system" #set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown @@ -344,7 +349,7 @@ mode "resize" { } # Lock screen -bindsym $mod+Ctrl+l exec light-locker-command -l +bindsym Ctrl+$alt+l exec --no-startup-id light-locker-command -l # Autostart applications exec_always --no-startup-id $HOME/.config/polybar/launch.sh