Last active
May 21, 2024 15:40
-
-
Save dctremblay/7aa410459edf23881ed92b7b4180d56e to your computer and use it in GitHub Desktop.
Toggle between light/dark color scheme in KDE plasma
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
light=BreezeLight | |
dark=BreezeDark | |
cur=$(plasma-apply-colorscheme --list-schemes | grep '(current color scheme)' | cut -d' ' -f3) | |
plasma-apply-colorscheme $([ $cur = $light ] && echo $dark || echo $light) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment