initial commit of new dotfiles repo

This commit is contained in:
2024-03-06 16:35:10 -07:00
commit fb4d968caf
91 changed files with 7931 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
[Unit]
Description=AggieTimeD
[Service]
Type=simple
ExecStartPre=-/usr/bin/rm /run/user/%U/aggietimed.sock
ExecStartPre=/usr/bin/sleep 1
ExecStart=/usr/bin/node /usr/bin/aggietimed -d -s /run/user/%U/aggietimed.sock -p echo
RestartSec=30
Restart=always
[Install]
WantedBy=sway-session.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description=Terminal emulator
PartOf=sway-session.target
[Service]
Type=simple
ExecStart=alacritty
Slice=gui.slice

View File

@@ -0,0 +1,12 @@
[Unit]
Description = Lock the screen when the last smart card is removed
PartOf = smartcard.target
[Service]
Type=oneshot
RemainAfterExit = yes
ExecStart = swaymsg output '*' dpms on
ExecStop = sh -c "loginctl lock-session; sleep 1; swaymsg output '*' dpms off"
[Install]
WantedBy = smartcard.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=dunst notification daemon
PartOf=sway-session.target
[Service]
Type=simple
ExecStart=dunst
Slice=session.slice
[Install]
WantedBy=sway-session.target

View File

@@ -0,0 +1,20 @@
[Unit]
Description=Emacs text editor
Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/
PartOf=graphical-session.target
[Service]
Type=forking
ExecStart=/usr/bin/emacs --daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
Environment=SSH_AUTH_SOCK=%t/keyring/ssh
Environment=ASDF_DATA_DIR=/home/ezri/.local/share/asdf-vm
Restart=on-failure
Slice=session.slice
MemoryAccounting=yes
# Tide eats memory like crazy, so lets put it on a diet.
MemoryHigh=3G
MemoryMax=5G
[Install]
WantedBy=graphical-session.target

View File

@@ -0,0 +1,20 @@
[Unit]
Description=eww status bars
PartOf=sway-session.target
[Service]
Type=simple
ExecStart=eww daemon --no-daemonize
ExecStartPost=eww open-many leftbar rightbar network-status
ExecReload=eww reload
Slice=session.slice
MemoryAccounting=yes
# Eww is prone to memory leaks, esp. with (for ...), so
# if it ever goes nuts, kill it and restart.
MemoryHigh=150M
MemoryMax=400M
Restart=on-abnormal
RestartSec=5s
[Install]
WantedBy=sway-session.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description = GNOME Keyring
[Service]
Type=forking
ExecStart=gnome-keyring-daemon --daemonize
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Hyprland compositor session
Documentation=man:systemd.special
BindsTo=graphical-session.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target
Wants=sway-session.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description=KDE Connect Daemon
[Service]
Type=simple
ExecStart=/usr/lib/kdeconnectd
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description = PolicyKit authentication agent
BindTo=sway-session.target
[Service]
Type=simple
ExecStart=/usr/bin/lxpolkit
[Install]
WantedBy=sway-session.target

View File

@@ -0,0 +1,9 @@
[Unit]
Description = Forwarding bluetooth audio controls to MPRIS players
[Service]
Type = simple
ExecStart = /usr/bin/mpris-proxy
[Install]
WantedBy = graphical@i3.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Keeping track of media player activity
[Service]
Type=oneshot
ExecStart=/usr/bin/playerctld daemon
RemainAfterExit=yes
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,6 @@
[Unit]
Description=Sway compositor session
Documentation=man:systemd.special
BindsTo=graphical-session.target
Wants=graphical-session-pre.target
After=graphical-session-pre.target

View File

@@ -0,0 +1,10 @@
[Unit]
Description=Background program for wlroots-based compositors
BindsTo=hypr-session.target
[Service]
Type=simple
ExecStart=swaybg -c "#1e1e1e"
[Install]
WantedBy=hypr-session.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=Sway idle management
PartOf=sway-session.target
[Service]
Type=simple
ExecStart=swayidle -C %h/.config/sway/swayidle
Slice=session.slice
[Install]
WantedBy=sway-session.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=swaync notification daemon
PartOf=sway-session.target
[Service]
Type=dbus
BusName=org.freedesktop.Notifications
ExecStart=swaync
ExecReload=swaync-client -R
ExecReload=swaync-client -rs
Slice=session.slice
[Install]
WantedBy=sway-session.target

View File

@@ -0,0 +1,11 @@
[Unit]
Description=testing a thing
After=smartcard.target
Conflicts=smartcard.target
[Service]
Type=oneshot
ExecStart=echo it worked
[Install]
WantedBy=smartcard.target