From 2bc8efe26dc17f2e02daf9f814579b96fbd17328 Mon Sep 17 00:00:00 2001 From: Alex Blank Date: Mon, 24 Jan 2022 14:16:57 +0100 Subject: [PATCH] imporvements --- .config/i3/config | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index ffe8f9c..f7a2ce6 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -154,12 +154,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 @@ -299,19 +303,19 @@ 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+0 mode "$mode_system" -set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown -mode "$mode_system" { - bindsym l exec --no-startup-id light-locker-command -l - bindsym h exec --no-startup-id systemctl hibernate - bindsym r exec --no-startup-id reboot - bindsym s exec --no-startup-id systemctl suspend - bindsym Shift+s exec --no-startup-id shutdown now - +# 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 +# mode "$mode_system" { + # bindsym l exec --no-startup-id light-locker-command -l + # bindsym h exec --no-startup-id systemctl hibernate + # bindsym r exec --no-startup-id reboot + # bindsym s exec --no-startup-id systemctl suspend + # bindsym Shift+s exec --no-startup-id shutdown now +# # exit system mode: "Enter" or "Escape" - bindsym Return mode "default" - bindsym Escape mode "default" -} + # bindsym Return mode "default" + # bindsym Escape mode "default" +# } # Resize window (you can also use the mouse for that) bindsym $mod+r mode "resize" @@ -339,7 +343,7 @@ mode "resize" { } # Lock screen -bindsym $mod+Ctrl+l exec light-locker-command -l +bindsym $mod+Ctrl+Alt+l exec light-locker-command -l # Autostart applications exec_always --no-startup-id $HOME/.config/polybar/launch.sh