Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .config/hypr/edit_here/hyprland.conf.deprecated
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ==============================================================================
# USER CONFIGURATION OVERLAY
# ==============================================================================
# This file sources all your custom configuration files.
# Edit the specific files in 'source/' to apply your changes.
# ==============================================================================

source = ~/.config/hypr/edit_here/source/monitors.conf
source = ~/.config/hypr/edit_here/source/keybinds.conf
source = ~/.config/hypr/edit_here/source/appearance.conf
source = ~/.config/hypr/edit_here/source/autostart.conf
source = ~/.config/hypr/edit_here/source/plugins.conf
source = ~/.config/hypr/edit_here/source/window_rules.conf
source = ~/.config/hypr/edit_here/source/workspace_rules.conf
source = ~/.config/hypr/edit_here/source/environment_variables.conf
source = ~/.config/hypr/edit_here/source/input.conf
18 changes: 18 additions & 0 deletions .config/hypr/edit_here/hyprland.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- =============================================================================
-- USER CONFIGURATION OVERLAY
-- =============================================================================
-- This file sources all your custom configuration files.
-- Edit the specific files in 'source/' to apply your changes.
-- =============================================================================

local src = os.getenv("HOME") .. "/.config/hypr/edit_here/source/"

dofile(src .. "monitors.lua")
dofile(src .. "keybinds.lua")
dofile(src .. "appearance.lua")
dofile(src .. "autostart.lua")
dofile(src .. "plugins.lua")
dofile(src .. "window_rules.lua")
dofile(src .. "workspace_rules.lua")
dofile(src .. "environment_variables.lua")
dofile(src .. "input.lua")
157 changes: 157 additions & 0 deletions .config/hypr/edit_here/source/appearance.conf.deprecated
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
# ==============================================================================
# USER CONFIGURATION: appearance.conf
# ==============================================================================
# Add your custom settings for appearance here.
# These will override or add to the defaults found in ~/.config/hypr/source/appearance.conf
# This file can also be edited with dusky appearance from the rofi menu or from dusky control center
# ==============================================================================

# -------------------------------------------------------------------------------------------------
# THEME SOURCE
# -------------------------------------------------------------------------------------------------
# Sourcing colors generated by Matugen
source = ~/.config/matugen/generated/hyprland-colors.conf

# -------------------------------------------------------------------------------------------------
# 1. GENERAL APPEARANCE
# Control gaps, borders, and layout behavior.
# See: https://wiki.hyprland.org/Configuring/Variables/#general
# -------------------------------------------------------------------------------------------------
general {
# --- Gaps & Borders ---
gaps_in = 6 # Gap between windows
gaps_out = 12 # Gap between windows and monitor edges
gaps_workspaces = 0 # Gap between workspaces (when sliding)
border_size = 2 # Size of window borders

# --- Colors ---
# Uses variables from the sourced matugen file
col.active_border = $primary
col.inactive_border = $inverse_on_surface

# --- Behavior ---
# RESIZING: Set to true. This allows you to resize windows by clicking and dragging
# on the gaps/border area, rather than hitting the exact 2px pixel border.
resize_on_border = false

# TEARING: Allows lower latency in games.
# NOTE: To use this, you must also apply 'windowrulev2 = immediate, class:^(game_class)$'
allow_tearing = true

# Default layout engine
layout = dwindle

# --- Snapping ---
# Controls how floating windows snap to each other and edges
snap {
enabled = false
window_gap = 10 # Min gap (px) before snapping to another window
monitor_gap = 10 # Min gap (px) before snapping to monitor edge
border_overlap = false # If true, windows snap with overlapping borders
}
}

# -------------------------------------------------------------------------------------------------
# 2. DECORATION
# Shadows, Blur, Opacity, and Rounding.
# See: https://wiki.hyprland.org/Configuring/Variables/#decoration
# -------------------------------------------------------------------------------------------------
decoration {
# --- Rounding ---
rounding = 6
rounding_power = 6.0

# --- Opacity ---
active_opacity = 0.8
inactive_opacity = 0.6
fullscreen_opacity = 1.0

# --- Dimming ---
dim_inactive = true
dim_strength = 0.2
dim_special = 0.8 # Stronger dimming for special workspace

# --- Shadows ---
# Enabled because your hardware (12700H) can easily handle it.
shadow {
enabled = true
range = 35
render_power = 2 # 1-4. Higher is faster falloff (sharper looking)
sharp = false # If true, renders a sharp shadow (retro style)
scale = 1.0 # Scale of the shadow (1.0 = window size)
color = rgba(1a1a1aee)
# color = $primary
# offset = 0 0 # Displaces shadow (x, y)
}

# --- Blur ---
# Enabled for aesthetic depth.
blur {
enabled = true
size = 4 # Radius
passes = 2 # Quality (2 is a good balance of perf/looks)
new_optimizations = true
ignore_opacity = true # Blurs behind transparent windows even if opacity is high
xray = true

# Texture & Quality
noise = 0.0217
contrast = 0.8916 # Contrast modulation for blur
brightness = 0.8172 # Brightness modulation for blur
vibrancy = 0.1696 # Saturation of blurred colors

# Specifics
popups = false # Whether to blur right-click menus/popups
}

# --- Shaders ---
# screen_shader = ~/.config/hypr/shaders/grayscale_advanced.glsl
}

# -------------------------------------------------------------------------------------------------
# 3. ANIMATIONS
# See: https://wiki.hyprland.org/Configuring/Animations/
# -------------------------------------------------------------------------------------------------

source = ~/.config/hypr/source/animations/active/active.conf

# -------------------------------------------------------------------------------------------------
# 4. LAYOUTS
# -------------------------------------------------------------------------------------------------
dwindle {
preserve_split = true
# smart_split = false # If true, splits based on mouse position.
# smart_resizing = false # If true, resizing direction is determined by mouse pos.
}

master {
new_status = master
}

# -------------------------------------------------------------------------------------------------
# 5. MISCELLANEOUS & PERFORMANCE
# See: https://wiki.hyprland.org/Configuring/Variables/#misc
# -------------------------------------------------------------------------------------------------
misc {
force_default_wallpaper = 1 # Set to 0 to enable the anime mascot
disable_hyprland_logo = true
disable_splash_rendering = true
}

# -------------------------------------------------------------------------------------------------
# 6. BINDS (Visual specific)
# -------------------------------------------------------------------------------------------------
binds {
allow_pin_fullscreen = true
}

# debug {
# overlay = true
# }
# -------------------------------------------------------------------------------------------------
# 7. SMART GAPS (Single Window Override)
# Applied automatically when only 1 window is tiled or fullscreened on a workspace.
# -------------------------------------------------------------------------------------------------
$single_window_gap = 10
workspace = w[tv1], gapsout:$single_window_gap, gapsin:0
workspace = f[1], gapsout:$single_window_gap, gapsin:0
125 changes: 125 additions & 0 deletions .config/hypr/edit_here/source/appearance.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
-- =============================================================================
-- USER CONFIGURATION: appearance.lua
-- =============================================================================
-- Add your custom appearance settings here.
-- These will override or add to the defaults found in
-- ~/.config/hypr/source/appearance.lua
-- This file can also be edited with:
-- dusky appearance (from the Rofi menu or Dusky Control Center)
-- =============================================================================

local home = os.getenv("HOME")

-- THEME SOURCE: Load colors generated by Matugen
dofile(home .. "/.config/matugen/generated/hyprland-colors.lua")

-- -------------------------------------------------------------------------------------------------
-- 1. GENERAL APPEARANCE — override defaults
-- -------------------------------------------------------------------------------------------------
hl.config({
general = {
gaps_in = 6,
gaps_out = 12,
gaps_workspaces = 0,
border_size = 2,

-- Colors from Matugen (globals set by hyprland-colors.lua above)
col = {
active_border = primary,
inactive_border = inverse_on_surface,
},

resize_on_border = false,
allow_tearing = true,
layout = "dwindle",

snap = {
enabled = false,
window_gap = 10,
monitor_gap = 10,
border_overlap = false,
},
},
})

-- -------------------------------------------------------------------------------------------------
-- 2. DECORATION
-- -------------------------------------------------------------------------------------------------
hl.config({
decoration = {
rounding = 6,
rounding_power = 6.0,

active_opacity = 0.8,
inactive_opacity = 0.6,
fullscreen_opacity = 1.0,

dim_inactive = true,
dim_strength = 0.2,
dim_special = 0.8,

shadow = {
enabled = true,
range = 35,
render_power = 2,
sharp = false,
scale = 1.0,
color = "rgba(1a1a1aee)",
},

blur = {
enabled = true,
size = 4,
passes = 2,
new_optimizations = true,
ignore_opacity = true,
xray = true,

noise = 0.0217,
contrast = 0.8916,
brightness = 0.8172,
vibrancy = 0.1696,

popups = false,
},
},
})

-- -------------------------------------------------------------------------------------------------
-- 3. ANIMATIONS — load the currently active preset
-- -------------------------------------------------------------------------------------------------
dofile(home .. "/.config/hypr/source/animations/active/active.lua")

-- -------------------------------------------------------------------------------------------------
-- 4. LAYOUTS
-- -------------------------------------------------------------------------------------------------
hl.config({
dwindle = { preserve_split = true },
master = { new_status = "master" },
})

-- -------------------------------------------------------------------------------------------------
-- 5. MISCELLANEOUS & PERFORMANCE
-- -------------------------------------------------------------------------------------------------
hl.config({
misc = {
force_default_wallpaper = 1,
disable_hyprland_logo = true,
disable_splash_rendering = true,
},
})

-- -------------------------------------------------------------------------------------------------
-- 6. BINDS (Visual specific)
-- -------------------------------------------------------------------------------------------------
hl.config({
binds = { allow_pin_fullscreen = true },
})

-- -------------------------------------------------------------------------------------------------
-- 7. SMART GAPS (Single Window Override)
-- Applied automatically when only 1 window is tiled or fullscreened on a workspace.
-- -------------------------------------------------------------------------------------------------
local single_window_gap = 10
hl.workspace_rule({ workspace = "w[tv1]", gaps_out = single_window_gap, gaps_in = 0 })
hl.workspace_rule({ workspace = "f[1]", gaps_out = single_window_gap, gaps_in = 0 })
18 changes: 18 additions & 0 deletions .config/hypr/edit_here/source/autostart.conf.deprecated
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# ==============================================================================
# USER CONFIGURATION: autostart.conf
# ==============================================================================
# Add your custom settings for autostart here.
# These will override or add to the defaults found in ~/.config/hypr/source/autostart.conf
# ==============================================================================

# Set pipewire buffer size to 128
exec-once = pw-metadata -n settings 0 clock.force-quantum 128

# Autostart solaar
exec-once = solaar --window=hide

# Create the headless output (it will be HEADLESS-2 based on your logs)
exec-once = hyprctl output create headless

# Start Sunshine as a child process so it inherits the socket signature
exec-once = bash -c "sleep 2 && sunshine"
30 changes: 30 additions & 0 deletions .config/hypr/edit_here/source/autostart.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
-- =============================================================================
-- USER CONFIGURATION: autostart.lua
-- =============================================================================
-- Add your custom autostart entries here.
-- These will override or add to the defaults found in
-- ~/.config/hypr/source/autostart.lua
-- =============================================================================

local home = os.getenv("HOME")

-- Set pipewire buffer size to 128 (reduces audio latency)
hl.on("hyprland.start", function()
hl.exec_cmd("pw-metadata -n settings 0 clock.force-quantum 128")
end)

-- Autostart solaar (Logitech peripheral manager) — hidden in tray
hl.on("hyprland.start", function()
hl.exec_cmd("solaar --window=hide")
end)

-- Create a headless virtual output (used for Sunshine/Moonlight streaming)
-- It will appear as HEADLESS-2 based on your monitor config
hl.on("hyprland.start", function()
hl.exec_cmd("hyprctl output create headless")
end)

-- Start Sunshine as a child process so it inherits the Hyprland socket signature
hl.on("hyprland.start", function()
hl.exec_cmd("bash -c 'sleep 2 && sunshine'")
end)
13 changes: 13 additions & 0 deletions .config/hypr/edit_here/source/default_apps.conf.deprecated
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# ==============================================================================
# USER CONFIGURATION: default_apps.conf
# ==============================================================================
# Override default applications here.
# These variables are sourced at the very top of hyprland.conf so they
# are available for use in all other configuration files.
# ==============================================================================

$terminal = kitty
$fileManager = nemo
$menu = rofi -show drun
$browser = firefox
$textEditor = gnome-text-editor
13 changes: 13 additions & 0 deletions .config/hypr/edit_here/source/default_apps.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
-- =============================================================================
-- USER CONFIGURATION: default_apps.lua
-- =============================================================================
-- Override default applications here.
-- These globals are set before all other config files load, so they are
-- available everywhere.
-- =============================================================================

terminal = "kitty"
fileManager = "nemo"
menu = "rofi -show drun"
browser = "firefox"
textEditor = "gnome-text-editor"
Loading