diff --git a/.Xresources b/.Xresources old mode 100644 new mode 100755 index 9e114f2..858344a --- a/.Xresources +++ b/.Xresources @@ -4,18 +4,22 @@ #include ".cache/wal/colors.Xresources" -URxvt.font: xft:scientifica:size=12 +URxvt.font: xft:scientifica:size=11 URxvt.letterSpace: 1 URxvt.scrollBar: False URxvt.internalBorder: 25 URxvt.perl-ext-common: default,matcher URxvt.url-launcher: surf URxvt.matcher.button: 1 +URxvt.cursorBlink: 1 +URxvt.depth: 32 + +Emacs.font: scientifica 11 twobwm.enable_compton: true twobwm.border_width: 12 twobwm.outer_border: 8 twobwm.inverted_colors: false -rofi.font: scientifica 12 +rofi.font: scientifica 11 rofi.theme: ~/.cache/wal/colors-rofi-dark.rasi diff --git a/.config/compton.conf b/.config/compton.conf old mode 100644 new mode 100755 diff --git a/.config/gnupg/gpg.conf b/.config/gnupg/gpg.conf old mode 100644 new mode 100755 diff --git a/.config/luakit/globals.lua b/.config/luakit/globals.lua old mode 100644 new mode 100755 diff --git a/.config/luakit/rc.lua b/.config/luakit/rc.lua old mode 100644 new mode 100755 diff --git a/.config/luakit/theme.lua b/.config/luakit/theme.lua old mode 100644 new mode 100755 diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf old mode 100644 new mode 100755 diff --git a/.config/ranger/rc.conf b/.config/ranger/rc.conf old mode 100644 new mode 100755 diff --git a/.config/rtv/rtv.cfg b/.config/rtv/rtv.cfg old mode 100644 new mode 100755 diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc old mode 100644 new mode 100755 index 96257db..b6ba68b --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -44,105 +44,60 @@ super + o # make sxhkd reload its configuration files: super + Escape pkill -USR1 -x sxhkd +super + {h,j,k,l} + waitron window_move {-20 0, 0 20, 0 -20, 20 0} -# -# bspwm hotkeys -# - -# quit bspwm normally -super + alt + Escape - bspc quit - -# close and kill -super + {_,shift + }q - bspc node -{c,k} - -# alternate between the tiled and monocle layout -super + m - bspc desktop -l next - -# send the newest marked node to the newest preselected node -super + y - bspc node newest.marked.local -n newest.!automatic.local - -# swap the current node and the biggest node -super + g - bspc node -s biggest - -# -# state/flags -# - -# set the window state -super + {t,shift + t,f,u} - bspc node -t {tiled,pseudo_tiled,floating,fullscreen} - -# set the node flags -super + ctrl + {m,x,y,z} - bspc node -g {marked,locked,sticky,private} - -# -# focus/swap -# - -# focus the node in the given direction -super + {_,shift + }{h,j,k,l} - bspc node -{f,s} {west,south,north,east} - -# focus the node for the given path jump -super + {p,b,comma,period} - bspc node -f @{parent,brother,first,second} - -# focus the next/previous node in the current desktop -super + {_,shift + }c - bspc node -f {next,prev}.local - -# focus the next/previous desktop in the current monitor -super + bracket{left,right} - bspc desktop -f {prev,next}.local - -# focus the last node/desktop -super + {grave,Tab} - bspc {node,desktop} -f last - -# focus the older or newer node in the focus history -super + {o,i} - bspc wm -h off; \ - bspc node {older,newer} -f; \ - bspc wm -h on - -# focus or send to the given desktop -super + {_,shift + }{1-9,0} - bspc {desktop -f,node -d} '^{1-9,10}' - -# -# preselect -# - -# preselect the direction -super + ctrl + {h,j,k,l} - bspc node -p {west,south,north,east} - -# preselect the ratio -super + ctrl + {1-9} - bspc node -o 0.{1-9} - -# cancel the preselection for the focused node -super + ctrl + space - bspc node -p cancel - -# cancel the preselection for the focused desktop -super + ctrl + shift + space - bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel - -# -# move/resize -# - -# resize window -super + alt + shift + {h,j,k,l} - bspc node -z {right -20 0,bottom 0 20,bottom 0 -20,right 20 0} - -# move a floating window super + alt + {h,j,k,l} - bspc node -v {-20 0,0 20,0 -20,20 0} + waitron window_resize {-20 0, 0 20, 0 -20, 20 0} + +super + shift + {h,j,k,l} + waitron window_move {-50 0, 0 50, 0 -50, 50 0} + +super + shift + alt + {h,j,k,l} + waitron window_resize {-50 0, 0 50, 0 -50, 50 0} + +alt + {h,j,k,l} + waitron window_cardinal_focus {left,down,up,right} + +super + alt + Escape + waitron wm_quit 0 + +super + f + waitron window_maximize + +super + q + waitron window_close + +super + b + waitron window_hor_maximize + +super + v + waitron window_ver_maximize + +super + m + waitron window_monocle + +alt + Tab + waitron window_cycle + +alt + shift + Tab + waitron window_rev_cycle + +alt + ctrl + Tab + waitron window_focus_last + +super + {_,shift +}{1-9} + waitron {group_toggle,group_add_window} {1-9} + +super + ctrl + r + waitron group_remove_window + +super + alt + ctrl + {1-4} + waitron group_remove_all_windows {1-4} + +super + Return + urxvt + +super + {Insert,Prior,Delete,Next,End} +waitron window_snap {topleft,topright,bottomleft,bottomright,middle} + diff --git a/.config/wal/templates/colors-luakit.lua b/.config/wal/templates/colors-luakit.lua old mode 100644 new mode 100755 diff --git a/.config/wal/templates/colors-rofi-dark.rasi b/.config/wal/templates/colors-rofi-dark.rasi old mode 100644 new mode 100755 diff --git a/.config/wal/templates/colors-zathura b/.config/wal/templates/colors-zathura old mode 100644 new mode 100755 diff --git a/.config/wal/templates/colors.Xresources b/.config/wal/templates/colors.Xresources old mode 100644 new mode 100755 diff --git a/.config/windowchef/windowchefrc b/.config/windowchef/windowchefrc new file mode 100755 index 0000000..d87e074 --- /dev/null +++ b/.config/windowchef/windowchefrc @@ -0,0 +1,25 @@ +#!/bin/sh + +waitron wm_config border_width 5 +waitron wm_config internal_border_width 2 +waitron wm_config color_focused 0x97a293 +waitron wm_config color_unfocused 0x393638 +waitron wm_config internal_color_focused 0x393638 +waitron wm_config internal_color_unfocused 0x97a293 + +waitron wm_config gap_width all 0 +waitron wm_config grid_gap_width 0 + +waitron wm_config cursor_position center + +waitron wm_config groups_nr 10 +waitron wm_config enable_sloppy_focus true +waitron wm_config enable_resize_hints false +waitron wm_config sticky_windows false +waitron wm_config enable_borders true +waitron wm_config enable_last_window_focusing true +waitron wm_config apply_settings true +waitron wm_config replay_click_on_focus true +waitron wm_config pointer_actions move resize_side resize_corner +waitron wm_config pointer_modifier super +waitron wm_config click_to_focus any diff --git a/.kshrc b/.kshrc old mode 100644 new mode 100755 index d049302..32fb03f --- a/.kshrc +++ b/.kshrc @@ -9,8 +9,8 @@ export EDITOR="vim" set -o emacs alias gpg=gpg2 -alias vim="vim --servername VIM" -alias vi="vim --servername VIM" +alias vi=vim +alias tree="tree -C" GPG_TTY=$(tty) export GPG_TTY diff --git a/.profile b/.profile new file mode 100755 index 0000000..328090f --- /dev/null +++ b/.profile @@ -0,0 +1,3 @@ +ENV=$HOME/.kshrc +export ENV +export GPG_TTY=$(tty); gpg-connect-agent updatestartuptty /bye; diff --git a/.vimrc b/.vimrc old mode 100644 new mode 100755 diff --git a/.xinitrc b/.xinitrc old mode 100644 new mode 100755 index 093e6cb..f2eeff4 --- a/.xinitrc +++ b/.xinitrc @@ -9,12 +9,12 @@ xset -b userresources=$HOME/.Xresources -usermodmap=$HOME/.Xmodmap +#usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # pshuf and wal.sh can found in github.com/gigavinyl/.scripts -wallpaper=$(find "$HOME"/Wallpapers/* | pshuf | head -n1) +wallpaper=$(find "$HOME"/wallpapers/* | pshuf | head -n1) wal -b 0f0f0f -i "$wallpaper" -n --backend colorz wal.sh @@ -57,4 +57,7 @@ feh --bg-fill "$wallpaper" compton & sxhkd & urxvtd & -exec 2bwm +emacsd & +redshift -l geoclue2 & + +exec windowchef