diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2019-08-26 21:12:01 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2019-08-26 21:12:01 -0700 |
commit | ede9c7289b0d0a4706cea5a17d2af2169e0e02dc (patch) | |
tree | 0689d5655aa380bc2d1e257dc0fc4c0906c6335c /archive | |
parent | c032779d2e6e7c45906cffede68b7080c9977052 (diff) | |
download | dotfiles-ede9c7289b0d0a4706cea5a17d2af2169e0e02dc.tar.gz |
go back to caffeine-indicator
My script just doesn't seem to work.
Diffstat (limited to 'archive')
-rwxr-xr-x | archive/bin/i3-caffeinate | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/archive/bin/i3-caffeinate b/archive/bin/i3-caffeinate new file mode 100755 index 00000000..bfb4308f --- /dev/null +++ b/archive/bin/i3-caffeinate @@ -0,0 +1,6 @@ +#!/bin/sh + +systemd-inhibit --what=idle:sleep:handle-lid-switch \ + --who=i3-caffeinate --why="User request" --mode=block \ + i3-nagbar --type warning \ + --message "system is caffeinated" |