1
1
Fork 0

Compare commits

...

7 commits

Author SHA1 Message Date
528ebb5605
hypridle: fix pgrep path
Signed-off-by: Myned <dev@bjork.tech>
2024-12-22 07:15:58 -05:00
06cf55065e
hyprlock: enable cursor
Signed-off-by: Myned <dev@bjork.tech>
2024-12-22 07:15:39 -05:00
1cdf9d1659
chromium: use fluent overlay scrollbars
Signed-off-by: Myned <dev@bjork.tech>
2024-12-22 07:15:00 -05:00
968e130f45
chromium: add rss extension
Signed-off-by: Myned <dev@bjork.tech>
2024-12-22 07:14:46 -05:00
56b6011946
hyprland: modify device sensitivity
Signed-off-by: Myned <dev@bjork.tech>
2024-12-22 07:14:26 -05:00
85527fd831
hyprland: enable mouse refocus
Signed-off-by: Myned <dev@bjork.tech>
2024-12-22 07:14:11 -05:00
8f0fb577da
chromium: fix option not using final package
Signed-off-by: Myned <dev@bjork.tech>
2024-12-22 07:13:48 -05:00
5 changed files with 17 additions and 10 deletions

View file

@ -39,7 +39,16 @@ in {
wallpaper = mkOption {default = false;};
browser = {
command = mkOption {default = "${config.custom.programs.chromium.package}/bin/google-chrome-stable";};
# HACK: Find first matching package in final home-manager list
command = mkOption {
default = "${lib.findFirst (pkg:
if (lib.hasAttr "pname" pkg)
then pkg.pname == "google-chrome"
else false)
null
config.home-manager.users.${config.custom.username}.home.packages}/bin/google-chrome-stable";
};
desktop = mkOption {default = "google-chrome.desktop";};
};

View file

@ -209,7 +209,7 @@ in {
float_switch_override_focus = 0; # Disable float to tile hover focus
#// focus_on_close = 1; # Focus window under mouse
follow_mouse = 1; # Hover focus
mouse_refocus = false; # Required to focus last window on close
#// mouse_refocus = false; # Required to focus last window on close
repeat_delay = 300;
repeat_rate = 40;
sensitivity = 0.5;
@ -261,7 +261,7 @@ in {
in
flatten [
(devices ["compx-2.4g-receiver-mouse" "protoarc-em04"] {
accel_profile = "custom 1 0 1 10 20";
accel_profile = "custom 1 0 1 5 10";
})
(devices ["kensington-orbit-wireless-tb-mouse" "orbit-bt5.0-mouse"] {

View file

@ -41,6 +41,7 @@ in {
#// "enamippconapkdmgfgjchkhakpfinmaj" # DeArrow
#// "fnaicdffflnofjppbagibeoednhnbjhg" # floccus
#// "bnomihfieiccainjcjblhegjgglakjdd" # Improve YouTube
"pnjaodmkngahhkoihejjehlcdlnohgmp" # RSS Feed Reader
"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock
"clngdbkpkpeebahjckkjfobafhncgmne" # Stylus
#// "kfidecgcdjjfpeckbblhmfkhmlgecoff" # Svelte DevTools
@ -291,7 +292,7 @@ in {
#?? https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/about_flags.cc
commandLineArgs = let
features = concatStringsSep "," [
"OverlayScrollbar"
"FluentOverlayScrollbar"
# https://wiki.archlinux.org/title/Chromium#Touchpad_Gestures_for_Navigation
"TouchpadOverscrollHistoryNavigation"

View file

@ -24,7 +24,7 @@ in {
fingerprint_present_message = "<span foreground='##d33682'>󰈷</span>";
fingerprint_ready_message = "󰈷";
grace = 5 * 60; # Seconds
hide_cursor = true;
#// hide_cursor = true;
ignore_empty_input = true;
no_fade_in = true; # Fix suspend interrupting animation
};

View file

@ -7,11 +7,9 @@
with lib; let
grep = "${pkgs.gnugrep}/bin/grep";
hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
hyprlock = "${
config.home-manager.users.${config.custom.username}.programs.hyprlock.package
}/bin/hyprlock";
hyprlock = "${config.home-manager.users.${config.custom.username}.programs.hyprlock.package}/bin/hyprlock";
loginctl = "${pkgs.systemd}/bin/loginctl";
pgrep = "${pkgs.coreutils}/bin/pgrep";
pgrep = "${pkgs.procps}/bin/pgrep";
pw-cli = "${pkgs.pipewire}/bin/pw-cli";
systemctl = "${pkgs.systemd}/bin/systemctl";
@ -43,7 +41,6 @@ in {
}
{
# FIXME: Add resume offset to mynix
timeout = 60 * 60; # Seconds
on-timeout = "${pw-cli} info all | ${grep} running || ${systemctl} suspend-then-hibernate"; # Suspend if no audio
}