Compare commits

..

No commits in common. "2cdb0043e2462a549600436978413559e4d696af" and "b8789cf0c14a3643b16fa54df641ae078e59e125" have entirely different histories.

2 changed files with 2 additions and 16 deletions

View File

@ -1,15 +1,14 @@
#! /bin/sh
if pgrep sxhkd ; then pkill sxhkd; fi
_hostname="$(hostname)"
if [ "$_hostname" = Patricia ] ; then
if [ "$(hostname)" = Patricia ] ; then
# aoc
bspc monitor HDMI-0 -d I II III IV V VI VII VIII IX X
# the other one
bspc monitor DVI-0 -d 001 010 011 100 x101
sxhkd -c ~/.config/sxhkd/sxhkdrc ~/.config/sxhkd/sxhkdrc.bspwm ~/.config/sxhkd/sxhkdrc.bspwm.patricia &
elif [ "$_hostname" = Pamela ] ; then
elif [ "$(hostname)" = Pamela ] ; then
# AOC
bspc monitor HDMI-1-1 -d I II III IV V VI VII VIII IX X
# samsung

View File

@ -6,9 +6,6 @@ instance=$3
consequences=$4
title=$(xtitle "$wid")
hostname=$(hostname)
# notify-send "$title" "$1 | $2 | $3 | $4"
case "$title" in
WM_FORCE_FLOATING)
@ -18,13 +15,3 @@ case "$title" in
echo "state=fullscreen"
;;
esac
case "$class" in
firefoxdeveloperedition)
if [ "$instance" = Devtools ] && [ "$hostname" = Pamela ] ; then
eval "$consequences"
echo "monitor=VGA-1-1"
fi
;;
esac