♻️ refactor(hypr): implement each plugin in their own file instead of a global plugins file
this way there's more modularity, which I always like
This commit is contained in:
parent
8aeefedea8
commit
64a539dad9
3 changed files with 19 additions and 18 deletions
|
@ -178,16 +178,3 @@ bind = SUPER, F12, exec, ~/.config/hypr/scripts/performance
|
|||
# Open Wiki
|
||||
bind = SUPERSHIFT, F1, exec, xdg-open https://wiki.hyprland.org/
|
||||
bind = SUPERCTRL, F1, exec, xdg-open https://github.com/Matt-FTW/dotfiles/wiki
|
||||
|
||||
## Plugins
|
||||
# Overview mode
|
||||
bind = ALT, TAB, hycov:toggleoverview
|
||||
bind = SUPERALT, BACKSPACE, hycov:toggleoverview, forceall
|
||||
bind = SUPERALT, LEFT, hycov:movefocus, l
|
||||
bind = SUPERALT, RIGHT, hycov:movefocus, r
|
||||
bind = SUPERALT, UP, hycov:movefocus, u
|
||||
bind = SUPERALT, DOWN, hycov:movefocus, d
|
||||
bind = SUPERALT, H, hycov:movefocus, l
|
||||
bind = SUPERALT, L, hycov:movefocus, r
|
||||
bind = SUPERALT, K, hycov:movefocus, u
|
||||
bind = SUPERALT, J, hycov:movefocus, d
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
# Configs (change to whichever config you want to use)
|
||||
# Configs
|
||||
source = ~/.config/hypr/configs/env.conf
|
||||
source = ~/.config/hypr/configs/plugins.conf
|
||||
source = ~/.config/hypr/configs/binds.conf
|
||||
source = ~/.config/hypr/configs/monitors.conf
|
||||
source = ~/.config/hypr/configs/workspaces.conf
|
||||
|
@ -9,6 +8,10 @@ source = ~/.config/hypr/configs/workspaces.conf
|
|||
exec-once = $HOME/.config/hypr/scripts/autostart/services
|
||||
exec-once = $HOME/.config/hypr/scripts/autostart/apps
|
||||
|
||||
# Theme (change to whichever theme you want to use)
|
||||
# Theme
|
||||
source = ~/.config/hypr/themes/luna/theme.conf
|
||||
source = ~/.config/hypr/themes/luna/rules.conf
|
||||
|
||||
# Plugins
|
||||
exec-once = hyprpm reload -n
|
||||
source = ~/.config/hypr/plugins/hycov.conf
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
exec-once = hyprpm reload -n
|
||||
|
||||
# Conf
|
||||
plugin {
|
||||
hycov {
|
||||
overview_gappo = 60 # gaps width from screen edge
|
||||
|
@ -20,3 +19,15 @@ plugin {
|
|||
click_in_cursor = 1 # target windwo is find by cursor, not the current foucus window.
|
||||
}
|
||||
}
|
||||
|
||||
# Keybinds
|
||||
bind = ALT, TAB, hycov:toggleoverview
|
||||
bind = SUPERALT, BACKSPACE, hycov:toggleoverview, forceall
|
||||
bind = SUPERALT, LEFT, hycov:movefocus, l
|
||||
bind = SUPERALT, RIGHT, hycov:movefocus, r
|
||||
bind = SUPERALT, UP, hycov:movefocus, u
|
||||
bind = SUPERALT, DOWN, hycov:movefocus, d
|
||||
bind = SUPERALT, H, hycov:movefocus, l
|
||||
bind = SUPERALT, L, hycov:movefocus, r
|
||||
bind = SUPERALT, K, hycov:movefocus, u
|
||||
bind = SUPERALT, J, hycov:movefocus, d
|
Loading…
Add table
Reference in a new issue