This commit is contained in:
Ray Elliott 2022-06-30 10:52:27 +01:00
parent e858681203
commit 88dc069023
2 changed files with 6 additions and 9 deletions

BIN
bladerunner--inset.jpg Normal file

Binary file not shown.

15
xinitrc
View File

@ -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?
(sleep 5s && xset s off -dpms) &
if command -v xbindkeys ; then
xbindkeys
elif command -v sxhkd ; then
sxhkd &
if command -v sxhkd ; then
sxhkd -c ~/.config/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc.bspwm ~/.config/sxhkd/sxhkdrc.bspwm.machineone &
fi
if [ -f "$HOME/.config/feh/fehbg" ] ; then
@ -75,24 +73,23 @@ if [ -f "$HOME/.config/feh/fehbg" ] ; then
fi
# 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`
export XCURSOR_PATH=""
_host=$(hostname)
case "$_host" in
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" &
;;
MachineTwo)
# 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?
# sleep 5 && barrierc --no-tray --debug ERROR --name MachineTwo 192.168.8.10:24800 &
;;
esac
xsetroot -solid "#$(openssl rand -hex 3)"
bspwm