Drop pmos
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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=
|
||||
|
||||
Reference in New Issue
Block a user