mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 18:38:26 +02:00
- Added Cmd-Space fix for KDE and silenced output
This commit is contained in:
@@ -171,9 +171,8 @@ define_keymap(re.compile(browserStr, re.IGNORECASE),{
|
|||||||
|
|
||||||
define_keymap(None,{
|
define_keymap(None,{
|
||||||
# Launch Application Menu
|
# Launch Application Menu
|
||||||
# K("RC-Space"): K("Alt-F1"), # gnome
|
# K("RC-Space"): K("Alt-F1"), # gnome/kde
|
||||||
# K("RC-Space"): K("LC-Esc"), # xfce4
|
# K("RC-Space"): K("LC-Esc"), # xfce4
|
||||||
# # K("RC-Space"): K(""), # kde
|
|
||||||
# Basic App hotkey functions
|
# Basic App hotkey functions
|
||||||
K("RC-Q"): K("Alt-F4"),
|
K("RC-Q"): K("Alt-F4"),
|
||||||
K("RC-H"): K("Alt-F9"),
|
K("RC-H"): K("Alt-F9"),
|
||||||
|
@@ -270,7 +270,11 @@ if [[ $1 == "1" || $1 == "2" || $1 == "3" || $1 == "winmac" || $1 == "mac" || $1
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $dename == "gnome" || dename == "budgie" ]]; then
|
if [[ $dename == "gnome" || dename == "budgie" ]]; then
|
||||||
perl -pi -e "s/(# )(.*)(# gnome)/\$2\$3/g" ./xkeysnail-config/kinto.py.new
|
perl -pi -e "s/(# )(.*)(# gnome)/\$2\$3/g" ./xkeysnail-config/kinto.py.new >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
if [[ $dename == "kde" ]]; then
|
||||||
|
echo "Applying Cmd-Space to open App Launcher for KDE..."
|
||||||
|
perl -pi -e "s/(# )(.*)(#.*kde)/\$2\$3/g" ./xkeysnail-config/kinto.py.new >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $1 == "1" || $1 == "winmac" ]]; then
|
if [[ $1 == "1" || $1 == "winmac" ]]; then
|
||||||
@@ -302,7 +306,7 @@ elif [[ $1 == "3" || $1 == "chromebook" ]]; then
|
|||||||
fi
|
fi
|
||||||
if [[ $dename == "xfce" ]] && ls /etc/apt/sources.list.d/enso* 1> /dev/null 2>&1; then
|
if [[ $dename == "xfce" ]] && ls /etc/apt/sources.list.d/enso* 1> /dev/null 2>&1; then
|
||||||
echo "enso OS detected, applying Cmd-Space for Launchy..."
|
echo "enso OS detected, applying Cmd-Space for Launchy..."
|
||||||
perl -pi -e "s/(K\(\"RC-Space)(.*)(# )(xfce4)/\$3\$1\$2\$3\$4/g" ./xkeysnail-config/kinto.py.new
|
perl -pi -e "s/(K\(\"RC-Space)(.*)(# )(xfce4)/\$3\$1\$2\$3\$4/g" ./xkeysnail-config/kinto.py.new >/dev/null 2>&1
|
||||||
xfconf-query --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Primary>space" --create --type string --set "launchy"
|
xfconf-query --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Primary>space" --create --type string --set "launchy"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user