From ec65ae580baa4599e7735e087f6a95ce2585ea8a Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 26 Feb 2020 21:27:37 +0000 Subject: [PATCH] add pamela specific commands --- xinitrc | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/xinitrc b/xinitrc index d13b4a4..400c98f 100644 --- a/xinitrc +++ b/xinitrc @@ -60,8 +60,6 @@ xmodmap -e "keycode 108 = Super_L" # disable DPMS and screensaving xset s off -dpms -barrier_run & - xbindkeys if [ -f "$HOME/.fehbg" ] ; then @@ -72,9 +70,18 @@ _host=$(hostname) case "$_host" in Pamela) 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 if [ -f /usr/local/bin/start_dwm ] ; then