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 # Set programs that you use
$terminal = kitty $terminal = kitty
$fileManager = dolphin $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 = nm-applet &
# exec-once = waybar & hyprpaper & firefox # exec-once = waybar & hyprpaper & firefox
#exec-once = ~/wallpaper/script.sh #exec-once = ~/wallpaper/script.sh
exec-once = uwsm app -- dunst
#exec-once = uwsm app -- systemctl --user start hyprpolkitagent #exec-once = uwsm app -- systemctl --user start hyprpolkitagent
exec-once = uwsm app -- syncthing 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 #exec-once = nwg-dock-hyprland -x -mb 10 -mt -10
############################# #############################
### ENVIRONMENT VARIABLES ### ### ENVIRONMENT VARIABLES ###
@@ -200,6 +199,7 @@ master {
misc { misc {
force_default_wallpaper = 2 # Set to 0 or 1 to disable the anime mascot wallpapers 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. :( 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] [Unit]
Description=Fast, IPC-controlled wallpaper utility for Hyprland. Description=Fast, IPC-controlled wallpaper utility for Hyprland.
Documentation=https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/ Documentation=https://wiki.hyprland.org/Hypr-Ecosystem/hyprpaper/
PartOf=graphical-session.target #PartOf=graphical-session.target
Requires=waybar.service After=graphical-session.target
BindsTo=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY ConditionEnvironment=WAYLAND_DISPLAY
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/keepassxc ExecStart=/bin/bash -c 'sleep 5; keepassxc'
Slice=session.slice
Restart=on-failure
[Install] [Install]
WantedBy=graphical-session.target WantedBy=graphical-session.target

View File

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

View File

@@ -1,9 +1,7 @@
[Unit] [Unit]
Description=Time based wallpaper switcher Description=Time based wallpaper switcher
PartOf=graphical-session.target Requires=hyprpaper.service
Requires=graphical-session.target
After=graphical-session.target After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY
[Service] [Service]
Type=simple Type=simple