Misc small changes

This commit is contained in:
Oystein Kristoffer Tveit 2021-12-13 00:36:00 +01:00
parent 437ea9cdda
commit e0e34a98ac
4 changed files with 16 additions and 6 deletions

5
general/.gitignore vendored
View File

@ -33,5 +33,6 @@
.newsboat
!.newsboat/config
.xmonad/*.hi
.xmonad/*.o
.xmonad/
!/xmonad/xmonad.hs
!/xmonad/setup-script

View File

@ -1,4 +1,4 @@
#!/bin/python
#!/usr/bin/env python
import subprocess

View File

@ -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 [
("/", "[<used>/<size>]"),
("/home", "[<used>/<size>]")
-- ("/home/h7x4/Dropbox", "[<used>/<size>]")
]
["-L", "20", "-H", "50", "-m", "1", "-p", "3",
"--low", "#a6e22e",
"--normal", "#f8f8f2",
"--high", "#f92672"] 20,
Run BatteryP ["BAT0"]
Run Battery
[
"-t", "<fn=2><acstatus></fn> (<left>%)",
"--Low", "20",
@ -69,5 +78,5 @@ Config {
, alignSep = "}{"
, template = " <icon=lambda.xpm/> %mpc% %UnsafeStdinReader% }\
\ <fc=#ee9a00>%date%</fc> \
\{ <fc=lightgreen><fn=2>🐏</fn> %memory%</fc> | <fc=cyan>%wlp59s0%</fc> | <fc=#f5f1bc><fn=3>%vol%</fn></fc> | %battery% "
\{ %disku% | <fc=lightgreen><fn=2>🐏</fn> %memory%</fc> | <fc=cyan>%wlp59s0%</fc> | <fc=#f5f1bc><fn=3>%vol%</fn></fc> | %battery% "
}

View File

@ -1,4 +1,4 @@
#!/bin/sh
#!/usr/bin/env sh
isPlaying() {
if mpc status | grep playing >/dev/null