From 0eadde5fb057686b4cf277e1bfed744b8f652a6e Mon Sep 17 00:00:00 2001 From: Amy Retzerau Date: Wed, 15 Jan 2025 11:29:37 +0100 Subject: [PATCH] updated systemd user service --- .config/hypr/hyprland.conf | 6 +++--- .config/systemd/user/keepassxc.service | 10 +++++----- .../systemd/user/timers.target.wants/wallpaper.timer | 1 - .config/systemd/user/wallpaper.service | 4 +--- 4 files changed, 9 insertions(+), 12 deletions(-) delete mode 120000 .config/systemd/user/timers.target.wants/wallpaper.timer diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index b10bb0d..06c2d64 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -37,7 +37,7 @@ monitor= DP-3, 2560x1440@74.97,0x-1440,1 # Set programs that you use $terminal = kitty $fileManager = dolphin -$menu = rofi -show run -run-command "uwsm app -- {cmd}" -show-icons +$menu = rofi -show run -run-command "uwsm app -- {cmd}" -show-icons -icon-theme "Papirus" ################# @@ -51,10 +51,9 @@ $menu = rofi -show run -run-command "uwsm app -- {cmd}" -show-icons # exec-once = nm-applet & # exec-once = waybar & hyprpaper & firefox #exec-once = ~/wallpaper/script.sh -exec-once = uwsm app -- dunst #exec-once = uwsm app -- systemctl --user start hyprpolkitagent exec-once = uwsm app -- syncthing -exec-once = uwsm app -- keepassxc +#exec-once = uwsm app -- keepassxc #exec-once = nwg-dock-hyprland -x -mb 10 -mt -10 ############################# ### ENVIRONMENT VARIABLES ### @@ -200,6 +199,7 @@ master { misc { force_default_wallpaper = 2 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( + col.splash = rgba(000000ff) } diff --git a/.config/systemd/user/keepassxc.service b/.config/systemd/user/keepassxc.service index 80ebbc6..de9fe5d 100644 --- a/.config/systemd/user/keepassxc.service +++ b/.config/systemd/user/keepassxc.service @@ -1,15 +1,15 @@ [Unit] Description=Fast, IPC-controlled wallpaper utility for Hyprland. Documentation=https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/ -PartOf=graphical-session.target -Requires=waybar.service +#PartOf=graphical-session.target +After=graphical-session.target +BindsTo=graphical-session.target ConditionEnvironment=WAYLAND_DISPLAY [Service] Type=simple -ExecStart=/usr/bin/keepassxc -Slice=session.slice -Restart=on-failure +ExecStart=/bin/bash -c 'sleep 5; keepassxc' + [Install] WantedBy=graphical-session.target diff --git a/.config/systemd/user/timers.target.wants/wallpaper.timer b/.config/systemd/user/timers.target.wants/wallpaper.timer deleted file mode 120000 index 6a7f387..0000000 --- a/.config/systemd/user/timers.target.wants/wallpaper.timer +++ /dev/null @@ -1 +0,0 @@ -/home/amy/.config/systemd/user/wallpaper.timer \ No newline at end of file diff --git a/.config/systemd/user/wallpaper.service b/.config/systemd/user/wallpaper.service index a235a0f..203ee50 100644 --- a/.config/systemd/user/wallpaper.service +++ b/.config/systemd/user/wallpaper.service @@ -1,9 +1,7 @@ [Unit] Description=Time based wallpaper switcher -PartOf=graphical-session.target -Requires=graphical-session.target +Requires=hyprpaper.service After=graphical-session.target -ConditionEnvironment=WAYLAND_DISPLAY [Service] Type=simple