Add hyprEasymotion plugin keybinding and config
This commit is contained in:
74
README.org
74
README.org
@@ -46,6 +46,8 @@
|
||||
- [[#opengl][OpenGL]]
|
||||
- [[#render][Render]]
|
||||
- [[#ecosystem][Ecosystem]]
|
||||
- [[#plugins][Plugins]]
|
||||
- [[#hypreasymotion][hyprEasymotion]]
|
||||
- [[#xdg-desktop-portal-hyprland][xdg-desktop-portal-hyprland]]
|
||||
- [[#screencopy][Screencopy]]
|
||||
- [[#hypridle][Hypridle]]
|
||||
@@ -721,6 +723,78 @@ ecosystem {
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
** Plugins
|
||||
|
||||
*** hyprEasymotion
|
||||
|
||||
- [[https://github.com/zakk4223/hyprland-easymotion][GitHub - hyprEasymotion]]
|
||||
|
||||
**** Keybindings
|
||||
|
||||
Enable *easymotion* navigation
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
bind = $mainMod, z, easymotion, action:hyprctl dispatch focuswindow address:{}
|
||||
#+END_SRC
|
||||
|
||||
**** Appearance
|
||||
|
||||
Configure appearance of *easymotion* navigation indicators
|
||||
|
||||
#+BEGIN_SRC conf :tangle hyprland.conf
|
||||
plugin {
|
||||
easymotion {
|
||||
#font size of the text
|
||||
textsize=100
|
||||
|
||||
#color of the text, takes standard hyprland color format
|
||||
textcolor=rgba(50fa7bff)
|
||||
|
||||
#background color of the label box. alpha is respected
|
||||
bgcolor=rgba(282a36ff)
|
||||
|
||||
#enable blur. The bgcolor alpha must be at least semi-transparent.
|
||||
blur=0
|
||||
|
||||
#Set blur alpha value. Blur must be enabled (float value)
|
||||
blurA=1.0
|
||||
|
||||
#Set xray. Blur must be enabled
|
||||
xray=0
|
||||
|
||||
#font to use for the label. This is passed directly to the pango font description
|
||||
textfont=Sans
|
||||
|
||||
#padding around the text (inside the label box) size in pixels, adjusted for
|
||||
#monitor scaling. This is the same format as hyprland's gapsin/gapsout workspace layout rule
|
||||
#example: textpadding=2 5 5 2 (spaces not commas)
|
||||
textpadding=20 20 20 20
|
||||
|
||||
#size of the border around the label box. A border size of zero disables border rendering.
|
||||
bordersize=2
|
||||
|
||||
#color of the border. takes the same format as hyprland's border (so it can be a gradient)
|
||||
bordercolor=rgba(50fa7bff)
|
||||
|
||||
#rounded corners? Same as hyprland's 'decoration:rounding' config
|
||||
rounding=1
|
||||
|
||||
#what to do if a window is fullscreen
|
||||
#none: nothing. (easymotion label won't be displayed on that window)
|
||||
#toggle: take the window out of fullscreen entirely.
|
||||
#maximize: convert the window to maximized.
|
||||
#windows are restored to fullscreen after easymotion is exited/selected
|
||||
fullscreen_action=toggle
|
||||
|
||||
#which keys to use for labeling windows
|
||||
motionkeys=abcdefghijklmnopqrstuvwxyz1234567890
|
||||
|
||||
#if a monitor has a focused special workspace, only put easymotion labels on the windows in the special workspace
|
||||
only_special = true
|
||||
}
|
||||
}
|
||||
#+END_SRC
|
||||
|
||||
* xdg-desktop-portal-hyprland
|
||||
|
||||
- [[https://wiki.hyprland.org/Hypr-Ecosystem/xdg-desktop-portal-hyprland/#configuration][Hyprland Wiki - Hypr Ecosystem - xdg-desktop-portal-hyprland - Configuration]]
|
||||
|
@@ -288,3 +288,57 @@ ecosystem {
|
||||
no_update_news = true
|
||||
no_donation_nag = true
|
||||
}
|
||||
|
||||
bind = $mainMod, z, easymotion, action:hyprctl dispatch focuswindow address:{}
|
||||
|
||||
plugin {
|
||||
easymotion {
|
||||
#font size of the text
|
||||
textsize=100
|
||||
|
||||
#color of the text, takes standard hyprland color format
|
||||
textcolor=rgba(50fa7bff)
|
||||
|
||||
#background color of the label box. alpha is respected
|
||||
bgcolor=rgba(282a36ff)
|
||||
|
||||
#enable blur. The bgcolor alpha must be at least semi-transparent.
|
||||
blur=0
|
||||
|
||||
#Set blur alpha value. Blur must be enabled (float value)
|
||||
blurA=1.0
|
||||
|
||||
#Set xray. Blur must be enabled
|
||||
xray=0
|
||||
|
||||
#font to use for the label. This is passed directly to the pango font description
|
||||
textfont=Sans
|
||||
|
||||
#padding around the text (inside the label box) size in pixels, adjusted for
|
||||
#monitor scaling. This is the same format as hyprland's gapsin/gapsout workspace layout rule
|
||||
#example: textpadding=2 5 5 2 (spaces not commas)
|
||||
textpadding=20 20 20 20
|
||||
|
||||
#size of the border around the label box. A border size of zero disables border rendering.
|
||||
bordersize=2
|
||||
|
||||
#color of the border. takes the same format as hyprland's border (so it can be a gradient)
|
||||
bordercolor=rgba(50fa7bff)
|
||||
|
||||
#rounded corners? Same as hyprland's 'decoration:rounding' config
|
||||
rounding=1
|
||||
|
||||
#what to do if a window is fullscreen
|
||||
#none: nothing. (easymotion label won't be displayed on that window)
|
||||
#toggle: take the window out of fullscreen entirely.
|
||||
#maximize: convert the window to maximized.
|
||||
#windows are restored to fullscreen after easymotion is exited/selected
|
||||
fullscreen_action=toggle
|
||||
|
||||
#which keys to use for labeling windows
|
||||
motionkeys=abcdefghijklmnopqrstuvwxyz1234567890
|
||||
|
||||
#if a monitor has a focused special workspace, only put easymotion labels on the windows in the special workspace
|
||||
only_special = true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user