opencode, noctalia nightlight, waydeeper rust

This commit is contained in:
EdenQwQ 2026-03-31 14:48:59 +08:00
parent 307fc4579b
commit b6e64c1ebc
5 changed files with 70 additions and 27 deletions

View file

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

View file

@ -146,6 +146,11 @@
};
dock.enabled = false;
wallpaper.enabled = false;
nightLight = {
enabled = true;
forced = true;
nightTemp = "5000";
};
desktopWidgets = {
editMode = false;
enabled = true;