Refactor Hyprland configs, introduce Sithego for theming, and add supporting scripts

This commit is contained in:
2026-02-17 20:42:41 +01:00
parent c57ef06442
commit 8b153d54ac
60 changed files with 1896 additions and 76 deletions
+19
View File
@@ -0,0 +1,19 @@
#################
### 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 &
+54
View File
@@ -0,0 +1,54 @@
#############################
### 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
cursor {
no_hardware_cursors = true
}
+23
View File
@@ -0,0 +1,23 @@
#############
### INPUT ###
#############
# https://wiki.hypr.land/Configuring/Variables/#input
input {
kb_layout = de
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 0
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = false
}
}
# See https://wiki.hypr.land/Configuring/Gestures
gesture = 3, horizontal, workspace
+75
View File
@@ -0,0 +1,75 @@
###################
### 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
bind = $mainMod, C, killactive,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, Q, exec, $browser
bind = $mainMod, V, togglefloating,
bind = $mainMod, space, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, F11, fullscreen, #
bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, L, exec, hyprlock
# 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
+10
View File
@@ -0,0 +1,10 @@
################
### 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
@@ -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
@@ -0,0 +1,18 @@
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. :(
}
@@ -0,0 +1,35 @@
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
}
@@ -0,0 +1,4 @@
general {
col.active_border = rgba(124326ff)
col.inactive_border = rgba(080c08ff)
}
@@ -0,0 +1,8 @@
decoration {
rounding = 8
blur {
enabled = true
size = 5
passes = 2
}
}
@@ -0,0 +1,14 @@
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
}
+40
View File
@@ -0,0 +1,40 @@
##############################
### 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
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
}
+15
View File
@@ -0,0 +1,15 @@
# #######################################################################################
# Arindy HYPRLAND CONFIG.
# #######################################################################################
# Refer to the wiki for more information.
# https://wiki.hypr.land/Configuring/
source=./shared.conf
source=./conf/monitors.conf
source=./conf/autostart.conf
source=./conf/env.conf
source=./conf/permissions.conf
source=./conf/input.conf
source=./conf/keybinds.conf
source=./conf/style.conf
source=./conf/windows.conf
+71
View File
@@ -0,0 +1,71 @@
# _ _ _
# | |__ _ _ _ __ _ __| | ___ ___| | __
# | '_ \| | | | '_ \| '__| |/ _ \ / __| |/ /
# | | | | |_| | |_) | | | | (_) | (__| <
# |_| |_|\__, | .__/|_| |_|\___/ \___|_|\_\
# |___/|_|
#
background {
monitor =
path = screenshot
color = rgba(17, 17, 17, 0.5)
blur_passes = 1
}
input-field {
monitor =
size = 200, 50
outline_thickness = 3
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = true
dots_rounding = -1 # -1 default circle, -2 follow input-field rounding
outer_color = rgb(1c7a44)
inner_color = rgb(080c08)
font_color = rgb(c0c0c0)
fade_on_empty = true
fade_timeout = 1000 # Milliseconds before fade_on_empty is triggered.
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
rounding = -1 # -1 means complete rounding (circle/oval)
check_color = rgb(424a42)
fail_color = rgb(dc143c) # if authentication failed, changes outer_color and fail message color
fail_text = <i>Nice Try <b>($ATTEMPTS)</b></i> # can be set to empty
fail_transition = 300 # transition time in ms between normal outer_color and fail_color
capslock_color = -1
numlock_color = -1
bothlock_color = -1 # when both locks are active. -1 means don't change outer color (same for above)
invert_numlock = false # change color if numlock is off
swap_font_color = false # see below
position = 0, -20
halign = center
valign = center
}
label {
monitor =
#clock
text = cmd[update:1000] echo "$TIME"
color = rgba(200, 200, 200, 1.0)
font_size = 55
font_family = Fira Semibold
position = -100, 40
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
label {
monitor =
text = $USER
color = rgba(200, 200, 200, 1.0)
font_size = 20
font_family = Fira Semibold
position = -100, 160
halign = right
valign = bottom
shadow_passes = 5
shadow_size = 10
}
+31
View File
@@ -0,0 +1,31 @@
source=./shared.conf
preload = ~/.themes/Serpensortia/wallpaper/top.jxl
preload = ~/.themes/Serpensortia/wallpaper/bottom.jxl
preload = ~/.themes/Serpensortia/wallpaper/left.jxl
preload = ~/.themes/Serpensortia/wallpaper/right.jxl
wallpaper {
monitor = $top-monitor
path = ~/.themes/Serpensortia/wallpaper/top.jxl
fit_mode = cover
timeout = 1
}
wallpaper {
monitor = $bottom-monitor
path = ~/.themes/Serpensortia/wallpaper/bottom.jxl
fit_mode = cover
timeout = 1
}
wallpaper {
monitor = $left-monitor
path = ~/.themes/Serpensortia/wallpaper/left.jxl
fit_mode = cover
timeout = 1
}
wallpaper {
monitor = $right-monitor
path = ~/.themes/Serpensortia/wallpaper/right.jxl
fit_mode = cover
timeout = 1
}
splash = false
+13
View File
@@ -0,0 +1,13 @@
# Monitors
$left-monitor=HDMI-A-1
$bottom-monitor=DP-3
$right-monitor=DP-2
$top-monitor=DP-1
# Apps
$terminal = kitty
$fileManager = thunar
$browser = vivaldi
$menu = rofi -show
$SCRIPT_DIR = ~/.config/hypr/conf/scripts