diff --git a/configs/gnome/desktop-settings.sh b/configs/gnome/desktop-settings.sh index bd30696..b1717dd 100644 --- a/configs/gnome/desktop-settings.sh +++ b/configs/gnome/desktop-settings.sh @@ -37,13 +37,21 @@ gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-2 "['2 gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-3 "['3']" # Switch to ws 3 gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-4 "['4']" # Switch to ws 4 -# Allow Mod+Enter to open a terminal +# Generate custom keybinds if they do not yet exist keybindings=$(gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings) 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/']" + # Define the list of custom keybindings + gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']" + + # Allow Mod+Enter to open a terminal 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" gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/ binding "Return" + + # Allow Mod+d to launch rofi + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name "Rofi" + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ command "rofi -show drun" + gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ binding "d" fi # Top Bar settings diff --git a/configs/rofi/config.rasi b/configs/rofi/config.rasi new file mode 100644 index 0000000..4315809 --- /dev/null +++ b/configs/rofi/config.rasi @@ -0,0 +1,4 @@ +configuration { + show-icons: false; +} +@theme "dmenu" \ No newline at end of file diff --git a/install.conf.yaml b/install.conf.yaml index b1f4e65..292a763 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -18,6 +18,7 @@ path: configs/zsh/.zshrc force: true ~/.config/tabset: configs/tabset + ~/.config/rofi: configs/rofi # ~/.local/share/remmina: configs/remmina/hosts ~/.config/nvim: configs/nvim ~/bin/catto: