Compare commits

..

4 Commits

Author SHA1 Message Date
da7e352e8d Espanso for ..date expansion etc. 2024-12-27 00:47:54 +01:00
0d37c9fe95 Simplify caps-lock remapping
It turns out that all other methods I have tried overrides disabling the
touchpad while typing. Only interception-tools seems to work.
2024-12-27 00:47:54 +01:00
1483a5c46a Add nixos configuration and build script 2024-12-27 00:47:54 +01:00
c828dfc2e6 Various small fixes 2024-12-27 00:47:42 +01:00
2 changed files with 6 additions and 4 deletions

View File

@ -3,7 +3,7 @@
function install_pkg() { function install_pkg() {
if hash apt-get 2>/dev/null; then if hash apt-get 2>/dev/null; then
sudo -n apt-get update sudo -n apt-get update
sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${$} sudo -n DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ${@}
return return
fi fi
@ -87,8 +87,10 @@ function main() {
install_pkg locales less install_pkg locales less
#echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen if [[ ${REMOTE_CONTAINERS} || ${DEVCONTAINER} ]]; then
#sudo locale-gen echo "sv_SE.UTF-8 UTF-8" | sudo tee -a /etc/locale.gen
sudo locale-gen
fi
setup_fish setup_fish
setup_ssh setup_ssh

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
set -e set -e
cd "$(dirname "$0")/.." cd "$(dirname "$0")/.."