mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-12-16 20:00:50 +01:00
Update Plasma with bspwm config
Since Plasma does not respect feh, it makes no sense to set a background for it. Note that these settings apply to Plasma with bspwm, *not* bspwm with KDE settings. You should not have to use Plasma with bspwm, since bspwm with KDE settings should do everything you want and much more. In the future, I may remove Plasma with bspwm support altogether.
This commit is contained in:
parent
4d8e9b1b88
commit
5d82d4ac5a
@ -31,19 +31,19 @@ xmodmap ~/.xmodmap
|
|||||||
# Make caps lock (left ctrl) work as escape
|
# Make caps lock (left ctrl) work as escape
|
||||||
xcape -e 'Control_L=Escape'
|
xcape -e 'Control_L=Escape'
|
||||||
|
|
||||||
# Set a temporary black background to avoid flash
|
|
||||||
~/.config/feh/tile.sh 000000
|
|
||||||
|
|
||||||
# If we're in KDE Plasma, then add bottom padding for
|
# If we're in KDE Plasma, then add bottom padding for
|
||||||
# the panel at the bottom.
|
# the panel at the bottom.
|
||||||
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ]; then
|
if [ "$XDG_CURRENT_DESKTOP" == "KDE" ]; then
|
||||||
bspc config window_gap 20
|
bspc config window_gap 20
|
||||||
bspc config bottom_padding 60
|
bspc config bottom_padding 58
|
||||||
|
|
||||||
# Make the application menu float instead of tile
|
# Make the application menu float instead of tile
|
||||||
bspc rule -a plasmashell state=floating border=off
|
bspc rule -a plasmashell state=floating border=off
|
||||||
|
|
||||||
else
|
else
|
||||||
|
# Set a temporary black background to avoid flash
|
||||||
|
~/.config/feh/tile.sh 000000
|
||||||
|
|
||||||
# If running with VirtualBox client utilities, start them.
|
# If running with VirtualBox client utilities, start them.
|
||||||
# Useful for automatically changing display resolution, etc.
|
# Useful for automatically changing display resolution, etc.
|
||||||
if hash VBoxClient-all 2>/dev/null; then
|
if hash VBoxClient-all 2>/dev/null; then
|
||||||
|
Loading…
Reference in New Issue
Block a user