aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-01-09 16:38:12 -0800
committerclarkzjw <[email protected]>2023-01-09 16:38:12 -0800
commit6689b3ce97a04f23e2d033e161c4a3a80b78b9e1 (patch)
tree8435e68a54555643781e8c39c3645398ceed1a4f
parentbf04b04a26c3003cdfebd0a95adef12ab9f116cd (diff)
downloaddotfiles-6689b3ce97a04f23e2d033e161c4a3a80b78b9e1.tar.gz
systemd: add weylus
-rw-r--r--dot_config/i3/config3
-rw-r--r--dot_config/systemd/user/eos-update-notifier.service10
-rw-r--r--dot_config/systemd/user/eos-update-notifier.timer11
-rw-r--r--dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service1
-rw-r--r--dot_config/systemd/user/protonvpn_reconnect.service8
-rw-r--r--dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer1
-rw-r--r--dot_config/systemd/user/weylus.service8
7 files changed, 42 insertions, 0 deletions
diff --git a/dot_config/i3/config b/dot_config/i3/config
index 088a9be..cbed1b0 100644
--- a/dot_config/i3/config
+++ b/dot_config/i3/config
@@ -303,6 +303,7 @@ assign [class="thunderbird"] $ws4
303assign [class="TelegramDesktop"] $ws5 303assign [class="TelegramDesktop"] $ws5
304assign [class="discord"] $ws5 304assign [class="discord"] $ws5
305assign [class="Microsoft Teams - Preview"] $ws5 305assign [class="Microsoft Teams - Preview"] $ws5
306assign [class="FLTK"] $ws9
306 307
307# automatic set focus new window if it opens on another workspace then the current: 308# automatic set focus new window if it opens on another workspace then the current:
308for_window [class=Xfce4-terminal] focus 309for_window [class=Xfce4-terminal] focus
@@ -414,6 +415,8 @@ for_window [window_role="About"] floating enable
414for_window [class="copyq"] floating enable resize set 800 800 415for_window [class="copyq"] floating enable resize set 800 800
415for_window [class="Nm-connection-editor"] floating enable 416for_window [class="Nm-connection-editor"] floating enable
416for_window [class="flameshot"] floating enable 417for_window [class="flameshot"] floating enable
418for_window [class="FLTK"] floating enable resize 700 700
419for_window [class="1Password"] floating enable resize 800 800
417#for_window [class="TelegramDesktop"] floating enable resize set 800 800 420#for_window [class="TelegramDesktop"] floating enable resize set 800 800
418for_window [class="TelegramDesktop"] floating enable resize set 1300 1200 421for_window [class="TelegramDesktop"] floating enable resize set 1300 1200
419for_window [class="eudic"] floating enable resize set 800 800 422for_window [class="eudic"] floating enable resize set 800 800
diff --git a/dot_config/systemd/user/eos-update-notifier.service b/dot_config/systemd/user/eos-update-notifier.service
new file mode 100644
index 0000000..a052a86
--- /dev/null
+++ b/dot_config/systemd/user/eos-update-notifier.service
@@ -0,0 +1,10 @@
1[Unit]
2Description=EOS update notifier service
3
4[Service]
5Type=oneshot
6Environment=DISPLAY=:0
7ExecStart=/usr/bin/eos-update-notifier -systemd
8
9[Install]
10WantedBy=eos-update-notifier.timer
diff --git a/dot_config/systemd/user/eos-update-notifier.timer b/dot_config/systemd/user/eos-update-notifier.timer
new file mode 100644
index 0000000..7b4f365
--- /dev/null
+++ b/dot_config/systemd/user/eos-update-notifier.timer
@@ -0,0 +1,11 @@
1[Unit]
2Description=EOS update notifier runs periodically (weekly) and soon after a reboot
3
4[Timer]
5Persistent=false
6OnStartupSec=300 seconds
7OnCalendar=weekly
8# Persistent=true
9
10[Install]
11WantedBy=timers.target
diff --git a/dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service b/dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service
new file mode 100644
index 0000000..8190cc5
--- /dev/null
+++ b/dot_config/systemd/user/multi-user.target.wants/symlink_weylus.service
@@ -0,0 +1 @@
/home/clarkzjw/.config/systemd/user/weylus.service
diff --git a/dot_config/systemd/user/protonvpn_reconnect.service b/dot_config/systemd/user/protonvpn_reconnect.service
new file mode 100644
index 0000000..fc500d9
--- /dev/null
+++ b/dot_config/systemd/user/protonvpn_reconnect.service
@@ -0,0 +1,8 @@
1
2# v3.14.0
3
4[Unit]
5Description=Proton VPN Reconnector
6
7[Service]
8ExecStart=/usr/bin/python /usr/lib/python3.10/site-packages/protonvpn_nm_lib/daemon/dbus_daemon_reconnector.py
diff --git a/dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer b/dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer
new file mode 100644
index 0000000..92a752d
--- /dev/null
+++ b/dot_config/systemd/user/timers.target.wants/symlink_eos-update-notifier.timer
@@ -0,0 +1 @@
/home/clarkzjw/.config/systemd/user/eos-update-notifier.timer
diff --git a/dot_config/systemd/user/weylus.service b/dot_config/systemd/user/weylus.service
new file mode 100644
index 0000000..b65113e
--- /dev/null
+++ b/dot_config/systemd/user/weylus.service
@@ -0,0 +1,8 @@
1[Unit]
2Description=Weylus
3
4[Install]
5WantedBy=multi-user.target
6
7[Service]
8ExecStart=/usr/bin/weylus --no-gui --auto-start --access-code 2013zjw@nju --web-port 1702 --websocket-port 9001
Powered by cgit v1.2.3 (git 2.41.0)