Commit Graph

805 Commits

Author SHA1 Message Date
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
Donovan Glover
4180bd90d2
fish: Drop deno abbreviations
I don't use deno enough to justify having separate abbreviations for it,
and I doubt I will anytime soon due to the vastly superior ecosystem of
npm. Just as an example, `deno task` autocomplete support isn't
implemented, whereas `npm run` does have autocomplete.
2024-08-11 15:21:54 -04:00
Donovan Glover
a4199be9c0
editorconfig: Drop unused file type settings
The rust editorconfig isn't necessary, and I don't edit the other file
types anymore.
2024-08-11 14:58:05 -04:00
Donovan Glover
57aa315b21
tmux: Remove unused bindings
The default keybindings should be preferred so it's easier to use tmux
on other machines.
2024-08-11 14:36:29 -04:00
Donovan Glover
69917c5f99
qutebrowser: Drop unused qute-pass / mpv bindings
These didn't work anyway due to forgetting to remove the ') at the end
of the strings previously.
2024-08-11 14:32:49 -04:00
Donovan Glover
818f1f559d
meta: Move alacritty config to phone
I only use alacritty on the phone due to the superior touch support.
Touch support might be added to kitty later if someone is willing to
patch it. See: https://github.com/kovidgoyal/kitty/issues/5432
2024-08-11 14:08:23 -04:00
Donovan Glover
2ed939b083
meta: Replace zellij with tmux
Now that tmux works again, it makes sense to choose it over zellij due
to the vastly superior community support around it. Using tmux-256color
makes colors work properly in programs like htop, and neovim benefits
from squiggly lines and italics from kitty as well.
2024-08-11 13:54:32 -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
6d47500cdc
librewolf: Drop removed activity cursor setting
This was unfortunately removed from upstream Firefox in [1] likely from
some sort of cleanup campaign on old code. There are no plans to
introduce it back based on [2], so we'll have to live without it.

[1]: https://bugzilla.mozilla.org/show_bug.cgi?id=1848896
[2]: https://bugzilla.mozilla.org/show_bug.cgi?id=1858801
2024-08-10 19:55:42 -04:00
Donovan Glover
84e38fc2b1
neovim: Drop chameleon.nvim
Not interested in dealing with fixing the nixf-tidy issue here which
would cause a massive formatting diff with nixfmt-rfc-style. Might
upstream later or find a better solution without chameleon.nvim.
2024-08-09 19:52:32 -04:00
Donovan Glover
03b91edd4f
neovim: Make folded background transparent
Now zM is a lot prettier to use.
2024-08-09 18:09:28 -04:00
Donovan Glover
0286b818de
neovim: Drop pug / ecr
There really isn't a reason to use pug or ecr in 2024 when the
development experience with JSX/TSX is so great, and sticking to
what's popular makes it easier for other people to contribute.
2024-08-09 13:39:07 -04:00
Donovan Glover
92851019c8
neovim: Drop vue
I haven't used Vue in years and have much more expertise in vanilla
JavaScript/TypeScript with React and JSX/TSX, so there's really no
reason for me to keep it here.
2024-08-09 13:36:20 -04:00
Donovan Glover
da29bcbf4d
neovim: Remove unnecessary comments
The built-in help and https://neovim.io/doc/user/options.html can be
used instead if an option isn't known at read time.
2024-08-09 11:13:31 -04:00
Donovan Glover
19bb580cb0
neovim: Remove useless softtabstop option
0 is already the default.
2024-08-09 11:10:42 -04:00
Donovan Glover
a73678b2a8
git: Prune deleted branches by default
Avoids unnecessary overhead when dealing with lots of branches.
2024-08-08 22:46:52 -04:00
Donovan Glover
6e5c2c606b
xdg: Only hide desktop icons on phone
It turns out that doing this breaks thunar and possibly some other
stuff, so we'll only hide them on the PinePhone with Phosh.
2024-08-08 22:03:39 -04:00
Donovan Glover
f82b999542
neovim: Drop remaining crystal support
As much as I love reading the Crystal programming language, it's clear
that there are more opportunities to be had with prioritizing Rust
instead. The ecosystem for Rust is vastly superior with higher quality
libraries and an LSP that's actually feature-complete, and I'd rather
deal with the known problems I'm aware of with Rust than the problems
I'm aware of with Crystal.

Rust won. Joking aside, the ecosystem for Rust is vastly superior, even
if the language is more difficult.
2024-08-08 20:53:03 -04:00
Donovan Glover
87adeff650
neovim: Drop unused language servers
Prioritizing Nix / Rust / TypeScript.
2024-08-08 17:48:12 -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
b3f5c61625
xdg: Prefer hidden over noDisplay for desktop entries
Prevents the desktop entry from showing in applications like Thunar.
Long-term this isn't a viable solution since it prevents the hidden
applications from being used by Thunar.
2024-08-07 14:50:34 -04:00
Donovan Glover
da1ade1e6f
chore: Replace ncmpcpp with rmpc
Now with album art support.
2024-08-04 17:54:34 -04:00
Donovan Glover
8f15d851ad
ironbar: Sleep before getting volume
Fixes a race condition where the volume didn't show in time.
2024-08-03 19:50:31 -04:00
Donovan Glover
14f65a9633
home: Format with nixfmt-rfc-style 2024-08-03 14:22:47 -04:00
Donovan Glover
d963032159
treewide(stylix): Use withHashtag where possible 2024-08-03 13:28:03 -04:00
Donovan Glover
24e1e92ece
Revert "hyprland: Theme Qt applications with stylix update"
Now back to kvantum since the stylix update had issues.
2024-08-03 12:56:10 -04:00
Donovan Glover
55fbafa129
meta: Move base16-nvim config into stylix 2024-08-03 12:17:40 -04:00
Donovan Glover
f73e302f2e
chore: Fix nixd / statix errors
I'm okay with editing hardware-configuration.nix now that I understand
how it works.
2024-08-03 01:52:47 -04:00
Donovan Glover
a9d6dee463
neovim(nix): Switch language server from nil to nixd
nixd seems to be much better than the last time I tried it.
2024-08-02 21:10:57 -04:00
Donovan Glover
ca52770815
neovim: Add chameleon.nvim for kitty support
Makes it possible to change color schemes in neovim and have the color
of padding from kitty change as well.
2024-08-02 21:07:46 -04:00
Donovan Glover
71bcb6fdcf
meta: Use wl-clipboard-rs on phone
Makes it easier to take screenshots since Phosh doesn't support
automatically saving screenshots by default.
2024-08-01 16:26:11 -04:00
Donovan Glover
e86918ac23
Revert "kitty: Use notify-send for long tasks"
Some TUIs actually use F1 and this causes them to break.
2024-07-30 15:41:20 -04:00
Donovan Glover
d938459ef7
meta: Drop ncmpcpp
Replaced in favor of rmpc, which has support for smaller screen sizes
and therefore works on the PinePhone.
2024-07-28 21:21:13 -04:00
Donovan Glover
e9d5b6cd03
packages: Drop mpc-cli
Not needed anymore now that we're using rmpc.
2024-07-28 21:18:27 -04:00
Donovan Glover
5806fd96cf
chore: Drop unused packages
- kanjidraw: Online alternatives with radicals etc. are better
- dmenu-wayland: Breaks with multiple monitors
- obs: Easier to use wf-recorder
- wallust: Easier to use stylix
2024-07-25 16:55:10 -04:00
Donovan Glover
528809b307
xdg: Remove unused desktop icons
This also simplifies the process a bit.
2024-07-25 16:12:35 -04:00
Donovan Glover
6b7c52289c
Reapply "xdg: Hide desktop entries with home-manager"
This is actually useful to create a minimal phone configuration and we
can optimize this further.
2024-07-25 15:30:01 -04:00
Donovan Glover
646aeadbc0
hyprland: Theme Qt applications with stylix update
Kvantum is no longer necessary, which results in a more KDE-like
experience when it comes to the themed applications.
2024-07-24 16:40:02 -04:00
Donovan Glover
288c132afa
hyprland: Drop tessen
Was a bit too buggy with the auto-typing, so I'd rather just copy
straight from the terminal instead.
2024-07-24 16:10:02 -04:00
Donovan Glover
2eca315010
rofi: Make launcher possible to exit with middle click
Now opening an application is no longer necessary if you only have
access to a mouse.
2024-07-23 17:49:42 -04:00
Donovan Glover
f32213f896
mpd: Fix audio output being incorrectly detected as alsa
This fixes an issue where previously one would have to pause and play
audio tracks in order for them to play properly.

Upstream issue: https://github.com/MusicPlayerDaemon/MPD/issues/1649
2024-07-22 20:54:58 -04:00
Donovan Glover
a364b76da2
Revert "ironbar: Add attempt at using volume module"
The volume module currently has a bug that causes audio output to stop
working when plugging in new devices.

Upstream issue: https://github.com/JakeStanger/ironbar/issues/673
2024-07-22 13:55:12 -04:00
Donovan Glover
eec082cb01
meta: Include libnotify at the hyprland level
Not really needed inside the swaync module.
2024-07-22 13:06:31 -04:00
Donovan Glover
790a7a59fe
ironbar: Add notifications module
This seems to work good enough for now, but the icon won't be
immediately updated.
2024-07-21 17:08:26 -04:00
Donovan Glover
18e04d894f
librewolf: Enable userChrome.css customization
Necessary for Mobile-Friendly-Firefox styles to be applied on the
PinePhone.
2024-07-21 13:54:18 -04:00
Donovan Glover
d2fe48e8d2
chromium: Set webrtc-ip-handling-policy to public interface
Seems to fix an issue where WebRTC was previously broken in
ungoogled-chromium. Note that `default_public_interface_only`
is used instead of `default` to prevent local IP address leaks.
2024-07-21 13:54:18 -04:00
Donovan Glover
e959cd52ea
ironbar: Change primary color to new stylix one
This changes the primary color from orange to blue.
2024-07-20 11:40:52 -04:00
Donovan Glover
f3037ae4b8
hyprland: Shorten window rules 2024-07-20 11:38:22 -04:00
Donovan Glover
942f626000
hyprland: Remove old mouse bind keybinds
This wasn't that reproducible since the keybinds were set with piper so
I'd rather not have it in the config.
2024-07-19 15:46:44 -04:00
Donovan Glover
6a345009f6
chore: Fix formatting 2024-07-19 11:04:11 -04:00
Donovan Glover
c27a257adc
eww: Increase opacity of time overlay 2024-07-18 21:54:54 -04:00
Donovan Glover
8f45534128
hyprland: Float mullvad browser by default
Floating by default is necessary so the browser is initialized with
the correct window size.
2024-07-18 21:26:23 -04:00
Donovan Glover
7bb8aa9674
eww: Replace hard-coded color values with stylix ones 2024-07-18 19:53:07 -04:00
Donovan Glover
838dedede9
ironbar: Drop tray for now
Currently the tray shows duplicate icons and crashes when Mullvad VPN is
started, making it less than ideal for daily use.
2024-07-18 13:33:05 -04:00
Donovan Glover
787dda981b
Reapply "meta: Replace dunst with swaync"
Might be able to use swaync after all if I avoid using the mpris module
with it. This has the advantage of being supported by ironbar, which
would make missing notifications less likely.
2024-07-18 13:30:20 -04:00
Donovan Glover
40c7b04a9a
chore: Clean up language specifiers
- Removed useless /* bash */ specifier
- Used new hyprlang specifier for Hyprland
- Removed or replaced old /* config */ specifiers
2024-07-18 11:00:34 -04:00
Donovan Glover
c6707b2429
neovim: Drop base16-nvim version override
Color differences seem to be fixed now, possibly because of neovim
v0.10.0.
2024-07-17 19:47:26 -04:00
Donovan Glover
9368bdc58a
ironbar: Fix volume sliders not showing properly
Now it's possible to actually see the volume sliders.
2024-07-17 18:50:51 -04:00
Donovan Glover
2e721b1cdf
ironbar: Add back volume popup
The on-click was extremely buggy so the popup should be preferred where
possible.
2024-07-17 18:49:52 -04:00
Donovan Glover
d7bc4375d8
home: Add alacritty config
Alacritty has vastly superior touch support compared to kitty, which
doesn't feature touch support at all. The simplicity of Alacritty also
makes it faster and overall cleaner to use than GNOME Console (kgx).
2024-07-17 07:46:58 -04:00
Donovan Glover
bd29ae2517
git: Remove useless browser specifier
This *shouldn't* have changed anything anyway since `man git-web--browse`
suggests that only a subset of browsers are supported anyway, which
doesn't include librewolf.
2024-07-17 07:17:14 -04:00
Donovan Glover
99db650782
kitty: Remove useless browser specifier
Should make the config more portable by not explicitly declaring
librewolf here.
2024-07-17 07:15:58 -04:00
Donovan Glover
a2f21d1eca
chore: Update to latest nixos-unstable release
Seems to work so far and comes with the icoextract fix and the walker
update.
2024-07-15 20:28:44 -04:00
Donovan Glover
b3cfdaab9a
ironbar: Add attempt at using volume module
This was my attempt at using the volume module, however I'd rather not
have to deal with using the small sliders that are extremely difficult
to see with the GTK theme I'm using.

I tried changing the colors with color, background, and border-color,
however I wasn't able to achieve the appearance I wanted, and disabling
the built-in popup results in a buggy left-clicking experience.
2024-07-15 19:45:44 -04:00
Donovan Glover
b5fff96a91
ironbar: Don't show battery status if no battery 2024-07-15 18:27:51 -04:00
Donovan Glover
8abb714021
hyprland: Use new seasonal backgrounds
It's that time of year again.
2024-07-15 18:24:29 -04:00
Donovan Glover
3a8f3bcd32
ironbar: Let mullvad handle notifications
Simplifies things a bit.
2024-07-15 18:13:12 -04:00
Donovan Glover
61b5a5dd31
home-manager: Add chromium config
Fixes issues encountered with xwayland + ironbar and fcitx5 not
working with the wayland version.

See: https://wiki.archlinux.org/title/Chromium#Native_Wayland_support
2024-07-15 17:02:38 -04:00
Donovan Glover
b877855580
dual-function-keys: Prefer media keys over Super+F1/F2
Should make these keys easier to use and understand.
2024-07-15 17:02:18 -04:00
Donovan Glover
986df40078
hyprland: Remove touch-specific stuff
Will stop trying to make Hyprland work on mobile devices due to all the
issues with it for now.

For future reference, some issues include:

- Touch events not registering as touches, thus breaking applications
  that have touch support like LibreWolf with FriendlyFox.
- OSK support in general being not there yet with the best keyboard
  Squeekboard not working and wvkbd not being comfy enough to use.
- Screen size in general being small already so having multiple apps
  side-by-side is mostly useless, especially when the OSK interferes
  with this as well.
2024-07-15 12:08:47 -04:00
Donovan Glover
a772d0e164
hyprland: Attempt to use hide on touch feature
This worked but broke when changing the display from e.g. 200% scaling
to 100% scaling. Since being able to easily change the scaling of
Hyprland was one of the main reasons I wanted to try Hyprland over
Phosh, I don't really have a use case for Hyprland on touch devices at
this moment, especially with all the drawbacks of using it on such a
small screen and without hardware acceleration.
2024-07-15 11:52:45 -04:00
Donovan Glover
6d9149dbab
Revert "hyprland: Add attempt at using hyprscroller" 2024-07-14 16:32:42 -04:00
Donovan Glover
c105eda0b6
hyprland: Add attempt at using hyprscroller
Note that this wasn't actually that useful on the pinephone due to
how overview mode is handled and how windows are shown in general.
2024-07-14 16:31:21 -04:00
Donovan Glover
85616db318
Reapply "hyprland: Add attempt at using wvkbd" 2024-07-14 14:26:15 -04:00
Donovan Glover
8d73151486
Revert "hyprland: Add attempt at using wvkbd"
Not sure why this doesn't work anymore but I'd rather use Squeekboard if
I can simply due to it being a lot more convenient to type on.
2024-07-14 09:52:36 -04:00
Donovan Glover
1a1280c287
hyprland: Add attempt at using wvkbd
Squeekboard was misbehaving so I thought I'd have better luck with
wvkbd, but it turns out that this isn't the case. For some reason,
nothing can be typed at all which is even worse than Squeekboard.
2024-07-14 09:49:32 -04:00
Donovan Glover
f16aa7ecd1
hyprland: Add initial touch support with hyprgrass
This seems to work and should help us replace phosh with hyprland
long-term.
2024-07-14 09:30:13 -04:00
Donovan Glover
9a3c1976ab
Revert "xdg: Hide desktop entries with home-manager"
As alluded to previously I'd rather whitelist applications that show in
a launcher than exclude them.
2024-07-14 09:22:18 -04:00
Donovan Glover
15dbd547d2
xdg: Hide desktop entries with home-manager
This commit is mainly for documenting purposes since I'd rather not
have to maintain a list of desktop entries to exclude.
2024-07-14 09:20:59 -04:00
Donovan Glover
b58ff821d6
ironbar: Increase sleep time before fetch
Fixes a race condition where the location would show up as
disconnected.
2024-07-14 09:19:23 -04:00
Donovan Glover
2f5cd4c0db
chore: Update to latest nixos-unstable release
Note that icoextract has been removed for the time being since I
accidentally broke it in a nixpkgs PR.
2024-07-14 09:18:33 -04:00
Donovan Glover
c784a8122f
hyprland: Simplify mpv commands 2024-07-12 12:42:38 -04:00
Donovan Glover
1b49b750ba
hyprland: Add batsignal for battery notification 2024-07-11 19:32:32 -04:00
Donovan Glover
d9222585a5
Revert "meta: Replace dunst with swaync"
Unfortunately swaync appears to *significantly* slow down the boot
process, so sticking with dunst ensures that everything works properly.
2024-07-11 18:47:19 -04:00
Donovan Glover
4bd63595a3
hyprland: Drop hyprspace for now
The less code the easier it is to maintain.
2024-07-11 18:28:48 -04:00
Donovan Glover
d09172cc8b
hyprland: Fix invalid dispatcher on startup from plugin
This works strangely enough.
2024-07-11 18:04:03 -04:00
Donovan Glover
8fb63f0712
meta: Replace ncmpcpp song change script with mpdris2-rs
This greatly simplifies the config and enables the usage of song change
notifications outside of ncmpcpp.
2024-07-11 07:58:16 -04:00
Donovan Glover
e4c968bf75
meta: Replace custom scripts with swayosd
No idea why I didn't do this before but this significantly simplifies
things and makes the experience nicer overall.
2024-07-10 22:28:46 -04:00
Donovan Glover
0879043b17
meta: Replace dunst with swaync
Seems to work so far and should let us have a cooler way to access the
notification history.
2024-07-10 22:14:27 -04:00
Donovan Glover
c348eb69d7
Revert "zathura: Fix opaque highlight color"
Shouldn't be needed anymore now that we're using the latest stylix
commit. Note that I don't care enough about this to use 0.3 highlight
transparency instead of 0.5.
2024-07-10 00:12:14 -04:00
Donovan Glover
219e5d1b0b
hypridle: Use minimum screen brightness
Prevents the screen from increasing in brightness when the original
value is lower.
2024-07-08 14:08:08 -04:00
Donovan Glover
837b37d834
hyprland: Add script to toggle internal laptop display
The auto-left ensures that the external monitor is always on the right.
2024-07-08 11:25:15 -04:00
Donovan Glover
44a2f7e995
hyprland: Use monitor on right with high refresh rate
Fixes two distinct issues: One where the monitor positions would
previously get mixed up and one where high refresh rate wasn't the
default.
2024-07-08 10:38:25 -04:00
Donovan Glover
a9d96a06d9
hyprland: Migrate gaps script from bash to fish
Makes the code base more consistent when everything is written in one
shell language.
2024-07-07 13:19:58 -04:00
Donovan Glover
375d85cd76
hypridle: Disable laptop keyboard backlight on dim
Also restores the previous state when resuming activity.
2024-07-07 11:00:58 -04:00
Donovan Glover
aa61279c71
hyprland: Add notification on wifi toggle 2024-07-07 10:45:33 -04:00
Donovan Glover
552d2a1956
ironbar: Sleep before fetching mullvad location
Fixes an issue where mullvad would report the device as offline before
connecting to a server. Only happens in newer versions of nixxpkgs.
2024-07-07 10:12:43 -04:00
Donovan Glover
92fec28699
hyprland: Add base Super+Tab support with Hyprspace
This seems to be more useful than hycov and hyprexpo for hyprnome
workflows.
2024-07-07 08:49:24 -04:00
Donovan Glover
aa0ee9330c
neovim: Fix capital scheme names breaking base16-nvim 2024-07-06 17:57:10 -04:00
Donovan Glover
06d3abf811
nvd: Exclude neovim treesitter grammars from diff 2024-07-06 11:48:20 -04:00
Donovan Glover
8d676a7b58
chore: Update to latest nixos-unstable release 2024-07-06 11:38:21 -04:00