mirror of
https://github.com/eliasrenman/dotfiles.git
synced 2026-03-16 20:46:08 +01:00
feat: hyprland basic config
This commit is contained in:
124
hypr/rice.conf
Normal file
124
hypr/rice.conf
Normal file
@@ -0,0 +1,124 @@
|
||||
|
||||
#
|
||||
# General settings
|
||||
#
|
||||
general {
|
||||
gaps_in=10
|
||||
gaps_out=15
|
||||
border_size=3
|
||||
col.inactive_border=rgba(f7768eff) rgba(73dacaff) 45deg
|
||||
col.active_border=rgba(73dacaff) rgba(f7768eff) 45deg
|
||||
no_border_on_floating = false
|
||||
layout = dwindle
|
||||
}
|
||||
|
||||
misc {
|
||||
disable_hyprland_logo = true
|
||||
disable_splash_rendering = true
|
||||
mouse_move_enables_dpms = true
|
||||
enable_swallow = true
|
||||
swallow_regex = ^(alacritty)$
|
||||
}
|
||||
|
||||
decoration {
|
||||
#
|
||||
# Round corners
|
||||
#
|
||||
rounding = 18
|
||||
multisample_edges = true
|
||||
|
||||
#
|
||||
# Opacity
|
||||
#
|
||||
active_opacity = 1.0
|
||||
inactive_opacity = 0.95
|
||||
|
||||
#
|
||||
# Blur
|
||||
#
|
||||
blur = true
|
||||
blur_size = 2
|
||||
blur_passes = 2
|
||||
blur_new_optimizations = true
|
||||
|
||||
|
||||
#
|
||||
# Shadow
|
||||
#
|
||||
drop_shadow = true
|
||||
shadow_ignore_window = true
|
||||
shadow_offset = 2 2
|
||||
shadow_range = 8
|
||||
shadow_render_power = 10
|
||||
col.shadow = rgba(00000055)
|
||||
blurls = gtk-layer-shell
|
||||
blurls = lockscreen
|
||||
}
|
||||
|
||||
#
|
||||
# Animation
|
||||
#
|
||||
animations {
|
||||
enabled = true
|
||||
# █▄▄ █▀▀ ▀█ █ █▀▀ █▀█ █▀▀ █░█ █▀█ █░█ █▀▀
|
||||
# █▄█ ██▄ █▄ █ ██▄ █▀▄ █▄▄ █▄█ █▀▄ ▀▄▀ ██▄
|
||||
bezier = overshot, 0.05, 0.5, 0.1, 1.05
|
||||
bezier = smoothOut, 0.36, 0, 0.66, -0.56
|
||||
bezier = smoothIn, 0.25, 0.8, 0.5, 1
|
||||
|
||||
animation = windows, 1, 5, overshot, slide
|
||||
animation = windowsOut, 1, 4, smoothOut, slide
|
||||
animation = windowsMove, 1, 4, default
|
||||
animation = border, 1, 10, default
|
||||
animation = fade, 1, 10, smoothIn
|
||||
animation = fadeDim, 1, 10, smoothIn
|
||||
animation = workspaces, 1, 6, default
|
||||
|
||||
}
|
||||
|
||||
#
|
||||
# Layouts
|
||||
#
|
||||
dwindle {
|
||||
no_gaps_when_only = false
|
||||
pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # you probably want this
|
||||
}
|
||||
|
||||
#
|
||||
# Window rules
|
||||
#
|
||||
windowrule = float, file_progress
|
||||
windowrule = float, confirm
|
||||
windowrule = float, dialog
|
||||
windowrule = float, download
|
||||
windowrule = float, notification
|
||||
windowrule = float, error
|
||||
windowrule = float, splash
|
||||
windowrule = float, confirmreset
|
||||
windowrule = float, title:Open File
|
||||
windowrule = float, title:branchdialog
|
||||
windowrule = float, Lxappearance
|
||||
windowrule = float, wofi
|
||||
windowrule = float,viewnior
|
||||
# windowrule = float,feh
|
||||
windowrule = float, pavucontrol-qt
|
||||
windowrule = float, pavucontrol
|
||||
# windowrule = float, file-roller
|
||||
windowrule = fullscreen, wlogout
|
||||
windowrule = float, title:wlogout
|
||||
windowrule = fullscreen, title:wlogout
|
||||
windowrule = idleinhibit focus, mpv
|
||||
windowrule = idleinhibit fullscreen, firefox
|
||||
windowrule = float, title:^(Media viewer)$
|
||||
windowrule = float, title:^(Volume Control)$
|
||||
windowrule = float, title:^(Picture-in-Picture)$
|
||||
windowrule = size 800 600, title:^(Volume Control)$
|
||||
windowrule = move 39% 420, title:^(Volume Control)$
|
||||
|
||||
windowrulev2 = workspace 1, class:^(alacritty)$
|
||||
windowrulev2 = workspace 2, class:^(firefox)$
|
||||
windowrulev2 = workspace 3, class:^(discord)$
|
||||
windowrulev2 = workspace 3, class:^(Slack)$
|
||||
windowrulev2 = workspace special, class:^(thunar)$
|
||||
windowrulev2 = workspace special, class:^(YouTube Music)$
|
||||
Reference in New Issue
Block a user