]> git.sev.monster Git - dotfiles.git/blame - bin/i3-mode
always kludge wscons, ignore fontconig .uuid
[dotfiles.git] / bin / i3-mode
CommitLineData
f7960c69 1#!/bin/sh
2first=true
3i3subscribe 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"
10done
This page took 0.037726 seconds and 4 git commands to generate.