sporo zmian, nie pamiętam czego :)

This commit is contained in:
2023-07-08 13:12:31 +02:00
parent 060b2022d2
commit 192276ff80
38 changed files with 1260 additions and 51 deletions

View File

@ -1,11 +1,10 @@
// -*- mode: json -*-
[
{
"layer": "top",
"position": "top",
"modules-left": [
"sway/workspaces",
"sway/workspaces"
],
"modules-center": [
"sway/window"
@ -71,9 +70,15 @@
"custom/hum",
"custom/pressure",
"custom/pm_25",
"custom/pm_10",
"custom/pm_10"
],
"modules-center": [
"custom/biurko_on",
"custom/biurko_off",
"custom/biurko_rainbow",
"custom/domofon",
"custom/tv_volup",
"custom/tv_voldown"
],
"modules-right": [
"custom/rsyncnet",
@ -108,6 +113,42 @@
"exec": "$HOME/.config/waybar/bin/sensor.sh pm2_5"
},
"custom/biurko_on": {
"format": "ON",
"on-click": "$HOME/.config/waybar/bin/biurko_on.sh"
},
"custom/biurko_off": {
"format": "OFF",
"on-click": "$HOME/.config/waybar/bin/biurko_off.sh"
},
"custom/tv_volup": {
"format": "🔊",
"on-click": "$HOME/.config/waybar/bin/tv_volup.sh"
},
"custom/tv_voldown": {
"format": "🔈",
"on-click": "$HOME/.config/waybar/bin/tv_voldown.sh"
},
"custom/domofon": {
"format": "📷",
"on-click": "$HOME/.config/waybar/bin/domofon.sh"
},
"custom/biurko_rainbow": {
"format": "🎉",
"on-click": "$HOME/.config/waybar/bin/biurko_rainbow.sh"
},
"custom/biurko_red": {
"format": "RED",
"on-click": "$HOME/.config/waybar/bin/biurko_red.sh"
},
"custom/pm_10": {
"format": "pm10 {}",
"return-type": "text",
@ -115,14 +156,6 @@
"exec": "$HOME/.config/waybar/bin/sensor.sh pm10"
},
"custom/rsyncnet": {
"format": "{}",
"return-type": "text",
"interval": 60,
"exec": "cat /tmp/rsync.net"
},
"battery": {
"states": {
"good": 95,
@ -143,4 +176,4 @@
"spacing": 6
}
}
]
]