Skip to content

Instantly share code, notes, and snippets.

@SirJson
Created October 20, 2018 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SirJson/30fa2297f898e27c35a16ac367401390 to your computer and use it in GitHub Desktop.
Save SirJson/30fa2297f898e27c35a16ac367401390 to your computer and use it in GitHub Desktop.
Shell script for selecting i3-styles via dmenu
#!/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