Compare commits

...

3 commits

3 changed files with 81 additions and 20 deletions

16
flake.lock generated
View file

@ -317,11 +317,11 @@
"quickshell": "quickshell" "quickshell": "quickshell"
}, },
"locked": { "locked": {
"lastModified": 1732561427, "lastModified": 1734786551,
"narHash": "sha256-DfaJxL3nlMRHGrU/sVJQnzgLuYzZ55gKgAJuxrH205s=", "narHash": "sha256-AlipP5iSDGUb/OBDLz2NPhaDN1znohVxFgZbcXJc1Iw=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "9aa6046cddeafa8c273570ee0a42e2f9696b06db", "rev": "4566e0d4495f5a2ebab266aefc9893478e1baf3d",
"revCount": 96, "revCount": 98,
"type": "git", "type": "git",
"url": "https://git.ccnlc.eu/nydragon/nysh.git" "url": "https://git.ccnlc.eu/nydragon/nysh.git"
}, },
@ -338,11 +338,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1732449022, "lastModified": 1734739124,
"narHash": "sha256-cqjfBI0eUZw2CyKCa/Wzywbv7+ld6yKVdyOLbh0LMrE=", "narHash": "sha256-IixrzTK4Xzc51BC+6hh0HUm/i9SXcYJaIYAN883ErzE=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "31adcaac7662d6c7fbbc901ba11e0d95f0c7fc56", "rev": "2f194b78949ccf3a8011c58f7eb39324ff936443",
"revCount": 420, "revCount": 442,
"type": "git", "type": "git",
"url": "https://git.outfoxxed.me/quickshell/quickshell" "url": "https://git.outfoxxed.me/quickshell/quickshell"
}, },

View file

@ -10,20 +10,81 @@ lib.mkIf osConfig.programs.firefox.enable {
enable = true; enable = true;
# Installed by nixpkgs module # Installed by nixpkgs module
package = null; package = null;
languagePacks = [
"de"
"en-GB"
"fr"
];
profiles.${config.home.username} = { profiles.${config.home.username} = {
name = config.home.username; name = config.home.username;
isDefault = true; isDefault = true;
userChrome = '' userContent = # css
/* Hides the native tabs */ ''
#TabsToolbar { // Sidebery
visibility: collapse; @-moz-document url("moz-extension://d1d9847c-2bad-429f-9366-56db49b8c3d6/sidebar/sidebar.html")
} {
/* Fixed width for the sidebar */ #root {
#sidebar-box { --tabs-indent: 0px !important;
max-width: 17.5% !important; }
min-width: 17.5% !important;
} #root:hover {
''; --tabs-indent: 30px !important;
}
}
'';
userChrome = # css
''
/* Hides the native tabs, sidebar header and splitter */
#TabsToolbar,
#sidebar-splitter,
#sidebar-header {
display: none;
}
#sidebar-box {
--sidebar-normal-width: 35px;
--sidebar-hovered-width: 300px;
--sidebar-transition-speed: 200ms;
--sidebar-collapse-delay: 300ms;
--sidebar-transition-type: linear;
--browser-area-z-index-sidebar: 3;
position: relative;
min-width: var(--sidebar-normal-width) !important;
width: var(--sidebar-normal-width) !important;
max-width: var(--sidebar-normal-width) !important;
z-index: var(--browser-area-z-index-sidebar);
}
#sidebar-box[positionend] {
direction: rtl;
}
#sidebar-box[positionend] > * {
direction: ltr;
}
#sidebar-box[positionend]:-moz-locale-dir(rtl) {
direction: ltr;
}
#sidebar-box[positionend]:-moz-locale-dir(rtl) > * {
direction: rtl;
}
#main-window[sizemode="fullscreen"] #sidebar-box {
--sidebar-normal-width: 1px;
}
#sidebar {
transition: min-width var(--sidebar-transition-speed)
var(--sidebar-transition-type) var(--sidebar-collapse-delay) !important;
min-width: var(--sidebar-normal-width) !important;
will-change: min-width;
}
#sidebar-box:hover > #sidebar {
min-width: var(--sidebar-hovered-width) !important;
transition-delay: 20ms !important;
}
'';
search = { search = {
default = "DuckDuckGo"; default = "DuckDuckGo";
force = true; force = true;

View file

@ -57,7 +57,7 @@ in
systemTray = mkOption { systemTray = mkOption {
type = bool; type = bool;
default = true; default = config.modules.system.roles.desktop.enable;
description = "Display a system tray icon to interact with tailscale."; description = "Display a system tray icon to interact with tailscale.";
}; };
}; };