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
| # screen config file; ~/.screenrc | |
| # put all our main screen settings like | |
| # term, shell, vbell, hardstatus whatever | |
| # | |
| # then add this: | |
| # sources environment-specific apps | |
| source "$SCREEN_CONF_DIR/$SCREEN_CONF" |
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
| # dynamically choose which tabs load in screen | |
| export SCREEN_CONF_DIR="$HOME/.screen/configs" | |
| export SCREEN_CONF="main" |
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
| # example: screen -t [name] [command] | |
| screen -t mail mutt | |
| screen -t music ncmpcpp |
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
| # example: screen -t [name] [command] | |
| screen -t torrents rtorrent |
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
| alias irssi='SCREEN_CONF=irssi screen -S irssi -D -R irssi' | |
| alias rtorrent='SCREEN_CONF=rtorrent screen -S rtorrent -D -R rtorrent' |
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
| #!/bin/bash | |
| if [[ $# -lt 2 ]]; then | |
| echo "usage: $0 [number] [some message]" | |
| exit 1 | |
| fi | |
| number="$1"; shift | |
| echo "$*" | mail "$number@vtext.com" |
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
| <menu id="root-menu" label="Openbox 3"> | |
| <menu id="pipe-wifi" label="Wifi" execute="sudo /home/USERNAME/.config/openbox/wifi-pipe INTERFACE" /> | |
| <menu id="term-menu"/> | |
| <item label="Run..."> | |
| <action name="Execute"> | |
| <command>gmrun</command> | |
| <!-- ... --> |
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
| -- imports | |
| import Dzen -- my module | |
| import XMonad.Hooks.DynamicLog | |
| import XMonad.UrgencyHook | |
| main = do | |
| d <- spawnDzen myLeftBar | |
| spawn $ "conky -c ~/.dzen_conkyrc | " ++ show myRightBar |
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
| -- | |
| -- Loghook | |
| -- | |
| -- note: some of these colors may differ from what's in the | |
| -- screenshot, it changes daily | |
| -- | |
| myLogHook h = dynamicLogWithPP $ defaultPP -- the h here... | |
| -- display current workspace as darkgrey on light grey (opposite of default colors) | |
| { ppCurrent = dzenColor "#303030" "#909090" . pad |
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
| -- | |
| -- StatusBars | |
| -- | |
| -- See http://pbrisbin.com/xmonad/docs/Dzen.html | |
| -- | |
| myLeftBar :: DzenConf | |
| myLeftBar = defaultDzen | |
| -- use the default as a base and override width and | |
| -- colors | |
| { width = 1000 |