update graphical session

This commit is contained in:
Elizabeth Hunt 2024-01-15 16:46:50 -07:00
parent e67fa42fd4
commit 0e0d58b50c
Signed by: simponic
GPG Key ID: 52B3774857EB24B1
5 changed files with 7 additions and 9 deletions

View File

@ -229,4 +229,5 @@ include ~/.config/sway/local.d/*
# Display target has started # Display target has started
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
exec systemctl start --user display.target exec "systemctl --user import-environment {,WAYLAND_}DISPLAY SWAYSOCK; systemctl --user start sway-session.target"
exec swaymsg -t subscribe '["shutdown"]' && systemctl --user stop sway-session.target

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=aggietimed Description=aggietimed
Wants=display.target Wants=graphical-session.target
[Service] [Service]
Environment=DISPLAY=:0 Environment=DISPLAY=:0
@ -9,4 +9,4 @@ ExecStart=/home/lizzy/.asdf/shims/aggietimed -d -s /tmp/aggietimed.sock
Restart=always Restart=always
[Install] [Install]
WantedBy=default.target WantedBy=graphical-session.target

View File

@ -1,3 +0,0 @@
[Unit]
Description=Graphical target
AllowIsolate=yes

View File

@ -1,7 +1,7 @@
[Unit] [Unit]
Description=A spotify playing daemon Description=A spotify playing daemon
Documentation=https://github.com/Spotifyd/spotifyd Documentation=https://github.com/Spotifyd/spotifyd
Wants=display.target Wants=graphical-session.target
[Service] [Service]
Environment=DISPLAY=:0 Environment=DISPLAY=:0
@ -11,4 +11,4 @@ Restart=always
RestartSec=12 RestartSec=12
[Install] [Install]
WantedBy=default.target WantedBy=graphical-session.target

View File

@ -94,7 +94,7 @@
#+END_SRC #+END_SRC
** Font ** Font
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(let ((font "JetBrains Mono-8:style=Regular")) (let ((font "JetBrains Mono-12:style=Regular"))
(set-face-attribute 'default nil :font font) (set-face-attribute 'default nil :font font)
(set-frame-font font nil t)) (set-frame-font font nil t))
#+END_SRC #+END_SRC