Created
October 20, 2018 21:52
-
-
Save SirJson/30fa2297f898e27c35a16ac367401390 to your computer and use it in GitHub Desktop.
Shell script for selecting i3-styles via dmenu
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 | |
I3CFG="$HOME/.config/i3/config" | |
STYLE=$(i3-style -l | sed -e 's/\s[-].*//' | sed -e 's/Available themes://' | tr -d '[:cntrl:]' | tr -s '[:blank:]' '\n' | tail -n +2 | dmenu) | |
i3-style $STYLE -o $I3CFG -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment