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