No Description

Luna Nieves df858d1f32 Clean-up slightly for readability 6 days ago
.config 606fba447e Fix color values 1 week ago
.cowfiles 4a7a7b3ddc Rename files, update .profile 8 months ago
.xres df858d1f32 Clean-up slightly for readability 6 days ago
apparmor.d f3c073c1d1 Fix postscript support 1 month ago
scripts 32e3951c0a Remove twt script (moved to separate repository) 1 month ago
src 8b6d81f6f5 Add quick note regarding usage status 1 week ago
.Xresources e24cfb7eb7 Add themes, switch to PaperColor, re-add urxvt 1 week ago
.asoundrc 5c4861a579 Remove loopback settings 1 week ago
.bashrc 705f5ed178 Add autocompletion support for doas 8 months ago
.inputrc 4a7a7b3ddc Rename files, update .profile 8 months ago
.mkshrc c0ceede058 Add aliases and functions, tweak colors 1 week ago
.profile a492f4dc63 Export Perl variable to stop urxvt segfaults 1 week ago
.taskrc 1838049cd3 Add Taskwarrior settings 8 months ago
.tmux.conf 606fba447e Fix color values 1 week ago
.vimrc 6792a57e74 Fix issue with Vimwiki hijacking Markdown files 1 week ago
LICENSE 781b7c6373 Switch from WTFPL to ISC 8 months ago
README.md 32e3951c0a Remove twt script (moved to separate repository) 1 month ago
screenshot-old.png 25d6b41631 Update screenshot (but keep old one) 1 week ago
screenshot.png ea94e813d9 Fix border colors, toggle_bar margin 1 week ago

README.md

Aicaya's dotfiles

Because a Unix-like desktop is always, without exception, in a state of eternal work-in-progress.

Always.

screenshot

Scripts

passrofi

A POSIX and rofi-centric rewrite of passmenu, a dmenu wrapper for pass that comes with the Arch package. Has the same features as the original, plus the option to specify a custom rofi theme. Check the top section of the script itself for usage info.

wallpaper

Wallpaper setter that uses rofi and xwallpaper. Creates a list based on the contents of a specified folder so you only have to copy images there. Also checks subfolders and symlinks, and if the subfolder is named "tiled" then the wallpaper will also be tiled. Check the top section of the script for more details.

acheck

Checks if there are any new packages to update from either the Arch repos or the AUR. Requires auracle and pacman-contrib.

Used by itself, it's just a wrapper around both checkupdates and auracle sync that adds a bit of color to make the output more readable (though the color for the version numbers may be indistinguishable from the package name depending on the theme; on Gruvbox Dark it's a light grey, but on Nord it's the same color). However, it also has a systemd service/timer combo meant to be started as a user service; this lets the script use notifications every six hours to alert you of anything new (one for repo packages, one for AUR). It'll only list up to fifteen packages to keep the notification from scrolling off-screen, though (just use it on the terminal for the full list).

Basically, it's what I used kalu for. Since pacman 5.2 broke it, I decided to write my own solution to cover my needs and rely on Newsboat for any news from the front page.

neocities-sync.sh

NOTE: This thing is in bad need of a rewrite: The code was written while I was still learning how to write shell scripts, it makes way more API calls than is necessary and is overall an extremely-kludgy mess.

A tool for updating Neocities sites faster than with the ruby tool provided by the service. Supports file deletion, too, which makes it perfect for my static site generator. Requires both git and curl to work, as well as a little bit of setup (check the top of the script itself for more details).

AppArmor

I'm currently learning how to write AppArmor profiles from scratch since they're not provided by Arch. I'll add each profile here as I get them to a stable state. A bit of tweaking will be required, though, especially for paths: If the app gives an option between using XDG's .config and .local/share folders and using its own hidden folder in $HOME, the profile will always go for the XDG option (I like keeping my home folder as tidy as I can).

Other relevant info

Vim / Neovim

The vimrc assumes you have vim-plug installed (I never added the automatic installation bit), so if you use a different plugin manager then adjust accordingly. Also, if you're using urxvt, comment set termguicolors first; otherwise the colors won't work right.

NOTE: If you want to use the Esperanto keyboard toggle function (for easily typing diacritics—cx becomes ĉ, for example), either delete the setlocal spell bits or follow the instructions in this blog post to generate a dictionary for vim. You'll need to install both aspell and the Esperanto dictionary for it first, though.

Newsboat / Podboat

Podcast download layout:

/media/podcasts
|-- Feed A
|   |-- 2019-01-01 - episode 1.mp3
|   `-- 2019-01-08 - episode 2.mp3
`-- Feed B
    `-- 2019-01-15 - some title.ogg

Quality-of-life scripts:

  • nb-notify - neater desktop notifications
  • nb-play - play podcasts without relinquishing the terminal (in case ranger isn't available in the system)

Since I have ranger installed I can just use rifle for opening up whichever music player I have configured with it. Just had to add this section above the default audio section in rifle.conf:

#--------------------------------------------
# Audio with a GUI (custom)
#-------------------------------------------
mime ^audio|ogg$, has audacious, X, flag f = audacious "$@"
mime ^audio|ogg$, has mpv,       X, flag f = mpv --force-window=yes -- "$@"

That way, I can listen to podcasts with Audacious without the podboat area being filled with garbage text regarding gtk errors (or a graphical instance of mpv, if I'm using a system that doesn't have Audacious installed). I honestly doubt I'll ever have need of the nb-play script again, but I'll keep a backup here just in case.