mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-02 00:56:39 +02:00
- Added fix for proper restoration of all mutter related keybinds
This commit is contained in:
2
setup.py
2
setup.py
@@ -218,7 +218,7 @@ def Uninstall():
|
|||||||
if dename == "gnome":
|
if dename == "gnome":
|
||||||
print("Restoring DE hotkeys...")
|
print("Restoring DE hotkeys...")
|
||||||
wmkeys = cmdline('ls | grep -m1 "keybinding"')
|
wmkeys = cmdline('ls | grep -m1 "keybinding"')
|
||||||
mutterkeys = cmdline('ls | grep -m1 "mutter"')
|
mutterkeys = cmdline('ls | grep -m1 "mutter_"')
|
||||||
if len(wmkeys) > 0:
|
if len(wmkeys) > 0:
|
||||||
print('dconf load /org/gnome/desktop/wm/keybindings/ < ' + wmkeys)
|
print('dconf load /org/gnome/desktop/wm/keybindings/ < ' + wmkeys)
|
||||||
cmdline('dconf load /org/gnome/desktop/wm/keybindings/ < ' + wmkeys)
|
cmdline('dconf load /org/gnome/desktop/wm/keybindings/ < ' + wmkeys)
|
||||||
|
@@ -44,7 +44,7 @@ function uninstall {
|
|||||||
if [ "$dename" == "gnome" ]; then
|
if [ "$dename" == "gnome" ]; then
|
||||||
echo "Restoring DE hotkeys..."
|
echo "Restoring DE hotkeys..."
|
||||||
wmkeys=$(ls | grep -m1 "keybinding")
|
wmkeys=$(ls | grep -m1 "keybinding")
|
||||||
mutterkeys=$(ls | grep -m1 "mutter")
|
mutterkeys=$(ls | grep -m1 "mutter_")
|
||||||
if [[ ${#wmkeys} > 0 ]]; then
|
if [[ ${#wmkeys} > 0 ]]; then
|
||||||
echo "dconf load /org/gnome/desktop/wm/keybindings/ < $wmkeys"
|
echo "dconf load /org/gnome/desktop/wm/keybindings/ < $wmkeys"
|
||||||
dconf load /org/gnome/desktop/wm/keybindings/ < "$wmkeys"
|
dconf load /org/gnome/desktop/wm/keybindings/ < "$wmkeys"
|
||||||
|
Reference in New Issue
Block a user