This commit is contained in:
iFargle 2023-08-17 12:54:55 +09:00
parent 9c6e404625
commit 67c2aba02c
2 changed files with 12 additions and 13 deletions

View file

@ -59,6 +59,7 @@
neofetch neofetch
gnupg gnupg
fail2ban fail2ban
python3Minimal
]; ];
# Enable tailscale # Enable tailscale

View file

@ -11,12 +11,17 @@
{ {
"layer": "top", "layer": "top",
"position": "top", "position": "top",
"modules-left": ["sway/workspaces", "custom/arrow-dark-on-light-right", "modules-left": [
"custom/crypto", "custom/arrow-light-on-dark-right", "wlr/workspaces",
"custom/weather", "custom/arrow-dark-on-bg-right", "custom/arrow-dark-on-light-right",
"custom/crypto",
"custom/arrow-light-on-dark-right",
"custom/weather",
"custom/arrow-dark-on-bg-right",
"sway/mode"], "sway/mode"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["custom/arrow-light-on-bg-left", "pulseaudio", "modules-right": [
"custom/arrow-light-on-bg-left", "pulseaudio",
"custom/arrow-dark-on-light-left", "network", "custom/arrow-dark-on-light-left", "network",
"custom/arrow-light-on-dark-left", "cpu", "custom/arrow-light-on-dark-left", "cpu",
"custom/arrow-dark-on-light-left", "memory", "custom/arrow-dark-on-light-left", "memory",
@ -30,15 +35,6 @@
"disable-scroll": true "disable-scroll": true
}, },
"custom/crypto": {
"format": "{}",
"interval": 600,
"return-type": "json",
"exec": "~/.config/waybar/modules/crypto/waybar_crypto.py",
"exec-if": "ping pro-api.coinmarketcap.com -c1",
"tooltip": false
},
"custom/weather": { "custom/weather": {
"format": "{}", "format": "{}",
"tooltip": true, "tooltip": true,
@ -345,5 +341,7 @@ tooltip {
} }
''; '';
}; };
".config/waybar/wttr.py"
}; };
} }