mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Made dunst a user systemd service
This commit is contained in:
parent
8a7e0caeab
commit
0f62af4715
@ -46,8 +46,6 @@ for_window [instance="dropdown_*"] move position center
|
|||||||
# #---Starting External Scripts---# #
|
# #---Starting External Scripts---# #
|
||||||
# Setting the background:
|
# Setting the background:
|
||||||
exec --no-startup-id setbg
|
exec --no-startup-id setbg
|
||||||
# Starts dunst for notifications:
|
|
||||||
exec --no-startup-id dunst
|
|
||||||
# Composite manager:
|
# Composite manager:
|
||||||
exec --no-startup-id xcompmgr
|
exec --no-startup-id xcompmgr
|
||||||
# Runs the key remapping scripts
|
# Runs the key remapping scripts
|
||||||
|
|||||||
10
.config/systemd/user/dunst.service
Normal file
10
.config/systemd/user/dunst.service
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=dunst notifications
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Environment=DISPLAY=:0
|
||||||
|
ExecStart=dunst
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
@ -70,4 +70,4 @@ esac
|
|||||||
|
|
||||||
setbg # Fix background if screen size/arangement has changed.
|
setbg # Fix background if screen size/arangement has changed.
|
||||||
remaps # Re-remap keys if keyboard added (for laptop bases)
|
remaps # Re-remap keys if keyboard added (for laptop bases)
|
||||||
pgrep -x dunst >/dev/null && killall dunst && setsid dunst & # Restart dunst to ensure proper location on screen
|
systemctl --user restart dunst # Restart dunst to ensure proper location on screen
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user