mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Import DISPLAY to systemd for user services
This commit is contained in:
parent
6134d95062
commit
1c2b7cac0d
|
@ -13,7 +13,7 @@ xrandr --output HDMI-1 --auto --output eDP-1 --right-of HDMI-1 --auto &
|
||||||
setbg &
|
setbg &
|
||||||
|
|
||||||
# Use xresources file in ~/.config/x11
|
# Use xresources file in ~/.config/x11
|
||||||
xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources &
|
xrdb -merge ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources &
|
||||||
|
|
||||||
# Start compositor manager to allow transparency
|
# Start compositor manager to allow transparency
|
||||||
picom -b --experimental-backends &
|
picom -b --experimental-backends &
|
||||||
|
@ -45,3 +45,6 @@ xhost +local:
|
||||||
|
|
||||||
# Change x shaped default cursor (fonts are located in /usr/include/X11/cursorfont.h)
|
# Change x shaped default cursor (fonts are located in /usr/include/X11/cursorfont.h)
|
||||||
xsetroot -cursor_name left_ptr
|
xsetroot -cursor_name left_ptr
|
||||||
|
|
||||||
|
# import DISPLAY environment variable for systemd user services
|
||||||
|
systemctl --user import-environment DISPLAY
|
||||||
|
|
Loading…
Reference in a new issue