mirror of
https://github.com/mitchell/dotfiles.git
synced 2025-12-17 12:27:22 +00:00
Replace ssh-a alias with ssh_a function ...
Update default .xinitrc in provision_linux
This commit is contained in:
parent
5ecb8c98c2
commit
0c54457655
3 changed files with 46 additions and 2 deletions
|
|
@ -131,7 +131,41 @@ function provision_desktop_env -d 'Install base desktop utilities and configure
|
|||
or return $status
|
||||
|
||||
log 'Setting xinitrc'
|
||||
echo 'exec bspwm' >~/.xinitrc
|
||||
echo '#!/bin/sh
|
||||
|
||||
userresources=$HOME/.Xresources
|
||||
usermodmap=$HOME/.Xmodmap
|
||||
sysresources=/etc/X11/xinit/.Xresources
|
||||
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||
|
||||
# merge in defaults and keymaps
|
||||
|
||||
if [ -f $sysresources ]; then
|
||||
xrdb -merge $sysresources
|
||||
fi
|
||||
|
||||
if [ -f $sysmodmap ]; then
|
||||
xmodmap $sysmodmap
|
||||
fi
|
||||
|
||||
if [ -f "$userresources" ]; then
|
||||
xrdb -merge "$userresources"
|
||||
fi
|
||||
|
||||
if [ -f "$usermodmap" ]; then
|
||||
xmodmap "$usermodmap"
|
||||
fi
|
||||
|
||||
# start some nice programs
|
||||
|
||||
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||
[ -x "$f" ] && . "$f"
|
||||
done
|
||||
unset f
|
||||
fi
|
||||
|
||||
exec bspwm' >~/.xinitrc
|
||||
|
||||
log 'Installing arc-gruvbox theme'
|
||||
mkdir -p ~/.themes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue