1
0
mirror of https://github.com/lxsang/meta-rpi-diya.git synced 2025-08-02 22:20:41 +02:00

fix: move wayland related default application config to /et/xdg

This commit is contained in:
DanyLE
2023-07-29 00:35:25 +02:00
parent 1cb28e0e01
commit 1b520e6713
6 changed files with 17 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# Example autostart file
# Set background color
swaybg -i /etc/labwc/wpp.jpg >/dev/null 2>&1 &
swaybg -i /etc/xdg/labwc/wpp.jpg >/dev/null 2>&1 &
wlr-randr --output DPI-1 --transform 90
@ -31,7 +31,7 @@ wlr-randr --output DPI-1 --transform 90
# https://git.sr.ht/~leon_plickat/wlopm
swayidle -w timeout 60 'wlopm --off DPI-1' resume 'wlopm --on DPI-1' &
SFWBAR_CNF="/etc/sfwbar/sfwbar.config"
SFWBAR_CNF="/etc/xdg/sfwbar/sfwbar.config"
if [ -e "$HOME/.config/sfwbar/sfwbar.config" ]; then
SFWBAR_CNF="$HOME/.config/sfwbar/sfwbar.config"
fi

View File

@ -8,7 +8,7 @@
# Default-Stop: 0 1 6
### END INIT INFO
LABWC_USER=diya
LABWC_CONFDIR="/etc/labwc"
LABWC_CONFDIR="/etc/xdg/labwc"
if test -e "/home/$LABWC_USER/.config/labwc" ; then
LABWC_CONFDIR="/home/$LABWC_USER/.config/labwc"
fi

View File

@ -41,7 +41,7 @@
</keybind>
<keybind key="W-Space">
<action name="Execute">
<command>bash -c "bash -c \"`tofi-drun`\""</command>
<command>bash -c "bash -c \"`drun`\""</command>
</action>
</keybind>
<!--