diff --git a/configuration.nix b/configuration.nix index 82e514ff..3650f20a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -59,6 +59,7 @@ neofetch gnupg fail2ban + python3Minimal ]; # Enable tailscale diff --git a/hosts/nixos-laptop/home-manager/waybar-conf.nix b/hosts/nixos-laptop/home-manager/waybar-conf.nix index bdc9ffde..9154ff61 100644 --- a/hosts/nixos-laptop/home-manager/waybar-conf.nix +++ b/hosts/nixos-laptop/home-manager/waybar-conf.nix @@ -11,12 +11,17 @@ { "layer": "top", "position": "top", - "modules-left": ["sway/workspaces", "custom/arrow-dark-on-light-right", - "custom/crypto", "custom/arrow-light-on-dark-right", - "custom/weather", "custom/arrow-dark-on-bg-right", + "modules-left": [ + "wlr/workspaces", + "custom/arrow-dark-on-light-right", + "custom/crypto", + "custom/arrow-light-on-dark-right", + "custom/weather", + "custom/arrow-dark-on-bg-right", "sway/mode"], "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-light-on-dark-left", "cpu", "custom/arrow-dark-on-light-left", "memory", @@ -30,15 +35,6 @@ "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": { "format": "{}", "tooltip": true, @@ -345,5 +341,7 @@ tooltip { } ''; }; + + ".config/waybar/wttr.py" }; } \ No newline at end of file