Commit Graph

49 Commits

Author SHA1 Message Date
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
Donovan Glover
5101e93c39
specializations: Remove unnecessary options
Enabling xserver is handled by the desktop module.
2024-08-09 12:23:41 -04:00
Donovan Glover
add2c126fe
dwm: Inline picom / dunst configs
This prevents us from having specialization-specific configs in the home
directory, which would be unrelated to the main hyprland environment and
would require explicitly disabling it.

Other nix-configs solve this problem with nested directory structures,
however I enjoy being able to access all files in the nix-config one
directory away.
2024-08-08 21:33:48 -04:00
Donovan Glover
452bad7db6
specializations: Add base dwm specialization
Sometimes you really need to use a stable and reliable Xorg desktop
system. GNOME crashes when switching workspaces with osu! open, and
Plasma seems like too much for just wanting to run osu! without
having to worry about all the Wayland shenanigans decreasing fps.

I used bspwm for years however development has slowed down recently.
I've always liked dwm from trying it previously, and it is comforting
knowing that your window manager is minimal and will always work the
same way.
2024-08-08 21:26:42 -04:00
Donovan Glover
2297fb41e3
treewide: Drop usage of inherit (pkgs)
Having to change the package list in two places was a bit redundant. We
can also use `with` patterns now since nixd warns if there are escaping
variables being used.

Note that variables used in multiple places are kept to make it easier
to recognize that those variables must be changed together. Also note
that inherit (pkgs) inside of mkMerge are currently kept to reduce the
diff.
2024-08-07 16:40:58 -04:00
Donovan Glover
8ece3e2812
treewide: Format remaining files with nixfmt-rfc-style 2024-08-03 14:49:00 -04:00
Donovan Glover
d092c5f416
meta: Migrate phosh settings to phone config
Currently there are too many serious issues to realistically use
Hyprland on the PinePhone, and Phosh supports most of the features
we need out of the box anyway, so it makes sense to use that full-time
over trying to make something else work.
2024-07-18 17:10:53 -04:00
Donovan Glover
26d01911e4
chore: Clean up nix code
- Added missing `services` prefix to xserver option
- Simplified options in system.nix
- Removed unused `optionals` binding
2024-07-18 13:31:13 -04:00
Donovan Glover
dded6eb37f
phosh: Simplify background css 2024-07-17 20:49:59 -04:00
Donovan Glover
fa16ccaada
chore: Update i18n.inputMethod options
i18n.inputMethod.enabled was changed to .enable and .type.
2024-07-16 12:25:06 -04:00
Donovan Glover
051c903154
meta: Move phosh config to specialization
This is part of attempting to use Hyprland over Phosh (again) for
more control over things.
2024-07-14 21:12:03 -04:00
Donovan Glover
8bfc0ebf36
system: Always exclude gnome-tour
Should prevent gnome-tour from showing in phosh.
2024-06-23 09:46:56 -04:00
Donovan Glover
06b14b11eb
chore: Move legacy options out of services.xserver
At some point these options were changed to be descendants of
`services` instead.
2024-06-04 10:22:09 -04:00
Donovan Glover
7f05a66fa5
feat: Make username customizable
Now it's possible to use whatever username you want for your system. The
default value of "user" is good if you're concerned about information
disclosure attacks through things like the username being visible in
logs or other output.
2024-04-04 16:36:28 -04:00
Donovan Glover
9b4d9c8bf5
meta: Make specializations a nixosModule
Now it's possible to use the specializations in arbitrary configs. Note
that specializations do slow things down a bit so they may be disabled
by default in the future.
2024-04-01 06:27:08 -04:00
Donovan Glover
0151098d47
chore: Update flake inputs
Notable changes include upgrading to Plasma 6 in the DE specialization
as well as updating the pqiv config to work with the latest home-manger
change.
2024-03-22 12:22:23 -04:00
Donovan Glover
8fa673095e
meta: Move DE-specific config to specializations
Helps keep the modules directory specific to the main configuration and
not any specializations.
2023-07-10 21:12:48 -04:00
Donovan Glover
cb6d57536b
specializations: Configure inside default.nix
This makes it possible to define specializations that are technically
modules without having them placed in the modules directory. This is
mainly useful to separate core Hyprland logic from desktop environment
logic.
2023-07-10 20:36:27 -04:00
Donovan Glover
0fd8411d36
meta: Use default.nix
Makes things simpler.
2023-06-22 05:36:48 -04:00
Donovan Glover
798aa35edf
meta: Use separate module for plasma
This enables plasma to be used as both a specialization and as a desktop
environment in a virtual machine.
2023-06-17 22:23:25 -04:00
Donovan Glover
fb2acae89a
specializations: Add plasma
This *works*, and the best part is I didn't have to do *anything* (besides
write this configuration file, that is).

Thanks to NixOS, it is possible to have GNOME, Plasma, Hyprland, and
whatever else you want installed on the same computer without those
desktop environments conflicting with each other. This configuration is
done in a fully reproducible and declarative setup with minimal code,
without having to modify any external files or run any imperative
commands.
2023-06-17 19:11:27 -04:00
Donovan Glover
a725e0c2da
meta: Add gnome specialization
This makes it possible to boot into either Hyprland (the default) or
GNOME. Having separate configurations implemented in combination with
home-manager and impermanence guarantees that desktop environments don't
conflict withe each other, so this could also be used to implement a
Plasma specialization in the future.
2023-06-17 12:17:51 -04:00