remove waydeeper; disable greetd

This commit is contained in:
EdenQwQ 2026-06-13 11:32:10 +08:00
parent ac74d0707f
commit 1b87ebbdc8
5 changed files with 7 additions and 7 deletions

View file

@ -28,5 +28,5 @@
}; };
home.sessionVariables.QT_QPA_PLATFORMTHEME = "gtk3"; home.sessionVariables.QT_QPA_PLATFORMTHEME = "gtk3";
services.wl-clip-persist.enable = true; services.wl-clip-persist.enable = true;
services.waydeeper.enable = true; # services.waydeeper.enable = true;
} }

View file

@ -27,9 +27,9 @@ let
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 &
@ -38,7 +38,7 @@ let
+ ( + (
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"

View file

@ -6,7 +6,7 @@ if [ -z $wall ]; then
exit 1 exit 1
fi fi
output=$(niri msg -j focused-output | jq -r .name) output=$(niri msg -j focused-output | jq -r .name)
waydeeper set --monitor $output $wallpapers_dir/$wall awww img -o $output $wallpapers_dir/$wall --transition-type random --transition-duration 1 --namespace background
blurwall=$(echo $wall | sed 's/\.jpg$/-blurred.jpg/') blurwall=$(echo $wall | sed 's/\.jpg$/-blurred.jpg/')
awww img -o $output $wallpapers_dir/$blurwall --transition-type fade --namespace backdrop awww img -o $output $wallpapers_dir/$blurwall --transition-type fade --namespace backdrop
echo $wall > $HOME/Pictures/Wallpapers/"$output"-file echo $wall > $HOME/Pictures/Wallpapers/"$output"-file

View file

@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
services.greetd = { services.greetd = {
enable = true; enable = false;
settings.default_session = { settings.default_session = {
command = # bash command = # bash
let let

View file

@ -32,7 +32,7 @@
}; };
services = { services = {
displayManager.gdm.enable = false; displayManager.gdm.enable = true;
# desktopManager.gnome.enable = true; # desktopManager.gnome.enable = true;
xserver = { xserver = {