add pamela specific commands

This commit is contained in:
Ray Elliott 2020-02-26 21:27:37 +00:00
parent d120de17c0
commit ec65ae580b
1 changed files with 11 additions and 4 deletions

15
xinitrc
View File

@ -60,8 +60,6 @@ xmodmap -e "keycode 108 = Super_L"
# disable DPMS and screensaving # disable DPMS and screensaving
xset s off -dpms xset s off -dpms
barrier_run &
xbindkeys xbindkeys
if [ -f "$HOME/.fehbg" ] ; then if [ -f "$HOME/.fehbg" ] ; then
@ -72,9 +70,18 @@ _host=$(hostname)
case "$_host" in case "$_host" in
Pamela) Pamela)
xrandr --dpi 96 xrandr --dpi 96
barriers --no-tray --debug ERROR --name Pamela -c ~/.config/barrier/barrier.conf --address 192.168.0.201:24800 &
;;
Patricia)
# fix giant cursors caused by adwaitu theme being installed as dependency of something.
# i now like my gian cursor - leaving it commented for now
# export XCURSOR_PATH=""
# TODO - why did i have these? do i still need them?
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
# barrier client only works with a sleep (behaves as if Mod4 key is always being pressed) - why?
sleep 5 && barrierc --no-tray --debug INFO --name Patricia 192.168.0.201:24800 &
;; ;;
# Patricia)
# ;;
esac esac
if [ -f /usr/local/bin/start_dwm ] ; then if [ -f /usr/local/bin/start_dwm ] ; then