1
0
forked from extern/nix-config
Commit Graph

1456 Commits

Author SHA1 Message Date
Donovan Glover
b518a28f46
waybar: Change workspace numbers
Might make this configurable later.
2023-05-14 13:14:00 -04:00
Donovan Glover
7da4e81c63
waybar: Use GTK theme
This handles some things for us that would be difficult to achieve
otherwise.
2023-05-14 13:03:01 -04:00
Donovan Glover
08bb2d0baf
hyprland: Add fix for swapping between workspaces
See https://github.com/hyprwm/Hyprland/issues/2263
2023-05-14 12:13:11 -04:00
Donovan Glover
ec8a5c6d8c
waybar: Disable tooltip for new workspace
Unfortunately, tooltip-format is unsupported by custom modules, so the
best we can do is disable tooltips.
2023-05-14 10:31:42 -04:00
Donovan Glover
b83d0fb0d7
hyprland: Enable workspace_back_and_forth
This fixes an issue where certain fullscreen xwayland applications would
break when attempting to switch to the same workspace.

Note that `bind = SUPER, grave, workspace, previous` may have also
solved this issue, however it's currently broken on master.
2023-05-14 09:56:01 -04:00
Donovan Glover
fd077016b8
waybar: Use tray spacing from module
This fixes an issue where the spacing wasn't correct.
2023-05-14 09:31:14 -04:00
Donovan Glover
3622c56d88
waybar: Add custom new workspace button
This makes it easy to both add a new workspace and launch rofi with one
click.
2023-05-14 09:25:05 -04:00
Donovan Glover
f272fa0c2c
hyprland: Add back other workspace keybinds
Having 10 workspaces is better than having 5 and not having enough.
2023-05-14 09:21:10 -04:00
Donovan Glover
b7ceedea5b
hyprland: Remove super+tab/super+shift+tab
These keybinds conflict with the GNOME VM.
2023-05-14 09:20:25 -04:00
Donovan Glover
ba433f022c
fcitx: Fix tray icon colors 2023-05-14 08:00:47 -04:00
Donovan Glover
a607c099ea
waybar: Make the bar look nicer 2023-05-13 22:32:35 -04:00
Donovan Glover
281a3a9198
Run nixfmt 2023-05-13 22:01:48 -04:00
Donovan Glover
187c05425d
hyprland: Fade special workspace 2023-05-13 22:01:10 -04:00
Donovan Glover
27d70fc177
waybar: Use font-awesome for icons 2023-05-13 16:29:38 -04:00
Donovan Glover
1777b976e9
meta: Remove declarative containers
Because of how easy it is to create and run virtual machines in NixOS,
the use of containers is not necessary. Virtual machines additionally
outperform containers when it comes to graphical tasks, and allow for
the usage of a variety of GUI applications separate from the host.
2023-05-13 16:15:49 -04:00
Donovan Glover
b21a7742fe
waybar: Use systemd service
Now waybar automatically restarts as needed.
2023-05-13 15:42:24 -04:00
Donovan Glover
c57b94aade
qemu: Switch from gtk to sdl
This prevents any sort of menu bars from showing, which were unneeded,
and lets us take full advantage of the screen estate for the VM.
2023-05-13 15:20:27 -04:00
Donovan Glover
c1c27a3a9c
hyprland: Remove per-key orientation switching
In order to avoid conflicts with keybinds in the GNOME VM, removing
per-key orientation switching and replacing it with one key that
switches between all orientations seems ideal.
2023-05-13 14:57:17 -04:00
Donovan Glover
c6c927dcfb
waybar: Move layer to top
Now shows tooltips on top, but at the cost of fullscreen X11
applications not being "truly fullscreen" unless done at the compositor
level.
2023-05-13 14:43:41 -04:00
Donovan Glover
8b77689112
waybar: Add workspace/tooltip styles 2023-05-13 14:35:28 -04:00
Donovan Glover
f6aefe5654
Use GNOME for VMs
This fixes an issue where Hyprland would suffer from the upside-down
cursor bug in QEMU/KVM due to depending on wl-roots.
2023-05-12 23:02:49 -04:00
Donovan Glover
aee65e4cb1
Change workspace animation to vertical
Vertical is nice since the animation is faster and covers less of the
screen. It works well with the master layout since you can easily see
the master window of each workspace.

Being able to have unique partitioning schemes for each workspace (as
long as they're using the master layout) is a nice advantage of Hyprland
over other compositors like river.
2023-05-12 22:37:17 -04:00
Donovan Glover
905b1b26a7
feat: Make waybar vertical 2023-05-12 22:24:42 -04:00
Donovan Glover
4a9413fa9e
Hardcode base16-monokai colors for hyprland
Note that this uses the base0A, base09, and base02 colors specifically.
The first two are the accent colors used by Stylix, and the last one is
the color that was closest to Hyprland's default.
2023-05-12 16:24:32 -04:00
Donovan Glover
75b41cfce1
Remove old FZF_DEFAULT_COMMAND
This isn't needed anymore since we no longer deal with hidden
directories by default.
2023-05-12 16:08:56 -04:00
Donovan Glover
f4d67dcc4e
Replace telescope-nvim with fzf-vim
Unfortunately, telescope-nvim was a downgrade from fzf-vim due to lack
of transparency out of the box, a different window size, and searches
not showing by default.
2023-05-12 16:05:54 -04:00
Donovan Glover
a2a9d9b4dd
Hardcode base16-monokai colors for rofi
Although I'm sure it's *possible* to use the colors from Stylix in my
custom theme with Nix, it may take some time for me to figure out how.
Pull requests welcome.
2023-05-12 15:57:05 -04:00
Donovan Glover
d01d1fe7db
rofi: Add theme 2023-05-12 15:49:15 -04:00
Donovan Glover
ac02f53242
neovim: Add lua keybinds 2023-05-12 12:27:16 -04:00
Donovan Glover
ceebe55482
Add xfce.exo package
This makes "Open Terminal Here" work in Thunar.
2023-05-12 12:18:17 -04:00
Donovan Glover
52351da1fe
Add back rofi
Rofi is actually quite convenient, so it's better to leave it as an
option.
2023-05-12 12:17:19 -04:00
Donovan Glover
5ce3256383
Fix fcitx5 settings being overwritten
There was also a typo where I referenced fcitx/config instead of
fcitx5/config.
2023-05-12 11:56:21 -04:00
Donovan Glover
c3aa34812a
Make home-manager apply to all users 2023-05-12 11:34:48 -04:00
Donovan Glover
ce39f9f6d9
Finish nixification
The nixification is now complete.
2023-05-12 01:48:51 -04:00
Donovan Glover
ad3090d161
hyprland: Simplify config
Less is more.
2023-05-12 01:43:33 -04:00
Donovan Glover
328f30151b
hyprland: Source non-trivial scripts
I may simplify this later.
2023-05-12 01:29:35 -04:00
Donovan Glover
5c180d227d
Add color scripts 2023-05-12 01:19:03 -04:00
Donovan Glover
971f6d5032
Remove remaining arch linux scripts
I didn't think it would happen but it happened. NixOS meets my needs
much better than Arch Linux does.
2023-05-12 01:18:23 -04:00
Donovan Glover
34ea4f1ec7
hyprland: Change layerrule to waybar 2023-05-12 00:58:39 -04:00
Donovan Glover
3d0ac37308
hyprland: Remove groups
Groups add a certain amount of complexity that I'd rather not have to
deal with.
2023-05-12 00:47:57 -04:00
Donovan Glover
4109ed7b3b
hyprland: Remove old scripts 2023-05-12 00:47:32 -04:00
Donovan Glover
5cad30aab0
Migrate fcitx config to nix 2023-05-12 00:37:59 -04:00
Donovan Glover
574855cc11
Manage qutebrowser config with home-manager 2023-05-12 00:23:34 -04:00
Donovan Glover
629c0d9881
Update package list 2023-05-12 00:05:31 -04:00
Donovan Glover
4a03bc4164
fix: Don't blank cursor at the hyprland level
This fixes an issue where the cursor would occasionally show in
fullscreen applications where the cursor was not expected to show.

The cursor will still disappear when using kitty.
2023-05-11 21:31:31 -04:00
Donovan Glover
c9a3d9c8c5
Remove old meta package
I personally find it frightening that I was previously using PKGBUILDs
in Arch Linux for something that could have been so elegantly achieved
with Nix and NixOS.
2023-05-11 20:37:31 -04:00
Donovan Glover
ad5f9aa991
Remove hosts directory for now
A hosts directory may be useful later.
2023-05-11 19:31:35 -04:00
Donovan Glover
2c281b8529
Move remaining home-manager stuff to home.nix 2023-05-11 19:25:09 -04:00
Donovan Glover
9e11cb4278
Simplify modules to home.nix
I *may* abstract this in the future, but for now I have no reason to.
2023-05-11 19:14:59 -04:00
Donovan Glover
95ccadd612
Run nixfmt 2023-05-11 19:07:04 -04:00