Created
January 15, 2021 16:55
-
-
Save waimus/1045f00ad7bc6613fb368fe36ce82f30 to your computer and use it in GitHub Desktop.
Toggle dash-to-dock extend panel height settings when run. Attach this script to a keyboard shortcut via GNOME settings for handy use. This script uses dconf.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Retrieving current condition of the panel | |
isExtended=$(dconf read /org/gnome/shell/extensions/dash-to-dock/extend-height) | |
# Invert condition | |
if [ "$isExtended" = true ] ; then | |
dconf write /org/gnome/shell/extensions/dash-to-dock/extend-height false | |
else | |
dconf write /org/gnome/shell/extensions/dash-to-dock/extend-height true | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment