Compare commits
6 Commits
b8f28a6277
...
8da1baea93
| Author | SHA1 | Date | |
|---|---|---|---|
| 8da1baea93 | |||
| 75d5fc850e | |||
| 283f6cd29f | |||
| d3d9371e71 | |||
| eec7fe5808 | |||
| 683ceefae3 |
@@ -16,7 +16,7 @@
|
||||
];
|
||||
|
||||
workspace = [
|
||||
"special:youtube, on-created-empty:uwsm app -- env TRIDACTYL_NEWTAB=https://youtube.com firefox -P YouTube --name youtube"
|
||||
"special:youtube, on-created-empty:uwsm app -- firefox -P YouTube --name youtube"
|
||||
];
|
||||
|
||||
windowrulev2 = [
|
||||
@@ -39,8 +39,8 @@
|
||||
bind K tabprev
|
||||
unbind <C-e>
|
||||
|
||||
" Set newtab from environment variable if available (provided by native messenger)
|
||||
js tri.native.run("printenv TRIDACTYL_NEWTAB").then(r => { if (r.stdout.trim()) tri.config.set("newtab", r.stdout.trim()) })
|
||||
" Force Tridactyl to yield new tab control to Firefox/Extensions
|
||||
set newtab about:newtab
|
||||
'';
|
||||
|
||||
programs.firefox = {
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
...
|
||||
}: {
|
||||
inherit id name;
|
||||
# Note: This profile relies on the global tridactylrc logic in default.nix
|
||||
# to dynamically set 'newtab' via the TRIDACTYL_NEWTAB environment variable.
|
||||
search.force = true;
|
||||
search.default = "ddg";
|
||||
extensions.force = true;
|
||||
@@ -99,6 +101,7 @@
|
||||
transition: transform var(--uc-autohide-toolbar-duration) ease var(--uc-autohide-toolbar-delay), opacity var(--uc-autohide-toolbar-duration) ease var(--uc-autohide-toolbar-delay) !important;
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
background-color: #1c1b22 !important; /* Solid background */
|
||||
}
|
||||
|
||||
#navigator-toolbox,
|
||||
@@ -171,3 +174,4 @@
|
||||
#PersonalToolbar { visibility: collapse !important; }
|
||||
'';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user