home/gui/sway | formating, remove call to wlsunset

This commit is contained in:
Don Harper 2025-09-24 13:33:32 -05:00
parent a5101235e6
commit 684e78190b

View file

@ -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 = ''<span style="italic">{}</span>''; };
"sway/window" = {icon-size = 10;};
"sway/mode" = {format = ''<span style="italic">{}</span>'';};
"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}";