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:
parent
96ce98be49
commit
0691b7d309
15
lain/.config/systemd/user/xmodmap@.service
Normal file
15
lain/.config/systemd/user/xmodmap@.service
Normal 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
|
15
lain/.config/systemd/user/xresources@.service
Normal file
15
lain/.config/systemd/user/xresources@.service
Normal 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
|
@ -2,6 +2,10 @@ Base:
|
||||
- fish
|
||||
- systemd:
|
||||
source: none
|
||||
user-units:
|
||||
- i3@0
|
||||
- xmodmap@0
|
||||
- xresources@0
|
||||
|
||||
Terminal:
|
||||
- alacritty
|
||||
|
Loading…
Reference in New Issue
Block a user