Commit Graph

3397 Commits

Author SHA1 Message Date
Donovan Glover
83a82ab655
chore: Expand single item lists and attribute sets
These aren't collapsed by nix fmt anymore.
2024-08-27 13:05:29 -04:00
Donovan Glover
ed9a253fdf
docs: Drop mention of specializations
Currently specializations double the evaluation time from ~1 minute
to 2 minutes, and they're actually restrictive since it's possible to
run Hyprland and dwm on separate ttys at the same time.
2024-08-27 00:05:34 -04:00
Donovan Glover
be5f0a6183
chore: Run nix fmt 2024-08-26 21:32:55 -04:00
Donovan Glover
09b241b088
chore: Update to latest mobile-nixos commit 2024-08-26 20:26:20 -04:00
Donovan Glover
39d73d1ed1
dwm: Add greetd settings
Long-term it may be ideal to simply start dwm on tty2.
2024-08-26 14:08:20 -04:00
Donovan Glover
104b62c6d4
dwm: Add scrot 2024-08-26 14:07:19 -04:00
Donovan Glover
c62a0694dd
shell: Replace color scripts with asciiquarium
asciiquarium is much cooler in this case. Note that sanctity is kept
since it's useful for debugging colors.
2024-08-26 14:05:50 -04:00
Donovan Glover
64ce2763bc
xdg-user-dirs: Set desktop directory
Fixes an issue where programs that depend on the desktop directory
weren't able to find it.
2024-08-26 14:04:36 -04:00
Donovan Glover
f7cd666a30
shell: Drop old sessionVariables
- GIT_DISCOVERY_ACROSS_FILESYSTEM shouldn't be needed anymore and was
  likely a skill issue in the past.
- NODE_OPTIONS should be set per-project instead of globally.
- GATSBY_TELEMETRY_DISABLED should also be set per-project, although the
  framework seems to be in standby mode currently.
2024-08-26 13:58:24 -04:00
Donovan Glover
0a953ffa55
dwm: Decrease bar height 2024-08-26 13:52:55 -04:00
Donovan Glover
716103f2ed
dwm: Make keybinds align with Hyprland 2024-08-26 13:52:23 -04:00
Donovan Glover
865a954f5c
dwm: Use solid color background by default 2024-08-26 13:51:43 -04:00
Donovan Glover
8438c07ab1
git: Remove aliases
It's better to use fish abbreviations so it's easier to remember what
the aliases actually do.
2024-08-26 06:59:39 -04:00
Donovan Glover
4b53002720
dwm: Make tags clickable 2024-08-26 06:34:09 -04:00
Donovan Glover
05a796610c
dwm: Add desktop icons patch with nemo-desktop
Makes the desktop more useful. Note that nemo-desktop was chosen over
alternatives like pcmanfm due to its superior icon positioning and
support for feh, among other benefits.
2024-08-26 06:33:16 -04:00
Donovan Glover
69e3ad3f07
chore: Use with pkgs; where possible 2024-08-26 06:15:27 -04:00
Donovan Glover
a866dc29c7
dwm(picom): Add opacity for thunar
Replicates the Hyprland setup.
2024-08-26 06:07:42 -04:00
Donovan Glover
6b0876bfb4
neovim: Drop vim-caddyfile
Not needed now that I'm all in on Nix.
2024-08-26 01:46:17 -04:00
Donovan Glover
c4d374f63d
hyprland: Drop unused centerwindow keybind
This isn't needed now that hyprland centers floating windows by default.
2024-08-26 00:05:18 -04:00
Donovan Glover
a2f70631ed
neovim: Drop yuck-vim
The treesitter grammar is used instead when inlined in Nix.
2024-08-25 22:58:47 -04:00
Donovan Glover
9aaf6ed972
meta: Move editorconfig to separate module 2024-08-25 22:33:15 -04:00
Donovan Glover
c5c31718f4
chore: Update to latest stylix commit 2024-08-25 21:29:53 -04:00
Donovan Glover
75029f6d1d
chore: Prefer with pkgs; over attrValues
`with pkgs;` is okay to use as long as there isn't an "escaping with".
2024-08-25 21:29:37 -04:00
Donovan Glover
3e5290a6ba
meta: Move friendlyfox to separate package
Makes it easier to do things like update friendlyfox in the future.
2024-08-25 15:38:35 -04:00
Donovan Glover
c462dc20e8
dwm(libinput): Set touchpad.accelSpeed to Hyprland speed
Makes the touchpad speed consistent across Hyprland and dwm.
2024-08-25 14:28:38 -04:00
Donovan Glover
c077b5a551
chore: Remove articles from package descriptions
Also removed the "since 2017" from osu-backgrounds since I plan to add
more later.
2024-08-25 13:47:03 -04:00
Donovan Glover
dd5eef5b77
virtualization: Drop WLR_NO_HARDWARE_CURSORS
Doesn't seem to be needed anymore for Hyprland.
2024-08-25 13:28:20 -04:00
Donovan Glover
15157e4632
dwm: Remove unused TAGKEYS
Not necessary since we made our own simple dwm setup focused more on the
idea of workspaces than tags.
2024-08-25 13:11:55 -04:00
Donovan Glover
6c561ee4ba
dwm: Toggle floating with super+v
This replicates the keybind I use in Hyprland.
2024-08-25 13:10:10 -04:00
Donovan Glover
3ed9ddddff
dwm: Toggle fullscreen with super+f 2024-08-25 13:09:16 -04:00
Donovan Glover
ba127acd62
hyprland: Change passthrough key to super+alt+backspace
Fixes an issue where the passthrough keybind was being executed when
switching ttys.
2024-08-25 12:38:27 -04:00
Donovan Glover
348f467ed2
dwm: Add spacing for status bar text 2024-08-24 23:19:03 -04:00
Donovan Glover
f526b20a3b
fzf: Fix colors being overwritten by stylix 2024-08-24 22:08:07 -04:00
Donovan Glover
31de8f1085
specializations: Drop gnome and plasma
I added specializations over a year ago when I was still new to NixOS
and trying out some of the many different features unique to it. These
days I don't need much more than a terminal and a web browser, and I
haven't used GNOME or Plasma in over a year at this point.

Nowadays everything I need from a computer I can accomplish with the
terminal. Nixpkgs trained me to dig deep into source code to figure out
how to do things, and using a PinePhone significantly improved my
awareness of how Linux interacts with hardware and how to configure it.

One of the biggest motivators for dropping these environments is that I
can't keep up with the changes that are made to GNOME and Plasma.
Hyprland has served my needs well and feels more stable since there
isn't a user interface that's constantly changing.
2024-08-24 21:28:11 -04:00
Donovan Glover
c00ebbd691
meta: Prefer home-manager module over env for bat
This works now that stylix switched to using the configuration file
instead of the environment variable.
2024-08-24 12:24:43 -04:00
Donovan Glover
aac5e7f999
meta: Prefer home-manager module over env for fzf 2024-08-24 12:16:36 -04:00
Donovan Glover
eebc8d2b52
phone: Disable xwayland support
This shouldn't break anything since I don't use xwayland applications
due to their low quality rendering on Phosh.
2024-08-24 12:15:47 -04:00
Donovan Glover
2b8fc665f6
meta: Prefer home-manager module over alias for ripgrep
Aliases should be avoided since they are only relevant to one shell.
2024-08-24 12:15:42 -04:00
Donovan Glover
1defdcf785
stylix: Inline base16 scheme 2024-08-23 23:28:33 -04:00
Donovan Glover
423984a241
dwm: Add bar height patch
Seems to make the bar spacing a bit more pleasant to look at.
2024-08-23 23:28:33 -04:00
Donovan Glover
96e069fe6d
dwm: Make GTK programs work with dbus-launch
Fixes an issue where blueman for bluetooth wasn't working.
2024-08-23 23:28:24 -04:00
Donovan Glover
0cd241e315
dwm: Remove librewolf borders with GTK_CSD=0
Necessary to avoid having a 5px border around librewolf.

https://searchfox.org/mozilla-central/rev/a11b63915bd7810a03635d733123448ab5bfcad3/widget/gtk/nsWindow.cpp#8929,8955,8975
2024-08-23 22:27:04 -04:00
Donovan Glover
d567a56b4d
dwm: Add save floats patch
Now it's possible to float and unfloat windows and those windows will
preserve their floating window size.

Note that this patch was merged with the alwayscenter patch so the diff
applies cleanly.
2024-08-23 21:12:20 -04:00
Donovan Glover
078fd93168
Revert "overlays: Update picom to v12-rc2 for animations"
After trying the new picom animations for a bit they're a bit too janky
compared to the animations in Hyprland. The "geometry" trigger
replicated the tiling animation when swapping windows, however this came
at the cost of transparency being broken during the animation and the
easing in general not being comparable to Hyprland.

Further issues include the usage of animations breaking fade in/out
support for windows, which I found less intrusive than the appear /
disappear presets with not-so-subtle easing. Using the geometry trigger
also meant that switching tags in dwm had a slide in effect, which felt
disruptive compared to the usual feeling of dwm.

Other issues included the increased probability of things not being
drawn correctly (for example, an animation that "hangs" while in the
middle of animating) and a slightly annoying fade effect every time
windows changed in size such as when toggling fullscreen.

The config used is below for reference, however after trying picom
animations dwm feels considerably better without them.

```
animations = (
  {
    triggers = ["open"];
    preset = "appear";
    scale = 0.5;
  },
  {
    triggers = ["close"];
    preset = "disappear";
    scale = 0.5;
  },
  {
    triggers = ["geometry"];
    preset = "geometry-change";
    duration = 0.5;
  },
);
```
2024-08-23 20:17:36 -04:00
Donovan Glover
d058a3bd70
overlays: Update picom to v12-rc2 for animations
Trying this out with dwm and it seems to work. Note that we aren't using
the windowmap patch since it causes windows such as kitty to not focus
properly when switching between tags.
2024-08-23 18:20:20 -04:00
Donovan Glover
fa15715cc7
dwm: Add CJK and emoji fonts for bar
Also uses Maple Mono by default explicitly.
2024-08-23 15:08:10 -04:00
Donovan Glover
19a33b2de5
dwm(picom): Don't show shadow on top of bar
Fixes an issue where there would previously be two shadows at the top
with a window open without having to exclude shadow from the bar.
2024-08-23 11:24:07 -04:00
Donovan Glover
8a0153027c
dwm: Add bar script 2024-08-23 11:04:38 -04:00
Donovan Glover
8172b16f56
dwm: Add reorganize tags patch
Automatically moves windows to the leftmost tag when moving them.
Useful to help keep the third workspace unoccupied when two other
workspaces have windows on them.
2024-08-22 23:19:26 -04:00
Donovan Glover
e7997f5fbc
dwm: Use dot indicators for tags
The idea is that the dwm session is actually a simple version of the
Hyprland session, and the tag functionality isn't actually used.
2024-08-22 22:53:26 -04:00