Update window manager config
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# bspwm config
|
||||
# config window apperance
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 4
|
||||
bspc config window_gap 18
|
||||
|
||||
bspc config split_ratio 0.50
|
||||
bspc config borderless_monocle true
|
||||
@@ -25,6 +25,9 @@ else
|
||||
bspc monitor -d term web games misc
|
||||
fi
|
||||
|
||||
# key used with mouse for moving and resizing windows
|
||||
bspc config pointer_modifier mod4
|
||||
|
||||
# application rules
|
||||
bspc rule -a Chromium desktop=web
|
||||
bspc rule -a Steam follow=off state=floating desktop=games
|
||||
@@ -32,12 +35,17 @@ bspc rule -a Galculator state=floating
|
||||
bspc rule -a Nvidia-settings state=floating
|
||||
bspc rule -a obs state=floating
|
||||
bspc rule -a Pavucontrol state=floating
|
||||
bspc rule -a "TeamSpeak 3" state=floating
|
||||
bspc rule -a V4l2ucp state=floating
|
||||
bspc rule -a Nitrogen state=floating
|
||||
bspc rule -a Vividhue state=floating
|
||||
|
||||
|
||||
#################################
|
||||
# start the following application
|
||||
#################################
|
||||
|
||||
# compositor
|
||||
compton -b
|
||||
picom --experimental-backends -b
|
||||
|
||||
# set cursor to expected left-pointer
|
||||
xsetroot -cursor_name left_ptr
|
||||
@@ -55,8 +63,13 @@ sxhkd &
|
||||
dunst &
|
||||
|
||||
# clipboard manager
|
||||
autocutsel -fork -selection CLIPBOARD
|
||||
autocutsel -fork -selection PRIMARY
|
||||
clipmenud &
|
||||
|
||||
# detect and mount external storage devices
|
||||
udiskie &
|
||||
|
||||
# hide mouse when idle
|
||||
unclutter &
|
||||
|
||||
|
||||
@@ -11,17 +11,17 @@ conky.config = {
|
||||
conky.text = [[
|
||||
S\
|
||||
%{c}\
|
||||
%{F\#a7a5a5}%{B\#000000}%{F\#504e4e}%{B\#a7a5a5}%{F\#d6d3d2}%{B\#504e4e} ${upspeedf enp2s0}K \
|
||||
%{F\#a7a5a5}%{B\#90000000}%{F\#504e4e}%{B\#a7a5a5}%{F\#d6d3d2}%{B\#504e4e} ${upspeedf enp2s0}K \
|
||||
%{F\#a7a5a5}%{B\#504e4e}%{F\#504e4e}%{B\#a7a5a5}%{F\#d6d3d2}%{B\#504e4e} ${downspeedf enp2s0}K \
|
||||
%{F\#a7a5a5}%{B\#504e4e}%{F\#504e4e}%{B\#a7a5a5}%{F\#d6d3d2}%{B\#504e4e} ${exec cat /sys/class/hwmon/hwmon1/temp1_input | cut -c-2 }°\
|
||||
%{F\#504e4e}%{B\#a7a5a5}%{F\#a7a5a5}%{B\#504e4e}%{F\#d6d3d2}%{B\#504e4e} ${cpu cpu0}%\
|
||||
%{F\#504e4e}%{B\#a7a5a5}%{F\#a7a5a5}%{B\#504e4e}%{F\#d6d3d2}%{B\#504e4e} ${mem}\
|
||||
%{F\#504e4e}%{B\#a7a5a5}%{F\#a7a5a5}%{B\#000000}\
|
||||
%{F\#504e4e}%{B\#a7a5a5}%{F\#a7a5a5}%{B\#90000000}\
|
||||
%{r}\
|
||||
%{F\#a7a5a5}%{B\#000000}%{F\#504e4e}%{B\#a7a5a5}%{F\#d6d3d2}%{B\#504e4e} \
|
||||
${texeci 24 ~/.config/bspwm/localtemp} \
|
||||
%{F\#a7a5a5}%{B\#90000000}%{F\#504e4e}%{B\#a7a5a5}%{F\#d6d3d2}%{B\#504e4e} \
|
||||
${texeci 60 ~/.config/bspwm/localtemp2} \
|
||||
%{F\#a7a5a5}%{B\#504e4e}%{F\#504e4e}%{B\#a7a5a5}%{F\#d6d3d2}%{B\#504e4e} ${time %a %b %d, %T} \
|
||||
%{F\#a7a5a5}%{B\#504e4e}%{B\#000000}\
|
||||
%{F\#a7a5a5}%{B\#504e4e}%{B\#90000000}\
|
||||
]]
|
||||
|
||||
-- vim: ts=4 sw=4 noet ai cindent syntax=lua
|
||||
|
||||
10
bspwm/panel
10
bspwm/panel
@@ -4,10 +4,10 @@ PANEL_HEIGHT=16
|
||||
PANEL_FONT="-misc-tamlin-medium-r-normal--16-116-100-100-c-80-iso10646-1"
|
||||
PANEL_WM_NAME=bspwm_panel
|
||||
|
||||
COLOR_BLACK="#000000"
|
||||
COLOR_GREY1="#d6d3d2"
|
||||
COLOR_GREY2="#a7a5a5"
|
||||
COLOR_GREY3="#504e4e"
|
||||
COLOR_BLACK="#85000000"
|
||||
COLOR_GREY1="#ffd6d3d2"
|
||||
COLOR_GREY2="#ffa7a5a5"
|
||||
COLOR_GREY3="#ff504e4e"
|
||||
|
||||
if xdo id -a "$PANEL_WM_NAME" > /dev/null ; then
|
||||
printf "%s\n" "The panel is already running." >&2
|
||||
@@ -21,8 +21,8 @@ mkfifo "$PANEL_FIFO"
|
||||
|
||||
num_mon=$(bspc query -M | wc -l)
|
||||
|
||||
conky -c ~/.config/bspwm/conky.conf > "$PANEL_FIFO" &
|
||||
bspc config top_padding $PANEL_HEIGHT
|
||||
conky -c ~/.config/bspwm/conky.conf > "$PANEL_FIFO" &
|
||||
bspc subscribe report > "$PANEL_FIFO" &
|
||||
|
||||
while read -r line ; do
|
||||
|
||||
Reference in New Issue
Block a user