This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
xsetroot -display $DISPLAY -cursor_name 'left_ptr' | |
synclient MaxTapTime=0 HorizEdgeScroll=1 | |
amixer -q -c 0 sset Master 100%,100% unmute | |
xmobar $HOME/.bottom_xmobarrc & | |
xmodmap $HOME/.Xmodmap | |
exec xmonad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
OUTPUT=`amixer sget Master | tail -1` | |
VOLUME=`echo $OUTPUT | sed -r 's/.*\[([0-9]*)%\].*/\1/' | awk '{printf "%3s",$1}'` | |
STATUS=`echo $OUTPUT | sed -r 's/.*\[(on|off)\].*/\1/'` | |
if [[ "$STATUS" == "off" ]] | |
then | |
echo "<fc=#8888FF>VOL:</fc> $VOLUME% <fc=red>Off</fc>" | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Config { font = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" | |
, bgColor = "black" | |
, fgColor = "grey" | |
, position = Bottom | |
, lowerOnStart = True | |
, commands = [ Run MultiCpu | |
[ "-a", "l" | |
, "-w", "4" | |
, "-t", "<fc=#8888FF>CPU0:</fc> <total0> <fc=#555555>|</fc> <fc=#8888FF>CPU1:</fc> <total1>" | |
, "-L", "50" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Config { font = "-*-terminus-medium-r-normal-*-14-*-*-*-*-*-*-*" | |
, bgColor = "black" | |
, fgColor = "grey" | |
, position = Top | |
, lowerOnStart = True | |
, commands = [ Run StdinReader ] | |
, sepChar = "%" | |
, alignSep = "}{" | |
, template = "%StdinReader%}{" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XMonad | |
import XMonad.Hooks.DynamicLog | |
import XMonad.Hooks.ManageDocks | |
import XMonad.Layout.NoBorders | |
import XMonad.Layout.ToggleLayouts | |
import XMonad.Util.Run (spawnPipe) | |
import XMonad.Util.EZConfig (additionalKeysP) |
NewerOlder