Merge pull request #23 from vnourdin/chore/clean_spaces
chore: clean spaces, tabs, useless CSS
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
VteTerminal, vte-terminal {
|
||||
padding: 13px;
|
||||
|
||||
}
|
||||
|
||||
@@ -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+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
|
||||
|
||||
@@ -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_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"'
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"position": "top",
|
||||
|
||||
// If height property would be not present, it'd be calculated dynamically
|
||||
"height": 30,
|
||||
"width" : 10,
|
||||
@@ -20,7 +21,6 @@
|
||||
"idle_inhibitor",
|
||||
"memory",
|
||||
"cpu",
|
||||
// "custom/weather",
|
||||
"pulseaudio",
|
||||
"custom/keyboard-layout",
|
||||
"battery",
|
||||
@@ -35,13 +35,11 @@
|
||||
|
||||
// Modules
|
||||
|
||||
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon} ",
|
||||
"format-icons":{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
@@ -64,7 +62,6 @@
|
||||
"format": "{}",
|
||||
},
|
||||
|
||||
|
||||
"clock": {
|
||||
"interval": 10,
|
||||
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
||||
@@ -141,6 +138,7 @@
|
||||
"4": "",
|
||||
}
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1, // %, can be a float
|
||||
"format": "{volume}% {icon}",
|
||||
@@ -187,7 +185,6 @@
|
||||
"format": "{percent}%",
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
|
||||
},
|
||||
|
||||
"custom/firefox": {
|
||||
@@ -219,6 +216,4 @@
|
||||
"on-click": "exec ~/.config/waybar/scripts/power-menu.sh",
|
||||
"tooltip": false,
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -9,15 +9,13 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Keyframes
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
/*
|
||||
Arc-Dark Color Scheme
|
||||
*/
|
||||
|
||||
@define-color highlight #5294e2 ;
|
||||
@define-color base1 #404552 ;
|
||||
|
||||
|
||||
|
||||
@keyframes blink-warning {
|
||||
70% {
|
||||
color: white;
|
||||
@@ -40,7 +38,6 @@ Arc-Dark Color Scheme
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Base styles
|
||||
* -------------------------------------------------------------------------- */
|
||||
@@ -63,7 +60,7 @@ Arc-Dark Color Scheme
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
/* Each module */
|
||||
/* Every modules */
|
||||
#battery,
|
||||
#clock,
|
||||
#backlight,
|
||||
@@ -82,15 +79,11 @@ Arc-Dark Color Scheme
|
||||
margin: 1px 0px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/* -----------------------------------------------------------------------------
|
||||
* Module styles
|
||||
* Modules styles
|
||||
* -------------------------------------------------------------------------- */
|
||||
|
||||
#battery {
|
||||
|
||||
animation-timing-function: linear;
|
||||
animation-iteration-count: infinite;
|
||||
animation-direction: alternate;
|
||||
@@ -114,9 +107,6 @@ Arc-Dark Color Scheme
|
||||
animation-duration: 2s;
|
||||
}
|
||||
|
||||
#cpu{
|
||||
|
||||
}
|
||||
#cpu.warning {
|
||||
color: orange;
|
||||
}
|
||||
@@ -158,6 +148,7 @@ Arc-Dark Color Scheme
|
||||
#pulseaudio {
|
||||
padding-top:6px;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: @highlight;
|
||||
}
|
||||
@@ -173,11 +164,11 @@ padding-top:6px;
|
||||
#workspaces {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border-bottom: 3px solid transparent;
|
||||
margin-bottom: 0px;
|
||||
padding:0px;
|
||||
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
@@ -196,6 +187,7 @@ font-size:13px;
|
||||
margin-right:15px;
|
||||
font-size:15px;
|
||||
}
|
||||
|
||||
#custom-launcher {
|
||||
font-size:15px;
|
||||
margin-left:15px;
|
||||
@@ -206,5 +198,3 @@ font-size:13px;
|
||||
padding-right:1px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ Arc-Dark Color Scheme
|
||||
@define-color base2 #40455;
|
||||
@define-color base3 #4b5160;
|
||||
|
||||
|
||||
*{
|
||||
font-family: UbuntuMono;
|
||||
}
|
||||
@@ -26,7 +25,6 @@ window {
|
||||
|
||||
#inner-box {
|
||||
background-color: @base3;
|
||||
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
@@ -35,9 +33,6 @@ window {
|
||||
background-color: @base2;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
}
|
||||
|
||||
#text {
|
||||
padding: 5px;
|
||||
color: white;
|
||||
@@ -50,6 +45,3 @@ color: white;
|
||||
#entry:selected {
|
||||
background-color: @highlight;
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
}
|
||||
|
||||
@@ -7,7 +7,6 @@ Arc-Dark Color Scheme
|
||||
@define-color base2 #40455;
|
||||
@define-color base3 #4b5160;
|
||||
|
||||
|
||||
*{
|
||||
font-family: UbuntuMono;
|
||||
}
|
||||
@@ -15,12 +14,10 @@ Arc-Dark Color Scheme
|
||||
#window {
|
||||
border: 1px solid @highlight;
|
||||
margin: 0px 5px 0px 5px;
|
||||
|
||||
}
|
||||
|
||||
#inner-box {
|
||||
background-color: @base2;
|
||||
|
||||
}
|
||||
|
||||
#outer-box {
|
||||
@@ -30,9 +27,6 @@ Arc-Dark Color Scheme
|
||||
margin-top: -22px;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
}
|
||||
|
||||
#text {
|
||||
padding: 5px;
|
||||
color: white;
|
||||
@@ -49,6 +43,3 @@ color: white;
|
||||
#entry:selected {
|
||||
background-color: @highlight;
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user