updated systemd user service

This commit is contained in:
2025-01-15 11:29:37 +01:00
parent 2a7506bfbf
commit 0eadde5fb0
4 changed files with 9 additions and 12 deletions

View File

@@ -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)
}

View File

@@ -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

View File

@@ -1 +0,0 @@
/home/amy/.config/systemd/user/wallpaper.timer

View File

@@ -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