1
0
forked from extern/nix-config
Commit Graph

47 Commits

Author SHA1 Message Date
Donovan Glover
6d99247c6f
nix: Remove unused arguments 2023-05-16 19:29:19 -04:00
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
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
4ec4d25c14
hyprland: Remove focusmaster.sh
I don't actually use this.
2023-05-16 11:03:20 -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
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
b21a7742fe
waybar: Use systemd service
Now waybar automatically restarts as needed.
2023-05-13 15:42:24 -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
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
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
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
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
328f30151b
hyprland: Source non-trivial scripts
I may simplify this later.
2023-05-12 01:29:35 -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
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