64 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-03-01 00:47:14 +01:00
#! /bin/sh
sxhkd &
bspc monitor -d web term code IV V VI VII VIII IX music
bspc config border_width 2
bspc config window_gap 12
bspc config split_ratio 0.52
bspc config borderless_monocle true
bspc config gapless_monocle true
bspc config click_to_focus true
bspc rule -a Gimp desktop='^8' state=floating follow=on
#bspc rule -a Chromium desktop='^2'
#bspc rule -a mplayer2 state=floating
#bspc rule -a Kupfer.py focus=on
#bspc rule -a Screenkey manage=off
bspc rule -a Nautilus state=floating
bspc rule -a Gedit state=floating
bspc rule -a Gnome-system-monitor state=floating
bspc rule -a Nextcloud desktop='^9' state=floating
# set wallpaper
feh --bg-scale ~/Bilder/Wallpapers/wallpaper.jpg
# map CAPS LOCK to CTRL
xmodmap -e "remove Lock = Caps_Lock"
xmodmap -e "keysym Caps_Lock = Control_L"
#xmodmap -e "add Lock = Shift_L + Shift_R"
# toggle keyboard language de, us with alt+shift
setxkbmap -option grp:alt_space_toggle de,us
#xmodmap -e "add Control = Caps_Lock"
#xmodmap -e "add Lock = Shift_L+Shift_R"
#remove Control = Control_L
#keysym Control_L = Caps_Lock
#keysym Caps_Lock = Control_L
#add Lock = Caps_Lock
# enable touchpad tap-to-click
#xinput set-prop 12 276 1
$HOME/.dotfiles/scripts/touchpad_enable_tapping.sh
# set default mouse cursor (no X)
xsetroot -cursor_name left_ptr
# move/resize window with alt + mouse
bspc config pointer_modifier mod1
# compton (effects)
compton --config ~/.config/bspwm/compton.conf -b &
# autolock after 5 min
xautolock -time 5 -locker '~/.dotfiles/scripts/lock.sh' &
# panel
polybar top &
polybar bottom &
# autostart
$HOME/.dotfiles/scripts/autostart.sh &