Also increased animation speed in Niri.
A7KUAOWFTB3DK3GMSUNOWXFOISMPNNG5XXM2GXCNG4JZ4GZH3I7QC '';};config.flake.modules.hjem.polybar ={pkgs,lib,theme,isDesktop,isLinux,...}:letinherit (lib.modules) mkIf;enable = false;inmkIf (isDesktop && isLinux && enable) {packages = [ pkgs.polybar ];xdg.config.files."polybar/config.ini".text =with theme; # ini''[colors]background = #282A2Ebackground-alt = #373B41foreground = #C5C8C6primary = #F0C674secondary = #8ABEB7alert = #A54242disabled = #707880[bar/example]width = 100%height = 24ptradius = ${toString radius.small}background = ''${colors.background}foreground = ''${colors.foreground}line-size = 3ptborder-size = 4ptborder-color = #00000000padding-left = 0padding-right = 1module-margin = 1separator = |separator-foreground = ''${colors.disabled}font-0 = ${font.sans.name};2modules-left = xworkspaces xwindowmodules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth datecursor-click = pointercursor-scroll = ns-resizeenable-ipc = true; wm-restack = generic; wm-restack = bspwm; wm-restack = i3; override-redirect = true; This module is not active by default (to enable it, add it to one of the; modules-* list above).; Please note that only a single tray can exist at any time. If you launch; multiple bars with this module, only a single one will show it, the others; will produce a warning. Which bar gets the module is timing dependent and can; be quite random.; For more information, see the documentation page for this module:; https://polybar.readthedocs.io/en/stable/user/modules/tray.html[module/systray]type = internal/trayformat-margin = 8pttray-spacing = 16pt[module/xworkspaces]type = internal/xworkspaceslabel-active = %name%label-active-background = ''${colors.background-alt}label-active-underline= ''${colors.primary}label-active-padding = 1label-occupied = %name%label-occupied-padding = 1label-urgent = %name%label-urgent-background = ''${colors.alert}label-urgent-padding = 1label-empty = %name%label-empty-foreground = ''${colors.disabled}label-empty-padding = 1[module/xwindow]type = internal/xwindowlabel = %title:0:60:...%[module/filesystem]type = internal/fsinterval = 25mount-0 = /label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%label-unmounted = %mountpoint% not mountedlabel-unmounted-foreground = ''${colors.disabled}[module/pulseaudio]type = internal/pulseaudioformat-volume-prefix = "VOL "format-volume-prefix-foreground = ''${colors.primary}format-volume = <label-volume>label-volume = %percentage%%label-muted = mutedlabel-muted-foreground = ''${colors.disabled}[module/xkeyboard]type = internal/xkeyboardblacklist-0 = num locklabel-layout = %layout%label-layout-foreground = ''${colors.primary}label-indicator-padding = 2label-indicator-margin = 1label-indicator-foreground = ''${colors.background}label-indicator-background = ''${colors.secondary}[module/memory]type = internal/memoryinterval = 2format-prefix = "RAM "format-prefix-foreground = ''${colors.primary}label = %percentage_used:2%%[module/cpu]type = internal/cpuinterval = 2format-prefix = "CPU "format-prefix-foreground = ''${colors.primary}label = %percentage:2%%[network-base]type = internal/networkinterval = 5format-connected = <label-connected>format-disconnected = <label-disconnected>label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected[module/wlan]inherit = network-baseinterface-type = wirelesslabel-connected = %{F#F0C674}%ifname%%{F-} %essid% %local_ip%[module/eth]inherit = network-baseinterface-type = wiredlabel-connected = %{F#F0C674}%ifname%%{F-} %local_ip%[module/date]type = internal/dateinterval = 1date = %H:%Mdate-alt = %Y-%m-%d %H:%M:%Slabel = %date%label-foreground = ''${colors.primary}[settings]screenchange-reload = truepseudo-transparency = true# [bar/plumjam]# height=50# width=100%'';};config.flake.modules.hjem.ashell ={pkgs,lib,theme,isDesktop,isLinux,...}:letinherit (lib.modules) mkIf;enable = false;inmkIf (isDesktop && isLinux && enable) {packages = [ pkgs.ashell ];xdg.config.files."ashell/config.toml".text =with theme; # toml''[modules]shutdown_cmd = "systemctl poweroff"suspend_cmd = "hyprlock --quiet & systemctl suspend"hibernate_cmd = "hyprlock --quiet & systemctl hibernate"reboot_cmd = "systemctl reboot"logout_cmd = "hyprlock --quiet --grace 60"