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
|
setxkbmap -option caps:none
|
||||||
xset r rate 200 18
|
xset r rate 200 18
|
||||||
xmodmap "$XDG_CONFIG_HOME"/X11/xmodmap
|
|
||||||
|
test -f "$XDG_CONFIG_HOME"/X11/xmodmap && \
|
||||||
|
xmodmap "$XDG_CONFIG_HOME"/X11/xmodmap
|
||||||
|
@ -7,7 +7,7 @@ After=xorg.target profile.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
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]
|
[Install]
|
||||||
WantedBy=xorg.target
|
WantedBy=xorg.target
|
||||||
|
Loading…
Reference in New Issue
Block a user