Commit Graph

1429 Commits

Author SHA1 Message Date
Donovan Glover
a648078472
home-manager: Separate remaining modules 2023-05-16 19:10:16 -04:00
Donovan Glover
70948c2a8c
hyprland: Allow focus on activate
This change makes it so that when you open an application that is
already open, Hyprland will focus the workspace of that application.
2023-05-16 18:10:10 -04:00
Donovan Glover
1ff399e41c
hyprland: Allow all horizontal splits
This change makes it possible to have all windows stacked on top of each
other horizontally, similar to river and other dynamic window managers.
2023-05-16 18:08:51 -04:00
Donovan Glover
8f78ecfd0b
hyprland: Don't refocus mouse until new window
This fixes an issue where floating windows would have their focus lost
if you accidentally moved the mouse while on the window behind it.

This also fixes an issue where focus would be lost on a special
workspace if the workspace in the background had a fullscreen xwayland
application.
2023-05-16 18:07:30 -04:00
Donovan Glover
a267d9158b
hyprland: Remove udiskie exec-once
This shouldn't be needed since home-manager automatically starts the
udiskie service.
2023-05-16 18:06:03 -04:00
Donovan Glover
c71949f46e
nix: Use separate module for librewolf 2023-05-16 18:04:04 -04:00
Donovan Glover
47da22c951
modules: Add tlp
Note that this may be better as a host-specific module.
2023-05-16 17:54:20 -04:00
Donovan Glover
7947472035
nix: Fix function arguments 2023-05-16 17:24:07 -04:00
Donovan Glover
b6f16a9877
Only import one file for home-manager 2023-05-16 17:22:00 -04:00
Donovan Glover
a9703aad9a
Continue moving fish config to fish module 2023-05-16 17:18:48 -04:00
Donovan Glover
8c027300e6
Modularize htop and dual-function-keys 2023-05-16 17:18:06 -04:00
Donovan Glover
537357307e
Split more configs into separate modules 2023-05-16 17:09:05 -04:00
Donovan Glover
70d7091d17
home-manager: Remove chromium
I'm really not interested in maintaining chromium since it doesn't come
with sane defaults like ublock origin. Since qutebrowser uses chromium,
it should work fine as a chromium replacement if needed.
2023-05-16 16:31:03 -04:00
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