Commit graph

854 commits

Author SHA1 Message Date
Pig Monkey
9ce5f50780 support setting terminal via variable 2025-04-11 15:34:00 -07:00
Pig Monkey
21d0588aab install starship 2025-04-11 15:30:59 -07:00
Pig Monkey
b6f20b1e8e install calf studio gear 2025-03-20 20:46:54 -07:00
Pig Monkey
f500d83e1b correct kdeconnect typos 2025-03-15 17:49:02 -07:00
Pig Monkey
657edb8f0a illuminanced is now in extra 2025-03-10 09:56:29 -07:00
Pig Monkey
50ff2246ed do not enable wifi if an ethernet connection is still active
The interface status and type of the up/down state change that triggers
the script is irrelevant.
2025-01-24 17:47:28 -08:00
Pig Monkey
86ccff0e37 log illuminanced to syslog 2025-01-24 11:20:46 -08:00
Pig Monkey
f8665fa738 switch to powersave profile sooner 2025-01-16 08:26:29 -08:00
Pig Monkey
15e55abc78 add ambient light sensor support
These illuminanced vars are for the Framework 13 AMD. Other systems will
likely need other paths.
2025-01-15 23:00:52 -08:00
Pig Monkey
cde30883b9 replace inotify with sleep
inotify is unreliable on /sys, so just loop forever and periodically
check the state of things.
2025-01-15 18:05:58 -08:00
Pig Monkey
ea622e65c1 toggle wifi on ethernet via networkmanager
Required only for the brave new post-TLP world.
2025-01-15 18:01:39 -08:00
Pig Monkey
3cab47b5ba replace python-black with ruff 2025-01-14 17:26:01 -08:00
Pig Monkey
3dd640ed31 monitor AC status rather than battery status
If you set a charging threshold on the battery, you may bounce between
charging and discharging while still on AC. The profile only needs to
change when AC is disconnected. If the battery is discharging, but AC is
connected, don't switch to a power-saving profile.

I think.
2025-01-14 09:22:38 -08:00
Pig Monkey
89ee8d7360 install xcalib
https://wiki.archlinux.org/title/ICC_profiles#xcalib
2025-01-14 09:22:19 -08:00
Pig Monkey
69d6368d7e update backitup 2025-01-14 08:39:59 -08:00
Pig Monkey
1d4dc29b73 set battery idle on framework machines
Apparently changes made via ectool only survive power off if the laptop
remains plugged in, so in practice we have to set this on every boot.

https://wiki.archlinux.org/title/Framework_Laptop_13#Battery_control

Setting the lower and upper charge percentage to the same value causes
the controller to idle the battery at that percentage. This seems like
it would be better for the long term health of the battery than giving
the battery a range to constantly dis/charge between. It also feels more
like what I'm used to from all my years of Thinkpads and TLP.

I have also set the max charge on my battery to 90% in the BIOS, as per:
https://guides.frame.work/Guide/Enabling+Battery+Saver+Functionality+in+BIOS/392
2025-01-14 08:23:17 -08:00
Pig Monkey
35b94beb41 auto-switch tuned profiles on battery
I'm not sure if a looping script like this is the best way to accomplish
this. I don't understand why TuneD doesn't provide this functionality
itself, like TLP does.
2025-01-14 08:19:55 -08:00
Pig Monkey
65d52759b3 install wget 2025-01-13 21:37:59 -08:00
Pig Monkey
37822a2562 support wireless regulatory domain
https://wiki.archlinux.org/title/Network_configuration/Wireless#Respecting_the_regulatory_domain
2025-01-13 18:45:43 -08:00
Pig Monkey
cabd9616f3 drop surfraw 2025-01-13 18:37:14 -08:00
Pig Monkey
6f91ff344c imlib2-heic aur package no longer exists 2025-01-13 18:36:33 -08:00
Pig Monkey
7d06c5b849 make video_drivers var optional 2025-01-13 18:35:33 -08:00
Pig Monkey
0126cb6ff2 add option for tuned-ppd 2025-01-11 18:37:04 -08:00
Pig Monkey
79e261bd84 drop undertime
I still use this daily, but this is the sort of thing I now prefer to
install via uv rather than as a system package.
2025-01-05 16:34:19 -08:00
Pig Monkey
cf10656a5a drop pipx
uv replaces this completely.
2025-01-05 16:33:58 -08:00
Pig Monkey
9896a6b302 p7zip is now 7zip 2025-01-01 22:52:01 -08:00
Pig Monkey
966b159668 user kewlfft.aur collection
Closes #120 #74
2024-12-01 20:21:53 -08:00
Pig Monkey
a506a36567 update timew holiday refresh script location 2024-12-01 19:11:52 -08:00
Pig Monkey
b1843b5956 drop old thinkpad battery packages
Modern kernels support Thinkpad battery controls. Additional packages
are no longer required.

https://linrunner.de/tlp/faq/battery.html#which-external-kernel-module-do-i-need-for-my-thinkpad
2024-12-01 18:38:03 -08:00
Pig Monkey
2b3da28aa7 replace youtube-dl with yt-dlp 2024-12-01 18:23:14 -08:00
Pig Monkey
34ae47664a replace abcde with whipper 2024-12-01 18:16:34 -08:00
Pig Monkey
919d40239e drop geteltorito
The AUR package currently has broken checksums. I can't remember the
last time I used this. And it is just a perl script, so there's no value
in having it as a package. Just curl the script if you need it, and add
it to $PATH if you're feeling ambitious.
2024-12-01 18:11:14 -08:00
Pig Monkey
3fade1a9f7 remove autocutsel
This package was dropped down to the AUR, and I don't find it useful
enough to justify a non-official package.
2024-12-01 18:02:58 -08:00
Pig Monkey
66647279ba perform shell tasks after user init
Since the shell tasks now include installing an AUR package, the user
must first exist.
2024-12-01 17:49:13 -08:00
Pig Monkey
cb8db79203 add additional audio packages 2024-12-01 17:45:40 -08:00
Brett Eisenberg
e32236d76c fix missing brace 2024-10-19 14:09:21 -07:00
Brett Eisenberg
16813d8e24 allow mirror update to optionally limit sources by country 2024-09-17 13:06:02 -07:00
Pig Monkey
de59ed760b add wait variable for goimapnotify
Previously `wait` could be defined in the user's config file, but in the
new release it appears to only be supported as a flag, so we have to
override the systemd service.
2024-09-16 15:56:35 -07:00
Brett Eisenberg
01f7075c32 add oauth2 support for msmtp and mbsync 2024-08-21 12:14:01 -07:00
Pig Monkey
169af63185 add uv 2024-08-20 16:39:10 -07:00
Pig Monkey
83d9fc07ca replace lowbatt.sh with poweralertd
Existing users can remove the old cruft:

    $ sudo systemctl disable lowbatt.timer
    $ sudo rm /usr/local/bin/lowbatt /etc/systemd/system/lowbatt.*
    $ sudo systemctl daemon-reload
2024-07-18 20:09:50 -07:00
Pig Monkey
2d0a272494 disable bluetooth on boot via bluez
Apparently Blueman dropped power management in v2.4. https://github.com/blueman-project/blueman/blob/main/CHANGELOG.md#changes-2

Closes #121
2024-06-26 17:48:52 -07:00
Pig Monkey
94aeb4a6be move sudo tasks into base role
Closes #117
2024-06-24 16:06:35 -07:00
Pig Monkey
5c7b7504ea reformat yaml 2024-06-24 16:04:27 -07:00
Pig Monkey
61f4278f6f drop hashdeep
Closes #119
2024-06-24 15:51:26 -07:00
Pig Monkey
32bb85f747 add yubikey-manager-qt 2024-06-19 18:03:46 -07:00
Pig Monkey
541a79b00e install libgourou 2024-05-05 09:12:03 -07:00
Pig Monkey
96c090affe change NetworkManager connectivity check to a boolean 2024-04-25 20:24:59 -07:00
Pig Monkey
48a32e5e7e replace Macchiato with NetworkManager MAC randomization
Macchiato is no longer in the AUR, but NetworkManager's built in
behaviour is good enough.

https://wiki.archlinux.org/title/NetworkManager#Configuring_MAC_address_randomization
2024-04-25 20:19:50 -07:00
Pig Monkey
e8d067448c add vopono 2024-02-22 19:45:52 -08:00