12 lines
343 B
Bash
Executable File
12 lines
343 B
Bash
Executable File
#! /bin/bash
|
|
|
|
|
|
|
|
if grep -q enable "/home/saul365/.config/sway/config.d/output" ; then
|
|
echo disable
|
|
sed -i s/"enable"/"disable"/ "/home/saul365/.config/sway/config.d/output"
|
|
elif grep -q "disable" "/home/saul365/.config/sway/config.d/output" ; then
|
|
echo enable
|
|
sed -i s/"disable"/"enable"/ "/home/saul365/.config/sway/config.d/output"
|
|
fi
|