hyprconfig

This commit is contained in:
2026-01-19 19:14:04 +01:00
parent f43845bceb
commit bad27e9514
67 changed files with 2189 additions and 0 deletions
@@ -0,0 +1,24 @@
# -----------------------------------------------------
# Animations
# name "Dynamic"
# -----------------------------------------------------
animations {
enabled = true
bezier = wind, 0.05, 0.9, 0.1, 1
bezier = winIn, 0.1, 1.0, 0.1, 1.0
bezier = winOut, 1, 0.35, 1, 1
bezier = liner, 1, 1, 1, 1
bezier = cubic-bezier, 0.215, 0.61, 0.355, 1
animation = windows, 1, 3, wind, popin
animation = windowsIn, 1, 3, winIn, popin 70%
animation = windowsOut, 1, 3, default, popin 80%
animation = windowsMove, 1, 3, wind, slide
animation = border, 1, 1, liner
animation = borderangle, 0, 30, liner, loop
animation = fadeOut, 1, 3, default
animation = fadeIn, 1, 4, default
animation = workspaces, 1, 4, wind
animation = layers, 1, 5, cubic-bezier, fade
animation = fadeLayers, 0, 1, default
animation = fadePopups, 0
}
+15
View File
@@ -0,0 +1,15 @@
debug {
full_cm_proto = true
}
ecosystem {
no_update_news = true
}
cursor {
no_hardware_cursors = true
}
xwayland {
force_zero_scaling = true
}
@@ -0,0 +1,43 @@
# General window decoration
source = ~/.config/hypr/effects/colors/colors.conf
general {
border_size = 4
col.inactive_border = $vivian1 $ado 90deg
col.active_border = $pink $vivian2 60deg
}
decoration {
rounding = 10
rounding_power = 2
blur {
enabled = true
size = 2
passes = 3
new_optimizations = on
ignore_opacity = true
contrast = 1.0
brightness = 1.0
vibrancy = 0.0
vibrancy_darkness = 0.0
xray = false
noise = 0
popups = true
input_methods = true
}
active_opacity = 1.0
inactive_opacity = 1.0
dim_inactive = true
dim_strength = 0.0
fullscreen_opacity = 1.0
shadow {
enabled = true
range = 100
render_power = 4
color = 0x66000000
color_inactive = 0x33000000
offset = 0, 10
scale = 1
}
}
@@ -0,0 +1,36 @@
# -----------------------------------------------------
# General window decoration
# name: "Default"
# -----------------------------------------------------
general {
border_size = 2
}
decoration {
rounding = 10
blur {
enabled = true
size = 6
passes = 2
new_optimizations = on
ignore_opacity = true
xray = false
# blurls = waybar
}
active_opacity = 1.0
inactive_opacity = 0.8
fullscreen_opacity = 1.0
shadow {
enabled = true
range = 30
render_power = 3
color = 0x66000000
}
#drop_shadow = true
#shadow_range = 30
#shadow_render_power = 13
#col.shadow = 0x66000000
}
@@ -0,0 +1,47 @@
# -----------------------------------------------------
# General window decoration
# name: "Default"
# -----------------------------------------------------
general {
border_size = 2
col.inactive_border = rgba(d50000ff) rgba(c300afff) 90deg
col.active_border = rgba(9a00ffff) rgba(de00e7ff) 90deg
}
decoration {
rounding = 10
rounding_power = 2
blur {
enabled = true
size = 2
passes = 4
new_optimizations = on
ignore_opacity = true
contrast = 1.0
brightness = 1.0
vibrancy = 0.5
vibrancy_darkness = 0.1
xray = false
noise = 0
popups = true
input_methods = true
}
active_opacity = 1.0
inactive_opacity = 1.0
dim_inactive = true
dim_strength = 0.0
fullscreen_opacity = 1.0
shadow {
enabled = true
range = 100
render_power = 4
color = 0x66000000
color_inactive = 0x33000000
offset = 0, 10
scale = 1
}
}
windowrule = nodim 1, fullscreenstate:* 2
@@ -0,0 +1,6 @@
# Environment Variables
opengl {
nvidia_anti_flicker = false
}
@@ -0,0 +1,93 @@
$mainMod = SUPER
$altMod = ALT
# Main
bind = , code:121, exec, uwsm-app -S out -- wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = , code:122, exec, uwsm-app -S out -- wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-
bind = , code:123, exec, uwsm-app -S out -- wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ --limit 1.0
bind = , PRINT, exec, uwsm-app -S out -- wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bind = CTRL, PRINT, exec, uwsm-app -S out -- wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bind = $mainMod, PRINT, exec, uwsm-app -S out -- wpctl set-volume @DEFAULT_AUDIO_SOURCE@ 0.32
bind = $mainMod, RETURN, exec, uwsm-app -S out -- zterm # Open terminal
bind = $mainMod, B, exec, uwsm-app -S out -- librewolf # Open browser
bind = $mainMod, E, exec, uwsm-app -S out -- dolphin # Open filemanager
bind = $mainMod, V, exec, uwsm-app -S out -- discord # Open Discord
bind = $mainMod, C, exec, uwsm-app -S out -- Telegram # Open Telegram
bind = $mainMod, S, exec, uwsm-app -S out -- spotify-launcher # Open Spotify
bind = $mainMod, X, exec, uwsm-app -S out -- env SDL_VIDEODRIVER="x11" osu-lazer # pen Osu-Lazer!
# Actions
bind = $mainMod CTRL, Q, exec, uwsm-app -S out -- hyprshutdown --post-cmd 'systemctl poweroff'
# bind = $mainMod SHIFT, S, exec, uwsm-app -S out -- hyprshot -m region -o /home/inorishio/Pictures/Screenshots -s
bind = $mainMod, TAB, workspace, m+1 # Open next workspace
bind = $mainMod, Escape, workspace, m-1 # Open previous workspace
# QML
bind = CTRL, mouse:274, global, I-DeskPet:toggle-Region
bind = SHIFT, mouse:274, global, I-DeskPet:toggle-Layer
bind = $mainMod CTRL, RETURN, global, z-cast:toggle-launcher
bind = $mainMod, N, global, zshell-nc:toggle-nc
bind = $mainMod, L, global, zshell-lock:lock
bind = $mainMod SHIFT, S, global, ZShell:screenshot
bind = $mainMod CTRL, S, global, ZShell:screenshotFreeze
# Mediakeys
bind = $mainMod, code:67, exec, uwsm-app -S out -- playerctl play-pause # F1
bind = $mainMod, code:68, exec, uwsm-app -S out -- playerctl previous # F2
bind = $mainMod, code:69, exec, uwsm-app -S out -- playerctl next # F3
bind = , code:172, exec, uwsm-app -S out -- wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle # Mouse sidebutton
bind = , code:171, workspace, m+1 # Mouse upleft
bind = , code:173, workspace, m-1 # Mouse upright
# Windows
bind = $mainMod, Q, killactive # Kill window
bind = $mainMod, F, fullscreen # Fullscreen
bind = $mainMod, T, togglefloating # Toggle float
bind = $mainMod, J, togglesplit # Toggle split
bind = $mainMod, K, swapsplit # Swapsplit
bind = $mainMod, left, movefocus, l # Move focus left
bind = $mainMod, right, movefocus, r # Move focus right
bind = $mainMod, up, movefocus, u # Move focus up
bind = $mainMod, down, movefocus, d # Move focus down
bindm = $mainMod, mouse:272, movewindow # Move window with the mouse
bindm = $mainMod, mouse:273, resizewindow # Resize window with the mouse
bind = $mainMod SHIFT, right, resizeactive, 100 0 # Increase window width with keyboard
bind = $mainMod SHIFT, left, resizeactive, -100 0 # Reduce window width with keyboard
bind = $mainMod SHIFT, down, resizeactive, 0 100 # Increase window height with keyboard
bind = $mainMod SHIFT, up, resizeactive, 0 -100 # Reduce window height with keyboard
# 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 only window to 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 with window to workspace
bind = $mainMod CTRL, 1, movetoworkspace, 1
bind = $mainMod CTRL, 2, movetoworkspace, 2
bind = $mainMod CTRL, 3, movetoworkspace, 3
bind = $mainMod CTRL, 4, movetoworkspace, 4
bind = $mainMod CTRL, 5, movetoworkspace, 5
bind = $mainMod CTRL, 6, movetoworkspace, 6
bind = $mainMod CTRL, 7, movetoworkspace, 7
bind = $mainMod CTRL, 8, movetoworkspace, 8
bind = $mainMod CTRL, 9, movetoworkspace, 9
bind = $mainMod CTRL, 0, movetoworkspace, 10
+24
View File
@@ -0,0 +1,24 @@
# QT
layerrule = blur on, match:namespace ZShell-Notifs
layerrule = blur_popups on, match:namespace ZShell-Notifs
layerrule = ignore_alpha 0.5, match:namespace ZShell-Notifs
layerrule = blur on, match:namespace ZShell-Bar
layerrule = blur_popups on, match:namespace ZShell-Bar
layerrule = ignore_alpha 0.5, match:namespace ZShell-Bar
layerrule = blur on, match:namespace ZShell-Bar-Exclusion
layerrule = blur_popups on, match:namespace ZShell-Bar-Exclusion
layerrule = ignore_alpha 0.5, match:namespace ZShell-Bar-Exclusion
layerrule = blur on, match:namespace ZShell-Wallpaper
layerrule = blur_popups on, match:namespace ZShell-Wallpaper
layerrule = ignore_alpha 0.5, match:namespace ZShell-Wallpaper
layerrule = blur on, match:namespace ZShell-Launcher
layerrule = blur_popups on, match:namespace ZShell-Launcher
layerrule = ignore_alpha 0.5, match:namespace ZShell-Launcher
layerrule = blur on, match:namespace IDeskPet-Pet
layerrule = blur_popups on, match:namespace IDeskPet-Pet
layerrule = ignore_alpha 0.5, match:namespace IDeskPet-Pet
+17
View File
@@ -0,0 +1,17 @@
# PC Layouts
dwindle {
pseudotile = true
preserve_split = true
}
master {
# Commented out due to compatibility reasons
# new_status = master
}
binds {
workspace_back_and_forth = true
allow_workspace_cycles = true
pass_mouse_when_bound = false
}
+15
View File
@@ -0,0 +1,15 @@
# Keyboard Layout
# https://wiki.hyprland.org/Configuring/Variables/#input
input {
kb_layout = us
kb_variant =
kb_model =
numlock_by_default = true
follow_mouse = 1
mouse_refocus=false
accel_profile = flat
sensitivity = 0
# ESC and CAPS swap
kb_options = compose:ralt, #caps:swapescape
}
+28
View File
@@ -0,0 +1,28 @@
# Laptop Layouts
dwindle {
pseudotile = true
preserve_split = true
}
master {
# Commented out due to compatibility reasons
# new_status = master
}
gestures {
workspace_swipe = true
workspace_swipe_fingers = 3
workspace_swipe_distance = 500
workspace_swipe_invert = true
workspace_swipe_min_speed_to_force = 30
workspace_swipe_cancel_ratio = 0.5
workspace_swipe_create_new = true
workspace_swipe_forever = true
}
binds {
workspace_back_and_forth = true
allow_workspace_cycles = true
pass_mouse_when_bound = false
}
+12
View File
@@ -0,0 +1,12 @@
# -----------------------------------------------------
# Misc settings
# -----------------------------------------------------
misc {
mouse_move_enables_dpms = true
disable_hyprland_logo = true
disable_splash_rendering = true
allow_session_lock_restore = true
session_lock_xray = true
animate_manual_resizes = true
}
@@ -0,0 +1,6 @@
# -----------------------------------------------------
# Monitor Setup
# name: "2560x1440@120"
# -----------------------------------------------------
monitor=,2560x1440@120,auto,1
@@ -0,0 +1,9 @@
# Monitor Setup
monitorv2 {
output = DP-1
mode = 2560x1440@143.97
position = 0x0
scale = 1.334
cm = auto
}
+5
View File
@@ -0,0 +1,5 @@
# exec-once = uwsm app -S out -- ~/.config/hypr/scripts/Workspace_Wallpapers.sh
# exec-once = uwsm app -S out -- ~/.config/hypr/scripts/Stream.sh
# exec-once = uwsm app -S out -- ~/.config/hypr/scripts/Z-Cast.sh
# exec-once = uwsm app -S out -- ~/.config/hypr/scripts/OBS.sh
exec-once = uwsm app -S out -- ~/.config/hypr/scripts/Gtk-Settings.sh
@@ -0,0 +1,43 @@
# Basic apps
windowrule = tile on, match:class ^(librewolf)$
windowrule = float on, match:class ^(pavucontrol)$
windowrule = float on, match:class ^(blueman-manager)$
windowrule = float on, match:class ^(nm-connection-editor)$
windowrule = float on, match:class ^(mpv)$
windowrule = float on, match:class ^(swayimg)$
windowrule = float on, match:title ^(Picture-in-Picture)$
windowrule = pin on, match:title ^(Picture-in-Picture)$
windowrule = move 69.5% 4%, match:title ^(Picture-in-Picture)$
windowrule = float on, match:title ^(Friends List)$
windowrule = float on, match:title ^(Save Image - *)$
# Pavucontrol floating
windowrule = float on, match:class (.*org.pulseaudio.pavucontrol.*)
windowrule = size 700 600, match:class (.*org.pulseaudio.pavucontrol.*)
windowrule = center on, match:class (.*org.pulseaudio.pavucontrol.*)
windowrule = pin on, match:class (.*org.pulseaudio.pavucontrol.*)
# Hyprland Share Picker
windowrule = float on, match:class (hyprland-share-picker)
windowrule = pin on, match:class (hyprland-share-picker)
windowrule = center on, match:title (hyprland-share-picker)
windowrule = size 600 400, match:class (hyprland-share-picker)
# Screenlock
windowrule = idle_inhibit always, match:content 2
windowrule = idle_inhibit always, match:content 3
windowrule = idle_inhibit always, match:fullscreen_state_client 2
windowrule = idle_inhibit always, match:fullscreen_state_internal 2
# Hypr Plugin Manager
windowrule = darkwindow:shade chromakey bkg=[0.122 0.039 0.137] similarity=0.3 targetOpacity=0.9, match:class ^(org.telegram.desktop)$
windowrule = darkwindow:shade chromakey bkg=[0.11 0.122 0.133] similarity=0.3 targetOpacity=0.9, match:class ^(org.openrgb.OpenRGB)$
windowrule = darkwindow:shade chromakey bkg=[0.176 0.2 0.235] similarity=0.3 targetOpacity=0.9, match:class ^(steam)$
windowrule = darkwindow:shade chromakey bkg=[0.125 0.137 0.149] similarity=0.3 targetOpacity=0.9, match:class ^(org.kde.dolphin)$
# # General floating
# windowrule = float on, match:class (dotfiles-floating)
# windowrule = size 1000 700, match:class (dotfiles-floating)
# windowrule = center on, match:class (dotfiles-floating)
# windowrule = pin on, match:class (dotfiles-floating)
+8
View File
@@ -0,0 +1,8 @@
# General window layout and colors
general {
gaps_in = 3
gaps_out = 6
layout = dwindle
resize_on_border = true
}