]> git.sev.monster Git - dotfiles.git/blob - bin/i3-mode
update zsh, X, gpg config; add ssh config, gpg bin
[dotfiles.git] / bin / i3-mode
1 #!/bin/sh
2 first=true
3 i3subscribe mode | while read -r x; do
4         if $first; then
5                 first=false
6                 x=default #XXX: i3 does not expose method to get mode, assume
7         fi
8         x=${x#mode:}
9         [ "$1" = "hide-default" -a "$x" = "default" ] && echo || echo "$x"
10 done
This page took 0.035061 seconds and 4 git commands to generate.