Skip to content

Instantly share code, notes, and snippets.

@dctremblay
Last active May 21, 2024 15:40
Show Gist options
  • Save dctremblay/7aa410459edf23881ed92b7b4180d56e to your computer and use it in GitHub Desktop.
Save dctremblay/7aa410459edf23881ed92b7b4180d56e to your computer and use it in GitHub Desktop.
Toggle between light/dark color scheme in KDE plasma
#!/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