Commit Graph

1416 Commits

Author SHA1 Message Date
Donovan Glover
8b31ad8202
Abstract fcitx5 and rofi into separate files 2023-05-16 15:50:38 -04:00
Donovan Glover
19dda06920
Abstract stylix and fonts into modules 2023-05-16 14:52:59 -04:00
Donovan Glover
a17ba29926
Abstract starship and fish into separate modules
This should make things easier to reason about and more modular in
general.
2023-05-16 12:33:53 -04:00
Donovan Glover
8e05ad4cae
hyprland: Use hyprctl activeworkspace
This is a new command that came out 2 weeks ago.
2023-05-16 11:17:06 -04:00
Donovan Glover
4ec4d25c14
hyprland: Remove focusmaster.sh
I don't actually use this.
2023-05-16 11:03:20 -04:00
Donovan Glover
ae8fdd8ac7
pkgs: Add srb2 package
This is necessary since the current srb2 package in nixpkgs is outdated.

Based on https://github.com/NixOS/nixpkgs/pull/187320
2023-05-16 10:58:55 -04:00
Donovan Glover
a3e21ba90d
neovim: Remove broken plugins
As nice as it would be to use nvim-cursorline, it simply causes too many
issues with other files, throwing errors on each cursor movement.
2023-05-15 15:50:49 -04:00
Donovan Glover
71214a7d3a
gtk: Fix wrong icon theme being used
The dark variant is naturally for dark color schemes.
2023-05-14 15:59:58 -04:00
Donovan Glover
c7c6a7160c
Remove lf/pistol
Ranger is preferred since it's the tool I'm familiar with.
2023-05-14 14:07:38 -04:00
Donovan Glover
23c05a122f
Add attempt at using pistol with lf
Unfortunately, this doesn't work, so it's much simpler to stick with
ranger for now.
2023-05-14 14:06:09 -04:00
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