Compare commits
5 commits
a4b900582a
...
8d85e8534f
Author | SHA1 | Date | |
---|---|---|---|
8d85e8534f | |||
f72f1af482 | |||
ea75389c16 | |||
a7dd18adda | |||
9ef31a0897 |
4 changed files with 10 additions and 23 deletions
|
@ -8,13 +8,10 @@
|
||||||
if test "$argv[1]" = "run"
|
if test "$argv[1]" = "run"
|
||||||
test -n "$argv[2]" && set t "$argv[2]" || set t "terminal"
|
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 \
|
exec j4-dmenu-desktop \
|
||||||
--dmenu="bmenu start -p Iniciar:" \
|
--dmenu="bmenu start -p Iniciar:" \
|
||||||
--term "$t" \
|
--term "$t" \
|
||||||
--wrapper="$wrapper" \
|
--i3-ipc \
|
||||||
--no-generic
|
--no-generic
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
time.timeZone = "America/Sao_Paulo";
|
time.timeZone = "America/Sao_Paulo";
|
||||||
environment.variables.TZ = config.time.timeZone;
|
environment.variables.TZ = config.time.timeZone;
|
||||||
i18n.defaultLocale = "pt_BR.utf8";
|
i18n.defaultLocale = "pt_BR.UTF-8";
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
services.xserver.xkb = {
|
services.xserver.xkb = {
|
||||||
|
|
|
@ -1,18 +1,10 @@
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
inherit (config.my) desktop;
|
|
||||||
inherit (config.my.theme) color;
|
inherit (config.my.theme) color;
|
||||||
|
|
||||||
swayCustomization = ''
|
|
||||||
#titlebar { display: none !important; }
|
|
||||||
#TabsToolbar { display: none !important; }
|
|
||||||
#sidebar-header { display: none !important; }
|
|
||||||
'';
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
@ -23,11 +15,10 @@ in
|
||||||
dev-edition-default = {
|
dev-edition-default = {
|
||||||
isDefault = true;
|
isDefault = true;
|
||||||
search.force = true;
|
search.force = true;
|
||||||
search.default = "DuckDuckGo";
|
search.default = "ddg";
|
||||||
settings = {
|
settings = {
|
||||||
"devtools.theme" = "auto";
|
"devtools.theme" = "auto";
|
||||||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
"browser.tabs.inTitlebar" = if desktop == "sway" then 0 else 1;
|
|
||||||
"sidebar.position_start" = false; # Move sidebar to the right
|
"sidebar.position_start" = false; # Move sidebar to the right
|
||||||
|
|
||||||
# enable media RDD to allow gpu acceleration
|
# enable media RDD to allow gpu acceleration
|
||||||
|
@ -57,8 +48,6 @@ in
|
||||||
"devtools.debugger.remote-enabled" = true;
|
"devtools.debugger.remote-enabled" = true;
|
||||||
};
|
};
|
||||||
userChrome = ''
|
userChrome = ''
|
||||||
${lib.optionalString (desktop == "sway") swayCustomization}
|
|
||||||
|
|
||||||
#sidebar-main {
|
#sidebar-main {
|
||||||
background-color: ${color.bg};
|
background-color: ${color.bg};
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,12 +34,13 @@ in
|
||||||
|
|
||||||
defaultTimeout = 10000;
|
defaultTimeout = 10000;
|
||||||
|
|
||||||
extraConfig = ''
|
settings = {
|
||||||
[app-name=volumesh]
|
"app-name=volumesh" = {
|
||||||
default-timeout=5000
|
"default-timeout" = "5000";
|
||||||
group-by=app-name
|
"group-by" = "app-name";
|
||||||
format=<b>%s</b>\n%b
|
"format" = "<b>%s</b>\\n%b";
|
||||||
'';
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# # {{@@ header() @@}}
|
# # {{@@ header() @@}}
|
||||||
# # text
|
# # text
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue