aboutsummaryrefslogtreecommitdiff
path: root/bin/gnome-set-config
diff options
context:
space:
mode:
authorRaul Benencia <id@rbenencia.name>2026-05-03 09:17:31 -0700
committerRaul Benencia <id@rbenencia.name>2026-05-03 09:17:31 -0700
commit76ee45ac778f1b1679ece2478cbde24a4b0cb62d (patch)
treee8830c1b1867fb08503ccc8aad20e2228ba6e8a7 /bin/gnome-set-config
parent5b46ed4306e0404b40622b0a67336c26689f44f5 (diff)
fix rofi in waylandHEADmaster
Diffstat (limited to 'bin/gnome-set-config')
-rwxr-xr-xbin/gnome-set-config5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/gnome-set-config b/bin/gnome-set-config
index a3cc753..509d542 100755
--- a/bin/gnome-set-config
+++ b/bin/gnome-set-config
@@ -55,6 +55,7 @@ gsettings set org.gnome.desktop.wm.preferences num-workspaces $NUM_WORKSPACES
ensure_extension_enabled "$WORKSPACE_ROUTER_UUID"
ensure_extension_enabled "$ORG_AGENDA_INDICATOR_UUID"
+ROFI_CMD="$HOME/bin/rofi"
# Disable the default <Super>p. I don't use it, and it's disruptive when I accidentally trigger it.
gsettings set org.gnome.mutter.keybindings switch-monitor '[]'
@@ -90,9 +91,9 @@ gsettings set org.gnome.desktop.wm.keybindings switch-input-source "[]"
gsettings set org.gnome.desktop.wm.keybindings switch-input-source-backward '[]'
dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi/binding "'<Super>space'"
-dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi/command "'rofi -x11 -show window'"
+dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi/command "'$ROFI_CMD -show window'"
dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi/name "'rofi'"
dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi-run/binding "'<Super>f2'"
-dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi-run/command "'rofi -x11 -show run'"
+dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi-run/command "'$ROFI_CMD -show run'"
dconf write /org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/rofi-run/name "'rofi-run'"
nihil fit ex nihilo