Change keyboard backlight depending on theme
This commit is contained in:
parent
48918085d3
commit
eabb3d5cf6
1 changed files with 4 additions and 0 deletions
|
@ -31,6 +31,8 @@ main() {
|
||||||
fish -c "fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save"
|
fish -c "fish_config theme choose 'Base16 Eighties' && yes | fish_config theme save"
|
||||||
fish -c "set fish_color_comment 5c6773" # custom comment color
|
fish -c "set fish_color_comment 5c6773" # custom comment color
|
||||||
sed -i "s/bubblegum/monokai/g" "$HOME"/.config/micro/settings.json
|
sed -i "s/bubblegum/monokai/g" "$HOME"/.config/micro/settings.json
|
||||||
|
# Keyboard backlight
|
||||||
|
gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Keyboard.StepUp
|
||||||
;;
|
;;
|
||||||
"sunrise" ) # Go to light mode
|
"sunrise" ) # Go to light mode
|
||||||
# Global Gnome theme
|
# Global Gnome theme
|
||||||
|
@ -42,6 +44,8 @@ main() {
|
||||||
# Set the fish theme
|
# Set the fish theme
|
||||||
fish -c "fish_config theme choose 'Solarized Light' && yes | fish_config theme save"
|
fish -c "fish_config theme choose 'Solarized Light' && yes | fish_config theme save"
|
||||||
sed -i "s/monokai/bubblegum/g" "$HOME"/.config/micro/settings.json
|
sed -i "s/monokai/bubblegum/g" "$HOME"/.config/micro/settings.json
|
||||||
|
# Keyboard backlight
|
||||||
|
gdbus call --session --dest org.gnome.SettingsDaemon.Power --object-path /org/gnome/SettingsDaemon/Power --method org.gnome.SettingsDaemon.Power.Keyboard.StepDown
|
||||||
;;
|
;;
|
||||||
* )
|
* )
|
||||||
echo "Can't interpret given argument" ;;
|
echo "Can't interpret given argument" ;;
|
||||||
|
|
Loading…
Reference in a new issue