updated many packages, switched over to bswpm from i3
This commit is contained in:
parent
5981db910e
commit
01f972e6b8
7 changed files with 310 additions and 2 deletions
2
aliases
2
aliases
|
|
@ -77,6 +77,8 @@ alias mupdf='mupdf -r 204'
|
||||||
alias dkpdf='mupdf -I -r 204'
|
alias dkpdf='mupdf -I -r 204'
|
||||||
alias {json,jscrl,jsoncurl,jcrl}="jscurl"
|
alias {json,jscrl,jsoncurl,jcrl}="jscurl"
|
||||||
alias amd="article_md"
|
alias amd="article_md"
|
||||||
|
alias kevents="xev -event keyboard"
|
||||||
|
alias sk="screenkey"
|
||||||
alias word="wordgrinder"
|
alias word="wordgrinder"
|
||||||
alias spreadsheet="sc"
|
alias spreadsheet="sc"
|
||||||
alias pvctrl="pavucontrol"
|
alias pvctrl="pavucontrol"
|
||||||
|
|
|
||||||
12
bash_profile.txt
Normal file
12
bash_profile.txt
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
#
|
||||||
|
# ~/.bash_profile
|
||||||
|
#
|
||||||
|
if [ -d "$HOME/.local/bin" ] ; then
|
||||||
|
PATH="$HOME/.local/bin:$PATH"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||||
|
exec startx
|
||||||
|
fi
|
||||||
|
|
||||||
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
66
bspwm/bspwmrc
Executable file
66
bspwm/bspwmrc
Executable file
|
|
@ -0,0 +1,66 @@
|
||||||
|
#! /bin/sh
|
||||||
|
bspc rule -r "*"
|
||||||
|
|
||||||
|
#Autostart
|
||||||
|
#Desktop
|
||||||
|
# xrandr --output HDMI-0 --brightness 1.1
|
||||||
|
#Laptop
|
||||||
|
# xbacklight -set 70
|
||||||
|
|
||||||
|
killall "nm-applet"
|
||||||
|
nmapplet &
|
||||||
|
# killall "picom"
|
||||||
|
picom --config /home/brian/.config/picom/picom.conf &
|
||||||
|
killall "dunst"
|
||||||
|
dunst -config /home/brian/.config/dunst/dunstrc &
|
||||||
|
feh --bg-fill /home/brian/Pictures/debian_wide_sand2.png &
|
||||||
|
killall "xbanish"
|
||||||
|
xbanish &
|
||||||
|
killall "bst"
|
||||||
|
bst -e btop &
|
||||||
|
# killall "pulseaudio"
|
||||||
|
# pulseaudio --start
|
||||||
|
|
||||||
|
#sxhkd keybindings
|
||||||
|
pgrep -x sxhkd > /dev/null || sxhkd &
|
||||||
|
|
||||||
|
# Monitor(s)
|
||||||
|
# bspc monitor -d I II III IV V VI VII VIII IX X
|
||||||
|
bspc monitor HDMI-0 -d 1 2 3 4 5 6 7 8 9 10
|
||||||
|
|
||||||
|
#Global Settings
|
||||||
|
bspc config automatic_scheme alternate
|
||||||
|
bspc config initial_polarity second_child
|
||||||
|
bspc config pointer_modifier shift
|
||||||
|
bspc config pointer_action1 move
|
||||||
|
bspc config pointer_action2 resize_side
|
||||||
|
bspc config pointer_action3 resize_corner
|
||||||
|
bspc config click_to_focus none bspc config focus_follows_pointer true
|
||||||
|
bspc config remove_disabled_monitors true
|
||||||
|
bspc config remove_unplugged_monitors true
|
||||||
|
bspc config merge_overlapping_monitors true
|
||||||
|
|
||||||
|
bspc config normal_border_color "#444444"
|
||||||
|
bspc config active_border_color "#2c77ac"
|
||||||
|
bspc config focused_border_color "#2c77ac"
|
||||||
|
bspc config presel_feedback_color "#2c77ac"
|
||||||
|
|
||||||
|
bspc config split_ratio 0.50
|
||||||
|
bspc config borderless_monocle true
|
||||||
|
bspc config gapless_monocle true
|
||||||
|
|
||||||
|
# Enable Gaps
|
||||||
|
bspc config top_padding 3
|
||||||
|
bspc config bottom_padding 3
|
||||||
|
bspc config left_padding 3
|
||||||
|
bspc config right_padding 3
|
||||||
|
bspc config border_width 1
|
||||||
|
bspc config window_gap 5
|
||||||
|
|
||||||
|
bspc rule -a pavucontrol state=floating
|
||||||
|
bspc rule -a lxappearance state=floating
|
||||||
|
# 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
|
||||||
|
|
@ -19,7 +19,7 @@ exec_always --no-startup-id autotiling
|
||||||
exec --no-startup-id dunst -config /home/brian/.config/dunst/dunstrc
|
exec --no-startup-id dunst -config /home/brian/.config/dunst/dunstrc
|
||||||
# Increase Brightness
|
# Increase Brightness
|
||||||
# For at Home/Desktop:
|
# For at Home/Desktop:
|
||||||
# exec xrandr --output Screen-0 --brightness 1.1
|
exec xrandr --output HDMI-0 --brightness 1.1
|
||||||
# For at Work/Laptop:
|
# For at Work/Laptop:
|
||||||
# exec xbacklight -set 70
|
# exec xbacklight -set 70
|
||||||
|
|
||||||
|
|
@ -105,7 +105,7 @@ bindsym $mod+O exec gcolor3
|
||||||
bindsym $mod+U exec galculator
|
bindsym $mod+U exec galculator
|
||||||
bindsym $mod+Y exec gtktranslate
|
bindsym $mod+Y exec gtktranslate
|
||||||
bindsym $mod+S exec steam
|
bindsym $mod+S exec steam
|
||||||
bindsym $mod+X exec cd ~/Documents/Code/forks && exec kitty --session ~/.config/kitty/session
|
# bindsym $mod+X exec cd ~/Documents/Code/forks && exec kitty --session ~/.config/kitty/session
|
||||||
bindsym $mod+v exec virt-manager
|
bindsym $mod+v exec virt-manager
|
||||||
|
|
||||||
# start these applications in floating mode:
|
# start these applications in floating mode:
|
||||||
|
|
|
||||||
179
sxhkd/sxhkdrc
Normal file
179
sxhkd/sxhkdrc
Normal file
|
|
@ -0,0 +1,179 @@
|
||||||
|
# wm independent hotkeys
|
||||||
|
|
||||||
|
# terminal emulator
|
||||||
|
super + Return
|
||||||
|
st
|
||||||
|
|
||||||
|
# program launcher
|
||||||
|
# super + @space
|
||||||
|
super + d
|
||||||
|
dmenu_run -nb '#323b4d' -sf '#323b4d' -sb '#87afd7' -nf '#87afd7'
|
||||||
|
|
||||||
|
# reload sxhkd
|
||||||
|
super + Escape
|
||||||
|
pkill -USR1 -x sxhkd
|
||||||
|
#
|
||||||
|
# bspwm hotkeys
|
||||||
|
# quit bspwm
|
||||||
|
super + shift + e
|
||||||
|
bspc quit
|
||||||
|
# restart bspwm
|
||||||
|
super + shift + r
|
||||||
|
bspc wm -r
|
||||||
|
|
||||||
|
# focus on window direction
|
||||||
|
super + {h,j,k,l,Left,Down,Up,Right}
|
||||||
|
bspc node -f {west,south,north,east,west,south,north,east}
|
||||||
|
|
||||||
|
# swap window with direction
|
||||||
|
super + shift + {h,j,k,l,Left,Down,Up,Right}
|
||||||
|
bspc node -s {west,south,north,east,west,south,north,east}
|
||||||
|
|
||||||
|
# focus on desktop
|
||||||
|
super + {1-9,0}
|
||||||
|
bspc desktop -f {1-9,10}
|
||||||
|
|
||||||
|
# expand a window by moving one of its side outward
|
||||||
|
ctrl shift + {h,j,k,l,Left,Down,Up,Right}
|
||||||
|
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0,left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||||
|
|
||||||
|
contract a window by moving one of its side inward
|
||||||
|
alt shift + {h,j,k,l,Left,Down,Up,Right}
|
||||||
|
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0,right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||||
|
|
||||||
|
# toggle fullscreen
|
||||||
|
super + shift + f
|
||||||
|
bspc node -t {\~fullscreen}
|
||||||
|
|
||||||
|
# flip current window horizontally
|
||||||
|
super + shift + j
|
||||||
|
bspc node -F {horizontal}
|
||||||
|
|
||||||
|
# close and kill
|
||||||
|
# super + {_,shift + }w
|
||||||
|
# bspc node -{c,k}
|
||||||
|
super + shift + q
|
||||||
|
bspc node -c
|
||||||
|
|
||||||
|
# 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
|
||||||
|
# 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 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 + {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
|
||||||
|
# expand a window by moving one of its side outward
|
||||||
|
super + 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
|
||||||
|
super + 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 keybindings
|
||||||
|
super + a
|
||||||
|
pavucontrol &
|
||||||
|
super + z
|
||||||
|
lxappearance &
|
||||||
|
super + q
|
||||||
|
xfce4-screenshooter &
|
||||||
|
super + f
|
||||||
|
librewolf &
|
||||||
|
super + c
|
||||||
|
chromium --incognito --disable-search-engine-collection --fingerprinting-canvas-image-data-noise --fingerprinting-canvas-measuretext-noise --fingerprinting-client-rects-noise --popups-to-tabs &
|
||||||
|
super + i
|
||||||
|
inkscape &
|
||||||
|
super +g
|
||||||
|
gimp --no-splash &
|
||||||
|
super +k
|
||||||
|
krita --nosplash &
|
||||||
|
super +t
|
||||||
|
tootle &
|
||||||
|
super +p
|
||||||
|
pcmanfm &
|
||||||
|
super +b
|
||||||
|
bst -e btop &
|
||||||
|
super +m
|
||||||
|
mousepad &
|
||||||
|
super +o
|
||||||
|
gcolor3 &
|
||||||
|
super +u
|
||||||
|
galculator &
|
||||||
|
super +y
|
||||||
|
gtktranslate &
|
||||||
|
super +s
|
||||||
|
steam &
|
||||||
|
super +v
|
||||||
|
virt-manager &
|
||||||
48
xinitrc.txt
Normal file
48
xinitrc.txt
Normal file
|
|
@ -0,0 +1,48 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# This is an ~/.xinitrc example file
|
||||||
|
|
||||||
|
userresources=$HOME/.Xresources
|
||||||
|
usermodmap=$HOME/.Xmodmap
|
||||||
|
sysresources=/etc/X11/xinit/.Xresources
|
||||||
|
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||||
|
|
||||||
|
# merge in defaults and keymaps
|
||||||
|
if [ -f $sysresources ]; then
|
||||||
|
xrdb -merge $sysresources
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f $sysmodmap ]; then
|
||||||
|
xmodmap $sysmodmap
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$userresources" ]; then
|
||||||
|
xrdb -merge "$userresources"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$usermodmap" ]; then
|
||||||
|
xmodmap "$usermodmap"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# start some nice programs
|
||||||
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||||
|
[ -x "$f" ] && . "$f"
|
||||||
|
done
|
||||||
|
unset f
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Start compositor
|
||||||
|
# picom blah blah ...
|
||||||
|
|
||||||
|
# Start applets, daemons, etc.
|
||||||
|
# diskie
|
||||||
|
# nm-applet
|
||||||
|
# ...
|
||||||
|
|
||||||
|
# Start i3wm
|
||||||
|
# exec i3
|
||||||
|
|
||||||
|
# Start bspwm
|
||||||
|
sxhkd -c /home/brian/.config/sxhkd/sxhkdrc&
|
||||||
|
exec bspwm -c /home/brian/.config/bspwm/bspwmrc
|
||||||
1
zprofile.txt
Normal file
1
zprofile.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx
|
||||||
Loading…
Add table
Add a link
Reference in a new issue