Feat(sway): cosmetics
This commit is contained in:
parent
5210b2a15a
commit
2131bb57c4
@ -135,13 +135,15 @@ bindsym $mod+Shift+Right move right
|
||||
#
|
||||
# Workspaces:
|
||||
#
|
||||
set $ws1 1:
|
||||
set $ws2 2:
|
||||
set $ws1 1:
|
||||
set $ws2 2:
|
||||
set $ws3 3:
|
||||
set $ws4 4:
|
||||
set $ws5 5:
|
||||
set $ws6 6:
|
||||
set $ws7 7:
|
||||
set $ws4 4:
|
||||
set $ws5 5:
|
||||
set $ws6 6:
|
||||
set $ws7 7:
|
||||
set $ws8 8:
|
||||
set $ws9 9:
|
||||
|
||||
bindsym $mod+ampersand workspace $ws1
|
||||
bindsym $mod+eacute workspace $ws2
|
||||
|
@ -2,8 +2,8 @@
|
||||
"layer": "top",
|
||||
"output": "eDP-1",
|
||||
"height": 30,
|
||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
||||
"modules-center": ["sway/window"],
|
||||
"modules-left": ["sway/mode","sway/window" ],
|
||||
"modules-center": ["sway/workspaces" ],
|
||||
"modules-right": ["pulseaudio", "battery", "tray", "clock"],
|
||||
"sway/window": {
|
||||
"max-length": 50
|
||||
|
@ -10,58 +10,79 @@
|
||||
|
||||
window#waybar {
|
||||
background: @background;
|
||||
color: @white_b;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 0 2px;
|
||||
background: transparent;
|
||||
color: @white_b;
|
||||
color: @foreground;
|
||||
border-bottom: 3px solid transparent;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
background: @orange;
|
||||
border-bottom: 3px solid @orange_b;
|
||||
#workspaces button.active {
|
||||
background: @orange_b;
|
||||
}
|
||||
|
||||
#mode, #clock, #battery {
|
||||
#workspaces button.visible {
|
||||
background: @orange;
|
||||
border-radius: 2px;
|
||||
border-top: 3px solid @orange_b;
|
||||
}
|
||||
|
||||
#mode,
|
||||
#clock,
|
||||
#battery {
|
||||
padding: 0 10px;
|
||||
margin: 0 5px;
|
||||
}
|
||||
|
||||
#mode {
|
||||
background: @red;
|
||||
border-bottom: 3px solid @white_b;
|
||||
border-bottom: 3px solid @foreground;
|
||||
}
|
||||
|
||||
#window {
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
#clock {
|
||||
color: @white_b;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#battery {
|
||||
color: @white_b;
|
||||
color: @foreground;
|
||||
}
|
||||
|
||||
#battery.charging {
|
||||
color: @gree;
|
||||
color: @green;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
to {
|
||||
background-color: @white_b;
|
||||
background-color: @foreground;
|
||||
color: @background;
|
||||
}
|
||||
}
|
||||
|
||||
#idle_inhibitor, #pulseaudio, #custom-openvpn, #network, #cpu, #memory, #temperature, #backlight, #battery, #clock, #tray {
|
||||
#idle_inhibitor,
|
||||
#pulseaudio,
|
||||
#custom-openvpn,
|
||||
#network,
|
||||
#cpu,
|
||||
#memory,
|
||||
#temperature,
|
||||
#backlight,
|
||||
#battery,
|
||||
#clock,
|
||||
#tray {
|
||||
padding: 0 6px;
|
||||
margin: 0 3px;
|
||||
}
|
||||
|
||||
#battery.warning:not(.charging) {
|
||||
background: @red;
|
||||
color: @white_b;
|
||||
color: @foreground;
|
||||
animation-name: blink;
|
||||
animation-duration: 0.5s;
|
||||
animation-timing-function: linear;
|
||||
|
Loading…
Reference in New Issue
Block a user