Commit Graph

3383 Commits

Author SHA1 Message Date
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
69e3ad3f07 chore: Use with pkgs; where possible 2024-08-26 06:15:27 -04:00
a866dc29c7 dwm(picom): Add opacity for thunar
Replicates the Hyprland setup.
2024-08-26 06:07:42 -04:00
6b0876bfb4 neovim: Drop vim-caddyfile
Not needed now that I'm all in on Nix.
2024-08-26 01:46:17 -04:00
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
a2f70631ed neovim: Drop yuck-vim
The treesitter grammar is used instead when inlined in Nix.
2024-08-25 22:58:47 -04:00
9aaf6ed972 meta: Move editorconfig to separate module 2024-08-25 22:33:15 -04:00
c5c31718f4 chore: Update to latest stylix commit 2024-08-25 21:29:53 -04:00
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
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
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
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
dd5eef5b77 virtualization: Drop WLR_NO_HARDWARE_CURSORS
Doesn't seem to be needed anymore for Hyprland.
2024-08-25 13:28:20 -04:00
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
6c561ee4ba dwm: Toggle floating with super+v
This replicates the keybind I use in Hyprland.
2024-08-25 13:10:10 -04:00
3ed9ddddff dwm: Toggle fullscreen with super+f 2024-08-25 13:09:16 -04:00
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
348f467ed2 dwm: Add spacing for status bar text 2024-08-24 23:19:03 -04:00
f526b20a3b fzf: Fix colors being overwritten by stylix 2024-08-24 22:08:07 -04:00
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
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
aac5e7f999 meta: Prefer home-manager module over env for fzf 2024-08-24 12:16:36 -04:00
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
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
1defdcf785 stylix: Inline base16 scheme 2024-08-23 23:28:33 -04:00
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
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
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
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
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
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
fa15715cc7 dwm: Add CJK and emoji fonts for bar
Also uses Maple Mono by default explicitly.
2024-08-23 15:08:10 -04:00
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
8a0153027c dwm: Add bar script 2024-08-23 11:04:38 -04:00
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
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
c72bfa9448 dwm: Use stylix colors for status bar 2024-08-22 22:51:35 -04:00
50a3e6e1a2 dwm(picom): Decrease shadow opacity from 0.75 to 0.2
Makes the status bar look nicer with the terminal while still being
prominent enough to help with seeing which window has focus.
2024-08-22 22:49:31 -04:00
61ef31d977 dwm: Add patch to remove floating indicator 2024-08-22 21:43:38 -04:00
4781eafb06 dwm: Make bar opacity match rest of config
256 * 0.95 ~= 243.
2024-08-22 21:41:43 -04:00
b501d089dc dwm: Add patch to remove layout indicator 2024-08-22 21:32:55 -04:00
6dc116c9a4 dwm: Add adjacent tags patch 2024-08-22 21:08:45 -04:00
3c22106938 dwm: Remove unused layouts / keybinds 2024-08-22 20:56:15 -04:00
712d5b141a dwm: Add base config
Changes from the original dwm:

- Removed border from windows
- Changed colors (will replace with stylix ones later)
- Added media keys for brightness / volume
- Changed tag names and amount
- Added transparency to bar
- Made librewolf float to preserve window size
- Removed unused keybinds like layout switching
- Removed unused tag keys
- Set mod key to super instead of alt
- Changed dmenu to rofi and st to kitty
2024-08-22 19:05:06 -04:00
c6fcec26f5 dwm: Add alwayscenter patch
Used for floating librewolf.
2024-08-22 18:30:47 -04:00
c0c3871209 dwm: Add alpha patch 2024-08-22 18:29:47 -04:00
9e76605a80 chore: Improve formatting
Also simplifies the piccom call in .xinitrc.
2024-08-22 16:44:54 -04:00
5efc4364bb dwm: Use actualfullscreen patch over monocle mode
Simplifies things a bit since we no longer need to worry about monocle
mode affecting all tags.
2024-08-22 16:31:32 -04:00
ad0f0619fd dwm: Add patch to fix monocle background transparency
Source: https://old.reddit.com/r/suckless/comments/jiyl4h/hiding_background_windows_in_monocle_and_deck/ga9fmc3/
2024-08-22 11:57:13 -04:00
be44fa4f99 dwm: Make neovim clipboard work with xclip 2024-08-22 10:56:48 -04:00