Compare commits

...

4 Commits

Author SHA1 Message Date
a2eb5000c6
waybar: gitignore config
so it hopefully stays as symlink
2022-05-26 23:36:09 +03:00
9db8030c53
waybar: less WIP config 2022-05-26 23:35:40 +03:00
cfc5b266dd
conf/{sway,waybar}: add WIP waybar config 2022-05-26 22:48:45 +03:00
439786a2fd
sway/.gitignore: add *.private.conf 2022-05-26 20:05:57 +03:00
6 changed files with 106 additions and 0 deletions

1
conf/sway/config.d/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.private.conf

View File

@ -0,0 +1,3 @@
bar {
swaybar_command waybar
}

1
conf/waybar/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
config

1
conf/waybar/config Symbolic link
View File

@ -0,0 +1 @@
config.json

25
conf/waybar/config.json Normal file
View File

@ -0,0 +1,25 @@
{
"layer": "top",
"position": "left",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["cpu", "memory", "battery", "pulseaudio", "tray", "clock"],
"sway/window": {
"max-length": 50
},
"cpu": {
"format": "CPU {usage}%"
},
"memory": {
"format": "MEM {percentage}%"
},
"pulseaudio": {
"format": "AUX {volume}%",
"format-bluetooth": "BT {volume}%"
},
"battery": {
"format": "BAT {capacity}%"
},
"clock": {
"format": "{:%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"
}
}

75
conf/waybar/style.css Normal file
View File

@ -0,0 +1,75 @@
/* https://github.com/jan-warchol/selenized/blob/master/other-apps/wofi/selenized-dark.css */
* {
border: none;
border-radius: 0;
font-family: OpenDyslexic, sans-serif;
font-size: 9px;
min-height: 0;
}
window#waybar {
background: #103c48;
border-bottom: 3px solid rgba(100, 114, 125, 0.5);
color: white;
}
tooltip {
background: rgba(43, 48, 59, 0.5);
border: 1px solid rgba(100, 114, 125, 0.5);
}
tooltip label {
color: white;
}
#workspaces button {
padding: 0 5px;
background: #103c48;
color: white;
border-bottom: 3px solid #103c48;
}
#workspaces button.focused {
background: #64727D;
border-bottom: 3px solid white;
}
#mode, #clock, #battery {
padding: 0 10px;
}
#mode {
background: #103c48;
border-bottom: 3px solid white;
}
#clock {
background-color: #103c48;
}
#battery {
background-color: #103c48;
color: black;
}
#battery.charging {
color: white;
background-color: #103c48;
}
@keyframes blink {
to {
background-color: #103c48;
color: black;
}
}
#battery.warning:not(.charging) {
background: #f53c3c;
color: white;
animation-name: blink;
animation-duration: 0.5s;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-direction: alternate;
}