Add zenbook duo toggle_screen script
This commit is contained in:
11
toggle_screen.sh
Executable file
11
toggle_screen.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#! /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
|
||||
Reference in New Issue
Block a user