https://github.com/Madic-/Sway-DE

Installed packages:

mako pass pass-otp i2c-tools (goes with lm-sensors) bash-completion mpv cmus alsa-utils grim slurp acpi

Maybe I need fusuma for touchpad: https://github.com/iberianpig/fusuma#alternatives-to-xdotool

sensors-detect:

Intel digital thermal sensor… Success! (driver `coretemp')

Using driver `i2c-i801’ for device 0000:00:1f.3: Intel Cougar Point (PCH) Module i2c-dev loaded successfully.

Keyboard on a Macbook

Swap the Fn and left Control keys

This will switch the Fn and left Control keys.

Temporary and immediate solution:

# echo "1" > /sys/module/hid_apple/parameters/swap_fn_leftctrl

Permanent change, taking place at next reboot:

/etc/modprobe.d/hid_apple.conf

options hid_apple swap_fn_leftctrl=1

Swap the Fn and left Control keys

This will switch the Fn and left Control keys.

Temporary and immediate solution:

# echo "1" > /sys/module/hid_apple/parameters/swap_fn_leftctrl

Permanent change, taking place at next reboot:

edit /etc/modprobe.d/hid_apple.conf

options hid_apple swap_fn_leftctrl=1

Installed https://github.com/harttle/macbook-lighter

swappy

https://github.com/jtheoof/swappy

Not sure I need it, but I’ve tried to.

libimobiledevice

As recommended here: https://wiki.archlinux.org/title/IOS