Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 6 commits
  • 5 files changed
  • 0 commit comments
  • 1 contributor
Showing with 25 additions and 8 deletions.
  1. +2 −1 .bashrc
  2. +4 −0 {.i3 → .config/i3}/config
  3. +17 −5 .functions
  4. +1 −1 .inputrc
  5. +1 −1 .xsession
View
3 .bashrc
@@ -6,6 +6,7 @@
[[ $- = *i* ]] || return
export TTY=$(tty)
+export GPG_TTY=$TTY
# shell opts: see bash(1)
shopt -s cdspell dirspell extglob histverify no_empty_cmd_completion checkwinsize
@@ -29,7 +30,7 @@ export LESS_TERMCAP_ue=$'\e[0m'
export LESS_TERMCAP_us=$'\e[01;32m'
# history
-export HISTIGNORE="&:ls:[bf]g:exit:reset:clear:cd*"
+export HISTIGNORE="&:ls:[bf]g:exit:reset:clear:cd *"
export HISTCONTROL="ignoreboth:erasedups"
export HISTSIZE=1000
export HISTFILESIZE=2000
View
4 .i3/config → .config/i3/config
@@ -118,6 +118,7 @@ bindsym $mod+F1 exec mpc prev
bindsym $mod+F2 exec mpc toggle
bindsym $mod+F3 exec mpc next
+bindsym $mod+Shift+I exec xcalib -invert -alter
#
# Windowing Rules
@@ -131,6 +132,9 @@ assign [instance="tmux"] → 2
assign [instance="ncmpcpp"] → 3
assign [instance="htop"] → 3
+for_window [class="Gxmessage"] floating enable
+for_window [class="Pinentry"] floating enable
+
#assign [class="mplayer2"] → 4
# resize window (you can also use the mouse for that)
View
22 .functions
@@ -69,15 +69,27 @@ debugflags() {
}
deps() {
- local prog
+ local bin dir
if [[ -f "$1" ]]; then
- prog=$1
+ bin=$1
+ elif bin=$(type -P $1); then
+ :
else
- prog=$(type -P $1) && echo -e "$1 => $prog\n"
+ # maybe its a lib?
+ for dir in /lib /usr/lib; do
+ if [[ -f $dir/$1 ]]; then
+ bin=$dir/$1
+ break
+ fi
+ done
+ fi
+
+ if [[ $bin && $1 != $bin ]]; then
+ printf '%s => %s\n\n' "$1" "$bin"
fi
- [[ -z $prog ]] && { echo "error: binary not found: $1"; return 1; }
- objdump -p "$prog" | awk '/NEEDED/ { print $2 }'
+ [[ -z $bin ]] && { echo "error: binary not found: $1"; return 1; }
+ objdump -p "$bin" | awk '/NEEDED/ { print $2 }'
}
depscan() {
View
2 .inputrc
@@ -11,6 +11,6 @@ $if mode=vi
"\e[6~": history-search-forward
$endif
-
+"\C-e\C-w": unix-filename-rubout
"\C-x\C-r": re-read-init-file
View
2 .xsession
@@ -25,7 +25,7 @@ feh --bg-scale $(randomWallpaper)
xscreensaver -no-splash &
# input
-setxkbmap -option terminate:ctrl_alt_bksp -option compose:r_alt
+setxkbmap -option terminate:ctrl_alt_bksp -option compose:ralt
xset r rate 220 45
xsetroot -cursor_name left_ptr

No commit comments for this range

Something went wrong with that request. Please try again.