commit c4d0e3de7ad04114797abb14368e4a6f8da04a60
parent 453436ee53cd9935473cf1944dd072281d69a99f
Author: Sebastiano Tronto <sebastiano@tronto.net>
Date: Fri, 8 May 2026 23:55:30 +0200
Updates from alpine
Diffstat:
30 files changed, 104 insertions(+), 414 deletions(-)
diff --git a/.bashrc-local b/.bashrc-local
@@ -1,65 +0,0 @@
-set -o vi
-
-PS1="[\h \W] \$ "
-
-export HISTCONTROL=ignoredups
-export HISTFILE=$HOME/.sh_history
-export HISTSIZE=10000
-
-# Standard stuff and variables for my scripts
-export EDITOR=vi
-export VISUAL=vi
-export TERMINAL="ptyxis --new-window"
-export XEDIT="gnome-text-editor"
-export NOTIFY=notify-send
-export OPENER=xdg-open #or set to open-file from scripts
-export BROWSER=firefox
-export XDG_CONFIG_HOME="$HOME/.config"
-export XDG_DATA_HOME="$HOME/.local/share"
-export XDG_CACHE_HOME="$HOME/.cache"
-export PYTHON_COLORS=0
-
-# Locale overrides
-export LC_COLLATE="C"
-
-### Program-specific
-export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list"
-export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg"
-export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss"
-
-### Aliases and functions
-alias bc='bc -q /home/sebastiano/box/bc.library'
-alias o='xdg-open'
-alias rm='trash-put'
-alias ls='ls --color=auto'
-alias clip='clip -m fzf'
-alias bm='dmenu-bookmarks -m fzf'
-alias f='feed get && feed -m fzf menu'
-alias svi='vi "+so $HOME/.virc-spaces"'
-
-# Email management (mblaze)
-MAIL=$HOME/mail
-msync() { mbsync -a; }
-msc() { d=${1:-$MAIL/INBOX}; minc -q $d; mlist -t $d | mthread | mseq -S; mscan; }
-mget() { mbsync -a; msc; }
-mtt() { echo $MAIL/Trash | xargs mrefile $@; }
-mta() { echo $MAIL/Archive | xargs mrefile $@; }
-mpk() { f=$1; shift; mpick -t "$f =~~ \"$@\""; }
-s() { mshow $@ | templess; }
-sht() { mshow -A text/html $@; }
-n() { mshow .+1 | templess; }
-
-# Comment out the next line when not working regularly with emscripten
-#EMSDK_QUIET=1 source "$HOME/dev/emsdk/emsdk_env.sh"
-
-# nissy build options
-export NISSY_BUILD_SANITIZE="address,undefined"
-
-# Rust things
-export RUSTUP_HOME="$HOME/dev/rustup"
-export CARGO_HOME="$HOME/dev/cargo"
-export PATH="$CARGO_HOME/bin:$PATH"
-startrust() { source "$CARGO_HOME/env"; }
-
-# Session cookies are kept in .ssh
-. $HOME/.ssh/sessions
diff --git a/.config/alpine-packages b/.config/alpine-packages
@@ -17,7 +17,7 @@ pulseaudio pulseaudio-bluez pulseaudio-alsa alsa-plugins-pulse pulseaudio-utils
# Core tools (non-X)
coreutils-fmt curl imagemagick ffmpeg tmux ghostscript ncurses shellcheck
kbd # For console keyboard configuration
-syncthing fzf sfeed yt-dlp mblaze msmtp oath-toolkit
+syncthing fzf sfeed yt-dlp mblaze msmtp isync oath-toolkit
# Development tools
build-base git gdb valgrind clang20 python3 rust cargo hare
@@ -27,12 +27,12 @@ libx11-dev libxft-dev libxinerama-dev
# Xorg
xorg-server
xinit eudev mesa-dri-gallium xf86-video-intel xf86-input-libinput xf86-input-synaptics
-setxkbmap xsel xbanish xsetroot xwallpaper xev slock
+setxkbmap xsel xbanish xsetroot xwallpaper xev slock brightnessctl
# X applications
firefox libreoffice telegram-desktop vlc imv-x11
zathura-djvu zathura-pdf-mupdf zathura-ps
-arandr iwgtk
+arandr #iwgtk
# Fonts, but like a gazillion of them
font-terminus font-noto font-noto-extra font-arabic-misc
diff --git a/.config/dmenu/config.h b/.config/dmenu/config.h
@@ -4,7 +4,7 @@
static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */
/* -fn option overrides fonts[0]; default X11 font or font set */
static const char *fonts[] = {
- "monospace:size=12"
+ "monospace:size=14"
};
static const char *prompt = NULL; /* -p option; prompt to the left of input field */
static const char *colors[SchemeLast][2] = {
diff --git a/.config/dwm/config.h b/.config/dwm/config.h
@@ -5,8 +5,8 @@ static const unsigned int borderpx = 3; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "monospace:size=18" };
-static const char dmenufont[] = "monospace:size=18";
+static const char *fonts[] = { "monospace:size=14" };
+static const char dmenufont[] = "monospace:size=14";
/* Dark scheme: */
/*
@@ -72,15 +72,12 @@ static const Layout layouts[] = {
/* commands */
static const char *termcmd[] = { "st", NULL };
static char dmenumon[2] = "0"; /* used in dmenucmd, manipulated in spawn() */
-static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL };
-/* Colors in dmenu config.h built from source
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon,
"-fn", dmenufont,
"-nb", col_gray1,
"-nf", col_gray3,
"-sb", col_cyan,
"-sf", col_gray4, NULL };
-*/
/* Necessary library for some multimedia key names */
#include <X11/XF86keysym.h>
@@ -179,7 +176,6 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_Return, spawn, SHCMD("terminal") },
{ MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("popup-terminal") },
{ MODKEY|ShiftMask, XK_f, spawn, SHCMD("firefox") },
- { MODKEY|ShiftMask, XK_g, spawn, SHCMD("xedit") },
{ MODKEY|ShiftMask, XK_j, spawn, SHCMD("terminal bc -q $HOME/box/bc.library") },
{ MODKEY, XK_y, spawn, SHCMD("clip") },
{ MODKEY, XK_d, spawn, SHCMD("popup-cal12") },
@@ -195,8 +191,8 @@ static Key keys[] = {
/* Multimedia */
{ 0, XK_Print, spawn, SHCMD("dmenu-screenshot") },
- { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") },
- { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") },
+ { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl set 5%+") },
+ { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnessctl set 5%-") },
{ 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +5 && xroot-update") },
{ 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -5 && xroot-update") },
{ 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute && xroot-update") },
diff --git a/.config/motd b/.config/motd
@@ -0,0 +1,2 @@
+Welcome to Alpine!
+
diff --git a/.config/st/config.h b/.config/st/config.h
@@ -5,7 +5,7 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char *font = "Liberation Mono:pixelsize=32:antialias=true:autohint=true";
+static char *font = "Liberation Mono:pixelsize=18:antialias=true:autohint=true";
static int borderpx = 2;
/*
diff --git a/.profile b/.profile
@@ -0,0 +1,54 @@
+set -o vi
+
+PATH="$HOME/scripts:$PATH"
+PS1="[\h \W] \$ "
+export LC_COLLATE="C"
+
+export HISTCONTROL=ignoredups
+export HISTFILE=$HOME/.sh_history
+export HISTSIZE=10000
+
+# Standard stuff and variables for my scripts
+export EDITOR=vi
+export VISUAL=vi
+export XEDIT=xedit
+export NOTIFY=notify
+export OPENER=open-file
+export BROWSER=firefox
+export XDG_CONFIG_HOME="$HOME/.config"
+export XDG_DATA_HOME="$HOME/.local/share"
+export XDG_CACHE_HOME="$HOME/.cache"
+
+# Program-specific stuff
+export FZF_DEFAULT_OPTS="-e -i -m --no-bold --no-color --layout=reverse-list"
+export LYNX_CFG="$XDG_CONFIG_HOME/lynx/lynx.cfg"
+export LYNX_LSS="$XDG_CONFIG_HOME/lynx/lynx.lss"
+export PYTHON_COLORS=0
+
+### Aliases and functions
+alias bc='bc -q /home/sebastiano/box/bc.library'
+alias o='open-file'
+alias rm='trash rm'
+alias ls='ls --color=auto'
+alias clip='clip -m fzf'
+alias bm='dmenu-bookmarks -m fzf'
+alias f='feed get && feed -m fzf menu'
+alias svi='vi "+so $HOME/.virc-spaces"'
+
+# Email management (mblaze)
+MAIL=$HOME/mail
+msync() { mbsync -a; }
+msc() { d=${1:-$MAIL/INBOX}; minc -q $d; mlist -t $d | mthread | mseq -S; mscan; }
+mget() { mbsync -a; msc; }
+mtt() { echo $MAIL/Trash | xargs mrefile $@; }
+mta() { echo $MAIL/Archive | xargs mrefile $@; }
+mpk() { f=$1; shift; mpick -t "$f =~~ \"$@\""; }
+s() { mshow $@ | templess; }
+sht() { mshow -A text/html $@; }
+n() { mshow .+1 | templess; }
+
+# nissy build options
+#export NISSY_BUILD_SANITIZE="address,undefined"
+
+# Session cookies are kept in .ssh
+[ -f $HOME/.ssh/sessions ] && . $HOME/.ssh/sessions
diff --git a/.xinitrc b/.xinitrc
@@ -18,12 +18,10 @@ while true; do
done &
# Extra settings
-xsetroot -cursor_name left_ptr &
setxkbmap -option compose:ralt
setxkbmap -option caps:swapescape
-xbacklight -set 30
+brightnessctl set 30%
xset s off -dpms
-xrdb -merge .Xresources
# Background and time
sleep 0.05
@@ -35,5 +33,5 @@ while read text; do
done &
xbanish &
-telegram-desktop &
+Telegram &
exec dwm
diff --git a/scripts/apkworld b/scripts/apkworld
@@ -12,4 +12,4 @@ tmp_file=$(mktemp)
doas cp /etc/apk/world /etc/apk/world.backup
cat "$PACKAGES" | sed 's/#.*//' | grep -v '^[:space:]*$' > $tmp_file
doas mv $tmp_file /etc/apk/world
-doas apk fix
+doas apk fix --interactive
diff --git a/scripts/old/brightness b/scripts/old/brightness
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-# Increase / decrease brightness, and pops up a notification
-# Requires: xbacklight, a notification program such as herbe or notify-send
-# Usage: brightness {inc|dec} n
-
-# ksh completion
-# set -A complete_brightness_1 inc dec
-# set -A complete_brightness_2 5
-
-#notify="notify-send"
-notify="herbe"
-
-pkill herbe # comment this too if not using herbe
-
-xbacklight -$1 $2 && $notify "Brightness: $(xbacklight | sed 's/\..*$//')%"
diff --git a/scripts/old/dmenu-filepicker-old b/scripts/old/dmenu-filepicker-old
@@ -1,31 +0,0 @@
-#!/bin/sh
-
-# A dmenu-based file picker (prints selected file to stdout)
-# Requires: dmenu (or similar)
-# Usage: dmenu-filepicker [path]
-
-menu=${MENU:-dmenu}
-menuopts="-i -l 15"
-
-basedir="$(pwd)"
-
-next="${@:-$(pwd)}"
-
-while true; do
- if [ -z "$next" ]; then
- break
- elif [ "$next" = "." ]; then
- pwd
- break
- elif [ -d "$next" ]; then
- cd "$next"
- next=$(ls -a | $menu $menuopts)
- else
- echo "$next" | while read line; do
- echo "$(pwd)/$line"
- done
- break
- fi
-done
-
-cd "$basedir"
diff --git a/scripts/old/dunst-toggle b/scripts/old/dunst-toggle
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-# Toggle "do not disturbe" mode with dunst
-# Requires: dunst, notify-send
-
-if [ "$(dunstctl is-paused)" = "false" ]; then
- notify-send -t 3000 "Notifications: OFF" "Notifications will be hidden"
- sleep 3
- dunstctl set-paused true
-else
- dunstctl set-paused false
- notify-send -t 3000 "Notifications: ON" "Notifications reactivated"
-fi
-
diff --git a/scripts/old/gfmt b/scripts/old/gfmt
@@ -1,9 +0,0 @@
-#!/bin/sh
-
-# Format text from gemtext format to short lines with double \n
-
-# TODO: remove double spacing from within ```
-
-sed 's///' | \
-sed 'a\\' | \
-fold -sw 80
diff --git a/scripts/old/mail-checknow b/scripts/old/mail-checknow
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# Check for new email, save result to file.
-# Requires: mpop, notify-send or similar
-
-file="$XDG_DATA_HOME/newmail"
-#notify="notify-send"
-notify=herbe
-
-l=$(cat "$file")
-n=$(mpop -s | awk '/new*./{print $2}')
-
-if [ -n "$n" ]; then
- echo "$n" > "$file"
- if [ "$n" != "no" ] && [ "$l" != "$n" ]; then
- $notify "New email ($n)"
- fi
-fi
diff --git a/scripts/old/mblaze-extras b/scripts/old/mblaze-extras
@@ -1,61 +0,0 @@
-#!/bin/sh
-
-# Useful extra commands for mblaze
-
-# Requires: mblaze, mpop
-
-# Usage: mblaze-extras command
-# List of commands:
-# get [filter]
-# pick [field]
-# save
-# scan [folder]
-
-menu=${MENU:-dmenu}
-mdir=$HOME/mail
-mpopdir=$HOME/.config/mpop
-
-mbextra_scan() {
- folder=${1:-inbox}
- mlist -t $mdir/$folder | mthread | mseq -S
- mscan
-}
-
-mbextra_get() {
- mpop --filter=$mpopdir/filter-$1.sh
- minc -q $mdir/inbox
- mbextra_scan inbox
-}
-
-mbextra_pick() {
- field=$1
- shift
- mpick -t "$field =~~ \"$@\""
-}
-
-mbextra_save() {
- dir=$2
- [ -z "$dir" ] && dir=$(dmenu-filepicker)
- mkdir -p "$dir"
-
- if [ ! -d "$dir" ]; then
- echo "No directory selected, skipping."
- else
- cd "$dir"
- mshow -x $1
- fi
-}
-
-if [ -z "$1" ]; then
- echo "Usage: mblaze-extras COMMAND"
-elif [ "$1" = "scan" ]; then
- mbextra_scan $2
-elif [ "$1" = "get" ]; then
- mbextra_get $2
-elif [ "$1" = "save" ]; then
- shift
- mbextra_save $@
-elif [ "$1" = "pick" ]; then
- shift
- mbextra_pick $@
-fi
diff --git a/scripts/old/notify-battery b/scripts/old/notify-battery
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-# Popup battery notification, based on the script battery-status
-
-# Requires: notify-send or similar
-
-#notify=notify-send
-notify=herbe
-
-$notify "Battery" "$(battery-status)"
diff --git a/scripts/old/notify-status b/scripts/old/notify-status
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-# Simple script to send a notification displaying the output of status
-
-# Requires: status, herbe (or similar, e.g. notify-send)
-
-herbe "$(status '\n\n')"
diff --git a/scripts/old/notify-time b/scripts/old/notify-time
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# Little notification to show time and date
-
-# Requires: notify-send or similar
-
-# TODO: check if it still works with notify-send
-
-#notify=notify-send
-notify=herbe
-
-t=$(date +"%H:%M:%S")
-d=$(date +"%d %B %Y, %A")
-
-$notify "$t" "$d"
diff --git a/scripts/old/sfeed-browser b/scripts/old/sfeed-browser
@@ -1,80 +0,0 @@
-#!/bin/sh
-
-# This script is based on sfeed (https://codemadness.org/sfeed.html), but
-# it allows you organize your feeds in directories and subdirectories.
-# In your $sfd directory (see below) you should have two folders:
-# urls: it can contain more subfolders and files. Each file should contain
-# only one line with the url to the feed. The name of the file is the
-# name of the feed (it can contains spaces and such).
-# files: this one can be empty, it will be filled with the feed files
-# An older version of this script also marked viewed items and removed
-# them before displaying the choice of feeds. Contact me if you are interested
-# in using it.
-
-# Requires: sfeed, dmenu-file-picker (or similar), open-url (or similar)
-
-# Usage: sfeed-browser [-m menu]
-
-filepicker="dmenu-filepicker" # Try "nnn -p -"
-menu="dmenu -l 35 -i"
-urlopener=open-url
-sfd="$HOME/box/sfeed"
-showlast=10
-
-usage() {
- echo "sfeed-browser [-m MENU]"
-}
-
-while getopts "m:" opt; do
- case "$opt" in
- m)
- menu="$OPTARG"
- ;;
- *)
- usage
- exit 1
- ;;
- esac
-done
-
-# Might add more stuff later
-fixurl() {
- sed 's/old\.reddit\.com/reddit\.com/'
-}
-
-dirtofeedpaths() {
- while read -r line; do
- find "$line" | while read -r fname; do
- [ -f "$fname" ] && echo "$fname"
- done
- done
-}
-
-pathstosfeedrc() {
- printf 'sfeedpath="%s"\n\nfeeds() {\n' "$sfd/files"
- while read -r line; do
- feedname=$(echo "$line" | sed 's/.*\///')
- read -r feedurl <"$line"
- printf '\tfeed "%s" "%s"\n' "$feedname" "$feedurl"
- done
- printf "}\n"
-}
-
-feedmenu() {
- while read -r line; do
- feedname=$(echo "$line" | sed 's/.*\///')
- sfeed_plain "$sfd/files/$feedname" | head -$showlast
- done | $menu
-}
-
-openfeeds() {
- while read -r line; do
- url=$(echo "$line" | sed 's/.*[\t ]//' | fixurl)
- [ -n "$url" ] && echo "$url"
- done | xargs $urlopener
-}
-
-$filepicker "$@" "$sfd/urls" | dirtofeedpaths > "$sfd/last"
-pathstosfeedrc < "$sfd/last" > "$sfd/sfeedrc"
-sfeed_update "$sfd/sfeedrc"
-feedmenu < "$sfd/last" | openfeeds
diff --git a/scripts/old/theme b/scripts/old/theme
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-# This script is a shortcut to change between a dark and a light theme
-# for my terminal emulator (st).
-
-# Usage: theme (dark|light)
-
-src=$HOME/.local/src
-
-case "$@" in
- dark)
- cd $src/st-darkbg
- ;;
- light)
- cd $src/st-lightbg
- ;;
- *)
- echo "usage: theme (dark|light)"
- exit 1
- ;;
-esac
-
-make && sudo make install
diff --git a/scripts/old/togglemute b/scripts/old/togglemute
@@ -1,18 +0,0 @@
-#!/bin/sh
-
-# Toggle mute state and notify
-# Requires: pulsemixer, notify-send or similar
-
-#notify=notify-send
-notify=herbe
-
-ismute=$(pulsemixer --toggle-mute --get-mute)
-
-if [ "$ismute" = "1" ]; then
- m="muted"
-else
- m="unmuted"
-fi
-
-pkill herbe # comment this line too if not using herbe
-$notify "Audio $m"
diff --git a/scripts/old/volume b/scripts/old/volume
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-# Change volume and notify
-# Usage: volume {+n|-n}
-# Requires: pulsemixer, notify-send or similar
-
-#notify=notify-send
-notify=herbe
-
-newvol=$(pulsemixer --change-volume "$1" --get-volume | awk '{print $1}')
-
-pkill herbe # comment this line too if not using herbe
-$notify "Volume" "$newvol%"
diff --git a/scripts/old/xkboptions b/scripts/old/xkboptions
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# Loads my xkboptions
-
-setxkbmap -option compose:ralt
-setxkbmap -option caps:swapescape
diff --git a/scripts/old/xprop-active-window-id b/scripts/old/xprop-active-window-id
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-# Get the ID of the current active window (hexadecimal)
-# Requires: xprop
-
-xprop -root | grep _NET_ACTIVE_WINDOW | head -1 | sed 's/.* //'
diff --git a/scripts/popup-cal12 b/scripts/popup-cal12
@@ -3,4 +3,4 @@
# Popup terminal displaying cal -3
# Requires: st (suckless terminal)
-st -T "stfloat" -g 69x36+620+250 -e sh -c "cal $(date +%Y); read x"
+st -T "stfloat" -g 69x36+580+50 -e sh -c "cal $(date +%Y); read x"
diff --git a/scripts/popup-terminal b/scripts/popup-terminal
@@ -2,4 +2,4 @@
# TODO maybe I want to run e.g. tmux in this?
-st -T "stfloat" -g 85x25+550+300 tmux new-session "$@"
+st -T "stfloat" -g 85x25+500+200 tmux new-session "$@"
diff --git a/scripts/setup-config-alpine b/scripts/setup-config-alpine
@@ -42,11 +42,33 @@ for i in dmenu dwm st; do
cd $i
cp ~/.config/$i/config.h ./config.h
make && doas make install
+ cd ..
done
cd
+tmp_xorg_file=$(mktemp)
+cat <<EOF > $tmp_xorg_file
+Section "InputClass"
+ Identifier "libinput touchpad catchall"
+ MatchIsTouchpad "on"
+ MatchDevicePath "/dev/input/event*"
+ Driver "libinput"
+ Option "Tapping" "on"
+EndSection
+EOF
+
+doas mkdir -p /etc/X11/xorg.conf.d
+doas mv $tmp_xorg_file /etc/X11/xorg.conf.d/40-libinput.conf
+
+tmp_doas_file=$(mktemp)
+cp /etc/doas.d/20-wheel.conf $tmp_doas_file
+for c in poweroff reboot; do
+ printf 'permit nopass :wheel as root cmd %s\n' "$c" >> $tmp_doas_file
+done
+doas cp $tmp_doas_file /etc/doas.d/20-wheel.conf
+
-print_log "Swapping Escape and Caps Lock in console"
+print_log "Configuring the console"
tmp_kmap_file=$(mktemp)
tmp_loadkmap_file=$(mktemp)
@@ -58,11 +80,18 @@ doas mv us-swapesc.bmap.gz /etc/keymap/
printf 'KEYMAP=/etc/keymap/us-swapesc.bmap.gz\n' > $tmp_loadkmap_file
doas mv $tmp_loadkmap_file /etc/conf.d/loadkmap
+tmp_blacklist_file=$(mktemp)
+cp /etc/modprobe.d/blacklist.conf $tmp_blacklist_file
+printf '\n# Disable PC speaker for real\nblacklist pcspkr\n' >> $tmp_blacklist_file
+doas cp $tmp_blacklist_file /etc/modprobe.d/blacklist.conf
+
print_log "Setting up ACPI (see https://wiki.alpinelinux.org/wiki/Power_management)"
tmp_acpi_file=$(mktemp)
cat <<EOF > $tmp_acpi_file
+#!/bin/sh
+
xhci="$(grep XHCI /proc/acpi/wakeup | awk '{print $3}')"
[ "$xhci" == '*enabled' ] && echo XHCI > /proc/acpi/wakeup
echo mem > /sys/power/state
@@ -74,6 +103,8 @@ for dir in LID PWRF; do
doas chmod +x /etc/acpi/$dir/00000080
done
+doas rc-update add acpid
+
print_log "Setting up WiFi (iwd) (see https://wiki.alpinelinux.org/wiki/Iwd)"
@@ -130,6 +161,7 @@ echo " 1c. github"
echo " 3. Share folders in SyncThing, including but not limited to:"
echo " 2a. box with Artemisia, pizoc and phone"
echo " 2b. file-drop with phone"
-echo " 4. Copy your mailbox.org password to .ssh/mailbox.org"
+echo " 4. Copy your mailbox.org password to .ssh/mailbox.org."
+echo " 5. Log into Firefox account and set up extensions, if needed."
echo ""
echo "Enjoy!"
diff --git a/scripts/popup-cal3 b/scripts/unused/popup-cal3
diff --git a/scripts/xedit b/scripts/unused/xedit
diff --git a/scripts/xedit-filter b/scripts/unused/xedit-filter