switch to hyprland lua

This commit is contained in:
2026-05-17 11:29:41 +02:00
parent dc0bfb0d23
commit 75675af8d1
46 changed files with 8711 additions and 10223 deletions
-19
View File
@@ -1,19 +0,0 @@
#################
### AUTOSTART ###
#################
exec-once = gsettings set org.gnome.desktop.interface gtk-theme "Serpensortia"
exec-once = gsettings set org.gnome.desktop.interface icon-theme "Silvery-Dark-Icons"
exec-once = gsettings set org.gnome.desktop.interface cursor-theme "Volantes Cursors"
exec-once = gsettings set org.gnome.desktop.interface font-name "Fira Sans Semi-Bold 11"
exec-once = gsettings set org.gnome.desktop.interface color-scheme "prefer_dark"
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once = systemctl --user start hyprpolkitagent
exec-once = hyprpaper &
exec-once = waybar &
exec-once = dunst &
exec-once = discord &
+22
View File
@@ -0,0 +1,22 @@
--################
--## AUTOSTART ###
--################
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
-- Autostart necessary processes (like notifications daemons, status bars, etc.)
-- Or execute your favorite apps at launch like this:
hl.on("hyprland.start", function()
hl.exec_cmd('gsettings set org.gnome.desktop.interface gtk-theme "Serpensortia"')
hl.exec_cmd('gsettings set org.gnome.desktop.interface icon-theme "Breeze"')
hl.exec_cmd('gsettings set org.gnome.desktop.interface cursor-theme "Volantes Cursors"')
hl.exec_cmd('gsettings set org.gnome.desktop.interface font-name "Fira Sans Semi-Bold 11"')
hl.exec_cmd('"gsettings set org.gnome.desktop.interface color-scheme "prefer_dark"')
hl.exec_cmd("systemctl --user start hyprpolkitagent")
hl.exec_cmd("hyprpaper &")
hl.exec_cmd("waybar &")
hl.exec_cmd("dunst &")
hl.exec_cmd("discord &")
end)
-56
View File
@@ -1,56 +0,0 @@
#############################
### ENVIRONMENT VARIABLES ###
#############################
# See https://wiki.hypr.land/Configuring/Environment-variables/
# XDG Desktop Portal
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
# QT
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_QPA_PLATFORMTHEME,qt6ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
# GTK
env = GDK_SCALE,1
env = XCURSOR_SIZE,20
env = HYPRCURSOR_SIZE,20
# Mozilla
env = MOZ_ENABLE_WAYLAND,1
env = EGL_PLATFORM,wayland
# Disable appimage launcher by default
env = APPIMAGELAUNCHER_DISABLE,1
# OZONE
env = OZONE_PLATFORM,wayland
# NVIDIA https://wiki.hyprland.org/Nvidia/
env = WLR_NO_HARDWARE_CURSORS,1 # On hyprland >v0.41, now configured on variable cursor section
env = LIBVA_DRIVER_NAME,nvidia
env = GBM_BACKEND,nvidia-drm
env = SDL_VIDEODRIVER,wayland
env = WLR_DRM_NO_ATOMIC,1
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = __GL_VRR_ALLOWED,1
env = __NV_PRIME_RENDER_OFFLOAD,1
env = __VK_LAYER_NV_optimus,NVIDIA_only
# Default Apps
env = TERMINAL,$terminal
env = VISUAL,vim
env = EDITOR,vim
env = SHELL,fish
env = BROWSER,$browser
env = MANGOHUD,1
cursor {
no_hardware_cursors = true
}
+61
View File
@@ -0,0 +1,61 @@
--############################
--## ENVIRONMENT VARIABLES ###
--############################
-- See https://wiki.hypr.land/Configuring/Environment-variables/
-- XDG Desktop Portal
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.env("XDG_CURRENT_DESKTOP", "Hyprland")
hl.env("XDG_SESSION_TYPE", "wayland")
hl.env("XDG_SESSION_DESKTOP", "Hyprland")
-- QT
hl.env("QT_QPA_PLATFORM", "wayland;xcb")
hl.env("QT_QPA_PLATFORMTHEME", "qt6ct")
hl.env("QT_WAYLAND_DISABLE_WINDOWDECORATION", "1")
hl.env("QT_AUTO_SCREEN_SCALE_FACTOR", "1")
-- GTK
hl.env("GDK_SCALE", "1")
hl.env("XCURSOR_SIZE", "20")
hl.env("HYPRCURSOR_SIZE", "20")
-- Mozilla
hl.env("MOZ_ENABLE_WAYLAND", "1")
hl.env("EGL_PLATFORM", "wayland")
-- Disable appimage launcher by default
hl.env("APPIMAGELAUNCHER_DISABLE", "1")
-- OZONE
hl.env("OZONE_PLATFORM", "wayland")
-- NVIDIA https://wiki.hyprland.org/Nvidia/
hl.env("WLR_NO_HARDWARE_CURSORS", "1")
hl.env("LIBVA_DRIVER_NAME", "nvidia")
hl.env("GBM_BACKEND", "nvidia-drm")
hl.env("SDL_VIDEODRIVER", "wayland")
hl.env("WLR_DRM_NO_ATOMIC", "1")
hl.env("__GLX_VENDOR_LIBRARY_NAME", "nvidia")
hl.env("__GL_VRR_ALLOWED", "1")
hl.env("__NV_PRIME_RENDER_OFFLOAD", "1")
hl.env("__VK_LAYER_NV_optimus", "NVIDIA_only")
-- Default Apps
hl.env("TERMINAL", "$terminal")
hl.env("VISUAL", "vim")
hl.env("EDITOR", "vim")
hl.env("SHELL", "fish")
hl.env("BROWSER", "$browser")
hl.env("MANGOHUD", "1")
hl.config({
cursor = {
no_hardware_cursors = true,
},
})
-23
View File
@@ -1,23 +0,0 @@
#############
### INPUT ###
#############
# https://wiki.hypr.land/Configuring/Variables/#input
input {
kb_layout = de
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
numlock_by_default = 1
touchpad {
natural_scroll = false
}
}
# See https://wiki.hypr.land/Configuring/Gestures
gesture = 3, horizontal, workspace
+29
View File
@@ -0,0 +1,29 @@
--############
--## INPUT ###
--############
-- https://wiki.hypr.land/Configuring/Variables/#input
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.gesture({
fingers = 3,
direction = "horizontal",
action = "workspace",
})
hl.config({
input = {
kb_layout = "de",
kb_variant = "",
kb_model = "",
kb_options = "",
kb_rules = "",
follow_mouse = 1,
sensitivity = 0,
numlock_by_default = 1,
touchpad = {
natural_scroll = false,
},
},
-- See https://wiki.hypr.land/Configuring/Gestures
})
-75
View File
@@ -1,75 +0,0 @@
###################
### KEYBINDINGS ###
###################
# See https://wiki.hypr.land/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
bind = $mainMod, T, exec, $terminal # Open Terminal
bind = $mainMod, C, killactive, # Kill active Window
bind = $mainMod, E, exec, $fileManager # Open File Manager
bind = $mainMod, Q, exec, $browser # Open Browser
bind = $mainMod, V, togglefloating, # Toggle Window floating
bind = $mainMod, space, exec, $menu # Open Menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, F11, fullscreen, # Toggle Window fullscreen
bind = $mainMod, J, togglesplit, # Toggle Window split
bind = $mainMod, L, exec, hyprlock # Lock Desktop
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod SHIFT, left, movetoworkspace, e+1
bind = $mainMod SHIFT, right, movetoworkspace, e-1
bind = $mainMod SHIFT, up, movetoworkspace, 2
bind = $mainMod SHIFT, downu, movetoworkspace, 4
# Switch workspaces with mainMod + [0-9]
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 active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Example special workspace (scratchpad)
bind = $mainMod, S, togglespecialworkspace, magic
bind = $mainMod SHIFT, S, movetoworkspace, special:magic
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = alt, mouse:272, movewindow
bindm = alt, mouse:273, resizewindow
# Laptop multimedia keys for volume and LCD brightness
bindel = ,XF86AudioRaiseVolume, exec, $SCRIPT_DIR/volume up
bindel = ,XF86AudioLowerVolume, exec, $SCRIPT_DIR/volume down
bindel = ,XF86AudioMute, exec, $SCRIPT_DIR/volume mute
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+#
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
# Requires playerctl
bindl = , XF86AudioNext, exec, playerctl next
bindl = , XF86AudioPause, exec, playerctl play-pause
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
+77
View File
@@ -0,0 +1,77 @@
--##################
--## KEYBINDINGS ###
--##################
-- See https://wiki.hypr.land/Configuring/Keywords/
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
local mainMod = "SUPER"
-- Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
hl.bind(mainMod .. " + T", hl.dsp.exec_cmd(TERMINAL, {float = true, size = {1920, 1080}}))
hl.bind(mainMod .. " + C", hl.dsp.window.close())
hl.bind(mainMod .. " + E", hl.dsp.exec_cmd(FILEMANAGER))
hl.bind(mainMod .. " + Q", hl.dsp.exec_cmd(BROWSER))
hl.bind(mainMod .. " + V", hl.dsp.window.float({ action = "toggle" }))
hl.bind(mainMod .. " + space", hl.dsp.exec_cmd(MENU))
hl.bind(mainMod .. " + P", hl.dsp.window.pseudo())
hl.bind(mainMod .. " + F11", hl.dsp.window.fullscreen(""))
hl.bind(mainMod .. " + J", hl.dsp.layout("togglesplit"))
hl.bind(mainMod .. " + L", hl.dsp.exec_cmd("hyprlock"))
-- Move focus with mainMod + arrow keys
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
hl.bind(mainMod .. " + right", hl.dsp.focus({ direction = "right" }))
hl.bind(mainMod .. " + up", hl.dsp.focus({ direction = "up" }))
hl.bind(mainMod .. " + down", hl.dsp.focus({ direction = "down" }))
hl.bind(mainMod .. " + SHIFT + left", hl.dsp.window.move({ workspace = "e+1" }))
hl.bind(mainMod .. " + SHIFT + right", hl.dsp.window.move({ workspace = "e-1" }))
hl.bind(mainMod .. " + SHIFT + up", hl.dsp.window.move({ workspace = 2 }))
hl.bind(mainMod .. " + SHIFT + down", hl.dsp.window.move({ workspace = 4 }))
-- Switch workspaces with mainMod + [0-9]
hl.bind(mainMod .. " + 1", hl.dsp.focus({ workspace = 1 }))
hl.bind(mainMod .. " + 2", hl.dsp.focus({ workspace = 2 }))
hl.bind(mainMod .. " + 3", hl.dsp.focus({ workspace = 3 }))
hl.bind(mainMod .. " + 4", hl.dsp.focus({ workspace = 4 }))
hl.bind(mainMod .. " + 5", hl.dsp.focus({ workspace = 5 }))
hl.bind(mainMod .. " + 6", hl.dsp.focus({ workspace = 6 }))
hl.bind(mainMod .. " + 7", hl.dsp.focus({ workspace = 7 }))
hl.bind(mainMod .. " + 8", hl.dsp.focus({ workspace = 8 }))
hl.bind(mainMod .. " + 9", hl.dsp.focus({ workspace = 9 }))
hl.bind(mainMod .. " + 0", hl.dsp.focus({ workspace = 10 }))
-- Move active window to a workspace with mainMod + SHIFT + [0-9]
hl.bind(mainMod .. " + SHIFT + 1", hl.dsp.window.move({ workspace = 1 }))
hl.bind(mainMod .. " + SHIFT + 2", hl.dsp.window.move({ workspace = 2 }))
hl.bind(mainMod .. " + SHIFT + 3", hl.dsp.window.move({ workspace = 3 }))
hl.bind(mainMod .. " + SHIFT + 4", hl.dsp.window.move({ workspace = 4 }))
hl.bind(mainMod .. " + SHIFT + 5", hl.dsp.window.move({ workspace = 5 }))
hl.bind(mainMod .. " + SHIFT + 6", hl.dsp.window.move({ workspace = 6 }))
hl.bind(mainMod .. " + SHIFT + 7", hl.dsp.window.move({ workspace = 7 }))
hl.bind(mainMod .. " + SHIFT + 8", hl.dsp.window.move({ workspace = 8 }))
hl.bind(mainMod .. " + SHIFT + 9", hl.dsp.window.move({ workspace = 9 }))
hl.bind(mainMod .. " + SHIFT + 0", hl.dsp.window.move({ workspace = 10 }))
-- Example special workspace (scratchpad)
hl.bind(mainMod .. " + S", hl.dsp.workspace.toggle_special("magic"))
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.window.move({ workspace = "special:magic" }))
-- Move/resize windows with mainMod + LMB/RMB and dragging
hl.bind("ALT + mouse:272", hl.dsp.window.drag())
hl.bind("ALT + mouse:273", hl.dsp.window.resize())
-- Laptop multimedia keys for volume and LCD brightness
hl.bind("XF86AudioRaiseVolume", hl.dsp.exec_cmd(SCRIPT_DIR .. "/volume up"), { locked = true, repeating = true })
hl.bind("XF86AudioLowerVolume", hl.dsp.exec_cmd(SCRIPT_DIR .. "/volume down"), { locked = true, repeating = true })
hl.bind("XF86AudioMute", hl.dsp.exec_cmd(SCRIPT_DIR .. "/volume mute"), { locked = true, repeating = true })
hl.bind("XF86AudioMicMute", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%+"), { locked = true, repeating = true })
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl -e4 -n2 set 5%-"), { locked = true, repeating = true })
-- Requires playerctl
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
hl.bind("XF86AudioPause", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
-10
View File
@@ -1,10 +0,0 @@
################
### MONITORS ###
################
# See https://wiki.hypr.land/Configuring/Monitors/
monitor=$left-monitor, 2560x1440@120.00, 0x0, 1
monitor=$bottom-monitor, 2560x1440@239.97, 2560x0, 1
monitor=$right-monitor, 2560x1440@239.97, 5120x0, 1
monitor=$top-monitor, 2560x1440@239.97, 2560x-1440, 1
monitor=,preferred,auto,auto
+42
View File
@@ -0,0 +1,42 @@
--###############
--## MONITORS ###
--###############
-- See https://wiki.hypr.land/Configuring/Monitors/
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.monitor({
output = LEFT_MONITOR,
mode = "2560x1440@120.00",
position = "0x0",
scale = "1",
})
hl.monitor({
output = BOTTOM_MONITOR,
mode = "2560x1440@239.97",
position = "2560x0",
scale = "1",
})
hl.monitor({
output = RIGHT_MONITOR,
mode = "2560x1440@239.97",
position = "5120x0",
scale = "1",
})
hl.monitor({
output = TOP_MONITOR,
mode = "2560x1440@239.97",
position = "2560x-1440",
scale = "1",
})
hl.monitor({
output = "",
mode = "preferred",
position = "auto",
scale = "auto",
})
-15
View File
@@ -1,15 +0,0 @@
###################
### PERMISSIONS ###
###################
# See https://wiki.hypr.land/Configuring/Permissions/
# Please note permission changes here require a Hyprland restart and are not applied on-the-fly
# for security reasons
# ecosystem {
# enforce_permissions = 1
# }
# permission = /usr/(bin|local/bin)/grim, screencopy, allow
# permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
# permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
+15
View File
@@ -0,0 +1,15 @@
--##################
--## PERMISSIONS ###
--##################
-- See https://wiki.hypr.land/Configuring/Permissions/
-- Please note permission changes here require a Hyprland restart and are not applied on-the-fly
-- for security reasons
-- ecosystem {
-- enforce_permissions = 1
-- }
-- permission = /usr/(bin|local/bin)/grim, screencopy, allow
-- permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
-- permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
-18
View File
@@ -1,18 +0,0 @@
source = ./style/colors.conf
source = ./style/general.conf
source = ./style/decoration.conf
source = ./style/animations.conf
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
}
master {
new_status = master
}
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. :(
}
+24
View File
@@ -0,0 +1,24 @@
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
-- Source: ./style/colors.conf — convert this file to Lua and ensure it is on Lua's package.path.
require("conf/style/colors")
-- Source: ./style/general.conf — convert this file to Lua and ensure it is on Lua's package.path.
require("conf/style/general")
-- Source: ./style/decoration.conf — convert this file to Lua and ensure it is on Lua's package.path.
require("conf/style/decoration")
-- Source: ./style/animations.conf — convert this file to Lua and ensure it is on Lua's package.path.
require("conf/style/animations")
hl.config({
dwindle = {
preserve_split = true,
},
master = {
new_status = "master",
},
misc = {
force_default_wallpaper = -1,
disable_hyprland_logo = false,
},
})
-35
View File
@@ -1,35 +0,0 @@
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
}
+100
View File
@@ -0,0 +1,100 @@
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.curve("linear", { type = "bezier", points = { { 0, 0 }, { 1, 1 } } })
hl.curve("md3_standard", { type = "bezier", points = { { 0.2, 0 }, { 0, 1 } } })
hl.curve("md3_decel", { type = "bezier", points = { { 0.05, 0.7 }, { 0.1, 1 } } })
hl.curve("md3_accel", { type = "bezier", points = { { 0.3, 0 }, { 0.8, 0.15 } } })
hl.curve("overshot", { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1.1 } } })
hl.curve("crazyshot", { type = "bezier", points = { { 0.1, 1.5 }, { 0.76, 0.92 } } })
hl.curve("hyprnostretch", { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1.0 } } })
hl.curve("menu_decel", { type = "bezier", points = { { 0.1, 1 }, { 0, 1 } } })
hl.curve("menu_accel", { type = "bezier", points = { { 0.38, 0.04 }, { 1, 0.07 } } })
hl.curve("easeInOutCirc", { type = "bezier", points = { { 0.85, 0 }, { 0.15, 1 } } })
hl.curve("easeOutCirc", { type = "bezier", points = { { 0, 0.55 }, { 0.45, 1 } } })
hl.curve("easeOutExpo", { type = "bezier", points = { { 0.16, 1 }, { 0.3, 1 } } })
hl.curve("softAcDecel", { type = "bezier", points = { { 0.26, 0.26 }, { 0.15, 1 } } })
hl.curve("md2", { type = "bezier", points = { { 0.4, 0 }, { 0.2, 1 } } })
hl.animation({
leaf = "windows",
enabled = true,
speed = 3,
bezier = "md3_decel",
style = "popin 60%",
})
hl.animation({
leaf = "windowsIn",
enabled = true,
speed = 3,
bezier = "md3_decel",
style = "popin 60%",
})
hl.animation({
leaf = "windowsOut",
enabled = true,
speed = 3,
bezier = "md3_accel",
style = "popin 60%",
})
hl.animation({
leaf = "border",
enabled = true,
speed = 10,
bezier = "default",
})
hl.animation({
leaf = "fade",
enabled = true,
speed = 3,
bezier = "md3_decel",
})
hl.animation({
leaf = "layersIn",
enabled = true,
speed = 3,
bezier = "menu_decel",
style = "slide",
})
hl.animation({
leaf = "layersOut",
enabled = true,
speed = 1.6,
bezier = "menu_accel",
})
hl.animation({
leaf = "fadeLayersIn",
enabled = true,
speed = 2,
bezier = "menu_decel",
})
hl.animation({
leaf = "fadeLayersOut",
enabled = true,
speed = 4.5,
bezier = "menu_accel",
})
hl.animation({
leaf = "workspaces",
enabled = true,
speed = 7,
bezier = "menu_decel",
style = "slide",
})
hl.animation({
leaf = "specialWorkspace",
enabled = true,
speed = 3,
bezier = "md3_decel",
style = "slidevert",
})
hl.config({
animations = {
enabled = true,
-- Animation curves
-- Animation configs
-- animation = layers, 1, 2, md3_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%
},
})
-4
View File
@@ -1,4 +0,0 @@
general {
col.active_border = rgba(124326ff)
col.inactive_border = rgba(080c08ff)
}
+11
View File
@@ -0,0 +1,11 @@
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.config({
general = {
col = {
active_border = "rgba(124326ff)",
inactive_border = "rgba(080c08ff)",
},
},
})
-8
View File
@@ -1,8 +0,0 @@
decoration {
rounding = 8
blur {
enabled = true
size = 5
passes = 2
}
}
+13
View File
@@ -0,0 +1,13 @@
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.config({
decoration = {
rounding = 8,
blur = {
enabled = true,
size = 5,
passes = 2,
},
},
})
-14
View File
@@ -1,14 +0,0 @@
general {
gaps_in = 5
gaps_out = 10
border_size = 5
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false
# Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on
allow_tearing = false
layout = dwindle
}
+15
View File
@@ -0,0 +1,15 @@
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.config({
general = {
gaps_in = 5,
gaps_out = 10,
border_size = 5,
-- Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false,
-- Please see https://wiki.hypr.land/Configuring/Tearing/ before you turn this on
allow_tearing = false,
layout = "dwindle",
},
})
-63
View File
@@ -1,63 +0,0 @@
##############################
### WINDOWS AND WORKSPACES ###
##############################
# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
# Example windowrules that are useful
# Apps
windowrule {
name = intellij
match:class = jetbrains-idea
opacity = 0.8
}
windowrule {
name = thunar
match:class = thunar
opacity = 0.8
}
windowrule {
name = steam
match:class = steam
opacity = 0.8
}
windowrule {
name = discord
match:class = discord
monitor = $right-monitor
}
windowrule {
# Ignore maximize requests from all apps. You'll probably like this.
name = suppress-maximize-events
match:class = .*
suppress_event = maximize
}
windowrule {
# Fix some dragging issues with XWayland
name = fix-xwayland-drags
match:class = ^$
match:title = ^$
match:xwayland = true
match:float = true
match:fullscreen = false
match:pin = false
no_focus = true
}
# Hyprland-run windowrule
windowrule {
name = move-hyprland-run
match:class = hyprland-run
move = 20 monitor_h-120
float = yes
}
+77
View File
@@ -0,0 +1,77 @@
--#############################
--## WINDOWS AND WORKSPACES ###
--#############################
-- See https://wiki.hypr.land/Configuring/Window-Rules/ for more
-- See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules
-- Example windowrules that are useful
-- Apps
-- Generated by hyprlang2lua. Review TODOs before reloading Hyprland.
hl.window_rule({
name = "intellij",
match = {
class = "jetbrains-idea",
},
opacity = 0.8,
})
hl.window_rule({
name = "thunar",
match = {
class = "thunar",
},
opacity = 0.8,
})
hl.window_rule({
name = "steam",
match = {
class = "steam",
},
opacity = 0.8,
})
hl.window_rule({
name = "discord",
match = {
class = "discord",
},
monitor = RIGHT_MONITOR,
})
hl.window_rule({
name = "suppress-maximize-events",
match = {
class = ".*",
},
-- Ignore maximize requests from all apps. You'll probably like this.
suppress_event = "maximize",
})
hl.window_rule({
name = "fix-xwayland-drags",
match = {
class = "^$",
title = "^$",
xwayland = true,
float = true,
fullscreen = false,
pin = false,
},
-- Fix some dragging issues with XWayland
-- TODO: manual review — unmapped window rule action: "no_focus true"
})
-- Hyprland-run windowrule
hl.window_rule({
name = "move-hyprland-run",
match = {
class = "hyprland-run",
},
move = "20 monitor_h-120",
float = true,
})