refactor: hypr
This commit is contained in:
@@ -59,7 +59,7 @@ env = HYPRCURSOR_SIZE,24
|
||||
|
||||
general {
|
||||
gaps_in = 15
|
||||
gaps_out = 25
|
||||
gaps_out = 30
|
||||
border_size = 1
|
||||
col.active_border = rgba(E96375ff) rgba(9E2238ff) 45deg
|
||||
col.inactive_border = rgba(4B535Bff) # rgba(595959aa)
|
||||
@@ -139,7 +139,7 @@ animations {
|
||||
animation = fadeOut, 1, 1.46, almostLinear
|
||||
animation = fade, 1, 3.03, quick
|
||||
animation = layers, 1, 3.81, easeOutQuint
|
||||
animation = layersIn, 1, 4, easeOutQuint, fade
|
||||
animation = layersIn, 1, 3, easeOutQuint, fade
|
||||
animation = layersOut, 1, 1.5, linear, fade
|
||||
animation = fadeLayersIn, 1, 1.79, almostLinear
|
||||
animation = fadeLayersOut, 1, 1.39, almostLinear
|
||||
@@ -151,9 +151,9 @@ animations {
|
||||
animation = layers, 1, 7, default, slide
|
||||
}
|
||||
|
||||
workspace = 10, monitor:eDP-1
|
||||
workspace = 11, monitor:eDP-1
|
||||
workspace = 12, monitor:eDP-1
|
||||
workspace = 10, monitor:HDMI-A-1
|
||||
workspace = 11, monitor:HDMI-A-1
|
||||
workspace = 12, monitor:HDMI-A-1
|
||||
workspace = 1, monitor:HDMI-A-1
|
||||
workspace = 2, monitor:HDMI-A-1
|
||||
workspace = 3, monitor:HDMI-A-1
|
||||
@@ -166,6 +166,8 @@ workspace = 9, monitor:HDMI-A-1
|
||||
workspace = special:magic
|
||||
workspace = special:dungeon
|
||||
|
||||
workspace = r[13-255], animation:none, on-created-empty:hyprctl dispatch workspace previous
|
||||
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
@@ -281,6 +283,9 @@ bind = $mainMod, N, exec, $notificationCenter
|
||||
# Open floating terminal
|
||||
bind = $mainMod SHIFT, Return, exec, $fastTerminal --class kitty-float
|
||||
|
||||
# Open btop
|
||||
bind = CTRL SHIFT, Escape, exec, kitty --class kitty-float-large btop
|
||||
|
||||
# Open bluetooth
|
||||
bind = $mainMod, F3, exec, $fastTerminal --class kitty-float bluetui
|
||||
|
||||
@@ -301,6 +306,7 @@ bind = $mainMod, S, togglefloating,
|
||||
bind = $mainMod, T, settiled,
|
||||
bind = $mainMod, F, fullscreen,
|
||||
bind = $mainMod CTRL, P, pin
|
||||
bind = $mainMod CTRL, S, pseudo
|
||||
|
||||
# Bring to top
|
||||
bind = $mainMod, Z, bringactivetotop
|
||||
@@ -339,18 +345,18 @@ bindr = $mainMod, minus, workspace, 11
|
||||
bindr = $mainMod, equal, workspace, 12
|
||||
|
||||
# Switch to workspace and send it to another monitor
|
||||
bindo = $mainMod, 1, exec, hyprctl dispatch workspace 1 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 2, exec, hyprctl dispatch workspace 2 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 3, exec, hyprctl dispatch workspace 3 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 4, exec, hyprctl dispatch workspace 4 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 5, exec, hyprctl dispatch workspace 5 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 6, exec, hyprctl dispatch workspace 6 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 7, exec, hyprctl dispatch workspace 7 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 8, exec, hyprctl dispatch workspace 8 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 9, exec, hyprctl dispatch workspace 9 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 0, exec, hyprctl dispatch workspace 10 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, minus, exec, hyprctl dispatch workspace 11 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, equal, exec, hyprctl dispatch workspace 12 && hyprctl dispatch movecurrentworkspacetomonitor +1
|
||||
bindo = $mainMod, 1, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 1
|
||||
bindo = $mainMod, 2, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 2
|
||||
bindo = $mainMod, 3, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 3
|
||||
bindo = $mainMod, 4, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 4
|
||||
bindo = $mainMod, 5, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 5
|
||||
bindo = $mainMod, 6, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 6
|
||||
bindo = $mainMod, 7, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 7
|
||||
bindo = $mainMod, 8, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 8
|
||||
bindo = $mainMod, 9, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 9
|
||||
bindo = $mainMod, 0, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 10
|
||||
bindo = $mainMod, minus, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 11
|
||||
bindo = $mainMod, equal, exec, ~/.config/hypr/scripts/focus_workspace_with_monitor_swap.sh 12
|
||||
|
||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
||||
@@ -584,6 +590,23 @@ windowrule {
|
||||
match:class = ^(kitty-float)$
|
||||
}
|
||||
|
||||
# Floating large kitty
|
||||
windowrule {
|
||||
name = windowrule-21
|
||||
float = on
|
||||
size = 1200 800
|
||||
center = on
|
||||
match:class = ^(kitty-float-large)$
|
||||
}
|
||||
|
||||
# Floating large kitty
|
||||
windowrule {
|
||||
name = waydroid
|
||||
float = on
|
||||
size = 520 960
|
||||
center = on
|
||||
match:class = ^(Waydroid)$
|
||||
}
|
||||
|
||||
windowrule {
|
||||
name = windowrule-3
|
||||
@@ -750,7 +773,6 @@ layerrule {
|
||||
|
||||
# Adjustments for certain workspaces
|
||||
workspace = special:magic, gapsin:20, gapsout:50, shadow:false
|
||||
workspace = 9, gapsin:15, gapsout:40
|
||||
|
||||
###############
|
||||
### PLUGINS ###
|
||||
|
||||
Reference in New Issue
Block a user