Compare commits
2 Commits
45f25d958a
...
c3257f8760
| Author | SHA1 | Date | |
|---|---|---|---|
| c3257f8760 | |||
| ef6a8377c1 |
35
compton.conf
35
compton.conf
@@ -1,35 +0,0 @@
|
|||||||
# Backend
|
|
||||||
backend = "xrender";
|
|
||||||
unredir-if-possible = true;
|
|
||||||
|
|
||||||
# V-Sync
|
|
||||||
vsync = false;
|
|
||||||
|
|
||||||
# Fading
|
|
||||||
fading = true;
|
|
||||||
fade-delta = 10;
|
|
||||||
fade-in-step = 0.05;
|
|
||||||
fade-out-step = 0.05;
|
|
||||||
|
|
||||||
# Shadow
|
|
||||||
shadow = true;
|
|
||||||
shadow-radius = 7;
|
|
||||||
shadow-offset-x = -7;
|
|
||||||
shadow-offset-y = -7;
|
|
||||||
shadow-exclude = [ "n:e:Notification" ];
|
|
||||||
|
|
||||||
# Opacity
|
|
||||||
detect-client-opacity = true;
|
|
||||||
opacity-rule = [ "65:class_g = 'Bspwm' && class_i = 'presel_feedback'" ];
|
|
||||||
|
|
||||||
# Window type settings
|
|
||||||
wintypes:
|
|
||||||
{
|
|
||||||
dock = { shadow = true; };
|
|
||||||
dnd = { shadow = false; };
|
|
||||||
tooltip = { fade = true; shadow = false; };
|
|
||||||
menu = { shadow = false; };
|
|
||||||
dropdown_menu = { shadow = false; opacity = 1.00; };
|
|
||||||
popup_menu = { shadow = false; opacity = 1.00; };
|
|
||||||
utility = { shadow = false; };
|
|
||||||
};
|
|
||||||
121
sxhkd/sxhkdrc
121
sxhkd/sxhkdrc
@@ -1,121 +0,0 @@
|
|||||||
###############
|
|
||||||
# bspwm hotkeys
|
|
||||||
###############
|
|
||||||
|
|
||||||
# restart bspwm
|
|
||||||
super + alt + Escape
|
|
||||||
bspc quit
|
|
||||||
|
|
||||||
# close window
|
|
||||||
alt + w
|
|
||||||
bspc node -c
|
|
||||||
|
|
||||||
# switch window state to floating or fullscreen
|
|
||||||
super + {s,f}
|
|
||||||
bspc node -t {'~floating','~fullscreen'}
|
|
||||||
|
|
||||||
# switch window state to tiling or monocle
|
|
||||||
super + m
|
|
||||||
bspc desktop -l next
|
|
||||||
|
|
||||||
# send active window to preselect
|
|
||||||
alt + y
|
|
||||||
bspc node -n last.!automatic
|
|
||||||
|
|
||||||
# move active window
|
|
||||||
alt + {_,shift + }{h,j,k,l}
|
|
||||||
bspc node -{f,s} {west,south,north,east}
|
|
||||||
|
|
||||||
# rotate window position
|
|
||||||
super + {comma,period}
|
|
||||||
bspc node @/ --rotate {90,-90}
|
|
||||||
|
|
||||||
# Mirror and flip leaves of tree
|
|
||||||
alt + {comma,period}
|
|
||||||
bspc node @/ -F {horizontal,vertical}
|
|
||||||
|
|
||||||
# switch workspace on desktop
|
|
||||||
alt + bracket{left,right}
|
|
||||||
bspc desktop -f {prev,next}
|
|
||||||
|
|
||||||
# preselection
|
|
||||||
alt + ctrl + {h,j,k,l}
|
|
||||||
bspc node -p {'~west','~south','~north','~east'}
|
|
||||||
|
|
||||||
# expand a window by moving one of its side outward
|
|
||||||
super + {h,j,k,l}
|
|
||||||
bspc node {@west -r -10,@south -r +10,@north -r -10,@east -r +10}
|
|
||||||
|
|
||||||
# contract a window by moving one of its side inward
|
|
||||||
super + shift + {h,j,k,l}
|
|
||||||
bspc node {@east -r -10,@north -r +10,@south -r -10,@west -r +10}
|
|
||||||
|
|
||||||
# send active window to desktop
|
|
||||||
super + {_,shift + }{1-9,0}
|
|
||||||
bspc {desktop -f,node -d} ^{1-9,10}
|
|
||||||
|
|
||||||
########################
|
|
||||||
# wm independent hotkeys
|
|
||||||
########################
|
|
||||||
|
|
||||||
# urxvt terminal
|
|
||||||
alt + Return
|
|
||||||
urxvtc
|
|
||||||
|
|
||||||
# application launcher
|
|
||||||
super + space
|
|
||||||
dmenu_run -fn "-misc-tamlin-medium-r-normal--16-116-100-100-c-80-iso10646-1" -nb "#000000" -sb "#517ba2"
|
|
||||||
|
|
||||||
# clipboard manager
|
|
||||||
super + c
|
|
||||||
clipmenu -fn "-misc-tamlin-medium-r-normal--16-116-100-100-c-80-iso10646-1" -nb "#000000" -sb "#517ba2"
|
|
||||||
|
|
||||||
super + shift + c
|
|
||||||
clearclip
|
|
||||||
|
|
||||||
# password manager
|
|
||||||
super + p
|
|
||||||
passmenu -fn "-misc-tamlin-medium-r-normal--16-116-100-100-c-80-iso10646-1" -nb "#000000" -sb "#517ba2"
|
|
||||||
|
|
||||||
# media controls
|
|
||||||
alt + {n,p,s}
|
|
||||||
mpc --host=slainsmpdserver@shadowblade.lan --port 6600 {next,prev,toggle}
|
|
||||||
|
|
||||||
XF86Audio{Next,Prev,Play}
|
|
||||||
mpc --host=slainsmpdserver@shadowblade.lan --port 6600 {next,prev,toggle}
|
|
||||||
|
|
||||||
# file manager
|
|
||||||
alt + BackSpace
|
|
||||||
urxvtc -e ranger
|
|
||||||
|
|
||||||
# web browser
|
|
||||||
alt + shift + b
|
|
||||||
chromium
|
|
||||||
|
|
||||||
# steam
|
|
||||||
alt + shift + x
|
|
||||||
steam
|
|
||||||
|
|
||||||
# notification for current song from mpd
|
|
||||||
alt + i
|
|
||||||
mpdnotify
|
|
||||||
|
|
||||||
# lock screen
|
|
||||||
ctrl + super + l
|
|
||||||
dm-tool switch-to-greeter
|
|
||||||
|
|
||||||
# blank monitors
|
|
||||||
ctrl + super + m
|
|
||||||
blankmonitor
|
|
||||||
|
|
||||||
# volume control
|
|
||||||
XF86Audio{Raise,Lower}Volume
|
|
||||||
pamixer {-i5,-d5}
|
|
||||||
|
|
||||||
# mute toggle
|
|
||||||
alt + m
|
|
||||||
pamixer -t
|
|
||||||
|
|
||||||
# make sxhkd reload its configuration files:
|
|
||||||
super + Escape
|
|
||||||
pkill -USR1 -x sxhkd
|
|
||||||
@@ -12,12 +12,6 @@ export HISTSIZE=1000
|
|||||||
export SAVEHIST=1000
|
export SAVEHIST=1000
|
||||||
setopt SHARE_HISTORY
|
setopt SHARE_HISTORY
|
||||||
|
|
||||||
# set correct gpg tty for ssh
|
|
||||||
if [ -n "$SSH_TTY" ]; then
|
|
||||||
export GPG_TTY=$SSH_TTY
|
|
||||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
|
||||||
fi
|
|
||||||
|
|
||||||
# add path to $fpath
|
# add path to $fpath
|
||||||
fpath=("$HOME/.zsh/functions/prompts" $fpath)
|
fpath=("$HOME/.zsh/functions/prompts" $fpath)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user