]> git.sev.monster Git - dotfiles.git/blame_incremental - bin/i3-mode
actually set PINENTRY_USER_DATA, fix invocation
[dotfiles.git] / bin / i3-mode
... / ...
CommitLineData
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.02811 seconds and 4 git commands to generate.