mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-10 04:12:30 +01:00
Compare commits
4 Commits
8dffbee262
...
a2eb5000c6
Author | SHA1 | Date | |
---|---|---|---|
a2eb5000c6 | |||
9db8030c53 | |||
cfc5b266dd | |||
439786a2fd |
1
conf/sway/config.d/.gitignore
vendored
Normal file
1
conf/sway/config.d/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.private.conf
|
3
conf/sway/config.d/waybar.conf
Normal file
3
conf/sway/config.d/waybar.conf
Normal file
@ -0,0 +1,3 @@
|
||||
bar {
|
||||
swaybar_command waybar
|
||||
}
|
1
conf/waybar/.gitignore
vendored
Normal file
1
conf/waybar/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
config
|
1
conf/waybar/config
Symbolic link
1
conf/waybar/config
Symbolic link
@ -0,0 +1 @@
|
||||
config.json
|
25
conf/waybar/config.json
Normal file
25
conf/waybar/config.json
Normal 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
75
conf/waybar/style.css
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user