feat(hypr): add new plugins: hyprbars and hyprsplit

This commit is contained in:
Sergio Laín 2024-03-28 00:04:18 +01:00
parent 2faf0153b2
commit b9d7b2ac81
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 67 additions and 2 deletions

View file

@ -13,5 +13,13 @@ exec-once = $HOME/.config/hypr/scripts/autostart/apps
# Theme (Add the theme you want)
source = ~/.config/hypr/themes/luna/luna.conf
# Plugins (Uncomment this line if you are going to use the plugins)
# exec-once = hyprpm reload -n
# Plugins
exec-once = hyprpm reload -n
# Hyprsplit
# exec-once = hyprpm enable hyprsplit
# source = ~/.config/hypr/plugins/hyprsplit.conf
# Hyprbars
# exec-once = hyprpm enable hyprbars
# source = ~/.config/hypr/plugins/hyprbars.conf

View file

@ -0,0 +1,15 @@
source = ../themes/luna/colors.conf
# Conf
plugin {
hyprbars {
bar_height = 20
bar_color = rgb($mantleAlpha)
bar_text_font = "JetBrainsMono Nerd Font"
bar_part_of_window = true
bar_precedence_over_border = false
hyprbars-button = rgb(ff4040), 10,  , hyprctl dispatch killactive
hyprbars-button = rgb(eeee11), 10,  , hyprctl dispatch fullscreen 1
}
}

View file

@ -0,0 +1,42 @@
# Conf
plugin {
hyprsplit {
num_workspaces = 10
}
}
# Keybinds
bind = SUPER, 1, split:workspace, 1
bind = SUPER, 2, split:workspace, 2
bind = SUPER, 3, split:workspace, 3
bind = SUPER, 4, split:workspace, 4
bind = SUPER, 5, split:workspace, 5
bind = SUPER, 6, split:workspace, 6
bind = SUPER, 7, split:workspace, 7
bind = SUPER, 8, split:workspace, 8
bind = SUPER, 9, split:workspace, 9
bind = SUPER, 0, split:workspace, 10
# Moving windows to other workspaces
bind = SUPERSHIFT, 1, split:movetoworkspace, 1
bind = SUPERSHIFT, 2, split:movetoworkspace, 2
bind = SUPERSHIFT, 3, split:movetoworkspace, 3
bind = SUPERSHIFT, 4, split:movetoworkspace, 4
bind = SUPERSHIFT, 5, split:movetoworkspace, 5
bind = SUPERSHIFT, 6, split:movetoworkspace, 6
bind = SUPERSHIFT, 7, split:movetoworkspace, 7
bind = SUPERSHIFT, 8, split:movetoworkspace, 8
bind = SUPERSHIFT, 9, split:movetoworkspace, 9
bind = SUPERSHIFT, 0, split:movetoworkspace, 10
# Moving windows to other workspaces (silent)
bind = SUPERALT, 1, split:movetoworkspacesilent, 1
bind = SUPERALT, 2, split:movetoworkspacesilent, 2
bind = SUPERALT, 3, split:movetoworkspacesilent, 3
bind = SUPERALT, 4, split:movetoworkspacesilent, 4
bind = SUPERALT, 5, split:movetoworkspacesilent, 5
bind = SUPERALT, 6, split:movetoworkspacesilent, 6
bind = SUPERALT, 7, split:movetoworkspacesilent, 7
bind = SUPERALT, 8, split:movetoworkspacesilent, 8
bind = SUPERALT, 9, split:movetoworkspacesilent, 9
bind = SUPERALT, 0, split:movetoworkspacesilent, 10