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;};
|
||||
|
||||
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";};
|
||||
};
|
||||
|
||||
|
|
|
@ -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"] {
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue