Compare commits
No commits in common. "528ebb560536e531dc663ac34b5c9673cc83c2a6" and "213e4bb68e1c614002021a1522d8dc5a119f0fdc" have entirely different histories.
528ebb5605
...
213e4bb68e
5 changed files with 10 additions and 17 deletions
|
@ -39,16 +39,7 @@ in {
|
||||||
wallpaper = mkOption {default = false;};
|
wallpaper = mkOption {default = false;};
|
||||||
|
|
||||||
browser = {
|
browser = {
|
||||||
# HACK: Find first matching package in final home-manager list
|
command = mkOption {default = "${config.custom.programs.chromium.package}/bin/google-chrome-stable";};
|
||||||
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 5 10";
|
accel_profile = "custom 1 0 1 10 20";
|
||||||
})
|
})
|
||||||
|
|
||||||
(devices ["kensington-orbit-wireless-tb-mouse" "orbit-bt5.0-mouse"] {
|
(devices ["kensington-orbit-wireless-tb-mouse" "orbit-bt5.0-mouse"] {
|
||||||
|
|
|
@ -41,7 +41,6 @@ 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
|
||||||
|
@ -292,7 +291,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 "," [
|
||||||
"FluentOverlayScrollbar"
|
"OverlayScrollbar"
|
||||||
|
|
||||||
# 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,9 +7,11 @@
|
||||||
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 = "${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";
|
loginctl = "${pkgs.systemd}/bin/loginctl";
|
||||||
pgrep = "${pkgs.procps}/bin/pgrep";
|
pgrep = "${pkgs.coreutils}/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";
|
||||||
|
|
||||||
|
@ -41,6 +43,7 @@ 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