1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-09 19:11:15 +02:00

changing i3blocks

This commit is contained in:
tiynger
2019-09-13 21:03:54 +02:00
parent e608e890dc
commit 12fd35d51a
6 changed files with 1057 additions and 43 deletions

View File

@@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
# Status bar module for disk space
# $1 should be drive mountpoint
@@ -15,4 +15,4 @@ case $BLOCK_BUTTON in
- Click to show all disk info." ;;
esac
printf "%s: %s" "$icon" "$(df -h "$1" | awk ' /[0-9]/ {print $3 "/" $2}')"
printf "%s: %s\n" "$icon" "$(df -h "$1" | awk ' /[0-9]/ {print $3 "/" $2}')"