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
function rangerx | |
if not set -q -x RANGER_LEVEL | |
ranger | |
else | |
exit | |
end | |
end |
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
function ranger | |
if not set -q -x RANGER_LEVEL | |
ranger | |
end | |
exit | |
end |
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 python3 | |
# TODO | |
# add way to toggle boost (-b for example) | |
# cleanup redunant functions | |
# alternate osd, maybe built in gtk? | |
"""Handle vol info from pamixer and pass to aosd_cat.""" | |
import sys | |
import subprocess | |
import os |
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
rr() { | |
if [ -z "$RANGER_LEVEL" ] | |
then | |
ranger | |
else | |
exit | |
fi | |
} |
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 python3 | |
# -*- coding: utf-8 -*- | |
# vim:fenc=utf-8 | |
# | |
# Copyright © 2016 Johnathan "Shaggytwodope" Jenkins <[email protected]> | |
# | |
# Distributed under terms of the MIT license. | |
""" | |
Tool to check if online, returns exit status 0 if succesful or 1 if not. |
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 | |
STATUS=$(dropbox status) | |
if [ "$STATUS" == "Dropbox isn't running!" ]; then | |
START=$(dropbox start) | |
fi | |
COUNT_DONE=1 | |
while true |
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
color index red default "~b \"john(_g|\!| jenkins| shaggytwodope)|shaggy\" !~N !~T !~F !~p !~P" | |
color index red default "~b \"john(_g|\!| jenkins| shaggytwodope)|shaggy\" ~N !~T !~F !~p !~P" | |
color index red default "~b \"john(_g|\!| jenkins| shaggytwodope)|shaggy\" ~T !~F !~p !~P" | |
color index red default "~b \"john(_g|\!| jenkins| shaggytwodope)|shaggy\" ~F !~p !~P" | |
color header white default '^(status|lines|date|received|sender|references):' | |
color body green default "[*]?|@shaggytwodope|johnathon|john|jenkins|shaggy|shaggytwodope|johnathan|)[*]?" | |
color body green default "[*]?|@twodopeshaggy|twodope|)[*]?" | |
color body default default "(BAD signature)" | |
color body default default "(Good signature)" |
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 | |
STATUS=$(dropbox status) | |
if [ "$STATUS" == "Dropbox isn't running!" ]; then | |
START=$(dropbox start) | |
fi | |
COUNT_DONE=1 | |
while true |
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/sh | |
bspc config border_width 2 | |
bspc config window_gap 0 | |
bspc config split_ratio 0.50 | |
bspc config borderless_monocle false | |
bspc config gapless_monocle false | |
bspc config focus_by_distance true | |
bspc config adaptive_raise true | |
bspc config normal_frame_opacity 1.00 |
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/sh | |
# Set $PUUSH_API_KEY to your key and export it. | |
# The key is found on <http://puush.me/account/settings>. | |
if [ -z "$PUUSH_API_KEY" ]; then | |
echo "puu: please export api key" 1>&2 | |
exit 1 | |
fi | |
for file in "$@"; do |