1

I'm bad at syntax

This commit is contained in:
Evan Pratten 2022-11-19 12:48:45 -05:00
parent c648e76845
commit 3b5214ff0f

View File

@ -39,7 +39,7 @@ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['<Super>4
# Allow Mod+Enter to open a terminal
keybindings=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings)
if [ "$keybindings" = "[]" || "$keybindings" = "@as []" ]; then
if [ "$keybindings" = "[]" ] || [ "$keybindings" = "@as []" ]; then
gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/']"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ name "Terminal"
gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ command "gnome-terminal"