Remove nix-shell shebang from autostart-manage

This commit is contained in:
Tobias Reisinger 2023-02-03 00:13:20 +01:00
parent 1458d5b334
commit cee6671913
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 8 additions and 7 deletions
.config/bspwm

View file

@ -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