mirror of
https://github.com/Dichgrem/DCGOS.git
synced 2025-12-17 03:31:59 -05:00
refactor:hypr&alacritty_config
This commit is contained in:
99
dotfiles/.config/hypr/hyprland/basic.conf
vendored
99
dotfiles/.config/hypr/hyprland/basic.conf
vendored
@@ -1,20 +1,33 @@
|
||||
source = ~/.config/hypr/theme.conf
|
||||
|
||||
#animations {
|
||||
# enabled = true
|
||||
# bezier = liner, 1, 1, 1, 1
|
||||
# bezier = overshot, 0.13, 0.99, 0.29, 1.1
|
||||
# bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
# bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
# animation = windows, 1, 6, wind, slide
|
||||
# animation = windowsIn, 1, 7, winIn, slide
|
||||
# animation = windowsOut, 1, 7, default, popin 80%
|
||||
# animation = windowsMove, 1, 5, wind, slide
|
||||
# animation = border, 1, 1, liner
|
||||
# animation = fade, 1, 10, default
|
||||
# animation = workspaces, 1, 8, default, slidefade 20%
|
||||
# animation = specialWorkspaceIn, 1, 8, default, fade
|
||||
# animation = specialWorkspaceOut, 1, 8, default, fade
|
||||
#}
|
||||
|
||||
animations {
|
||||
enabled = true
|
||||
bezier = liner, 1, 1, 1, 1
|
||||
bezier = overshot, 0.13, 0.99, 0.29, 1.1
|
||||
enabled = yes
|
||||
bezier = smooth, 0.1, 0.9, 0.2, 1.0
|
||||
bezier = default, 0.25, 0.8, 0.5, 1
|
||||
bezier = wind, 0.05, 0.9, 0.1, 1.05
|
||||
bezier = winIn, 0.1, 1.1, 0.1, 1.1
|
||||
animation = windows, 1, 6, wind, slide
|
||||
animation = windowsIn, 1, 7, winIn, slide
|
||||
animation = windowsOut, 1, 7, default, popin 80%
|
||||
animation = windowsMove, 1, 5, wind, slide
|
||||
animation = border, 1, 1, liner
|
||||
animation = fade, 1, 10, default
|
||||
animation = workspaces, 1, 8, default, slidefade 20%
|
||||
animation = specialWorkspaceIn, 1, 8, default, fade
|
||||
animation = specialWorkspaceOut, 1, 8, default, fade
|
||||
animation = windowsIn, 1, 4, smooth, slide
|
||||
animation = windowsOut, 1, 2, default, popin 80%
|
||||
animation = windowsMove, 1, 4, wind, slide
|
||||
animation = border, 1, 5, default
|
||||
animation = workspacesIn, 1, 6, smooth, slide
|
||||
animation = workspacesOut, 1, 6, smooth, slidefade 80%
|
||||
}
|
||||
|
||||
|
||||
@@ -51,10 +64,10 @@ env = XDG_SESSION_DESKTOP, Hyprland
|
||||
general {
|
||||
gaps_in = 1
|
||||
gaps_out = 1
|
||||
border_size = 1
|
||||
border_size = 2
|
||||
col.active_border = $lavender
|
||||
col.inactive_border = $base
|
||||
layout = hy3
|
||||
layout = tile
|
||||
}
|
||||
|
||||
|
||||
@@ -101,34 +114,34 @@ misc {
|
||||
}
|
||||
|
||||
|
||||
plugin {
|
||||
hy3 {
|
||||
no_gaps_when_only = 1
|
||||
node_collapse_policy = 1
|
||||
group_inset = 10
|
||||
tab_first_window = true
|
||||
tabs {
|
||||
col.active = rgb(b4befe)
|
||||
col.active.border = rgb(313244)
|
||||
col.active.text = rgb(181825)
|
||||
col.inactive = rgb(181825)
|
||||
col.inactive.border = rgb(313244)
|
||||
col.inactive.text = rgb(b4befe)
|
||||
col.urgent = rgb(f2cdcd)
|
||||
col.urgent.border = rgb(313244)
|
||||
col.urgent.text = rgb(181825)
|
||||
from_top = false
|
||||
height = 14
|
||||
padding = 2
|
||||
render_text = true
|
||||
rounding = 6
|
||||
text_center = true
|
||||
text_font = Sarasa Gothic SC
|
||||
text_height = 10
|
||||
text_padding = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
#plugin {
|
||||
# hy3 {
|
||||
# no_gaps_when_only = 1
|
||||
# node_collapse_policy = 1
|
||||
# group_inset = 10
|
||||
# tab_first_window = true
|
||||
# tabs {
|
||||
# col.active = rgb(b4befe)
|
||||
# col.active.border = rgb(313244)
|
||||
# col.active.text = rgb(181825)
|
||||
# col.inactive = rgb(181825)
|
||||
# col.inactive.border = rgb(313244)
|
||||
# col.inactive.text = rgb(b4befe)
|
||||
# col.urgent = rgb(f2cdcd)
|
||||
# col.urgent.border = rgb(313244)
|
||||
# col.urgent.text = rgb(181825)
|
||||
# from_top = false
|
||||
# height = 14
|
||||
# padding = 2
|
||||
# render_text = true
|
||||
# rounding = 6
|
||||
# text_center = true
|
||||
# text_font = Sarasa Gothic SC
|
||||
# text_height = 10
|
||||
# text_padding = 0
|
||||
# }
|
||||
# }
|
||||
#}
|
||||
|
||||
|
||||
xwayland {
|
||||
|
||||
63
dotfiles/.config/hypr/hyprland/bind.conf
vendored
63
dotfiles/.config/hypr/hyprland/bind.conf
vendored
@@ -41,7 +41,8 @@ bind = SUPER_CTRL_ALT, S, exec, sh ~/.config/waybar/scripts/Screenshot-OCR.sh
|
||||
|
||||
## Window actions
|
||||
bind = SUPER, F, fullscreen
|
||||
bind = SUPER, Q, hy3:killactive
|
||||
bind = SUPER, Q, killactive
|
||||
#bind = SUPER, Q, hy3:killactive
|
||||
|
||||
## Window actions (bonus)
|
||||
bind = SUPER_SHIFT, F, togglefloating
|
||||
@@ -108,34 +109,52 @@ bind = SUPER_CTRL, L, workspace, +1
|
||||
|
||||
## Window focus movement
|
||||
### Using Alt+Tab
|
||||
bind = ALT, Tab, hy3:movefocus, r
|
||||
bind = ALT_SHIFT, Tab, hy3:movefocus, l
|
||||
#bind = ALT, Tab, hy3:movefocus, r
|
||||
#bind = ALT_SHIFT, Tab, hy3:movefocus, l
|
||||
bind = ALT, Tab, movefocus, r
|
||||
bind = ALT_SHIFT, Tab, movefocus, l
|
||||
|
||||
### Using Arrow keys
|
||||
bind = SUPER, left, hy3:movefocus,l
|
||||
bind = SUPER, right, hy3:movefocus,r
|
||||
bind = SUPER, up, hy3:movefocus,u
|
||||
bind = SUPER, down, hy3:movefocus,d
|
||||
#bind = SUPER, left, hy3:movefocus,l
|
||||
#bind = SUPER, right, hy3:movefocus,r
|
||||
#bind = SUPER, up, hy3:movefocus,u
|
||||
#bind = SUPER, down, hy3:movefocus,d
|
||||
bind = SUPER, left, movefocus,l
|
||||
bind = SUPER, right, movefocus,r
|
||||
bind = SUPER, up, movefocus,u
|
||||
bind = SUPER, down, movefocus,d
|
||||
|
||||
### Using Vim-like keys
|
||||
bind = SUPER_Alt, H, hy3:movefocus, l
|
||||
bind = SUPER_Alt, L, hy3:movefocus, r
|
||||
bind = SUPER_Alt, K, hy3:movefocus, u
|
||||
bind = SUPER_Alt, J, hy3:movefocus, d
|
||||
#bind = SUPER_Alt, H, hy3:movefocus, l
|
||||
#bind = SUPER_Alt, L, hy3:movefocus, r
|
||||
#bind = SUPER_Alt, K, hy3:movefocus, u
|
||||
#bind = SUPER_Alt, J, hy3:movefocus, d
|
||||
bind = SUPER_Alt, H, movefocus, l
|
||||
bind = SUPER_Alt, L, movefocus, r
|
||||
bind = SUPER_Alt, K, movefocus, u
|
||||
bind = SUPER_Alt, J, movefocus, d
|
||||
|
||||
|
||||
## Window direction movement
|
||||
### Using Arrow keys
|
||||
bind = SUPER_SHIFT, left, hy3:movewindow,l
|
||||
bind = SUPER_SHIFT, right, hy3:movewindow,r
|
||||
bind = SUPER_SHIFT, up, hy3:movewindow,u
|
||||
bind = SUPER_SHIFT, down, hy3:movewindow,d
|
||||
#bind = SUPER_SHIFT, left, hy3:movewindow,l
|
||||
#bind = SUPER_SHIFT, right, hy3:movewindow,r
|
||||
#bind = SUPER_SHIFT, up, hy3:movewindow,u
|
||||
#bind = SUPER_SHIFT, down, hy3:movewindow,d
|
||||
bind = SUPER_SHIFT, left, movewindow,l
|
||||
bind = SUPER_SHIFT, right, movewindow,r
|
||||
bind = SUPER_SHIFT, up, movewindow,u
|
||||
bind = SUPER_SHIFT, down, movewindow,d
|
||||
|
||||
### Using Vim-like keys
|
||||
bind = SUPER_SHIFT, H, hy3:movefocus, l
|
||||
bind = SUPER_SHIFT, L, hy3:movefocus, r
|
||||
bind = SUPER_SHIFT, K, hy3:movefocus, u
|
||||
bind = SUPER_SHIFT, J, hy3:movefocus, d
|
||||
#bind = SUPER_SHIFT, H, hy3:movefocus, l
|
||||
#bind = SUPER_SHIFT, L, hy3:movefocus, r
|
||||
#bind = SUPER_SHIFT, K, hy3:movefocus, u
|
||||
#bind = SUPER_SHIFT, J, hy3:movefocus, d
|
||||
bind = SUPER_SHIFT, H, movefocus, l
|
||||
bind = SUPER_SHIFT, L, movefocus, r
|
||||
bind = SUPER_SHIFT, K, movefocus, u
|
||||
bind = SUPER_SHIFT, J, movefocus, d
|
||||
|
||||
|
||||
## Some smart actions with Mouse
|
||||
@@ -149,9 +168,9 @@ bind = SUPER, mouse:275, workspace, e+1
|
||||
bind = SUPER, mouse:276, workspace, e-1
|
||||
|
||||
### hy3 bonus
|
||||
bindn = , mouse:272, hy3:focustab, mouse
|
||||
bindn = , mouse_down, hy3:focustab, l, require_hovered
|
||||
bindn = , mouse_up, hy3:focustab, r, require_hovered
|
||||
#bindn = , mouse:272, hy3:focustab, mouse
|
||||
#bindn = , mouse_down, hy3:focustab, l, require_hovered
|
||||
#bindn = , mouse_up, hy3:focustab, r, require_hovered
|
||||
|
||||
|
||||
## Brightness control
|
||||
|
||||
Reference in New Issue
Block a user