Move i3 config to home module folder
This commit is contained in:
11
modules/home/i3/i3/scripts/display-layoutpicker
Executable file
11
modules/home/i3/i3/scripts/display-layoutpicker
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
xrandr | grep -q "HDMI-1 connected"
|
||||
|
||||
if [ "$?" -eq "0" ]; then
|
||||
echo "Two screens available"
|
||||
~/.screenlayout/twoscreens.sh
|
||||
else
|
||||
echo "Only one screen available"
|
||||
~/.screenlayout/onescreen.sh
|
||||
fi
|
Reference in New Issue
Block a user