megapixels-next: make it the default camera
This commit is contained in:
@@ -58,6 +58,7 @@
|
||||
# increments to use for volume adjustment (in %)
|
||||
VOL_INCR=5
|
||||
KEYBOARD="${KEYBOARD:-wvkbd-mobintl}"
|
||||
CAMERA="${CAMERA:-org.postmarketos.Megapixels.desktop}"
|
||||
|
||||
action="$1"
|
||||
|
||||
@@ -228,7 +229,7 @@ dispatchOn() {
|
||||
;;
|
||||
"power_and_voldown")
|
||||
# power (hold) -> voldown: open camera
|
||||
handleWith sane-open --auto-keyboard --application org.postmarketos.Megapixels.desktop
|
||||
handleWith sane-open --auto-keyboard --application "$CAMERA"
|
||||
;;
|
||||
"power_then_volup")
|
||||
# power (tap) -> volup: rotate CCW
|
||||
|
Reference in New Issue
Block a user