*: Use tabs for indentation where appropriate

I am a big supporter of the approach to indent with tabs and align with
spaces. (Read [here][1] f.e.) Thus at some places a simple `s/ {4}/\t/g`
(replace 4 with whatever fits) is not enough and a bit more thought is
needed. Because of that there are still places where I plan to
substitute the whitespace in the future.

This patch contains exclusively whitespace changes. Check for yourself
with `git diff --ignore-all-space`.

[1]: https://dmitryfrank.com/articles/indent_with_tabs_align_with_spaces
This commit is contained in:
2022-05-11 15:28:49 +02:00
parent b96d32996b
commit 00927c8921
9 changed files with 390 additions and 390 deletions

View File

@@ -1,8 +1,8 @@
#!/bin/sh
if [ "$(rfkill -o SOFT --noheadings list wlan)" = "blocked" ]; then
notify-send "Airplane mode toggled" "On"
notify-send "Airplane mode toggled" "On"
else
notify-send "Airplane mode toggled" "Off"
notify-send "Airplane mode toggled" "Off"
fi

View File

@@ -135,31 +135,31 @@ bindsym $mod+Shift+e exec \
# resize window (you can also use the mouse for that)
mode "resize" {
bindsym h resize grow left
bindsym j resize grow down
bindsym k resize grow up
bindsym l resize grow right
bindsym h resize grow left
bindsym j resize grow down
bindsym k resize grow up
bindsym l resize grow right
bindsym Shift+h resize shrink right
bindsym Shift+j resize shrink up
bindsym Shift+k resize shrink down
bindsym Shift+l resize shrink left
bindsym Shift+h resize shrink right
bindsym Shift+j resize shrink up
bindsym Shift+k resize shrink down
bindsym Shift+l resize shrink left
# Set window size to predefined values
# firefox anti fingerprinting
bindsym p resize set 1920 1080
# scratchpad-terminal default size
bindsym s resize set 1600 900
# "fullscreen"
bindsym f resize set 3200 1770
# Set window size to predefined values
# firefox anti fingerprinting
bindsym p resize set 1920 1080
# scratchpad-terminal default size
bindsym s resize set 1600 900
# "fullscreen"
bindsym f resize set 3200 1770
# Move window to center
bindsym c move position center
# Move window to center
bindsym c move position center
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
# back to normal: Enter or Escape
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"