Remove nix-shell shebang from autostart-manage
This commit is contained in:
parent
1458d5b334
commit
cee6671913
3 changed files with 8 additions and 7 deletions
.config/bspwm
|
@ -10,13 +10,13 @@ bspc config active_border_color "#bd93f9"
|
|||
bspc config focused_border_color "#ff79c6"
|
||||
bspc config presel_feedback_color "#6272a4"
|
||||
|
||||
host_name=$(cat /proc/sys/kernel/hostname)
|
||||
hostname=$(cat /proc/sys/kernel/hostname)
|
||||
mode=$(cat /tmp/bspwm_mode)
|
||||
|
||||
primary="${MONITOR_PRIMARY:-primary}"
|
||||
secondary="${MONITOR_SECONDARY:-secondary}"
|
||||
|
||||
if [ "$host_name" = "portalo" ]; then
|
||||
if [ "$hostname" = "portalo" ]; then
|
||||
if [ "$mode" = "presenter" ]; then
|
||||
xrandr --output "$primary" --mode 2560x1440 --refresh 144
|
||||
xrandr --output "$secondary" --auto --left-of "$primary"
|
||||
|
@ -35,7 +35,7 @@ if [ "$host_name" = "portalo" ]; then
|
|||
bspc monitor "$secondary" -d side-view voip messenger
|
||||
fi
|
||||
|
||||
#elif echo "$host_name" | grep -Eq "laptop"; then
|
||||
#elif echo "$hostname" | grep -Eq "laptop"; then
|
||||
else
|
||||
xrandr --output "$primary" --auto
|
||||
xrandr --output "$secondary" --left-of "$primary" --auto
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue