Compare commits
7 commits
213e4bb68e
...
528ebb5605
Author | SHA1 | Date | |
---|---|---|---|
528ebb5605 | |||
06cf55065e | |||
1cdf9d1659 | |||
968e130f45 | |||
56b6011946 | |||
85527fd831 | |||
8f0fb577da |
5 changed files with 17 additions and 10 deletions
|
@ -39,7 +39,16 @@ in {
|
||||||
wallpaper = mkOption {default = false;};
|
wallpaper = mkOption {default = false;};
|
||||||
|
|
||||||
browser = {
|
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";};
|
desktop = mkOption {default = "google-chrome.desktop";};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,7 @@ in {
|
||||||
float_switch_override_focus = 0; # Disable float to tile hover focus
|
float_switch_override_focus = 0; # Disable float to tile hover focus
|
||||||
#// focus_on_close = 1; # Focus window under mouse
|
#// focus_on_close = 1; # Focus window under mouse
|
||||||
follow_mouse = 1; # Hover focus
|
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_delay = 300;
|
||||||
repeat_rate = 40;
|
repeat_rate = 40;
|
||||||
sensitivity = 0.5;
|
sensitivity = 0.5;
|
||||||
|
@ -261,7 +261,7 @@ in {
|
||||||
in
|
in
|
||||||
flatten [
|
flatten [
|
||||||
(devices ["compx-2.4g-receiver-mouse" "protoarc-em04"] {
|
(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"] {
|
(devices ["kensington-orbit-wireless-tb-mouse" "orbit-bt5.0-mouse"] {
|
||||||
|
|
|
@ -41,6 +41,7 @@ in {
|
||||||
#// "enamippconapkdmgfgjchkhakpfinmaj" # DeArrow
|
#// "enamippconapkdmgfgjchkhakpfinmaj" # DeArrow
|
||||||
#// "fnaicdffflnofjppbagibeoednhnbjhg" # floccus
|
#// "fnaicdffflnofjppbagibeoednhnbjhg" # floccus
|
||||||
#// "bnomihfieiccainjcjblhegjgglakjdd" # Improve YouTube
|
#// "bnomihfieiccainjcjblhegjgglakjdd" # Improve YouTube
|
||||||
|
"pnjaodmkngahhkoihejjehlcdlnohgmp" # RSS Feed Reader
|
||||||
"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock
|
"mnjggcdmjocbbbhaepdhchncahnbgone" # SponsorBlock
|
||||||
"clngdbkpkpeebahjckkjfobafhncgmne" # Stylus
|
"clngdbkpkpeebahjckkjfobafhncgmne" # Stylus
|
||||||
#// "kfidecgcdjjfpeckbblhmfkhmlgecoff" # Svelte DevTools
|
#// "kfidecgcdjjfpeckbblhmfkhmlgecoff" # Svelte DevTools
|
||||||
|
@ -291,7 +292,7 @@ in {
|
||||||
#?? https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/about_flags.cc
|
#?? https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/about_flags.cc
|
||||||
commandLineArgs = let
|
commandLineArgs = let
|
||||||
features = concatStringsSep "," [
|
features = concatStringsSep "," [
|
||||||
"OverlayScrollbar"
|
"FluentOverlayScrollbar"
|
||||||
|
|
||||||
# https://wiki.archlinux.org/title/Chromium#Touchpad_Gestures_for_Navigation
|
# https://wiki.archlinux.org/title/Chromium#Touchpad_Gestures_for_Navigation
|
||||||
"TouchpadOverscrollHistoryNavigation"
|
"TouchpadOverscrollHistoryNavigation"
|
||||||
|
|
|
@ -24,7 +24,7 @@ in {
|
||||||
fingerprint_present_message = "<span foreground='##d33682'></span>";
|
fingerprint_present_message = "<span foreground='##d33682'></span>";
|
||||||
fingerprint_ready_message = "";
|
fingerprint_ready_message = "";
|
||||||
grace = 5 * 60; # Seconds
|
grace = 5 * 60; # Seconds
|
||||||
hide_cursor = true;
|
#// hide_cursor = true;
|
||||||
ignore_empty_input = true;
|
ignore_empty_input = true;
|
||||||
no_fade_in = true; # Fix suspend interrupting animation
|
no_fade_in = true; # Fix suspend interrupting animation
|
||||||
};
|
};
|
||||||
|
|
|
@ -7,11 +7,9 @@
|
||||||
with lib; let
|
with lib; let
|
||||||
grep = "${pkgs.gnugrep}/bin/grep";
|
grep = "${pkgs.gnugrep}/bin/grep";
|
||||||
hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
|
hyprctl = "${config.programs.hyprland.package}/bin/hyprctl";
|
||||||
hyprlock = "${
|
hyprlock = "${config.home-manager.users.${config.custom.username}.programs.hyprlock.package}/bin/hyprlock";
|
||||||
config.home-manager.users.${config.custom.username}.programs.hyprlock.package
|
|
||||||
}/bin/hyprlock";
|
|
||||||
loginctl = "${pkgs.systemd}/bin/loginctl";
|
loginctl = "${pkgs.systemd}/bin/loginctl";
|
||||||
pgrep = "${pkgs.coreutils}/bin/pgrep";
|
pgrep = "${pkgs.procps}/bin/pgrep";
|
||||||
pw-cli = "${pkgs.pipewire}/bin/pw-cli";
|
pw-cli = "${pkgs.pipewire}/bin/pw-cli";
|
||||||
systemctl = "${pkgs.systemd}/bin/systemctl";
|
systemctl = "${pkgs.systemd}/bin/systemctl";
|
||||||
|
|
||||||
|
@ -43,7 +41,6 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
# FIXME: Add resume offset to mynix
|
|
||||||
timeout = 60 * 60; # Seconds
|
timeout = 60 * 60; # Seconds
|
||||||
on-timeout = "${pw-cli} info all | ${grep} running || ${systemctl} suspend-then-hibernate"; # Suspend if no audio
|
on-timeout = "${pw-cli} info all | ${grep} running || ${systemctl} suspend-then-hibernate"; # Suspend if no audio
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue