From fc4ed361de2c34e17ad5815d3605e85b37e80bb2 Mon Sep 17 00:00:00 2001 From: Leon Wilzer Date: Wed, 5 Mar 2025 18:44:26 +0100 Subject: [PATCH] idfk --- hyprland.conf | 26 ++++++++++++-- hyprlock.conf | 81 +------------------------------------------- hyprlock.conf.backup | 80 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 105 insertions(+), 82 deletions(-) mode change 100644 => 120000 hyprlock.conf create mode 100644 hyprlock.conf.backup diff --git a/hyprland.conf b/hyprland.conf index 2a1b358..cdcecaa 100644 --- a/hyprland.conf +++ b/hyprland.conf @@ -30,7 +30,19 @@ env = ELECTRON_OZONE_PLATFORM_HINT,auto # See https://wiki.hyprland.org/Configuring/Monitors/ #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 # 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 $subMod, P, exec, grim -l 9 -g "$(slurp -d)" - | wl-copy +# selection +bind = $mainMod$subMod, P, exec, grim -l 9 -g "$(slurp -d)" - | wl-copy +# fullscreen bind = $mainMod $supMod, P, exec, grim -l 9 - | wl-copy # 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" @@ -372,3 +387,10 @@ windowrulev2 = suppressevent activate, tag:silent windowrulev2 = idleinhibit, tag:inhibit_idle_focuses windowrulev2 = idleinhibit, fullscreen:1 +###### +# Hyprland ecosystem +###### + +ecosystem { + no_update_news = true +} diff --git a/hyprlock.conf b/hyprlock.conf deleted file mode 100644 index df0bfa8..0000000 --- a/hyprlock.conf +++ /dev/null @@ -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 = 󰌾 Logged in as $USER - hide_input = false - check_color = $accent - fail_color = $red - fail_text = $FAIL ($ATTEMPTS) - capslock_color = $yellow - position = 0, -35 - halign = center - valign = center -} diff --git a/hyprlock.conf b/hyprlock.conf new file mode 120000 index 0000000..45027f5 --- /dev/null +++ b/hyprlock.conf @@ -0,0 +1 @@ +/nix/store/kmrcbiyscasrgxj2q0n1wla8jrgzchh7-home-manager-files/.config/hypr/hyprlock.conf \ No newline at end of file diff --git a/hyprlock.conf.backup b/hyprlock.conf.backup new file mode 100644 index 0000000..df0bfa8 --- /dev/null +++ b/hyprlock.conf.backup @@ -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 = 󰌾 Logged in as $USER + hide_input = false + check_color = $accent + fail_color = $red + fail_text = $FAIL ($ATTEMPTS) + capslock_color = $yellow + position = 0, -35 + halign = center + valign = center +}