New folder structure
This commit is contained in:
11
System/focusMode.sh
Executable file
11
System/focusMode.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
state=$(cat ~/Scripts/.focusState)
|
||||
if test $state -eq 0; then
|
||||
polybar-msg cmd hide
|
||||
i3-msg gaps inner all set 0
|
||||
echo 1 > ~/Scripts/.focusState
|
||||
else
|
||||
polybar-msg cmd show
|
||||
i3-msg gaps inner all set 30
|
||||
echo 0 > ~/Scripts/.focusState
|
||||
fi
|
||||
Reference in New Issue
Block a user