This commit is contained in:
Leon Wilzer 2025-03-05 18:44:26 +01:00
parent 50b9d23b1f
commit fc4ed361de
Signed by: leon
GPG Key ID: 645EFCD19E59ED05
3 changed files with 105 additions and 82 deletions

View File

@ -30,7 +30,19 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto
# See https://wiki.hyprland.org/Configuring/Monitors/ # See https://wiki.hyprland.org/Configuring/Monitors/
#monitor = , preferred, auto, 1 #monitor = , preferred, auto, 1
monitor=DP-1, preferred, auto, 1 monitor=DP-1, 2560x1440@240, auto, 1, bitdepth, 10
#monitor=DP-1, 3840x2160@60, auto, 1, bitdepth, 10
####################
### Experimental ###
####################
experimental {
wide_color_gamut = true
hdr = false
xx_color_management_v4 = true
}
################### ###################
@ -268,8 +280,11 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
# Take screenshots # Take screenshots
# actibe window
bind = $mainMod, P, exec, grim -l 9 -g "$(hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy bind = $mainMod, P, exec, grim -l 9 -g "$(hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy
# selection
bind = $mainMod$subMod, P, exec, grim -l 9 -g "$(slurp -d)" - | wl-copy bind = $mainMod$subMod, P, exec, grim -l 9 -g "$(slurp -d)" - | wl-copy
# fullscreen
bind = $mainMod $supMod, P, exec, grim -l 9 - | wl-copy bind = $mainMod $supMod, P, exec, grim -l 9 - | wl-copy
# The same, but storing it as a file instead # The same, but storing it as a file instead
bind = $mainMod $altMod, P, exec, grim -l 9 -g "$(hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" "$XDG_PICTURES_DIR/Screenshots/$(date '+%F_%Hh%Mm%Ss%3Nms')_Window.png" bind = $mainMod $altMod, P, exec, grim -l 9 -g "$(hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" "$XDG_PICTURES_DIR/Screenshots/$(date '+%F_%Hh%Mm%Ss%3Nms')_Window.png"
@ -372,3 +387,10 @@ windowrulev2 = suppressevent activate, tag:silent
windowrulev2 = idleinhibit, tag:inhibit_idle_focuses windowrulev2 = idleinhibit, tag:inhibit_idle_focuses
windowrulev2 = idleinhibit, fullscreen:1 windowrulev2 = idleinhibit, fullscreen:1
######
# Hyprland ecosystem
######
ecosystem {
no_update_news = true
}

View File

@ -1,80 +0,0 @@
source = $XDG_CONFIG_HOME/hypr/mocha.conf
$accent = $blue
$accentAlpha = $blueAlpha
$font = FiraCode
# GENERAL
general {
disable_loading_bar = true
hide_cursor = true
}
# BACKGROUND
background {
monitor =
path = $XDG_PICTURES_DIR/Wallpapers/current
blur_passes = 4
blur_size = 8
color = rgba($baseAlphaff)
}
# TIME
label {
monitor =
text = cmd[update:30000] echo "$(date +"%R")"
color = $text
font_size = 90
font_family = $font
position = -30, 0
halign = right
valign = top
}
# DATE
label {
monitor =
text = cmd[update:43200000] echo "$(date +"%A, %d %B %Y")"
color = $text
font_size = 25
font_family = $font
position = -30, -150
halign = right
valign = top
}
# USER AVATAR
image {
monitor =
path = ~/.face
size = 100
border_color = $accent
position = 0, 75
halign = center
valign = center
}
# INPUT FIELD
input-field {
monitor =
size = 300, 60
outline_thickness = 4
dots_size = 0.2
dots_spacing = 0.2
dots_center = true
outer_color = $accent
inner_color = $surface0
font_color = $text
fade_on_empty = false
placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
hide_input = false
check_color = $accent
fail_color = $red
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
capslock_color = $yellow
position = 0, -35
halign = center
valign = center
}

1
hyprlock.conf Symbolic link
View File

@ -0,0 +1 @@
/nix/store/kmrcbiyscasrgxj2q0n1wla8jrgzchh7-home-manager-files/.config/hypr/hyprlock.conf

80
hyprlock.conf.backup Normal file
View File

@ -0,0 +1,80 @@
source = $XDG_CONFIG_HOME/hypr/mocha.conf
$accent = $blue
$accentAlpha = $blueAlpha
$font = FiraCode
# GENERAL
general {
disable_loading_bar = true
hide_cursor = true
}
# BACKGROUND
background {
monitor =
path = $XDG_PICTURES_DIR/Wallpapers/current
blur_passes = 4
blur_size = 8
color = rgba($baseAlphaff)
}
# TIME
label {
monitor =
text = cmd[update:30000] echo "$(date +"%R")"
color = $text
font_size = 90
font_family = $font
position = -30, 0
halign = right
valign = top
}
# DATE
label {
monitor =
text = cmd[update:43200000] echo "$(date +"%A, %d %B %Y")"
color = $text
font_size = 25
font_family = $font
position = -30, -150
halign = right
valign = top
}
# USER AVATAR
image {
monitor =
path = ~/.face
size = 100
border_color = $accent
position = 0, 75
halign = center
valign = center
}
# INPUT FIELD
input-field {
monitor =
size = 300, 60
outline_thickness = 4
dots_size = 0.2
dots_spacing = 0.2
dots_center = true
outer_color = $accent
inner_color = $surface0
font_color = $text
fade_on_empty = false
placeholder_text = <span foreground="##$textAlpha"><i>󰌾 Logged in as </i><span foreground="##$accentAlpha">$USER</span></span>
hide_input = false
check_color = $accent
fail_color = $red
fail_text = <i>$FAIL <b>($ATTEMPTS)</b></i>
capslock_color = $yellow
position = 0, -35
halign = center
valign = center
}