Commit graph

1035 commits

Author SHA1 Message Date
5bcc4de582 [polybar] Several fixes for ‘inbox-size’
- Make the header more robust. If we need to add more argumetns to the scsh
  command-line this will let us do that more easily in the future without having
  to change the header again.

- Don't ‘display’ the result of the call to ‘run’ because that should always be
  ‘0’, unless something went wrong. Regardless, it doesn't belong in the output
  of this program.

- Use ‘rx’ in Emacs to build the regular expression. This is easier to read,
  especially considering how many times a single ‘\’ has to be escaped (once for
  the string in scsh, and once more for the string in Emacs).
2022-03-03 01:20:50 -08:00
88b6ba1760 Update scsh file headers for shell scripts
Other file headers come with caveats:

- ‘#!/usr/bin/scsh -s’ :: Now that scsh is installed through Guix, this is not
  where this file lives.

- ‘#!/usr/bin/env -S scsh -s’ :: This doesn't work when we need to specify move
  arguments on the command line and need to use the meta-argument.
  ‘env -S scsh \’ doesn't work.
2022-03-03 01:17:04 -08:00
2a845b3720 [emacs] Re-indent shepherd service file 2022-03-03 01:15:59 -08:00
5f6ecb37e4 [dunst] Add shepherd service definition for running dunst 2022-03-03 01:15:45 -08:00
413f5c3f6a Add work, herbstluftwm, and mpd modules 2022-03-03 01:12:05 -08:00
c454bde37c [mpd] Lispify the MPD query
Write a small DSL for converting a simple lisp expression to an MPD query
format. This turns, for example:

    (and (= artist "Katatonia") (= album "Last Fair Deal Gone Down"))

Into:

    ((artist == "Katatonia") AND (album == "Last Fair Deal Gone Down"))

The expressions inside ‘query’ are quasi-quoted, so that variable substitution
is possible.
2022-03-03 01:08:16 -08:00
79df03a72a [mpd] Add option to randomize albums by specific artist 2022-03-02 22:04:01 -08:00
1b3dad4212 Add script to connect to remote desktop 2022-03-01 21:43:31 -08:00
c0deec6a74 [shepherd] Ignore generated init.scm 2022-03-01 21:21:30 -08:00
4f2f741660 [emacs] Include more variables for my Emacs service
This service has been superseded by my shepherd service, but I'll keep it around
in case I want to switch back.
2022-03-01 19:06:43 -08:00
d6753c5198 [x11] Remove shelldon startup file, shelldon isn't used anymore 2022-03-01 19:05:59 -08:00
a86a8cae52 [xdg] Don't specify the file to tangle to, the make file does it 2022-03-01 19:05:22 -08:00
b12b59181b [zsh] Fix syntax for setting environment variable 2022-03-01 19:04:55 -08:00
2b0b4e4526 [zsh] Add some supporting Guix variables 2022-03-01 19:04:06 -08:00
d594da8229 [herbstluftwm] Remove some tags 2022-02-28 00:44:43 -08:00
4155b1f044 [herbstluftwm] Remove keybindings
These are now handled by the xbindkeys tool.
2022-02-28 00:43:44 -08:00
5323fc8b9e [herbstluftwm] Exclude any ‘.org’ files from wallpaper selection 2022-02-28 00:23:56 -08:00
629a644c39 [nyxt] Protect against trying to start swank multiple times 2022-02-09 01:11:18 -08:00
56978223eb [nyxt] Add function that redirects some URLs to free alternatives 2022-02-09 01:10:56 -08:00
adda08ef4a Add nyxt configuration 2022-01-31 00:51:03 -08:00
9b7417f6c6 Update GNUmakefile
- Add the ‘dunst’, ‘zsh’, ‘mcron’, and ‘mbsync’ modules.

- Tell Make that any ‘*.el’ files ar “precious”, meaning that when a ‘.elc’ file
  was generated from a ‘.el’ file that was itself generated from a ‘.org’ file,
  the ‘.el’ file isn't just an intermediate file and should not be deleted.

- Change the ‘install’ and ‘clean’ to use the ‘*-stow’ and ‘*-clean’ rules set
  up for each module.

- Add configuration for ‘outline-minor-mode’ and change the headings to adhere
  to that configuration.

- Stop using the ‘build/’ directory, tangle all the files to the same directory
  as the source files, and use stow, not cp, to install them. The only exception
  is the XDG files, which now have their specific ‘xdg-stow’ rule. This is
  necessary because programs using these files will overwrite a symbolic link
  they find and replace it with a new file, overwriting my settings.

- Add some files that were missing, and rename some files to follow the existing
  convention to make them easy to tangle.
2022-01-30 23:12:22 -08:00
fc6b53d4df [polybar] Show how many items there are in my GTD inbox 2022-01-20 21:48:24 -08:00
89b02a5bae [dunst] Show notifications in the middle of the screen at the top 2022-01-15 01:27:08 -08:00
0ae5be6a3f [dunst] Add notification customizations for Signal 2022-01-15 01:20:30 -08:00
5e9c6362e4 Add shepherd configuration with Emacs service 2022-01-14 00:13:00 -08:00
976a2c7c28 [xmodmap] Add section to remap Super_R to Hyper_R 2022-01-13 23:10:42 -08:00
93bfb28d38 [herbstluftwm] Remove monitor setup
I've switched from using 2 monitors to using 1 monitor
2021-11-17 20:52:58 -08:00
4adde5f2b8 [xdg] Add ‘mimeapps.list’ and move settings into tangled org files 2021-11-17 20:45:40 -08:00
8ce94b444b [xbindkeys] Add configuration 2021-11-06 01:18:01 -07:00
7c7c01ea76 [polybar] Show the total number of unread emails 2021-11-06 01:15:25 -07:00
9872c1c4c2 [fish] Remove the VPN indicator
I’ve moved this to my polybar configuration instead.
2021-11-06 01:10:08 -07:00
209b59ac72 [herbstluftwm] Show Emacs in the middle frame and the browser left 2021-11-06 01:08:37 -07:00
50eee846db [herbstluftwm] Pseudotile the mspinball main window 2021-11-06 01:07:59 -07:00
82c99873d0 [herbstluftwm] Pseudotile the Steam update dialog 2021-11-06 01:07:36 -07:00
f49bea5d37 [herbstluftwm] Pick a random wallpaper at startup 2021-11-06 01:06:46 -07:00
3f26b4d138 [herbstluftwm] Update ‘random-wallpaper’ to use screen size
Instead of assuming that the screen is 3840x1080, check the size of the ‘root’
window.
2021-11-06 01:05:20 -07:00
b45249f00b [kitty] Update background color
I started using the new color as the default background in my Yoshi theme.
2021-11-02 22:06:32 -07:00
00630fc39e [git] Show closest heading in diff hunk headers for ‘.org’ files 2021-11-02 22:06:32 -07:00
9b662e2609 Add systemd services for some background tasks
Add a ‘wm.target’ file that services can hook into and that Herbstluftwm starts
at the end of its startup script. This way different services can be sure that
the window manager itself has started up, and can be dependent on one another.
Hopefully this makes managing these background processes easier.
2021-11-02 22:06:32 -07:00
72d40a0936 [polybar] Fixup polybar
- Remove _some_ unused variables.

- Fix the font, height, and padding for the bar itself, and the modules inside.

- Remove the monitor, I always only have one now.
2021-11-02 22:06:32 -07:00
342bb20e05 [polybar] Show the system tray in the center on rincewind 2021-11-02 22:06:32 -07:00
0899b0b95a [polybar] Show the pulseaudio widget on rincewind 2021-11-02 22:06:32 -07:00
5bf163e430 [polybar] Add VPN module for rincewind 2021-11-02 22:06:32 -07:00
69a04fe1b9 Add herbstluftwm as a module 2021-11-02 22:06:32 -07:00
e3d387c1a6 [fish] Set my browser to Firefox 2021-11-02 22:06:32 -07:00
f3a7a22054 [fish] Add ‘~/usr/bin’ to my path 2021-11-02 22:06:32 -07:00
a9dfd34a6f [fish] Add function to show any ‘*.pacnew’ files 2021-11-02 22:06:32 -07:00
44d70bd42e [fish] Show whether my work VPN is active 2021-11-02 22:06:32 -07:00
0e65cd9d6e [fish] Show the terminal name in the title 2021-11-02 22:06:32 -07:00
f5896ccc12 [mbsync] Get the account credentials from the secret service
Instead of using my custom Python script that looks them up, just use the
command-line application included in the ‘libsecret’ package on Archlinux.

Remove the custom helper script that I’d written for them.
2021-11-02 22:06:32 -07:00