some more cleanup/tweaking
This commit is contained in:
37
xinitrc
37
xinitrc
@@ -5,20 +5,11 @@
|
||||
#-- CC BY-SA 3.0 --
|
||||
#---------------------------
|
||||
|
||||
# numlock
|
||||
numlockx &
|
||||
|
||||
# Merge custom X resources
|
||||
if [ -f $HOME/.Xresources ]; then
|
||||
xrdb -merge ~/.Xresources
|
||||
fi
|
||||
|
||||
# volumeicon
|
||||
volumeicon &
|
||||
|
||||
# clipboard mabager
|
||||
greenclip daemon &
|
||||
|
||||
# xfce power manager
|
||||
xfce4-power-manager &
|
||||
|
||||
@@ -26,25 +17,13 @@ xfce4-power-manager &
|
||||
xautolock -locker i3lock-fancy -time 10 &
|
||||
|
||||
# connection manager
|
||||
wicd-client --tray &
|
||||
|
||||
# backlight setting
|
||||
xbacklight -set 50
|
||||
|
||||
# http://unix.stackexchange.com/a/295652/88209
|
||||
source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh
|
||||
|
||||
# set xxkbmap before to apply custom keyboard mapping
|
||||
setxkbmap it
|
||||
nm-applet &
|
||||
|
||||
# custom keyboard mapping
|
||||
if [ -f $HOME/.Xmodmap ]; then
|
||||
/usr/bin/xmodmap $HOME/.Xmodmap
|
||||
fi
|
||||
|
||||
# single press of control to escape https://github.com/alols/xcape
|
||||
xcape -e 'Control_L=Escape'
|
||||
|
||||
# hide unused mouse
|
||||
unclutter &
|
||||
|
||||
@@ -52,17 +31,5 @@ unclutter &
|
||||
eval $(/usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh)
|
||||
export SSH_AUTH_SOCK
|
||||
|
||||
# geoclue agent
|
||||
/usr/lib/geoclue-2.0/demos/agent &
|
||||
|
||||
# qt5ct theming
|
||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||
|
||||
# workrave
|
||||
workrave &
|
||||
|
||||
# check monitors status and set monitor setup
|
||||
autorandr -c
|
||||
|
||||
# wm
|
||||
exec /usr/bin/awesome
|
||||
exec /usr/bin/i3
|
||||
|
||||
Reference in New Issue
Block a user