UXTerm, dmenu improvements

This commit is contained in:
Austen Adler 2015-03-02 11:20:59 -05:00
parent 66d635ce90
commit cc1b5b4fa2
5 changed files with 15 additions and 6 deletions

View File

@ -87,8 +87,8 @@ bindsym $mod+Return exec uxterm
bindsym $mod+shift+Return exec uxterm -e "cd `xcwd`&&/bin/zsh" bindsym $mod+shift+Return exec uxterm -e "cd `xcwd`&&/bin/zsh"
bindsym $mod+shift+c kill bindsym $mod+shift+c kill
bindsym $mod+c move absolute position center bindsym $mod+c move absolute position center
bindsym XF86MonBrightnessUp exec "xbacklight -inc 10" bindsym XF86MonBrightnessUp exec "xbacklight -inc 10 -time 0 -steps 1"
bindsym XF86MonBrightnessDown exec "xbacklight -dec 10" bindsym XF86MonBrightnessDown exec "xbacklight -dec 10 -time 0 -steps 1"
bindsym XF86TouchpadToggle exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')" bindsym XF86TouchpadToggle exec "synclient TouchpadOff=$(synclient -l | grep -c 'TouchpadOff.*=.*0')"
bindsym XF86AudioRaiseVolume exec "amixer set Master 5%+ unmute" bindsym XF86AudioRaiseVolume exec "amixer set Master 5%+ unmute"
bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute" bindsym XF86AudioLowerVolume exec "amixer set Master 5%- unmute"
@ -183,6 +183,7 @@ exec --no-startup-id /usr/bin/gtk-redshift -l 36.3:-80.3 -t 6500:4000
exec --no-startup-id /usr/bin/parcellite exec --no-startup-id /usr/bin/parcellite
exec --no-startup-id /usr/bin/numlockx exec --no-startup-id /usr/bin/numlockx
bindsym $mod+p exec dmenu_run -p Run -l 5 -i bindsym $mod+p exec dmenu_run -p Run -l 5 -i
bindsym $mod+shift+p exec "~/.i3/pass.sh"
#exec --no-startup-id /usr/bin/synapse -s #exec --no-startup-id /usr/bin/synapse -s
exec --no-startup-id /usr/bin/zeal exec --no-startup-id /usr/bin/zeal
exec --no-startup-id xset -b exec --no-startup-id xset -b

2
i3/pass.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/zsh
pass -c $(ls ~/.password-store/*/*|cut -b-37 --complement|dmenu -l 5|sed -e 's/\.gpg//')

View File

@ -82,9 +82,9 @@ while getopts ":hbsdpcw" VALUE "$@"; do
ln -s $ABSPATH/shells/liquidpromptrc ~/.config/liquidpromptrc ln -s $ABSPATH/shells/liquidpromptrc ~/.config/liquidpromptrc
if [ "$(uname)" != "Darwin" ]; then if [ "$(uname)" != "Darwin" ]; then
if which trash >/dev/null; then if which trash >/dev/null; then
trash ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources trash ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/screensaver.sh ~/.i3/pass.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources
else else
rm ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/screensaver.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources rm ~/.i3/config ~/.i3/sleep.sh ~/.i3/wall.sh ~/.i3/screensaver.sh ~/.i3/pass.sh ~/.Xmodmap ~/.xsession ~/.config/synapse/gtkrc ~/.Xresources
fi fi
# Don't install these on Mac # Don't install these on Mac
mkdir -p ~/.i3 mkdir -p ~/.i3
@ -93,6 +93,7 @@ while getopts ":hbsdpcw" VALUE "$@"; do
ln -s $ABSPATH/i3/wall.sh ~/.i3/wall.sh ln -s $ABSPATH/i3/wall.sh ~/.i3/wall.sh
ln -s $ABSPATH/i3/i3status.conf ~/.i3/i3status.conf 2>/dev/null ln -s $ABSPATH/i3/i3status.conf ~/.i3/i3status.conf 2>/dev/null
ln -s $ABSPATH/i3/screensaver.sh ~/.i3/screensaver.sh ln -s $ABSPATH/i3/screensaver.sh ~/.i3/screensaver.sh
ln -s $ABSPATH/i3/pass.sh ~/.i3/pass.sh
ln -s $ABSPATH/i3/Xmodmap ~/.Xmodmap ln -s $ABSPATH/i3/Xmodmap ~/.Xmodmap
ln -s $ABSPATH/i3/xsession ~/.xsession ln -s $ABSPATH/i3/xsession ~/.xsession
mkdir -p ~/.config/synapse mkdir -p ~/.config/synapse

View File

@ -2,10 +2,14 @@ UXTerm*antialias: true
UXTerm*hinting: true UXTerm*hinting: true
UXTerm*hintstyle: hintlight UXTerm*hintstyle: hintlight
UXTerm*rgba: rgb UXTerm*rgba: rgb
! XTerm*font: xft:DejaVu Sans Mono-8 UXTerm*faceName:
! UXTerm*faceName: Terminal:size=8:antialias=false
UXTerm*font: xft:DejaVu Sans Mono-8
UXTerm*borderWidth: 0
! UXTerm*faceName: Source Code Pro for Powerline
UXerm*letterSpace: -1 UXerm*letterSpace: -1
UXTerm*faceSize: 9 UXTerm*faceSize: 8
UXTerm*utf8: 1 UXTerm*utf8: 1
UXTerm*vt100*geometry: 80x60 UXTerm*vt100*geometry: 80x60
UXTerm*saveLines: 16384 UXTerm*saveLines: 16384

View File

@ -12,6 +12,7 @@ HISTSIZE=12000
SAVEHIST=10000000 SAVEHIST=10000000
setopt HIST_EXPIRE_DUPS_FIRST setopt HIST_EXPIRE_DUPS_FIRST
setopt EXTENDED_HISTORY setopt EXTENDED_HISTORY
setopt APPEND_HISTORY SHARE_HISTORY HISTIGNOREALLDUPS
# export PAGER=/usr/bin/w3m # export PAGER=/usr/bin/w3m
plugins=(wd gem pass pip python sudo vagrant) plugins=(wd gem pass pip python sudo vagrant)
DISABLE_AUTO_UPDATE="true" DISABLE_AUTO_UPDATE="true"