refactor + use gtk4-layer-shell 1.1.0

This commit is contained in:
DanyLE
2025-03-05 14:27:12 +01:00
parent bdfbfc9669
commit daa23c88e6
16 changed files with 138 additions and 96 deletions

View File

@ -3,7 +3,7 @@
# Set background color
swaybg -i /etc/xdg/labwc/wpp.jpg >/dev/null 2>&1 &
wlr-randr --output DPI-1 --transform 90
# wlr-randr --output DPI-1 --transform 90
# Configure output directives such as mode, position, scale and transform.
# Use wlr-randr to get your output names
@ -29,10 +29,10 @@ wlr-randr --output DPI-1 --transform 90
# `wlr-randr --output <whatever> --off` because this re-arranges views
# (since a837fef). Instead use a wlr-output-power-management client such as
# https://git.sr.ht/~leon_plickat/wlopm
swayidle -w timeout 60 'wlopm --off DPI-1' resume 'wlopm --on DPI-1' &
#swayidle -w timeout 60 'wlopm --off DPI-1' resume 'wlopm --on DPI-1' &
SFWBAR_CNF="/etc/xdg/sfwbar/sfwbar.config"
if [ -e "$HOME/.config/sfwbar/sfwbar.config" ]; then
SFWBAR_CNF="$HOME/.config/sfwbar/sfwbar.config"
fi
sfwbar -f "$SFWBAR_CNF"
#SFWBAR_CNF="/etc/xdg/sfwbar/sfwbar.config"
#if [ -e "$HOME/.config/sfwbar/sfwbar.config" ]; then
# SFWBAR_CNF="$HOME/.config/sfwbar/sfwbar.config"
#fi
#sfwbar -f "$SFWBAR_CNF"