Drop pmos

This commit is contained in:
Dejvino
2021-10-23 12:27:05 +02:00
parent eff323bf72
commit b38b29788f
4 changed files with 31 additions and 14 deletions
+4
View File
@@ -8,6 +8,10 @@ pptk-led set green 0
pptk-led set blue 0
pptk-cpu-sleep disable
if [[ ! -e $BACKLIGHT_FILE ]]; then
echo $BACKLIGHT_MIN > $BACKLIGHT_FILE
fi
# restore last saved backlight level
BACKLIGHT=$((`cat $BACKLIGHT_FILE` >= $BACKLIGHT_MIN ? `cat $BACKLIGHT_FILE` : $BACKLIGHT_MIN))
pptk-backlight set_percent $BACKLIGHT
+1 -1
View File
@@ -3,7 +3,7 @@ Name=Sway
Name[en]=Sway
Comment=This session logs you into Sway
Comment[en]=This session logs in you into Sway
Exec=elogind-inhibit --what=shutdown:handle-power-key --mode=block dbus-run-session /usr/bin/sway
Exec=systemd-inhibit --what=shutdown:handle-power-key --mode=block dbus-run-session /usr/bin/sway
#Exec=dbus-run-session /usr/bin/sway
TryExec=/usr/bin/sway
Icon=