Compare commits
1 commit
8d85e8534f
...
a9b1592a68
Author | SHA1 | Date | |
---|---|---|---|
a9b1592a68 |
2 changed files with 12 additions and 1 deletions
|
@ -1,10 +1,18 @@
|
||||||
{
|
{
|
||||||
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 = {
|
||||||
|
@ -19,6 +27,7 @@ in
|
||||||
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
|
||||||
|
@ -48,6 +57,8 @@ 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};
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,7 +38,7 @@ in
|
||||||
"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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue