feat(hypr): update hypr config

This commit is contained in:
2026-02-19 04:19:43 +01:00
parent 83097e961a
commit b2cfb5c616
10 changed files with 135 additions and 28 deletions

13
hypr/autostart.conf Normal file
View File

@@ -0,0 +1,13 @@
#################
### AUTOSTART ###
#################
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
exec-once = waybar & hyprpaper
exec-once = swaync
exec-once = gsettings set org.gnome.desktop.interface gtk-theme 'adw-gtk3-dark'
exec-once = gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'

9
hypr/bindings.conf Normal file
View File

@@ -0,0 +1,9 @@
####################
### KEYBINDINGSS ###
####################
# See https://wiki.hyprland.org/Configuring/Keywords/
source = ~/.config/hypr/bindings/tiling.conf
source = ~/.config/hypr/bindings/hyprshot.conf

View File

@@ -0,0 +1,2 @@
bind = ALT SHIFT, 4, exec, hyprshot -m region
bind = ALT SHIFT, 5, exec, hyprshot -m window

View File

@@ -1,11 +1,7 @@
####################
### KEYBINDINGSS ###
####################
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, W, killactive,
bind = $mainMod, M, exit,

31
hypr/colors.conf Normal file
View File

@@ -0,0 +1,31 @@
$accent = $lavender
# accents
$rosewater = rgba(f5e0dcFF)
$flamingo = rgba(f2cdcdFF)
$pink = rgba(f5c2e7FF)
$mauve = rgba(cba6f7FF)
$red = rgba(f38ba8FF)
$maroon = rgba(eba0acFF)
$peach = rgba(fab387FF)
$yellow = rgba(f9e2afFF)
$green = rgba(a6e3a1FF)
$teal = rgba(94e2d5FF)
$sky = rgba(89dcebFF)
$sapphire = rgba(74c7ecFF)
$blue = rgba(89b4faFF)
$lavender = rgba(b4befeFF)
# text
$text = rgba(cdd6f4FF)
$subtext1 = rgba(bac2deFF)
$subtext0 = rgba(a6adc8FF)
# surfaces
$surface0 = rgba(313244FF)
$surface1 = rgba(45475aFF)
$surface2 = rgba(585b70FF)
$base = rgba(1e1e2eFF)
$mantle = rgba(181825FF)
$crust = rgba(11111bFF)

22
hypr/hypridle.conf Normal file
View File

@@ -0,0 +1,22 @@
general {
lock_cmd = omarchy-lock-screen # lock screen and 1password
before_sleep_cmd = loginctl lock-session # lock before suspend.
after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display.
inhibit_sleep = 3 # wait until screen is locked
}
listener {
timeout = 150 # 2.5min
on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already)
}
listener {
timeout = 151 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed
}
listener {
timeout = 330 # 5.5min
on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected
}

View File

@@ -1,20 +1,9 @@
source = ~/.config/hypr/autostart.conf
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/programs.conf
source = ~/.config/hypr/binds.conf
source = ~/.config/hypr/bindings.conf
source = ~/.config/hypr/input.conf
source = ~/.config/hypr/look-and-feel.conf
#################
### AUTOSTART ###
#################
# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:
# exec-once = $terminal
# exec-once = nm-applet &
# exec-once = waybar & hyprpaper & firefox
exec-once = waybar & hyprpaper
source = ~/.config/hypr/looknfeel.conf
#############################
### ENVIRONMENT VARIABLES ###

47
hypr/hyprlock.conf Normal file
View File

@@ -0,0 +1,47 @@
$color = rgba(#1e1e2e, 1.0)
$inner_color = rgba(#1e1e2e, 0.8)
$outer_color = rgba(#cdd6f4, 1.0)
$font_color = rgba(#cdd6f4, 1.0)
$check_color = rgba(#89b4fa, 1.0)
general {
ignore_empty_input = true
}
background {
monitor =
color = $color
path = ~/.config/omarchy/current/background
blur_passes = 3
}
animations {
enabled = false
}
input-field {
monitor =
size = 650, 100
position = 0, 0
halign = center
valign = center
inner_color = $inner_color
outer_color = $outer_color
outline_thickness = 4
font_family = JetBrainsMono Nerd Font
font_color = $font_color
placeholder_text = Enter Password
check_color = $check_color
fail_text = <i>$FAIL ($ATTEMPTS)</i>
rounding = 0
shadow_passes = 0
fade_on_empty = false
}
auth {
fingerprint:enabled = false
}

View File

@@ -7,7 +7,6 @@ input {
kb_layout = us
kb_variant = altgr-intl
kb_options = caps:swapescape
kb_options =
kb_rules =
follow_mouse = 1
@@ -19,10 +18,7 @@ input {
}
}
# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
#workspace_swipe = false
}
gesture = 3, horizontal, workspace
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more

View File

@@ -2,6 +2,8 @@
### LOOK AND FEEL ###
#####################
source = ~/.config/hypr/colors.conf
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# https://wiki.hyprland.org/Configuring/Variables/#general
@@ -12,8 +14,8 @@ general {
border_size = 2
# https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
col.active_border = $accent
col.inactive_border = $surface2
# Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false
@@ -30,8 +32,8 @@ decoration {
rounding = 10
# Change transparency of focused and unfocused windows
active_opacity = 1.0
inactive_opacity = 1.0
active_opacity = 0.995
inactive_opacity = 0.95
# https://wiki.hyprland.org/Configuring/Variables/#blur
blur {