switch (default) "fullscreen" / "tiled width fullscreen" - keyboard shortcut #5276
Klar
started this conversation in
Suggestions
Replies: 1 comment
|
Another option that keeps real fullscreen. Switching #!/bin/bash
# ~/.local/bin/hypr-fullscreen-keep-ui
set -euo pipefail
internal=$(hyprctl activewindow -j | jq -r '.fullscreen // 0')
if [[ $internal == "0" ]]; then
hyprctl dispatch 'hl.dsp.window.fullscreen_state({ internal = 2, client = 0 })' >/dev/null 2>&1 ||
hyprctl dispatch fullscreenstate 2 0 >/dev/null
else
hyprctl dispatch 'hl.dsp.window.fullscreen_state({ internal = 0, client = 0 })' >/dev/null 2>&1 ||
hyprctl dispatch fullscreenstate 0 0 >/dev/null
fi-- ~/.config/hypr/bindings.lua
hl.unbind("SUPER + F")
o.bind("SUPER + F", "Full screen", "hypr-fullscreen-keep-ui") |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The current "Full screen" and "Tiled width fullscreen" does work but when in Brave / Browser the "SUPER F" does fullscreen but the tabs go missing. I normally do not want this.
In my workflow I like to make the Browser fullscreen but with the tabs but not the fullscreen I can do with "F11".
Switching the keyboard shortcut saves another press (ALT). And I still have the option to go "full fullscreen" with "F11" or omarchy way "SUPER ALT F"
vim ~/.local/share/omarchy/default/hypr/bindings/tiling-v2.conf bindd = SUPER ALT, F, Full screen, fullscreen, 0 bindd = SUPER, F, Full width, fullscreen, 1maybe this is something other people would also like to have as default.
All reactions