Pre-cleanup.

This commit is contained in:
2015-11-01 01:37:32 +01:00
parent af5abe5987
commit 46ac10388a
7 changed files with 31 additions and 17 deletions

View File

@@ -67,8 +67,8 @@
set $up k set $up k
set $right l set $right l
set $splith c set $splith v
set $splitv v set $splitv c
set $split_toggle x set $split_toggle x
set $fullscreen f set $fullscreen f
@@ -99,6 +99,10 @@
set $redshift_colortemp_day 6500 set $redshift_colortemp_day 6500
set $redshift_colortemp_night 4500 set $redshift_colortemp_night 4500
gaps inner 10
smart_gaps on
smart_borders on
################################################################################ ################################################################################
### KEYBINDINGS ################################################################ ### KEYBINDINGS ################################################################
##################9############################################################# ##################9#############################################################
@@ -283,10 +287,11 @@ client.urgent #2f343a #900000 #ffffff #900000
### APPLICATION SPECIFIC SETTINGS ############################################## ### APPLICATION SPECIFIC SETTINGS ##############################################
################################################################################ ################################################################################
for_window [class="^.*$"] border pixel 0
for_window [class="^Wicd-client.py$"] floating enable for_window [class="^Wicd-client.py$"] floating enable
for_window [class="^Xfce4-notifyd$"] floating enable , border none for_window [class="^Xfce4-notifyd$"] floating enable , border none
for_window [class="^Conky$"] floating enable for_window [class="^Conky$"] floating enable
for_window [class="^Terminator$"] border 1pixel
for_window [class="^Firefox$"] border none for_window [class="^Firefox$"] border none
for_window [class="^Truecrypt$"] floating enable for_window [class="^Truecrypt$"] floating enable
for_window [class="^URxvt$"] border 1pixel for_window [class="^URxvt$"] border 1pixel
@@ -308,8 +313,6 @@ client.urgent #2f343a #900000 #ffffff #900000
#for_window [class="^Xfce4-panel$"] floating enable #for_window [class="^Xfce4-panel$"] floating enable
for_window [class="^Thunderbird$"] border none for_window [class="^Thunderbird$"] border none
for_window [instance="^shutdown-menu$"] border normal for_window [instance="^shutdown-menu$"] border normal
for_window [class="^VirtualBox$" ] border normal
for_window [class="^Virt-manager$" ] border normal
#assign [class="^Thunderbird"] $workspace9 #assign [class="^Thunderbird"] $workspace9
assign [class="^Firefox$" ] $workspace1 assign [class="^Firefox$" ] $workspace1
@@ -321,7 +324,6 @@ client.urgent #2f343a #900000 #ffffff #900000
assign [class="^Zim$" ] $workspace8 assign [class="^Zim$" ] $workspace8
assign [class="^Thunderbird$" ] $workspace9 assign [class="^Thunderbird$" ] $workspace9
assign [class="^Skype$"] $workspace10 assign [class="^Skype$"] $workspace10
assign [class="^Mumble"] $workspace10
assign [class="^Deluge$"] $workspace5 assign [class="^Deluge$"] $workspace5

View File

@@ -36,7 +36,7 @@ setvol() {
else else
newvol="$1" newvol="$1"
fi fi
pactl set-sink-volume $SINK $(( $newvol * 65536 / 100 )) pactl set-sink-volume $SINKNAME $(( $newvol * 65536 / 100 ))
} }
ismuted() { ismuted() {

View File

@@ -14,11 +14,17 @@ unbind C-j
set -s escape-time 0 set -s escape-time 0
set-window-option -g aggressive-resize on set-window-option -g aggressive-resize on
bind -n WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
bind -n WheelDownPane select-pane -t= \; send-keys -M
setw -g mode-mouse on bind -n C-WheelUpPane select-pane -t= \; copy-mode -e \; send-keys -M
set -g mouse-select-pane on
set -g mouse-resize-pane on bind -t vi-copy C-WheelUpPane halfpage-up
set -g mouse-select-window on bind -t vi-copy C-WheelDownPane halfpage-down
bind -t emacs-copy C-WheelUpPane halfpage-up
bind -t emacs-copy C-WheelDownPane halfpage-down
set -g mouse on
set -g mode-keys vi set -g mode-keys vi

View File

@@ -24,6 +24,7 @@ Plugin 'tpope/vim-speeddating'
Plugin 'tpope/vim-surround' Plugin 'tpope/vim-surround'
Plugin 'junegunn/goyo.vim' Plugin 'junegunn/goyo.vim'
Plugin 'junegunn/limelight.vim' Plugin 'junegunn/limelight.vim'
Plugin 'sheerun/vim-polyglot'
"Plugin 'Lokaltog/vim-easymotion' "Plugin 'Lokaltog/vim-easymotion'
"Plugin 'PeterRincker/vim-argumentative' "Plugin 'PeterRincker/vim-argumentative'

View File

@@ -8,7 +8,7 @@ URxvt.letterSpace: -1
! clickable URLs ! clickable URLs
URxvt.perl-ext-common: default,matcher,selection-to-clipboard URxvt.perl-ext-common: default,matcher,selection-to-clipboard
URxvt.url-launcher: /usr/bin/chromium URxvt.url-launcher: /usr/bin/firefox
URxvt.matcher.button: 1 URxvt.matcher.button: 1
URxvt.intensityStyles: false URxvt.intensityStyles: false
@@ -17,7 +17,7 @@ URxvt.intensityStyles: false
URxvt.saveLines: 10000 URxvt.saveLines: 10000
URxvt.fading: 30 URxvt.fading: 20
URxvt.termName: urxvt URxvt.termName: urxvt

View File

@@ -14,6 +14,8 @@ log() {
log "xinitrc startup" log "xinitrc startup"
xsetroot -solid '#333333'
if [ -d /etc/X11/xinit/xinitrc.d ]; then if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f" [ -x "$f" ] && . "$f"
@@ -39,7 +41,7 @@ keyboard_repeat_delay=150
keyboard_repeat_speed=50 keyboard_repeat_speed=50
# path and options for the wallpaper changer script # path and options for the wallpaper changer script
path_wallchanger="$HOME/dev/projects/wallchanger/wallchanger" path_wallchanger="$HOME/projects/wallchanger/wallchanger"
wallchanger_pidfile="$RUNDIR/wallchanger.pid" wallchanger_pidfile="$RUNDIR/wallchanger.pid"
wallpaper_directory="$HOME/pictures/wallpaper/misc" wallpaper_directory="$HOME/pictures/wallpaper/misc"
wallpaper_logfile="$LOGDIR/wallpaper.log" wallpaper_logfile="$LOGDIR/wallpaper.log"

View File

@@ -145,6 +145,8 @@ alias c="cd"
alias l="ls" alias l="ls"
alias s="sudo" alias s="sudo"
alias cl="clear"
alias calc='python3 -ic "from math import *; import cmath"' alias calc='python3 -ic "from math import *; import cmath"'
# show non-printable characters by default # show non-printable characters by default
@@ -155,6 +157,7 @@ alias zshrc="vim -c ':e ~/.zshrc' ; source ~/.zshrc"
alias vim="nvim" alias vim="nvim"
# rebase the current branch onto WTF ARE YOU DOING YOU ARE DRUNNK TO GO BED # rebase the current branch onto WTF ARE YOU DOING YOU ARE DRUNNK TO GO BED
##alias rebase="git rebase -i $(git branch --contains HEAD | grep -v '\*.*' | head -1)" ##alias rebase="git rebase -i $(git branch --contains HEAD | grep -v '\*.*' | head -1)"
@@ -258,7 +261,7 @@ fnottype() {
find . -maxdepth 1 ! -type $1 find . -maxdepth 1 ! -type $1
} }
http() { httpcode() {
curl http://httpcode.info/$1 curl http://httpcode.info/$1
} }