Commit Graph

580 Commits

Author SHA1 Message Date
Donovan Glover
f16aa7ecd1
hyprland: Add initial touch support with hyprgrass
This seems to work and should help us replace phosh with hyprland
long-term.
2024-07-14 09:30:13 -04:00
Donovan Glover
9a3c1976ab
Revert "xdg: Hide desktop entries with home-manager"
As alluded to previously I'd rather whitelist applications that show in
a launcher than exclude them.
2024-07-14 09:22:18 -04:00
Donovan Glover
15dbd547d2
xdg: Hide desktop entries with home-manager
This commit is mainly for documenting purposes since I'd rather not
have to maintain a list of desktop entries to exclude.
2024-07-14 09:20:59 -04:00
Donovan Glover
b58ff821d6
ironbar: Increase sleep time before fetch
Fixes a race condition where the location would show up as
disconnected.
2024-07-14 09:19:23 -04:00
Donovan Glover
2f5cd4c0db
chore: Update to latest nixos-unstable release
Note that icoextract has been removed for the time being since I
accidentally broke it in a nixpkgs PR.
2024-07-14 09:18:33 -04:00
Donovan Glover
c784a8122f
hyprland: Simplify mpv commands 2024-07-12 12:42:38 -04:00
Donovan Glover
1b49b750ba
hyprland: Add batsignal for battery notification 2024-07-11 19:32:32 -04:00
Donovan Glover
d9222585a5
Revert "meta: Replace dunst with swaync"
Unfortunately swaync appears to *significantly* slow down the boot
process, so sticking with dunst ensures that everything works properly.
2024-07-11 18:47:19 -04:00
Donovan Glover
4bd63595a3
hyprland: Drop hyprspace for now
The less code the easier it is to maintain.
2024-07-11 18:28:48 -04:00
Donovan Glover
d09172cc8b
hyprland: Fix invalid dispatcher on startup from plugin
This works strangely enough.
2024-07-11 18:04:03 -04:00
Donovan Glover
8fb63f0712
meta: Replace ncmpcpp song change script with mpdris2-rs
This greatly simplifies the config and enables the usage of song change
notifications outside of ncmpcpp.
2024-07-11 07:58:16 -04:00
Donovan Glover
e4c968bf75
meta: Replace custom scripts with swayosd
No idea why I didn't do this before but this significantly simplifies
things and makes the experience nicer overall.
2024-07-10 22:28:46 -04:00
Donovan Glover
0879043b17
meta: Replace dunst with swaync
Seems to work so far and should let us have a cooler way to access the
notification history.
2024-07-10 22:14:27 -04:00
Donovan Glover
c348eb69d7
Revert "zathura: Fix opaque highlight color"
Shouldn't be needed anymore now that we're using the latest stylix
commit. Note that I don't care enough about this to use 0.3 highlight
transparency instead of 0.5.
2024-07-10 00:12:14 -04:00
Donovan Glover
219e5d1b0b
hypridle: Use minimum screen brightness
Prevents the screen from increasing in brightness when the original
value is lower.
2024-07-08 14:08:08 -04:00
Donovan Glover
837b37d834
hyprland: Add script to toggle internal laptop display
The auto-left ensures that the external monitor is always on the right.
2024-07-08 11:25:15 -04:00
Donovan Glover
44a2f7e995
hyprland: Use monitor on right with high refresh rate
Fixes two distinct issues: One where the monitor positions would
previously get mixed up and one where high refresh rate wasn't the
default.
2024-07-08 10:38:25 -04:00
Donovan Glover
a9d96a06d9
hyprland: Migrate gaps script from bash to fish
Makes the code base more consistent when everything is written in one
shell language.
2024-07-07 13:19:58 -04:00
Donovan Glover
375d85cd76
hypridle: Disable laptop keyboard backlight on dim
Also restores the previous state when resuming activity.
2024-07-07 11:00:58 -04:00
Donovan Glover
aa61279c71
hyprland: Add notification on wifi toggle 2024-07-07 10:45:33 -04:00
Donovan Glover
552d2a1956
ironbar: Sleep before fetching mullvad location
Fixes an issue where mullvad would report the device as offline before
connecting to a server. Only happens in newer versions of nixxpkgs.
2024-07-07 10:12:43 -04:00
Donovan Glover
92fec28699
hyprland: Add base Super+Tab support with Hyprspace
This seems to be more useful than hycov and hyprexpo for hyprnome
workflows.
2024-07-07 08:49:24 -04:00
Donovan Glover
aa0ee9330c
neovim: Fix capital scheme names breaking base16-nvim 2024-07-06 17:57:10 -04:00
Donovan Glover
06d3abf811
nvd: Exclude neovim treesitter grammars from diff 2024-07-06 11:48:20 -04:00
Donovan Glover
8d676a7b58
chore: Update to latest nixos-unstable release 2024-07-06 11:38:21 -04:00
Donovan Glover
2050b758ab
home-manager: Use string variable for notify-send
Since the variable has to be a string anyway, wrapping the entire
command in it reduces complexity a bit.
2024-07-06 11:17:57 -04:00
Donovan Glover
307a7fb543
home-manager: Use extraSpecialArgs for shared variables
Makes it possible to avoid inconsistencies with duplicate code.
2024-07-06 11:15:13 -04:00
Donovan Glover
5378f4c927
hyprland: Add mute script for microphone 2024-07-05 15:41:49 -04:00
Donovan Glover
ad58ee22a6
stylix: Update to latest commit
Dropping the Kvantum fork for now to focus on staying up to date with
the recent Stylix developments.
2024-07-05 15:39:12 -04:00
Donovan Glover
7913e784bd
Revert "hyprland: Disable animate_mouse_windowdragging"
This was fixed in a recent Hyprland version.
2024-07-04 09:35:14 -04:00
Donovan Glover
97fdb6d22a
neovim: Drop fcitx-vim
This was significantly increasing start time and I didn't use it too
much. There should be lighter alternatives out there that aren't
packaged in nixpkgs.
2024-06-25 23:36:45 -04:00
Donovan Glover
3b25740fb1
neovim: Inherit scheme instead of slug from stylix
Fixes an issue where importing the path directly changed the slug name
in stylix.
2024-06-20 22:31:35 -04:00
Donovan Glover
fc69d7980f
hyprland: Disable initial_workspace_tracking
Fixes an issue where new windows from ironbar and eww would open on the
first workspace instead of the current one.
2024-06-13 05:42:08 -04:00
Donovan Glover
ca4e454138
qutebrowser: Nixify remaining config settings 2024-06-02 12:53:28 -04:00
Donovan Glover
481cc84e9a
qutebrowser: Declare remaining binds with nix 2024-06-02 12:36:39 -04:00
Donovan Glover
9b04d65774
qutebrowser: Don't specify context menu colors
Will let this be handled by stylix instead since the colors are good
enough and more closely align with the color scheme being used.
2024-06-02 12:35:27 -04:00
Donovan Glover
c0062d1310
qutebrowser: Prefer declaring unbinds with null in nix
This is possible since the home manager module handles the null case.

See: 9b53a10f4c/modules/programs/qutebrowser.nix (L29-L36)
2024-06-02 12:23:46 -04:00
Donovan Glover
49fda4f0ae
meta: Move dev tools to shell
Avoids having a separate home module just for packages and makes
essential tooling accessible in all shells.

Note that the legacy `texlive.combined.scheme-full` was replaced with
`texliveFull` in this commit.
2024-06-02 11:39:47 -04:00
Donovan Glover
7587043310
yazi: Include modified time by default
Makes it easier to see which files are older. When not necessary, `m`
can be used to change the linemode.
2024-06-02 11:07:12 -04:00
Donovan Glover
4f19c5df14
zathura: Fix opaque highlight color
Fixes an issue where newer versions of zathura changed how colors were
specified. Should eventually be fixed upstream in stylix, but we're
using the Kvantum fork for theming support in Qt applications.

Based on the upstream pull request with a preference for 0.3 highlight
transparency over 0.5.
2024-06-02 10:57:22 -04:00
Donovan Glover
5e7b6c7fdc
fish: Simplify deno abbreviations
`deno add` is now preferred over `deno install`. Additionally, `deno
compile` doesn't work on NixOS, and creating a derivation should be
preferred instead.
2024-06-02 10:52:19 -04:00
Donovan Glover
41f9b015dc
fish: Remove unused cargo abbreviations
It's easier to build off of existing projects than start with a new one
entirely, hence why I stopped using cargo init/new.
2024-06-02 10:42:50 -04:00
Donovan Glover
a65d312a09
fish: Remove ~/.local/bin from $PATH
No longer necessary since we're using NixOS. Anything that was in
~/.local/bin should be declaratively defined instead.
2024-06-01 22:11:43 -04:00
Donovan Glover
ce02f98e0c
neovim: Drop csv-vim
This actually isn't that useful and has some bugs where errors are shown
and the neovim tree window is used instead of the active window with the
CSV file.
2024-05-31 16:25:26 -04:00
Donovan Glover
47c6d60229
hyprland: Use home-manager module for hyprlock 2024-05-28 13:19:15 -04:00
Donovan Glover
1462c868b6
hyprland: Use home-manager module for hypridle 2024-05-28 13:13:01 -04:00
Donovan Glover
f80d3c356d
fish: Add ex function
Used for extracting multi-part archives.
2024-05-28 13:04:47 -04:00
Donovan Glover
0d2cde7e36
fish: Add tmp function
This is the preferred way of starting qutebrowser.
2024-05-28 11:56:32 -04:00
Donovan Glover
2fbad70214
fish: Add epub2pdf function
This is part of migrating scripts from ~/.local/bin to the nix-config.
Note that this also lets us use packages that aren't available in a
user's $PATH.
2024-05-27 23:33:50 -04:00
Donovan Glover
23b5891753
librewolf: Don't include mbrola
Reduces the closure size when mbrola isn't included in any other
packages.
2024-05-26 05:57:49 -04:00