Compare commits

...

5 commits

4 changed files with 10 additions and 23 deletions

View file

@ -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

View file

@ -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 = {

View file

@ -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 = {
@ -23,11 +15,10 @@ in
dev-edition-default = {
isDefault = true;
search.force = true;
search.default = "DuckDuckGo";
search.default = "ddg";
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};
}

View file

@ -34,12 +34,13 @@ in
defaultTimeout = 10000;
extraConfig = ''
[app-name=volumesh]
default-timeout=5000
group-by=app-name
format=<b>%s</b>\n%b
'';
settings = {
"app-name=volumesh" = {
"default-timeout" = "5000";
"group-by" = "app-name";
"format" = "<b>%s</b>\\n%b";
};
};
# # {{@@ header() @@}}
# # text