Commit Graph

3391 Commits

Author SHA1 Message Date
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
Donovan Glover
a463af3bef
flake: Update mmsd-tng from 1.12.1 to 2.6.1
Seems to fix some MMS issues.
2024-08-17 15:18:34 -04:00
Donovan Glover
47d4715d45
phone: Lower max cpu frequency to 0.816 GHz
Was crashing a bit too often with 0.912 GHz unfortunately.
2024-08-16 23:59:41 -04:00
Donovan Glover
1123ea9dad
flake: Update to phosh 0.41.0
Seems to work.
2024-08-16 23:58:16 -04:00
Donovan Glover
40aca5aff6
system: Don't inherit firefox-addons directly
Fixes an issue where firefox-addons wasn't available in the example
config.
2024-08-16 18:58:44 -04:00
Donovan Glover
88eec9d0e9
shell: Replace fastfetch with microfetch
Faster and does the job well.
2024-08-16 17:49:57 -04:00
Donovan Glover
f2d9998249
phone: Update desktop entries list 2024-08-16 17:48:45 -04:00
Donovan Glover
c51951e3de
packages: Add phosh-backgrounds
This is a sane default that works well enough.
2024-08-16 17:44:09 -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
6249d230ab
phone: Add script to record video
Note that we're using libopus and libx264 instead of flac and ffvhuff to
significantly reduce the file size and make it easier to play back the
recorded video on the PinePhone.

Note that there will be no preview while recording the video. The video
recording is also delayed a bit, so it's necessary to wait a few seconds
after you finish recording a video before pressing q to stop it.
2024-08-16 15:13:48 -04:00
Donovan Glover
d38ef7b296
system: Always allow dnsmasq ports
Simplifies things a bit.
2024-08-16 15:13:41 -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
4e2fda8b4e
shell: Prefer with pkgs; over mkMerge 2024-08-16 03:09:33 -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
ffb3460c53
fluent-icons: Decrease png resolution
512x512 isn't necessary and doesn't seem to affect eww with hidpi
anyway.
2024-08-16 02:41:38 -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
00f3365001
fluent-icons: Use lutgen transparency branch
It turns out that alternative solutions like dipc don't produce results
as good as lutgen so the compile time trade-off should be worth it.
2024-08-16 01:57:10 -04:00
Donovan Glover
a3cd945895
fluent-icons: Generate icons with nix
Unfortunately lutgen doesn't have transparency support added to its main
branch yet and there doesn't seem to be any indicator that this will
ever be added, so we'll have to use an alternative to avoid manually
compiling it.
2024-08-16 01:06:33 -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
fd35cd9db0
flake: Add rycee/firefox-addons
Makes it possible to install firefox addons with home-manager.
2024-08-15 23:36:09 -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
5f21bf0c49
phone: Don't set userDirs to null
Fixes an issue where the camera app Megapixels would silently fail since
it couldn't find the "Pictures" directory.
2024-08-15 22:18:37 -04:00
Donovan Glover
5c7a272877
system: Switch to mullvad package without gui
The GUI isn't needed anymore now that I'm able to deploy mullvad to new
phone systems without using it.
2024-08-15 21:48:01 -04:00
Donovan Glover
de6eb60ecb
system: Update from nix 2.22.3 to 2.24.2
Should enable us to take advantage of the new language features.
2024-08-15 21:35:15 -04:00
Donovan Glover
a71a6cfda4
mobile-nixos: Remove duplicate eg25-manager service
Not needed in mobile-nixos now that it has been upstreamed into
nixpkgs.
2024-08-15 21:33:49 -04:00