1
0
forked from extern/nix-config
Commit Graph

2295 Commits

Author SHA1 Message Date
Donovan Glover
8c753e21e7
eww: Add desktop icons 2023-08-07 21:12:02 -04:00
Donovan Glover
5739a3eaba
meta: Add eww module 2023-08-07 20:44:15 -04:00
Donovan Glover
25539d81eb
meta: Show time with eww when toggling ironbar
This also lets us have windows that take up the full screen while
keeping track of whether or not those windows are actually fullscreen.
2023-08-07 20:24:23 -04:00
Donovan Glover
9228444d6e
hyprland: Add workspace switching with mouse buttons 2023-08-07 20:23:42 -04:00
Donovan Glover
b3c95ed4f2
fish(abbreviations): Add cargo tree 2023-08-07 20:22:56 -04:00
Donovan Glover
a835b29bfe
hyprland: Don't change focus when moving to special
As far as I can tell, this was a workaround that appears to be fixed
now.
2023-08-07 08:53:12 -04:00
Donovan Glover
da211bd6b3
meta: Import packages directory 2023-08-07 08:42:50 -04:00
Donovan Glover
f54abc7da4
packages: Add osu-backgrounds 2023-08-07 08:36:40 -04:00
Donovan Glover
bfea1e9629
hyprland(hyprdim): Add --no-dim-when-only 2023-08-06 16:55:53 -04:00
Donovan Glover
d7be8aad20
neovim: Add cargo audit/license
Should probably move this out of neovim later.
2023-08-06 16:53:50 -04:00
Donovan Glover
ec07140d4a
fish: Add cargo add/remove --dev abbreviations 2023-08-06 16:50:05 -04:00
Donovan Glover
f2953fa6da
fish: Add git pull abbreviation 2023-08-06 16:49:41 -04:00
Donovan Glover
b0adf48673
fish: Add cargo add/remove --build abbreviations 2023-08-04 21:39:04 -04:00
Donovan Glover
937caf1642
fish: Add git rebase abbreviations 2023-08-04 21:38:38 -04:00
Donovan Glover
784b3270f9
containers(wine): Replace x86_64-linux with pkgs.system 2023-08-03 12:40:46 -04:00
Donovan Glover
1cd6d698d6
containers(wine): Change sakaya-server to sakaya
sakaya is now only one binary.
2023-08-03 12:39:53 -04:00
Donovan Glover
c3d2b637ba
containers(wine): Use pkgs from host
May or may not make things faster.
2023-08-03 12:38:59 -04:00
Donovan Glover
e2ba4026c5
fish: Simplify nixos-rebuild abbreviations 2023-08-03 12:35:54 -04:00
Donovan Glover
34b8a5efb5
fish(abbreviations): Add kitty @ set-background-opacity 2023-08-03 12:35:29 -04:00
Donovan Glover
1f19a71571
fish: Add cargo abbreviations 2023-08-03 12:34:48 -04:00
Donovan Glover
6d390eb938
containers(wine): Add sakaya systemd service
This combined with su makes it possible to automatically start a user
environment with sakaya-server running, thus eliminating the need to
spawn a shell with machinectl.
2023-08-01 22:55:32 -04:00
Donovan Glover
f1ba5fac74
hyprland: Change wallpapers with super+w 2023-08-01 22:24:30 -04:00
Donovan Glover
87221635f8
hyprland: Show random background on startup 2023-08-01 22:23:57 -04:00
Donovan Glover
6447c0c30e
fish: Add nix abbreviations 2023-08-01 22:23:06 -04:00
Donovan Glover
d1cb8c5731
containers(wine): Autostart with tmpfiles
This change makes it possible to autostart the wine container without
receiving errors and not being able to use /run/user/1000.
2023-08-01 22:22:02 -04:00
Donovan Glover
38d090d550
ironbar: Decrease translucency
This might be an ideal number for most use cases.
2023-08-01 19:08:08 -04:00
Donovan Glover
9ed706c2a5
hyprland: Downgrade to v0.27.0
The white flash when starting hyprland is a deal breaker for me
personally and I'd rather not have to deal with it. Should hopefully be
fixed in a later release since it seems to be a wlroots issue.
2023-08-01 19:06:20 -04:00
Donovan Glover
d1a78a7a57
meta: Remove hyprbars
Although this was cute, there are simply too many bugs and other
inconveniences to be worth it. For example, the bar cannot be focused
when a workspace has a fullscreen application.
2023-08-01 19:04:43 -04:00
Donovan Glover
8c1eaec846
ironbar: Update favorites selection
Might as well prefer utilities here to look nice. It's unfortunate that
the gimp class changes for every release.
2023-08-01 18:58:46 -04:00
Donovan Glover
563fdc4e3f
hyprland: Try bordersize windowrule
This is kinda cool however v0.27.2 and above appear to introduce a white
flash for me when starting Hyprland. Because of this, I'll probably stay
on v0.27.0 for the time being and only patch things I really want.
2023-08-01 18:55:14 -04:00
Donovan Glover
e3cf378b31
meta: Try hyprbars fork
This was my test of the hyprbars fork. It turns out that the original
version is more useful, although both versions crash whenever reloading
the plugin after unloading it once.
2023-08-01 18:54:26 -04:00
Donovan Glover
1688787677
meta: Make it easy to load hyprbars
Not sure why I couldn't do this in the hyprland or fish modules but I
couldn't, even after including hyprland-plugins.
2023-08-01 18:22:19 -04:00
Donovan Glover
a78cb283bf
packages: Add sakaya
Useful for running wine applications inside systemd-nspawn containers.
2023-08-01 16:28:31 -04:00
Donovan Glover
750def0398
hyprland: Simplify swww init
By including an image changer in a separate exec-once, swww works as
intended. This enables virtual machines to have a random background on
startup without the abnormally long wait time previously.
2023-08-01 16:27:06 -04:00
Donovan Glover
61be25469c
neovim: Add pnpm
May continue to use yarn in spite of this.
2023-08-01 16:26:15 -04:00
Donovan Glover
93608bf1eb
hyprland: Add hyprbars config
Tested this in a VM and it should look decent.
2023-08-01 16:25:50 -04:00
Donovan Glover
b84bad3806
meta: Add hyprbars
May or may not be useful for a more mouse-centric workflow.
2023-08-01 16:22:54 -04:00
Donovan Glover
ed11061d61
hyprland: Use latest commit
This was the only way I could get plugins to work reliably. Might look
into this in the future, but v0.27.2 also includes some changes not
present in v0.27.0.
2023-08-01 16:21:10 -04:00
Donovan Glover
c231825512
neovim: Add cargo-info
As a reminder, the neovim module includes a bunch of additional stuff
used for development. Although convenient, another approach may be
considered in the future.
2023-08-01 12:33:35 -04:00
Donovan Glover
dcea42f899
chore: Update packages 2023-08-01 12:31:14 -04:00
Donovan Glover
01458011ab
containers(wine): Add sakaya
This works, which is pretty cool. One unfortunate consequence is that
networking with the host is required, thus an alternative approach needs
to be considered if one still wants to eliminate internet access from
certain wine applications.
2023-08-01 12:18:05 -04:00
Donovan Glover
4e4ceeb6fb
feat(neovim): Highlight markdown code blocks
This adds syntax highlighting to code blocks with vim-markdown while
keeping pretty much everything else the same.
2023-08-01 12:16:02 -04:00
Donovan Glover
5f629bf0d6
fix(neovim): Manually toggle git blame
This fixes an issue where git blame would still show a single fixed line
in zen mode previously.
2023-08-01 12:14:24 -04:00
Donovan Glover
6991587294
neovim: Remove markdown conceal
Was causing more issues than problems it solved. Markdown conceal can be
successfully achieved with an external browser window.
2023-08-01 12:12:33 -04:00
Donovan Glover
075e1b6f13
neovim: Don't use tabs for markdown
Not needed since I don't edit logseq files directly nearly as often.
2023-08-01 12:11:19 -04:00
Donovan Glover
7b8eec9d77
pqiv: Add webp support
Surprisingly useful.
2023-08-01 12:10:18 -04:00
Donovan Glover
bf5ebed6c6
virtualization: Disable interception-tools inside vm
This fixes an issue where dual-function-keys would run on both the host
and the virtual machine, thus causing issues with the escape key.
2023-08-01 12:08:36 -04:00
Donovan Glover
7c429a374b
hyprland: Add random background script 2023-08-01 12:01:57 -04:00
Donovan Glover
2c9c53481e
hyprland: Add background setter script 2023-08-01 12:01:18 -04:00
Donovan Glover
d61e7b8a31
meta: Remove gui container
Although this was cool, it created some inconveniences that I'd rather
not have to deal with. For example, opening a document required manually
copying the file to the container mount first.

Instead of containerizing a subset of GUI applications, it's likely much
easier and more effective to spin up a virtual machine of the current
system. That way all GUI applications benefit from virtualization and
not simply containerization, which caused issues when certain programs
detected that they were already open from the wayland socket.

A final benefit of this change is that which container an application is
running in is no longer ambiguous. Although it was possible to use
custom GTK themes depending on which container an application belonged
to, containers for system-installed applications tend to bring a large
amount of overhead. Only using containers for applications that deal
with untrusted inputs and have a large attack surface seems better in
this case.
2023-08-01 10:41:32 -04:00