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+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
|
||||
|
||||
@@ -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",
|
||||
@@ -33,19 +33,17 @@
|
||||
"custom/power",
|
||||
],
|
||||
|
||||
// Modules
|
||||
// Modules
|
||||
|
||||
|
||||
"idle_inhibitor": {
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon} ",
|
||||
"format-icons":{
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"battery": {
|
||||
"battery": {
|
||||
"states": {
|
||||
// "good": 95,
|
||||
"warning": 30,
|
||||
@@ -57,22 +55,21 @@
|
||||
// "format-good": "", // An empty format will hide the module
|
||||
// "format-full": "",
|
||||
"format-icons": ["", "", "", "", ""]
|
||||
},
|
||||
},
|
||||
|
||||
"custom/PBPbattery": {
|
||||
"custom/PBPbattery": {
|
||||
"exec": "~/.config/waybar/scripts/PBPbattery.sh",
|
||||
"format": "{}",
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
"clock": {
|
||||
"clock": {
|
||||
"interval": 10,
|
||||
"format-alt": " {:%e %b %Y}", // Icon: calendar-alt
|
||||
"format": "{:%H:%M}",
|
||||
"tooltip-format": "{:%e %B %Y}"
|
||||
},
|
||||
},
|
||||
|
||||
"cpu": {
|
||||
"cpu": {
|
||||
"interval": 5,
|
||||
"format": " {usage}% ({load})", // Icon: microchip
|
||||
"states": {
|
||||
@@ -80,9 +77,9 @@
|
||||
"critical": 90,
|
||||
},
|
||||
"on-click": "xfce4-terminal -e 'htop'",
|
||||
},
|
||||
},
|
||||
|
||||
"custom/keyboard-layout": {
|
||||
"custom/keyboard-layout": {
|
||||
"exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4",
|
||||
// Interval set only as a fallback, as the value is updated by signal
|
||||
"interval": 30,
|
||||
@@ -91,9 +88,9 @@
|
||||
"signal": 1, // SIGHUP
|
||||
"tooltip": false,
|
||||
"on-click": "~/.config/waybar/scripts/keyhint.sh",
|
||||
},
|
||||
},
|
||||
|
||||
"memory": {
|
||||
"memory": {
|
||||
"interval": 5,
|
||||
"format": " {}%", // Icon: memory
|
||||
"on-click": "xfce4-terminal -e 'htop'",
|
||||
@@ -101,34 +98,34 @@
|
||||
"warning": 70,
|
||||
"critical": 90
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
"network": {
|
||||
"network": {
|
||||
"interval": 5,
|
||||
"format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi
|
||||
"format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}",
|
||||
"on-click": "xfce4-terminal -e 'nmtui'",
|
||||
},
|
||||
"network#vpn": {
|
||||
},
|
||||
"network#vpn": {
|
||||
"interface": "tun0",
|
||||
"format": " {essid} ({signalStrength}%)",
|
||||
"format-disconnected": "⚠ Disconnected",
|
||||
"tooltip-format": "{ifname}: {ipaddr}/{cidr}",
|
||||
},
|
||||
},
|
||||
|
||||
"sway/mode": {
|
||||
"sway/mode": {
|
||||
"format": "{}",
|
||||
"tooltip": false
|
||||
},
|
||||
},
|
||||
|
||||
"sway/window": {
|
||||
"sway/window": {
|
||||
"format": "{}",
|
||||
"max-length": 120
|
||||
},
|
||||
},
|
||||
|
||||
"sway/workspaces": {
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"disable-markup" : false,
|
||||
"all-outputs": true,
|
||||
@@ -141,7 +138,8 @@
|
||||
"4": "",
|
||||
}
|
||||
},
|
||||
"pulseaudio": {
|
||||
|
||||
"pulseaudio": {
|
||||
"scroll-step": 1, // %, can be a float
|
||||
"format": "{volume}% {icon}",
|
||||
"format-bluetooth": "{volume}% {icon} {format_source}",
|
||||
@@ -161,64 +159,61 @@
|
||||
"on-click": "pavucontrol",
|
||||
"on-scroll-up": "pamixer -ui 2",
|
||||
"on-scroll-down": "pamixer -ud 2",
|
||||
},
|
||||
},
|
||||
|
||||
"custom/weather": {
|
||||
"custom/weather": {
|
||||
"exec": "~/.config/waybar/scripts/weather.sh",
|
||||
"format": "{text} {icon}",
|
||||
"return-type": "json",
|
||||
"interval": 600,
|
||||
"tooltip-format": "{tooltip}"
|
||||
},
|
||||
},
|
||||
|
||||
"tray": {
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing":10,
|
||||
},
|
||||
|
||||
"backlight#icon": {
|
||||
"backlight#icon": {
|
||||
"format": "{icon}",
|
||||
"format-icons": [""],
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
},
|
||||
|
||||
"backlight#value" :{
|
||||
"backlight#value" :{
|
||||
"format": "{percent}%",
|
||||
"on-scroll-down": "brightnessctl -c backlight set 1%-",
|
||||
"on-scroll-up": "brightnessctl -c backlight set +1%"
|
||||
},
|
||||
|
||||
},
|
||||
|
||||
"custom/firefox": {
|
||||
"custom/firefox": {
|
||||
"format": " ",
|
||||
"on-click": "exec firefox",
|
||||
"tooltip": false
|
||||
},
|
||||
},
|
||||
|
||||
"custom/terminal": {
|
||||
"custom/terminal": {
|
||||
"format": " ",
|
||||
"on-click": "exec alacritty",
|
||||
"tooltip": false
|
||||
},
|
||||
},
|
||||
|
||||
"custom/files": {
|
||||
"custom/files": {
|
||||
"format": " ",
|
||||
"on-click": "exec thunar",
|
||||
"tooltip": false
|
||||
},
|
||||
},
|
||||
|
||||
"custom/launcher": {
|
||||
"custom/launcher": {
|
||||
"format":" ",
|
||||
"on-click": "exec wofi -c ~/.config/wofi/config -I",
|
||||
"tooltip": false,
|
||||
},
|
||||
},
|
||||
|
||||
"custom/power": {
|
||||
"custom/power": {
|
||||
"format":"⏻",
|
||||
"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,
|
||||
@@ -77,20 +74,16 @@ Arc-Dark Color Scheme
|
||||
#temperature,
|
||||
#tray,
|
||||
#idle_inhibitor,
|
||||
#custom-PBPbattery{
|
||||
#custom-PBPbattery {
|
||||
padding:0.5rem 0.6rem;
|
||||
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;
|
||||
}
|
||||
@@ -149,15 +139,16 @@ Arc-Dark Color Scheme
|
||||
color:white;
|
||||
margin-left: 5px;
|
||||
padding:7;
|
||||
}
|
||||
}
|
||||
|
||||
#network.disconnected {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
#pulseaudio{
|
||||
padding-top:6px;
|
||||
#pulseaudio {
|
||||
padding-top:6px;
|
||||
}
|
||||
|
||||
#pulseaudio.muted {
|
||||
color: @highlight;
|
||||
}
|
||||
@@ -170,41 +161,40 @@ padding-top:6px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#workspaces{
|
||||
font-size:13px;
|
||||
#workspaces {
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
border-bottom: 3px solid transparent;
|
||||
margin-bottom: 0px;
|
||||
padding:0px;
|
||||
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
border-bottom: 3px solid @highlight;
|
||||
margin-bottom: 1px;
|
||||
padding-left:0;
|
||||
}
|
||||
}
|
||||
|
||||
#workspaces button.urgent {
|
||||
border-color: #c9545d;
|
||||
color: #c9545d;
|
||||
}
|
||||
|
||||
#custom-power{
|
||||
#custom-power {
|
||||
margin-left:15px;
|
||||
margin-right:15px;
|
||||
font-size:15px;
|
||||
}
|
||||
#custom-launcher{
|
||||
|
||||
#custom-launcher {
|
||||
font-size:15px;
|
||||
margin-left:15px;
|
||||
margin-right:10px;
|
||||
}
|
||||
}
|
||||
|
||||
#backlight.icon{
|
||||
#backlight.icon {
|
||||
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,21 +33,15 @@ window {
|
||||
background-color: @base2;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
}
|
||||
|
||||
#text {
|
||||
padding: 5px;
|
||||
color: white;
|
||||
padding: 5px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#entry:nth-child(even){
|
||||
#entry:nth-child(even) {
|
||||
background-color: @base1;
|
||||
}
|
||||
|
||||
#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,15 +27,12 @@ Arc-Dark Color Scheme
|
||||
margin-top: -22px;
|
||||
}
|
||||
|
||||
#scroll {
|
||||
}
|
||||
|
||||
#text {
|
||||
padding: 5px;
|
||||
color: white;
|
||||
padding: 5px;
|
||||
color: white;
|
||||
}
|
||||
|
||||
#entry:nth-child(even){
|
||||
#entry:nth-child(even) {
|
||||
background-color: @base1;
|
||||
}
|
||||
|
||||
@@ -49,6 +43,3 @@ color: white;
|
||||
#entry:selected {
|
||||
background-color: @highlight;
|
||||
}
|
||||
|
||||
#text:selected {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user