Commit graph

136 commits

Author SHA1 Message Date
1cb472dd97 Split stumpwm-gaps configuration into separate service 2023-08-29 22:26:42 -07:00
b98c93c159 Change herbstluftwm configuration to consist of multiple files 2023-08-23 11:24:42 -07:00
8835dbdc31 Fix unclutter configuration 2023-08-23 10:57:36 -07:00
c9d8a52b39 Add ZSH contextual abbrevs package 2023-08-23 10:57:10 -07:00
a086212b67 Fix stumpwm ‘*user-keybindings*’ definition 2023-07-22 23:06:12 -07:00
b146cf9bcc Add screenshot bindings to stumpwm 2023-07-15 01:30:43 -07:00
b144e84ea5 Add ‘emacs-oni-hy’
I just added a configuration for programming in Hy. This is the first step for
moving more of my Emacs configuration into guix home. Instead of adding the
autoload for ‘oni-hy’ in the ‘oni-core’ package, I've added it directly to my
Guix configuration. In the future I'll want to change this so that each package
gets its own configuration and also extends my Emacs configuration so that it
automatically adds these autoloads when I add a package.
2023-07-14 00:54:48 -07:00
8e03d75bed Clean up checking prefixes in notmuch configuration 2023-07-12 15:50:20 -07:00
6445a90dfd Add notmuch configuration to guix-home 2023-07-12 15:46:05 -07:00
0563a13567 Remove Inkplate update code from Emacs init
This should now be done by the one-shot service I created.
2023-07-08 00:41:24 -07:00
c9beaec472 Add one-shot service to update my Inkplate display 2023-07-08 00:38:08 -07:00
8e2f5eed4a Replace all ‘lambda’ occurrences with ‘λ’ 2023-06-20 23:06:25 -07:00
b775263a34 Add gaps to my stumpwm configuration
I had to copy in and redefine the ‘stumpwm::maximize-window’ function from the
‘swm-gaps’ package because for some reason ‘(frame-width ...)’ returns a ratio
on my machine (is it because high-dpi, or ultra-wide? I don't know) and not an
integer, which screws up the ‘(setf (xlib:drawable-width ...) ...)’ call.
2023-06-20 22:51:40 -07:00
806901b70d Change the color of the window name in the mode line 2023-04-22 00:39:16 -07:00
c907fbe9db Update colors for stumpwm 2023-04-22 00:32:20 -07:00
4ce635661d Show VPN status in mode-line 2023-04-22 00:32:05 -07:00
7c7af83a27 Show only a single window title in the mode-line 2023-04-22 00:31:21 -07:00
2807346b46 Add keybindings for running programs and switching windows 2023-04-22 00:29:14 -07:00
8e4c0c983e Fix arguments for locking the screen 2023-04-22 00:28:43 -07:00
6c1c79e245 Add some frame preferences to stumpwm 2023-03-30 09:59:37 -07:00
17d3bfce41 Add opacity-rule option for picom
Use this option to specify that anything containing “(Meeting) | Microsoft
Teams” (which should be in the title of MS Teams when in a meeting) should have
100% opacity, and also that anything containing “freerdp” should have 100%
opacity.

For Teams I really only need it to be opaque once a meeting starts, I don't care
the rest of the time.

For XFreeRDP I've tried matching on ‘class_g’, ‘name’, nothing seems to work.
Using ‘opacity-rule’ finally seems to have an effect.

The rules both use ‘*’ to match anywhere in the name, and ‘?’ to specify that
the match should be case-insensitive.
2023-03-30 09:55:48 -07:00
dd23871b67 Add Emacs configuration 2023-03-17 01:04:03 -07:00
726e44fa23 Clean up import for (oni home services emacs) 2023-03-17 00:49:20 -07:00
201ea4662b Automatically reload stumpwm if any changes are made to its config 2023-03-17 00:33:19 -07:00
300c22cb56 Make picom restart automatically when the coonfiguration changes 2023-03-16 23:09:54 -07:00
9059cec94c Add the current date to the mode-line, set up some color 2023-03-16 22:47:48 -07:00
826e0c6943 Make running i3lock unaware of the location of i3lock
Right now this works fine, but once I remove ‘/usr/bin/i3lock’ and install it
with Guix the path will change completely.
2023-03-16 22:22:32 -07:00
7d079e8973 Add screen locking to my stumpwm config 2023-03-16 22:13:22 -07:00
05ba6544e2 Try to fix transparency of xfreerdp 2023-03-16 16:54:55 -07:00
d8094dbd63 Add stumpwm configuration 2023-03-16 16:35:06 -07:00
7e621a8a22 Add some temporary environment variables 2023-03-16 00:47:51 -07:00
ae19bf6641 mpd-notify service needs mpd to start 2023-03-08 23:22:02 -08:00
20f5597d39 Add service for notifications for MPD 2023-03-07 23:51:42 -08:00
82ae1b59a6 Clean up imports for picom service 2023-03-07 23:28:23 -08:00
378e83bee9 Rename ‘(oni home services compton)’ -> ‘(oni home services picom)’ 2023-03-07 23:10:57 -08:00
f48c4fead0 Rewrite picom configuration
The previous version of the configuration was complaining that my ‘config’
section was not a valid value for the ‘package’ section. I didn't quite
understand why it would complain about that, so I decided to use my now improved
Guix Home knowledge (compared to when I copied the previous version) to just
rewrite the service in a way that matches my other services.
2023-03-07 23:05:58 -08:00
4eb646a8da Fix rofi service 2023-03-06 10:21:04 -08:00
d959e108d1 Increase the maximum icon size to 64 for dunst 2023-03-06 10:20:45 -08:00
16ee76bad4 Add ‘origin’ configuration property for dunst 2023-03-06 10:20:10 -08:00
061cfd930c Add service that runs ‘mpc update’ on start-up 2022-11-07 21:46:07 -08:00
5f46121fc7 Add MPD configuration
This also includes an attempt at installing a custom SCSH that defines some
search paths. But unfortunately it didn't work, so the SCSH ends up being the
usual one and the ‘mpd-random-albums’ package doesn't actually work.

The main MPD configuration does work, though.

This also includes the instruction to install tmsu which I want to try out
again.
2022-11-07 20:16:19 -08:00
62ab490e6b Add flameshot service 2022-10-06 23:21:43 -07:00
a85ad3fddd Update rincewind configuration
- Sort all use-module directives

- Remove ‘gcc-toolchain’ from the installed packages because it appears that the
  regular emacs-next (not from a git checkout) works fine without it.

- Add ‘emacs-org-roam’ and ‘emacs-vterm’ packages because they both come with C
  modules and installing them on-the-fly in Emacs wasn't working properly.

- Add ‘fakeroot’ package because it appears to be needed now that I'm using
  guix-home if I want to build packages for Archlinux. This still happens when I
  need to install some proprietary program from the AUR.

- Add an Emacs configuration service. For now this just ensures that the
  ‘emacs-next’ package is installed and creates a shepherd service that starts
  Emacs when I log in.

- Change the default run dialog from ‘rofi -show run’ to ‘rofi -show drun’ to
  run .desktop files. This offers more control over what does and doesn't show
  up in the list and allows me to put only stuff in there that actually works in
  a graphical environment.
2022-10-04 23:19:34 -07:00
6cdda0dc5a Add env variable to tell Git I know the risks of filter-branch 2022-09-26 16:06:23 -07:00
f33a2df7b9 Switch rincewind over to using Guix Home 2022-09-26 16:05:48 -07:00
3967a01b89 Set up initial configuration for rincewind home 2022-09-22 23:52:28 -07:00
336ab3e555 Remove debugging statement 2022-07-22 21:14:27 -07:00
e8cdf76fbf Move a couple of keybindings to herbstluftwm 2022-07-22 21:12:45 -07:00
7957b236de Add guile configuration 2022-07-22 12:36:36 -07:00
892a409184 Add dunst configuration 2022-07-21 22:20:55 -07:00
5c200f0cb4 Fixup rofi theme configuration
This is a temporary fix. I've switched from using ‘@theme’ to ‘@import’ because
the former discards the default theme, and apparently my theme makes some
assumptions about the state of things and requires the default theme to work.
The proper fix would be to fix my theme instead.

This change also fixes a bunch of typos and fixes the use of references within
the theme. References aren't strictly necessary, but my current theme relies on
them and they are technically a valid part of the configuration.
2022-07-03 19:06:32 -07:00
dc631e498f Rename the xdisorg package to rofi 2022-07-03 19:06:32 -07:00
5cd91c77e0 Add unclutter configuration for guix home 2022-06-16 19:10:01 -07:00
7c507732f7 Fix xinit rc file name 2022-06-14 20:15:30 -07:00
051034ba2a Fix configurations for picom, kitty, and rofi
These configurations were set up wrong, putting the configuration files in
‘config/*’ instead of ‘.config/*’. The
‘home-xdg-configuration-files-service-type’ takes care of putting them in the
right directory.

I didn't know about this service before, it doesn't show up when I ‘guix home
search home’
2022-06-13 22:11:10 -07:00
72d65a09e2 Add xinit setting
It's a huge hack, but it works for now.
2022-06-13 21:30:23 -07:00
fd82bcabcd Have rofi extend xbindkeys for keys to bind 2022-04-20 22:23:27 -07:00
33ef2ba4f1 Make the syncthing service run syncthing, add syncthing-gtk service
The ‘syncthing-gtk’ program doesn't seem to start the syncthing daemon
automatically. In fact trying to start ‘syncthing-gtk’ through shepherd doesn't
seem to want to work at the moment, complaining that it can't close a bunch of
file descriptors.
2022-04-20 21:19:40 -07:00
a0034e7659 Use forkexec instead of system constructor for picom
The example was using a system constructor with a kill destructor, but I don't
think those two work together. I prefer having the application run in the
foreground and using the shepherd way of forking so I have more control.
2022-04-20 17:24:05 -07:00
211bfcb544 Use forkexec, not system, constructor for syncthing
I thought that ‘syncthing-gtk’ was a program that would fork (given the fact
that it has a ‘--quit’ command), but it turns out that it doesn't. Using the
system constructor means that shepherd will block until ‘syncthing-gtk’ is
closed.
2022-04-20 17:17:57 -07:00
1f0cfee5a7 Call the ‘first-binding’ function for xbindkeys
All of the top-level key bindings have been put into this one function, so I
need to call it to actually enable the keybindings.
2022-04-20 16:45:04 -07:00
5056a6051b Add syncthing configuration 2022-04-20 16:44:52 -07:00
798b19788e Use xbindkeys ‘-fg’ instead of ‘--file-guile’
Even though the output of the ‘--help’ command promises that ‘--file-guile’ is
the same as ‘-fg’ it appears that specifying ‘--file-guile’ doesn't work. It
just pops up the help message.
2022-04-20 16:39:43 -07:00
2489c0fc26 Add keybindings of xbindkeys 2022-04-20 01:23:26 -07:00
edba4af64d Switch to the first tag before deleting the default tag
Without this, even with a target, the command will complain that the current tag
can't be merged.
2022-04-19 01:16:11 -07:00
c52f5ee6c9 Add cmst and kdeconnect configurations 2022-04-19 01:14:14 -07:00
ecb63a646f Add basic polybar configuration 2022-04-16 00:24:34 -07:00
13991b6c3d Fix log file for xbindkeys 2022-04-16 00:23:33 -07:00
8c51baf726 Merge the default tag into the first defined tag if any were defined 2022-04-15 23:39:06 -07:00
a1a6300851 Make sure zsh is installed for the herbstluftwm configuration 2022-04-15 23:38:18 -07:00
b157ecf8ff Centralize definition of ‘mixed-executable-file’ 2022-04-15 22:13:33 -07:00
af4c5b3ffd Add configuration for herbstluftwm 2022-04-15 00:48:15 -07:00
9363fb88cf Add herbstluftwm configuration with xsession extension
The herbstluftwm configuration isn't complete yet, it's only the package so far,
but it does extend the xsession service to include a line in xsession to execute
the window manager in a bit of a hacky way.

This also adds a ‘mixed-executable-file’ function which is the same as the
‘mixed-text-file’ except that it also sets the executable bit for the computed
file.
2022-04-14 01:39:25 -07:00
00f51af69d Use shepherd to start xmodmap rather than on first startup 2022-04-12 21:33:15 -07:00
13baec4666 Ensure packages are installed for the zsh plugins 2022-04-11 23:44:19 -07:00
98284e0af3 Make zsh plugins their own services 2022-04-11 23:15:51 -07:00
15b1898664 Add xbindkeys configuration 2022-04-06 23:44:55 -07:00
fde6941d93 Automatically start xmodmap when I first log in 2022-04-06 21:13:44 -07:00
8d5eb70a19 Add configuration for picom 2022-04-05 21:47:45 -07:00
67c4a901a3 Add xsession configuration 2022-04-05 01:30:08 -07:00
7f5381687d Install xmodmap when the xmodmap service is used 2022-04-05 00:59:59 -07:00
19043b82ae Install kitty when the kitty service is used 2022-04-05 00:54:09 -07:00
e0f1dd5d07 Add a kitty home service with configuration 2022-04-03 01:32:27 -07:00
d28afb72db Support symbols with special characters in configuration group keys 2022-04-02 01:35:20 -07:00
8713e5c421 Add Xmodmap config 2022-04-02 00:29:25 -07:00
bbab14ede6 Add rofi config for data 2022-03-30 12:26:45 -07:00