refractor plus additional click and long string functions

This commit is contained in:
koksnuss
2018-05-31 00:29:13 +02:00
parent 4b9d064b32
commit 492abcf744
6 changed files with 52 additions and 24 deletions

View File

@ -1,8 +1,8 @@
#!/bin/bash
[[ "$BLOCK_BUTTON" == 1 ]] && i3-sensible-terminal -e htop
[[ "$BLOCK_BUTTON" == 2 ]] && i3-sensible-terminal -e htop
[[ "$BLOCK_INSTANCE" =~ "long" ]] && LONG=true
[[ "$BLOCK_INSTANCE" =~ "long" || "$BLOCK_BUTTON" == 1 ]] && LONG=true
if [[ "$BLOCK_INSTANCE" =~ "ram" ]]; then
TYPE='swap'