feat: desktop picom, sbar and .xinitrc
This commit is contained in:
parent
e99889674c
commit
77ea34c581
@ -1 +1 @@
|
||||
Subproject commit e99d1590c7dc4c97b7dbc6a9c7e2dd830e204eea
|
||||
Subproject commit c5505c70571b094663745167d40388edd40f6450
|
@ -1 +1 @@
|
||||
Subproject commit c9ef5e58f7d59aba875324825ff47900d0be61f2
|
||||
Subproject commit 63e4a3a40a494e76ef7613f127b31919eebd47d1
|
@ -212,7 +212,7 @@ blur-background-exclude = [
|
||||
# Specify the backend to use: `xrender`, `glx`, or `xr_glx_hybrid`.
|
||||
# `xrender` is the default one.
|
||||
#
|
||||
backend = "glx"
|
||||
backend = "xrender"
|
||||
|
||||
# Enable/disable VSync.
|
||||
# vsync = false
|
||||
|
@ -1,6 +1,4 @@
|
||||
[redshift]
|
||||
temp-day=5000
|
||||
temp-night=3500
|
||||
location-provider=manual
|
||||
|
||||
[manual]
|
||||
|
4
.xinitrc
4
.xinitrc
@ -5,9 +5,7 @@ numlockx
|
||||
|
||||
# display
|
||||
xrandr \
|
||||
--output eDP-1 --auto --primary \
|
||||
--output DisplayPort-1-1 --auto --pos 1920x0 \
|
||||
--output DisplayPort-1-2 --auto --pos 3840x0
|
||||
--output HDMI1 --auto --primary
|
||||
feh --bg-tile "$XDG_CONFIG_HOME/wallpapers/landscape.png" --no-fehbg
|
||||
|
||||
# startup
|
||||
|
6
bin/sbar
6
bin/sbar
@ -54,10 +54,10 @@ update_time() {
|
||||
|
||||
# modules that don't update on their own need to be run at the start for getting their initial value
|
||||
update_vol
|
||||
update_backlight
|
||||
#update_backlight
|
||||
|
||||
display() {
|
||||
xsetroot -name "$crypto | $cpu | $memory | $vol | $backlight | $bat | $time"
|
||||
xsetroot -name "$crypto | $cpu | $memory | $vol | $time"
|
||||
}
|
||||
|
||||
# SIGNALING
|
||||
@ -76,7 +76,7 @@ while true; do
|
||||
[ $((sec % 5 )) -eq 0 ] && update_time
|
||||
[ $((sec % 5 )) -eq 0 ] && update_cpu
|
||||
[ $((sec % 5 )) -eq 0 ] && update_memory
|
||||
[ $((sec % 5 )) -eq 0 ] && update_bat
|
||||
#[ $((sec % 5 )) -eq 0 ] && update_bat
|
||||
[ $((sec % 5 )) -eq 0 ] && display
|
||||
|
||||
sec="$((sec + 1))"
|
||||
|
Loading…
Reference in New Issue
Block a user