From e51474e9e8b33cd2934f35e8c0fe68207d1d20b5 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Fri, 11 Feb 2022 20:45:28 +0300 Subject: [PATCH] change exit command text, change border sizing --- i3wm/config | 37 +++++++++++++++---------------------- 1 file changed, 15 insertions(+), 22 deletions(-) diff --git a/i3wm/config b/i3wm/config index e8c1047..c5bf808 100644 --- a/i3wm/config +++ b/i3wm/config @@ -2,17 +2,11 @@ set $mod Mod4 -bar { - position top - font pango:Cascadia Code 10 - status_command i3status -} - exec --no-startup-id $HOME/.fehbg exec "setxkbmap -layout us,ru" exec "setxkbmap -option 'grp:alt_shift_toggle'" -gaps inner 10 +gaps inner 5 font pango:Cascadia Code 10 @@ -92,25 +86,24 @@ bindsym $mod+Shift+0 move container to workspace number $ws10 bindsym $mod+Shift+c reload 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'" +bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'This will end your X session.' -B 'Yes' 'i3-msg exit'" mode "resize" { - bindsym $left resize shrink width 10 px or 10 ppt - bindsym $down resize grow height 10 px or 10 ppt - bindsym $up resize shrink height 10 px or 10 ppt - bindsym $right resize grow width 10 px or 10 ppt - bindsym Left resize shrink width 10 px or 10 ppt - bindsym Down resize grow height 10 px or 10 ppt - bindsym Up resize shrink height 10 px or 10 ppt - bindsym Right resize grow width 10 px or 10 ppt + bindsym $left resize shrink width 10 px or 10 ppt + bindsym $down resize grow height 10 px or 10 ppt + bindsym $up resize shrink height 10 px or 10 ppt + bindsym $right resize grow width 10 px or 10 ppt + bindsym Left resize shrink width 10 px or 10 ppt + bindsym Down resize grow height 10 px or 10 ppt + bindsym Up resize shrink height 10 px or 10 ppt + bindsym Right resize grow width 10 px or 10 ppt - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" } bindsym $mod+r mode "resize" -default_border pixel 6 -default_floating_border pixel 6 - +default_border pixel 4 +default_floating_border pixel 4