Resolve some stupid issues

This commit is contained in:
David Holland 2020-03-04 04:35:42 +01:00
parent e31da14de5
commit b0b92e3ac2
Signed by: DustVoice
GPG key ID: 47068995A14EDCA9
3 changed files with 9 additions and 19 deletions

View file

@ -2,17 +2,9 @@
sxhkd & sxhkd &
nitrogen --restore &
/usr/lib/xfce-polkit/xfce-polkit &
xss-lock -- i3lock -n -e -c 333333
i=1
for monitor in $(bspc query -M); do for monitor in $(bspc query -M); do
bspc monitor $monitor -d 1 bspc monitor $monitor -d 1
let i++
done done
NMON=$i
unset i
bspc config border_width 2 bspc config border_width 2
bspc config window_gap 0 bspc config window_gap 0
@ -21,13 +13,10 @@ bspc config bottom_padding 0
bspc config left_padding 0 bspc config left_padding 0
bspc config right_padding 0 bspc config right_padding 0
bspc config single_monocle false bspc config single_monocle false
bspc config click_to_focus true
bspc config split_ratio 0.50 bspc config split_ratio 0.50
bspc config borderless_monocle true bspc config borderless_monocle true
bspc config gapless_monocle true bspc config gapless_monocle true
bspc config focus_by_distance true
bspc config focus_follows_pointer true bspc config focus_follows_pointer true
bspc config history_aware_focus true
bspc config remove_disabled_monitors true bspc config remove_disabled_monitors true
bspc config merge_overlapping_monitors true bspc config merge_overlapping_monitors true
bspc config pointer_modifier mod1 bspc config pointer_modifier mod1
@ -39,14 +28,18 @@ bspc config normal_border_color "#4c566a"
bspc config active_border_color "#1e1e1e" bspc config active_border_color "#1e1e1e"
bspc config focused_border_color "#5e81cc" bspc config focused_border_color "#5e81cc"
bspc config presel_feedback_color "#5e81ac" bspc config presel_feedback_color "#5e81ac"
bspc config urgent_border_color "#dd2727" # bspc config urgent_border_color "#dd2727"
#polybar hidden when fullscreen for vlc, youtube, mpv ... #polybar hidden when fullscreen for vlc, youtube, mpv ...
#find out the name of your monitor with xrandr #find out the name of your monitor with xrandr
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-0) #xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-0)
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-1) #xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_DisplayPort-1)
xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_HDMI-A-0) #xdo below -t $(xdo id -n root) $(xdo id -a polybar-main_HDMI-A-0)
bspc rule -a Screenkey manage=off bspc rule -a Screenkey manage=off
nitrogen --restore &
/usr/lib/xfce-polkit/xfce-polkit &
xss-lock -- i3lock -n -e -c 333333 &
$HOME/.config/polybar/launch.sh $HOME/.config/polybar/launch.sh

View file

@ -8,7 +8,7 @@ alt + Escape
# quit/restart bspwm # quit/restart bspwm
alt + shift + {ctrl + q,e} alt + shift + {q,e}
bspc {quit,wm -r} bspc {quit,wm -r}
# close and kill # close and kill

View file

@ -1,5 +1,4 @@
typeset -TUx PATH path typeset -TUx PATH path
typeset -TUx MANPATH manpath
typeset -TUx LD_LIBRARY_PATH ld_library_path typeset -TUx LD_LIBRARY_PATH ld_library_path
path=("$HOME/bin" "$HOME/.local/bin" "/usr/local/bin" "$path[@]" "$HOME/JUCE") path=("$HOME/bin" "$HOME/.local/bin" "/usr/local/bin" "$path[@]" "$HOME/JUCE")
@ -8,8 +7,6 @@ if [[ -a $HOME/.zshpath ]]; then
source $HOME/.zshpath source $HOME/.zshpath
fi fi
manpath=("/usr/local/man" "$manpath")
ld_library_path=("$LD_LIBRARY_PATH") ld_library_path=("$LD_LIBRARY_PATH")
# You may need to manually set your language environment # You may need to manually set your language environment