mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-11-16 08:33:30 +01:00
11 lines
282 B
Bash
Executable file
11 lines
282 B
Bash
Executable file
#!/bin/bash
|
|
|
|
gsettings_key=org.cinnamon.settings-daemon.peripherals.mouse
|
|
|
|
current_setting=$(gsettings get $gsettings_key left-handed)
|
|
if [[ "$current_setting" == "true" ]]; then
|
|
new_setting=false
|
|
else
|
|
new_setting=true
|
|
fi
|
|
gsettings set $gsettings_key left-handed "$new_setting"
|