Commit ba3f5c06 authored by Guilherme Semente's avatar Guilherme Semente 🌱

Minor changes on desktop environment config

parent 23764e9f
! *foreground: rgb:e5/e5/e5 st.color0: #111111
! *background: rgb:00/00/00 st.color7: #d3d7cf
Emacs.font: Monoid-11 Emacs.font: Monoid-11
......
...@@ -13,8 +13,9 @@ ...@@ -13,8 +13,9 @@
xset dpms 480 480 480 xset dpms 480 480 480
# set wallpaper and cursor # set wallpaper and cursor
test -f "$HOME/.wallpaper" && feh --bg-fill "$HOME/.wallpaper" hsetroot -solid "#313233"
xsetroot -cursor_name left_ptr xsetroot -cursor_name left_ptr
test -f "$HOME/.wallpaper" && hsetroot -fill "$HOME/.wallpaper"
# #
...@@ -23,9 +24,7 @@ xsetroot -cursor_name left_ptr ...@@ -23,9 +24,7 @@ xsetroot -cursor_name left_ptr
bspc config split_ratio 0.52 bspc config split_ratio 0.52
bspc config click_to_focus false bspc config focus_follows_pointer false
bspc config focus_follow_point true
bspc config focus_follows_pointer true
bspc config pointer_follows_focus true bspc config pointer_follows_focus true
bspc config pointer_follows_monitor true bspc config pointer_follows_monitor true
...@@ -43,7 +42,7 @@ bspc config remove_disabled_monitors true ...@@ -43,7 +42,7 @@ bspc config remove_disabled_monitors true
bspc config remove_unplugged_monitors true bspc config remove_unplugged_monitors true
bspc config merge_overlapping_monitors true bspc config merge_overlapping_monitors true
bspc monitor -d 1 2 3 4 0 bspc monitor -d 1 2 3 4
bspc rule -a "*" state=floating bspc rule -a "*" state=floating
...@@ -57,3 +56,6 @@ pkill -USR1 -x sxhkd || sxhkd & ...@@ -57,3 +56,6 @@ pkill -USR1 -x sxhkd || sxhkd &
# auto lock screen after 8 minutes of inactivity # auto lock screen after 8 minutes of inactivity
xautolock -secure -time 8 -locker x-lock & xautolock -secure -time 8 -locker x-lock &
# power management
xfce4-power-manager
...@@ -32,7 +32,8 @@ super + shift + l ...@@ -32,7 +32,8 @@ super + shift + l
# screen capture # screen capture
shift + super + @p shift + super + @p
cd ~/downloads/screenshots && scrot --select --exec 'sxiv -b -g 1024x768 $f' mkdir -p ~/downloads/screenshots;\
cd ~/downloads/screenshots && scrot --select --exec 'sxiv -b -g 1300x700 $f'
# terminal # terminal
super + Return super + Return
...@@ -103,11 +104,11 @@ super + e ...@@ -103,11 +104,11 @@ super + e
# alternate node between tiled and floating state # alternate node between tiled and floating state
super + t super + t
bspc node focused -t {tiled,floating} bspc node focused -t tiled || bspc node focused -t floating
# alternate node between tiled and floating state # alternate node between tiled and floating state
shift + super + f shift + super + f
bspc node focused -t {fullscreen,floating} bspc node focused -t fullscreen || bspc node focused -t floating
# alternate all nodes between tiled and floating state # alternate all nodes between tiled and floating state
shift + super + t shift + super + t
...@@ -130,20 +131,10 @@ super + g ...@@ -130,20 +131,10 @@ super + g
x-message "$(bspc query -D -d --names)" x-message "$(bspc query -D -d --names)"
# send node to given desktop # send node to given desktop
{super,alt} + shift + {F1,F2,F3,F4,grave} {super,alt} + shift + {F1,F2,F3,F4}
{true,true};\ {true,true};\
bspc node -d "{1,2,3,4,0}" bspc node -d "{1,2,3,4,0}"
# focus the helper/scratch desktop
grave
curdesk="$(bspc query -D -d --names)";\
test "$curdesk" -eq "0" && bspc desktop -f last || bspc desktop -f "0";\
x-message "$(bspc query -D -d --names)"
# use this to type grave
ctrl + q ; ~grave
true
# focus the next/previous desktop # focus the next/previous desktop
super + {Prior,p,Next,n} super + {Prior,p,Next,n}
bspc desktop -f {prev,prev,next,next};\ bspc desktop -f {prev,prev,next,next};\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment