13 Aug 2024 |
gamingjones223 | I'm sure there is a Wayland equivalent | 17:00:27 |
monirzadeh | In reply to @gamingjones223:beeper.com I'm sure there is a Wayland equivalent Can I toggle tab show-hide with tridactyl | 17:01:39 |
gamingjones223 | https://github.com/ReimuNotMoe/ydotool | 17:01:21 |
gamingjones223 | In reply to @monirzadeh:matrix.org Can I toggle tab show-hide with tridactyl i do not think you can live | 17:01:56 |
gamingjones223 | there is :guiset | 17:02:02 |
gamingjones223 | but if i remember right it requires a restart | 17:02:10 |
gamingjones223 | not sure | 17:02:19 |
gamingjones223 | yep | 17:03:22 |
gamingjones223 | Download clipboard.png | 17:03:29 |
monirzadeh | In reply to @gamingjones223:beeper.com but if i remember right it requires a restart @bovine3dom in full screen mode in Firefox we have an option to show hide tab.
Is it possible to control that with tridactyl?
| 17:05:12 |
monirzadeh | In reply to @gamingjones223:beeper.com sent an image. Restart make things impossible to do that. | 17:06:06 |
gamingjones223 | In reply to @monirzadeh:matrix.org Restart make things impossible to do that. of course | 17:08:02 |
gamingjones223 | hence, i would write a bash script which invokes ydotool | 17:08:10 |
monirzadeh | In reply to @gamingjones223:beeper.com hence, i would write a bash script which invokes ydotool I think about another way
Move mouse will not prefect (user use mouse for other things)
If we can in userchrome make show tabs sensitive to hover (or any signal)
Than tridactyl can send that signal
Maybe it can be possible
| 17:11:15 |
gamingjones223 | You can have it only move mouse while you need tabs shown and then move back to the original mouse position after if you make a script for this | 17:16:42 |
gamingjones223 | Tridactyl doing it would be optimal though | 17:17:08 |
bovine3dom | I can't think of a way of getting Tridactyl to do it except by triggering y/xdotool via :native | 18:00:43 |
bovine3dom | In theory you can edit userChrome in real time by launching Firefox in some special debugging mode but I've never managed it | 18:01:44 |
gamingjones223 | Oooooo that's cool! If that was the case that would be sick! If I could have a keybind to remove all Firefox UI elements but then another keybind to get them back when I have to change settings for some extension, without restarting, that would be sick! | 18:34:56 |
gamingjones223 | What was the blocker there? | 18:35:01 |
bovine3dom | In reply to @gamingjones223:beeper.com What was the blocker there? brain too small | 19:04:59 |
bovine3dom | it's called something like Firefox marionnette and you can control all of Firefox through it, but I've never found docs that I could get my head around | 19:06:33 |
Lexi | In reply to @monirzadeh:matrix.org
I think about another way
Move mouse will not prefect (user use mouse for other things)
If we can in userchrome make show tabs sensitive to hover (or any signal)
Than tridactyl can send that signal
Maybe it can be possible
If you change it in userchrome while Firefox is open, are the changes live immediately? Then you could use ydotool to change that file instead of moving the cursor | 20:54:39 |
bovine3dom | no | 22:55:05 |
bovine3dom | you can make changes in the browser toolbox and they will live update https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html | 22:57:41 |
bovine3dom | that uses the remote debugging feature that maybe someone with enough willpower could use to edit userChrome programmatically in real time | 22:58:21 |
14 Aug 2024 |
monirzadeh | @gamingjones223
This CSS can hide tabs when it is not hover top of browser
I just disable animation
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/autohide_toolbox.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
/* Hide the whole toolbar area unless urlbar is focused or cursor is over the toolbar */
/* Dimensions on non-Win10 OS probably needs to be adjusted */
/* Compatibility options for hide_tabs_toolbar.css and tabs_on_bottom.css at the end of this file */
:root{
--uc-autohide-toolbox-delay: 200ms; /* Wait 0.1s before hiding toolbars */
--uc-toolbox-rotation: 0deg; /* This may need to be lower on mac - like 75 or so */
}
:root[sizemode="maximized"]{
--uc-toolbox-rotation: 88.5deg;
}
@media (-moz-platform: windows){
:root:not([lwtheme]) #navigator-toolbox{ background-color: -moz-dialog !important; }
}
:root[sizemode="fullscreen"],
:root[sizemode="fullscreen"] #navigator-toolbox{ margin-top: 0 !important; }
#navigator-toolbox{
position: fixed !important;
display: block;
background-color: var(--lwt-accent-color,black) !important;
transition: transform 0ms linear, opacity 0ms linear !important;
transition-delay: var(--uc-autohide-toolbox-delay) !important;
transform-origin: top;
transform: rotateX(var(--uc-toolbox-rotation));
opacity: 0;
line-height: 0;
z-index: 1;
pointer-events: none;
}
#navigator-toolbox:hover,
#navigator-toolbox:focus-within{
transition-delay: 33ms !important;
transform: rotateX(0);
opacity: 1;
}
/* This ruleset is separate, because not having :has support breaks other selectors as well */
#mainPopupSet:has(> #appMenu-popup:hover) ~ toolbox{
transition-delay: 33ms !important;
transform: rotateX(0);
opacity: 1;
}
#navigator-toolbox > *{ line-height: normal; pointer-events: auto }
#navigator-toolbox,
#navigator-toolbox > *{
width: 100vw;
-moz-appearance: none !important;
}
/* These two exist for oneliner compatibility */
#nav-bar{ width: var(--uc-navigationbar-width,100vw) }
#TabsToolbar{ width: calc(100vw - var(--uc-navigationbar-width,0px)) }
/* Don't apply transform before window has been fully created */
:root:not([sessionrestored]) #navigator-toolbox{ transform:none !important }
:root[customizing] #navigator-toolbox{
position: relative !important;
transform: none !important;
opacity: 1 !important;
}
#navigator-toolbox[inFullscreen] > #PersonalToolbar,
#PersonalToolbar[collapsed="true"]{ display: none }
/* Uncomment this if tabs toolbar is hidden with hide_tabs_toolbar.css */
/*#titlebar{ margin-bottom: -9px }*/
/* Uncomment the following for compatibility with tabs_on_bottom.css - this isn't well tested though */
/*
#navigator-toolbox{ flex-direction: column; display: flex; }
#titlebar{ order: 2 }
*/
| 14:44:05 |
gamingjones223 | Ok, does this solve your problem ? Does it make tabs appear on switch ? | 14:45:59 |
gamingjones223 | Or is this just the same as setting tabs to auto hide | 14:46:07 |
monirzadeh | In reply to @gamingjones223:beeper.com Or is this just the same as setting tabs to auto hide It is just autohide Not yet responsive to tab switch | 14:48:49 |