From 3eac674b0ef96b2b9f02132e86da25804e05c210 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Mon, 27 Mar 2023 10:29:07 -0600 Subject: [PATCH] Remove aggietime watcher in init.lisp, spotifyd uses gnu pass --- .config/sway/config | 28 +++------------------------ .config/systemd/user/spotifyd.service | 5 ++++- .stumpwm.d/init.lisp | 2 -- 3 files changed, 7 insertions(+), 28 deletions(-) diff --git a/.config/sway/config b/.config/sway/config index cf679a8..8a4090d 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,9 +1,3 @@ -# Default config for sway -# -# Copy this to ~/.config/sway/config and edit it to your liking. -# -# Read `man 5 sway` for a complete reference. - ### Variables # # Logo key. Use Mod1 for Alt. @@ -27,19 +21,13 @@ set $wallpapers_path $HOME/Wallpapers # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) output * bg `find $wallpapers_path -type f | shuf -n 1` fill +# VNC External Monitor output HEADLESS-1 { pos 1920,0 mode 1600x720 # transform 90 } -# -# Example configuration: -# -# output HDMI-A-1 resolution 1920x1080 position 1920,0 -# -# You can get the names of your outputs by running: swaymsg -t get_outputs - ### Idle configuration # # Example configuration: @@ -229,15 +217,5 @@ client.focused "#000000" "#ffffff" "#000000" include /etc/sway/config.d/* -# -# Cursor -# - -set $my_cursor Bibata-Modern-Amber -set $my_cursor_size 16 - -exec_always { - gsettings set org.gnome.desktop.interface cursor-theme $my_cursor - gsettings set org.gnome.desktop.interface cursor-size $my_cursor_size -} - +# Display target has started +exec systemctl start --user display.target & diff --git a/.config/systemd/user/spotifyd.service b/.config/systemd/user/spotifyd.service index 6d1383b..4627a74 100644 --- a/.config/systemd/user/spotifyd.service +++ b/.config/systemd/user/spotifyd.service @@ -5,9 +5,12 @@ Wants=sound.target After=sound.target Wants=network-online.target After=network-online.target +Wants=display.target [Service] -ExecStart=/usr/bin/spotifyd --config-path /home/lizzy/.config/spotifyd/spotifyd.conf --no-daemon +Environment=DISPLAY=:0 +Type=simple +ExecStart=/usr/bin/spotifyd --config-path /home/lizzy/.config/spotifyd/spotifyd.conf --password-cmd "pass show spotify" --no-daemon Restart=always RestartSec=12 diff --git a/.stumpwm.d/init.lisp b/.stumpwm.d/init.lisp index ee7c0af..16f4b50 100644 --- a/.stumpwm.d/init.lisp +++ b/.stumpwm.d/init.lisp @@ -20,6 +20,4 @@ ;; Follow focus on mouse hover (setq *mouse-focus-policy* :sloppy) -(when (is-work-machine) - (run-shell-command "sleep 3 && . ~/scripts/watch_aggietimed.sh")) (run-shell-command "dunst")