1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-27 21:19:51 -05:00

Add xmodmap and xresources service

This commit is contained in:
Jack Foltz 2018-12-05 00:46:54 -05:00
parent 96ce98be49
commit 0691b7d309
Signed by: foltik
GPG Key ID: D1F0331758D1F29A
3 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,15 @@
[Unit]
Description=Merge user xmodmap on x11 display %i
Documentation=man:xmodmap(1)
After=x11@%i.target
Requisite=x11@%i.target
[Service]
Environment=DISPLAY=:%i
Type=oneshot
ExecStart=-/usr/bin/env xmodmap %E/X11/modmap
SyslogIdentifier=xmodmap
[Install]
WantedBy=x11@%i.target

View File

@ -0,0 +1,15 @@
[Unit]
Description=Merge user xrdb on x11 display %i
Documentation=man:xrdb(1)
Before=x11@%i.target
Requisite=x11@%i.target
[Service]
Environment=DISPLAY=:%i
Type=oneshot
ExecStart=/usr/bin/env flock %t/x11-xrdb@%i -c 'xrdb -merge %E/X11/resources'
SyslogIdentifier=xrdb
[Install]
WantedBy=x11@%i.target

View File

@ -2,6 +2,10 @@ Base:
- fish
- systemd:
source: none
user-units:
- i3@0
- xmodmap@0
- xresources@0
Terminal:
- alacritty