From d26732e4f3ab20fd59a18451655ac504716311c0 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 7 Nov 2019 11:23:29 +0100 Subject: [PATCH] [FIX][I3] Consistent comments with capital letter --- i3/.config/i3/config | 52 ++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/i3/.config/i3/config b/i3/.config/i3/config index 997d60d..fe27c8d 100644 --- a/i3/.config/i3/config +++ b/i3/.config/i3/config @@ -27,13 +27,13 @@ font pango:DejaVu Sans Mono 8 # Use Mouse+$mod to drag floating windows to their wanted position floating_modifier $mod -# start a terminal +# Start a terminal bindsym $mod+Return exec i3-sensible-terminal -# kill focused window +# Kill focused window bindsym $mod+Shift+q kill -# start rofi (a program launcher) +# Start rofi (a program launcher) bindsym $mod+Shift+d exec --no-startup-id rofi -show run -disable-history # There also is the (new) i3-dmenu-desktop which only displays applications # shipping a .desktop file. It is a wrapper around dmenu, so you need that @@ -43,25 +43,25 @@ bindsym $mod+d exec --no-startup-id rofi -show drun -disable-history # Launch bwmenu (a bitwarden integration with rofi) bindsym $mod+p exec --no-startup-id bwmenu -# Define vim-like movement keys +# Define Vim-like movement keys set $left h set $down j set $up k set $right l -# change focus +# Change focus bindsym $mod+$left focus left bindsym $mod+$down focus down bindsym $mod+$up focus up bindsym $mod+$right focus right -# alternatively, you can use the cursor keys: +# Alternatively, you can use the cursor keys: bindsym $mod+Left focus left bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right -# move focused window +# Move focused window bindsym $mod+Shift+$left move left 10 px bindsym $mod+Shift+$down move down 10 px bindsym $mod+Shift+$up move up 10 px @@ -72,7 +72,7 @@ bindsym $mod+Control+Shift+$down move down 50 px bindsym $mod+Control+Shift+$up move up 50 px bindsym $mod+Control+Shift+$right move right 50 px -# alternatively, you can use the cursor keys: +# Alternatively, you can use the cursor keys: bindsym $mod+Shift+Left move left 10 px bindsym $mod+Shift+Down move down 10 px bindsym $mod+Shift+Up move up 10 px @@ -83,30 +83,30 @@ bindsym $mod+Control+Shift+Down move down 50 px bindsym $mod+Control+Shift+Up move up 50 px bindsym $mod+Control+Shift+Right move right 50 px -# split in horizontal orientation +# Split in horizontal orientation bindsym $mod+g split h -# split in vertical orientation +# Split in vertical orientation bindsym $mod+v split v -# enter fullscreen mode for the focused container +# Enter fullscreen mode for the focused container bindsym $mod+f fullscreen toggle -# change container layout (stacked, tabbed, toggle split) +# Change container layout (stacked, tabbed, toggle split) bindsym $mod+s layout stacking bindsym $mod+w layout tabbed bindsym $mod+e layout toggle split -# toggle tiling / floating +# Toggle tiling / floating bindsym $mod+Shift+space floating toggle -# change focus between tiling / floating windows +# Change focus between tiling / floating windows bindsym $mod+space focus mode_toggle -# focus the parent container +# Focus the parent container bindsym $mod+q focus parent -# focus the child container +# Focus the child container bindsym $mod+a focus child # Define names for default workspaces for which we configure key bindings later on. @@ -121,7 +121,7 @@ set $ws7 "7" set $ws8 "8" set $ws9 "9" -# switch to workspace +# Switch to workspace bindcode $mod+10 workspace number $ws1 bindcode $mod+11 workspace number $ws2 bindcode $mod+12 workspace number $ws3 @@ -132,7 +132,7 @@ bindcode $mod+16 workspace number $ws7 bindcode $mod+17 workspace number $ws8 bindcode $mod+18 workspace number $ws9 -# move focused container to workspace +# Move focused container to workspace bindcode $mod+Shift+10 move container to workspace number $ws1 bindcode $mod+Shift+11 move container to workspace number $ws2 bindcode $mod+Shift+12 move container to workspace number $ws3 @@ -143,14 +143,14 @@ bindcode $mod+Shift+16 move container to workspace number $ws7 bindcode $mod+Shift+17 move container to workspace number $ws8 bindcode $mod+Shift+18 move container to workspace number $ws9 -# reload the configuration file +# Reload the configuration file bindsym $mod+Shift+c reload -# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) +# Restart i3 inplace (preserves your layout/session, can be used to upgrade i3) bindsym $mod+Shift+r restart -# exit i3 (logs you out of your X session) +# Exit i3 (logs you out of your X session) 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'" -# resize window (you can also use the mouse for that) +# Resize window (you can also use the mouse for that) mode "resize" { # These bindings trigger as soon as you enter the resize mode @@ -179,7 +179,7 @@ mode "resize" { bindsym Control+Shift+$up resize shrink height 250 px or 250 ppt bindsym Control+Shift+$right resize grow width 250 px or 250 ppt - # same bindings, but for the arrow keys + # 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 @@ -197,7 +197,7 @@ mode "resize" { bindsym Control+Shift+Up resize shrink height 250 px or 250 ppt bindsym Control+Shift+Right resize grow width 250 px or 250 ppt - # back to normal: Enter or Escape or $mod+r + # Back to normal: Enter or Escape or $mod+r bindsym Return mode "default" bindsym Escape mode "default" bindsym $mod+r mode "default" @@ -238,7 +238,7 @@ mode "$mode_shutdown" { bindsym r exec --no-startup-id i3exit reboot, mode "default" bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default" - # exit system mode: "Enter" or "Escape" + # Exit system mode: "Enter" or "Escape" bindsym Return mode "default" bindsym Escape mode "default" } @@ -254,7 +254,7 @@ mode "$mode_background" { bindsym h exec --no-startup-id set-background horizontal, mode "default" bindsym s exec --no-startup-id set-background single, mode "default" - # exit background mode: "Enter" or "Escape" + # Exit background mode: "Enter" or "Escape" bindsym Return mode "default" bindsym Escape mode "default" }