Commit Graph

2904 Commits

Author SHA1 Message Date
08bb2d0baf hyprland: Add fix for swapping between workspaces
See https://github.com/hyprwm/Hyprland/issues/2263
2023-05-14 12:13:11 -04:00
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
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
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
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
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
b7ceedea5b hyprland: Remove super+tab/super+shift+tab
These keybinds conflict with the GNOME VM.
2023-05-14 09:20:25 -04:00
ba433f022c fcitx: Fix tray icon colors 2023-05-14 08:00:47 -04:00
a607c099ea waybar: Make the bar look nicer 2023-05-13 22:32:35 -04:00
281a3a9198 Run nixfmt 2023-05-13 22:01:48 -04:00
187c05425d hyprland: Fade special workspace 2023-05-13 22:01:10 -04:00
27d70fc177 waybar: Use font-awesome for icons 2023-05-13 16:29:38 -04:00
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
b21a7742fe waybar: Use systemd service
Now waybar automatically restarts as needed.
2023-05-13 15:42:24 -04:00
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
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
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
8b77689112 waybar: Add workspace/tooltip styles 2023-05-13 14:35:28 -04:00
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
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
905b1b26a7 feat: Make waybar vertical 2023-05-12 22:24:42 -04:00
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
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
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
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
d01d1fe7db rofi: Add theme 2023-05-12 15:49:15 -04:00
ac02f53242 neovim: Add lua keybinds 2023-05-12 12:27:16 -04:00
ceebe55482 Add xfce.exo package
This makes "Open Terminal Here" work in Thunar.
2023-05-12 12:18:17 -04:00
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
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
c3aa34812a Make home-manager apply to all users 2023-05-12 11:34:48 -04:00
ce39f9f6d9 Finish nixification
The nixification is now complete.
2023-05-12 01:48:51 -04:00
ad3090d161 hyprland: Simplify config
Less is more.
2023-05-12 01:43:33 -04:00
328f30151b hyprland: Source non-trivial scripts
I may simplify this later.
2023-05-12 01:29:35 -04:00
5c180d227d Add color scripts 2023-05-12 01:19:03 -04:00
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
34ea4f1ec7 hyprland: Change layerrule to waybar 2023-05-12 00:58:39 -04:00
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
4109ed7b3b hyprland: Remove old scripts 2023-05-12 00:47:32 -04:00
5cad30aab0 Migrate fcitx config to nix 2023-05-12 00:37:59 -04:00
574855cc11 Manage qutebrowser config with home-manager 2023-05-12 00:23:34 -04:00
629c0d9881 Update package list 2023-05-12 00:05:31 -04:00
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
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
ad5f9aa991 Remove hosts directory for now
A hosts directory may be useful later.
2023-05-11 19:31:35 -04:00
2c281b8529 Move remaining home-manager stuff to home.nix 2023-05-11 19:25:09 -04:00
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
95ccadd612 Run nixfmt 2023-05-11 19:07:04 -04:00
6794f7be19 Decrease systemd timeout
Unfortunately, the system occasionally gets stuck at the dreaded "stop
job" message at times. I haven't delved into figuring out the cause yet,
but this change ensures that shutdowns occur in a timely manner.
2023-05-11 19:05:22 -04:00
bae89090b0 Update packages 2023-05-11 19:04:47 -04:00