restructured a bit

This commit is contained in:
pika 2025-03-28 14:49:12 +01:00
parent 96ec3a3285
commit a2f71ba79f
4 changed files with 136 additions and 143 deletions

View file

@ -1,32 +1,21 @@
# ╭──────────╮
# │ MONITORS │
# ╰──────────╯
# ─< See https://wiki.hyprland.org/Configuring/Monitors/ >──────────────────────────────────
# ╭──────────────╮
# │ Source files │
# ╰──────────────╯
$h_conf = ~/.config/hypr
# ─< monitors configuration for allowing different machines to have different files, >────
# without confusing with git and without having to have a huge ignorelist
source = $HOME/.monitors.conf
# ╭──────────────╮
# │ Source files │
# ╰──────────────╯
# ─< source hotkeys file for hyprland >──────────────────────────────────────────────────────
source = $h_conf/hotkeys.conf
source = $h_conf/style.conf
source = $h_conf/workspace-rules.conf
source = $h_conf/windowrules.conf
# ─< initialisation script >─────────────────────────────────────────────────────────────────
exec-once = $h_conf/.scripts/init.sh
# exec-once = hyprpanel
# exec-once = copyq --start-server
# exec-once = $scripts/swww_random.sh ~/.wallpapers/
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# See https://wiki.hyprland.org/Configuring/Environment-variables/
# ╭───────────────────────╮
# │ Environment-variables │
# ╰───────────────────────╯
@ -43,3 +32,134 @@ env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
# ──────────────────────────────────────< windowrules >─────────────────────────────────────
windowrule = workspace special:windoof, title:^(.*[Ll]ooking [Gg]lass.*)
# ╭────────────╮
# │ workspaces │
# ╰────────────╯
workspace = 1, monitor:DP-1 default:true persitent:true
workspace = 2, monitor:HDMI-1 persitent:true
workspace = 3, monitor:DP-1 persitent:true
workspace = 4, monitor:DP-1 persitent:true
workspace = 5, monitor:DP-1
workspace = 6, monitor:DP-1
workspace = 7, monitor:HDMI-1
workspace = 8, monitor:HDMI-1
workspace = 9, monitor:HDMI-1
workspace = magic, monitor:DP-1
workspace = 0, monitor:HDMI-1
# ╭───────────────╮
# │ LOOK AND FEEL │
# ╰───────────────╯
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 2
gaps_out = 8
border_size = 1
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(ffffffe0) rgba(8f8f8fe0) 45deg
col.inactive_border = rgba(2f2f2fe0)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = true
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
# layout = master
layout = dwindle
}
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 2
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1.0
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 2
vibrancy = 0.1696
}
}
# https://wiki.hyprland.org/Configuring/Variables/#animations
# animations {
# enabled = yes
#
# bezier = myBezier, 0.05, 0.9, 0.1, 1.05
# bezier = linear, 0.0, 0.0, 1.0, 1.0
# bezier = wind, 0.05, 0.9, 0.1, 1.05
# bezier = winIn, 0.1, 1.1, 0.1, 1.1
# bezier = winOut, 0.3, -0.3, 0, 1
# bezier = slow, 0, 0.85, 0.3, 1
# bezier = overshot, 0.7, 0.6, 0.1, 1.1
# bezier = bounce, 1.1, 1.6, 0.1, 0.85
# bezier = sligshot, 1, -1, 0.15, 1.25
# bezier = nice, 0, 6.9, 0.5, -4.20
#
# animation = windowsIn, 1, 7, slow, popin
# animation = windowsOut, 1, 7, winOut, popin
# animation = windowsMove, 1, 7, wind, slide
# animation = border, 1, 10, linear
# # animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors
# animation = fade, 1, 5, overshot
# animation = workspaces, 1, 7, wind
# animation = windows, 1, 7, bounce, popin
# }
animations {
enabled = true
# Animation curves
bezier = linear, 0, 0, 1, 1
bezier = md3_standard, 0.2, 0, 0, 1
bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = menu_decel, 0.1, 1, 0, 1
bezier = menu_accel, 0.38, 0.04, 1, 0.07
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
# Animation configs
animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel
# animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
# animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 3, md3_decel, slidevert
}
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
enable_swallow = true
swallow_regex = ^(ghostty|wezterm-gui|kitty|Alacritty|foot)$
animate_manual_resizes = true
}

View file

@ -1,115 +0,0 @@
#####################
### LOOK AND FEEL ###
#####################
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
general {
gaps_in = 2
gaps_out = 8
border_size = 1
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(ffffffe0) rgba(8f8f8fe0) 45deg
col.inactive_border = rgba(2f2f2fe0)
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = true
# Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false
# layout = master
layout = dwindle
}
# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
rounding = 2
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1.0
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {
enabled = true
size = 3
passes = 2
vibrancy = 0.1696
}
}
# https://wiki.hyprland.org/Configuring/Variables/#animations
# animations {
# enabled = yes
#
# bezier = myBezier, 0.05, 0.9, 0.1, 1.05
# bezier = linear, 0.0, 0.0, 1.0, 1.0
# bezier = wind, 0.05, 0.9, 0.1, 1.05
# bezier = winIn, 0.1, 1.1, 0.1, 1.1
# bezier = winOut, 0.3, -0.3, 0, 1
# bezier = slow, 0, 0.85, 0.3, 1
# bezier = overshot, 0.7, 0.6, 0.1, 1.1
# bezier = bounce, 1.1, 1.6, 0.1, 0.85
# bezier = sligshot, 1, -1, 0.15, 1.25
# bezier = nice, 0, 6.9, 0.5, -4.20
#
# animation = windowsIn, 1, 7, slow, popin
# animation = windowsOut, 1, 7, winOut, popin
# animation = windowsMove, 1, 7, wind, slide
# animation = border, 1, 10, linear
# # animation = borderangle, 1, 180, linear, loop #used by rainbow borders and rotating colors
# animation = fade, 1, 5, overshot
# animation = workspaces, 1, 7, wind
# animation = windows, 1, 7, bounce, popin
# }
animations {
enabled = true
# Animation curves
bezier = linear, 0, 0, 1, 1
bezier = md3_standard, 0.2, 0, 0, 1
bezier = md3_decel, 0.05, 0.7, 0.1, 1
bezier = md3_accel, 0.3, 0, 0.8, 0.15
bezier = overshot, 0.05, 0.9, 0.1, 1.1
bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
bezier = menu_decel, 0.1, 1, 0, 1
bezier = menu_accel, 0.38, 0.04, 1, 0.07
bezier = easeInOutCirc, 0.85, 0, 0.15, 1
bezier = easeOutCirc, 0, 0.55, 0.45, 1
bezier = easeOutExpo, 0.16, 1, 0.3, 1
bezier = softAcDecel, 0.26, 0.26, 0.15, 1
bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
# Animation configs
animation = windows, 1, 3, md3_decel, popin 60%
animation = windowsIn, 1, 3, md3_decel, popin 60%
animation = windowsOut, 1, 3, md3_accel, popin 60%
animation = border, 1, 10, default
animation = fade, 1, 3, md3_decel
# animation = layers, 1, 2, md3_decel, slide
animation = layersIn, 1, 3, menu_decel, slide
animation = layersOut, 1, 1.6, menu_accel
animation = fadeLayersIn, 1, 2, menu_decel
animation = fadeLayersOut, 1, 4.5, menu_accel
animation = workspaces, 1, 7, menu_decel, slide
# animation = workspaces, 1, 2.5, softAcDecel, slide
# animation = workspaces, 1, 7, menu_decel, slidefade 15%
# animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
animation = specialWorkspace, 1, 3, md3_decel, slidevert
}
# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
enable_swallow = true
swallow_regex = ^(wezterm-gui|kitty|Alacritty|foot)$
animate_manual_resizes = true
}

View file

@ -1 +0,0 @@
windowrule = workspace special:windoof, title:^(.*[Ll]ooking [Gg]lass.*)

View file

@ -1,11 +0,0 @@
workspace = 1, monitor:DP-1 default:true persitent:true
workspace = 2, monitor:HDMI-1 persitent:true
workspace = 3, monitor:DP-1 persitent:true
workspace = 4, monitor:DP-1 persitent:true
workspace = 5, monitor:DP-1
workspace = 6, monitor:DP-1
workspace = 7, monitor:HDMI-1
workspace = 8, monitor:HDMI-1
workspace = 9, monitor:HDMI-1
# workspace = magic, monitor:DP-1
# workspace = 0, monitor:HDMI-1