Compare commits

...

3 Commits

3 changed files with 24 additions and 13 deletions

View File

@ -2,7 +2,7 @@
"layer": "top",
"position": "left",
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-right": ["cpu", "memory", "bluetooth", "battery", "pulseaudio", "tray", "sway/language", "clock"],
"modules-right": ["cpu", "memory", "bluetooth", "battery", "pulseaudio", "sway/language", "tray", "clock"],
"sway/window": {
"max-length": 50
},
@ -10,23 +10,27 @@
"format": "CPU {usage}%"
},
"memory": {
"format": "🐏 {percentage}%"
"format": "RAM {percentage}%"
},
"bluetooth": {
"format": " {status}",
"format-connected": " {device_alias}",
"format-connected-battery": " {device_alias} {device_battery_percentage}%",
"format": "BT {status}",
"format-connected": "BT {device_alias}",
"format-connected-battery": "BT {device_alias} {device_battery_percentage}%"
},
"pulseaudio": {
"format": "🔈 {volume}%",
"format-bluetooth": "🔈 {volume}%"
"format": "VOL {volume}%",
"format-bluetooth": "BT VOL {volume}%"
},
"battery": {
"format": "🔋 {capacity}%"
"states": {
"warning": 40,
"critical": 20
},
"format": "BAT {capacity}%"
},
"sway/language": {
"format": "⌨ {short} {variant}",
"on-click": "swaymsg input type:keyboard xkb_switch_layout next",
"format": "KBD {short} {variant}",
"on-click": "swaymsg input type:keyboard xkb_switch_layout next"
},
"clock": {
"format": "{:%a. %d.\n%b.\n%Y-%j\n%G-W%V-%u\n%F\n%H.%M.%S}"

View File

@ -49,7 +49,7 @@ tooltip label {
#battery {
background-color: #103c48;
color: black;
color: white;
}
#battery.charging {
@ -60,7 +60,7 @@ tooltip label {
@keyframes blink {
to {
background-color: #103c48;
color: black;
color: white;
}
}

7
etc/tlp.d/lumina.conf Normal file
View File

@ -0,0 +1,7 @@
# tlp-stat -b reports that BAT1 is enabled on Lumina
# Read https://linrunner.de/tlp/settings/battery.html
# Continue charging on AC when battery is down to %
START_CHARGE_THRESH_BAT1=75
# Stop charging on AC when battery is up to %
STOP_CHARGE_THRESH_BAT1=80