i’am using garuda hyperland How can i change switch workspace with single key without pressing modkey and like i want to switch workspace pressing f1 single button please help anyone
check hyprland.conf
you find these things
bind = $mainMod, F1, exec, firedragon
bind = $mainMod, F2, exec, thunderbird
bind = $mainMod, F3, exec, thunar
bind = $mainMod, F4, exec, geany
bind = $mainMod, F5, exec, github-desktop
bind = $mainMod, F6, exec, gparted
bind = $mainMod, F7, exec, inkscape
bind = $mainMod, F8, exec, blender
bind = $mainMod, F9, exec, meld
bind = $mainMod, F10, exec, joplin-desktop
bind = $mainMod, F11, exec, snapper-tools
bind = $mainMod, F12, exec, galculator
and
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
combine them like this :
bind = ,F1,workspace,1
bind = ,F2,workspace,2
bind = ,F3,workspace,3
bind = ,F4,workspace,4
bind = ,F5,workspace,5
bind = ,F6,workspace,6
bind = ,F7,workspace,7
bind = ,F8,workspace,8
bind = ,F9,workspace,9
bind = ,F10,workspace,10
then remove the other conflicting key bindings , and you are good to go !!!
You can assign multiple key bindings for the same thing
WARNING!!! 
Do it at your own risk we are not liable for any problem that may happen
tried not working no errors shown
Check wiki
Notebook?
3-Finger swipe, left-right.
i have pc will f1 keywork ?
now working with f1 thanks for help
well, that’s strange
It is working in my laptop
maybe an update would do it ?
i have installed garuda hyprland on external ssd so i tried in pc and macbook air in pc it works fine i need this for pc in macbook air swipe gesture works fine
install wev
sudo pacman -S wev
now, open wev with the command wev
now press f1 key and note what key number you get ,
you can see my out put :
╭─ankur@ankur in ~
╰─λ wev
[04: wl_seat] name: Hyprland
[04: wl_seat] capabilities: pointer keyboard
[10: xdg_toplevel] configure: width: 935; height: 1046
tiled-left tiled-right tiled-top tiled-bottom
[09: xdg_surface] configure: serial: 1507
[14: wl_keyboard] keymap: format: 1 (xkb v1), size: 64754
[14: wl_keyboard] repeat_info: rate: 25 keys/sec; delay: 600 ms
[10: xdg_toplevel] configure: width: 935; height: 1046
tiled-left tiled-right tiled-top tiled-bottom maximized
[10: xdg_toplevel] configure: width: 921; height: 1026
tiled-left tiled-right tiled-top tiled-bottom maximized
[14: wl_keyboard] enter: serial: 1511; surface: 3
[14: wl_keyboard] modifiers: serial: 0; group: 16
depressed: 00000000
latched: 00000000
locked: 00000010: Mod2
[11: wl_data_device] selection: (cleared)
[10: xdg_toplevel] configure: width: 921; height: 1026
tiled-left tiled-right tiled-top tiled-bottom maximized activated
[10: xdg_toplevel] configure: width: 917; height: 1022
tiled-left tiled-right tiled-top tiled-bottom maximized activated
[13: wl_pointer] enter: serial: 1514; surface: 3, x, y: 809.570312, 625.511719
[13: wl_pointer] frame
[09: xdg_surface] configure: serial: 1508
[14: wl_keyboard] key: serial: 1515; time: 272256; key: 36; state: 0 (released)
sym: Return (65293), utf8: ''
[14: wl_keyboard] key: serial: 1517; time: 275088; key: 67; state: 1 (pressed)
sym: F1 (65470), utf8: ''
[14: wl_keyboard] key: serial: 1518; time: 275177; key: 67; state: 0 (released)
sym: F1 (65470), utf8: ''
[14: wl_keyboard] key: serial: 1519; time: 276205; key: 133; state: 1 (pressed)
sym: Super_L (65515), utf8: ''
[14: wl_keyboard] modifiers: serial: 0; group: 16
depressed: 00000040: Mod4
latched: 00000000
locked: 00000010: Mod2
[10: xdg_toplevel] close
╭─ankur@ankur in ~ took 4s
╰─λ
here for f1 it said key : 67
so what I would do is I would replace f1 with 67 like this
bind = ,67,workspace,1
see if that works or not
That is what I can suggest, I don’t know any other way to configure it , if it doesn’t work , then it might be a big in Hyprland itself
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.