xinitrc: remove legacy cruft, add sct back
While there, replace `test` with `[ ... ]`.
This commit is contained in:
parent
d5e94cd65e
commit
2a35d39180
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# env
|
# env
|
||||||
# Written in 2019 by Lucas
|
# Written in 2019,2021 by Lucas
|
||||||
# CC0 1.0 Universal/Public domain - No rights reserved
|
# CC0 1.0 Universal/Public domain - No rights reserved
|
||||||
#
|
#
|
||||||
# To the extent possible under law, the author(s) have dedicated all
|
# To the extent possible under law, the author(s) have dedicated all
|
||||||
@ -10,15 +10,15 @@
|
|||||||
# Dedication along with this software. If not, see
|
# Dedication along with this software. If not, see
|
||||||
# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
||||||
|
|
||||||
test -r ~/.profile && . ~/.profile
|
[ -r ~/.profile ] && . ~/.profile
|
||||||
|
|
||||||
|
sct 4500
|
||||||
|
|
||||||
setxkbmap -layout us -variant altgr-intl -option compose:caps
|
setxkbmap -layout us -variant altgr-intl -option compose:caps
|
||||||
xset r rate 300 75
|
xset r rate 300 75
|
||||||
|
|
||||||
xset b off
|
xset b off
|
||||||
test -d /usr/local/share/fonts/bitmaps &&
|
|
||||||
xset +fp /usr/local/share/fonts/bitmaps &&
|
[ -r ~/.Xresources ] && xrdb -merge ~/.Xresources
|
||||||
xset fp rehash
|
|
||||||
test -r ~/.Xresources && xrdb -merge ~/.Xresources
|
|
||||||
|
|
||||||
exec herbstluftwm -l >~/local/var/log/herbstluftwm 2>&1
|
exec herbstluftwm -l >~/local/var/log/herbstluftwm 2>&1
|
||||||
|
Loading…
Reference in New Issue
Block a user