From 9ef31a089740c5aa5848aa8a8158e772177374c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 24 May 2025 01:09:54 -0300 Subject: [PATCH 1/5] 25.05: fix defaultLocale string --- system/locale.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/locale.nix b/system/locale.nix index 07e7175..e2c7e81 100644 --- a/system/locale.nix +++ b/system/locale.nix @@ -2,7 +2,7 @@ { time.timeZone = "America/Sao_Paulo"; environment.variables.TZ = config.time.timeZone; - i18n.defaultLocale = "pt_BR.utf8"; + i18n.defaultLocale = "pt_BR.UTF-8"; # Configure keymap in X11 services.xserver.xkb = { From a7dd18adda87d32ba876b856eda41b75da694d37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 24 May 2025 01:10:18 -0300 Subject: [PATCH 2/5] 25.05: j4-dmenu-desktop use '--i3-ipc' flag --- scripts/bmenu | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/bmenu b/scripts/bmenu index c793269..8abad08 100755 --- a/scripts/bmenu +++ b/scripts/bmenu @@ -8,13 +8,10 @@ if test "$argv[1]" = "run" test -n "$argv[2]" && set t "$argv[2]" || set t "terminal" - test -n "$i3SOCK" && set wrapper 'i3-msg exec --' - test -n "$SWAYSOCK" && set wrapper 'swaymsg exec --' - exec j4-dmenu-desktop \ --dmenu="bmenu start -p Iniciar:" \ --term "$t" \ - --wrapper="$wrapper" \ + --i3-ipc \ --no-generic end From ea75389c16a011b1f07e481d2b989dc2df20cbfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 24 May 2025 01:11:08 -0300 Subject: [PATCH 3/5] 25.05: fix firefox search engine names --- user/firefox.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/firefox.nix b/user/firefox.nix index 29d7f07..3e5c9df 100644 --- a/user/firefox.nix +++ b/user/firefox.nix @@ -23,7 +23,7 @@ in dev-edition-default = { isDefault = true; search.force = true; - search.default = "DuckDuckGo"; + search.default = "ddg"; settings = { "devtools.theme" = "auto"; "toolkit.legacyUserProfileCustomizations.stylesheets" = true; From f72f1af482a817231999e174809df2c23bbfb0ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 24 May 2025 01:11:26 -0300 Subject: [PATCH 4/5] 25.05: mako use settings instead of extraConfig --- user/sway/mako.nix | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/user/sway/mako.nix b/user/sway/mako.nix index af6c673..28b5eb4 100644 --- a/user/sway/mako.nix +++ b/user/sway/mako.nix @@ -34,12 +34,13 @@ in defaultTimeout = 10000; - extraConfig = '' - [app-name=volumesh] - default-timeout=5000 - group-by=app-name - format=%s\n%b - ''; + settings = { + "app-name=volumesh" = { + "default-timeout" = "5000"; + "group-by" = "app-name"; + "format" = "%s\\n%b"; + }; + }; # # {{@@ header() @@}} # # text From 8d85e8534f509f57952c3e75029877ce4b2eb8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sat, 24 May 2025 01:46:00 -0300 Subject: [PATCH 5/5] firefox: remove unused config --- user/firefox.nix | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/user/firefox.nix b/user/firefox.nix index 3e5c9df..1c891ae 100644 --- a/user/firefox.nix +++ b/user/firefox.nix @@ -1,18 +1,10 @@ { config, pkgs, - lib, ... }: let - inherit (config.my) desktop; inherit (config.my.theme) color; - - swayCustomization = '' - #titlebar { display: none !important; } - #TabsToolbar { display: none !important; } - #sidebar-header { display: none !important; } - ''; in { config = { @@ -27,7 +19,6 @@ in settings = { "devtools.theme" = "auto"; "toolkit.legacyUserProfileCustomizations.stylesheets" = true; - "browser.tabs.inTitlebar" = if desktop == "sway" then 0 else 1; "sidebar.position_start" = false; # Move sidebar to the right # enable media RDD to allow gpu acceleration @@ -57,8 +48,6 @@ in "devtools.debugger.remote-enabled" = true; }; userChrome = '' - ${lib.optionalString (desktop == "sway") swayCustomization} - #sidebar-main { background-color: ${color.bg}; }