complete restructure of hyprland config and some other shit

This commit is contained in:
2026-02-28 17:00:52 +00:00
parent 1425aaa27d
commit 98d5d2a812
16 changed files with 267 additions and 185 deletions

View File

@@ -1,35 +1,23 @@
# Main modifier
$mainMod = mod1 # super / meta / windows key
$submod = super
# Script Path
$scrPath = ~/.config/scripts
# Assign apps
$term = kitty
$editor = kitty -e nvim
$file = thunar
$browser = firefox
$launcher = $scrPath/otter-launch.sh
# Window/Session actions
bind = $mainMod, backspace, exec, $scrPath/dontkillsteam.sh # close focused window
bind = $mainMod, F, fullscreen # toggle the window between focus and fullscreen
bind = $mainMod, e, exec, wlogout -b 5 # Wlogout menu
bind = $mainMod, d, exec, walker # Launcher
# Application shortcuts
bind = $mainMod, return, exec, $term # launch terminal emulator
bind = $mainMod, i, exec, $editor # launch text editor
bind = $mainMod, o, exec, $browser # launch web browser
bind = $mainMod, d, exec, $launcher
# Super key to drag windows
binds {
drag_threshold = 10
scroll_event_delay = 0
}
bindm = Super, mouse:272, movewindow
bindc = SUPER, mouse:272, togglefloating
bindm = $submod, mouse:272, movewindow
bindc = $submod, mouse:272, togglefloating
# Resize floating window with scrollwheels
bind = $submod, mouse_down, resizeactive, 0 -30
@@ -47,34 +35,12 @@ bind = $mainMod, l, movefocus, r
bind = $mainMod, k, movefocus, u
bind = $mainMod, j, movefocus, d
# Switch workspaces
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10
# Move focused window to a workspace
bind = $mainMod+Shift, 1, movetoworkspacesilent, 1
bind = $mainMod+Shift, 2, movetoworkspacesilent, 2
bind = $mainMod+Shift, 3, movetoworkspacesilent, 3
bind = $mainMod+Shift, 4, movetoworkspacesilent, 4
bind = $mainMod+Shift, 5, movetoworkspacesilent, 5
bind = $mainMod+Shift, 6, movetoworkspacesilent, 6
bind = $mainMod+Shift, 7, movetoworkspacesilent, 7
bind = $mainMod+Shift, 8, movetoworkspacesilent, 8
bind = $mainMod+Shift, 9, movetoworkspacesilent, 9
bind = $mainMod+Shift, 0, movetoworkspacesilent, 10
# Move/Switch to special workspace (scratchpad)
bind = $mainMod, MINUS, togglespecialworkspace, scratch
bind = $mainMod SHIFT, MINUS, movetoworkspacesilent, special:scratch
bind = $mainMod, m, togglespecialworkspace, music
# Resize floating windows with keyboard
bind = $submod, left, resizeactive, -50 0
bind = $submod, right, resizeactive, 50 0
@@ -95,3 +61,4 @@ bind = $mainMod SHIFT, L, swapwindow, r
bind = $mainMod SHIFT, K, swapwindow, u
bind = $mainMod SHIFT, J, swapwindow, d
source = ~/.config/hypr/binds-local.conf

View File

@@ -1,7 +1,7 @@
source = ~/.config/hypr/local.conf
source = ~/.config/hypr/binds.conf
source = ~/.config/hypr/style.conf
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/rules.conf
source = ~/.config/hypr/windows.conf
source = ~/.config/hypr/startup.conf
source = ~/.config/hypr/local.conf

View File

@@ -1,2 +0,0 @@
exec-once = "echo hi"
exec-once = xremap ~/.config/xremap/config.yml --device /dev/input/event0 # Remap Caps to esc so i can use nvim without losing it

View File

@@ -87,6 +87,14 @@ windowrule {
match:title = ^(.*Save.*)
}
windowrule {
name = otter-launcher-initial
size = 420 220
float = on
animation = popin 50%
match:class = ^(otter)$
}
windowrule {
name = nodim-fullscreen
match:fullscreen = 1
@@ -118,7 +126,7 @@ layerrule {
ignore_alpha = 0
blur = on
animation = popin 70%
match:namespace = walker
match:namespace = otter-panel
}
layerrule {

View File

@@ -30,6 +30,9 @@ dwindle {
preserve_split = true # You probably want this
permanent_direction_override = true
}
scrolling {
}
# GTK shennanigans
exec = gsettings set org.gnome.desktop.interface icon-theme 'BeautyDream'
@@ -43,7 +46,7 @@ general {
border_size = 2
col.active_border = rgba(cba6f7ff) rgba(cba6f7ff) 45deg
col.inactive_border = rgba(45475acc) rgba(45475acc) 45deg
layout = dwindle
layout = scrolling
resize_on_border = true
}
@@ -54,18 +57,20 @@ group {
col.border_locked_inactive = rgba(b4befecc) rgba(6c7086cc) 45deg
}
scrolling {
column_width = 0.6
focus_fit_method = 1
}
decoration {
rounding = 10
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 0.8
dim_inactive = true
dim_strength = 0.3
blur {
enabled = true
size = 1
@@ -93,8 +98,8 @@ animations {
bezier = smooth, 0.3,0,0.5,1
bezier = my, 0.34,0.77,0.74,1.47
animation = windows, 1, 2, smooth, slide
animation = windowsOut, 1, 2, smooth, slide
animation = windows, 1, 2, smooth, slide right
animation = windowsOut, 1, 2, smooth, slide right
animation = windowsMove, 1, 3, smooth, slide
animation = border, 1, 2, smooth
animation = borderangle, 1, 8, my