chore: clean spaces, tabs, useless CSS

This commit is contained in:
Valentin Nourdin
2022-01-24 13:10:55 +01:00
parent aab0148a1b
commit b4faca5739
9 changed files with 309 additions and 344 deletions

View File

@@ -28,15 +28,15 @@ exec swayidle -w\
# resumed. It will also lock your screen before your computer goes to sleep.
## Lock Screen
bindsym $mod+f1 exec ~/.config/sway/scripts/lockman.sh
bindsym $mod+f1 exec ~/.config/sway/scripts/lockman.sh
### Key bindings
#
# Basics:
#
# Start a floating terminal
bindsym $mod+Return exec $term-float
bindsym $mod+Return exec $term-float
# Open the power menu
bindsym $mod+Shift+e exec $powermenu
@@ -45,7 +45,7 @@ exec swayidle -w\
# Start your launcher
bindsym $mod+d exec $menu
# Activities
bindsym $mod+p exec ~/.config/wofi/windows.py
@@ -156,27 +156,28 @@ mode "resize" {
# up will shrink the containers height
# down will grow the containers height
bindsym $left resize shrink width 10px
bindsym $down resize grow height 10px
bindsym $up resize shrink height 10px
bindsym $right resize grow width 10px
bindsym $up resize shrink height 10px
bindsym $down resize grow height 10px
# Ditto, with arrow keys
bindsym Left resize shrink width 10px
bindsym Down resize grow height 10px
bindsym Up resize shrink height 10px
bindsym Right resize grow width 10px
bindsym Up resize shrink height 10px
bindsym Down resize grow height 10px
# Return to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
# Resize floating windows with mouse scroll:
bindsym --whole-window --border $mod+button4 resize shrink height 5 px or 5 ppt
bindsym --whole-window --border $mod+button5 resize grow height 5 px or 5 ppt
bindsym --whole-window --border $mod+shift+button4 resize shrink width 5 px or 5 ppt
bindsym --whole-window --border $mod+shift+button5 resize grow width 5 px or 5 ppt
bindsym --whole-window --border $mod+button4 resize shrink height 5 px or 5 ppt
bindsym --whole-window --border $mod+button5 resize grow height 5 px or 5 ppt
bindsym --whole-window --border $mod+Shift+button4 resize shrink width 5 px or 5 ppt
bindsym --whole-window --border $mod+Shift+button5 resize grow width 5 px or 5 ppt
#
# Volume
@@ -209,4 +210,4 @@ bindsym --whole-window --border $mod+shift+button5 resize grow width 5 px or 5 p
#
# Keybindings List
#
bindsym $mod+t exec xed ~/.config/sway/cheatsheet
bindsym $mod+t exec xed ~/.config/sway/cheatsheet

View File

@@ -5,9 +5,9 @@
# Put your touchpad's ID to replace "Touchpad-ID" (keep the quotation marks)
input type:touchpad {
dwt enabled
tap enabled
natural_scroll enabled
dwt enabled
tap enabled
natural_scroll enabled
}
# Read `man 5 sway-input` for more information about this section.
@@ -15,9 +15,6 @@ input type:touchpad {
input type:keyboard xkb_layout "us"
exec_always {
'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"'
'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"'
'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
}

View File

@@ -5,7 +5,7 @@
# output HDMI-A-1 resolution 1920x1080 position 1920,0
#
# You can get the names of your outputs by running: swaymsg -t get_outputs
#
#
# Wacom Tablet - Example
# input "1386:884:Wacom_Intuos_S_Pad" map_to_output HDMI-A-1
# input "1386:884:Wacom_Intuos_S_Pen" map_to_output HDMI-A-1

View File

@@ -5,7 +5,7 @@ exec_always ~/.config/sway/scripts/import-gsettings
gaps inner 2
gaps outer 0
# Hide titlebar on windows:
# Hide titlebar on windows:
default_border pixel 1
# Default Font
@@ -34,5 +34,5 @@ client.background #F8F8F2
#
# Read `man 5 sway-bar` for more information about this section.
bar {
swaybar_command waybar
swaybar_command waybar
}