Donovan Glover
21cd3e96da
meta(home-manager): Remove dependency on extraSpecialArgs
...
Makes copy/pasting easier and removes non-standard arguments in
home-manager modules.
2024-09-09 10:30:00 -04:00
Donovan Glover
4b5d240ebd
meta(home-manager): Determine isPhone from nixosConfig
...
Simplifies things a bit since we no longer depend on a phone variable,
thus making the individual files easier to copy/paste.
2024-09-08 23:14:43 -04:00
Donovan Glover
9e59527e9a
neovim(nvim-tree): Automatically focus opened file
2024-09-08 21:53:34 -04:00
Donovan Glover
0b720603ba
phone: Move xdg config to home-manager modules
2024-09-08 21:23:49 -04:00
Donovan Glover
58e227efc0
phone: Move dconf config to dconf module
2024-09-08 19:09:10 -04:00
Donovan Glover
f8876167f0
phone: Move gtk config to gtk module
...
This is part of simplifying the phone module to make it as consistent
with the rest of the home-manager environment as possible.
2024-09-08 14:46:09 -04:00
Donovan Glover
f70894196c
xdg-user-dirs: Set desktop to home directory
...
Some programs use the desktop and won't do anything if the desktop
directory isn't specified.
2024-09-08 14:01:03 -04:00
Donovan Glover
cc5ca869ce
treewide(rofi): Show default mode instead of drun
2024-09-08 14:00:15 -04:00
Donovan Glover
424edb7828
meta: Remove nemo-desktop
...
This was interesting but I prefer the hacker feel and simplicity of no
desktop icons since it makes using different backgrounds easier.
2024-09-08 12:44:52 -04:00
Donovan Glover
8d402cdad7
Revert "dwm: Document attempt at using yambar with anybar"
...
Not worth getting rid of an already well-working dwm bar for yambar
since it'd also require more work on the Hyprland side.
2024-09-07 20:10:18 -04:00
Donovan Glover
f2c4e51a98
dwm: Document attempt at using yambar with anybar
...
This was my attempt at using yambar in both Xorg and Wayland with the
anybar dwm patch however starting yambar resulted in the session being
unresponsive until yambar was killed from another tty.
2024-09-07 20:06:30 -04:00
Donovan Glover
5a72abce97
dwm: Start polkit-gnome-authentication-agent-1
2024-09-06 11:10:00 -04:00
Donovan Glover
f7ea988d1c
ironbar: Use dunst scripts for volume up/down
2024-09-06 10:49:35 -04:00
Donovan Glover
5c4eed77f7
librewolf: Remove default search engines
2024-09-05 21:05:05 -04:00
Donovan Glover
cc5f5de728
dwm: Fix incorrect renaming of dmenucmd
...
Forgot that this gets used in the source code.
2024-09-05 20:55:16 -04:00
Donovan Glover
1de8bafa4d
meta: Use super+bracketleft for rofi
2024-09-05 20:17:05 -04:00
Donovan Glover
94607665c6
dwm: Include muted status in bar
2024-09-05 20:14:15 -04:00
Donovan Glover
027baae6ef
ironbar: Include muted status
2024-09-05 20:01:43 -04:00
Donovan Glover
b49b90a72f
ironbar: Remove useless function
...
Leftovers from the past.
2024-09-05 19:58:51 -04:00
Donovan Glover
9ff3c97151
librewolf: Add invidious extension
...
Note that to significantly improve video quality DASH can be enabled in
the settings. This may become the default in the future.
2024-09-05 19:11:09 -04:00
Donovan Glover
43230b87b8
dwm: Only update bar if dwm is running
...
Fixes an issue where the script would continue to run after
quitting dwm.
2024-09-05 18:14:22 -04:00
Donovan Glover
e99b5916db
dwm: Move autostart programs out of .xinitrc
2024-09-05 17:59:33 -04:00
Donovan Glover
3f9ed977cf
dwm: Increase tag amount from 3 to 6
2024-09-05 17:28:00 -04:00
Donovan Glover
54d9750b65
dunst: Show new notifications on top
...
Seems a bit more natural than having them show up on the bottom.
2024-09-05 17:07:28 -04:00
Donovan Glover
b7b19601fe
meta: Replace avizo with dunst scripts
...
Avizo had some issues that ultimately made me return to the old and
reliable dunst. For example, the home-manager service would fail to
restart after the computer was idle for a set amount of time.
The way avizo manages its window also resulted in compositors like
Hyprland and picom showing a blur artifact when avizo tried to fade
itself. Ultimately using dunst simplifies things and avoids having
to look in two different places for notifications.
2024-09-05 17:04:19 -04:00
Donovan Glover
2193d86585
dunst: Use base03 for filled bar color
...
Subtle and light enough to see.
2024-09-05 12:16:17 -04:00
Donovan Glover
c9285617ba
dunst: Decrease border size
...
Also makes the separator height consistent with the frame width.
2024-09-05 12:14:28 -04:00
Donovan Glover
2873612e25
dunst: Use subtle color for border background
2024-09-05 12:12:57 -04:00
Donovan Glover
04c3941ed3
chore: Improve formatting
2024-09-05 12:11:43 -04:00
Donovan Glover
37787f48ee
dunst: Use different text colors depending on urgency
2024-09-04 20:44:20 -04:00
Donovan Glover
455ad36e56
dunst: Set border color to primary color
2024-09-04 20:43:08 -04:00
Donovan Glover
190da5ed57
picom: Exclude slop from effects
...
Fixes an issue where maim selection was being affected by picom.
2024-09-04 19:37:19 -04:00
Donovan Glover
ecd3ae041b
dwm: Autostart mpdris2 / dunst / avizo
...
Necessary since these programs wouldn't start properly under .xinitrc.
2024-09-04 19:29:58 -04:00
Donovan Glover
1e624509bb
ironbar: Remove notification module
...
This is no longer useful since we're using dunst instead of swaync.
2024-09-04 13:33:24 -04:00
Donovan Glover
45465b8c5e
dunst: Increase notification width
2024-09-04 13:32:56 -04:00
Donovan Glover
e0a13a98ce
dwm: Add cool autostart patch
...
This is necessary since some programs started with .xinitrc don't work
at all in dwm, such as avizo-service and mpDris2.
2024-09-04 13:17:20 -04:00
Donovan Glover
f978f00663
meta: Replace mpdris2-rs with mpdris2
...
mpdris2 seems to have much greater feature support than mpdris2-rs,
notably the inclusion of lower notification urgency by default and the
ability to start mpdris2 without it showing a stopped notification.
The biggest feature, however, is the possibility to run multiple
mpdris2 instances at the same time. This was impossible to achieve
with mpdris2-rs since it would claim that the bus was already taken.
Notably this enables much smoother usage when running mpdris2 in both
Hyprland and dwm at the same time. Combined with dunst, this enables
seamless notifications between the two environments.
2024-09-04 13:07:37 -04:00
Donovan Glover
6986f725ed
meta: Replace swaync with dunst
...
It's easier to use the same notification daemon across both X and
Wayland.
2024-09-04 00:05:56 -04:00
Donovan Glover
cda5e4d4af
dunst: Remove useless geometry setting
...
This has been deprecated for a while now.
2024-09-03 23:50:00 -04:00
Donovan Glover
0a7ac98d82
meta: Move batsignal to separate module
2024-09-03 23:35:49 -04:00
Donovan Glover
dadee6bb08
dwm: Use avizo for media keys
...
Also adds support for the microphone mute key.
2024-09-03 21:11:07 -04:00
Donovan Glover
956fbce486
meta: Switch from swayosd to avizo
...
Avizo seemingly has better support than swayosd in dwm, so this change
makes the OSD consistent across both environments.
Long-term it may be useful to figure out why swayosd would tile under
dwm and whether or not it'd be possible to fix upstream.
2024-09-03 18:44:49 -04:00
Donovan Glover
f26cbc1aec
meta: Move hyprlock / hypridle to separate modules
...
Makes it possible to use the hyprland module without using hypridle and
hyprlock.
2024-09-03 17:21:10 -04:00
Donovan Glover
85e5da19f2
kitty: Drop diff config
...
I never use kitty diff and it doesn't seem to work in Hyprland anyway
due to the following error:
> [0.215] [glfw error 65544]: process_desktop_settings:
> failed with error: [org.freedesktop.DBus.Error.UnknownMethod]
> No such interface “org.freedesktop.portal.Settings”
> on object at path /org/freedesktop/portal/desktop
2024-09-03 15:10:39 -04:00
Donovan Glover
648bdf156a
librewolf: Add Japanese search engine
2024-09-01 19:30:42 -04:00
Donovan Glover
ac84cee715
librewolf: Add showdex extension
2024-09-01 18:59:47 -04:00
Donovan Glover
2db228e009
dunst: Don't use systemd service
...
Necessary while swaync is being used for notifications in Hyprland.
2024-09-01 18:37:20 -04:00
Donovan Glover
64c5b9d38d
meta: Move dwm config to home-manager module
...
This works since the NixOS module wasn't doing anything that we were
using anyway.
2024-09-01 16:14:21 -04:00
Donovan Glover
939002e2f6
chore: Improve formatting
2024-09-01 14:12:17 -04:00
Donovan Glover
4f63c60124
fish: Start dwm on tty2
...
Makes it easier to run Hyprland and dwm simultaneously.
2024-08-31 12:17:58 -04:00
Donovan Glover
92d9ed77b0
librewolf: Configure settings at the profile level
...
Fixes an issue where New Tab Identity wasn't being loaded on first
launch of the profile due to settings not being profile-specific.
Long-term this also makes it possible to take advantage of the "Show
only modified preferences" feature, which showed our changes as the
defaults before.
2024-08-31 10:32:08 -04:00
Donovan Glover
f8806840d6
librewolf: Set network.dns.native_https_query to false
...
Fixes an issue where Firefox v129+ leaks DNS requests from the system.
Likely won't be fixed until v131 at the earliest.
2024-08-31 10:03:40 -04:00
Donovan Glover
de9f1486d7
dwm: Disable screen blanking
2024-08-31 09:59:47 -04:00
Donovan Glover
f52c98bab6
Revert "librewolf: Remove unnecessary ublock-origin package"
...
It turns out that DNS leaks were occurring from a new feature in Firefox
v129+ that uses the system's DNS in favor of the browser's DNS.
See: https://bugzilla.mozilla.org/show_bug.cgi?id=1910593
2024-08-31 07:31:45 -04:00
Donovan Glover
70c8d3f27a
librewolf: Remove unnecessary ublock-origin package
...
Not needed and seems to actually break things since it's included by
default in LibreWolf.
2024-08-31 00:18:11 -04:00
Donovan Glover
4ec9294c04
packages: Add new-tab-identity
...
This seems to work, which is great.
For some reason it wasn't being initialized properly inside the virtual
machine but it does work on actual devices.
2024-08-30 20:26:33 -04:00
Donovan Glover
0b44a17ca9
chore: Replace callPackage with flake package
...
Removes the possibility of ../paths breaking.
2024-08-30 15:19:15 -04:00
Donovan Glover
3c89c82ced
librewolf: Add redlib extension
2024-08-30 13:35:50 -04:00
Donovan Glover
b4adc570d0
meta: Replace firefox-addons with packages in flake
...
This simplifies things a bit since we're no longer relying on another
input and can add extensions not in the firefox-addons repository.
2024-08-30 13:34:00 -04:00
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
8d2a1685ec
picom: Don't use systemd service
...
No need to start picom in Hyprland.
2024-08-27 20:11:24 -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
7674c8e90e
chore: Use singleton where possible
2024-08-27 13:22:46 -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
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
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
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
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
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
f526b20a3b
fzf: Fix colors being overwritten by stylix
2024-08-24 22:08:07 -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
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
9e76605a80
chore: Improve formatting
...
Also simplifies the piccom call in .xinitrc.
2024-08-22 16:44:54 -04:00
Donovan Glover
8a3c22505e
fish: Add mullvad-init script
...
Note that long-term we can turn this into a home-manager module to make
things more declarative and automatic.
2024-08-16 15:41:57 -04:00
Donovan Glover
e8c2228e76
shell: Replace df with duf
...
Also removes du since it's easier to read the results of gdu, especially
on smaller devices like the PinePhone.
2024-08-16 12:53:36 -04:00
Donovan Glover
1cede2c75b
chore: Drop unused packages
...
Note that glib was supposedly added for mounting-related things, but
this should be possible to upstream into the derivation instead if it
hasn't been added already.
2024-08-16 12:52:25 -04:00
Donovan Glover
b513d01715
meta: Merge swaync / swayosd with hyprland module
...
Helps avoid having modules that are only a single line.
2024-08-16 02:48:41 -04:00
Donovan Glover
3475c5888c
hyprland: Drop old qt environment variables
...
- QT_AUTO_SCREEN_SCALE_FACTOR is no longer used in Qt6+
https://doc.qt.io/qt-6/highdpi.html
- QT_QPA_PLATFORM is no longer necessary since it seems like NixOS will
start Qt applications that support Wayland with it by default
https://wiki.archlinux.org/title/Anki#Wayland
- QT_WAYLAND_DISABLE_WINDOWDECORATION seems to no longer be necessary
since this should be handled by the window manager
https://www.qt.io/blog/2018/12/14/whats-new-wayland-platform-plugin-qt-5-12
2024-08-16 02:26:19 -04:00
Donovan Glover
a896ce4232
librewolf: Explicitly add ublock-origin
...
Fixes an issue where ublock origin stopped being automatically
installed.
2024-08-16 00:28:12 -04:00
Donovan Glover
d012e06731
librewolf: Only enable friendlyfox on phone
...
Fixes an issue where the user interface would break on desktop devices.
2024-08-16 00:28:04 -04:00
Donovan Glover
ffb98a9002
librewolf: Don't show urlbar popup on mobile
...
Makes browsing the web a lot nicer since you can use the URL bar without
having to worry about not being able to see the page.
2024-08-16 00:03:51 -04:00
Donovan Glover
df849b82c5
librewolf: Allow enabling extensions from system
...
Now yomitan will be enabled automatically.
2024-08-16 00:01:18 -04:00
Donovan Glover
d523816621
librewolf: Install yomitan by default
...
This works, which is great.
2024-08-15 23:41:07 -04:00
Donovan Glover
45386c2279
hyprland: Drop notify-send for connectivity keybind
...
This should be handled by something constantly checking connectivity
instead.
2024-08-15 23:15:33 -04:00
Donovan Glover
85c89ab496
meta: Move icoextract/thud to thunar module
...
This helps clarify that icoextract and thud are used with thunar
specifically.
2024-08-15 22:46:05 -04:00
Donovan Glover
44e7c6df4d
hyprland: Drop activate-linux
...
This was cute but not really useful for daily operation.
2024-08-15 22:43:48 -04:00
Donovan Glover
de7df4e114
hyprland: Drop unused mpv playerctl keybindings
...
I never ended up using these as much as I thought I would and getting
rid of them helps to simplify the code base a bit.
2024-08-15 22:40:20 -04:00
Donovan Glover
b70ba76c80
neovim: Drop tango keybinding
...
This was cool but I didn't really use it.
2024-08-15 22:31:31 -04:00
Donovan Glover
27582bfa85
hyprland: Don't use notify-send for grimblast
...
Not needed since grimblast has built-in notifications.
2024-08-15 22:28:11 -04:00
Donovan Glover
76955215b6
chore: Run nix fmt
2024-08-15 11:22:07 -04:00
Donovan Glover
f4193012f9
librewolf: Use mobile-friendly-firefox styles
...
This makes LibreWolf work well on the PinePhone without having to
manually use the FriendlyFox installation script.
Note that FriendlyFox was chosen over the mobile-config-firefox script
from postmarketOS due to FriendlyFox having less issues overall, such as
not breaking when the right click menu is long and popup menus having
altered styles for mobile support.
2024-08-13 17:17:32 -04:00
Donovan Glover
b995d2885f
librewolf: Trim https by default
...
Should make reading URLs easier on the already-limited screen size
of the PinePhone.
2024-08-13 16:28:58 -04:00
Donovan Glover
bad1a9d3c3
librewolf: Make mullvad the default search engine
...
Might add some more search engines later, but Mullvad usually produces
better results for less popular content, especially with topics such as
PinePhone troubleshooting.
2024-08-13 16:27:05 -04:00