setup waydeeper for niri autostart

This commit is contained in:
EdenQwQ 2026-04-17 11:56:34 +08:00
parent bee6335c61
commit 40f4e8172c

View file

@ -26,27 +26,27 @@ let
killall swhks killall swhks
swhks & swhks &
doas swhkd -c ~/.config/niri/swhkd/niri.swhkdrc & doas swhkd -c ~/.config/niri/swhkd/niri.swhkdrc &
# awww kill awww kill
# awww-daemon --namespace "background" & # awww-daemon --namespace "background" &
# awww-daemon --namespace "backdrop" & awww-daemon --namespace "backdrop" &
# awww restore --namespace "background" # awww restore --namespace "background"
# awww restore --namespace "backdrop" awww restore --namespace "backdrop"
mihomo -d ~/.config/clash & mihomo -d ~/.config/clash &
wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 & wlsunset -s 00:00 -S 00:00 -t 5000 -T 5001 &
sleep 0.2 sleep 0.2
'' ''
# + ( + (
# builtins.attrNames config.monitors builtins.attrNames config.monitors
# |> map (monitor: [ |> map (monitor: [
# "awww img --namespace background -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-file)\"" # "awww img --namespace background -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-file)\""
# "sleep 0.2" "sleep 0.2"
# "awww img --namespace backdrop -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-blurred-file)\"" "awww img --namespace backdrop -o ${monitor} \"/home/${user}/Pictures/Wallpapers/generated/$(cat ~/Pictures/Wallpapers/${monitor}-blurred-file)\""
# "sleep 0.2" "sleep 0.2"
# ]) ])
# |> builtins.concatLists |> builtins.concatLists
# |> builtins.concatStringsSep "\n" |> builtins.concatStringsSep "\n"
# ) )
# + "\n" + "\n"
+ ( + (
if config.desktopShell == "caelestia" then if config.desktopShell == "caelestia" then
# bash # bash