├── .gitignore ├── LICENSE ├── README.md ├── bin ├── acme.rc ├── armmake ├── bar ├── batt_percent ├── beaglemake ├── beat ├── bkp ├── browser ├── build_kernel ├── clang_env ├── clean_ports ├── colours ├── compare_timestamps ├── ddg ├── dt ├── dwmbar ├── find_dangle_files ├── fix_DESCR ├── freepass-x11 ├── get_distfiles ├── git-port-bump ├── gitify ├── gitsync ├── gsearch ├── install_packages ├── kerl ├── lfetool ├── license ├── mirror_openbsd ├── mkchroot ├── mkdiff ├── mpcc ├── msearch ├── mtube ├── mutt2task ├── node_port_test ├── nwhois ├── org ├── pasties ├── pbitches ├── pctl ├── pcvsup ├── pgp2qr ├── pkg ├── port_grep ├── psearch ├── qemu_boot_vmm_img ├── release ├── revert_diffs ├── rofi-mpc ├── rofi-pass ├── rofi-pass-otp ├── screen_record ├── scrotbar ├── sctd ├── sfetch ├── spark.graph ├── spwd ├── startergy ├── switch_user ├── tstart ├── update_etc ├── update_git.sh ├── updateallthethings ├── verify_ssh_fp ├── watch ├── wpacfg └── ytdl ├── common ├── config │ ├── awesome │ │ ├── clip.lua │ │ ├── keys.lua │ │ ├── mpc.lua │ │ ├── obsd.lua │ │ ├── rc.lua │ │ └── themes │ │ │ ├── bold │ │ │ ├── README │ │ │ ├── background.png │ │ │ ├── background_white.png │ │ │ ├── layouts │ │ │ │ ├── cornerne.png │ │ │ │ ├── cornernew.png │ │ │ │ ├── cornernw.png │ │ │ │ ├── cornernww.png │ │ │ │ ├── cornerse.png │ │ │ │ ├── cornersew.png │ │ │ │ ├── cornersw.png │ │ │ │ ├── cornersww.png │ │ │ │ ├── dwindle.png │ │ │ │ ├── dwindlew.png │ │ │ │ ├── fairh.png │ │ │ │ ├── fairhw.png │ │ │ │ ├── fairv.png │ │ │ │ ├── fairvw.png │ │ │ │ ├── floating.png │ │ │ │ ├── floatingw.png │ │ │ │ ├── fullscreen.png │ │ │ │ ├── fullscreenw.png │ │ │ │ ├── magnifier.png │ │ │ │ ├── magnifierw.png │ │ │ │ ├── max.png │ │ │ │ ├── maxw.png │ │ │ │ ├── spiral.png │ │ │ │ ├── spiralw.png │ │ │ │ ├── tile.png │ │ │ │ ├── tilebottom.png │ │ │ │ ├── tilebottomw.png │ │ │ │ ├── tileleft.png │ │ │ │ ├── tileleftw.png │ │ │ │ ├── tiletop.png │ │ │ │ ├── tiletopw.png │ │ │ │ └── tilew.png │ │ │ ├── submenu.png │ │ │ ├── taglist │ │ │ │ ├── squarefw.png │ │ │ │ └── squarew.png │ │ │ ├── theme.lua │ │ │ └── titlebar │ │ │ │ ├── close_focus.png │ │ │ │ ├── close_normal.png │ │ │ │ ├── floating_focus_active.png │ │ │ │ ├── floating_focus_inactive.png │ │ │ │ ├── floating_normal_active.png │ │ │ │ ├── floating_normal_inactive.png │ │ │ │ ├── maximized_focus_active.png │ │ │ │ ├── maximized_focus_inactive.png │ │ │ │ ├── maximized_normal_active.png │ │ │ │ ├── maximized_normal_inactive.png │ │ │ │ ├── minimize_focus.png │ │ │ │ ├── minimize_normal.png │ │ │ │ ├── ontop_focus_active.png │ │ │ │ ├── ontop_focus_inactive.png │ │ │ │ ├── ontop_normal_active.png │ │ │ │ ├── ontop_normal_inactive.png │ │ │ │ ├── sticky_focus_active.png │ │ │ │ ├── sticky_focus_inactive.png │ │ │ │ ├── sticky_normal_active.png │ │ │ │ └── sticky_normal_inactive.png │ │ │ └── bold_white │ │ │ ├── README │ │ │ ├── background.png │ │ │ ├── background_white.png │ │ │ ├── clip_icon.png │ │ │ ├── layouts │ │ │ ├── cornerne.png │ │ │ ├── cornernew.png │ │ │ ├── cornernw.png │ │ │ ├── cornernww.png │ │ │ ├── cornerse.png │ │ │ ├── cornersew.png │ │ │ ├── cornersw.png │ │ │ ├── cornersww.png │ │ │ ├── dwindle.png │ │ │ ├── dwindlew.png │ │ │ ├── fairh.png │ │ │ ├── fairhw.png │ │ │ ├── fairv.png │ │ │ ├── fairvw.png │ │ │ ├── floating.png │ │ │ ├── floatingw.png │ │ │ ├── fullscreen.png │ │ │ ├── fullscreenw.png │ │ │ ├── magnifier.png │ │ │ ├── magnifierw.png │ │ │ ├── max.png │ │ │ ├── maxw.png │ │ │ ├── spiral.png │ │ │ ├── spiralw.png │ │ │ ├── tile.png │ │ │ ├── tilebottom.png │ │ │ ├── tilebottomw.png │ │ │ ├── tileleft.png │ │ │ ├── tileleftw.png │ │ │ ├── tiletop.png │ │ │ ├── tiletopw.png │ │ │ └── tilew.png │ │ │ ├── submenu.png │ │ │ ├── taglist │ │ │ ├── squarefw.png │ │ │ └── squarew.png │ │ │ ├── theme.lua │ │ │ └── titlebar │ │ │ ├── close_focus.png │ │ │ ├── close_normal.png │ │ │ ├── floating_focus_active.png │ │ │ ├── floating_focus_inactive.png │ │ │ ├── floating_normal_active.png │ │ │ ├── floating_normal_inactive.png │ │ │ ├── maximized_focus_active.png │ │ │ ├── maximized_focus_inactive.png │ │ │ ├── maximized_normal_active.png │ │ │ ├── maximized_normal_inactive.png │ │ │ ├── minimize_focus.png │ │ │ ├── minimize_normal.png │ │ │ ├── ontop_focus_active.png │ │ │ ├── ontop_focus_inactive.png │ │ │ ├── ontop_normal_active.png │ │ │ ├── ontop_normal_inactive.png │ │ │ ├── sticky_focus_active.png │ │ │ ├── sticky_focus_inactive.png │ │ │ ├── sticky_normal_active.png │ │ │ └── sticky_normal_inactive.png │ └── fish │ │ ├── config.fish │ │ ├── fish_variables │ │ └── functions │ │ └── fish_prompt.fish ├── dot_3dprint │ ├── rigidbot_slic3r_2.ini │ └── rigidbot_slic3r_3.ini ├── dot_Xdefaults ├── dot_Xresources ├── dot_ansiweatherrc ├── dot_background.png ├── dot_cgorc ├── dot_conkyrc ├── dot_cura │ ├── 14.11-RC7 │ │ ├── current_profile.ini │ │ ├── mru_filelist.ini │ │ └── preferences.ini │ └── 15.04.5-RC5 │ │ ├── current_profile.ini │ │ ├── mru_filelist.ini │ │ └── preferences.ini ├── dot_cvsrc ├── dot_cwmrc ├── dot_distfile ├── dot_ebrc ├── dot_emacs.d │ ├── .ercrc.el │ ├── init.el │ ├── readme.org │ └── themes │ │ └── eink-theme.el ├── dot_fonts │ ├── FONTLOG.txt │ ├── OFL-FAQ.txt │ ├── OFL.txt │ ├── README.txt │ ├── fonts.dir │ └── fonts.scale ├── dot_git-prompt ├── dot_gitconfig ├── dot_gnupg │ ├── gpg-agent.conf │ ├── gpg.conf │ └── scdaemon.conf ├── dot_gtkrc-2.0 ├── dot_hgrc ├── dot_irbrc ├── dot_keepass │ ├── KeePass.XmlSerializers.dll │ ├── KeePass.chm │ ├── KeePass.config.xml │ ├── KeePass.exe │ ├── KeePass.exe.config │ ├── KeePassLibC32.dll │ ├── KeePassLibC64.dll │ ├── License.txt │ ├── ShInstUtil.exe │ └── XSL │ │ ├── KDBX_DetailsFull.xsl │ │ ├── KDBX_DetailsLite.xsl │ │ ├── KDBX_PasswordsOnly.xsl │ │ ├── KDBX_Styles.css │ │ ├── KDBX_Tabular.xsl │ │ └── TableHeader.gif ├── dot_kerlrc ├── dot_ksh_completions ├── dot_ksh_paths ├── dot_kshrc ├── dot_mailcap ├── dot_mg ├── dot_mplayer │ └── config ├── dot_mutt.theme ├── dot_muttrc ├── dot_ncmpc │ └── config ├── dot_nexrc ├── dot_profile ├── dot_sbclrc ├── dot_screenlayout │ ├── bg.sh │ ├── external.sh │ ├── internal.sh │ ├── shared.sh │ └── tray.sh ├── dot_signature ├── dot_spectrwm.conf ├── dot_stumpwmrc ├── dot_taskrc ├── dot_texapprc ├── dot_tmux.conf ├── dot_tmux.eink.theme ├── dot_tmux.nord.theme ├── dot_urxvt │ └── yank-clicked-urls ├── dot_vimrc ├── dot_w3m │ └── config ├── dot_xastir │ ├── .gitignore │ └── config │ │ └── xastir.cnf ├── dot_xombrero.conf ├── dot_xsession └── dot_zlogin ├── cr48 ├── dot_i3 │ └── config ├── dot_i3status.conf ├── dot_xmodmap └── dot_xsession ├── h3x ├── dot_Xmodmap ├── dot_cwmrc ├── dot_i3 │ └── config ├── dot_i3status.conf └── dot_xsession ├── install ├── litr └── dot_Xmodmap ├── nuc └── dot_fvwmrc ├── pwntie ├── dot_cwmrc ├── dot_i3 │ └── config ├── dot_i3status.conf ├── dot_xinitrc └── dot_xsession ├── slip ├── config │ ├── beets │ │ └── config.yaml │ └── rofi │ │ └── config ├── dot_Xmodmap ├── dot_background.png ├── dot_fvwmrc ├── dot_screenlayout │ ├── bg.sh │ ├── external.sh │ ├── internal.sh │ ├── shared.sh │ └── tray.sh ├── dot_wmanager ├── dot_xmobarrc └── dot_xmonad │ └── xmonad.hs └── vpi └── dot_xsession /.gitignore: -------------------------------------------------------------------------------- 1 | *.core 2 | */*/eshell 3 | */games/* 4 | *~ 5 | .*.swp 6 | /*.core 7 | /common/dot_emacs.d/.lsp-session-v1 8 | /slip/config/nvim/.netrwhist 9 | \#*# 10 | ac-comphist.dat 11 | auto-save-list 12 | bookmarks 13 | common/dot_emacs.d/.cache/ 14 | common/dot_emacs.d/.emacs.desktop 15 | common/dot_emacs.d/.emacs.desktop.lock 16 | common/dot_emacs.d/.org-id-locations 17 | common/dot_emacs.d/forge-database.sqlite 18 | common/dot_emacs.d/history 19 | common/dot_emacs.d/projectile-bookmarks.eld 20 | common/dot_emacs.d/site-lisp/custom.el 21 | common/dot_emacs.d/transient/ 22 | common/dot_gnupg/crls.d/ 23 | common/dot_gnupg/openpgp-revocs.d/ 24 | common/dot_gnupg/private-keys-v1.d/ 25 | common/dot_gnupg/pubring.kbx 26 | common/dot_gnupg/random_seed 27 | common/dot_gnupg/reader_0.status 28 | common/dot_gnupg/sshcontrol 29 | common/dot_gnupg/tofu.db 30 | common/dot_gnupg/trustdb.gpg 31 | diary 32 | elpa 33 | emms 34 | ido.last 35 | recentf 36 | smex-items 37 | tramp 38 | url 39 | xmonad-x86_64-openbsd 40 | xmonad.errors 41 | xmonad.hi 42 | xmonad.o 43 | /common/dot_emacs.d/readme.el 44 | /common/dot_gnupg/trustlist.txt 45 | /common/dot_gnupg/.#* 46 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2012-2019 Aaron Bieber 3 | * 4 | * Permission to use, copy, modify, and distribute this software for any 5 | * purpose with or without fee is hereby granted, provided that the above 6 | * copyright notice and this permission notice appear in all copies. 7 | * 8 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 | */ 16 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | dotfiles 2 | ======== 3 | 4 | Dotfile framework for make greater good of dotfiles (Shell) 5 | 6 | ## Usage ## 7 | ``` 8 | git clone https://github.com/qbit/dotfiles.git 9 | cd dotfiles 10 | ./install -v 11 | ``` 12 | -------------------------------------------------------------------------------- /bin/acme.rc: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env rc 2 | 3 | TERM=dumb 4 | 5 | fn cd { builtin cd $1 && awd $sysname } 6 | #tabstop=4 7 | 8 | font='/mnt/font/FantasqueSansMono-Regular/13a/font' 9 | lfont='/mnt/font/GoMono/13a/font' 10 | 11 | SHELL=rc 12 | BROWSER=browser 13 | exec acme -a -f $font -F $lfont $* 14 | -------------------------------------------------------------------------------- /bin/armmake: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | HOST=$(uname -m) 3 | MACHINE=armish 4 | MACHINE_ARCH=arm 5 | MACHINE_CPU=arm 6 | VERSION=$(uname -r) 7 | 8 | export MAKEOBJDIR=obj.${HOST}.${MACHINE} 9 | 10 | CROSSDIR=/usr/cross/${MACHINE} 11 | CROSS=${MACHINE_ARCH}-unknown-openbsd${VERSION} 12 | PATH=$PATH:${CROSSDIR}/usr/${CROSS}/bin 13 | 14 | MACHINE=${MACHINE} \ 15 | MACHINE_ARCH=${MACHINE_ARCH} \ 16 | MACHINE_CPU=${MACHINE_CPU} \ 17 | CROSSDIR=${CROSSDIR} \ 18 | CC=${CROSS}-cc \ 19 | CPP=${CROSS}-cpp \ 20 | AS=${CROSS}-as \ 21 | LD=${CROSS}-ld \ 22 | SIZE=size \ 23 | STRIP=${CROSS}-strip \ 24 | OBJDUMP=${CROSS}-objdump \ 25 | OBJCOPY=${CROSS}-objcopy \ 26 | make \ 27 | MACHINE=${MACHINE} \ 28 | MACHINE_ARCH=${MACHINE_ARCH} \ 29 | OBJMACHINE=${MACHINE_ARCH} \ 30 | MAKEOBJDIR=obj.${HOST}.${MACHINE} \ 31 | "$@" 32 | -------------------------------------------------------------------------------- /bin/bar: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | red="%{F#cd0000}" 4 | yellow="%{F#cdcd00}" 5 | black="%{F#000000}" 6 | 7 | wifi_ssid=$(cat < 0) { printf $1 } else { printf "0" }}' 138 | count=$((count+1)) 139 | if [ $count -ne ${#mail_list[@]} ]; then 140 | echo -n "," 141 | fi 142 | done 143 | } 144 | 145 | vmm() { 146 | if pgrep -q vmd; then 147 | set -A running_vms $(vmctl status | grep running | awk '{print $NF"("$5")"}') 148 | echo -n "VMs: " 149 | for vm in "${running_vms[@]}"; do 150 | echo -n "${vm} " 151 | done 152 | else 153 | echo -n "" 154 | fi 155 | } 156 | 157 | printf "%%{l} %s | %s | %%{A:apm -A:}%%{A2:apm -L:}%%{A3:apm -H:}%s%%{A}%%{A}%%{A} | %s %%{r} %s | %s | %s | %s | @%s " \ 158 | "$(battery)" "$(temp)" "$(hz)" "$(mem)" \ 159 | "$(vmm)" "$(mail)" "$(wifi)" "$(date '+%Y-%m-%d %H:%M')" "$(beat)" 160 | -------------------------------------------------------------------------------- /bin/batt_percent: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | U=$(uname -s) 4 | 5 | HAS_BATT=true 6 | TMUX_OUT=false 7 | USE_COLOR=true 8 | 9 | GREEN="\033[01;32m" 10 | YELLOW="\033[01;33m" 11 | RED="\033[01;31m" 12 | DEFAULT="\033[0m" 13 | 14 | T_GREEN="#[fg=green]" 15 | T_YELLOW="#[fg=yellow]" 16 | T_RED="#[fg=red]" 17 | T_DEFAULT="#[fg=default]" 18 | 19 | while getopts "tn" arg; do 20 | case "$arg" in 21 | t) 22 | TMUX_OUT=true 23 | ;; 24 | n) 25 | USE_COLOR=false 26 | esac 27 | done 28 | 29 | 30 | case "$U" in 31 | OpenBSD) 32 | CHRGING=$(apm -a) 33 | if [ $CHRGING != 255 ]; then 34 | BATT=$(apm -l) 35 | if [ $CHRGING == 1 ]; then 36 | CHRGING="+" 37 | else 38 | CHRGING="-" 39 | fi 40 | else 41 | HAS_BATT=false 42 | fi 43 | ;; 44 | Linux) 45 | if [ -f /sys/class/power_supply/BAT0/capacity ]; then 46 | BATT=$(cat /sys/class/power_supply/BAT0/capacity) 47 | CHRGING="?" 48 | else 49 | HAS_BATT=false 50 | fi 51 | ;; 52 | *) 53 | HAS_BATT=false 54 | esac 55 | 56 | if [ $TMUX_OUT == true ]; then 57 | DEFAULT=$T_DEFAULT 58 | fi 59 | 60 | if [ $BATT -gt 49 ]; then 61 | if [ $TMUX_OUT == true ]; then 62 | COLOR=$T_GREEN 63 | else 64 | COLOR=$GREEN 65 | fi 66 | fi 67 | 68 | if [ $BATT -lt 50 ] && [ $BATT -gt 21 ]; then 69 | if [ $TMUX_OUT == true ]; then 70 | COLOR=$T_YELLOW 71 | else 72 | COLOR=$YELLOW 73 | fi 74 | fi 75 | 76 | if [ $BATT -lt 21 ]; then 77 | if [ $TMUX_OUT == true ]; then 78 | COLOR=$T_RED 79 | else 80 | COLOR=$RED 81 | fi 82 | fi 83 | 84 | if [ $HAS_BATT == true ]; then 85 | if [ $USE_COLOR == true ]; then 86 | if [ $TMUX_OUT == true ]; then 87 | echo " ${COLOR}${CHRGING}${BATT}%${DEFAULT}" 88 | else 89 | echo "${COLOR}${CHRGING}${BATT}%${DEFAULT}" 90 | fi 91 | else 92 | echo "${CHRGING}${BATT}%" 93 | fi 94 | fi 95 | -------------------------------------------------------------------------------- /bin/beaglemake: -------------------------------------------------------------------------------- 1 | #! /bin/ksh 2 | HOST=$(uname -m) 3 | MACHINE=beagle 4 | MACHINE_ARCH=arm 5 | VERSION=$(uname -r) 6 | 7 | export MAKEOBJDIR=obj.${HOST}.${MACHINE} 8 | 9 | 10 | TARGET_CANON=${MACHINE_ARCH}-unknown-openbsd${VERSION} 11 | CROSSDIR=/usr/cross/${MACHINE} 12 | PATH=$PATH:${CROSSDIR}/usr/${TARGET_CANON}/bin 13 | 14 | MACHINE=${MACHINE} \ 15 | MACHINE_ARCH=${MACHINE_ARCH} \ 16 | CROSSDIR=${CROSSDIR} \ 17 | CC=${TARGET_CANON}-cc \ 18 | CXX=${TARGET_CANON}-c++ \ 19 | CPP=${TARGET_CANON}-cpp \ 20 | AS=${TARGET_CANON}-as \ 21 | LD=${TARGET_CANON}-ld \ 22 | SIZE=size \ 23 | STRIP=${TARGET_CANON}-strip \ 24 | OBJDUMP=${TARGET_CANON}-objdump \ 25 | OBJCOPY=${TARGET_CANON}-objcopy \ 26 | make \ 27 | TARGET=${MACHINE} \ 28 | MACHINE=${MACHINE} \ 29 | MACHINE_ARCH=${MACHINE_ARCH} \ 30 | MAKEOBJDIR=obj.${HOST}.${MACHINE} \ 31 | "$@" 32 | 33 | #OBJMACHINE=${MACHINE_ARCH} \ 34 | -------------------------------------------------------------------------------- /bin/beat: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | b=$(echo "(($(date +'%s')+3600)%86400)/86.4" | bc) 4 | printf "%03d" "${b}" 5 | -------------------------------------------------------------------------------- /bin/bkp: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var spawn = require('child_process').spawn, 4 | cmds = { 5 | list: ['-mt'], 6 | backup: ['-cvRf', '$1', '$2'], 7 | delete: ['-me', '$1'], 8 | restore: ['-C /tmp -vxf', '$1', '?2'] 9 | }, 10 | cmd = '/usr/local/bin/ct', 11 | i, l, ct, 12 | re = '[\$|\?]\d', 13 | tre, 14 | p = process.argv; 15 | 16 | if (!cmds[p[2]]) { 17 | console.log( 'Unknown command: ' + p[2] ); 18 | process.exit(); 19 | } 20 | 21 | if (cmds[p[2]].length > 1) { 22 | for(i = 0, l = cmds[p[2]].length; i < l; i++) { 23 | if (!p[i+2]) { 24 | if (cmds[p[2]][i].match(/\?/)) { 25 | delete cmds[p[2]][i]; 26 | } else { 27 | console.log('Missing option for "' + p[2] + '"'); 28 | process.exit(); 29 | } 30 | } else { 31 | if (cmds[p[2]][i].match(/[\$|\?]\d/)) { 32 | tre = new RegExp(re.replace('\d', i)); 33 | cmds[p[2]][i] = cmds[p[2]][i].replace(tre, p[i+2]); 34 | } 35 | } 36 | 37 | 38 | } 39 | } 40 | 41 | ct = spawn(cmd, cmds[p[2]]); 42 | 43 | ct.stdout.on('data', function(data) { 44 | console.log(data.toString()); 45 | }); 46 | 47 | ct.stderr.on('data', function(data) { 48 | console.log('\033[31m' + data.toString() + '\033[0m'); 49 | }); 50 | 51 | ct.on('close', function(code) { 52 | process.exit(); 53 | }); 54 | -------------------------------------------------------------------------------- /bin/browser: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | BROWSER_USER=_browser 4 | BROWSER=/usr/local/bin/firefox 5 | BROWSER_OPTS="" 6 | XEPHYR_OPT="-resizeable :1" 7 | USE_XEPHYR=false 8 | 9 | while getopts "cfil" arg; do 10 | case $arg in 11 | c) 12 | BROWSER=/usr/local/bin/chrome 13 | BROWSER_OPTS="--enable-unveil --site-per-process --js-flages='--noexpose_wasm'" 14 | ;; 15 | i) 16 | BROWSER=/usr/local/bin/iridium 17 | BROWSER_OPTS="--enable-unveil --site-per-process --js-flages='--noexpose_wasm'" 18 | ;; 19 | f) 20 | BROWSER=/usr/local/bin/firefox 21 | BROWSER_OPTS="" 22 | #USE_XEPHYR=true 23 | ;; 24 | l) 25 | BROWSER=/usr/local/bin/luakit 26 | BROWSER_OPTS="" 27 | USE_XEPHYR=true 28 | ;; 29 | esac 30 | done 31 | 32 | if [ $USE_XEPHYR == true ]; then 33 | if [[ $(id -u) -ne 0 ]]; then 34 | echo "need root privileges" 35 | exit 1 36 | fi 37 | 38 | if [ -x /usr/local/bin/wattr ]; then 39 | ID=$(pfw) 40 | WIDTH=$(wattr w $ID) 41 | HEIGHT=$(wattr h $ID) 42 | echo "Set resolution to ${WIDTH}x${HEIGHT}" 43 | XEPHYR_OPT="-screen ${WIDTH}x${HEIGHT} ${XEPHYR_OPT}" 44 | fi 45 | 46 | getent group $BROWSER_USER > /dev/null || \ 47 | groupadd $BROWSER_USER 48 | 49 | getent passwd $BROWSER_USER > /dev/null || \ 50 | useradd -m -L staff -g $BROWSER_USER \ 51 | $BROWSER_USER 52 | 53 | # Make sure the runnnig user is in our browser user group 54 | usermod -G $BROWSER_USER $USER 55 | 56 | # Start Xephyr if it isn't already running 57 | pgrep -q -u "$USER" Xephyr || su -l -c staff $USER -c \ 58 | "DISPLAY=:0 /usr/X11R6/bin/Xephyr $XEPHYR_OPT &" 59 | 60 | # Wait for Xephyr to get up and running 61 | sleep 3 62 | 63 | cat > /home/${BROWSER_USER}/start.sh << EOF 64 | #!/bin/sh 65 | 66 | for font in \$(ls /usr/local/share/fonts/); do 67 | echo "Adding \${font} to font path" 68 | DISPLAY=:1 xset +fp /usr/local/share/fonts/\${font} 69 | done 70 | DISPLAY=:1 xset fp rehash 71 | 72 | echo "Setting kbmap to colemak" 73 | DISPLAY=:1 setxkbmap us -variant colemak 74 | 75 | echo "Setting Xmodmap" 76 | DISPLAY=:1 xmodmap ~/.Xmodmap & 77 | 78 | ulimit -n \$(ulimit -Hn) 79 | ulimit -d \$(ulimit -Hd) 80 | 81 | pgrep -q -u $BROWSER_USER cwm || DISPLAY=:1 cwm & 82 | DISPLAY=:1 exec $BROWSER $BROWSER_OPTS \$@ & 83 | EOF 84 | 85 | chmod +x /home/${BROWSER_USER}/start.sh 86 | chmod g+rw /home/${BROWSER_USER}/start.sh 87 | 88 | cat > /home/${BROWSER_USER}/.Xmodmap << EOF 89 | remove mod1 = Alt_L 90 | remove mod4 = Super_L 91 | keycode 64 = Super_L 92 | keycode 115 = Alt_L 93 | pointer = 1 2 3 5 4 7 6 8 9 10 11 12 94 | EOF 95 | 96 | [[ -d "/home/${BROWSER_USER}/.sndio" ]] || \ 97 | mkdir -p "/home/${BROWSER_USER}/.sndio" 98 | 99 | cp "/home/${USER}/.sndio/cookie" "/home/${BROWSER_USER}/.sndio/cookie" 100 | chown $BROWSER_USER "/home/${BROWSER_USER}/.sndio/cookie" 101 | 102 | # Run the above script as our BROWSER_USER 103 | su -l -c staff $BROWSER_USER -c "/home/${BROWSER_USER}/start.sh" 104 | else 105 | ulimit -n $(ulimit -Hn) 106 | ulimit -d $(ulimit -Hd) 107 | $BROWSER $BROWSER_OPTS $@ & 108 | fi 109 | -------------------------------------------------------------------------------- /bin/build_kernel: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | cd /sys/arch/$(machine)/compile/GENERIC.MP && \ 4 | make obj && make config && make -j$(sysctl -n hw.ncpuonline) && make install 5 | -------------------------------------------------------------------------------- /bin/clang_env: -------------------------------------------------------------------------------- 1 | export CC=clang 2 | export CXX=clang++ 3 | export CPP=clang-cpp 4 | -------------------------------------------------------------------------------- /bin/clean_ports: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | set -A ports \ 4 | comms/xastir \ 5 | databases/node-sqlite3 \ 6 | devel/gyp \ 7 | devel/node-async \ 8 | devel/node-bindings \ 9 | devel/node-buffer-writer \ 10 | devel/node-cloned \ 11 | fonts/hermit-font \ 12 | lang/libv8 \ 13 | lang/luajit \ 14 | lang/node \ 15 | productivity/taskwarrior \ 16 | sysutils/node-rmdir \ 17 | www/luakit \ 18 | x11/p5-Clipboard 19 | 20 | for i in ${ports[@]}; do 21 | rm -rf /usr/ports/$i 22 | ( 23 | cd /usr 24 | cvs checkout ports/$i 25 | ) 26 | done 27 | -------------------------------------------------------------------------------- /bin/colours: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | for i in $(jot 255); do 3 | printf "\x1b[38;5;${i}mcolour${i}\n"; 4 | done 5 | -------------------------------------------------------------------------------- /bin/compare_timestamps: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | MINE_i386=$( curl -sI http://10.0.1.100/pub/OpenBSD/snapshots/i386/bsd.mp | grep Last ) 4 | MINE_amd64=$( curl -sI http://10.0.1.100/pub/OpenBSD/snapshots/amd64/bsd.mp | grep Last) 5 | MINE_macppc=$( curl -sI http://10.0.1.100/pub/OpenBSD/snapshots/macppc/bsd | grep Last) 6 | 7 | OBSD_i386=$( curl -sI http://ftp.openbsd.org/pub/OpenBSD/snapshots/i386/bsd.mp | grep Last ) 8 | OBSD_amd64=$( curl -sI http://ftp.openbsd.org/pub/OpenBSD/snapshots/amd64/bsd.mp | grep Last ) 9 | OBSD_macppc=$( curl -sI http://ftp.openbsd.org/pub/OpenBSD/snapshots/macppc/bsd | grep Last ) 10 | 11 | echo -n "My i386 ${MINE_i386}\nMy amd64 ${MINE_amd64}\nMy macppc ${MINE_macppc}\n" 12 | echo -n "OpenBSD i386 ${OBSD_i386}\nOpenBSD amd64 ${OBSD_amd64}\nOpenBSD macppc ${OBSD_macppc}\n" 13 | -------------------------------------------------------------------------------- /bin/ddg: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var https = require('https'), 4 | url = require('url'), 5 | qs = require('querystring'), 6 | pledge = require('node-pledge'), 7 | ddg_url = 'https://api.duckduckgo.com/?format=json'; 8 | 9 | pledge.init('stdio rpath wpath cpath inet dns ioctl'); 10 | 11 | var i = 2, l = process.argv.length, q = ''; 12 | for (; i < l; i++) { 13 | q += process.argv[i]; 14 | q += ' '; 15 | } 16 | 17 | function parse(d) { 18 | if (d.name && d.name.match(/conversions/i)) { 19 | var a = []; 20 | a.push(d.data.raw_input); 21 | a.push(d.data.left_unit); 22 | a.push('->'); 23 | a.push(d.data.raw_answer); 24 | a.push(d.data.right_unit); 25 | return a.join(' '); 26 | } else { 27 | return d; 28 | } 29 | } 30 | 31 | var req = https.get(ddg_url + '&q=' + q, function(res) { 32 | var data = ''; 33 | res.on('data', function(chunk) { 34 | data += chunk; 35 | }); 36 | 37 | res.on('end', function() { 38 | pledge.init('stdio'); 39 | d = JSON.parse(data); 40 | if (d.Answer !== "" && typeof(d.Answer === "string")) { 41 | console.log(parse(d.Answer)); 42 | } else { 43 | console.log(parse(d)); 44 | } 45 | }); 46 | }); 47 | -------------------------------------------------------------------------------- /bin/dt: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | HN=$1 4 | U=${2:-glenda} 5 | drawterm -a $HN -p -h $HN -u $U -c rio -i riostart 6 | -------------------------------------------------------------------------------- /bin/dwmbar: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | FORMAT="%A %l:%M" 4 | 5 | BAT_CHARG="" 6 | BAT_PER="" 7 | BAT_STAT="" 8 | 9 | spark=~/bin/spark 10 | 11 | red="\x04" 12 | normal="\x01" 13 | yellow="\x03" 14 | 15 | set_bat() { 16 | BS=$1 17 | BAT_PER=$2 18 | AC=$3 19 | 20 | if [ $AC -ne 255 -o $BS -lt 4 ]; then 21 | case $AC in 22 | 0) 23 | BAT_CHARG="-" 24 | ;; 25 | [1-2]) 26 | BAT_CHARG="+" 27 | ;; 28 | *) 29 | BAT_CHARG="?" 30 | ;; 31 | esac; 32 | case $BS in 33 | 0) 34 | # BAT_STAT="${normal}High${normal}" 35 | BAT_STAT="High" 36 | ;; 37 | 1) 38 | # BAT_STAT="${yellow}Low${normal}" 39 | BAT_STAT="Low" 40 | ;; 41 | 2) 42 | # BAT_STAT="${red}CRIT!${normal}" 43 | BAT_STAT="CRIT!" 44 | ;; 45 | *) 46 | BAT_STAT="?" 47 | ;; 48 | esac; 49 | 50 | fi 51 | } 52 | 53 | while true; do 54 | set_bat $( /usr/sbin/apm -alb ) 55 | HOST="$( hostname -s )" 56 | AP=$( ifconfig | grep ieee80211 | awk '{print $3}' ) 57 | CPU="CPU: $( /sbin/sysctl hw.cpuspeed | cut -d "=" -f2 )MHz" 58 | BAT="Bat: ${BAT_CHARG}${BAT_PER}% ${BAT_STAT}" 59 | MEM="FreeMem: $(/usr/bin/top | grep Free: | cut -d " " -f6 )" 60 | DATE=$( /bin/date "+${FORMAT}" ) 61 | VOL=$( mixerctl outputs.master | cut -d "," -f2 ) 62 | VOL=$(( $VOL * 100 / 256 )) 63 | VOL="Vol: ${VOL} %" 64 | 65 | # DB=$( ifconfig | awk '/ieee/ {print $8}' | cut -d d -f 1 ) 66 | 67 | # GR="" 68 | 69 | # if [ $DB -gt 50 ]; then 70 | # GR=$( $spark 0 1 2 3 ) 71 | # fi 72 | 73 | # if [ $DB -lt 50 ] && [ $DB -gt 45 ]; then 74 | # GR=$( $spark 0 1 2 ) 75 | # GR="${GR} " 76 | # fi 77 | 78 | # if [ $DB -lt 45 ] && [ $DB -gt 35 ]; then 79 | # GR=$( $spark 0 1 ) 80 | # GR="${GR} " 81 | # fi 82 | 83 | # if [ $DB -lt 35 ]; then 84 | # GR=$( $spark 0 ) 85 | # GR="${GR} " 86 | # fi 87 | 88 | # if [ "$GR" == "" ]; then 89 | # GR=" ◯ " 90 | # fi 91 | 92 | # xsetroot -name "< ${HOST} | AP: ${AP} ${GR} | ${CPU} | ${MEM} | ${BAT} | ${VOL} | ${DATE} >" 93 | xsetroot -name "< ${HOST} | AP: ${AP} | ${CPU} | ${MEM} | ${BAT} | ${VOL} | ${DATE} >" 94 | sleep 5; 95 | done 96 | -------------------------------------------------------------------------------- /bin/find_dangle_files: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | # This script finds files in /usr/local that are not associated with any 4 | # packages. 5 | 6 | for i in $( find /usr/local -type f ); do 7 | pkg_info -q -E $i > /dev/null 8 | if [ "$?" == "1" ]; then 9 | echo "$i : hanging file!!!" 10 | fi 11 | done 12 | -------------------------------------------------------------------------------- /bin/fix_DESCR: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | TMP=$(mktemp) 4 | 5 | fold -sw 80 pkg/DESCR > $TMP && sed -i 's/\s+$//g' $TMP 6 | mv $TMP pkg/DESCR 7 | chmod 644 pkg/DESCR 8 | -------------------------------------------------------------------------------- /bin/freepass-x11: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | BINPATH="/home/qbit/bin" 4 | NAME="Aaron Bieber" 5 | FILES_DIR="$HOME/secure" 6 | ROFI_SETTINGS="-dmenu -fuzzy" 7 | 8 | if [ "$FREEPASS_MODE" = "MENU" ]; then 9 | exec rofi $ROFI_SETTINGS -p 'freepass> ' 10 | elif [ "$FREEPASS_MODE" = "TEXT" ]; then 11 | exec rofi $ROFI_SETTINGS -p "$FREEPASS_PROMPT: " 12 | else 13 | FREEPASS_NAME="$NAME" \ 14 | FREEPASS_MENU="${BINPATH}/freepass-x11" \ 15 | FREEPASS_ASKTEXT="${BINPATH}/freepass-x11" 16 | FREEPASS_ASKPASS="ssh-askpass" \ 17 | FREEPASS_FILE="$FILES_DIR/`ls $FILES_DIR | grep .fpass | rofi $ROFI_SETTINGS -p 'freepass file: '`" \ # Select .fpass files from $FILES_DIR 18 | ${BINPATH}/freepass | (while read -r line; do 19 | echo -n "$line" | xclip 20 | notify-send -u low "Copied to clipboard!" 21 | done) 22 | fi 23 | -------------------------------------------------------------------------------- /bin/get_distfiles: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | echo "Enter the path to download DISTFILES to:" 4 | read DIR 5 | 6 | if [ ! -d $DIR ]; then 7 | mkdir -p $DIR; 8 | fi 9 | 10 | ( 11 | export DISTDIR=$DIR; 12 | for i in $(make all-dir-depends | tr ' ' '\n' | sort -n | uniq | awk -F\, '{print $1}'); do 13 | cd /usr/ports/$i; 14 | make fetch; 15 | done 16 | ) 17 | -------------------------------------------------------------------------------- /bin/git-port-bump: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | bold="\\033[01;39m" 4 | regular="\\033[0m" 5 | 6 | PORT=$(basename "${PWD}") 7 | DATE=$(date +'%Y-%m-%d') 8 | 9 | msg() { 10 | echo "==> ${bold}$*${regular}" 11 | } 12 | 13 | case "$1" in 14 | done) 15 | git add -p . 16 | git commit -v 17 | ;; 18 | diff) 19 | find . -name "*$(make show=PATCHORIG)" -exec rm {} \; 20 | find . -size 0 -exec rm {} \; 21 | for file in $(git ls-files . --exclude-standard --others); do 22 | git add -N "$file" 23 | done 24 | git diff . 25 | ;; 26 | *) 27 | msg "Updating ${PORT}" 28 | git checkout -b "${PORT}-update-${DATE}" 29 | ;; 30 | 31 | esac 32 | 33 | -------------------------------------------------------------------------------- /bin/gitify: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | DIR=$( pwd | awk -F \/ '{print $NF}' ) 4 | 5 | echo -n "Repo name: $DIR? (y/n) "; 6 | 7 | read Y 8 | 9 | if [ "$Y" != "y" ]; then 10 | echo -n "Enter repo name: " 11 | read DIR 12 | fi 13 | 14 | ssh akb.io "test -e /git/${DIR}.git || git init --bare /git/${DIR}.git" 15 | 16 | if [ "${BITBUCKET_PASS}X" != "X" ]; then 17 | curl -k -X POST --user qbit_:$BITBUCKET_PASS "https://api.bitbucket.org/1.0/repositories" -d "name=${DIR}" 18 | git remote add bb ssh://git@bitbucket.org/qbit_/${DIR}.git 19 | git@bitbucket.org:qbit_/dotfiles.git 20 | fi 21 | 22 | AKB_REMOTE=$(git remote | grep akb) 23 | if [ "$AKB_REMOTE" == "akb" ]; then 24 | echo "'akb' remote already exists in local branch.." 25 | else 26 | git remote add akb ssh://akb.io/git/${DIR}.git 27 | fi 28 | 29 | git push -u akb master 30 | 31 | -------------------------------------------------------------------------------- /bin/gitsync: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright (c) 2008-2009 Todd T. Fries 4 | # 5 | # Permission to use, copy, modify, and distribute this software for any 6 | # purpose with or without fee is hereby granted, provided that the above 7 | # copyright notice and this permission notice appear in all copies. 8 | # 9 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 | 17 | [ -d .git ] || { echo "no .git, exiting"; exit 1; } 18 | git status 2>&1 | tee .git/status.log 19 | files="$(awk '/deleted: /{print $3}' .git/status.log)" 20 | [ "$files" ] && git rm $files 21 | awk 'BEGIN { state=0; } 22 | /^[^#]/ { next } 23 | /to include in what will be/ {state=1;next} 24 | {if (state == 1) { sub("^.*$","",$1); print } 25 | }' .git/status.log | egrep -v "\.log$|\.orig$|\.rej$" | \ 26 | while read f 27 | do 28 | echo "Adding $f" 29 | git add "$f" 30 | done 31 | -------------------------------------------------------------------------------- /bin/gsearch: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | curl -H 'Accept: text/plain' http://godoc.org/?q=$1 4 | -------------------------------------------------------------------------------- /bin/install_packages: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | set -A plist anonymous-pro apg cyphertite dmenu ettercap feh ffmpeg gimp git keychain luakit mercurial mplayer mutt nmap node offlineimap pianobar pv qt4 rxvt-unicode taskwarrior terminus vim vlc xclip youtube-dl 4 | 5 | set -A rlist git,git@github.com:qbit/dotfiles.git git,git@github.com:qbit/dotvim.git,~/.vim git,git@github.com:qbit/snap hg,http://hg.suckless.org/dwm 6 | 7 | if [ "${PKG_PATH}X" == "X" ]; then 8 | if [ -e ~/.kshlib ]; then 9 | . ~/.kshlib 10 | set_pkg_path 11 | else 12 | echo "Please set PKG_PATH - http://ftp3.usa.openbsd.org/pub/OpenBSD is a nice one" 13 | exit; 14 | fi 15 | fi 16 | 17 | if [ ! -d ~/Development ]; then 18 | mkdir ~/Development 19 | fi 20 | 21 | for pkg in ${plist[@]}; do 22 | pkg_add -vi $pkg; 23 | done 24 | 25 | for repo in ${rlist[@]}; do 26 | set -A parts $( echo $repo | tr "," " " ) 27 | if [ "${parts[2]}X" != "X" ]; then 28 | $( ${parts[0]} clone ${parts[1]} ${parts[2]} ) 29 | else 30 | ( 31 | cd ~/Development/ 32 | $( ${parts[0]} clone ${parts[1]} ) 33 | ) 34 | fi 35 | done 36 | -------------------------------------------------------------------------------- /bin/license: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | Y=$(date +'%Y') 4 | ME="Aaron Bieber " 5 | 6 | tail -n15 /usr/share/misc/license.template | \ 7 | sed -e "s/YYYY/$Y/g" | 8 | sed -e "s/YOUR NAME HERE /$ME/g" 9 | 10 | -------------------------------------------------------------------------------- /bin/mirror_openbsd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | . ~/.kshlib 4 | 5 | DEBUG="-v --progress" 6 | 7 | LOCK=/tmp/mirror_openbsd.lock 8 | 9 | OPTS="-a ${DEBUG} --delete --log-file=/tmp/mirror_openbsd.log" 10 | 11 | EXCLUDES="alpha arm armish hp300 hppa landisk loongson luna88k m68k mac68k mips64 mips64 mips64el mvme68k mvme88k sgi sh socppc sparc sparc64 vax zaurus" 12 | 13 | EXCLUDE="" 14 | 15 | for e in $EXCLUDES; do 16 | EXCLUDE="${EXCLUDE} --exclude=${e}" 17 | done 18 | 19 | SRC="rsync://ftp3.usa.openbsd.org/ftp/snapshots/" 20 | 21 | if [ X${1} != X ]; then 22 | DST=$1 23 | else 24 | DST="/data/www/pub/OpenBSD/snapshots/" 25 | fi 26 | 27 | lockie $LOCK "rsync ${OPTS} ${EXCLUDE} ${SRC} ${DST}" 28 | -------------------------------------------------------------------------------- /bin/mkchroot: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | green="\033[01;32m" 4 | white="\033[0m" 5 | bold="\033[01;39m" 6 | 7 | dir="" 8 | set -A bins 9 | count=0 10 | 11 | for opt in $*; do 12 | if [ $count -gt 0 ]; then 13 | bins[$count]=$opt 14 | else 15 | dir=$opt 16 | fi 17 | count=$(( $count + 1 )) 18 | done 19 | 20 | function build_chroot { 21 | mkdir $1 22 | echo "${green}Making skel fs in ${1}..${white}" 23 | mkdir ${1}/{bin,dev,etc,root,sbin,tmp,usr,var} 24 | mkdir ${1}/var/run 25 | mkdir ${1}/usr/bin 26 | mkdir ${1}/usr/sbin 27 | 28 | echo "${green}Making /etc/passwd and /etc/group in ${1}..${white}" 29 | echo "root:*:0:0:daemon:0:0:Charlie &:/root:/bin/sh" > ${1}/etc/master.passwd 30 | echo "root:*:0:0:Charlie &:/root:/bin/sh" > ${1}/etc/passwd 31 | echo "wheel:*:0:root" > ${1}/etc/group 32 | echo "_shadow:*:65:" >> ${1}/etc/group 33 | 34 | echo "${green}Making pwd.db..${white}" 35 | sudo pwd_mkdb -d ${1}/etc ${1}/etc/master.passwd 36 | sudo pwd_mkdb -d ${1}/etc -p ${1}/etc/master.passwd 37 | 38 | echo "${green}Making device nodes..${white}" 39 | ( cd ${1}/dev; sudo sh /dev/MAKEDEV std random ) 40 | 41 | echo "${green}Copying in need binaries..${white}" 42 | sudo cp -p /bin/{ln,ls,mkdir,sh,tar} ${1}/bin/ 43 | sudo cp -p /usr/bin/{dirname,env,id} ${1}/usr/bin/ 44 | 45 | sudo cp -p /sbin/ldconfig ${1}/sbin/ 46 | sudo cp -p /usr/sbin/{chgrp,chown} ${1}/usr/sbin/ 47 | 48 | sudo cp -p /etc/resolv.conf ${1}/etc/ 49 | } 50 | 51 | test -d $1 || build_chroot $dir 52 | 53 | for a in ${bins[@]}; do 54 | FILES=$( ldd $( which $a ) | grep -v Start | awk '{print $7}' ) 55 | 56 | echo "${green}Installing ${white}${bold}${a}${green} in chroot${white}" 57 | for i in $FILES; do 58 | F=$( echo $i | sed -e 's/^\///' ) 59 | P=${1}/${F} 60 | D=${1}/$( echo $F | awk -F\/ '{ $NF=""; NF--; print }' | sed -e 's/ /\//g' ) 61 | mkdir -p $D 62 | echo "\t${green}${i}..${white}" 63 | sudo cp -p $i $D; 64 | done 65 | done 66 | 67 | -------------------------------------------------------------------------------- /bin/mkdiff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | name=$(make show=PKGNAME) 4 | fname="${HOME}/patches/${name}.diff" 5 | 6 | if [ -d CVS ]; then 7 | cvs diff . > "$fname" 8 | else 9 | git diff . > "$fname" 10 | fi 11 | echo "Created: $fname" 12 | echo "Syncing..." 13 | openrsync -a --rsync-path=/usr/bin/openrsync \ 14 | ${HOME}/patches/ suah.dev:/var/www/deftly/patches/ 15 | URL="https://deftly.net/patches/${name}.diff" 16 | echo -n "${URL}" | xclip 17 | echo "Copied '${URL}' to clipboard.." 18 | -------------------------------------------------------------------------------- /bin/mpcc: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | set -A CMDS next prev toggle 4 | CMD=$1 5 | EXISTS=0 6 | 7 | for c in "${CMDS[@]}"; do 8 | if [ "${c}" == "${CMD}" ]; then 9 | EXISTS=1 10 | fi 11 | done 12 | 13 | if [ $EXISTS == 1 ]; then 14 | notify-send "$(mpc $CMD)" 15 | else 16 | notify-send "$(mpc)" 17 | fi 18 | 19 | -------------------------------------------------------------------------------- /bin/msearch: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | OIFS=$IFS 4 | 5 | ( 6 | cd /usr/share/man; 7 | IFS=" 8 | " 9 | for i in $(find . -type f -exec grep -H "${1}" {} \; | grep -v mandoc.db); do 10 | # ./man7/ports.7:.Ev SUBDIRLIST 11 | SEC=$(echo $i | awk -F/ '{ print $2 }' | sed 's/man//') 12 | PAGE=$(echo $i | awk -F/ '{ print $3 }' | sed 's/\.[1-9]:.*$//') 13 | printf "%s %s\n" $SEC $PAGE 14 | done | sort | uniq 15 | ) 16 | 17 | IFS=$OIFS 18 | -------------------------------------------------------------------------------- /bin/mtube: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | YT=$( which youtube-dl ) 4 | MP=$( which mplayer ) 5 | 6 | YTOPTS="-f 18 -g " 7 | MPOTS="-cache 300" 8 | 9 | $MP $MPOPTS `$YT $YTOPTS "$*"` 10 | -------------------------------------------------------------------------------- /bin/mutt2task: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ############################################################################### 4 | # taskopen - file based notes with taskwarrior 5 | # 6 | # Copyright 2010, Johannes Schlatow, Jostein Berntsen. 7 | # All rights reserved. 8 | # 9 | # This program is free software; you can redistribute it and/or modify 10 | # it under 11 | # the terms of the GNU General Public License as published by the Free 12 | # Software 13 | # Foundation; either version 2 of the License, or (at your option) any 14 | # later 15 | # version. 16 | # 17 | # This program is distributed in the hope that it will be useful, but 18 | # WITHOUT 19 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 20 | # FITNESS 21 | # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 22 | # details. 23 | # 24 | # You should have received a copy of the GNU General Public License 25 | # along with 26 | # this program; if not, write to the 27 | # 28 | # Free Software Foundation, Inc., 29 | # 51 Franklin Street, Fifth Floor, 30 | # Boston, MA 31 | # 02110-1301 32 | # USA 33 | # 34 | ############################################################################### 35 | 36 | /usr/local/bin/task add +email E-mail: $(egrep '^Subject|^From' $* | awk 37 | -F: '{print $2}' | sed 's/\(.*>\)\(.*\)/\1 - \2/g') 38 | -------------------------------------------------------------------------------- /bin/node_port_test: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ( 4 | cd ~/node_bin && ./update.sh 5 | cd ~/Development/node-pledge && \ 6 | rm -rf build && \ 7 | node-gyp configure && \ 8 | node-gyp build 9 | ) 10 | -------------------------------------------------------------------------------- /bin/nwhois: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | var http = require( 'http' ); 4 | 5 | if ( ! process.argv[2] ) { 6 | throw new Error( "Missing a .io domain name!" ); 7 | } 8 | 9 | var opt = { 10 | url: "nic.io", 11 | path: "/cgi-bin/whois?query=" + process.argv[2], 12 | port: 80 13 | } 14 | 15 | http.get( opt, function( res ) { 16 | console.log( res ); 17 | }); 18 | -------------------------------------------------------------------------------- /bin/org: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | set -eu 4 | 5 | case "$1" in 6 | sync) 7 | cd ~/org && ~/bin/git-sync > /dev/null 2>&1 8 | if [ $? != 0 ]; then 9 | echo "org sync failed" 10 | /usr/local/bin/git status 11 | exit 1 12 | fi 13 | ;; 14 | *) 15 | echo "Usage: org sync" 16 | exit 1 17 | ;; 18 | esac 19 | -------------------------------------------------------------------------------- /bin/pasties: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # script to "paste" a file to sprunge.us 4 | #cat $1 | curl -F 'sprunge=<-' http://sprunge.us 5 | cat $1 | curl -F 'f:1=<-' ix.io 6 | -------------------------------------------------------------------------------- /bin/pbitches: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # script to "paste" a file to http://pastebitch.com/ 4 | cat $1 | curl -F 'pastebitch=<-' http://pastebitch.com/ 5 | -------------------------------------------------------------------------------- /bin/pctl: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | # pianobar control script 4 | 5 | CMD='' 6 | 7 | while getopts "npq" arg; do 8 | case $arg in 9 | n) 10 | CMD='n' 11 | ;; 12 | p) 13 | CMD='p' 14 | ;; 15 | q) 16 | CMD='q' 17 | ;; 18 | l) 19 | ;; 20 | h) 21 | CMD='-' 22 | ;; 23 | esac 24 | done 25 | 26 | if [ -e /tmp/pianobar ]; then 27 | echo -n $CMD > /tmp/pianobar 28 | else 29 | mkfifo /tmp/pianobar 30 | fi 31 | -------------------------------------------------------------------------------- /bin/pcvsup: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | session='pcvsup' 4 | IDX=1 5 | counter=0 6 | width=$(stty -e | awk '$0 ~ "columns" {print $6}') 7 | 8 | set -A mirrors \ 9 | anoncvs@anoncvs1.usa.openbsd.org:/cvs \ 10 | anoncvs@anoncvs2.usa.openbsd.org:/cvs \ 11 | anoncvs@anoncvs3.usa.openbsd.org:/cvs 12 | 13 | if [ -z $DATADIR ]; then 14 | DATADIR=/usr/ 15 | fi 16 | 17 | set -A dirs \ 18 | "${DATADIR}/ports" \ 19 | "${DATADIR}/src" \ 20 | "${DATADIR}/xenocara" 21 | 22 | keys=$(ssh-add -L | grep -c ^ssh) 23 | 24 | if [ $keys -lt 1 ]; then 25 | ssh-add 26 | fi 27 | 28 | if ! tmux ls | grep -q "^${session}:"; then 29 | tmux -2 new-session -d -s $session 30 | 31 | for mirror in "${mirrors[@]}"; do 32 | if [ -d ${dirs[${counter}]} ]; then 33 | if [ $counter -eq 0 ]; then 34 | if [ $width -gt 95 ]; then 35 | tmux split-window -h -p 70 36 | else 37 | tmux split-window -p 70 38 | fi 39 | fi 40 | 41 | tmux select-pane -t ${counter} 42 | tmux send-keys "cd ${dirs[${counter}]}" C-m 43 | 44 | tmux send-keys "update_git.sh" C-m 45 | #tmux send-keys "cvs -d${mirror} up" C-m 46 | 47 | if [ $counter -eq 1 ]; then 48 | if [ $width -gt 95 ]; then 49 | tmux split-window -h -p 50 50 | else 51 | tmux split-window -p 50 52 | fi 53 | fi 54 | 55 | ((counter=counter+1)) 56 | else 57 | tmux send-keys C-d 58 | fi 59 | done 60 | fi 61 | 62 | tmux -2 attach-session -t $session 63 | -------------------------------------------------------------------------------- /bin/pgp2qr: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "$#" -ne 1 ]; then 4 | echo "Usage: $0 PGPID" >&2 5 | exit 1 6 | fi 7 | 8 | S="OPENPGP4FPR:" 9 | FP=$(gpg2 --list-keys "$1" | grep "Key fingerprint" | awk -F\= '{print $2}' | sed -e 's/ //g') 10 | 11 | echo "${S}${FP}" | intoq -file "/tmp/${FP}.png" 12 | 13 | feh "/tmp/${FP}.png" 14 | -------------------------------------------------------------------------------- /bin/pkg: -------------------------------------------------------------------------------- 1 | #! /usr/bin/perl 2 | # ex:ts=8 sw=4: 3 | # $OpenBSD: pkg,v 1.19 2010/12/05 09:41:55 espie Exp $ 4 | # 5 | # Copyright (c) 2019 Aaron Beiber 6 | # Copyright (c) 2010 Marc Espie 7 | # 8 | # Permission to use, copy, modify, and distribute this software for any 9 | # purpose with or without fee is hereby granted, provided that the above 10 | # copyright notice and this permission notice appear in all copies. 11 | # 12 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 13 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 14 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 15 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 16 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 17 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 18 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 19 | 20 | use strict; 21 | use warnings; 22 | 23 | my @l = qw(add check create delete info); 24 | my %a = ( 25 | "install" => "add", 26 | "i" => "add", 27 | "rm" => "delete", 28 | "del" => "delete", 29 | "inf" => "info" 30 | ); 31 | 32 | sub run 33 | { 34 | my ($cmd, $name) = @_; 35 | my $module = "OpenBSD::Pkg\u$cmd"; 36 | eval "require $module;"; 37 | if ($@) { 38 | die $@; 39 | } 40 | exit($module->parse_and_run($name)); 41 | } 42 | 43 | for my $i (@l) { 44 | if ($0 =~ m/\/?pkg_$i$/) { 45 | run($i, "pkg_$i"); 46 | } 47 | } 48 | 49 | if (@ARGV) { 50 | for my $i (@l) { 51 | $ARGV[0] = $a{$ARGV[0]} if defined $a{$ARGV[0]}; 52 | if ($ARGV[0] eq $i) { 53 | shift; 54 | run($i, "pkg $i"); 55 | } 56 | } 57 | } 58 | print STDERR "Usage: pkg [",join("|", @l),"] [args]\n"; 59 | exit(1); 60 | -------------------------------------------------------------------------------- /bin/port_grep: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | find /usr/ports -iname "${1}" -exec grep -iH ${2} {} \; 4 | -------------------------------------------------------------------------------- /bin/psearch: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | ( 4 | cd /usr/ports; 5 | make search key=$1 | grep ^Path | sort | sed -e 's/Path://' 6 | ) 7 | -------------------------------------------------------------------------------- /bin/qemu_boot_vmm_img: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -eu 4 | 5 | qemu-system-x86_64 -hda "$1" -display curses -net nic,model=virtio,macaddr=52:54:00:00:EE:03 -net tap 6 | -------------------------------------------------------------------------------- /bin/release: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | ARCH=$(arch -s) 4 | NAME="GENERIC.MP" 5 | 6 | 7 | if [ ! -e ~/.release ]; then 8 | session='release' 9 | tmux -2 new-session -d -s $session 10 | tmux select-pane -t 0 11 | # Build a new kernel 12 | tmux send-keys "cd /usr/src/sys/arch/${ARCH}/conf; sleep 3" C-m 13 | tmux send-keys "config ${NAME}; sleep 3" C-m 14 | tmux send-keys "cd ../compile/${NAME}; sleep 3" C-m 15 | tmux send-keys "make clean && make; sleep 3" C-m 16 | tmux send-keys "doas make install" C-m 17 | touch ~/.release 18 | tmux -2 attach-session -t $session 19 | else 20 | cd /usr/obj && mkdir -p .old && doas mv * .old && doas rm -rf .old 21 | cd /usr/src && make obj 22 | cd /usr/src/etc && doas env DESTDIR=/ make distrib-dirs 23 | cd /usr/src && make SUDO=sudo build 24 | rm ~/.release 25 | fi 26 | 27 | -------------------------------------------------------------------------------- /bin/revert_diffs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | for i in $(find . -name \*.orig); do 4 | F=$(echo $i | sed 's/\.orig//') 5 | mv -v "$i" "$F" 6 | done 7 | -------------------------------------------------------------------------------- /bin/rofi-mpc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [[ -z $1 ]]; then 4 | mpc lsp | sort 5 | else 6 | mpc clear 7 | mpc load "$1" 8 | mpc toggle 9 | fi 10 | -------------------------------------------------------------------------------- /bin/rofi-pass: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [[ -z $1 ]]; then 4 | store="$HOME/.password-store/" 5 | find "$store" -name '*.gpg' | sed -e "s|^$store||" | sed -e 's|\.gpg$||' 6 | else 7 | gopass "$1" | awk '$1 ~ "[0-9]" { print $1 }' | xclip -selection clipboard > /dev/null 8 | fi 9 | -------------------------------------------------------------------------------- /bin/rofi-pass-otp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [[ -z $1 ]]; then 4 | store="$HOME/.password-store/" 5 | find "$store" -name '*.gpg' | sed -e "s|^$store||" | sed -e 's|\.gpg$||' 6 | else 7 | gopass otp "$1" | awk '$1 ~ "[0-9]" { print $1 }' | xclip -selection clipboard > /dev/null 8 | fi 9 | -------------------------------------------------------------------------------- /bin/screen_record: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | #ffmpeg \ 4 | # -f sndio -i rsnd/0 \ 5 | # -framerate 25 \ 6 | # -video_size 1920x1080 \ 7 | # -f x11grab \ 8 | # -i :0.0 /tmp/output.mkv 9 | ffmpeg -f sndio -i snd/0.mon -f x11grab -r 30 -s 1920x1080 -i :0 -c:v libx264 -preset ultrafast -acodec copy /tmp/output.mkv 10 | #ffmpeg -f sndio -i snd/0.mon -f x11grab -r 30 -s 1920x1080 -i :0 -vcodec libvpx -acodec libvorbis /tmp/output.webm 11 | -------------------------------------------------------------------------------- /bin/scrotbar: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | FORMAT="%A %l:%M" 4 | 5 | BAT_CHARG="" 6 | BAT_PER="" 7 | BAT_STAT="" 8 | 9 | set_bat() { 10 | BS=$1 11 | BAT_PER=$2 12 | AC=$3 13 | 14 | if [ $AC -ne 255 -o $BS -lt 4 ]; then 15 | case $AC in 16 | 0) 17 | BAT_CHARG="-" 18 | ;; 19 | [1-2]) 20 | BAT_CHARG="+" 21 | ;; 22 | *) 23 | BAT_CHARG="?" 24 | ;; 25 | esac; 26 | case $BS in 27 | 0) 28 | BAT_STAT="High" 29 | ;; 30 | 1) 31 | BAT_STAT="Low" 32 | ;; 33 | 2) 34 | BAT_STAT="CRIT!" 35 | ;; 36 | *) 37 | BAT_STAT="?" 38 | ;; 39 | esac; 40 | 41 | fi 42 | } 43 | 44 | while :; do 45 | set_bat $( /usr/sbin/apm -alb ) 46 | HOST="$( hostname -s )" 47 | CPU="CPU: $( /sbin/sysctl hw.cpuspeed | cut -d "=" -f2 )MHz" 48 | BAT="Bat: ${BAT_CHARG}${BAT_PER}% ${BAT_STAT}" 49 | MEM="Mem: $(/usr/bin/top | grep Free: | cut -d " " -f3 )" 50 | DATE=$( /bin/date "+${FORMAT}" ) 51 | VOL=$( mixerctl outputs.master | cut -d "," -f2 ) 52 | VOL=$(( $VOL * 100 / 256 )) 53 | VOL="Vol: ${VOL} %" 54 | echo -e "< ${HOST} | ${CPU} | ${MEM} | ${BAT} | ${VOL} | ${DATE} >" 55 | sleep 5; 56 | done 57 | -------------------------------------------------------------------------------- /bin/sctd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright (c) 2017 Aaron Bieber 4 | # Copryright (c) 2017 Inokentiy Babushkin 5 | # 6 | # Permission to use, copy, modify, and distribute this software for any 7 | # purpose with or without fee is hereby granted, provided that the above 8 | # copyright notice and this permission notice appear in all copies. 9 | # 10 | # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 | # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 | # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 | # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 | # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 | # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 | 18 | TEMP_MIN=3000 19 | TEMP_MAX=6500 20 | 21 | INC=$(((TEMP_MAX - TEMP_MIN) / 720)) 22 | SCT=$(which sct) 23 | 24 | if [ ! -e "$SCT" ]; then 25 | echo "Please install sct!" 26 | exit 1; 27 | fi 28 | 29 | setHM() { 30 | H=$(date +"%H" | sed -e 's/^0//') 31 | M=$(date +"%M" | sed -e 's/^0//') 32 | HM=$((H*60 + M)) 33 | } 34 | 35 | setTEMP() { 36 | if [ $HM -gt 720 ]; then 37 | TEMP=$(( TEMP_MIN + INC * (1440 - HM) )) 38 | else 39 | TEMP=$(( TEMP_MIN + INC * HM )) 40 | fi 41 | } 42 | 43 | tick() { 44 | setHM 45 | setTEMP 46 | 47 | $SCT $TEMP 48 | } 49 | 50 | tick 51 | [ "$1" = "oneshot" ] && exit 0 52 | 53 | while true; do 54 | tick 55 | sleep 60 56 | done 57 | -------------------------------------------------------------------------------- /bin/sfetch: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | SERVER=ftp3.usa.openbsd.org 4 | ITEM=$1 5 | MACHINE=$(machine) 6 | [[ ! -z $2 ]] && MACHINE=$2 7 | V=$(uname -r | sed 's/\.//') 8 | ftp -o "${PWD}/${ITEM}" "https://${SERVER}/pub/OpenBSD/snapshots/${MACHINE}/${ITEM}" && \ 9 | ftp -VM -o "${PWD}/SHA256.sig" "https://${SERVER}/pub/OpenBSD/snapshots/${MACHINE}/SHA256.sig" 10 | 11 | signify -C -p "/etc/signify/openbsd-${V}-base.pub" -x SHA256.sig "${ITEM}" 12 | -------------------------------------------------------------------------------- /bin/spark.graph: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | # spark taken from holman: https://github.com/holman/spark 4 | # converted for ksh 5 | 6 | set -A numbers $@ 7 | set -A ticks ▁ ▂ ▃ ▄ ▅ ▆ ▇ █ 8 | set -A new_numbers 9 | 10 | min=0xffffffff 11 | max=0 12 | 13 | for n in ${@}; do 14 | (( n < min )) && min=$n 15 | (( n > max )) && max=$n 16 | new_numbers=$new_numbers${new_numbers:+ }$n 17 | done 18 | 19 | f=$(( (($max-$min)<<8)/(${#ticks[@]}-1) )) 20 | (( f < 1 )) && f=1 21 | 22 | for n in $new_numbers; do 23 | echo -n ${ticks[$(( ((($n-$min)<<8)/$f) ))]} 24 | done 25 | echo "" 26 | -------------------------------------------------------------------------------- /bin/spwd: -------------------------------------------------------------------------------- 1 | #!/usr/bin/awk -f 2 | # spwd: pure AWK path shortener for PS1 3 | # Shortens a path by keeping only the first character of each directory, or the 4 | # two firsts if it starts with a dot. 5 | 6 | # Usage: 7 | # export PS1="\u:\$(awk -f /where/is/spwd -- "\${PWD}")> " 8 | 9 | # Runtime example: 10 | # charlene:/u/s/d/mg> echo $PWD 11 | # /usr/share/doc/mg 12 | # charlene:/u/s/d/mg> cd /home/charlene/.vim/colors/ 13 | # charlene:~/.v/colors> 14 | 15 | # Should be POSIX-compliant, tested with OpenBSD's awk, mawk and gawk. 16 | # May break if you have funny chars in $HOME 17 | 18 | BEGIN { 19 | # dealing with directories with spaces 20 | for (elem = 1; elem < length(ARGV); elem++) { 21 | pwd = sprintf("%s %s", pwd, ARGV[elem]) 22 | } 23 | sub(/^ /, "", pwd) 24 | 25 | home = ENVIRON["HOME"] 26 | # Regex-ify $HOME 27 | gsub(/\//, "\\/", home) 28 | sub("^"home, "~", pwd) 29 | if (pwd == "~") { 30 | printf(pwd) 31 | exit 32 | } 33 | 34 | split(pwd, pelems, /\//) 35 | # we don't need the useless pelems[0], and the shortened "basename $PWD" 36 | # (last one). Also the pelems[1] is empty because pwd starts with the 37 | # seperator, so it will always prints '/'. 38 | for (i = 1; i < length(pelems); i++) { 39 | # two characters for dotfiles/dirs 40 | nchar = substr(pelems[i], 1, 1) == "." ? 2 : 1 41 | printf("%s/", substr(pelems[i], 1, nchar)) 42 | } 43 | printf("%s", pelems[length(pelems)]) 44 | } 45 | -------------------------------------------------------------------------------- /bin/startergy: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | if [ "X$1" == "X" ]; then 4 | echo "Please specify a host!" 5 | exit 0 6 | else 7 | HOST=$1 8 | fi 9 | 10 | pkill synergys; 11 | synergys; 12 | ssh -R24800:localhost:24800 $HOST "pkill synergyc; /usr/pkg/bin/synergyc -f localhost"; 13 | pkill synergys; 14 | -------------------------------------------------------------------------------- /bin/switch_user: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | /usr/bin/ssh-add -D 4 | 5 | for p in chrome firefox emacs cwm; do 6 | /usr/bin/pkill -15 "${p}" 7 | done 8 | -------------------------------------------------------------------------------- /bin/tstart: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | set -eu 4 | 5 | SNAME="Main" 6 | SSES="-s ${SNAME}" 7 | IDX=1 8 | 9 | if tmux ls | grep -q "^${SNAME}:"; then 10 | tmux -u2 at -t "${SNAME}" 11 | else 12 | tmux -2 new-session -d $SSES 13 | if [ -e ~/.tmux.windows ]; then 14 | count=${IDX} 15 | for n in $(cat ~/.tmux.windows); do 16 | if [ $n == "_" ]; then 17 | tmux new-window 18 | else 19 | if [ $count -eq ${IDX} ]; then 20 | tmux rename-window "${n}" 21 | else 22 | tmux new-window -n "${n}" 23 | fi 24 | fi 25 | ((count=count+1)) 26 | done 27 | 28 | else 29 | tmux rename-window "IRC" 30 | tmux new-window -n "Mail" 31 | tmux new-window -n "Music" 32 | tmux new-window 33 | fi 34 | tmux select-window -t${IDX} 35 | tmux -2 attach-session -t $SNAME 36 | fi 37 | -------------------------------------------------------------------------------- /bin/update_etc: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | find_mirror 4 | -------------------------------------------------------------------------------- /bin/update_git.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Update a git repo that has a "upstream" remote 4 | 5 | msg() { 6 | echo "==> ${1}" 7 | } 8 | 9 | clear 10 | 11 | msg "Updating ${PWD}" 12 | BRANCH=$(git rev-parse --abbrev-ref HEAD) 13 | if git remote | grep -q upstream; then 14 | msg "Found upstream" 15 | if [ "${BRANCH}" = "master" ]; then 16 | msg "Pulling upstream -> master" 17 | git pull upstream master 18 | else 19 | msg "Fetching all" 20 | git fetch --all 21 | msg "Don't forget to merge or pull!" 22 | fi 23 | else 24 | msg "Origin is upstream" 25 | if [ "${BRANCH}" = "master" ]; then 26 | msg "Pulling from origin:master" 27 | git pull 28 | else 29 | msg "Fetching all" 30 | git fetch --all 31 | msg "Don't forget to merge or pull!" 32 | fi 33 | fi 34 | -------------------------------------------------------------------------------- /bin/updateallthethings: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | ( 4 | cd /usr/src && cvs up 5 | cd /usr/ports && cvs up 6 | cd /usr/xenocara && cvs up 7 | ) 8 | 9 | -------------------------------------------------------------------------------- /bin/verify_ssh_fp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # To make use of this, you need: 4 | # - Tor installed / running 5 | # - socat installed 6 | # - Line 1 of your ~/.ssh/config should have: 'Include ~/.ssh/torify' 7 | 8 | if [ $# -lt 1 ];then 9 | echo "Please specify hostname to check!" 10 | exit 1; 11 | fi 12 | 13 | TFILE=~/.ssh/torify 14 | HOST=$1 15 | 16 | CONF=$(cat <<'EOF' 17 | Host * 18 | ProxyCommand socat STDIO SOCKS4A:localhost:%h:%p,socksport=9050 19 | EOF 20 | ); 21 | 22 | echo "$CONF" > "${TFILE}" 23 | IP=$(tor-resolve "${HOST}") 24 | for i in 1 2 3 4 5; do 25 | ssh "${IP}" & sleep 3; kill $! 26 | done 27 | 28 | echo "" > "${TFILE}" 29 | ssh "$HOST" & sleep 3; kill $! 30 | -------------------------------------------------------------------------------- /bin/watch: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | N=5 4 | CMD=$@ 5 | 6 | while getopts "n:d" arg; do 7 | case $arg in 8 | n) 9 | N=$OPTARG 10 | $CMD=$( echo "$CMD" | sed -e "s/${OPTARG}//" ) 11 | ;; 12 | esac 13 | done 14 | 15 | while true; do 16 | echo "doing '$CMD' every $N" 17 | #$( $@ ) 18 | sleep $N 19 | done 20 | -------------------------------------------------------------------------------- /bin/wpacfg: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | DEBUG=1 4 | 5 | eval . ~/lib/functions 6 | 7 | # WIF=iwn0 8 | WIF=$(ifconfig | grep -B 4 IEEE802 | grep ^[a-z] | awk -F\: '{print $1}') 9 | IF=/sbin/ifconfig 10 | 11 | echo -n "SSID: " 12 | read SSID 13 | 14 | echo -n "WPA-PSK: " 15 | stty -echo 16 | read -s KEY 17 | stty echo 18 | echo "" 19 | #log "using ${KEY} on ${WIF}" 20 | 21 | echo -n "Use dhclient (y/n)? " 22 | read DH 23 | 24 | sudo $IF $WIF up nwid $SSID wpa wpakey $KEY 25 | 26 | if [ $? ]; then 27 | log "'${WIF}' configured for '$SSID'" 28 | 29 | if [[ $DH = "y" ]]; then 30 | log "using dhclient on '${WIF}'." 31 | sudo dhclient -q $WIF 32 | fi 33 | 34 | exit; 35 | fi 36 | 37 | -------------------------------------------------------------------------------- /bin/ytdl: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | INP="" 4 | for v in $@; do 5 | youtube-dl -F $v 6 | echo -n "Enter format: " 7 | read INP 8 | youtube-dl -t -f $INP $v 9 | done 10 | -------------------------------------------------------------------------------- /common/config/awesome/clip.lua: -------------------------------------------------------------------------------- 1 | local awful = require("awful") 2 | local beautiful = require("beautiful") 3 | local gears = require("gears") 4 | local naughty = require("naughty") 5 | --local wibox = require("wibox") 6 | local clip = {} 7 | 8 | clip.enable_debug = false 9 | clip.combine = true 10 | clip.store = {} 11 | clip.max = 5 12 | 13 | clip.menu_items = awful.menu({ items = { 14 | {"status", function() 15 | local state = "Not running" 16 | if clip.grab_timer.started then 17 | state = "Running" 18 | end 19 | 20 | naughty.notify({ preset = naughty.config.presets.normal, 21 | title = "Grab Status", 22 | text = state}) 23 | end}, 24 | {"clear", function() 25 | clip.store = {} 26 | clip.menu_items:hide() 27 | clip.delete_menu_items() 28 | -- excessive! 29 | awful.spawn.easy_async('xsel -cp', function() end) 30 | awful.spawn.easy_async('xsel -cb', function() end) 31 | awful.spawn.easy_async('xsel -cs', function() end) 32 | awful.spawn.easy_async('xsel -dp', function() end) 33 | awful.spawn.easy_async('xsel -db', function() end) 34 | awful.spawn.easy_async('xsel -ds', function() end) 35 | end, beautiful.clip_icon} 36 | }}) 37 | 38 | function clip.delete_menu_items() 39 | clip.menu_items:update() 40 | for i = 1, #clip.menu_items.items do 41 | if clip.menu_items.items[i] and 42 | clip.menu_items.items[i].label.text ~= "clear" and 43 | clip.menu_items.items[i].label.text ~= "status" then 44 | clip.menu_items:delete(clip.menu_items.items[i]) 45 | end 46 | end 47 | clip.menu_items:update() 48 | end 49 | 50 | function clip.sync_items() 51 | clip.delete_menu_items() 52 | 53 | for i = 1, #clip.store do 54 | print('adding: ', clip.store[i]) 55 | clip.menu_items:add({clip.store[i], function() 56 | awful.spawn.easy_async('xsel -i', function() end) 57 | end}, 1) 58 | end 59 | clip.menu_items:update() 60 | end 61 | 62 | clip.grab_timer = gears.timer({ 63 | timeout = 1, 64 | autostart = true, 65 | call_now = true, 66 | callback = function() 67 | clip.add() 68 | end 69 | }) 70 | 71 | function clip.add() 72 | local s = selection() 73 | if clip.store[#clip.store] == s then 74 | return true 75 | else 76 | table.insert(clip.store, s) 77 | if clip.combine then 78 | awful.spawn.easy_async('xsel | xsel -ipbs', function() end) 79 | end 80 | 81 | print("Added '" .. s .. "'") 82 | while #clip.store >= clip.max do 83 | table.remove(clip.store, 1) 84 | end 85 | 86 | clip.sync_items() 87 | 88 | return true 89 | end 90 | end 91 | 92 | function clip.enable(widget) 93 | clip.menu = widget or awful.widget.launcher({ 94 | image = beautiful.clip_icon, 95 | resize = true, 96 | forced_height = 5, 97 | menu = clip.menu_items 98 | }) 99 | 100 | clip.menu:buttons(awful.util.table.join( 101 | awful.button({ }, 1, function() 102 | clip.menu_items:toggle() 103 | end) 104 | )) 105 | 106 | return clip.menu 107 | end 108 | 109 | return clip 110 | -------------------------------------------------------------------------------- /common/config/awesome/keys.lua: -------------------------------------------------------------------------------- 1 | local keys = {} 2 | -- local naughty = require("naughty") 3 | 4 | local function _get_return(cmd) 5 | local rt = false 6 | local code, _ = os.execute(cmd) 7 | if (code) then 8 | rt = true 9 | end 10 | return rt 11 | end 12 | 13 | function keys.ssh_loaded() 14 | return _get_return("ssh-add -L") 15 | end 16 | 17 | function keys.ssh_notify() 18 | if (keys.ssh_loaded()) then 19 | print("loaded") 20 | -- naughty.notify({ 21 | -- preset = naughty.config.presets.normal, 22 | -- title = "ssh-agent status", 23 | -- text = "Keys loaded.", 24 | -- }) 25 | else 26 | print("unloaded") 27 | -- naughty.notify({ 28 | -- preset = naughty.config.presets.normal, 29 | -- title = "ssh-agent status", 30 | -- text = "No keys loaded.", 31 | -- }) 32 | end 33 | end 34 | 35 | keys.ssh_notify() 36 | 37 | return keys 38 | -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/README: -------------------------------------------------------------------------------- 1 | Background images: 2 | Mikael Eriksson 3 | Licensed under CC-BY-SA-3.0 4 | -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/background.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/background_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/background_white.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornerne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornerne.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornernew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornernew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornernw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornernw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornernww.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornernww.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornerse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornerse.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornersew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornersew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornersw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornersw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/cornersww.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/cornersww.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/dwindle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/dwindle.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/dwindlew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/dwindlew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/fairh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/fairh.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/fairhw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/fairhw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/fairv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/fairv.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/fairvw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/fairvw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/floating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/floating.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/floatingw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/floatingw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/fullscreen.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/fullscreenw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/fullscreenw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/magnifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/magnifier.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/magnifierw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/magnifierw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/max.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/maxw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/maxw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/spiral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/spiral.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/spiralw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/spiralw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tile.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tilebottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tilebottom.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tilebottomw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tilebottomw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tileleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tileleft.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tileleftw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tileleftw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tiletop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tiletop.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tiletopw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tiletopw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/layouts/tilew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/layouts/tilew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/submenu.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/taglist/squarefw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/taglist/squarefw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/taglist/squarew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/taglist/squarew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/close_focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/close_focus.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/close_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/close_normal.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/floating_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/floating_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/floating_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/floating_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/floating_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/floating_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/floating_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/floating_normal_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/maximized_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/maximized_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/maximized_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/maximized_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/maximized_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/maximized_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/maximized_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/maximized_normal_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/minimize_focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/minimize_focus.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/minimize_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/minimize_normal.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/ontop_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/ontop_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/ontop_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/ontop_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/ontop_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/ontop_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/ontop_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/ontop_normal_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/sticky_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/sticky_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/sticky_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/sticky_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/sticky_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/sticky_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold/titlebar/sticky_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold/titlebar/sticky_normal_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/README: -------------------------------------------------------------------------------- 1 | Background images: 2 | Mikael Eriksson 3 | Licensed under CC-BY-SA-3.0 4 | -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/background.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/background_white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/background_white.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/clip_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/clip_icon.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornerne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornerne.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornernew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornernew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornernw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornernw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornernww.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornernww.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornerse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornerse.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornersew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornersew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornersw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornersw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/cornersww.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/cornersww.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/dwindle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/dwindle.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/dwindlew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/dwindlew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/fairh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/fairh.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/fairhw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/fairhw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/fairv.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/fairv.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/fairvw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/fairvw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/floating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/floating.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/floatingw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/floatingw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/fullscreen.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/fullscreenw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/fullscreenw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/magnifier.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/magnifier.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/magnifierw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/magnifierw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/max.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/max.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/maxw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/maxw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/spiral.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/spiral.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/spiralw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/spiralw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tile.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tilebottom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tilebottom.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tilebottomw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tilebottomw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tileleft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tileleft.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tileleftw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tileleftw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tiletop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tiletop.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tiletopw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tiletopw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/layouts/tilew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/layouts/tilew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/submenu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/submenu.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/taglist/squarefw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/taglist/squarefw.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/taglist/squarew.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/taglist/squarew.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/close_focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/close_focus.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/close_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/close_normal.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/floating_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/floating_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/floating_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/floating_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/floating_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/floating_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/floating_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/floating_normal_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/maximized_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/maximized_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/maximized_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/maximized_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/maximized_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/maximized_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/maximized_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/maximized_normal_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/minimize_focus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/minimize_focus.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/minimize_normal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/minimize_normal.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/ontop_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/ontop_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/ontop_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/ontop_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/ontop_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/ontop_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/ontop_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/ontop_normal_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/sticky_focus_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/sticky_focus_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/sticky_focus_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/sticky_focus_inactive.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/sticky_normal_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/sticky_normal_active.png -------------------------------------------------------------------------------- /common/config/awesome/themes/bold_white/titlebar/sticky_normal_inactive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/config/awesome/themes/bold_white/titlebar/sticky_normal_inactive.png -------------------------------------------------------------------------------- /common/config/fish/config.fish: -------------------------------------------------------------------------------- 1 | function ifsource 2 | if test -f $argv 3 | source $argv 4 | end 5 | end 6 | 7 | ifsource /usr/local/share/taskwarrior/scripts/fish/task.fish 8 | ifsource /usr/local/share/fish/functions/fzf-key-bindings.fish 9 | ifsource ~/.po.fish 10 | 11 | keychain --inherit any --agents ssh -q -Q 12 | ifsource ~/.keychain/(uname -n)-fish 13 | 14 | #dcolor 15 | 16 | if test -f /usr/local/share/fish/functions/fzf-key-bindings.fish 17 | fzf_key_bindings 18 | end 19 | 20 | set -Ux fish_greeting "" 21 | 22 | alias goget='env GO111MODULES=on go get' 23 | alias ag='ag --nocolor' 24 | alias build="dpb -c -h /home/buildie/hosts -P" 25 | alias cabal='env TMPDIR=/usr/local/cabal/build/ cabal' 26 | alias mkae='make' 27 | alias mutt='stty discard undef; neomutt' 28 | alias pass="gopass" 29 | alias pup='doas -n /usr/sbin/pkg_add -u' 30 | alias rustc='rustc --color=never' 31 | alias cabal='env TMPDIR=/build/cabal/build/ cabal' 32 | alias sbcl="rlwrap sbcl" 33 | alias tmux="tmux -u2" 34 | alias vi='vim' 35 | 36 | function mbuild 37 | set -l pkg (make show=PKGSTEM) 38 | make clean=all 39 | make && po -title "Port build complete!" \ 40 | -body "$pkg build was successful!" || \ 41 | po -title "Port build failed" \ 42 | -body "$pkg build failed!" 43 | end 44 | 45 | function install_go_tools 46 | set -l tools \ 47 | github.com/jesseduffield/lazygit \ 48 | github.com/jrick/ss \ 49 | github.com/mdempsky/gocode \ 50 | github.com/rjkroege/edwood \ 51 | golang.org/x/lint/golint \ 52 | golang.org/x/review/git-codereview \ 53 | golang.org/x/tools/cmd/eg \ 54 | golang.org/x/tools/cmd/fiximports \ 55 | golang.org/x/tools/cmd/godoc \ 56 | golang.org/x/tools/cmd/goimports \ 57 | golang.org/x/tools/cmd/gorename \ 58 | golang.org/x/tools/cmd/guru \ 59 | golang.org/x/tools/cmd/present \ 60 | golang.org/x/tools/cmd/stress \ 61 | golang.org/x/tools/gopls \ 62 | honnef.co/go/tools/cmd/staticcheck \ 63 | rsc.io/goversion \ 64 | suah.dev/ogvt 65 | 66 | for t in $tools; 67 | go get -v -u $t; 68 | end 69 | end 70 | 71 | function pclean 72 | find . -name \*.orig -exec rm {} \; 73 | find . -size 0 -exec rm {} \; 74 | end 75 | 76 | function src 77 | cd /usr/src/*/$argv || return 78 | end 79 | 80 | function port 81 | cd /usr/ports/*/$argv 2>/dev/null || \ 82 | cd /usr/ports/*/*/$argv 2>/dev/null || \ 83 | return 84 | end 85 | 86 | function k 87 | set K "$HOME/.k" 88 | if test -z $argv 89 | echo $PWD >> $K 90 | else 91 | switch $argv 92 | case 'clean' 93 | sort $K | uniq > {$K}.tmp && mv {$K}.tmp {$K} 94 | case 'rm' 95 | sed -i -E "\#^$PWD\$#d" $K 96 | case 'ls' 97 | cat $K 98 | case '*' 99 | set d (grep -e "$argv" {$K} | head -n 1) 100 | cd $d 101 | end 102 | end 103 | end 104 | -------------------------------------------------------------------------------- /common/config/fish/fish_variables: -------------------------------------------------------------------------------- 1 | # This file contains fish universal variable definitions. 2 | # VERSION: 3.0 3 | SETUVAR --export PUSHOVER_TOKEN:accmsdh7256emfhpcpx64phvdiusap 4 | SETUVAR --export PUSHOVER_USER:u8p9q7puje3cvh4chuopyca5dgxoai 5 | SETUVAR --export SSH_AGENT_PID:76164 6 | SETUVAR --export SSH_AUTH_SOCK:/tmp/ssh\x2dxLW8BgQRZgOX/agent\x2e79736 7 | SETUVAR __fish_classic_git_prompt_initialized:\x1d 8 | SETUVAR __fish_init_2_39_8:\x1d 9 | SETUVAR __fish_init_2_3_0:\x1d 10 | SETUVAR __fish_init_3_x:\x1d 11 | SETUVAR __fish_initialized:3100 12 | SETUVAR _fish_abbr_cdw:cd\x20\x28make\x20show\x3dWRKSRC\x29 13 | SETUVAR _fish_abbr_pass:gopass 14 | SETUVAR _fish_abbr_pldc:make\x20port\x2dlib\x2ddepends\x2dcheck 15 | SETUVAR fish_color_autosuggestion:586e75 16 | SETUVAR fish_color_cancel:\x2dr 17 | SETUVAR fish_color_command:000000 18 | SETUVAR fish_color_comment:000000 19 | SETUVAR fish_color_cwd:green 20 | SETUVAR fish_color_cwd_root:red 21 | SETUVAR fish_color_end:268bd2 22 | SETUVAR fish_color_error:dc322f 23 | SETUVAR fish_color_escape:00a6b2 24 | SETUVAR fish_color_history_current:\x2d\x2dbold 25 | SETUVAR fish_color_host:normal 26 | SETUVAR fish_color_host_remote:yellow 27 | SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue 28 | SETUVAR fish_color_normal:normal 29 | SETUVAR fish_color_operator:00a6b2 30 | SETUVAR fish_color_param:000000 31 | SETUVAR fish_color_quote:000000 32 | SETUVAR fish_color_redirection:000000 33 | SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dblack 34 | SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack 35 | SETUVAR fish_color_status:red 36 | SETUVAR fish_color_user:\x2do\x1eblack 37 | SETUVAR fish_color_valid_path:\x2d\x2dunderline 38 | SETUVAR --export fish_greeting: 39 | SETUVAR fish_key_bindings:fish_default_key_bindings 40 | SETUVAR fish_pager_color_completion:B3A06D 41 | SETUVAR fish_pager_color_description:B3A06D 42 | SETUVAR fish_pager_color_prefix:cyan\x1e\x2d\x2dunderline 43 | SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan 44 | -------------------------------------------------------------------------------- /common/dot_3dprint/rigidbot_slic3r_2.ini: -------------------------------------------------------------------------------- 1 | # generated by Slic3r 1.1.6 on Wed Aug 13 16:45:48 2014 2 | avoid_crossing_perimeters = 1 3 | bed_size = 254,254 4 | bed_temperature = 40 5 | bottom_solid_layers = 3 6 | bridge_acceleration = 0 7 | bridge_fan_speed = 100 8 | bridge_flow_ratio = 1 9 | bridge_speed = 60 10 | brim_width = 0 11 | complete_objects = 0 12 | cooling = 1 13 | default_acceleration = 0 14 | disable_fan_first_layers = 1 15 | dont_support_bridges = 1 16 | duplicate_distance = 6 17 | end_gcode = M104 S0 ; turn off temperature\nG28 X0 ; home X axis\nM84 ; disable motors\n 18 | external_perimeter_speed = 70% 19 | external_perimeters_first = 0 20 | extra_perimeters = 1 21 | extruder_clearance_height = 20 22 | extruder_clearance_radius = 20 23 | extruder_offset = 0x0 24 | extrusion_axis = E 25 | extrusion_multiplier = 1 26 | extrusion_width = 0 27 | fan_always_on = 0 28 | fan_below_layer_time = 60 29 | filament_diameter = 1.75 30 | fill_angle = 45 31 | fill_density = 40% 32 | fill_pattern = honeycomb 33 | first_layer_acceleration = 0 34 | first_layer_bed_temperature = 50 35 | first_layer_extrusion_width = 200% 36 | first_layer_height = 0.4 37 | first_layer_speed = 30% 38 | first_layer_temperature = 220 39 | g0 = 0 40 | gap_fill_speed = 20 41 | gcode_arcs = 0 42 | gcode_comments = 0 43 | gcode_flavor = reprap 44 | infill_acceleration = 0 45 | infill_every_layers = 10 46 | infill_extruder = 1 47 | infill_extrusion_width = 0 48 | infill_first = 0 49 | infill_only_where_needed = 0 50 | infill_speed = 60 51 | interface_shells = 0 52 | layer_gcode = 53 | layer_height = 0.2 54 | max_fan_speed = 100 55 | min_fan_speed = 35 56 | min_print_speed = 10 57 | min_skirt_length = 0 58 | notes = 59 | nozzle_diameter = 0.4 60 | only_retract_when_crossing_perimeters = 1 61 | ooze_prevention = 0 62 | output_filename_format = [input_filename_base].gcode 63 | overhangs = 1 64 | perimeter_acceleration = 0 65 | perimeter_extruder = 1 66 | perimeter_extrusion_width = 0 67 | perimeter_speed = 30 68 | perimeters = 3 69 | post_process = 70 | print_center = 127,127 71 | raft_layers = 0 72 | resolution = 0 73 | retract_before_travel = 2 74 | retract_layer_change = 1 75 | retract_length = 1 76 | retract_length_toolchange = 10 77 | retract_lift = 0 78 | retract_restart_extra = 0 79 | retract_restart_extra_toolchange = 0 80 | retract_speed = 30 81 | seam_position = aligned 82 | skirt_distance = 6 83 | skirt_height = 1 84 | skirts = 1 85 | slowdown_below_layer_time = 30 86 | small_perimeter_speed = 30 87 | solid_fill_pattern = rectilinear 88 | solid_infill_below_area = 70 89 | solid_infill_every_layers = 0 90 | solid_infill_extrusion_width = 0 91 | solid_infill_speed = 60 92 | spiral_vase = 0 93 | standby_temperature_delta = -5 94 | start_gcode = G28 ; home all axes\nG1 Z5 F5000 ; lift nozzle\n 95 | support_material = 0 96 | support_material_angle = 0 97 | support_material_enforce_layers = 0 98 | support_material_extruder = 1 99 | support_material_extrusion_width = 0 100 | support_material_interface_extruder = 1 101 | support_material_interface_layers = 3 102 | support_material_interface_spacing = 0 103 | support_material_interface_speed = 100% 104 | support_material_pattern = pillars 105 | support_material_spacing = 2.5 106 | support_material_speed = 60 107 | support_material_threshold = 0 108 | temperature = 200 109 | thin_walls = 1 110 | threads = 2 111 | toolchange_gcode = 112 | top_infill_extrusion_width = 0 113 | top_solid_infill_speed = 50 114 | top_solid_layers = 3 115 | travel_speed = 130 116 | use_firmware_retraction = 0 117 | use_relative_e_distances = 0 118 | vibration_limit = 0 119 | wipe = 0 120 | z_offset = 0 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /common/dot_3dprint/rigidbot_slic3r_3.ini: -------------------------------------------------------------------------------- 1 | # generated by Slic3r 1.1.6 on Wed Aug 13 16:45:48 2014 2 | avoid_crossing_perimeters = 1 3 | bed_size = 254,254 4 | bed_temperature = 40 5 | bottom_solid_layers = 3 6 | bridge_acceleration = 0 7 | bridge_fan_speed = 100 8 | bridge_flow_ratio = 1 9 | bridge_speed = 60 10 | brim_width = 0 11 | complete_objects = 0 12 | cooling = 1 13 | default_acceleration = 0 14 | disable_fan_first_layers = 1 15 | dont_support_bridges = 1 16 | duplicate_distance = 6 17 | end_gcode = M104 S0 ; turn off temperature\nG28 X0 ; home X axis\nM84 ; disable motors\n 18 | external_perimeter_speed = 70% 19 | external_perimeters_first = 0 20 | extra_perimeters = 1 21 | extruder_clearance_height = 20 22 | extruder_clearance_radius = 20 23 | extruder_offset = 0x0 24 | extrusion_axis = E 25 | extrusion_multiplier = 1 26 | extrusion_width = 0 27 | fan_always_on = 0 28 | fan_below_layer_time = 60 29 | filament_diameter = 1.75 30 | fill_angle = 45 31 | fill_density = 40% 32 | fill_pattern = honeycomb 33 | first_layer_acceleration = 0 34 | first_layer_bed_temperature = 50 35 | first_layer_extrusion_width = 200% 36 | first_layer_height = 0.4 37 | first_layer_speed = 30% 38 | first_layer_temperature = 220 39 | g0 = 0 40 | gap_fill_speed = 20 41 | gcode_arcs = 0 42 | gcode_comments = 0 43 | gcode_flavor = reprap 44 | infill_acceleration = 0 45 | infill_every_layers = 10 46 | infill_extruder = 1 47 | infill_extrusion_width = 0 48 | infill_first = 0 49 | infill_only_where_needed = 0 50 | infill_speed = 60 51 | interface_shells = 0 52 | layer_gcode = 53 | layer_height = 0.3 54 | max_fan_speed = 100 55 | min_fan_speed = 35 56 | min_print_speed = 10 57 | min_skirt_length = 0 58 | notes = 59 | nozzle_diameter = 0.4 60 | only_retract_when_crossing_perimeters = 1 61 | ooze_prevention = 0 62 | output_filename_format = [input_filename_base].gcode 63 | overhangs = 1 64 | perimeter_acceleration = 0 65 | perimeter_extruder = 1 66 | perimeter_extrusion_width = 0 67 | perimeter_speed = 30 68 | perimeters = 3 69 | post_process = 70 | print_center = 127,127 71 | raft_layers = 0 72 | resolution = 0 73 | retract_before_travel = 2 74 | retract_layer_change = 1 75 | retract_length = 1 76 | retract_length_toolchange = 10 77 | retract_lift = 0 78 | retract_restart_extra = 0 79 | retract_restart_extra_toolchange = 0 80 | retract_speed = 30 81 | seam_position = aligned 82 | skirt_distance = 6 83 | skirt_height = 1 84 | skirts = 1 85 | slowdown_below_layer_time = 30 86 | small_perimeter_speed = 30 87 | solid_fill_pattern = rectilinear 88 | solid_infill_below_area = 70 89 | solid_infill_every_layers = 0 90 | solid_infill_extrusion_width = 0 91 | solid_infill_speed = 60 92 | spiral_vase = 0 93 | standby_temperature_delta = -5 94 | start_gcode = G28 ; home all axes\nG1 Z5 F5000 ; lift nozzle\n 95 | support_material = 0 96 | support_material_angle = 0 97 | support_material_enforce_layers = 0 98 | support_material_extruder = 1 99 | support_material_extrusion_width = 0 100 | support_material_interface_extruder = 1 101 | support_material_interface_layers = 3 102 | support_material_interface_spacing = 0 103 | support_material_interface_speed = 100% 104 | support_material_pattern = pillars 105 | support_material_spacing = 2.5 106 | support_material_speed = 60 107 | support_material_threshold = 0 108 | temperature = 200 109 | thin_walls = 1 110 | threads = 2 111 | toolchange_gcode = 112 | top_infill_extrusion_width = 0 113 | top_solid_infill_speed = 50 114 | top_solid_layers = 3 115 | travel_speed = 130 116 | use_firmware_retraction = 0 117 | use_relative_e_distances = 0 118 | vibration_limit = 0 119 | wipe = 0 120 | z_offset = 0 121 | 122 | 123 | 124 | -------------------------------------------------------------------------------- /common/dot_ansiweatherrc: -------------------------------------------------------------------------------- 1 | fetch_cmd:ftp -V -o - 2 | units:metric 3 | #forecast:5 4 | geo_api_url:geo.qbit.io/json 5 | geo_api_proto:http 6 | symbols:true 7 | daylight:true 8 | 9 | # Icons 10 | sun:\033[33;1m\xe2\x98\x80 11 | moon:\033[36m\xe2\x98\xbd 12 | clouds:\033[37;1m\xe2\x98\x81 13 | rain:\xe2\x98\x94 14 | fog:\033[37;1m\xe2\x96\x92 15 | mist:\033[34m\xe2\x96\x91 16 | haze:\033[33m\xe2\x96\x91 17 | snow:\033[37;1m\xe2\x9d\x84 18 | thunderstorm:\xe2\x9a\xa1 19 | -------------------------------------------------------------------------------- /common/dot_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_background.png -------------------------------------------------------------------------------- /common/dot_cgorc: -------------------------------------------------------------------------------- 1 | # start URI 2 | start_uri gopher://cobug.org:70/ 3 | 4 | # commands 5 | cmd_text less 6 | cmd_browser browser 7 | cmd_image feh 8 | cmd_player mpv 9 | 10 | # colors 11 | color_prompt 1;34 12 | color_selector 1;32 13 | 14 | bookmark1 gopher://gopher.floodgap.com:70/ 15 | bookmark2 gopher://devio.us:70/ 16 | -------------------------------------------------------------------------------- /common/dot_conkyrc: -------------------------------------------------------------------------------- 1 | mpd_host 127.0.0.1 2 | mpd_port 6600 3 | background no 4 | #border_width 235 5 | #border_height 150 6 | maximum_width 235 7 | use_xft yes 8 | xftfont aqua:size=9 9 | double_buffer yes 10 | update_interval 2 11 | alignment top_left 12 | gap_x 10 13 | gap_y 20 14 | no_buffers yes 15 | pad_percents 1 16 | draw_shades yes 17 | 18 | TEXT 19 | ${color #ffcb48}BATTERY:$color ${execi 200 ~/bin/battery}% 20 | ${color #78af78}${execibar 200 ~/bin/battery} 21 | 22 | ${color #ffcb48}CPU:$color $cpu% 23 | 24 | # cpugraph (cpuN) (height),(width) (gradient colour 1) (gradient colour 2) (scale) (-t) (-l) 25 | ${color #78af78}${cpugraph 78af78 a3a3a3 -t} 26 | ${color #98c2c7}NAME${goto 80}PID${goto 120} CPU%${goto 190}MEM% 27 | ${color #e5e5e5}${top name 1}${goto 80}${top pid 1}${goto 120}${top cpu 1}${goto 190}${top mem 1} 28 | ${color #c4c4c4}${top name 2}${goto 80}${top pid 2}${goto 120}${top cpu 2}${goto 190}${top mem 2} 29 | ${color #a3a3a3}${top name 3}${goto 80}${top pid 3}${goto 120}${top cpu 3}${goto 190}${top mem 3} 30 | ${color #828282}${top name 4}${goto 80}${top pid 4}${goto 120}${top cpu 4}${goto 190}${top mem 4} 31 | 32 | ${color #ffcb48}MEMORY:$color 33 | 34 | ${color #98c2c7}RAM:$color $memperc% ${color #78af78}${membar 6}${color} 35 | ${color #98c2c7}Swap:$color $swapperc% ${color #78af78}${swapbar 6}$color 36 | 37 | ${color #ffcb48}NET:$color iwm0 38 | ${color #98c2c7}DOWN: ${color #ffffff}${downspeed iwm0} ${color #98c2c7}UP: ${color #ffffff}${upspeed iwm0} 39 | ${color #98c2c7}${downspeedgraph iwm0 25,100 78af78 a3a3a3} ${color #98c2c7}${upspeedgraph iwm0 25,100 78af78 a3a3a3} 40 | ${color #98c2c7}TOTAL: ${color #ffffff}${totaldown iwm0} ${color #98c2c7}TOTAL: ${color #ffffff}${totalup iwm0} 41 | 42 | ${color #ffcb48}DISK:$color 43 | 44 | ${color #e5e5e5}/home$color${goto 80}${fs_used_perc /home}%${goto 120}${color #78af78}${fs_bar 6 /home}$color 45 | ${color #e5e5e5}/usr/ports$color${goto 80}${fs_used_perc /usr/ports}%${goto 120}${color #78af78}${fs_bar 6 /usr/ports}$color 46 | ${color #e5e5e5}/usr/obj$color${goto 80}${fs_used_perc /usr/obj}%${goto 120}${color #78af78}${fs_bar 6 /usr/obj}$color 47 | 48 | ${if_mpd_playing} 49 | ${color #ffcb48}MUSIC:${color} 50 | 51 | ${color #e5e5e5}${mpd_smart} 52 | ${color #78af78}${mpd_bar}$color 53 | ${color #828282}Random:${goto 80}${mpd_random} 54 | Repeat:${goto 80}${mpd_repeat} 55 | ${endif} 56 | -------------------------------------------------------------------------------- /common/dot_cura/14.11-RC7/mru_filelist.ini: -------------------------------------------------------------------------------- 1 | [ModelMRU] 2 | file1=/home/qbit/Downloads/TopLeftCase.STL 3 | file2=/home/qbit/Downloads/TopRightCase.STL 4 | file3=/home/qbit/Downloads/Spare_Core_Relay_Shield_Enclosure/RelayBoxTop.STL 5 | file4=/home/qbit/Downloads/Spare_Core_Relay_Shield_Enclosure/RelayBoxBottom.STL 6 | file5=/home/qbit/Downloads/Customizable_Multi_Stand/Nexus7rest-1.stl 7 | file6=/home/qbit/Downloads/Customizable_Multi_Stand/Nexus7Lid.stl 8 | file7=/home/qbit/Downloads/Headphone_Holder/sennheiserstand1.stl 9 | file8=/home/qbit/Downloads/Headphone_Holder/sennheiserstand2.STL 10 | file9=/home/qbit/Downloads/buckle.stl 11 | file10=/usr/local/lib/python2.7/site-packages/Cura/resources/example/UltimakerRobot_support.stl 12 | [ProfileMRU] 13 | file1=/home/qbit/PLAHeatedBed-Stable.ini 14 | file2= 15 | file3= 16 | file4= 17 | file5= 18 | file6= 19 | file7= 20 | file8= 21 | file9= 22 | file10= 23 | -------------------------------------------------------------------------------- /common/dot_cura/14.11-RC7/preferences.ini: -------------------------------------------------------------------------------- 1 | [preference] 2 | startmode = Normal 3 | oneatatime = True 4 | lastfile = /home/qbit/Downloads/TopLeftCase.STL 5 | save_profile = False 6 | filament_cost_kg = 0 7 | filament_cost_meter = 0 8 | auto_detect_sd = True 9 | check_for_updates = True 10 | submit_slice_information = True 11 | youmagine_token = 12 | filament_physical_density = 1240 13 | language = English 14 | active_machine = 0 15 | model_colour = #FFC924 16 | model_colour2 = #CB3030 17 | model_colour3 = #DDD93C 18 | model_colour4 = #4550D3 19 | printing_window = Basic 20 | window_maximized = True 21 | window_pos_x = -1 22 | window_pos_y = -1 23 | window_width = -1 24 | window_height = -1 25 | window_normal_sash = 320 26 | last_run_version = 14.11-RC7 27 | 28 | [machine_0] 29 | machine_name = RigidBot 30 | machine_type = RigidBot 31 | machine_width = 254 32 | machine_depth = 254 33 | machine_height = 254 34 | machine_center_is_zero = False 35 | machine_shape = Square 36 | ultimaker_extruder_upgrade = False 37 | has_heated_bed = True 38 | gcode_flavor = RepRap (Marlin/Sprinter) 39 | extruder_amount = 1 40 | extruder_offset_x1 = 0.0 41 | extruder_offset_y1 = 21.6 42 | extruder_offset_x2 = 0.0 43 | extruder_offset_y2 = 0.0 44 | extruder_offset_x3 = 0.0 45 | extruder_offset_y3 = 0.0 46 | steps_per_e = 0 47 | serial_port = AUTO 48 | serial_port_auto = 49 | serial_baud = AUTO 50 | serial_baud_auto = 51 | extruder_head_size_min_x = 0.0 52 | extruder_head_size_min_y = 0.0 53 | extruder_head_size_max_x = 0.0 54 | extruder_head_size_max_y = 0.0 55 | extruder_head_size_height = 0.0 56 | 57 | -------------------------------------------------------------------------------- /common/dot_cura/15.04.5-RC5/mru_filelist.ini: -------------------------------------------------------------------------------- 1 | [ModelMRU] 2 | file1=/home/qbit/Downloads/usb_armory_case-round_edge.stl 3 | file2= 4 | file3= 5 | file4= 6 | file5= 7 | file6= 8 | file7= 9 | file8= 10 | file9= 11 | file10= 12 | -------------------------------------------------------------------------------- /common/dot_cura/15.04.5-RC5/preferences.ini: -------------------------------------------------------------------------------- 1 | [preference] 2 | startmode = Normal 3 | simplemodeprofile = Fast print 4 | simplemodematerial = PLA 5 | simplemodenozzle = 6 | simplemodeplatformadhesion = 1 7 | oneatatime = True 8 | lastfile = /home/qbit/Downloads/usb_armory_case-round_edge.stl 9 | save_profile = False 10 | filament_cost_kg = 0 11 | filament_cost_meter = 0 12 | auto_detect_sd = True 13 | sdcard_rootfolder = /home/qbit/ 14 | check_for_updates = True 15 | submit_slice_information = False 16 | youmagine_token = 17 | filament_physical_density = 1240 18 | language = English 19 | active_machine = 1 20 | model_colour = #FFC924 21 | model_colour2 = #CB3030 22 | model_colour3 = #DDD93C 23 | model_colour4 = #4550D3 24 | printing_window = Basic 25 | window_maximized = True 26 | window_pos_x = -1 27 | window_pos_y = -1 28 | window_width = -1 29 | window_height = -1 30 | window_normal_sash = 320 31 | last_run_version = 15.04.5-RC5 32 | 33 | [machine_0] 34 | machine_name = RigidBot 35 | machine_type = RigidBot 36 | machine_width = 254 37 | machine_depth = 254 38 | machine_height = 254 39 | machine_center_is_zero = False 40 | machine_shape = Square 41 | ultimaker_extruder_upgrade = False 42 | has_heated_bed = True 43 | gcode_flavor = RepRap (Marlin/Sprinter) 44 | extruder_amount = 1 45 | extruder_offset_x1 = 0.0 46 | extruder_offset_y1 = 21.6 47 | extruder_offset_x2 = 0.0 48 | extruder_offset_y2 = 0.0 49 | extruder_offset_x3 = 0.0 50 | extruder_offset_y3 = 0.0 51 | extruder_offset_x4 = 0.0 52 | extruder_offset_y4 = 0.0 53 | steps_per_e = 0 54 | serial_port = AUTO 55 | serial_port_auto = 56 | serial_baud = AUTO 57 | serial_baud_auto = 58 | extruder_head_size_min_x = 0.0 59 | extruder_head_size_min_y = 0.0 60 | extruder_head_size_max_x = 0.0 61 | extruder_head_size_max_y = 0.0 62 | extruder_head_size_height = 0.0 63 | 64 | [machine_1] 65 | machine_name = ReprapLibro 66 | machine_type = RepRap 67 | machine_width = 150 68 | machine_depth = 150 69 | machine_height = 150 70 | machine_center_is_zero = True 71 | machine_shape = Circular 72 | ultimaker_extruder_upgrade = False 73 | has_heated_bed = False 74 | gcode_flavor = RepRap (Marlin/Sprinter) 75 | extruder_amount = 1 76 | extruder_offset_x1 = 0.0 77 | extruder_offset_y1 = 21.6 78 | extruder_offset_x2 = 0.0 79 | extruder_offset_y2 = 0.0 80 | extruder_offset_x3 = 0.0 81 | extruder_offset_y3 = 0.0 82 | extruder_offset_x4 = 0.0 83 | extruder_offset_y4 = 0.0 84 | steps_per_e = 0 85 | serial_port = AUTO 86 | serial_port_auto = 87 | serial_baud = AUTO 88 | serial_baud_auto = 89 | extruder_head_size_min_x = 0.0 90 | extruder_head_size_min_y = 0.0 91 | extruder_head_size_max_x = 0.0 92 | extruder_head_size_max_y = 0.0 93 | extruder_head_size_height = 0.0 94 | 95 | -------------------------------------------------------------------------------- /common/dot_cvsrc: -------------------------------------------------------------------------------- 1 | #cvs -q -dqbit@10.0.1.99:/cvs 2 | #cvs -q -danoncvs@anoncvs1.usa.openbsd.org:/cvs 3 | #cvs -q -dabieber@cvs.openbsd.org:/cvs 4 | #cvs -q -danoncvs@anoncvs3.usa.openbsd.org:/cvs 5 | cvs -q -danoncvs@obsdacvs.cs.toronto.edu:/cvs 6 | diff -upN 7 | update -Pd 8 | checkout -P 9 | -------------------------------------------------------------------------------- /common/dot_cwmrc: -------------------------------------------------------------------------------- 1 | sticky yes 2 | gap 18 1 1 1 3 | snapdist 10 4 | 5 | ignore dock 6 | ignore menu 7 | ignore panel 8 | 9 | fontname "Go Regular:pixelsize=13" 10 | 11 | borderwidth 2 12 | color activeborder "#99aab9" 13 | color font "#eeeeff" 14 | color inactiveborder "#000000" 15 | color menubg "#798a99" 16 | color menufg "#eeeeff" 17 | color urgencyborder "red" 18 | 19 | command "Browser" "~/bin/browser" 20 | command "Terminal" "/usr/X11R6/bin/xterm" 21 | command "Emacs" "/usr/local/bin/emacs" 22 | 23 | # make emacs usable again 24 | unbind-key C-slash 25 | unbind-key CM-f 26 | unbind-key CM-a 27 | unbind-key CM-h 28 | unbind-key CM-j 29 | unbind-key CM-k 30 | unbind-key CM-l 31 | unbind-key M-period 32 | unbind-key M-h 33 | unbind-key M-j 34 | unbind-key M-k 35 | unbind-key M-l 36 | 37 | bind-key M-r "rofi -show run" 38 | bind-key MS-r restart 39 | bind-key MS-n "mpcc next" 40 | bind-key MS-p "mpcc toggle" 41 | bind-key MS-i "/home/qbit/.screenlayout/internal.sh" 42 | bind-key MS-e "/home/qbit/.screenlayout/external.sh" 43 | bind-key MS-equal window-vtile 44 | bind-key M-equal window-htile 45 | bind-key MC-l lock 46 | 47 | unbind-key C-slash 48 | 49 | autogroup 1 "chromium-browser,Chromium-browser" 50 | autogroup 1 "Navigator,Firefox" 51 | autogroup 1 "Xephyr" 52 | autogroup 2 "xterm,XTerm" 53 | autogroup 3 "emacs,Emacs" 54 | autogroup 4 "drawterm,DrawTerm" 55 | autogroup 5 "jetbrains-goland,jetbrains-goland" 56 | autogroup 9 "xconsole,XConsole" 57 | 58 | bind-mouse MS-1 menu-window 59 | bind-mouse M-3 window-resize 60 | -------------------------------------------------------------------------------- /common/dot_distfile: -------------------------------------------------------------------------------- 1 | HOSTS = ( localhost qbit.io ) 2 | FILES = ( /home/qbit/patches ) 3 | 4 | ${FILES} -> ${HOSTS} 5 | install -ochknfs ; 6 | -------------------------------------------------------------------------------- /common/dot_ebrc: -------------------------------------------------------------------------------- 1 | # .ebrc: sample configuration file for edbrowse version 3.7.3 2 | 3 | downdir = /home/qbit/Downloads 4 | jar = /home/qbit/.eb/cookies 5 | 6 | agent = Lynx/2.8.4rel.1 libwww-FM/2.14 7 | agent = Mozilla/4.0 (compatible; MSIE 5.5; Windows 98; Win 9x 4.90) 8 | 9 | webtimer = 30 10 | mailtimer = 180 11 | 12 | plugin { 13 | type = audio/basic 14 | desc = audio file in a wave format 15 | suffix = wav,voc,au,ogg 16 | content = audio/x-wav 17 | # %i is the temp input file generated by edbrowse, or the url 18 | program = aucat %i 19 | } 20 | 21 | plugin { 22 | type = audio/mp3 23 | desc = audio file in mp3 format 24 | suffix = mp3 25 | content = audio/mpeg 26 | program = mpg123 -q -C %i 27 | } 28 | 29 | plugin { 30 | type = audio/x-pn-realaudio 31 | desc = streaming audio 32 | protocol = rtsp,pnm,sdp 33 | suffix = rm,ra,ram,m3u8 34 | urlmatch = youtube.com/watch?|youtube.com/embed/ 35 | content = audio/x-scpls,application/pls+xml 36 | program = /usr/local/bin/mpv --really-quiet --load-unsafe-playlists %i 37 | } 38 | 39 | function+dd{ 40 | b https://duckduckgo.com 41 | /<>/ i=~0 42 | /" and math characters to align with hyphen 25 | - Modified design of Cyrillic "ze" to better distinguish it from "3" 26 | - Modified 12ppm and 13ppm "m" bitmap so it does not touch adjacent glyphs 27 | - Corrected asymmetrical parentheses in 13ppm bitmaps 28 | - Corrected missing encoding of .null and CR 29 | - Added installation instructions for Linux to README.txt 30 | 31 | 9 October 2009 (Mark Simonson) Anonymous Pro Version 1.001 32 | - Lowered comma and comma portion of semicolon for better legibility 33 | - Tweaked design of quotesinglbase and quotedblbase 34 | - Tweaked bitmaps for period and other "dot" punctuation for better legibility 35 | - Fixed bad value in CVT that caused uneven cap height at some sizes on Windows 36 | - Corrected 13ppem bitmaps for omicrontonos 37 | - Switched to the SIL Open Font License (OFL) 38 | - Created FONTLOG and new README file 39 | 40 | 10 June 2009 (Mark Simonson) Anonymous Pro Version 1.0 41 | - Initial release of Anonymous Pro fonts 42 | 43 | ACKNOWLEDGEMENTS 44 | 45 | Thanks to Susan Lesch and David Lamkins for creating the Anonymous 9 Macintosh bitmap font (1991-1994), the basis for the TrueType fonts Anonymous™ and its successor, Anonymous Pro. -------------------------------------------------------------------------------- /common/dot_fonts/OFL.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2009, Mark Simonson (http://www.ms-studio.com, mark@marksimonson.com), 2 | with Reserved Font Name Anonymous Pro. 3 | 4 | This Font Software is licensed under the SIL Open Font License, Version 1.1. 5 | This license is copied below, and is also available with a FAQ at: 6 | http://scripts.sil.org/OFL 7 | 8 | 9 | ----------------------------------------------------------- 10 | SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 11 | ----------------------------------------------------------- 12 | 13 | PREAMBLE 14 | The goals of the Open Font License (OFL) are to stimulate worldwide 15 | development of collaborative font projects, to support the font creation 16 | efforts of academic and linguistic communities, and to provide a free and 17 | open framework in which fonts may be shared and improved in partnership 18 | with others. 19 | 20 | The OFL allows the licensed fonts to be used, studied, modified and 21 | redistributed freely as long as they are not sold by themselves. The 22 | fonts, including any derivative works, can be bundled, embedded, 23 | redistributed and/or sold with any software provided that any reserved 24 | names are not used by derivative works. The fonts and derivatives, 25 | however, cannot be released under any other type of license. The 26 | requirement for fonts to remain under this license does not apply 27 | to any document created using the fonts or their derivatives. 28 | 29 | DEFINITIONS 30 | "Font Software" refers to the set of files released by the Copyright 31 | Holder(s) under this license and clearly marked as such. This may 32 | include source files, build scripts and documentation. 33 | 34 | "Reserved Font Name" refers to any names specified as such after the 35 | copyright statement(s). 36 | 37 | "Original Version" refers to the collection of Font Software components as 38 | distributed by the Copyright Holder(s). 39 | 40 | "Modified Version" refers to any derivative made by adding to, deleting, 41 | or substituting -- in part or in whole -- any of the components of the 42 | Original Version, by changing formats or by porting the Font Software to a 43 | new environment. 44 | 45 | "Author" refers to any designer, engineer, programmer, technical 46 | writer or other person who contributed to the Font Software. 47 | 48 | PERMISSION & CONDITIONS 49 | Permission is hereby granted, free of charge, to any person obtaining 50 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 51 | redistribute, and sell modified and unmodified copies of the Font 52 | Software, subject to the following conditions: 53 | 54 | 1) Neither the Font Software nor any of its individual components, 55 | in Original or Modified Versions, may be sold by itself. 56 | 57 | 2) Original or Modified Versions of the Font Software may be bundled, 58 | redistributed and/or sold with any software, provided that each copy 59 | contains the above copyright notice and this license. These can be 60 | included either as stand-alone text files, human-readable headers or 61 | in the appropriate machine-readable metadata fields within text or 62 | binary files as long as those fields can be easily viewed by the user. 63 | 64 | 3) No Modified Version of the Font Software may use the Reserved Font 65 | Name(s) unless explicit written permission is granted by the corresponding 66 | Copyright Holder. This restriction only applies to the primary font name as 67 | presented to the users. 68 | 69 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 70 | Software shall not be used to promote, endorse or advertise any 71 | Modified Version, except to acknowledge the contribution(s) of the 72 | Copyright Holder(s) and the Author(s) or with their explicit written 73 | permission. 74 | 75 | 5) The Font Software, modified or unmodified, in part or in whole, 76 | must be distributed entirely under this license, and must not be 77 | distributed under any other license. The requirement for fonts to 78 | remain under this license does not apply to any document created 79 | using the Font Software. 80 | 81 | TERMINATION 82 | This license becomes null and void if any of the above conditions are 83 | not met. 84 | 85 | DISCLAIMER 86 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 87 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 88 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 89 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 90 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 91 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 92 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 93 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 94 | OTHER DEALINGS IN THE FONT SOFTWARE. 95 | -------------------------------------------------------------------------------- /common/dot_fonts/README.txt: -------------------------------------------------------------------------------- 1 | Anonymous Pro 2 | 3 | General Information and History 4 | 5 | Anonymous Pro is a family of four fixed-width fonts designed especially with coding in mind. Characters that could be mistaken for one another (O, 0, I, l, 1, etc.) have distinct shapes to make them easier to tell apart in the context of source code. 6 | 7 | Anonymous Pro also features an international, Unicode-based character set, with support for most Western and European Latin-based languages, Greek, and Cyrillic. It also includes special "box drawing" characters for those who need them. 8 | 9 | While Anonymous Pro looks great on Macs and Windows PCs with antialiasing enabled, it also includes embedded bitmaps for specific pixel sizes ("ppems" in font nerd speak) for both the regular and bold weight. (Since slanted bitmaps look pretty bad and hard to read at the supported sizes, I chose to use the upright bitmaps for the italics as well.) Bitmaps are included for these ppems: 10, 11, 12, and 13. See the usage notes below for info on what point sizes these ppems correspond to on Mac and Windows. 10 | 11 | Anonymous Pro is based on an earlier font, Anonymous™, which was my TrueType version of Anonymous 9, a freeware Macintosh bitmap font developed in the mid-'90s by Susan Lesch and David Lamkins. The bitmap version was intended as a more legible alternative to Monaco, the fixed-width Macintosh system font. 12 | 13 | Anonymous Pro differs from Anonymous™ and Anonymous 9 in a few key characters. While the earlier fonts had a one-story lowercase "a" like Monaco, Anonymous Pro features a two-story lowercase "a" to help distinguish it from the "o". In the earlier fonts, the slashed zero, designed to look different than the capital "O", goes the "wrong" way compared to most fonts that have this feature. Susan and David did this intentionally to distinguish it from the slashed capital "Ø" used in some languages. Some people thought this looked odd, so I put it the "right" way, and distinguish it from the "Ø" by keeping the slash inside the character. 14 | 15 | Another significant change was to adjust the size of the characters in relation to the point size. Anonymous™ was approximately two sizes larger than comparable fonts at the same point size. This was in keeping with the old Monaco font, but can be annoying when switching between fonts. Anonymous Pro has been adjusted so that it appears about the same size as comparable fonts set at the same point size. If you have been using Anonymous™, you will need to increase the point size to get the same appearance. 16 | 17 | Finally, unlike Anonymous™, Anonymous Pro is available in one universal TrueType format that will work on Mac OS X, Windows, and Linux. (If you're running a pre-OS X Mac, the new fonts are not compatible, but Anonymous™ will still work.) 18 | 19 | Anonymous Pro is distributed with the Open Font License (OFL). 20 | 21 | USAGE NOTES 22 | 23 | I recommend disabling antialiasing for Anonymous Pro ONLY if you intend to use the sizes which have embedded bitmaps. The fonts simply don't have the kind of high-quality TrueType hints needed for them to display well at other sizes without antialiasing. Here are some OS-specific recommendations: 24 | 25 | MacOS: 26 | 27 | Anonymous Pro will display using Quartz antialiasing unless you disable it system-wide in the Appearance panel or in specific apps that allow it (BBEdit, TextMate, Terminal, Coda, etc.). Bitmaps will be used at the following point sizes: 10, 11, 12, and 13. Note that the 13-point bitmaps are not available when using the system-wide antialiasing suppression, which only works for 12-point text or smaller. 28 | 29 | If you use TextMate, be sure to use version 1.5.8 (1505) or later. There was a bug which misinterpreted the line height when embedded bitmaps are present in a TTF font. (Thanks, Allan, for fixing this!) 30 | 31 | Windows: 32 | 33 | It's best to enable "font smoothing" (Control Panel > Display Properties > Appearance > Effects...). When font smoothing is set to "Standard", the embedded bitmaps will automatically be used for the following point sizes: 7, 8, 9, and 10. For other sizes, or if you prefer non-jagged type, "ClearType" is the best choice. 34 | 35 | Linux: 36 | 37 | From all reports, Anonymous Pro displays well on Linux systems. Here are installation instructions, kindly provided by a Linux user: 38 | 39 | Copy the *.ttf files to a font directory such as 40 | ~/.fonts or /usr/share/fonts/ttf. The exact location depends on your 41 | distribution. See /etc/fonts/fonts.conf for details if unsure. 42 | 43 | Run fc-cache using the command: 'sudo fc-cache -f' 44 | 45 | 46 | OTHER INFORMATION 47 | 48 | See "FONTLOG for Anonymous Pro.txt" for the changelog, credits, etc. 49 | 50 | Mark Simonson 51 | September 8, 2010 52 | Mark Simonson Studio LLC 53 | http://www.ms-studio.com 54 | mark@marksimonson.com 55 | 56 | -------------------------------------------------------------------------------- /common/dot_gitconfig: -------------------------------------------------------------------------------- 1 | [user] 2 | email = aaron@bolddaemon.com 3 | name = Aaron Bieber 4 | 5 | [alias] 6 | graph = log --graph --color=never --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset' 7 | log = log --color=never 8 | lg = log --color=never --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- 9 | mpull = !git remote | xargs -I '{}' git pull '{}' master 10 | mpush = !git remote | xargs -I '{}' git push '{}' master 11 | mup = !git remote update 12 | pus = !git pull upstream master 13 | rmdel = !git rm `git ls-files --deleted` 14 | s2b = "!f() { git stash branch $1 stash@{0}; }; f" 15 | sapply = "!f() { git stash apply stash^{/$*}; }; f" 16 | sshow = "!f() { git stash show stash^{/$*} -p; }; f" 17 | upsync = !cvs up && gitsync && git commit -m 'sync' 18 | ustatus = ls-files --others --exclude-standard 19 | 20 | [push] 21 | default = simple 22 | [color] 23 | branch = false 24 | diff = true 25 | interactive = false 26 | log = false 27 | status = false 28 | ui = false 29 | 30 | [core] 31 | deltaBaseCacheLimit = 1G 32 | [http] 33 | cookiefile = /home/qbit/.gitcookies 34 | [transfer] 35 | fsckobjects = true 36 | [fetch] 37 | fsckobjects = true 38 | [gpg] 39 | program = gpg2 40 | 41 | [filter "lfs"] 42 | clean = git-lfs clean -- %f 43 | process = git-lfs filter-process 44 | required = true 45 | smudge = git-lfs smudge -- %f 46 | [commit] 47 | gpgsign = false 48 | [github] 49 | user = qbit 50 | 51 | [sendemail] 52 | smtpserver = mail.messagingengine.com 53 | smtpuser = qbit@fastmail.com 54 | smtpAuth = PLAIN 55 | smtpEncryption = tls 56 | smtpserverport = 587 57 | cc = aaron@bolddaemon.com 58 | confirm = auto 59 | 60 | [include] 61 | path = ~/work/git/gitconfig 62 | 63 | [credential] 64 | helper = netrc 65 | -------------------------------------------------------------------------------- /common/dot_gnupg/gpg-agent.conf: -------------------------------------------------------------------------------- 1 | #enable-ssh-support 2 | #pinentry-program /usr/local/bin/pinentry-gnome3 3 | pinentry-program /usr/local/bin/pinentry-gtk-2 4 | default-cache-ttl 60 5 | max-cache-ttl 120 6 | -------------------------------------------------------------------------------- /common/dot_gnupg/gpg.conf: -------------------------------------------------------------------------------- 1 | # Me 2 | default-key 0x1F81112D62A9ADCE 3 | 4 | # Always run things in armor 5 | armor 6 | 7 | # UI options 8 | keyid-format 0xlong 9 | no-comments 10 | no-greeting 11 | no-emit-version 12 | display-charset utf-8 13 | fixed-list-mode 14 | list-options show-uid-validity show-usage 15 | with-fingerprint 16 | enable-progress-filter 17 | 18 | # Always recipient default key 19 | default-recipient-self 20 | 21 | #require-secmem 22 | auto-key-locate keyserver 23 | #keyserver hkps://hkps.pool.sks-keyservers.net 24 | #keyserver-options no-honor-keyserver-url 25 | #keyserver hkps://pgp.mit.edu 26 | keyserver hkps://keys.openpgp.org 27 | 28 | # Key generation 29 | default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed 30 | personal-cipher-preferences AES256 AES192 AES CAST5 TWOFISH 31 | 32 | cert-digest-algo SHA512 33 | digest-algo SHA512 34 | personal-digest-preferences SHA512 SHA384 SHA256 SHA224 35 | 36 | compress-algo ZLIB 37 | personal-compress-preferences ZLIB BZIP2 ZIP 38 | 39 | # Tell s2k to really crank um out 40 | s2k-count 65011712 41 | s2k-cipher-algo AES256 42 | s2k-digest-algo SHA512 43 | 44 | no-random-seed-file 45 | 46 | verify-options show-uid-validity 47 | use-agent 48 | 49 | # Default, but feelgoods 50 | force-mdc 51 | -------------------------------------------------------------------------------- /common/dot_gnupg/scdaemon.conf: -------------------------------------------------------------------------------- 1 | reader-port Yubico Yubikey 2 | -------------------------------------------------------------------------------- /common/dot_gtkrc-2.0: -------------------------------------------------------------------------------- 1 | # -- THEME AUTO-WRITTEN DO NOT EDIT 2 | include "/usr/local/share/themes/Emacs/gtk-2.0/gtkrc" 3 | 4 | include "/home/qbit/.gtkrc.mine" 5 | 6 | # -- THEME AUTO-WRITTEN DO NOT EDIT 7 | -------------------------------------------------------------------------------- /common/dot_hgrc: -------------------------------------------------------------------------------- 1 | [ui] 2 | username = Aaron Bieber 3 | -------------------------------------------------------------------------------- /common/dot_irbrc: -------------------------------------------------------------------------------- 1 | require 'interactive_editor' 2 | 3 | ARGV.concat [ "--readline" ] 4 | 5 | IRB.conf[:SAVE_HISTORY] = 1000 6 | IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb_history" 7 | 8 | def clear() 9 | system('clear') 10 | end 11 | 12 | alias vi :vim 13 | -------------------------------------------------------------------------------- /common/dot_keepass/KeePass.XmlSerializers.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_keepass/KeePass.XmlSerializers.dll -------------------------------------------------------------------------------- /common/dot_keepass/KeePass.chm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_keepass/KeePass.chm -------------------------------------------------------------------------------- /common/dot_keepass/KeePass.config.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | false 5 | true 6 | 7 | 8 | 2013-07-29T15:33:10Z 9 | 10 | ../../../../Main.kdbx 11 | Obf 12 | NoSave 13 | 14 | 15 | 12 16 | 17 | 18 | ../../../../Main.kdbx 19 | Obf 20 | NoSave 21 | 22 | 23 | 24 | 25 | Database@../../../../../qbit 26 | 27 | 28 | true 29 | true 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 1 40 | 14 41 | 2566 42 | 1452 43 | 0.8307579 44 | 0.248240814 45 | Default 46 | true 47 | false 48 | 49 | 50 | 51 | 52 | 53 | Title 54 | 249 55 | 56 | 57 | UserName 58 | 284 59 | 60 | 61 | Password 62 | 106 63 | true 64 | 65 | 66 | Url 67 | 106 68 | 69 | 70 | Notes 71 | 106 72 | 73 | 74 | 0 1 2 3 4 75 | 76 | Ascending 77 | 78 | 79 | 80 | 81 | 82 | false 83 | 84 | 85 | DejaVu Sans 86 | 9 87 | Point 88 | 89 | true 90 | 91 | 92 | Anonymous Pro 93 | 10 94 | Point 95 | 96 | true 97 | 98 | WinVistaBlack 99 | 100 | Microsoft Sans Serif 101 | 8.25 102 | Point 103 | 104 | false 105 | 106 | 0 107 | 0 108 | 0 109 | 110 | 111 | 112 | 300 113 | 0 114 | 115 | 116 | 117 | 0 118 | 0 119 | 120 | 121 | 122 | 123 | 124 | CharSet 125 | 20 126 | ULD_______ 127 | 128 | 129 | CharSet 130 | 20 131 | ULD_______ 132 | 133 | 134 | 135 | 136 | 2 137 | 138 | InvariantCultureIgnoreCase 139 | 140 | 141 | 142 | 143 | 0 144 | 0 145 | 0 146 | 0 147 | 148 | 1 149 | 150 | 151 | System 152 | 153 | 154 | -------------------------------------------------------------------------------- /common/dot_keepass/KeePass.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_keepass/KeePass.exe -------------------------------------------------------------------------------- /common/dot_keepass/KeePass.exe.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /common/dot_keepass/KeePassLibC32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_keepass/KeePassLibC32.dll -------------------------------------------------------------------------------- /common/dot_keepass/KeePassLibC64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_keepass/KeePassLibC64.dll -------------------------------------------------------------------------------- /common/dot_keepass/ShInstUtil.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_keepass/ShInstUtil.exe -------------------------------------------------------------------------------- /common/dot_keepass/XSL/KDBX_DetailsFull.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | <xsl:value-of select="DatabaseName" /> 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 45 | 46 |
43 | 44 |
47 | 48 | Title:
49 | User Name:
50 | Password:
51 | 52 | URL: 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
62 | 63 | Notes:
64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | : 73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 | 81 | Creation Time:
82 | Last Access Time:
83 | Last Modification Time:
84 | 85 | 86 | Expires: 87 | 88 | 89 | Expires: Never expires 90 | 91 | 92 |

93 | 94 |
95 | 96 |
97 | -------------------------------------------------------------------------------- /common/dot_keepass/XSL/KDBX_DetailsLite.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | <xsl:value-of select="DatabaseName" /> 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 45 | 46 |
43 | 44 |
47 | 48 | Title:
49 | User Name:
50 | Password:
51 | 52 | URL: 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 |
62 | 63 | Notes:
64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | : 73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 | 81 | 82 | Expires: 83 | 84 | 85 |

86 | 87 |
88 | 89 |
90 | -------------------------------------------------------------------------------- /common/dot_keepass/XSL/KDBX_PasswordsOnly.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /common/dot_keepass/XSL/KDBX_Styles.css: -------------------------------------------------------------------------------- 1 | body, p, div, h1, h2, h3, h4, h5, h6, li, ol, ul, td, th, dd, dt { 2 | font-family: Verdana, Helvetica, Arial, sans-serif; 3 | font-size: 12px; 4 | color: #000000; 5 | } 6 | 7 | table.tablebox { 8 | width: 100%; 9 | background-color: #AFB5CF; 10 | font-size: 12px; 11 | margin: 0px 0px 0px 0px; 12 | padding: 0px 0px 0px 0px; 13 | border-left: 1px solid #AFB5CF; 14 | border-right: 0px; 15 | border-top-width: 0px; 16 | border-bottom-width: 0px; 17 | border-collapse: collapse; 18 | } 19 | 20 | td.boxcontent { 21 | background-color: #F0F0F0; 22 | font-family: Verdana, Helvetica, Arial, sans-serif; 23 | color: #000000; 24 | font-weight: normal; 25 | font-size: 12px; 26 | border-bottom: 1px solid #AFB5CF; 27 | border-left: 0px; 28 | border-right: 1px solid #AFB5CF; 29 | border-top: 0px; 30 | padding: 5px 5px 5px 5px; 31 | empty-cells: show; 32 | } 33 | 34 | td.smallboxtitle { 35 | background-color: #EEEEEE; 36 | font-weight: bold; 37 | color: #000000; 38 | font-family: Verdana, Helvetica, Arial, sans-serif; 39 | font-size: 12px; 40 | background: url(TableHeader.gif) repeat-x top; 41 | border-bottom: 1px solid #AFB5CF; 42 | border-left: 0px; 43 | border-right: 1px solid #AFB5CF; 44 | border-top: 1px solid #AFB5CF; 45 | empty-cells: show; 46 | padding: 2px 2px 2px 5px; 47 | } 48 | 49 | a:visited { 50 | text-decoration: none; 51 | color: #0000DD; 52 | font-family: Verdana, Helvetica, Arial, sans-serif; 53 | font-size: 12px; 54 | font-weight: normal; 55 | } 56 | 57 | a:active { 58 | text-decoration: none; 59 | color: #6699FF; 60 | font-family: Verdana, Helvetica, Arial, sans-serif; 61 | font-size: 12px; 62 | font-weight: normal; 63 | } 64 | 65 | a:link { 66 | text-decoration: none; 67 | color: #0000DD; 68 | font-family: Verdana, Helvetica, Arial, sans-serif; 69 | font-size: 12px; 70 | font-weight: normal; 71 | } 72 | 73 | a:hover { 74 | text-decoration: underline; 75 | color: #6699FF; 76 | font-family: Verdana, Helvetica, Arial, sans-serif; 77 | font-size: 12px; 78 | font-weight: normal; 79 | } 80 | 81 | body { 82 | font-family: Verdana, Helvetica, Arial, sans-serif; 83 | background-color: #FFFFFF; 84 | color: #000000; 85 | font-size: 12px; 86 | background-repeat: repeat; 87 | background-attachment: fixed; 88 | } 89 | -------------------------------------------------------------------------------- /common/dot_keepass/XSL/KDBX_Tabular.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | <xsl:value-of select="DatabaseName" /> 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 |
TitleUser NamePasswordURLNotes
37 |
38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 |
78 | -------------------------------------------------------------------------------- /common/dot_keepass/XSL/TableHeader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/common/dot_keepass/XSL/TableHeader.gif -------------------------------------------------------------------------------- /common/dot_kerlrc: -------------------------------------------------------------------------------- 1 | export AUTOCONF_VERSION=2.59 2 | KERL_USE_AUTOCONF=yes 3 | export CC=egcc 4 | export CXX=eg++ 5 | export CFLAGS="" 6 | export MACHINE_ARCH=amd64 7 | 8 | KERL_CONFIGURE_DISABLE_APPLICATIONS="odbc" 9 | KERL_CONFIGURE_OPTIONS=" --without-jinterface \ 10 | --without-odbc \ 11 | --without-javac \ 12 | --enable-threads \ 13 | --enable-kernel-poll \ 14 | --disable-hipe \ 15 | --enable-smp-support" 16 | -------------------------------------------------------------------------------- /common/dot_ksh_paths: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | set -A paths /usr/games \ 4 | ~/dev/go/bin \ 5 | /usr/ports/infrastructure/bin \ 6 | /usr/pkg/bin \ 7 | /usr/pkg/sbin \ 8 | ~/bin \ 9 | ~/.bin \ 10 | ~/go/bin \ 11 | ~/ruby_bin/bin \ 12 | ~/.dcolor \ 13 | ~/.cargo/bin \ 14 | /usr/local/plan9/bin/ 15 | 16 | for d in "${paths[@]}"; do 17 | [[ -d "${d}" ]] && PATH="${PATH}:$d" 18 | done 19 | -------------------------------------------------------------------------------- /common/dot_mailcap: -------------------------------------------------------------------------------- 1 | #text/html; links %s; nametemplate=%s.html 2 | #text/html; links -dump %s; nametemplate=%s.html; copiousoutput 3 | #image/*; feh '%s'; test=test -n "$DISPLAY" 4 | #text/html; luakit '%s' &; test=test -n "$DISPLAY"; needsterminal; 5 | #text/html; w3m -cols 80 -I %{charset} -T text/html; copiousoutput; 6 | -------------------------------------------------------------------------------- /common/dot_mg: -------------------------------------------------------------------------------- 1 | (backup-to-home-directory) 2 | (auto-indent-mode) 3 | (c-mode) 4 | -------------------------------------------------------------------------------- /common/dot_mplayer/config: -------------------------------------------------------------------------------- 1 | # Write your default config options here! 2 | 3 | 4 | -------------------------------------------------------------------------------- /common/dot_mutt.theme: -------------------------------------------------------------------------------- 1 | mono attachment bold 2 | mono body underline "(https?|t?ftp|mailto|gopher|ssh|telnet|finger)://[^ ]+" 3 | mono body underline "[-a-z_0-9.]+@[-a-z_0-9.]+[a-z]" # email addresses 4 | mono body bold "-----Original Message-----" 5 | mono body bold "[;:]-[)/(|]" 6 | mono header none . 7 | mono header bold "^From: " 8 | mono header bold "^Resent-From: " 9 | mono header bold "^To: " 10 | mono header bold "^Subject: " 11 | mono header bold "^Organi[zs]ation: " 12 | mono header bold "^Priority: Urgent" 13 | mono header bold "^Importance: high" 14 | mono index bold '~U' 15 | mono index bold '~F' 16 | #mono indicator reverse 17 | mono signature bold 18 | #mono sidebar_new bold 19 | mono tilde bold 20 | mono tree bold 21 | mono quoted bold 22 | 23 | color normal default default 24 | #color status default color252 25 | color attachment brightdefault default 26 | color body brightdefault default "(http|https|ftp|mailto|gopher|telnet|finger)://[^ ]+" 27 | color body brightdefault default "[-a-z_0-9.]+@[-a-z_0-9.]+[a-z]" 28 | color body brightdefault default "-----Original Message-----" 29 | color body brightdefault default "[;:]-[)/(|]" 30 | color header default default . 31 | color header brightdefault default "^From: " 32 | color header brightdefault default "^Resent-From: " 33 | color header brightdefault default "^To: " 34 | color header brightdefault default "^Subject: " 35 | color header brightdefault default "^Organi[zs]ation: " 36 | color header brightdefault default "^Priority: Urgent" 37 | color header brightdefault default "^Importance: high" 38 | color header brightdefault default '~U' 39 | color header brightdefault default '~F' 40 | color signature brightdefault default 41 | #color sidebar_highlight color247 default 42 | color tilde brightblack default 43 | #color indicator default color252 44 | #color sidebar_indicator default color252 45 | color quoted brightblack default 46 | 47 | color index red default '~F' 48 | color index brightblack default '~D' 49 | color index default default '~U' 50 | color index red default '~z 500000-' 51 | 52 | # make diffs pop 53 | color body brightblack default '^(Index: |\+\+\+ |--- |diff ).*$' 54 | color body red default '^-.*$' 55 | color body green default '^\+.*$' 56 | -------------------------------------------------------------------------------- /common/dot_muttrc: -------------------------------------------------------------------------------- 1 | ignore * 2 | unignore from: subject to cc date x-mailer x-url user-agent 3 | 4 | # Folder hooks 5 | folder-hook 'fm' 'source ~/.mutt.fm.creds' 6 | folder-hook 'cx' 'source ~/.mutt.cx.creds' 7 | folder-hook 'gm' 'source ~/.mutt.gm.creds' 8 | 9 | # Default account 10 | source ~/.mutt.fm.creds 11 | #source ~/.mutt.cx.creds 12 | #source ~/.mutt.gm.creds 13 | 14 | # Macros for switching accounts 15 | macro index 'source ~/.mutt.fm.creds!' 16 | macro index 'source ~/.mutt.cx.creds!' 17 | macro index 'source ~/.mutt.gm.creds!' 18 | 19 | # Macro to mark all as read 20 | # https://brianbuccola.com/how-to-mark-all-emails-as-read-in-mutt/ 21 | macro index A \ 22 | "~NN." \ 23 | "mark all new as read" 24 | 25 | source ~/.mutt.gpg 26 | 27 | set pgp_use_gpg_agent = yes 28 | set pgp_sign_as = 0x1F81112D62A9ADCE 29 | set pgp_timeout = 3600 30 | set crypt_autosign = no 31 | set crypt_replyencrypt = yes 32 | set crypt_verify_sig = yes 33 | 34 | #set editor = "emacsclient -ct" 35 | set editor = "vim" 36 | 37 | set certificate_file = ~/.mutt/certificates 38 | 39 | set mail_check = 120 40 | set mail_check_stats = yes 41 | set timeout = 300 42 | set imap_keepalive = 300 43 | set imap_passive 44 | set imap_check_subscribed = yes 45 | set ispell = "aspell --mode=email --add-email-quote=%,#,:,} --check" 46 | set message_cache_clean = yes 47 | set user_agent = no 48 | set smart_wrap = yes 49 | 50 | set attach_format="%u%D%I %t%2n %T%.20d %> [%.7m/%.10M, %.6e%?C?, %C?, %s] " 51 | set date_format="!%a, %d %b %Y at %H:%M:%S %Z" 52 | set forward_format="fwd: %s" 53 | set index_format="%[%m-%d] [%Z] %-54.54s %F" 54 | set pager_format=" %f: %s" 55 | set sidebar_format="%B%* %?N?(%N)?" 56 | set status_format=" %h: %f (msgs:%?M?%M/?%m %l%?n? new:%n?%?o? old:%o?%?d? del:%d?%?F? flag:%F?%?t? tag:%t?%?p? post:%p?%?b? inc:%b?%?l??) %> %_v " 57 | 58 | set move = no 59 | 60 | set askcc 61 | 62 | set sort = 'threads' 63 | set sort_aux = 'last-date-received' 64 | 65 | set mailcap_path="~/.mailcap" 66 | 67 | set sidebar_visible = yes 68 | set sidebar_width = 30 69 | #set sidebar_format = "%B%* (%N)%S" 70 | set sidebar_format = "%B%?F? [%F]?%* %?N?%N/?%S" 71 | 72 | set pager_index_lines=10 73 | 74 | set spoolfile = "=" 75 | set record="=INBOX.Sent Items" 76 | set postponed="=INBOX.Drafts" 77 | set trash = "=INBOX.Trash" 78 | 79 | bind index,pager \Ck sidebar-prev 80 | bind index,pager \Cj sidebar-next 81 | bind index,pager \Co sidebar-open 82 | 83 | #reply-hook '~t .@openbsd\.org' 'set from="abieber@openbsd.org"' 84 | #send-hook '~t .*@openbsd\.org' 'set from="abieber@openbsd.org"' 85 | 86 | macro index \cb "|urlview\n" 87 | macro pager \cb "|urlview\n" 88 | 89 | source ~/.mutt.theme 90 | 91 | -------------------------------------------------------------------------------- /common/dot_ncmpc/config: -------------------------------------------------------------------------------- 1 | set-xterm-title yes 2 | xterm-title-format "[%artist%|(artist n/a)] - [%album%|%albumshort%|(album n/a)] - [%title%|(title n/a)]" 3 | list-format "[%artist%|(artist n/a)] [%album%|%albumshort%|(album n/a)] [%title%|(title n/a)]" 4 | auto-center yes 5 | enable-colors no 6 | -------------------------------------------------------------------------------- /common/dot_nexrc: -------------------------------------------------------------------------------- 1 | set wraplen=80 2 | set autoindent 3 | set ruler 4 | set lock 5 | set showmode 6 | set windowname 7 | 8 | map gx !'ptmux load-buffer - 9 | map gc !'ptmux load-buffer - u 10 | map gp :r!tmux show-buffer 11 | map gg 1G 12 | map \s :%s/ *$//g 13 | -------------------------------------------------------------------------------- /common/dot_profile: -------------------------------------------------------------------------------- 1 | export ENV=$HOME/.kshrc 2 | 3 | -------------------------------------------------------------------------------- /common/dot_sbclrc: -------------------------------------------------------------------------------- 1 | ;;; The following lines added by ql:add-to-init-file: 2 | #-quicklisp 3 | (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp" 4 | (user-homedir-pathname)))) 5 | (when (probe-file quicklisp-init) 6 | (load quicklisp-init))) 7 | 8 | -------------------------------------------------------------------------------- /common/dot_screenlayout/bg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | feh --bg-fill ~/.background.png 4 | #pkill xbattbar 5 | #xbattbar -I "#99aab9" -O "#798a99" -o "#99aab9" -i "#798a99" & 6 | #xbattbar -i green -o "olive drab" -I blue -O red & 7 | 8 | pkill lemonbar-xft 9 | while true; do ~/bin/bar; sleep 5; done | lemonbar-xft -d -f "Go Mono:pixelsize=12" -B "#FFFFEA" -F "#000000" | sh & 10 | -------------------------------------------------------------------------------- /common/dot_screenlayout/external.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | 3 | . ~/.screenlayout/shared.sh 4 | 5 | xrandr 6 | xrandr --output ${EXTERNAL} --mode ${EXTERNAL_MODE} --pos 0x0 --rotate normal ${OFFS} 7 | 8 | . ~/.screenlayout/bg.sh 9 | -------------------------------------------------------------------------------- /common/dot_screenlayout/internal.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | 3 | . ~/.screenlayout/shared.sh 4 | 5 | xrandr --output ${INTERNAL} --mode 1920x1080 --pos 0x0 --rotate normal ${OFFS} 6 | 7 | . ~/.screenlayout/bg.sh 8 | -------------------------------------------------------------------------------- /common/dot_screenlayout/shared.sh: -------------------------------------------------------------------------------- 1 | INTERNAL="eDP" 2 | EXTERNAL="DisplayPort-1" 3 | EXTERNAL_MODE="3840x2160" 4 | 5 | OFFS="" 6 | for d in $( xrandr | grep ^[a-zA-Z] | grep -v Screen | awk '{print $1}'); do 7 | OFFS="${OFFS} --output ${d} --off" 8 | done 9 | -------------------------------------------------------------------------------- /common/dot_screenlayout/tray.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | pkill trayer 4 | 5 | if [ "$1" == "external" ]; then 6 | trayer --edge top --align right --width 5 --height 12 --alpha 180 --tint 0 --transparent true --SetDockType true --SetPartialStrut true --expand true --widthtype percent 7 | else 8 | trayer --edge top --align right --width 9 --height 12 --alpha 180 --tint 0 --transparent true --SetDockType true --SetPartialStrut true --expand true --widthtype percent 9 | fi 10 | -------------------------------------------------------------------------------- /common/dot_signature: -------------------------------------------------------------------------------- 1 | PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A 4AF0 1F81 112D 62A9 ADCE 2 | -------------------------------------------------------------------------------- /common/dot_spectrwm.conf: -------------------------------------------------------------------------------- 1 | # colors for focussed and unfocussed window borders 2 | # NOTE: all colors in this file are in hex! see XQueryColor for examples 3 | color_unfocus = rgb:19/55/74 4 | color_focus = rgb:88/88/88 5 | 6 | # bar settings 7 | bar_enabled = 1 8 | bar_border_width = 1 9 | bar_border[1] = rgb:19/55/74 10 | bar_color[1] = rgb:0/0/0 11 | bar_font_color[1] = rgb:60/75/74 12 | bar_action = ~/bin/scrotbar 13 | bar_justify = right 14 | #bar_delay = 1 15 | #bar_at_bottom = 1 16 | stack_enabled = 1 17 | clock_enabled = 0 18 | #clock_format = %a %b %d %R %Z %Y 19 | title_name_enabled = 0 20 | title_class_enabled = 1 21 | window_name_enabled = 1 22 | verbose_layout = 1 23 | #focus_mode = default 24 | #disable_border = 1 25 | #border_width = 1 26 | #urgent_enabled = 1 27 | 28 | # spawn app 29 | program[term] = urxvtc 30 | # program[screenshot_all] = screenshot.sh full 31 | # program[screenshot_wind] = screenshot.sh window 32 | # program[lock] = xlock 33 | # program[initscr] = initscreen.sh 34 | program[menu] = dmenu_run -fn $bar_font -nb $bar_color -nf $bar_font_color -sb $bar_border -sf $bar_color 35 | spawn_term = urxvtc 36 | 37 | # dialog box size ratio .3 >= r < 1 38 | dialog_ratio = 0.6 39 | 40 | # Split a non-Xrandr dual head setup into one region per monitor 41 | # (non-standard driver-based multihead is not seen by scrotwm) 42 | # region = screen[1]:1280x1024+0+0 43 | # region = screen[1]:1280x1024+1280+0 44 | 45 | # Launch applications in a workspace of choice 46 | autorun = ws[1]:urxvtc 47 | autorun = ws[2]:xombrero 48 | autorun = ws[3]:urxvtc 49 | 50 | # workspace layout 51 | # layout = ws[1]:4:0:0:0:vertical 52 | # layout = ws[2]:0:0:0:0:horizontal 53 | # layout = ws[3]:0:0:0:0:fullscreen 54 | 55 | # mod key, (windows key is Mod4) (apple key on OSX is Mod2) 56 | # modkey = Mod1 57 | 58 | # key bindings 59 | # unbind with: bind[] = 60 | bind[cycle_layout] = MOD+space 61 | bind[stack_reset] = MOD+Shift+space 62 | #bind[master_shrink] = MOD+h 63 | #bind[master_grow] = MOD+l 64 | #bind[master_add] = MOD+comma 65 | #bind[master_del] = MOD+period 66 | #bind[stack_inc] = MOD+Shift+comma 67 | #bind[stack_dec] = MOD+Shift+period 68 | #bind[swap_main] = MOD+Return 69 | #bind[focus_next] = MOD+j 70 | #bind[focus_prev] = MOD+k 71 | #bind[swap_next] = MOD+Shift+j 72 | #bind[swap_prev] = MOD+Shift+k 73 | #bind[spawn_term] = MOD+Shift+Return 74 | #bind[menu] = MOD+p 75 | #bind[quit] = MOD+Shift+q 76 | #bind[restart] = MOD+q 77 | #bind[focus_main] = MOD+m 78 | #bind[ws_1] = MOD+1 79 | #bind[ws_2] = MOD+2 80 | #bind[ws_3] = MOD+3 81 | #bind[ws_4] = MOD+4 82 | #bind[ws_5] = MOD+5 83 | #bind[ws_6] = MOD+6 84 | #bind[ws_7] = MOD+7 85 | #bind[ws_8] = MOD+8 86 | #bind[ws_9] = MOD+9 87 | #bind[ws_10] = MOD+0 88 | #bind[ws_next] = MOD+Right 89 | #bind[ws_prev] = MOD+Left 90 | #bind[screen_next] = MOD+Shift+Right 91 | #bind[screen_prev] = MOD+Shift+Left 92 | #bind[mvws_1] = MOD+Shift+1 93 | #bind[mvws_2] = MOD+Shift+2 94 | #bind[mvws_3] = MOD+Shift+3 95 | #bind[mvws_4] = MOD+Shift+4 96 | #bind[mvws_5] = MOD+Shift+5 97 | #bind[mvws_6] = MOD+Shift+6 98 | #bind[mvws_7] = MOD+Shift+7 99 | #bind[mvws_8] = MOD+Shift+8 100 | #bind[mvws_9] = MOD+Shift+9 101 | #bind[mvws_10] = MOD+Shift+0 102 | #bind[bar_toggle] = MOD+b 103 | #bind[focus_next] = MOD+Tab 104 | #bind[focus_prev] = MOD+Shift+Tab 105 | #bind[wind_kill] = MOD+Shift+x 106 | #bind[wind_del] = MOD+x 107 | #bind[screenshot_all] = MOD+s 108 | #bind[screenshot_wind] = MOD+Shift+s 109 | #bind[float_toggle] = MOD+t 110 | #bind[version] = MOD+Shift+v 111 | #bind[lock] = MOD+Shift+Delete 112 | #bind[initscr] = MOD+Shift+i 113 | #bind[iconify] = MOD+w 114 | #bind[uniconify] = MOD+Shift+w 115 | #bind[raise_toggle] = MOD+Shift+r 116 | #bind[button2] = MOD+v 117 | 118 | # quirks 119 | # remove with: quirk[class:name] = NONE 120 | quirk[MPlayer:xv] = FLOAT + FULLSCREEN + FOCUSPREV 121 | quirk[Vlc] = FLOAT + FULLSCREEN + FOCUSPREV 122 | #quirk[OpenOffice.org 2.4:VCLSalFrame] = FLOAT 123 | #quirk[OpenOffice.org 3.0:VCLSalFrame] = FLOAT 124 | #quirk[OpenOffice.org 3.1:VCLSalFrame] = FLOAT 125 | #quirk[Firefox-bin:firefox-bin] = TRANSSZ 126 | #quirk[Firefox:Dialog] = FLOAT 127 | quirk[Gimp:gimp] = FLOAT + ANYWHERE 128 | quirk[feh:feh] = FLOAT + TRANSSZ 129 | #quirk[XTerm:xterm] = XTERM_FONTADJ 130 | #quirk[xine:Xine Window] = FLOAT + ANYWHERE 131 | #quirk[Xitk:Xitk Combo] = FLOAT + ANYWHERE 132 | #quirk[xine:xine Panel] = FLOAT + ANYWHERE 133 | #quirk[Xitk:Xine Window] = FLOAT + ANYWHERE 134 | #quirk[xine:xine Video Fullscreen Window] = FULLSCREEN + FLOAT 135 | #quirk[pcb:pcb] = FLOAT 136 | 137 | # EXAMPLE: define firefox program and bind to key 138 | # program[firefox] = firefox http://scrotwm.org/ 139 | # bind[firefox] = MOD+f 140 | program[xombrero] = xombrero 141 | bind[xombrero] = MOD+b 142 | -------------------------------------------------------------------------------- /common/dot_taskrc: -------------------------------------------------------------------------------- 1 | # [Created by task 2.1.2 10/3/2012 09:16:34] 2 | # Taskwarrior program configuration file. 3 | # For more documentation, see http://taskwarrior.org or try 'man task', 'man task-faq', 4 | # 'man task-tutorial', 'man task-color', 'man task-sync' or 'man taskrc' 5 | 6 | # Here is an example of entries that use the default, override and blank values 7 | # variable=foo -- By specifying a value, this overrides the default 8 | # variable= -- By specifying no value, this means no default 9 | # #variable=foo -- By commenting out the line, or deleting it, this uses the default 10 | 11 | # Use the command 'task show' to see all defaults and overrides 12 | 13 | # Files 14 | data.location=~/.task 15 | 16 | editor=vim 17 | 18 | # Color theme (uncomment one to use) 19 | include /usr/local/share/taskwarrior/rc/dark-16.theme 20 | #include /usr/local/share/taskwarrior/rc/dark-256.theme 21 | #include /usr/local/share/taskwarrior/rc/dark-blue-256.theme 22 | #include /usr/local/share/taskwarrior/rc/dark-gray-256.theme 23 | #include /usr/local/share/taskwarrior/rc/dark-gray-blue-256.theme 24 | #include /usr/local/share/taskwarrior/rc/dark-green-256.theme 25 | #include /usr/local/share/taskwarrior/rc/dark-red-256.theme 26 | #include /usr/local/share/taskwarrior/rc/dark-violets-256.theme 27 | #include /usr/local/share/taskwarrior/rc/dark-yellow-green.theme 28 | #include /usr/local/share/taskwarrior/rc/light-16.theme 29 | #include /usr/local/share/taskwarrior/rc/light-256.theme 30 | include /usr/local/share/taskwarrior/rc/no-color.theme 31 | #include /usr/local/share/taskwarrior/rc/solarized-dark-256.theme 32 | #include /usr/local/share/taskwarrior/rc/solarized-light-256.theme 33 | -------------------------------------------------------------------------------- /common/dot_texapprc: -------------------------------------------------------------------------------- 1 | vcheck=1 2 | ansi=1 3 | readline=1 4 | notco=1 5 | personal=1 6 | noifttt=1 7 | allats=1 8 | -------------------------------------------------------------------------------- /common/dot_tmux.conf: -------------------------------------------------------------------------------- 1 | set-window-option -g mode-keys emacs 2 | set-window-option -g automatic-rename off 3 | set-window-option -g base-index 1 4 | 5 | bind-key \\ split-window -h -c '#{pane_current_path}' # vertical pane 6 | bind-key - split-window -v -c '#{pane_current_path}' # horizontal pane 7 | 8 | bind-key C-r source-file ~/.tmux.conf \; \ 9 | display-message "source-file done" 10 | 11 | bind-key m set mouse \; \ 12 | display-message "toggle mouse" 13 | 14 | bind-key C-s set synchronize-panes \; \ 15 | display-message "toggle synchronize-panes" 16 | 17 | # stolen from jca 18 | bind b send-prefix 19 | bind C-b last-window 20 | 21 | bind-key h select-pane -L 22 | bind-key j select-pane -D 23 | bind-key k select-pane -U 24 | bind-key l select-pane -R 25 | 26 | source-file ~/.tmux.theme 27 | 28 | set -g bell-action any 29 | 30 | set -g default-terminal "tmux-256color" 31 | 32 | set -g set-titles on 33 | 34 | set -g automatic-rename 35 | set-option -g status-bg colour253 36 | set-window-option -g clock-mode-colour colour246 37 | set -g clock-mode-style 12 38 | set-window-option -g window-status-bell-style fg=white,bg=red 39 | 40 | # Change the default escape-time to 0 (from 500) so emacs will work right 41 | set -g escape-time 0 42 | 43 | set -g window-status-current-format '#[bg=colour250]#I:#W•' 44 | 45 | # Left side of status bar 46 | set -g status-left-length 50 47 | set -g status-left '#[fg=green][#[fg=red]#S:#(~/bin/beat)#[fg=black,dim]#[fg=green]] ' 48 | set -g status-right-length 50 49 | set -g status-right '#[fg=green][#[fg=black]#T #(/usr/local/bin/battery -nap)#[fg=green]][#[fg=black]%Y-%m-%d #[fg=black]%I:%M %p#[default]#[fg=green]]' 50 | -------------------------------------------------------------------------------- /common/dot_tmux.eink.theme: -------------------------------------------------------------------------------- 1 | set -g window-style 'bg=#DEDEFF' 2 | set -g window-active-style 'bg=terminal' 3 | -------------------------------------------------------------------------------- /common/dot_tmux.nord.theme: -------------------------------------------------------------------------------- 1 | #set -g window-style 'bg=#24323f' 2 | set -g window-style 'bg=#354049' 3 | set -g window-active-style 'bg=terminal' 4 | -------------------------------------------------------------------------------- /common/dot_urxvt/yank-clicked-urls: -------------------------------------------------------------------------------- 1 | #!/usr/bin/perl 2 | # Author: Bart Trojanowski 3 | # Website: http://www.jukie.net/~bart/blog/urxvt-url-yank 4 | # License: GPLv2 5 | # Completely hacked down to just hightlight and clipboard mouse clicks. 6 | 7 | use strict; 8 | use warnings; 9 | 10 | my $url_matcher = qr{( 11 | (?:https?://|ftp://|news://|mailto:|file://|www\.)[ab-zA-Z0-9\-\@;\/?:&=%\$_.+!*\x27(),~#]+ 12 | [ab-zA-Z0-9\-\@;\/?&=%\$_+!*\x27()~] # exclude some trailing characters (heuristic) 13 | )}x; 14 | 15 | 16 | sub on_start { 17 | my ($term) = @_; 18 | 19 | $term->{have_Clipboard} = eval { require Clipboard; }; 20 | if ($term->{have_Clipboard}) { 21 | import Clipboard; 22 | } 23 | 24 | # eval { require Regexp::Common::URI }; 25 | # if(!$@) { 26 | # require Regexp::Common; 27 | # Regexp::Common->import('URI'); 28 | 29 | # $url_matcher = $Regexp::Common::RE{URI}{HTTP}; 30 | # } 31 | 32 | $term->{browser} = $term->x_resource ("urlLauncher") || "x-www-browser"; 33 | 34 | () 35 | } 36 | 37 | sub on_line_update { 38 | my ($term, $row) = @_; 39 | 40 | # Fetch the line that has changed. 41 | my $line = $term->line($row); 42 | my $text = $line->t; 43 | 44 | # Find and underline URLs. 45 | while ($text =~ /($url_matcher)/g) { 46 | my $url = $1; 47 | my $rend = $line->r; 48 | 49 | # Mark all characters as underlined. we _must_ not toggle underline, as 50 | # we might get called on an already-marked URL. 51 | my $underlineURLs = $term->x_resource ('underlineURLs') || 'false'; 52 | if($underlineURLs eq 'true') { 53 | my ($first, $last) = ($-[1], $+[1] - 1); 54 | 55 | --$last if $url =~ s/["']$//; 56 | 57 | $_ |= urxvt::RS_Uline for @{$rend}[$first .. $last]; 58 | 59 | $line->r($rend); 60 | } 61 | } 62 | 63 | () 64 | } 65 | 66 | sub on_button_release { 67 | my ($term, $event) = @_; 68 | 69 | my $mask = $term->ModLevel3Mask | $term->ModMetaMask 70 | | urxvt::ShiftMask | urxvt::ControlMask; 71 | 72 | if ($event->{button} == 1 && ($event->{state} & $mask) == 0) { 73 | my $row = $event->{row}; 74 | my $col = $event->{col}; 75 | 76 | my $line = $term->line ($row); 77 | my $text = $line->t; 78 | 79 | while ($text =~ /($url_matcher)/g) { 80 | my ($url, $first, $last) = ($1, $-[1], $+[1]); 81 | 82 | if($first <= $col && $last >= $col) { 83 | $url =~ s/["']$//; 84 | Clipboard->copy($url); 85 | $term->exec_async($term->{browser}, $url); 86 | return 1; 87 | } 88 | } 89 | } 90 | () 91 | } 92 | # vim: set et ts=4 sw=4: 93 | -------------------------------------------------------------------------------- /common/dot_vimrc: -------------------------------------------------------------------------------- 1 | call plug#begin('~/.vim/plugged') 2 | 3 | "Plug 'andreypopp/vim-colors-plain' 4 | "Plug 'arcticicestudio/nord-vim' 5 | "Plug 'chriskempson/base16-vim' 6 | "Plug 'https://bitbucket.org/kisom/eink.vim.git' 7 | Plug 'LnL7/vim-nix' 8 | Plug 'airblade/vim-gitgutter' 9 | Plug 'fatih/vim-go' 10 | Plug 'junegunn/fzf' 11 | Plug 'junegunn/fzf.vim' 12 | Plug 'ngmy/vim-rubocop' 13 | Plug 'w0rp/ale' 14 | 15 | call plug#end() 16 | 17 | nmap bi :PlugInstall 18 | nmap bu :PlugUpdate 19 | nmap bc :PlugClean 20 | 21 | noremap g :GitGutterBufferToggle 22 | " Open files in horizontal split 23 | nnoremap S :call fzf#run({ 24 | \ 'down': '40%', 25 | \ 'sink': 'botright split' }) 26 | 27 | " Open files in vertical horizontal split 28 | nnoremap v :call fzf#run({ 29 | \ 'right': winwidth('.') / 2, 30 | \ 'sink': 'vertical botright split' }) 31 | 32 | command! -bang -nargs=? -complete=dir Files 33 | \ call fzf#vim#files(, {'options': ['--no-color']}, 0) 34 | nmap :Files 35 | 36 | let $NVIM_TUI_ENABLE_TRUE_COLOR=1 37 | set encoding=utf8 38 | set t_Co=256 39 | "set background=dark " Or 'light' 40 | "set background=light 41 | "colorscheme eink 42 | syntax off 43 | 44 | set nocp 45 | filetype plugin indent on 46 | set completeopt=longest,menuone 47 | 48 | au BufNewFile,BufRead *.html set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab 49 | au BufNewFile,BufRead *.js set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab 50 | au BufNewFile,BufRead *.lua set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab 51 | au BufNewFile,BufRead *.rb set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab 52 | au BufNewFile,BufRead *.yml set tabstop=4 softtabstop=0 expandtab shiftwidth=2 smarttab 53 | 54 | highlight OverLength ctermfg=red 55 | match OverLength /\%79v.\+/ 56 | 57 | set dir=~/.swaps 58 | set nolist 59 | set ruler 60 | "set lazyredraw 61 | set mouse-=a 62 | 63 | let g:ale_linters = { 64 | \ 'javascript': ['eslint'], 65 | \ 'ruby': ['rubocop26'], 66 | \} 67 | 68 | " GitGutter 69 | let g:gitgutter_realtime = 1 70 | 71 | nmap ,/ :let @/="" 72 | 73 | let g:go_fmt_command = "goimports" 74 | let g:vimrubocop_keymap = 0 75 | nmap r :RuboCop 76 | 77 | nnoremap ,o :Files 78 | 79 | nmap 2 :set list! 80 | nmap 3 :set nu! 81 | nmap 4 :set paste! 82 | 83 | au BufNewFile,BufRead *.md set noai noshowmatch tw=79 84 | au BufNewFile,BufRead *.md setlocal spell spelllang=en_us tw=79 85 | 86 | " text & mutt files 87 | au BufNewFile,BufRead /tmp/*mutt*,/tmp/cvs*,*.txt set noai noshowmatch tw=79 88 | au BufNewFile,BufRead /tmp/*mutt*,/tmp/cvs*,*.txt setlocal spell spelllang=en_us tw=79 89 | 90 | au BufNewFile,BufRead /private/var/*/*mutt* set noai noshowmatch tw=79 91 | au BufNewFile,BufRead /private/var/*/*mutt* setlocal spell spelllang=en_us tw=79 92 | 93 | " git commits 94 | au BufNewFile,BufRead *.git/COMMIT_EDITMSG set noai noshowmatch tw=79 95 | au BufNewFile,BufRead *.git/COMMIT_EDITMSG setlocal spell spelllang=en_us tw=79 96 | 97 | "autocmd BufWritePre * %s/\s\+$//e 98 | nmap s :%s/\s\+$//e 99 | 100 | autocmd FileType go nmap b (go-build) 101 | autocmd FileType go nmap r (go-run) 102 | 103 | " Restore cursor position 104 | autocmd BufReadPost * 105 | \ if line("'\"") > 1 && line("'\"") <= line("$") | 106 | \ exe "normal! g`\"" | 107 | \ endif 108 | 109 | " 110 | " Prevent various Vim features from keeping the contents of pass(1) password 111 | " files (or any other purely temporary files) in plaintext on the system. 112 | " 113 | " Either append this to the end of your .vimrc, or install it as a plugin with 114 | " a plugin manager like Tim Pope's Pathogen. 115 | " 116 | " Author: Tom Ryder 117 | " 118 | 119 | " Don't backup files in temp directories or shm 120 | if exists('&backupskip') 121 | set backupskip+=/tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*,*/shm/* 122 | endif 123 | 124 | " Don't keep swap files in temp directories or shm 125 | if has('autocmd') 126 | augroup swapskip 127 | autocmd! 128 | silent! autocmd BufNewFile,BufReadPre 129 | \ /tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*,*/shm/* 130 | \ setlocal noswapfile 131 | augroup END 132 | endif 133 | 134 | " Don't keep undo files in temp directories or shm 135 | if has('persistent_undo') && has('autocmd') 136 | augroup undoskip 137 | autocmd! 138 | silent! autocmd BufWritePre 139 | \ /tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*,*/shm/* 140 | \ setlocal noundofile 141 | augroup END 142 | endif 143 | 144 | " Don't keep viminfo for files in temp directories or shm 145 | if has('viminfo') 146 | if has('autocmd') 147 | augroup viminfoskip 148 | autocmd! 149 | silent! autocmd BufNewFile,BufReadPre 150 | \ /tmp/*,$TMPDIR/*,$TMP/*,$TEMP/*,*/shm/* 151 | \ setlocal viminfo= 152 | augroup END 153 | endif 154 | endif 155 | -------------------------------------------------------------------------------- /common/dot_w3m/config: -------------------------------------------------------------------------------- 1 | color false 2 | confirm_qq false 3 | ssl_verify_server true 4 | use_cookie false 5 | use_history false 6 | use_mouse false 7 | -------------------------------------------------------------------------------- /common/dot_xastir/.gitignore: -------------------------------------------------------------------------------- 1 | OSMtiles 2 | config/* 3 | !config/xastir.cnf 4 | data 5 | gps 6 | logs 7 | map_cache 8 | tmp 9 | tracklogs 10 | -------------------------------------------------------------------------------- /common/dot_xombrero.conf: -------------------------------------------------------------------------------- 1 | # $xxxterm: xxxterm.conf,v 1.12 2010/08/10 20:09:55 marco Exp $ 2 | browser_mode = whitelist 3 | gui_mode = classic 4 | append_next = 1 5 | 6 | home = www.openbsd.org 7 | ctrl_click_focus = 0 8 | download_dir = ~/Downloads 9 | cookies_enabled = 1 10 | read_only_cookies = 0 11 | enable_scripts = 1 12 | enable_plugins = 1 13 | enable_localstorage = 1 14 | fancy_bar = 1 15 | enable_socket = 1 16 | guess_search = 1 17 | enable_spell_checking = 1 18 | spell_check_languages = en_US 19 | encoding = UTF-8 20 | refresh_interval = 3 21 | 22 | external_editor = xterm -geometry 177x58+0+0 -font -*-fixed-medium-r-*-*-15-*-*-*-*-*-iso8859-* -e vim -f 23 | 24 | ssl_ca_file /etc/ssl/cert.pem 25 | ssl_strict_certs =0 26 | 27 | enable_plugin_whitelist = 1 28 | pl_wl = .rdio.com 29 | 30 | enable_cookie_whitelist = 1 31 | cookie_wl = .deftly.net 32 | cookie_wl = .qbit.io 33 | cookie_wl = .reddit.com 34 | cookie_wl = .vimeo.com 35 | cookie_wl = .github.com 36 | cookie_wl = .travis-ci.org 37 | cookie_wl = .undeadly.org 38 | cookie_wl = .identi.ca 39 | cookie_wl = .twitter.com 40 | cookie_wl = .duckduckgo.com 41 | cookie_wl = .arpnetworks.com 42 | cookie_wl = .gaug.es 43 | cookie_wl = .nlp-class.org 44 | cookie_wl = .coursera.org 45 | cookie_wl = .territorialseed.com 46 | cookie_wl = .conformal.com 47 | cookie_wl = .cyphertite.com 48 | cookie_wl = .duolingo.com 49 | cookie_wl = .openstreetmap.org 50 | cookie_wl = .ent.com 51 | cookie_wl = .lobste.rs 52 | cookie_wl = .app.net 53 | cookie_wl = .rdio.com 54 | cookie_wl = .netflix.com 55 | cookie_wl = .instapaper.com 56 | cookie_wl = .tumblr.com 57 | 58 | enable_js_whitelist = 1 59 | js_wl = .deftly.net 60 | js_wl = .qbit.io 61 | js_wl = .reddit.com 62 | js_wl = .imgur.com 63 | js_wl = .gmane.org 64 | js_wl = .vimeo.com 65 | js_wl = .github.com 66 | js_wl = .travis-ci.org 67 | js_wl = .undeadly.org 68 | js_wl = .identi.ca 69 | js_wl = .twitter.com 70 | js_wl = .duckduckgo.com 71 | js_wl = .arpnetworks.com 72 | js_wl = .gaug.es 73 | js_wl = .nlp-class.org 74 | js_wl = .coursera.org 75 | js_wl = .territorialseed.com 76 | js_wl = .conformal.com 77 | js_wl = .cyphertite.com 78 | js_wl = .duolingo.com 79 | js_wl = .openstreetmap.org 80 | js_wl = .ent.com 81 | js_wl = .lobste.rs 82 | js_wl = .app.net 83 | js_wl = .rdio.com 84 | js_wl = .netflix.com 85 | js_wl = .instapaper.com 86 | js_wl = .tumblr.com 87 | 88 | # see http://www.xroxy.com/proxylist.php for a good list of open proxies 89 | # http_proxy = http://127.0.0.1:80 90 | 91 | # search engines 92 | # uncomment one of these lines for you favorite search engine 93 | # 94 | # DuckDuckGo 95 | # search_string = https://duckduckgo.com/?q=%s&kp=-1&kl=us-en 96 | search_string = https://duckduckgo.com/html/?q=%s&kp=-1 97 | # 98 | # scroogle 99 | # search_string = https://ssl.scroogle.org/cgi-bin/nbbwssl.cgi?Gw=%s 100 | # search_string = http://www.scroogle.org/cgi-bin/nbbw.cgi?Gw=%s 101 | 102 | # google 103 | # search_string = http://www.google.com/search?q=%s&&client=xxxterm 104 | 105 | # yahoo 106 | # search_string = http://search.yahoo.com/search?p=%s 107 | 108 | # alias support, %s is substituded with user input 109 | # alias,link+action 110 | alias = ports,http://openports.se/search.php?so=%s 111 | alias = github,https://github.com/search?q=%s&type=Everything&repo=&langOverride=&start_value=1 112 | alias = google,http://www.google.com/search?q=%s&&client=xxxterm 113 | alias = man,http://www.openbsd.org/cgi-bin/man.cgi?query=%s&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html 114 | 115 | # specific mime type for video 116 | #mime_type = video/x-ms-wmv,cvlc 117 | #mime_type = video/quicktime,cvlc 118 | 119 | # default mime type for video 120 | #mime_type = video/*,cvlc 121 | 122 | # default mime type for audio 123 | #mime_type = audio/*,cvlc 124 | 125 | # pdf, note that xpdf can't load a URI directly 126 | mime_type = application/pdf,evince 127 | 128 | # word docs 129 | mime_type = application/msword,soffice 130 | 131 | keybinding = reload,F3 132 | -------------------------------------------------------------------------------- /common/dot_xsession: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Make ~/.cache a temp dir 4 | TMP_CACHE=$(mktemp -d /tmp/cache.XXXXXXXXXX) 5 | ln -sf $TMP_CACHE ~/.cache 6 | 7 | # Disable coredumps 8 | ulimit -Sc 0 9 | 10 | cat /dev/null > ~/.xsession-errors 11 | 12 | . ~/.ksh_paths 13 | 14 | LC_CTYPE="en_US.UTF-8" 15 | TERM=screen-256color 16 | export LC_CTYPE TERM 17 | 18 | OS=$(uname) 19 | LPREFIX=/usr/local 20 | 21 | wmanager=$(cat ~/.wmanager 2> /dev/null || echo "/usr/X11R6/bin/cwm") 22 | 23 | if [ $OS != "OpenBSD" ]; then 24 | LPREFIX=/usr 25 | fi 26 | 27 | xset -b & 28 | xset +fp ~/.fonts 29 | xset +fp ~/.local/share/fonts/ 30 | for font in /usr/local/share/fonts/*; do 31 | xset +fp "${font}" 32 | done 33 | xset fp rehash 34 | 35 | xrdb -merge -load ~/.Xresources & 36 | 37 | if [ -x ${LPREFIX}/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then 38 | eval `dbus-launch --sh-syntax --exit-with-session` 39 | fi 40 | 41 | get_font() { 42 | grep "$1" ~/.Xdefaults | awk -F: '{sub(/^ +/, "", $2); print $2 ":" $3}' 43 | } 44 | 45 | echo "FONT NAME: $(get_font '^XTerm*face')" 46 | 47 | case "$wmanager" in 48 | /usr/X11R6/bin/cwm) 49 | xsetroot -solid black 50 | while true; do ~/bin/bar; sleep 3; done | lemonbar-xft -d \ 51 | -f "$Go Mono:pixelsize=12" \ 52 | -B "#FFFFEA" \ 53 | -F "#000000" | sh & 54 | ;; 55 | /usr/local/bin/awesome) 56 | xsetroot -solid black 57 | ;; 58 | xmonad-x86_64-openbsd) 59 | hsetroot -center ~/.background.png & 60 | ;; 61 | /usr/X11R6/bin/fvwm) 62 | xsetroot -solid black 63 | ;; 64 | esac 65 | 66 | /usr/X11R6/bin/xcompmgr & 67 | 68 | if [ -f ~/.Xmodmap ]; then 69 | xmodmap ~/.Xmodmap & 70 | fi 71 | 72 | if [ -d /usr/local/plan9/ ]; then 73 | pgrep -q fontsrv || (/usr/local/plan9/bin/fontsrv &) 74 | pgrep -q plumber || (/usr/local/plan9/bin/plumber &) 75 | fi 76 | 77 | sctd 3500 & 78 | 79 | for tool in tpb xbanish scmpc autocutsel keychain fido; do 80 | if [ -e "${LPREFIX}/bin/${tool}" ]; then 81 | case "${i}" in 82 | sctd) 83 | ${LPREFIX}/bin/sctd 3500 84 | ;; 85 | tpb) 86 | ${LPREFIX}/bin/tpb -d 87 | ;; 88 | keychain) 89 | ${LPREFIX}/bin/keychain --gpg2 --inherit any --agents ssh,gpg -q -Q 90 | keychain_conf="$HOME/.keychain/$(uname -n)-sh" 91 | 92 | # shellcheck source=/home/qbit/.keychain/slip.bold.daemon-sh 93 | [ -e "${keychain_conf}" ] && . ${keychain_conf} 94 | 95 | # shellcheck source=/home/qbit/.keychain/slip.bold.daemon-sh-gpg 96 | [ -e "${keychain_conf}-gpg" ] && . ${keychain_conf}-gpg 97 | ;; 98 | *) 99 | ${LPREFIX}/bin/${tool} & 100 | ;; 101 | esac 102 | fi 103 | done 104 | 105 | TIMEOUT=$(cat ~/.xtimeout 2> /dev/null || echo "300") 106 | xidle -delay 5 -program "/usr/X11R6/bin/xlock" -timeout $TIMEOUT & 107 | 108 | exec "$wmanager" 109 | -------------------------------------------------------------------------------- /common/dot_zlogin: -------------------------------------------------------------------------------- 1 | export PLAN9=~/src/plan9port 2 | export PATH=$PATH:$HOME/go/bin:$PLAN9/bin 3 | export GEM_HOME=~/ruby_bin 4 | 5 | # That sweet sweet ^W 6 | WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' 7 | 8 | autoload -Uz compinit && compinit 9 | autoload -Uz vcs_info 10 | autoload -Uz colors && colors 11 | [ -n "$BASH" ] && complete -F _fzf_complete_doge -o default -o bashdefault doge 12 | 13 | export GPG_AGENT_INFO="~/.gnupg/S.gpg-agent:$(pgrep gpg-agent):1" 14 | /usr/local/bin/keychain --inherit any --agents ssh,gpg -q -Q 15 | [[ -f ~/.keychain/ufo.local-sh-gpg ]] && . ~/.keychain/ufo.local-sh-gpg 16 | 17 | precmd_vcs_info() { vcs_info } 18 | precmd_functions+=( precmd_vcs_info ) 19 | 20 | setopt prompt_subst 21 | 22 | zstyle ':vcs_info:*' enable git hg cvs 23 | zstyle ':vcs_info:*' get-revision true 24 | zstyle ':vcs_info:git:*' check-for-changes true 25 | zstyle ':vcs_info:git:*' formats '[%b]' 26 | 27 | PROMPT="%n@%m[%(?.%{$fg[white]%}.%{$fg[red]%})%?%{$reset_color%}]:%~\${vcs_info_msg_0_}%# " 28 | #alias bpass="env DISPLAY=:1 pass" 29 | #alias spass="env PASSWORD_STORE_DIR=~/.secret-store pass" 30 | alias 'gopatch=WRKDIST=$(make show=WRKSRC) make update-patches' 31 | alias ag='ag --nocolor' 32 | alias build="dpb -c -h /home/buildie/hosts -P" 33 | alias cabal='env TMPDIR=/usr/local/cabal/build/ cabal' 34 | alias cdw='cd $(make show=WRKSRC)' 35 | alias ec='emacsclient -ct' 36 | alias irc="export TERM=xterm; tmux at -t irc" 37 | alias man='man -Owidth=$(($COLUMNS<80?($COLUMNS-2):78))' 38 | alias mkae='make' 39 | alias mutt='stty discard undef; neomutt' 40 | alias pass="gopass" 41 | alias pkg_add="pkg_add -Dsnap" 42 | alias pkg_delete="pkg_delete -Dsnap" 43 | alias pup='doas -n /usr/sbin/pkg_add -u' 44 | alias rustc='rustc --color=never' 45 | alias sbcl="rlwrap sbcl" 46 | alias tmux="tmux -2" 47 | -------------------------------------------------------------------------------- /cr48/dot_i3status.conf: -------------------------------------------------------------------------------- 1 | general { 2 | output_format = "i3bar" 3 | colors = true 4 | color_separator = "#EEEEEE" 5 | color_good = "#00FF00" 6 | color_degraded = "#FFFB00" 7 | color_bad = "#FF000D" 8 | interval = 5 9 | } 10 | 11 | #order += "ipv6" 12 | #order += "disk /" 13 | order += "wireless athn0" 14 | #order += "ethernet em0" 15 | order += "battery 0" 16 | order += "load" 17 | order += "cpu_temperature cpu0" 18 | order += "cpu_temperature acpitz0" 19 | order += "volume master" 20 | order += "time" 21 | 22 | 23 | cpu_temperature cpu0 { 24 | format = "CPU: %degrees °C" 25 | path = "cpu0" 26 | } 27 | 28 | cpu_temperature acpitz0 { 29 | format = "TZ: %degrees C" 30 | } 31 | 32 | wireless athn0 { 33 | format_up = "W: %essid (%signal) %ip" 34 | format_down = "W: down" 35 | } 36 | 37 | ethernet em0 { 38 | format_up = "E: %ip (%speed)" 39 | format_down = "E: down" 40 | } 41 | 42 | battery 0 { 43 | format = "%status %percentage \% %remaining min." 44 | low_threshold = 30 45 | threshold_type = percentage 46 | } 47 | 48 | time { 49 | format = "%A, %d %l:%M" 50 | } 51 | 52 | load { 53 | format = "%1min" 54 | } 55 | 56 | disk "/" { 57 | format = "%free (or: %percentage_used used, %percentage_used_of_avail used of avail, %percentage_free free, %percentage_avail avail)" 58 | } 59 | 60 | volume master { 61 | format = "♪: %volume" 62 | } 63 | -------------------------------------------------------------------------------- /cr48/dot_xmodmap: -------------------------------------------------------------------------------- 1 | remove control = Control_L 2 | remove mod4 = Super_L 3 | keysym Control_L = Super_L 4 | keysym Super_L = Control_L 5 | add control = Control_L 6 | add mod4 = Super_L 7 | -------------------------------------------------------------------------------- /cr48/dot_xsession: -------------------------------------------------------------------------------- 1 | export LC_CTYPE="en_US.UTF-8" 2 | 3 | mkfifo /tmp/pianobar 4 | 5 | synclient ClickFinger2=2 6 | synclient ClickFinger3=3 7 | synclient PalmDetect=1 8 | synclient LockedDrags=1 9 | synclient HorizTwoFingerScroll=1 10 | 11 | if [ -x /usr/local/bin/mono ]; then 12 | mono ~/.keepass/KeePass.exe & 13 | fi 14 | 15 | xset -b & 16 | xmodmap ~/.xmodmap & 17 | 18 | urxvtd -q -f -o & 19 | 20 | parcellite & 21 | 22 | xset +fp ~/.fonts 23 | xset +fp /usr/local/lib/X11/fonts/terminus 24 | xset +fp /usr/local/lib/X11/fonts/anonymous-pro 25 | 26 | xset fp rehash 27 | 28 | if [ -x /sbin/shutdownd ]; then 29 | /sbin/shutdownd -s 20 -w 40 -W "i3-nagbar -m 'Current battery is at \$battery_minutes. Shutdown is in \$shutdown_minutes.' -b 'shutdown now' 'sudo halt -p'" 30 | fi 31 | 32 | #~/bin/dwmbar & 33 | 34 | feh --bg-center ~/.background.png & 35 | 36 | #exec awesome 37 | #exec xmonad 38 | #exec spectrwm 39 | #exec dwm 40 | exec i3 41 | -------------------------------------------------------------------------------- /h3x/dot_Xmodmap: -------------------------------------------------------------------------------- 1 | pointer = 1 2 3 5 4 7 6 8 9 10 11 12 2 | -------------------------------------------------------------------------------- /h3x/dot_cwmrc: -------------------------------------------------------------------------------- 1 | bind C4-t vtile 2 | bind C4-r htile 3 | command irssi "xterm -class irssi -e \"ssh qbit.io irc\"" 4 | command urxvt "urxvt" 5 | command next "pctl -n" 6 | command pause "pctl -p" 7 | 8 | 9 | bind CM-Return "urxvt" 10 | 11 | bind 4-p "/home/qbit/bin/pctl -p" 12 | bind 4-n "/home/qbit/bin/pctl -n" 13 | 14 | autogroup 2 "chrome,Chrome" 15 | autogroup 3 "irssi" 16 | 17 | sticky yes 18 | -------------------------------------------------------------------------------- /h3x/dot_i3status.conf: -------------------------------------------------------------------------------- 1 | general { 2 | output_format = "i3bar" 3 | colors = true 4 | color_separator = "#EEEEEE" 5 | color_good = "#00FF00" 6 | color_degraded = "#FFFB00" 7 | color_bad = "#FF000D" 8 | interval = 5 9 | } 10 | 11 | #order += "ipv6" 12 | #order += "disk /" 13 | order += "wireless iwn0" 14 | #order += "ethernet em0" 15 | order += "battery 0" 16 | order += "load" 17 | order += "cpu_temperature cpu0" 18 | order += "cpu_temperature acpitz0" 19 | order += "volume master" 20 | order += "time" 21 | 22 | 23 | cpu_temperature cpu0 { 24 | format = "CPU: %degrees °C" 25 | path = "cpu0" 26 | } 27 | 28 | cpu_temperature acpitz0 { 29 | format = "TZ: %degrees C" 30 | } 31 | 32 | wireless iwn0 { 33 | format_up = "W: %essid (%signal) %ip" 34 | format_down = "W: down" 35 | } 36 | 37 | ethernet em0 { 38 | format_up = "E: %ip (%speed)" 39 | format_down = "E: down" 40 | } 41 | 42 | battery 0 { 43 | format = "%status %percentage \% %remaining min." 44 | low_threshold = 30 45 | threshold_type = percentage 46 | } 47 | 48 | time { 49 | format = "%A %l:%M" 50 | } 51 | 52 | load { 53 | format = "%1min" 54 | } 55 | 56 | disk "/" { 57 | format = "%free (or: %percentage_used used, %percentage_used_of_avail used of avail, %percentage_free free, %percentage_avail avail)" 58 | } 59 | 60 | volume master { 61 | format = "♪: %volume" 62 | } 63 | -------------------------------------------------------------------------------- /h3x/dot_xsession: -------------------------------------------------------------------------------- 1 | export LC_CTYPE="en_US.UTF-8" 2 | 3 | mkfifo /tmp/pianobar 4 | 5 | xset -b & 6 | 7 | if [ -f ~/.xmodmap ]; then 8 | xmodmap ~/.xmodmap & 9 | fi 10 | 11 | #keepassx & 12 | #if [ -x /usr/local/bin/mono ]; then 13 | # mono ~/.keepass/KeePass.exe & 14 | #fi 15 | 16 | urxvtd -q -f -o & 17 | 18 | parcellite & 19 | 20 | xset +fp ~/.fonts 21 | xset +fp /usr/local/lib/X11/fonts/terminus 22 | xset +fp /usr/local/lib/X11/fonts/anonymous-pro 23 | 24 | xset fp rehash 25 | 26 | if [ -x /sbin/shutdownd ]; then 27 | /sbin/shutdownd -s 20 -w 40 -W "i3-nagbar -m 'Current battery is at \$battery_minutes. Shutdown is in \$shutdown_minutes.' -b 'shutdown now' 'sudo halt -p'" 28 | fi 29 | #~/bin/dwmbar & 30 | 31 | feh --bg-center ~/.background.png & 32 | 33 | #exec awesome 34 | #exec xmonad 35 | #exec spectrwm 36 | #exec dwm 37 | #exec enlightenment_start 38 | #exec i3 39 | #exec cwm 40 | exec stumpwm 41 | -------------------------------------------------------------------------------- /install: -------------------------------------------------------------------------------- 1 | #!/bin/ksh 2 | 3 | HOST=$(hostname -s || hostname) 4 | OS=$(uname -s) 5 | WD=$(pwd) 6 | 7 | setup_flag=false 8 | verbose=true 9 | 10 | while getopts ":svh" opt; do 11 | case "$opt" in 12 | s) 13 | setup_flag=true 14 | ;; 15 | v) 16 | verbose=true 17 | ;; 18 | h) 19 | echo "Usage:\n\t-s for setup\n\t-v for verbose" 20 | exit 21 | ;; 22 | 23 | esac 24 | done 25 | 26 | # need something to install git if it's not there.. some kinda package 27 | # wrapper that works with apt/dpkg and pkg_add stuff 28 | 29 | log() { 30 | if [ $verbose = true ]; then 31 | echo $1 32 | fi 33 | } 34 | 35 | lnk() { 36 | log "ln -s $1 $2" 37 | ln -s $1 $2 38 | } 39 | 40 | srm() { 41 | log "rm $1" 42 | if [ -L $1 ]; then 43 | if [[ $OS = "OpenBSD" ]]; then 44 | rm $1 45 | else 46 | unlink $1 47 | fi 48 | else 49 | rm $1 50 | fi 51 | } 52 | 53 | link_file() { 54 | if [[ -e $2 ]] || [[ -L $2 ]]; then 55 | if [ $setup_flag = true ]; then 56 | diff -q $2 $1 57 | if [ "$?" -ne "0" ]; then 58 | vimdiff $2 $1 59 | else 60 | echo -n "$2 already in place, but is the same. Remove and crate symlink? (y/yes) " 61 | read ANS 62 | if [[ $ANS = "y" || $ANS = "yes" ]]; then 63 | srm $2 64 | lnk $1 $2 65 | else 66 | exit 67 | fi 68 | fi 69 | else 70 | srm $2 71 | lnk $1 $2 72 | fi 73 | else 74 | lnk $1 $2 75 | fi 76 | } 77 | 78 | dotify() { 79 | echo $(echo $1 | sed -e 's/^dot_/\./'); 80 | } 81 | 82 | for file in common/*; do 83 | if [ "$file" == "common/config" ]; then 84 | for cfile in $(ls $file); do 85 | link_file $WD/$file/$cfile ~/.config/$cfile 86 | done 87 | else 88 | f=$(basename $file) 89 | link_file $WD/$file ~/$(dotify $f) 90 | fi 91 | done 92 | 93 | if [ -d $HOST ]; then 94 | for file in $(ls $HOST); do 95 | if [ "$file" == "config" ]; then 96 | for cfile in $(ls $HOST/$file); do 97 | link_file $WD/$HOST/$file/$cfile ~/.config/$cfile 98 | done 99 | else 100 | link_file $WD/$HOST/$file ~/$(dotify $file) 101 | fi 102 | done 103 | #else 104 | #for file in $(ls default); do 105 | # link_file $WD/default/$file ~/$(dotify $file) 106 | #done 107 | fi 108 | 109 | if [ ! -e ~/bin ]; then 110 | mkdir ~/bin 111 | fi 112 | 113 | for file in $(ls bin); do 114 | link_file $WD/bin/$file ~/bin/$file 115 | done 116 | -------------------------------------------------------------------------------- /litr/dot_Xmodmap: -------------------------------------------------------------------------------- 1 | pointer = 1 2 3 5 4 7 6 8 9 10 11 12 2 | !keysym Alt_R = Multi_key 3 | keycode 113 = Multi_key 4 | -------------------------------------------------------------------------------- /pwntie/dot_cwmrc: -------------------------------------------------------------------------------- 1 | bind C4-t vtile 2 | bind C4-r htile 3 | command urxvt "urxvt" 4 | command next "pctl -n" 5 | command pause "pctl -p" 6 | 7 | 8 | bind C4-Return "urxvt" 9 | 10 | bind 4-p "/home/qbit/bin/pctl -p" 11 | bind 4-n "/home/qbit/bin/pctl -n" 12 | 13 | autogroup 2 "chrome,Chrome" 14 | autogroup 3 "irssi" 15 | 16 | sticky yes 17 | -------------------------------------------------------------------------------- /pwntie/dot_i3status.conf: -------------------------------------------------------------------------------- 1 | general { 2 | output_format = "i3bar" 3 | colors = true 4 | color_separator = "#EEEEEE" 5 | color_good = "#00FF00" 6 | color_degraded = "#FFFB00" 7 | color_bad = "#FF000D" 8 | interval = 5 9 | } 10 | 11 | #order += "ipv6" 12 | #order += "disk /" 13 | order += "ethernet em0" 14 | #order += "battery 0" 15 | order += "load" 16 | order += "cpu_temperature cpu0" 17 | order += "cpu_temperature acpitz0" 18 | order += "volume master" 19 | order += "time" 20 | 21 | 22 | cpu_temperature cpu0 { 23 | format = "CPU: %degrees °C" 24 | path = "cpu0" 25 | } 26 | 27 | cpu_temperature acpitz0 { 28 | format = "TZ: %degrees C" 29 | } 30 | 31 | #wireless iwn0 { 32 | # format_up = "W: %essid (%signal) %ip" 33 | # format_down = "W: down" 34 | #} 35 | 36 | ethernet em0 { 37 | format_up = "E: %ip (%speed)" 38 | format_down = "E: down" 39 | } 40 | 41 | #battery 0 { 42 | # format = "%status %percentage \% %remaining min." 43 | # low_threshold = 30 44 | # threshold_type = percentage 45 | #} 46 | 47 | time { 48 | format = "%A %h %d %l:%M" 49 | } 50 | 51 | load { 52 | format = "1min: %1min" 53 | } 54 | 55 | disk "/" { 56 | format = "%free (or: %percentage_used used, %percentage_used_of_avail used of avail, %percentage_free free, %percentage_avail avail)" 57 | } 58 | 59 | volume master { 60 | format = "♪: %volume" 61 | } 62 | -------------------------------------------------------------------------------- /pwntie/dot_xinitrc: -------------------------------------------------------------------------------- 1 | export LC_CTYPE="en_US.UTF-8" 2 | 3 | mkfifo /tmp/pianobar 4 | 5 | xset -b & 6 | xmodmap ~/.xmodmap & 7 | 8 | #keepassx & 9 | if [ -x /usr/local/bin/mono ]; then 10 | mono ~/.keepass/KeePass.exe & 11 | fi 12 | 13 | if [ -x /usr/bin/spotify ]; then 14 | /usr/bin/spotify & 15 | fi 16 | 17 | if [ -x /usr/bin/steam ]; then 18 | /usr/bin/steam & 19 | fi 20 | 21 | urxvtd -q -f -o & 22 | 23 | parcellite & 24 | 25 | xset +fp ~/.fonts 26 | xset fp rehash 27 | 28 | feh --bg-center ~/.background.png & 29 | 30 | xrandr --output DVI-0 --mode 2560x1440 --rate 60 & 31 | #exec awesome 32 | #exec xmonad 33 | #exec spectrwm 34 | #exec dwm 35 | exec i3 36 | -------------------------------------------------------------------------------- /pwntie/dot_xsession: -------------------------------------------------------------------------------- 1 | export LC_CTYPE="en_US.UTF-8" 2 | 3 | #xrandr --newmode 2560x1440 146.27 2560 2680 2944 3328 1440 1441 1444 1465 -HSync +Vsync 4 | #xrandr --addmode HDMI1 2560x1440 5 | #xrandr --output HDMI1 --mode 2560x1440 6 | 7 | mkfifo /tmp/pianobar 8 | 9 | xset -b & 10 | xmodmap ~/.xmodmap & 11 | 12 | #keepassx & 13 | if [ -x /usr/local/bin/mono ]; then 14 | mono ~/.keepass/KeePass.exe & 15 | fi 16 | 17 | urxvtd -q -f -o & 18 | 19 | parcellite & 20 | 21 | xset +fp ~/.fonts 22 | xset +fp /usr/local/lib/X11/fonts/terminus 23 | xset +fp /usr/local/lib/X11/fonts/anonymous-pro 24 | xset +fp /usr/local/lib/X11/fonts/gohufont 25 | 26 | xset fp rehash 27 | 28 | if [ -x /sbin/shutdownd ]; then 29 | /sbin/shutdownd -s 20 -w 40 -W "i3-nagbar -m 'Current battery is at \$battery_minutes. Shutdown is in \$shutdown_minutes.' -b 'shutdown now' 'sudo halt -p'" 30 | fi 31 | 32 | #~/bin/dwmbar & 33 | 34 | #xrandr --output DVI-0 --auto --left-of DVI-1 --output DVI-1 --rotate left & 35 | xrandr --output DVI-0 --auto --output DVI-1 --off & 36 | 37 | feh --bg-center ~/.background.png & 38 | 39 | #exec awesome 40 | #exec xmonad 41 | #exec spectrwm 42 | #exec dwm 43 | #exec i3 44 | #exec cwm 45 | exec /home/qbit/Development/stumpwm/stumpwm 46 | #exec /home/qbit/Development/bspwm/bspwm 47 | #exec ctwm 48 | -------------------------------------------------------------------------------- /slip/config/beets/config.yaml: -------------------------------------------------------------------------------- 1 | # Beets configuration -------------------------------------------------------- 2 | 3 | directory: ~/Music 4 | 5 | import: 6 | # shove metadata into files 7 | write: yes 8 | 9 | # copy music files in 10 | copy: yes 11 | 12 | # use auto-tagging where possible 13 | # do not require confirmation on strong matches 14 | autotag: yes 15 | timid: no 16 | 17 | resume: ask 18 | incremental: no 19 | none_rec_action: ask 20 | log: 21 | 22 | quiet: no # enable with command line option 23 | quiet_fallback: skip 24 | default_action: apply 25 | 26 | singletons: no 27 | languages: [] 28 | detail: no 29 | flat: no 30 | 31 | # use the release-date of the original (first) release of an album? 32 | original_date: yes 33 | 34 | # on multi-disk releases, assign track numbers for the whole album. 35 | # If "per disk", make sure tracknames do not collide ("paths" setting). 36 | per_disc_numbering: no 37 | 38 | # files matching these patterns are deleted from source after import 39 | clutter: ["Thumbs.DB", ".DS_Store", "*.m3u", ".pls", "*.jpg"] 40 | 41 | # files/directories matching one of these patterns are ignored during import 42 | ignore: [".*", "*~", "System Volume Information"] 43 | 44 | 45 | # General -------------------------------------------------------------------- 46 | 47 | # use mutliple threads during import 48 | threaded: yes 49 | timeout: 5.0 50 | verbose: no 51 | 52 | # User Interface ------------------------------------------------------------- 53 | 54 | color: yes 55 | list_format_item: %upper{$artist} - $album - $track. $title 56 | list_format_album: %upper{$albumartist} - $album 57 | time_format: '%Y-%m-%d %H:%M:%S' 58 | terminal_encoding: utf8 59 | 60 | ui: 61 | terminal_width: 80 62 | length_diff_thresh: 10.0 63 | 64 | # Auto Tagger ---------------------------------------------------------------- 65 | 66 | match: 67 | strong_rec_thresh: 0.1 # match 90% or better for auto import 68 | medium_rec_thresh: 0.25 69 | rec_gap_thresh: 0.25 70 | max_rec: 71 | missing_tracks: medium 72 | unmatched_tracks: medium 73 | distance_weights: 74 | source: 2.0 75 | artist: 3.0 76 | album: 3.0 77 | media: 1.0 78 | mediums: 1.0 79 | year: 1.0 80 | country: 0.5 81 | label: 0.5 82 | catalognum: 0.5 83 | albumdisambig: 0.5 84 | album_id: 5.0 85 | tracks: 2.0 86 | missing_tracks: 0.9 87 | unmatched_tracks: 0.6 88 | track_title: 3.0 89 | track_artist: 2.0 90 | track_index: 1.0 91 | track_length: 2.0 92 | track_id: 5.0 93 | preferred: 94 | countries: [] 95 | media: [] 96 | original_year: no 97 | ignored: [] 98 | track_length_grace: 10 99 | track_length_max: 30 100 | 101 | # Plugins -------------------------------------------------------------------- 102 | 103 | plugins: [ 104 | chroma, 105 | discogs, 106 | duplicates, 107 | embedart, 108 | fetchart, 109 | lastgenre, 110 | lyrics, 111 | mbsync, 112 | missing, 113 | mpdstats, 114 | scrub, 115 | smartplaylist, 116 | mpdupdate, 117 | web 118 | ] 119 | 120 | 121 | lyrics: 122 | auto: yes 123 | fallback: '' 124 | 125 | fetchart: 126 | auto: yes 127 | maxwidth: 300 128 | cautious: true 129 | cover_names: cover folder 130 | 131 | embedart: 132 | auto: yes 133 | maxwidth: 300 134 | 135 | replaygain: 136 | auto: yes 137 | overwrite: yes 138 | albumgain: yes 139 | 140 | scrub: 141 | auto: yes 142 | 143 | lastgenre: 144 | whitelist: ~/.config/beets/genres.txt 145 | canonical: ~/.config/beets/genres-tree.yaml 146 | 147 | mpd: 148 | host: localhost 149 | port: 6600 150 | 151 | smartplaylist: 152 | relative_to: ~/Music 153 | playlist_dir: /var/spool/mpd/playlists/ 154 | #playlist_dir: /home/qbit/playlists/ 155 | playlists: 156 | - name: all.m3u 157 | query: '' 158 | 159 | - name: hiphop.m3u 160 | query: 'genre:hip hop' 161 | 162 | - name: tool.m3u 163 | query: 'artist:Tool year+' 164 | 165 | - name: metal.m3u 166 | query: 'genre:metal' 167 | 168 | - name: blues.m3u 169 | query: 'genre:blues' 170 | 171 | - name: bluegrass.m3u 172 | query: 'genre:bluegrass' 173 | 174 | - name: tcm.m3u 175 | query: 'artist:The Crystal Method year+' 176 | 177 | - name: ctd.m3u 178 | query: 'artist:Crash Test Dummies year+' 179 | 180 | - name: jonhopkins.m3u 181 | query: 'artist:Jon Hopkins year+' 182 | 183 | - query: ['genre+'] 184 | name: '$genre.m3u' 185 | 186 | - query: ['artist+'] 187 | name: '$artist.m3u' 188 | 189 | mpdstats: 190 | rating: False 191 | # two ratings are calculated: 192 | # "rolling" based on recent development 193 | # "stable" based on all-time development 194 | # rating mix 0.0 is all "rolling", 1.0 is all "stable" 195 | rating_mix: 0.75 196 | 197 | missing: 198 | format: $albumartist - $album - $track - $title 199 | count: no 200 | total: no 201 | 202 | library: ~/.musiclibrary.blb 203 | 204 | -------------------------------------------------------------------------------- /slip/config/rofi/config: -------------------------------------------------------------------------------- 1 | rofi.modi: run,mpc:rofi-mpc,window,ssh 2 | -------------------------------------------------------------------------------- /slip/dot_Xmodmap: -------------------------------------------------------------------------------- 1 | pointer = 1 2 3 5 4 7 6 8 9 10 11 12 2 | keysym Alt_R = Multi_key 3 | keycode 211 = Multi_key 4 | keycode 103 = Insert 5 | -------------------------------------------------------------------------------- /slip/dot_background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qbit/dotfiles/1a420ca6bf9605b78c57500b182c7b697e612678/slip/dot_background.png -------------------------------------------------------------------------------- /slip/dot_screenlayout/bg.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | feh --bg-fill ~/.background.png 4 | pkill xbattbar 5 | #xbattbar -I "#99aab9" -O "#798a99" -o "#99aab9" -i "#798a99" & 6 | xbattbar -i green -o "olive drab" -I blue -O red & 7 | -------------------------------------------------------------------------------- /slip/dot_screenlayout/external.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | 3 | . ~/.screenlayout/shared.sh 4 | 5 | xrandr 6 | xrandr --output ${EXTERNAL} --mode ${EXTERNAL_MODE} --pos 0x0 --rotate normal ${OFFS} 7 | 8 | . ~/.screenlayout/bg.sh 9 | -------------------------------------------------------------------------------- /slip/dot_screenlayout/internal.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh -x 2 | 3 | . ~/.screenlayout/shared.sh 4 | 5 | xrandr --output ${INTERNAL} --mode 1920x1080 --pos 0x0 --rotate normal ${OFFS} 6 | 7 | . ~/.screenlayout/bg.sh 8 | -------------------------------------------------------------------------------- /slip/dot_screenlayout/shared.sh: -------------------------------------------------------------------------------- 1 | INTERNAL="eDP-1" 2 | EXTERNAL="DP-2-1" 3 | EXTERNAL_MODE="2560x1440" 4 | 5 | OFFS="" 6 | for d in $( xrandr | grep ^[a-zA-Z] | grep -v Screen | awk '{print $1}'); do 7 | OFFS="${OFFS} --output ${d} --off" 8 | done 9 | -------------------------------------------------------------------------------- /slip/dot_screenlayout/tray.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | pkill trayer 4 | 5 | if [ "$1" == "external" ]; then 6 | trayer --edge top --align right --width 5 --height 12 --alpha 180 --tint 0 --transparent true --SetDockType true --SetPartialStrut true --expand true --widthtype percent 7 | else 8 | trayer --edge top --align right --width 9 --height 12 --alpha 180 --tint 0 --transparent true --SetDockType true --SetPartialStrut true --expand true --widthtype percent 9 | fi 10 | -------------------------------------------------------------------------------- /slip/dot_wmanager: -------------------------------------------------------------------------------- 1 | /usr/X11R6/bin/cwm 2 | -------------------------------------------------------------------------------- /slip/dot_xmobarrc: -------------------------------------------------------------------------------- 1 | Config { font = "xft:Anonymous PRO:regular:pixelsize=12" 2 | , position = Top 3 | , alpha = 80 4 | , additionalFonts = [] 5 | , fgColor = "white" 6 | , lowerOnStart = True 7 | , pickBroadest = False 8 | , persistent = False 9 | , hideOnStart = False 10 | , iconRoot = "." 11 | , textOffset = -1 12 | , iconOffset = -1 13 | , allDesktops = True 14 | , overrideRedirect = True 15 | , commands = [ 16 | Run Weather "KPUB" [ 17 | "-t","C" 18 | , "-L","18","-H","25" 19 | , "--normal","green" 20 | , "--high","red" 21 | , "--low","lightblue" 22 | ] 36000 23 | , Run Battery [ 24 | "-t","" 25 | , "-L", "20", "-H", "50" 26 | , "--normal","yellow" 27 | , "--high","green" 28 | , "--low", "red" 29 | ] 10 30 | , Run Com "uname" ["-n"] "" 36000 31 | , Run Date "%a %b %_d (%H)%l:%M%p" "date" 10 32 | , Run MPD [ 33 | "-t" 34 | , " - " 35 | , "-M 20" 36 | ] 100 37 | , Run UnsafeStdinReader 38 | ] 39 | , sepChar = "%" 40 | , alignSep = "}{" 41 | , template = " %battery% | %UnsafeStdinReader% }{ %mpd% | %KPUB% | %date% | %uname% " 42 | } 43 | -------------------------------------------------------------------------------- /vpi/dot_xsession: -------------------------------------------------------------------------------- 1 | exec startxfce4 2 | --------------------------------------------------------------------------------