mirror of
https://github.com/frebib/dotfiles.git
synced 2024-06-14 12:57:23 +00:00
X11: don't fail xprofile when xmodmap is absent
This commit is contained in:
parent
c495293fb7
commit
96902aee6b
@ -19,4 +19,6 @@ xrandr --dpi $(xrdb -query | grep -i xft.dpi | cut -d: -f2)
|
||||
|
||||
setxkbmap -option caps:none
|
||||
xset r rate 200 18
|
||||
|
||||
test -f "$XDG_CONFIG_HOME"/X11/xmodmap && \
|
||||
xmodmap "$XDG_CONFIG_HOME"/X11/xmodmap
|
||||
|
@ -7,7 +7,7 @@ After=xorg.target profile.service
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=/usr/bin/bash -cx '. $XDG_CONFIG_HOME/X11/xprofile && systemctl --user import-environment'
|
||||
ExecStart=/usr/bin/bash -c '. $XDG_CONFIG_HOME/X11/xprofile; systemctl --user import-environment'
|
||||
|
||||
[Install]
|
||||
WantedBy=xorg.target
|
||||
|
Loading…
Reference in New Issue
Block a user