!AXdLfOGmSqOJipwjRW:matrix.org

tridactyl

285 Members
https://github.com/tridactyl/tridactyl archived messages: https://matrix.to/#/!xmubtggllUtLrQiGyn:matrix.org/$1654280187215fKpBY:matrix.org?via=matrix.org&via=t2bot.io&via=kde.org47 Servers

Load older messages


SenderMessageTime
13 Aug 2024
@gamingjones223:beeper.comgamingjones223I'm sure there is a Wayland equivalent 17:00:27
@monirzadeh:matrix.orgmonirzadeh
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:beeper.comgamingjones223https://github.com/ReimuNotMoe/ydotool17:01:21
@gamingjones223:beeper.comgamingjones223
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:beeper.comgamingjones223there is :guiset17:02:02
@gamingjones223:beeper.comgamingjones223but if i remember right it requires a restart17:02:10
@gamingjones223:beeper.comgamingjones223not sure17:02:19
@gamingjones223:beeper.comgamingjones223yep17:03:22
@gamingjones223:beeper.comgamingjones223clipboard.png
Download clipboard.png
17:03:29
@monirzadeh:matrix.orgmonirzadeh
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:matrix.orgmonirzadeh
In reply to @gamingjones223:beeper.com
sent an image.
Restart make things impossible to do that.
17:06:06
@gamingjones223:beeper.comgamingjones223
In reply to @monirzadeh:matrix.org
Restart make things impossible to do that.
of course
17:08:02
@gamingjones223:beeper.comgamingjones223hence, i would write a bash script which invokes ydotool17:08:10
@monirzadeh:matrix.orgmonirzadeh
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:beeper.comgamingjones223You 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:beeper.comgamingjones223Tridactyl doing it would be optimal though 17:17:08
@bovine3dom:matrix.orgbovine3domI can't think of a way of getting Tridactyl to do it except by triggering y/xdotool via :native18:00:43
@bovine3dom:matrix.orgbovine3domIn theory you can edit userChrome in real time by launching Firefox in some special debugging mode but I've never managed it18:01:44
@gamingjones223:beeper.comgamingjones223Oooooo 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:beeper.comgamingjones223What was the blocker there? 18:35:01
@bovine3dom:matrix.orgbovine3dom
In reply to @gamingjones223:beeper.com
What was the blocker there?
brain too small
19:04:59
@bovine3dom:matrix.orgbovine3domit'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 around19:06:33
@Lexi:matrix.orgLexi
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:matrix.orgbovine3domno22:55:05
@bovine3dom:matrix.orgbovine3domyou can make changes in the browser toolbox and they will live update https://firefox-source-docs.mozilla.org/devtools-user/browser_toolbox/index.html22:57:41
@bovine3dom:matrix.orgbovine3domthat uses the remote debugging feature that maybe someone with enough willpower could use to edit userChrome programmatically in real time22:58:21
14 Aug 2024
@monirzadeh:matrix.orgmonirzadeh

@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:beeper.comgamingjones223Ok, does this solve your problem ? Does it make tabs appear on switch ? 14:45:59
@gamingjones223:beeper.comgamingjones223Or is this just the same as setting tabs to auto hide 14:46:07
@monirzadeh:matrix.orgmonirzadeh
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

Show newer messages


Back to Room ListRoom Version: 6