feat(x11): migrate to pure Xlibre + dwm/dmenu/st stack, fix fcitx5-t9 bottom bar, PM8909 PON shutdown, and remove Wayland
This commit is contained in:
+89
@@ -0,0 +1,89 @@
|
||||
#!/bin/sh
|
||||
# configversion: e7cdaa3a889d251bed8a89ce8c622995
|
||||
|
||||
# shellcheck source=scripts/core/sxmo_common.sh
|
||||
. sxmo_common.sh
|
||||
|
||||
# Please modify this file to your liking
|
||||
|
||||
# Important Instructions:
|
||||
# All processes you launch from this script must
|
||||
# be non-blocking: launch them in the background (using &)
|
||||
# or ensure they return quickly. Only after this script
|
||||
# finishes will the window manager be loaded
|
||||
|
||||
# You will sometime get SMS or calls from not
|
||||
# country code prefixed phone numbers. To make
|
||||
# it easy to fixup configure the default countryu.
|
||||
#export DEFAULT_COUNTRY=FR
|
||||
|
||||
### Configuration Parameters ###
|
||||
|
||||
# Note that this is just a subset of all available
|
||||
# parameters, see the sxmo documentation for more.
|
||||
|
||||
# Use firefox as default browser if installed
|
||||
command -v firefox >/dev/null && export BROWSER=firefox
|
||||
|
||||
# Prepopulate Subreddits menu with custom subreddits
|
||||
#export SXMO_SUBREDDITS="postmarketos pinephoneOfficial pinephone unixporn"
|
||||
|
||||
# Change the default terminal command
|
||||
export TERMCMD="sxmo_terminal.sh"
|
||||
|
||||
# Change the used terminal command
|
||||
# export SXMO_TERMINAL="st"
|
||||
|
||||
# When scrolling past the beginning or end of a menu, wrap it around:
|
||||
#export DMENU_WRAP_AROUND=1
|
||||
|
||||
# Enable audio feedback on keypress
|
||||
#export KEYBOARD_ARGS="-o | clickclack -f $(xdg_data_path sxmo/keytap.wav)"
|
||||
|
||||
# Or, enable vibration feedback on keypress
|
||||
#export KEYBOARD_ARGS="-o | clickclack -V"
|
||||
|
||||
# Set the scale factor in sway
|
||||
# export SXMO_SWAY_SCALE=2
|
||||
|
||||
# To load specific part of configuration depending on the running environment
|
||||
case "$SXMO_WM" in
|
||||
sway)
|
||||
;;
|
||||
dwm)
|
||||
;;
|
||||
esac
|
||||
|
||||
#Set RINGTONE to audio file to play for incoming call
|
||||
export SXMO_RINGTONE="$(xdg_data_path sxmo/ring.ogg)"
|
||||
|
||||
#Set TEXTSOUND to audio file to play when received text message
|
||||
export SXMO_TEXTSOUND="$(xdg_data_path sxmo/notify.ogg)"
|
||||
|
||||
#Set RINGTIME to number of seconds the phone will ring
|
||||
export SXMO_RINGTIME=20
|
||||
|
||||
#Set RINGNUMBER to number of times phone will ring or repeat ringtone
|
||||
#(whichever of SXMO_RINGTIME or SXMO_RINGNUMBER runs less will limit how long phone rings)
|
||||
export SXMO_RINGNUMBER=10
|
||||
|
||||
#Set to the default text for a new text message.
|
||||
export SXMO_DEFAULT_DRAFT="Enter new message here."
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export SXMO_WM="dwm"
|
||||
export SXMO_MENU="dmenu"
|
||||
export SXMO_TERMINAL="st"
|
||||
export DMENU_WRAP_AROUND=1
|
||||
export SXMO_DMENU_PORTRAIT_LINES=12
|
||||
export SXMO_DMENU_LANDSCAPE_LINES=8
|
||||
export SXMO_DISABLE_LEDS=1
|
||||
export SXMO_NO_VIRTUAL_KEYBOARD=1
|
||||
export NO_AT_BRIDGE=1
|
||||
export GTK_A11Y=none
|
||||
export GTK_USE_PORTAL=0
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
export XMODIFIERS=@im=fcitx
|
||||
|
||||
export SXMO_BG_IMG="/usr/share/wallpapers/bananarchy.png"
|
||||
Reference in New Issue
Block a user