Compare commits

...

4 Commits

Author SHA1 Message Date
Aminda Suomalainen 5dbc461687
mpv.conf: add commented Tiresias PCfont && set font color to Amber
I am just being distracted and I use the amber colour a lot including in Dark Reader which seems to affect some video subtitles
2024-04-16 10:17:13 +03:00
Aminda Suomalainen 0a2faa5265
mpv.conf: set font to Comic Shanns Mono, comment Noto Serif Regular 2024-04-16 09:46:16 +03:00
Aminda Suomalainen d0eaf1a1d1
sway/nordvpn: include service and socket 2024-04-16 08:46:20 +03:00
Aminda Suomalainen 75c39ddb0d
sudoers.d/nordvpnd: include nordvpnd.socket 2024-04-16 08:39:16 +03:00
3 changed files with 13 additions and 2 deletions

View File

@ -12,7 +12,14 @@ slang=fi,fin,sdh,doh,en,eng,eo,epo,sv,swe,ru,rus,cs,ces,cze,es,spa
# I find myself reading it a lot faster than other fonts which is kind of
# relevant with subtitles
sub-font='Noto Serif Regular'
#sub-font='Noto Serif Regular'
sub-font='Comic Shanns Mono'
# YLE uses Tiresias Screenfont which is the only not-FOSS one. This is the
# closest?
#sub-font='Tiresias PCfont'
# Amber font for subtitles
sub-color='#ffb700'
# Enable two simultaneous subtitles (first slang on bottom, second on top?)
sid=auto

View File

@ -1,3 +1,5 @@
exec --no-startup-id sleep 15 && foot --title=nordvpn nordvpn connect p2p
exec --no-startup-id foot --title=nordvpnd.socket sudo systemctl start nordvpnd.socket
exec --no-startup-id foot --title=nordvpn.service sleep 5 && sudo systemctl start nordvpnd.service
exec --no-startup-id sleep 15 && foot --title=nordvpn\ connect nordvpn connect p2p
exec --no-startup-id foot --title=nordvpnd\ log journalctl -u nordvpnd -f
exec --no-startup-id foot --title=nordvpn\ status watch 'nordvpn status'

View File

@ -1,6 +1,8 @@
# passwordless sudo systemctl ... for group nordvpn
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.service
%nordvpn ALL=NOPASSWD: /bin/systemctl stop nordvpnd.socket
%nordvpn ALL=NOPASSWD: /bin/systemctl start nordvpnd.socket
%nordvpn ALL=NOPASSWD: /bin/systemctl restart nordvpnd.service
# used in my scripts and nordvpn.service.d and yggdrasil.service.d to ensure
# it works