diff --git a/i3/i3/config b/i3/i3/config index 159b70d..4d38b07 100644 --- a/i3/i3/config +++ b/i3/i3/config @@ -173,27 +173,27 @@ bindsym $mod+Shift+r restart # resize window (you can also use the mouse for that) mode "resize" { - # These bindings trigger as soon as you enter the resize mode + # These bindings trigger as soon as you enter the resize mode - # Pressing left will shrink the window’s width. - # Pressing right will grow the window’s width. - # Pressing up will shrink the window’s height. - # Pressing down will grow the window’s height. - bindsym h resize shrink width 10 px or 10 ppt - bindsym j resize grow height 10 px or 10 ppt - bindsym k resize shrink height 10 px or 10 ppt - bindsym l resize grow width 10 px or 10 ppt + # Pressing left will shrink the window’s width. + # Pressing right will grow the window’s width. + # Pressing up will shrink the window’s height. + # Pressing down will grow the window’s height. + bindsym h resize shrink width 10 px or 10 ppt + bindsym j resize grow height 10 px or 10 ppt + bindsym k resize shrink height 10 px or 10 ppt + bindsym l resize grow width 10 px or 10 ppt - # same bindings, but for the arrow keys - 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 + # same bindings, but for the arrow keys + 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 - # back to normal: Enter or Escape or $mod+r - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym $mod+r mode "default" + # back to normal: Enter or Escape or $mod+r + bindsym Return mode "default" + bindsym Escape mode "default" + bindsym $mod+r mode "default" } bindsym $mod+r mode "resize" @@ -201,52 +201,50 @@ bindsym $mod+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar { - font pango:DejaVu Sans Mono, Font Awesome 15 - i3bar_command i3bar - status_command i3status-rs - position bottom + font pango:DejaVu Sans Mono, Font Awesome 18 + status_command i3status-rs + position bottom - tray_output primary -# tray_output eDP1 + tray_output secondary } set $mode_system System (l) lock, (e) logout, (r) reboot, (s) shutdown mode "$mode_system" { - bindsym l exec --no-startup-id $lock, mode "default" - bindsym e exec --no-startup-id i3exit logout, mode "default" - bindsym r exec --no-startup-id i3exit reboot, mode "default" - bindsym s exec --no-startup-id i3exit shutdown, mode "default" - bindsym h exec --no-startup-id i3exit hibernate, mode "default" - bindsym Shift+s exec --no-startup-id i3exit suspend, mode "default" + bindsym l exec --no-startup-id $lock, mode "default" + bindsym e exec --no-startup-id i3exit logout, mode "default" + bindsym r exec --no-startup-id i3exit reboot, mode "default" + bindsym s exec --no-startup-id i3exit shutdown, mode "default" + bindsym h exec --no-startup-id i3exit hibernate, mode "default" + bindsym Shift+s exec --no-startup-id i3exit suspend, mode "default" - # back to normal: Enter or Escape - bindsym Return mode "default" - bindsym Escape mode "default" + # back to normal: Enter or Escape + bindsym Return mode "default" + bindsym Escape mode "default" } bindsym $mod+Shift+e mode "$mode_system" set $mode_screenshot_file Screenshot to file (w) Active window, (s) Selection, (d) Desktop mode "$mode_screenshot_file" { - bindsym w exec --no-startup-id "i3-scrot -w", mode "default" - bindsym --release s exec --no-startup-id "i3-scrot -s", mode "default" - bindsym d exec --no-startup-id "i3-scrot -d", mode "default" - bindsym --release Return exec --no-startup-id "i3-scrot -s", mode "default" + bindsym w exec --no-startup-id "i3-scrot -w", mode "default" + bindsym --release s exec --no-startup-id "i3-scrot -s", mode "default" + bindsym d exec --no-startup-id "i3-scrot -d", mode "default" + bindsym --release Return exec --no-startup-id "i3-scrot -s", mode "default" - #back to normal: Escape - bindsym Escape mode "default" + #back to normal: Escape + bindsym Escape mode "default" } bindsym $mod+Shift+Print mode "$mode_screenshot_file" set $mode_screenshot_clipboard Screenshot to clipboard (w) Active window, (s) Selection, (d) Desktop mode "$mode_screenshot_clipboard" { - bindsym w exec --no-startup-id "i3-scrot -wc", mode "default" - bindsym --release s exec --no-startup-id "i3-scrot -sc", mode "default" - bindsym d exec --no-startup-id "i3-scrot -dc", mode "default" - bindsym --release Return exec --no-startup-id "i3-scrot -sc", mode "default" + bindsym w exec --no-startup-id "i3-scrot -wc", mode "default" + bindsym --release s exec --no-startup-id "i3-scrot -sc", mode "default" + bindsym d exec --no-startup-id "i3-scrot -dc", mode "default" + bindsym --release Return exec --no-startup-id "i3-scrot -sc", mode "default" - # back to normal: Escape - bindsym Escape mode "default" + # back to normal: Escape + bindsym Escape mode "default" } bindsym $mod+Print mode "$mode_screenshot_clipboard" @@ -421,32 +419,32 @@ set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global) bindsym $mod+Shift+g mode "$mode_gaps" mode "$mode_gaps" { - bindsym o mode "$mode_gaps_outer" - bindsym i mode "$mode_gaps_inner" - bindsym Return mode "default" - bindsym Escape mode "default" + bindsym o mode "$mode_gaps_outer" + bindsym i mode "$mode_gaps_inner" + bindsym Return mode "default" + bindsym Escape mode "default" } mode "$mode_gaps_inner" { - bindsym plus gaps inner current plus 5 - bindsym minus gaps inner current minus 5 - bindsym 0 gaps inner current set 0 + bindsym plus gaps inner current plus 5 + bindsym minus gaps inner current minus 5 + bindsym 0 gaps inner current set 0 - bindsym Shift+plus gaps inner all plus 5 - bindsym Shift+minus gaps inner all minus 5 - bindsym Shift+0 gaps inner all set 0 + bindsym Shift+plus gaps inner all plus 5 + bindsym Shift+minus gaps inner all minus 5 + bindsym Shift+0 gaps inner all set 0 - bindsym Return mode "default" - bindsym Escape mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" } mode "$mode_gaps_outer" { - bindsym plus gaps outer current plus 5 - bindsym minus gaps outer current minus 5 - bindsym 0 gaps outer current set 0 + bindsym plus gaps outer current plus 5 + bindsym minus gaps outer current minus 5 + bindsym 0 gaps outer current set 0 - bindsym Shift+plus gaps outer all plus 5 - bindsym Shift+minus gaps outer all minus 5 - bindsym Shift+0 gaps outer all set 0 + bindsym Shift+plus gaps outer all plus 5 + bindsym Shift+minus gaps outer all minus 5 + bindsym Shift+0 gaps outer all set 0 - bindsym Return mode "default" - bindsym Escape mode "default" + bindsym Return mode "default" + bindsym Escape mode "default" }