Skip to content

daangoossens22/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

current default applications:

Installation

To install/uninstall configs:

./update_configs.sh install [config_dir ...|cur]
./update_configs.sh uninstall [config_dir ...|cur]

Make, apply and deapply laptop.patch

git diff > laptop.patch
git apply laptop.patch
git apply -R laptop.pathc

Notes to self to remember

Swap caps and escape key:

setxkbmap -option caps:swapescape

Make tabs in firefox thinner:

(about:config) uidensity => 1

Enable reflector timer (that updates the mirrorlist weekly)

systemctl enable --now reflector.timer

Clean unused (older version of) pacman packages weekly

systemctl enable paccache.timer

Check which packages are dependent on some package

pactree -r {package_name}

Improve SSD longivity See: https://wiki.archlinux.org/title/Solid\_state\_drive#TRIM

lsblk --discard # check that DISC-GRAN and DISC-MAX are both non-zero before proceeding
systemctl enable fstrim.service
systemctl enable fstrim.timer

Improving responsiveness in low-memory conditions

systemctl enable --now systemd-oomd.service

Enable bluetooth

pacman -S bluez bluez-utils
lsusb | grep btusb # check if bluetooth kernel module is there
systemctl enable --now bluetooth.service

Enable NTP (to update clock via the network)

timedatectl set-ntp 1

To edit systemd files use

systemctl edit {unit} # add snippet
systemctl edit --full {unit} # replace whole unit
systemctl revert {unit} # remove all edits to unit file

D-Bus from command-line

busctl tree
busctl introspect org.bluez /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX
dbus-send --system --dest=org.bluez --print-reply /org/bluez/hci0/dev_XX_XX_XX_XX_XX_XX --type=method_call org.bluez.Device1.Connect

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published