update
This commit is contained in:
parent
e858681203
commit
88dc069023
Binary file not shown.
15
xinitrc
15
xinitrc
|
@ -64,10 +64,8 @@ xinput 'HAILUCK CO.,LTD USB KEYBOARD Mouse' 'libinput Scroll Method Enabled' 0 0
|
||||||
# TODO does this now work with a dely?
|
# TODO does this now work with a dely?
|
||||||
(sleep 5s && xset s off -dpms) &
|
(sleep 5s && xset s off -dpms) &
|
||||||
|
|
||||||
if command -v xbindkeys ; then
|
if command -v sxhkd ; then
|
||||||
xbindkeys
|
sxhkd -c ~/.config/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc.bspwm ~/.config/sxhkd/sxhkdrc.bspwm.machineone &
|
||||||
elif command -v sxhkd ; then
|
|
||||||
sxhkd &
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -f "$HOME/.config/feh/fehbg" ] ; then
|
if [ -f "$HOME/.config/feh/fehbg" ] ; then
|
||||||
|
@ -75,24 +73,23 @@ if [ -f "$HOME/.config/feh/fehbg" ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# fix giant cursors caused by adwaitu theme being installed as dependency of something.
|
# fix giant cursors caused by adwaitu theme being installed as dependency of something.
|
||||||
# not working on patricia for some reason so workaround is to
|
# not working on machineone for some reason so workaround is to
|
||||||
# comment out `Inherits=Adwaita` in `/usr/share/icons/default/index.theme`
|
# comment out `Inherits=Adwaita` in `/usr/share/icons/default/index.theme`
|
||||||
export XCURSOR_PATH=""
|
export XCURSOR_PATH=""
|
||||||
|
|
||||||
_host=$(hostname)
|
_host=$(hostname)
|
||||||
case "$_host" in
|
case "$_host" in
|
||||||
MachineOne)
|
MachineOne)
|
||||||
barriers --no-tray --debug ERROR --name MachineOne -c ~/.config/barrier/barrier.conf --address 192.168.8.10:24800 &
|
# barriers --no-tray --debug ERROR --name MachineOne -c ~/.config/barrier/barrier.conf --address 192.168.8.10:24800 &
|
||||||
sleep 3 && "$HOME/.config/bspwm/border_flash.sh" &
|
sleep 3 && "$HOME/.config/bspwm/border_flash.sh" &
|
||||||
;;
|
;;
|
||||||
MachineTwo)
|
MachineTwo)
|
||||||
# nvidia drivers xrandr settings
|
# nvidia drivers xrandr settings
|
||||||
xrandr --dpi 96
|
|
||||||
xrandr --setprovideroutputsource modesetting NVIDIA-0
|
|
||||||
xrandr --auto
|
|
||||||
# barrier client only works with a sleep (behaves as if Mod4 key is always being pressed) - why?
|
# barrier client only works with a sleep (behaves as if Mod4 key is always being pressed) - why?
|
||||||
# sleep 5 && barrierc --no-tray --debug ERROR --name MachineTwo 192.168.8.10:24800 &
|
# sleep 5 && barrierc --no-tray --debug ERROR --name MachineTwo 192.168.8.10:24800 &
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
xsetroot -solid "#$(openssl rand -hex 3)"
|
||||||
|
|
||||||
bspwm
|
bspwm
|
||||||
|
|
Loading…
Reference in New Issue