1
0
forked from extern/nix-config
Commit Graph

1287 Commits

Author SHA1 Message Date
Donovan Glover
2cc88a5f4c
meta: Remove more old dotfiles
- alacritty: Prefer kitty.
- dual-function-keys: Managed with Nix.
- editorconfig: Managed with home-manager.
- librewolf: Managed with home-manager.
- river: Prefer hyprland.
- swayidle: Can use home-manager.
- swaylock: Managed with home-manager.
- yambar: Prefer waybar for simplicity.
2023-05-08 21:31:32 -04:00
Donovan Glover
a8f7f8702e
meta: Remove unused packages
- code: No plans to use anything that isn't neovim.
- picom: Don't need anymore thanks to Hyprland.
- polybar: X11-only. yambar/waybar work as alternatives.
- tint2: X11-only. Functionality can be replicated with waybar.
- xinit: No need when using Wayland.
2023-05-08 15:39:02 -04:00
Donovan Glover
5e5f64dc80
nix: Add starship config
Similar to fish, there's some relief in knowing that I can declare my
starship settings in Nix and have them accessible from any user on the
machine, even root.
2023-05-08 14:26:00 -04:00
Donovan Glover
c0810fd98e
nix: Add fish abbreviations
I originally wasn't going to mix logic from my dotfiles with NixOS,
however I was unable to simply use my abbreviations after adding
~/.config/fish/config.fish, so I decided to give it a try.

Using Nix to manage fish abbreviations feels nicer than using a
config.fish because I am now easily able to manipulate these
abbreviations with the limitless possibilities of the Nix language, and
with the guarantee that the output is reproducible.
2023-05-08 14:18:41 -04:00
Donovan Glover
bc722c5043
meta: Remove paru
Paru is no longer needed since I use Nix instead, which doesn't need an
AUR helper.
2023-05-08 13:58:08 -04:00
Donovan Glover
3236df33f6
nix: Update configuration.nix
Highlights:

- Added a test container with network configuration and Wayland support
- Added GNOME/Hyprland support with SDDM
- Added Git/Starship/GPG support
- Properly added Neovim support with .enable
- Various package changes
- Made caps lock function as escape on tap, left ctrl on hold
- Print screen functions as right super on hold
2023-05-08 13:56:53 -04:00
Donovan Glover
d69fe99210
nix: Use nixos-unstable
This fixes an issue where the exact branch wasn't specified before.
2023-05-08 13:40:15 -04:00
Donovan Glover
26f4ee265b
nix: Add flake.lock 2023-05-08 13:38:39 -04:00
Donovan Glover
c15dc29944
meta: Remove bspwm/sxhkd
I used bspwm for over half a decade, and although it was great, I am now
interested in using Hyprland, which is basically bspwm for Wayland but
better.
2023-05-08 13:31:48 -04:00
Donovan Glover
d654c01f30
nix: Fix nixpkgs url 2023-05-08 13:19:45 -04:00
Donovan Glover
30589fe822
misc: Update styles
Will automate the bar color changes later.
2023-05-04 23:54:04 -04:00
Donovan Glover
12963e54d5
hyprland: Fix focus on swapmaster
This fixes an issue where swapmaster wouldn't focus master when swapping
after changing between a non-empty workspace.
2023-05-04 22:17:42 -04:00
Donovan Glover
41b803ec19
nix: Update configuration.nix
home-manager shouldn't be needed here since it's managed by the flake
instead.
2023-05-04 13:19:56 -04:00
Donovan Glover
00fc33cad8
nix: Add flake.nix
This may or may not work; I haven't tested it yet.
2023-05-04 13:09:55 -04:00
Donovan Glover
abd2d1a4cf
meta: Add configuration.nix
These are my first steps towards using Nix and NixOS to declaratively
configure a reasonably good development environment. I am aware that
there are various paradigms that include using home manager and/or
flakes, however I am still exploring with a simple configuration.nix.
2023-05-03 01:26:59 -04:00
Donovan Glover
665a9d6099
meta: Add migration notice to README 2023-05-03 01:15:17 -04:00
Donovan Glover
947aba84a4
mpv: Update config 2023-05-02 22:06:12 -04:00
Donovan Glover
6036a9821a
yambar: Update config 2023-05-02 21:58:03 -04:00
Donovan Glover
a2dd9cedc8
kitty: Update config 2023-05-02 21:57:27 -04:00
Donovan Glover
84b3bc37ee
hyprland: Add performance script from wiki 2023-05-02 21:51:11 -04:00
Donovan Glover
b99d7f8395
swaylock: Update config
swaylock-effects is no longer used for simplicity.
2023-05-02 21:40:15 -04:00
Donovan Glover
971ce5fb63
yambar: Add title script 2023-05-02 21:37:15 -04:00
Donovan Glover
6da8592a15
librewolf: Update overrides 2023-05-02 21:33:58 -04:00
Donovan Glover
ab92960987
gtk: Use generic themes
This simplifies things a bit.
2023-05-02 20:59:27 -04:00
Donovan Glover
6bfdb67480
hyprland: Add multi-monitor support to tags.sh
This fixes an issue where the script would previously fail to work with
multiple monitors.
2023-04-30 21:09:24 -04:00
Donovan Glover
8e203e5a84
hyprland: Add focusmaster script 2023-04-30 21:07:53 -04:00
Donovan Glover
534e5c93ad
vim: Update .vimrc 2023-04-30 19:38:43 -04:00
Donovan Glover
f55258e94f
Update LICENSE 2023-04-30 19:37:54 -04:00
Donovan Glover
d4a4438852
hyprland: Use blur
Blur now makes sense since rofi and yambar are possible to blur as well.
2023-04-30 18:42:07 -04:00
Donovan Glover
f9efa2a364
rofi: Update config.rasi
One notable change is that it's now possible to select entries with a
single click.
2023-04-30 18:36:48 -04:00
Donovan Glover
1dd1f46554
rofi: Use launchpad theme
This is a slightly modified version of Newman Sánchez's launchpad theme
that adds pywal support and makes the icons bigger.
2023-04-30 18:33:11 -04:00
Donovan Glover
8004d74a17
yambar: Simplify battery icon 2023-04-30 17:35:40 -04:00
Donovan Glover
bc9a42e7bd
yambar: Sleep twice as long
Later it may be possible to only update yambar on hyprland events.
2023-04-30 17:32:49 -04:00
Donovan Glover
37a3d9450e
fish: Update config
- Added opus function
- Moved ex function to separate file
2023-04-30 16:02:37 -04:00
Donovan Glover
03d7b50ca6
dunst: Change font 2023-04-30 16:01:44 -04:00
Donovan Glover
9ca761e7cd
hyprland: Update config
Notable changes:

- Set a background, start yambar, set volume, and play audio on startup
- Remove gaps by default
- Remove blur
- Increase special scale factor
- Show red for xwayland windows
2023-04-30 15:00:50 -04:00
Donovan Glover
25cb38bed7
polybar: Update config 2023-04-30 14:17:52 -04:00
Donovan Glover
4e8ef18535
yambar: Add backlight and volume 2023-04-30 13:51:05 -04:00
Donovan Glover
7484827bb7
yambar: Add pipewire script 2023-04-30 13:50:22 -04:00
Donovan Glover
08b5d9a72b
hyprland: Add toggle layout script 2023-04-30 13:46:59 -04:00
Donovan Glover
feb84afb12
hyprland: Add swapmaster script
This is an alternative to the default swapmaster behavior that, instead
of swapping with the first child, swaps with the last active window if
the currently focused window is master.
2023-04-30 13:43:24 -04:00
Donovan Glover
68a8b3369c
hyprland: Add tags script
This somewhat replicates the cool tag functionality observed in dwm,
river, and similar window managers.
2023-04-30 13:00:47 -04:00
Donovan Glover
b00d8c9ebb
hyprland: Add toggle yambar script 2023-04-30 12:53:02 -04:00
Donovan Glover
cdd27be432
yambar: Remove river support
Hyprland does most of what river could do but better, so focusing on
Hyprland is ideal to simplify configuration.
2023-04-26 16:01:17 -04:00
Donovan Glover
a53f76a0be
yambar: Handle special workspace 2023-04-26 16:00:34 -04:00
Donovan Glover
049dc47f2a
meta: Add yambar 2023-04-26 03:24:26 -04:00
Donovan Glover
0f720ca3c0
sxhkd: Add dzen2 script
This was a script I used to show the workspace number without having to
worry about having a bar in bspwm.
2023-04-26 02:40:56 -04:00
Donovan Glover
3ed20a4ae8
waybar: Update config
This was my attempt at getting waybar to play nicely with both Hyprland
and river, although I prefer yambar now.
2023-04-26 01:53:28 -04:00
Donovan Glover
51a3e26332
hyprland: Use river-like keybinds 2023-04-25 22:41:21 -04:00
Donovan Glover
a4c5c4ee05
git: Remove hard-coded diff-highlight colors
This makes pywal themes more likely to work with diff-so-fancy.
2023-04-25 22:13:58 -04:00