diff --git a/general/.gitignore b/general/.gitignore index cce55e3..a938025 100644 --- a/general/.gitignore +++ b/general/.gitignore @@ -33,5 +33,6 @@ .newsboat !.newsboat/config -.xmonad/*.hi -.xmonad/*.o +.xmonad/ +!/xmonad/xmonad.hs +!/xmonad/setup-script diff --git a/laptop/.config/xmobar/scripts/volume.py b/laptop/.config/xmobar/scripts/volume.py index df8ba67..2bfca7f 100755 --- a/laptop/.config/xmobar/scripts/volume.py +++ b/laptop/.config/xmobar/scripts/volume.py @@ -1,4 +1,4 @@ -#!/bin/python +#!/usr/bin/env python import subprocess diff --git a/laptop/.config/xmobar/xmobarrc b/laptop/.config/xmobar/xmobarrc index b1b7453..2df42bc 100644 --- a/laptop/.config/xmobar/xmobarrc +++ b/laptop/.config/xmobar/xmobarrc @@ -49,8 +49,17 @@ Config { -- Run Com "/home/h7x4/.config/xmobar/scripts/wireless.sh" [] "wi" 100, Run Com "/home/h7x4/.config/xmobar/scripts/volume.py" [] "vol" 10, Run UnsafeStdinReader, + Run DiskU [ + ("/", "[/]"), + ("/home", "[/]") + -- ("/home/h7x4/Dropbox", "[/]") + ] + ["-L", "20", "-H", "50", "-m", "1", "-p", "3", + "--low", "#a6e22e", + "--normal", "#f8f8f2", + "--high", "#f92672"] 20, - Run BatteryP ["BAT0"] + Run Battery [ "-t", " (%)", "--Low", "20", @@ -69,5 +78,5 @@ Config { , alignSep = "}{" , template = " %mpc% %UnsafeStdinReader% }\ \ %date% \ - \{ 🐏 %memory% | %wlp59s0% | %vol% | %battery% " + \{ %disku% | 🐏 %memory% | %wlp59s0% | %vol% | %battery% " } diff --git a/scripts/tmux/mpd b/scripts/tmux/mpd index 9dea8ce..0a4b0ce 100755 --- a/scripts/tmux/mpd +++ b/scripts/tmux/mpd @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh isPlaying() { if mpc status | grep playing >/dev/null