Merge pull request #23 from vnourdin/chore/clean_spaces

chore: clean spaces, tabs, useless CSS
This commit is contained in:
OdiousImp2604
2022-01-25 19:48:27 +00:00
committed by GitHub
9 changed files with 309 additions and 344 deletions

View File

@@ -1,4 +1,3 @@
VteTerminal, vte-terminal { VteTerminal, vte-terminal {
padding: 13px; padding: 13px;
} }

View File

@@ -156,27 +156,28 @@ mode "resize" {
# up will shrink the containers height # up will shrink the containers height
# down will grow the containers height # down will grow the containers height
bindsym $left resize shrink width 10px 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 $right resize grow width 10px
bindsym $up resize shrink height 10px
bindsym $down resize grow height 10px
# Ditto, with arrow keys # Ditto, with arrow keys
bindsym Left resize shrink width 10px 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 Right resize grow width 10px
bindsym Up resize shrink height 10px
bindsym Down resize grow height 10px
# Return to default mode # Return to default mode
bindsym Return mode "default" bindsym Return mode "default"
bindsym Escape mode "default" bindsym Escape mode "default"
} }
bindsym $mod+r mode "resize" bindsym $mod+r mode "resize"
# Resize floating windows with mouse scroll: # 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+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+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+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+Shift+button5 resize grow width 5 px or 5 ppt
# #
# Volume # Volume

View File

@@ -18,6 +18,3 @@ exec_always {
'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"' '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_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
} }

View File

@@ -2,6 +2,7 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
// If height property would be not present, it'd be calculated dynamically // If height property would be not present, it'd be calculated dynamically
"height": 30, "height": 30,
"width" : 10, "width" : 10,
@@ -20,7 +21,6 @@
"idle_inhibitor", "idle_inhibitor",
"memory", "memory",
"cpu", "cpu",
// "custom/weather",
"pulseaudio", "pulseaudio",
"custom/keyboard-layout", "custom/keyboard-layout",
"battery", "battery",
@@ -35,13 +35,11 @@
// Modules // Modules
"idle_inhibitor": { "idle_inhibitor": {
"format": "{icon} ", "format": "{icon} ",
"format-icons":{ "format-icons":{
"activated": "", "activated": "",
"deactivated": "" "deactivated": ""
} }
}, },
@@ -64,7 +62,6 @@
"format": "{}", "format": "{}",
}, },
"clock": { "clock": {
"interval": 10, "interval": 10,
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt "format-alt": " {:%e %b %Y}", // Icon: calendar-alt
@@ -141,6 +138,7 @@
"4": "", "4": "",
} }
}, },
"pulseaudio": { "pulseaudio": {
"scroll-step": 1, // %, can be a float "scroll-step": 1, // %, can be a float
"format": "{volume}% {icon}", "format": "{volume}% {icon}",
@@ -187,7 +185,6 @@
"format": "{percent}%", "format": "{percent}%",
"on-scroll-down": "brightnessctl -c backlight set 1%-", "on-scroll-down": "brightnessctl -c backlight set 1%-",
"on-scroll-up": "brightnessctl -c backlight set +1%" "on-scroll-up": "brightnessctl -c backlight set +1%"
}, },
"custom/firefox": { "custom/firefox": {
@@ -219,6 +216,4 @@
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh", "on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
"tooltip": false, "tooltip": false,
}, },
} }

View File

@@ -9,15 +9,13 @@
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Keyframes * Keyframes
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
/* /*
Arc-Dark Color Scheme Arc-Dark Color Scheme
*/ */
@define-color highlight #5294e2 ; @define-color highlight #5294e2 ;
@define-color base1 #404552 ; @define-color base1 #404552 ;
@keyframes blink-warning { @keyframes blink-warning {
70% { 70% {
color: white; color: white;
@@ -40,7 +38,6 @@ Arc-Dark Color Scheme
} }
} }
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Base styles * Base styles
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
@@ -63,7 +60,7 @@ Arc-Dark Color Scheme
font-size: 14px; font-size: 14px;
} }
/* Each module */ /* Every modules */
#battery, #battery,
#clock, #clock,
#backlight, #backlight,
@@ -82,15 +79,11 @@ Arc-Dark Color Scheme
margin: 1px 0px; margin: 1px 0px;
} }
/* ----------------------------------------------------------------------------- /* -----------------------------------------------------------------------------
* Module styles * Modules styles
* -------------------------------------------------------------------------- */ * -------------------------------------------------------------------------- */
#battery { #battery {
animation-timing-function: linear; animation-timing-function: linear;
animation-iteration-count: infinite; animation-iteration-count: infinite;
animation-direction: alternate; animation-direction: alternate;
@@ -114,9 +107,6 @@ Arc-Dark Color Scheme
animation-duration: 2s; animation-duration: 2s;
} }
#cpu{
}
#cpu.warning { #cpu.warning {
color: orange; color: orange;
} }
@@ -158,6 +148,7 @@ Arc-Dark Color Scheme
#pulseaudio { #pulseaudio {
padding-top:6px; padding-top:6px;
} }
#pulseaudio.muted { #pulseaudio.muted {
color: @highlight; color: @highlight;
} }
@@ -173,11 +164,11 @@ padding-top:6px;
#workspaces { #workspaces {
font-size:13px; font-size:13px;
} }
#workspaces button { #workspaces button {
border-bottom: 3px solid transparent; border-bottom: 3px solid transparent;
margin-bottom: 0px; margin-bottom: 0px;
padding:0px; padding:0px;
} }
#workspaces button.focused { #workspaces button.focused {
@@ -196,6 +187,7 @@ font-size:13px;
margin-right:15px; margin-right:15px;
font-size:15px; font-size:15px;
} }
#custom-launcher { #custom-launcher {
font-size:15px; font-size:15px;
margin-left:15px; margin-left:15px;
@@ -206,5 +198,3 @@ font-size:13px;
padding-right:1px; padding-right:1px;
font-size: 13px; font-size: 13px;
} }

View File

@@ -7,7 +7,6 @@ Arc-Dark Color Scheme
@define-color base2 #40455; @define-color base2 #40455;
@define-color base3 #4b5160; @define-color base3 #4b5160;
*{ *{
font-family: UbuntuMono; font-family: UbuntuMono;
} }
@@ -26,7 +25,6 @@ window {
#inner-box { #inner-box {
background-color: @base3; background-color: @base3;
} }
#outer-box { #outer-box {
@@ -35,9 +33,6 @@ window {
background-color: @base2; background-color: @base2;
} }
#scroll {
}
#text { #text {
padding: 5px; padding: 5px;
color: white; color: white;
@@ -50,6 +45,3 @@ color: white;
#entry:selected { #entry:selected {
background-color: @highlight; background-color: @highlight;
} }
#text:selected {
}

View File

@@ -7,7 +7,6 @@ Arc-Dark Color Scheme
@define-color base2 #40455; @define-color base2 #40455;
@define-color base3 #4b5160; @define-color base3 #4b5160;
*{ *{
font-family: UbuntuMono; font-family: UbuntuMono;
} }
@@ -15,12 +14,10 @@ Arc-Dark Color Scheme
#window { #window {
border: 1px solid @highlight; border: 1px solid @highlight;
margin: 0px 5px 0px 5px; margin: 0px 5px 0px 5px;
} }
#inner-box { #inner-box {
background-color: @base2; background-color: @base2;
} }
#outer-box { #outer-box {
@@ -30,9 +27,6 @@ Arc-Dark Color Scheme
margin-top: -22px; margin-top: -22px;
} }
#scroll {
}
#text { #text {
padding: 5px; padding: 5px;
color: white; color: white;
@@ -49,6 +43,3 @@ color: white;
#entry:selected { #entry:selected {
background-color: @highlight; background-color: @highlight;
} }
#text:selected {
}