Commit Graph

71 Commits

Author SHA1 Message Date
Donovan Glover
aaef3ecf8b
Revert "meta: Document usage of dwm on phone"
This was cool but there were a few issues such as me not being able to
find the infamous "dock patch" despite grepping for dock on
https://dwm.suckless.org/patches/, which resulted in the keyboard hiding
tiled windows and being below floating windows.

There was also an issue where starting corekeyboard from dwm would
result in styling not being applied compared to starting it from the
terminal.

A third issue was that from a quick attempt I couldn't get callaudiod to
start inside dwm, which was required for gnome-calls.

Overall it looks like I will be using Phosh until further notice on the
PinePhone, as I've already gotten it to work well enough for my use case.
2024-08-28 20:12:40 -04:00
Donovan Glover
b00b2dd8d4
meta: Document usage of dwm on phone
This worked and was *significantly* faster than Phosh but resulted in a
lot of phone things broken like phone calls and the camera. Overall
quite cool to run dwm on the PinePhone but not really practical when
trying to use the PinePhone as a phone.
2024-08-28 19:52:17 -04:00
Donovan Glover
6036d49620
meta: Move home-manager dwm config to separate module
Note that it's possible to use an autostart patch like
https://dwm.suckless.org/patches/cool_autostart/ so startx isn't
needed although this results in dwm starting before things like
the status bar get set.
2024-08-27 17:20:49 -04:00
Donovan Glover
99fd8bf3f3
meta: Move dunst config out of dwm
Long-term I'll have to decide if it's worth it to use two separate
notification daemons for X and Wayland.
2024-08-27 16:33:05 -04:00
Donovan Glover
d10c5565fb
meta: Move picom config out of dwm
This is part of simplifying the config to make `home` the single source
of truth for home-manager modules.
2024-08-27 15:18:18 -04:00
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
be5f0a6183
chore: Run nix fmt 2024-08-26 21:32:55 -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
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
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
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
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
348f467ed2
dwm: Add spacing for status bar text 2024-08-24 23:19:03 -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
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
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
6c34cce882
treewide(nix): Remove duplicate attribute name usage
Found thanks to nixd showing different colors for these.
2024-08-10 20:55:46 -04:00
Donovan Glover
45e7d727a0
chore: Run nix fmt 2024-08-09 13:29:15 -04:00