-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vaughn Valle
committed
Sep 5, 2020
1 parent
867ebd9
commit c8d4fee
Showing
2 changed files
with
240 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#! /bin/sh | ||
#bspc rule -r "*" | ||
~/.config/polybar/./launch.sh | ||
sxhkd & | ||
~/.config/scripts/./dunst.sh | ||
~/.config/scripts/./bspswallow.sh | ||
conky & | ||
~/.config/scripts/spotify/./launchlistener.sh & | ||
udiskie & | ||
|
||
#deadd-notification-center & | ||
#compton --experimental-backends & | ||
picom --experimental-backends & | ||
#polybar example & | ||
|
||
bspc monitor -d I II III IV V VI VII VIII IX X | ||
|
||
bspc config border_width 1 | ||
bspc config window_gap 15 | ||
|
||
bspc config split_ratio 0.52 | ||
bspc config borderless_monocle true | ||
bspc config gapless_monocle false | ||
#bspc config border_radius 10 | ||
|
||
|
||
bspc rule -a Gimp desktop='^8' state=floating follow=on | ||
bspc rule -a Chromium desktop='^2' | ||
bspc rule -a mplayer2 state=floating | ||
bspc rule -a Kupfer.py focus=on | ||
bspc rule -a Screenkey manage=off | ||
|
||
#CUSTOM | ||
feh --bg-fill $HOME/Downloads/wal3.png & | ||
#wal -i $HOME/Downloads/wal3.png & | ||
. "${HOME}/.cache/wal/colors.sh" | ||
bspc config normal_border_color "#ee00ff" | ||
bspc config active_border_color "#38369C" | ||
bspc config focused_border_color "#00FFFF" | ||
bspc config presel_feedback_color "$color1" | ||
bspc config focus_follows_pointer true | ||
bspc config bottom_padding 30 | ||
bspc config top_padding 90 | ||
bspc config left_padding 40 | ||
bspc config right_padding 40 | ||
|
||
~/.config/wpg/./wp_init.sh & | ||
# Window Rules | ||
#sleep 1 | ||
#wmctrl -r Spotify -t 9 | ||
#exit | ||
#bspc rule -a Spotify state=floating rectangle=500x500+500+500 sticky=off | ||
#bspc rule -a Alacritty state=floating rectangle 600x900+200+50 sticky=off | ||
bspc rule -a Pavucontrol state=floating rectangle 200x200+50+50 sticky=off | ||
|
||
# Remove x cursor | ||
xsetroot -cursor_name left_ptr & | ||
|
||
#enable touchpad tapping and natural scrolling | ||
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1 | ||
xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Natural Scrolling Enabled" 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
# | ||
# wm independent hotkeys | ||
# | ||
|
||
# terminal emulator | ||
alt + Return | ||
urxvt | ||
|
||
# program launcher | ||
alt + @space | ||
~/.config/polybar/scripts/deepin-menu | ||
|
||
# make sxhkd reload its configuration files: | ||
alt + Escape | ||
pkill -USR1 -x sxhkd | ||
|
||
# | ||
# bspwm hotkeys | ||
# | ||
|
||
# quit/restart bspwm | ||
super + alt + {q,r} | ||
bspc {quit,wm -r} | ||
|
||
# close and kill | ||
super + {_,shift + }w | ||
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 window | ||
super + g | ||
bspc node -s biggest.window | ||
|
||
# | ||
# state/flags | ||
# | ||
|
||
# set the window state | ||
super + {t,shift + t,s,f} | ||
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 | ||
alt + {_,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 window in the current desktop | ||
super + {_,shift + }c | ||
bspc node -f {next,prev}.local.!hidden.window | ||
|
||
# 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 + {Tab,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 | ||
alt + {q,w} | ||
bspc desktop -f {prev,next}.occupied.local | ||
|
||
alt + {_,shift + }{1-9,0} | ||
bspc {desktop -f,node -d} '^{1-9,10}' | ||
|
||
# | ||
# preselect | ||
# | ||
|
||
# preselect the direction | ||
super + {h,j,k,l} | ||
bspc node -p {west,south,north,east} | ||
|
||
# preselect the ratio | ||
super + {1-9} | ||
bspc node -o 0.{1-9} | ||
|
||
# cancel the preselection for the focused node | ||
super + 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 | ||
# | ||
|
||
# expand a window by moving one of its side outward | ||
ctrl + alt + {h,j,k,l} | ||
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0} | ||
|
||
# contract a window by moving one of its side inward | ||
ctrl + alt + shift + {h,j,k,l} | ||
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0} | ||
|
||
# move a floating window | ||
super + {Left,Down,Up,Right} | ||
bspc node -v {-20 0,0 20,0 -20,20 0} | ||
|
||
##CUSTOM | ||
|
||
#printscreen | ||
flameshot full -c -p ~/Pictures/Screenshots | ||
|
||
#volume control | ||
XF86AudioRaiseVolume | ||
amixer set 'Master' 5%+ | ||
|
||
XF86AudioLowerVolume | ||
amixer set 'Master' 5%- | ||
|
||
XF86AudioMute | ||
amixer set Master toggle | ||
|
||
#brightnessctl | ||
|
||
XF86MonBrightnessUp | ||
brightnessctl set 5%+ | ||
|
||
XF86MonBrightnessDown | ||
brightnessctl set 5%- | ||
|
||
#deadd | ||
super + Return | ||
kill -s USR1 $(pidof deadd-notification-center) | ||
|
||
#wifi menu | ||
ctrl + alt + space | ||
~/.config/scripts/rofi-wifi-menu/./rofi-wifi-menu.sh | ||
|
||
# low power | ||
F7 | ||
sudo cpupower frequency-set -u 3500MHz -d 3000MHz | ||
|
||
# mid power | ||
F6 | ||
sudo cpupower frequency-set -u 3500MHz -d 800MHz | ||
|
||
# high power | ||
F5 | ||
sudo cpupower frequency-set -u 1000MHz -d 800MHz | ||
|
||
#web nav shortcuts | ||
ctrl + alt + n | ||
Prior | ||
|
||
ctrl + alt + m | ||
Next | ||
|
||
#reorder | ||
alt + shit + m | ||
bspc node -n last.!automatic |