diff options
author | clarkzjw <[email protected]> | 2023-01-09 16:38:12 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-09 16:38:12 -0800 |
commit | 6689b3ce97a04f23e2d033e161c4a3a80b78b9e1 (patch) | |
tree | 8435e68a54555643781e8c39c3645398ceed1a4f /dot_config | |
parent | bf04b04a26c3003cdfebd0a95adef12ab9f116cd (diff) | |
download | dotfiles-6689b3ce97a04f23e2d033e161c4a3a80b78b9e1.tar.gz |
systemd: add weylus
Diffstat (limited to 'dot_config')
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 | |||
303 | assign [class="TelegramDesktop"] $ws5 | 303 | assign [class="TelegramDesktop"] $ws5 |
304 | assign [class="discord"] $ws5 | 304 | assign [class="discord"] $ws5 |
305 | assign [class="Microsoft Teams - Preview"] $ws5 | 305 | assign [class="Microsoft Teams - Preview"] $ws5 |
306 | assign [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: |
308 | for_window [class=Xfce4-terminal] focus | 309 | for_window [class=Xfce4-terminal] focus |
@@ -414,6 +415,8 @@ for_window [window_role="About"] floating enable | |||
414 | for_window [class="copyq"] floating enable resize set 800 800 | 415 | for_window [class="copyq"] floating enable resize set 800 800 |
415 | for_window [class="Nm-connection-editor"] floating enable | 416 | for_window [class="Nm-connection-editor"] floating enable |
416 | for_window [class="flameshot"] floating enable | 417 | for_window [class="flameshot"] floating enable |
418 | for_window [class="FLTK"] floating enable resize 700 700 | ||
419 | for_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 |
418 | for_window [class="TelegramDesktop"] floating enable resize set 1300 1200 | 421 | for_window [class="TelegramDesktop"] floating enable resize set 1300 1200 |
419 | for_window [class="eudic"] floating enable resize set 800 800 | 422 | for_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] | ||
2 | Description=EOS update notifier service | ||
3 | |||
4 | [Service] | ||
5 | Type=oneshot | ||
6 | Environment=DISPLAY=:0 | ||
7 | ExecStart=/usr/bin/eos-update-notifier -systemd | ||
8 | |||
9 | [Install] | ||
10 | WantedBy=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] | ||
2 | Description=EOS update notifier runs periodically (weekly) and soon after a reboot | ||
3 | |||
4 | [Timer] | ||
5 | Persistent=false | ||
6 | OnStartupSec=300 seconds | ||
7 | OnCalendar=weekly | ||
8 | # Persistent=true | ||
9 | |||
10 | [Install] | ||
11 | WantedBy=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] | ||
5 | Description=Proton VPN Reconnector | ||
6 | |||
7 | [Service] | ||
8 | ExecStart=/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] | ||
2 | Description=Weylus | ||
3 | |||
4 | [Install] | ||
5 | WantedBy=multi-user.target | ||
6 | |||
7 | [Service] | ||
8 | ExecStart=/usr/bin/weylus --no-gui --auto-start --access-code 2013zjw@nju --web-port 1702 --websocket-port 9001 | ||