diff --git a/home/gui/sway.nix b/home/gui/sway.nix index 043210c..c3b1734 100644 --- a/home/gui/sway.nix +++ b/home/gui/sway.nix @@ -1,4 +1,12 @@ -{ inputs, pkgs, hostname, outputs, config, osConfig, ... }: { +{ + inputs, + pkgs, + hostname, + outputs, + config, + osConfig, + ... +}: { xdg.configFile."sway/config".text = '' # For ${osConfig.networking.hostName} set $mod Mod1 @@ -305,7 +313,7 @@ seat * hide_cursor 8000 exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK exec dbus-update-activation-environment --all 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK - exec --no-startup-id udiskie + exec --no-startup-id udiskie exec wl-paste -t text --watch clipman store exec configure-gtk exec dovideo.sh @@ -317,7 +325,6 @@ exec myterm exec headset-charge-indicator.py exec blueberry-tray - exec wlsunset -l 29.74 -L -95.77 ''; programs = { @@ -340,9 +347,8 @@ position = "top"; height = 20; spacing = 0; - modules-left = - [ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ]; - modules-center = [ ]; + modules-left = ["sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal"]; + modules-center = []; modules-right = [ "idle_inhibitor" "custom/toggle-sink" @@ -392,8 +398,8 @@ on-click = "~/bin/control-music --pause"; interval = 5; }; - "sway/window" = { icon-size = 10; }; - "sway/mode" = { format = ''{}''; }; + "sway/window" = {icon-size = 10;}; + "sway/mode" = {format = ''{}'';}; "idle_inhibitor" = { format = "{icon}"; format-icons = { @@ -419,7 +425,7 @@ format = "cpu: {usage}%"; tooltip = false; }; - memory = { format = "mem: {}%"; }; + memory = {format = "mem: {}%";}; temperature = { critical-threshold = 80; format = "{temperatureC}°C {icon}";