Launch Ptyxis from keyboard shortcut
This commit is contained in:
parent
63c5f1869e
commit
9758036092
1 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ set_favorites_bar () {
|
||||||
then
|
then
|
||||||
gsettings set org.gnome.shell favorite-apps "$(cat "${XDG_CONFIG_HOME:-$HOME/.config}/favorite-apps.conf")"
|
gsettings set org.gnome.shell favorite-apps "$(cat "${XDG_CONFIG_HOME:-$HOME/.config}/favorite-apps.conf")"
|
||||||
else
|
else
|
||||||
gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Console.desktop', 'org.gnome.Nautilus.desktop', 'com.vivaldi.Vivaldi.desktop', 'org.mozilla.firefox.desktop', 'org.keepassxc.KeePassXC.desktop']"
|
gsettings set org.gnome.shell favorite-apps "['org.gnome.Terminal.desktop', 'org.gnome.Ptyxis.desktop', 'org.gnome.Nautilus.desktop', 'com.vivaldi.Vivaldi.desktop', 'org.mozilla.firefox.desktop', 'org.keepassxc.KeePassXC.desktop']"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
set_favorites_bar
|
set_favorites_bar
|
||||||
|
@ -38,9 +38,9 @@ set_keyboard_and_language () {
|
||||||
gsettings set org.gnome.shell.keybindings toggle-overview "['<Super>s', '<Control><Alt>Tab']"
|
gsettings set org.gnome.shell.keybindings toggle-overview "['<Super>s', '<Control><Alt>Tab']"
|
||||||
|
|
||||||
# Set custom keybindings.
|
# Set custom keybindings.
|
||||||
if [ -x /usr/bin/kgx ] && ! [ -x /usr/bin/gnome-terminal ]
|
if [ -x /usr/bin/ptyxis ]
|
||||||
then
|
then
|
||||||
_acp_term=/usr/bin/kgx
|
_acp_term="/usr/bin/ptyxis --new-window"
|
||||||
else
|
else
|
||||||
_acp_term=/usr/bin/gnome-terminal
|
_acp_term=/usr/bin/gnome-terminal
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue