Buncha new stuff

This commit is contained in:
Carolyn Knight 2019-02-19 23:44:02 +00:00
parent dc2c207725
commit 8ffdd183f4
19 changed files with 97 additions and 107 deletions

8
.Xresources Normal file → Executable file
View File

@ -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

0
.config/compton.conf Normal file → Executable file
View File

0
.config/gnupg/gpg.conf Normal file → Executable file
View File

0
.config/luakit/globals.lua Normal file → Executable file
View File

0
.config/luakit/rc.lua Normal file → Executable file
View File

0
.config/luakit/theme.lua Normal file → Executable file
View File

0
.config/mpd/mpd.conf Normal file → Executable file
View File

0
.config/ranger/rc.conf Normal file → Executable file
View File

0
.config/rtv/rtv.cfg Normal file → Executable file
View File

155
.config/sxhkd/sxhkdrc Normal file → Executable file
View File

@ -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}

0
.config/wal/templates/colors-luakit.lua Normal file → Executable file
View File

0
.config/wal/templates/colors-rofi-dark.rasi Normal file → Executable file
View File

0
.config/wal/templates/colors-zathura Normal file → Executable file
View File

0
.config/wal/templates/colors.Xresources Normal file → Executable file
View File

25
.config/windowchef/windowchefrc Executable file
View File

@ -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

4
.kshrc Normal file → Executable file
View File

@ -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

3
.profile Executable file
View File

@ -0,0 +1,3 @@
ENV=$HOME/.kshrc
export ENV
export GPG_TTY=$(tty); gpg-connect-agent updatestartuptty /bye;

0
.vimrc Normal file → Executable file
View File

9
.xinitrc Normal file → Executable file
View File

@ -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