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