Commit Graph

3475 Commits

Author SHA1 Message Date
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
Donovan Glover
c72bfa9448
dwm: Use stylix colors for status bar 2024-08-22 22:51:35 -04:00
Donovan Glover
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
Donovan Glover
61ef31d977
dwm: Add patch to remove floating indicator 2024-08-22 21:43:38 -04:00
Donovan Glover
4781eafb06
dwm: Make bar opacity match rest of config
256 * 0.95 ~= 243.
2024-08-22 21:41:43 -04:00
Donovan Glover
b501d089dc
dwm: Add patch to remove layout indicator 2024-08-22 21:32:55 -04:00
Donovan Glover
6dc116c9a4
dwm: Add adjacent tags patch 2024-08-22 21:08:45 -04:00
Donovan Glover
3c22106938
dwm: Remove unused layouts / keybinds 2024-08-22 20:56:15 -04:00
Donovan Glover
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
Donovan Glover
c6fcec26f5
dwm: Add alwayscenter patch
Used for floating librewolf.
2024-08-22 18:30:47 -04:00
Donovan Glover
c0c3871209
dwm: Add alpha patch 2024-08-22 18:29:47 -04:00
Donovan Glover
9e76605a80
chore: Improve formatting
Also simplifies the piccom call in .xinitrc.
2024-08-22 16:44:54 -04:00
Donovan Glover
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
Donovan Glover
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
Donovan Glover
be44fa4f99
dwm: Make neovim clipboard work with xclip 2024-08-22 10:56:48 -04:00
Donovan Glover
a8735d7ba1
dwm: Add patch to hide unused tags 2024-08-22 10:55:26 -04:00
Donovan Glover
dedb462a48
dwm: Add fcitx5 support 2024-08-22 10:46:48 -04:00
Donovan Glover
c4ad120bf3
dwm: Add .xinitrc 2024-08-22 10:46:07 -04:00
Donovan Glover
692eaae017
Revert "phone: Enable mmsd for MMS messages"
Seems to cause a significant increase in battery life consumption and
and doesn't seem to work with a VPN enabled.

See: https://gitlab.com/kop316/mmsd/-/issues/89
2024-08-20 22:37:05 -04:00
Donovan Glover
2b8602125f
system: Set default phone password to 1234 2024-08-18 16:59:55 -04:00
Donovan Glover
f571481125
phone: Disable documentation
Derivations like the documentation for rustc were taking up huge amounts
of space that *probably* aren't needed on the PinePhone, so disabling
documentation should significantly improve copy times and reduce the
total amount of space necessary for updates.
2024-08-17 16:38:09 -04:00
Donovan Glover
61d79505af
phosh-backgrounds: Set version information
Fixes an issue where I forgot to change the version previously.
2024-08-17 15:23:40 -04:00
Donovan Glover
25225236c3
phone: Enable mmsd for MMS messages
Seems to work for text MMS.
2024-08-17 15:19:08 -04:00