diff --git a/home/gui/sway.nix b/home/gui/sway.nix index d51e42d..89d5ab8 100644 --- a/home/gui/sway.nix +++ b/home/gui/sway.nix @@ -352,10 +352,9 @@ exec shikane exec wayland-pipewire-idle-inhibit exec_always shikanectl reload - exec kitty --title ttmenu -e ttmenu-loop + exec kitty -o initial_window_width=40c -o initial_window_height=30c --title ttmenu -e ttmenu-loop 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 wl-paste -t text --watch clipman store @@ -392,7 +391,7 @@ mainBar = { ipc = true; position = "top"; - height = 10; + height = 20; spacing = 0; modules-left = [ "sway/workspaces" "sway/mode" "wlr/workspaces" "custom/mycal" ]; @@ -407,7 +406,6 @@ "network" "backlight" "battery" - "battery#bat2" "tray" "custom/mycal" "clock" @@ -459,6 +457,8 @@ tray = { icon-size = 16; spacing = 10; + expand = true; + show-passive-items = true; }; clock = { tooltip-format = '' @@ -489,7 +489,6 @@ format-discharging = "d:{capacity}% {time}"; format-alt = "{time} {icon}"; }; - "battery#bat2" = { bat = "BAT2"; }; network = { format-wifi = "{essid} ({signalStrength}%)"; format-ethernet = "{ipaddr}/{cidr}"; @@ -497,7 +496,7 @@ format-linked = "{ifname} (No IP)"; format-disconnected = "Disconnected"; format-alt = "{ifname}: {ipaddr}/{cidr}"; - on-click = "iwmenu -l rofi"; + # on-click = "iwmenu -l rofi"; }; pulseaudio = { format = "v:{volume}%";