Files
endeavour_config/config/mango/layout_change

14 lines
247 B
Bash
Executable File

#!/bin/sh
layout="$1"
if [[ -z "$layout" ]]; then
#echo "switch_layout"
mmsg -d switch_layout
layout="$(mmsg -g | grep ' layout' | cut -d' ' -f3)"
else
mmsg -l "$layout"
fi
notify-send -a MongoWC -i view-grid "Layout changed" "$layout"