something config for raspbian

This commit is contained in:
Simon Rieger 2023-12-27 02:01:02 +01:00
parent 9c82b0e020
commit 1d280ee4d6
3 changed files with 16 additions and 16 deletions

View file

@ -1,14 +1,14 @@
if [[ -z $DISPLAY && $(tty) == /dev/tty1 && $XDG_SESSION_TYPE == tty ]]; then
# Lade die Bootparameter in den Variablen
for wort in $(cat /proc/cmdline)
do
echo "Parameter ${wort%=*} = ${wort#*=}"
if ! export ${wort%=*}=${wort#*=}; then echo "cannot export ${wort}!!!"; fi
done
#for wort in $(cat /proc/cmdline)
#do
# echo "Parameter ${wort%=*} = ${wort#*=}"
# if ! export ${wort%=*}=${wort#*=}; then echo "cannot export ${wort}!!!"; fi
#done
# set systemconfiguration
echo "set systemconfiguration"
sudo scripts/set-systemsettings.sh
#echo "set systemconfiguration"
#sudo scripts/set-systemsettings.sh
# First make sure dbus is started
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then

View file

@ -11,7 +11,7 @@ exec blueman-applet
exec swaync
# authentication manager https://wiki.archlinux.org/title/Polkit
exec /usr/bin/lxqt-policykit-agent
exec /usr/bin/lxpolkit
# Clipboard Manager
exec wl-paste -t text --watch clipman store

View file

@ -29,14 +29,14 @@
"hide-on-action": true,
"script-fail-notify": true,
"scripts": {
"dialog-script": {
"exec": "mpv /usr/share/sounds/freedesktop/stereo/dialog-information.oga",
"urgency": "Normal"
},
"dialog-critical-script": {
"exec": "mpv /usr/share/sounds/freedesktop/stereo/dialog-error.oga",
"urgency": "Critical"
},
#"dialog-script": {
# "exec": "mpv /usr/share/sounds/freedesktop/stereo/dialog-information.oga",
# "urgency": "Normal"
#},
#"dialog-critical-script": {
# "exec": "mpv /usr/share/sounds/freedesktop/stereo/dialog-error.oga",
# "urgency": "Critical"
#},
"example-action-script": {
"exec": "echo 'Do something actionable!'",
"urgency": "Normal",