From bec9cc26c3739a62fe2553fbbdedc384c86cb2e3 Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Fri, 27 Mar 2026 11:43:36 -0300 Subject: [PATCH] hyprlnd --- hypr/hyprland.conf | 258 ++++++++++++++++++++++++++++++++++++++++++++ hypr/hyprpaper.conf | 9 ++ 2 files changed, 267 insertions(+) create mode 100644 hypr/hyprland.conf create mode 100644 hypr/hyprpaper.conf diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf new file mode 100644 index 0000000..2aab3aa --- /dev/null +++ b/hypr/hyprland.conf @@ -0,0 +1,258 @@ + +# ####################################################################################### +# AUTOGENERATED HYPR CONFIG. +# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, +# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. +# ####################################################################################### + +# +# Please note not all available settings / options are set here. +# For a full list, see the wiki +# + +# autogenerated = 1 # remove this line to remove the warning + +# See https://wiki.hyprland.org/Configuring/Monitors/ +monitor=HDMI-A-1,1920x1080@60,0x0,1 +# monitor=HDMI-A-2,3840x2160@30,0x0,2 + + +# See https://wiki.hyprland.org/Configuring/Keywords/ for more + +# Execute your favorite apps at launch +exec-once = waybar & hyprpaper & dbus-launch kdeconnect-indicator + +# Source a file (multi-file configs) +# source = ~/.config/hypr/myColors.conf + +# Set programs that you use +$terminal = kitty +$fileManager = nautilus +# $menu = /home/ltadeu6/.config/rofi/launcher +$menu = wofi --show drun + +# Some default env vars. +env = XCURSOR_SIZE,30 +# env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that +# env = XDG_CURRENT_DESKTOP,Hyprland +# env = XDG_SESSION_TYPE,wayland +# env = XDG_SESSION_DESKTOP,Hyprland +# env = ADW_DISABLE_PORTAL,1 +# env = WLR_NO_HARDWARE_CURSORS,1 + +# For all categories, see https://wiki.hyprland.org/Configuring/Variables/ +input { + kb_layout = br + kb_variant = + kb_model = abnt2 + kb_options = + kb_rules = + + follow_mouse = 0 + mouse_refocus = false + + touchpad { + natural_scroll = no + } + + sensitivity = 0 # -1.0 to 1.0, 0 means no modification. + numlock_by_default = 1 +} + +general { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + gaps_in = 5 + gaps_out = 20 + border_size = 3 + # col.active_border = rgba(ff5555ff) rgba(8BE9FDff) 45deg + col.active_border = rgba(69ff94ff) + col.inactive_border = rgba(6272A4FF) + + layout = dwindle + + # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on + allow_tearing = false + # cursor_inactive_timeout = 5 +} + +cursor { + + inactive_timeout = 5 + +} + +decoration { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + + rounding = 10 + + blur { + enabled = true + size = 6 + passes = 4 + xray = true + special = true + } + + # drop_shadow = yes + # shadow_range = 4 + # shadow_render_power = 3 + # col.shadow = rgba(1a1a1aee) +} + +animations { + enabled = yes + + # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more + + bezier = myBezier, 0.05, 0.9, 0.1, 1.05 + + animation = windows, 1, 7, myBezier + animation = windowsOut, 1, 7, default, popin 80% + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default +} + +dwindle { + # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more + pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below + preserve_split = yes # you probably want this +} + +master { + # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more + # new_is_master = true +} + +gestures { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + # workspace_swipe = off +} + +misc { + # See https://wiki.hyprland.org/Configuring/Variables/ for more + force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers + disable_hyprland_logo = true + disable_splash_rendering = true + focus_on_activate = false +} + +# Example per-device config +# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more +# device { +# name = epic-mouse-v1 +# sensitivity = -0.5 +# } + +# Example windowrule v1 +# windowrule = float, ^(kitty)$ +# Example windowrule v2 +# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ +# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more +# windowrulev2 = suppressevent maximize, class:.* # You'll probably like this. +# Steam client → workspace 4 +windowrulev2 = workspace 4 silent, class:^(steam)$ +windowrulev2 = workspace 4 silent, title:^Steam + + +# TF2 → workspace 4 +windowrulev2 = workspace 4, class:^(tf_linux64)$ + +# Proton / Windows Steam games → workspace 4 +windowrulev2 = workspace 4 silent, class:^(steam_app_.*)$ + +# Emacs → workspace 2 silently +windowrulev2 = workspace 2 silent, class:^(Emacs)$ + +# layerrule = unset, notificationse + +# See https://wiki.hyprland.org/Configuring/Keywords/ for more +$mainMod = SUPER + +# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more +bind = $mainMod, Return, exec, $terminal +bind = $mainMod SHIFT, Return, exec, app.zen_browser.zen +bind = $mainMod, D, exec, emacs +bind = $mainMod SHIFT, Q, killactive, +bind = $mainMod, M, exit, +bind = $mainMod, N, exec, $fileManager +bind = $mainMod SHIFT, F, togglefloating, +bind = $mainMod, SPACE, exec, $menu +bind = $mainMod, P, pseudo, # dwindle +bind = $mainMod, W, togglesplit, # dwindle +bind = $mainMod, F, fullscreen +bind = $mainMod CTRL, F, fullscreenstate, 0, 2 +bind = $mainMod, C, centerwindow, 1 + +# Move focus with mainMod + arrow keys +bind = $mainMod, right, movefocus, l +bind = $mainMod, left, movefocus, r +bind = $mainMod, up, movefocus, u +bind = $mainMod, down, movefocus, d + +bind = $mainMod SHIFT, right, resizeactive, 30 0 +bind = $mainMod SHIFT, left, resizeactive, -30 0 +bind = $mainMod SHIFT, up, resizeactive, 0 -30 +bind = $mainMod SHIFT, down, resizeactive, 0 30 + +bind = SUPER SHIFT, H, movewindow, l +bind = SUPER SHIFT, L, movewindow, r +bind = SUPER SHIFT, K, movewindow, u +bind = SUPER SHIFT, J, movewindow, d + +# 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 ALT, 1, movetoworkspace, 1 +bind = $mainMod ALT, 2, movetoworkspace, 2 +bind = $mainMod ALT, 3, movetoworkspace, 3 +bind = $mainMod ALT, 4, movetoworkspace, 4 +bind = $mainMod ALT, 5, movetoworkspace, 5 +bind = $mainMod ALT, 6, movetoworkspace, 6 +bind = $mainMod ALT, 7, movetoworkspace, 7 +bind = $mainMod ALT, 8, movetoworkspace, 8 +bind = $mainMod ALT, 9, movetoworkspace, 9 +bind = $mainMod ALT, 0, movetoworkspace, 10 + +# Example special workspace (scratchpad) +bind = $mainMod, S, togglespecialworkspace, magic +bind = $mainMod ALT, S, movetoworkspace, special:magic + +# Scroll through existing workspaces with mainMod + scroll +bind = $mainMod, TAB, workspace, +1 +bind = $mainMod SHIFT, TAB, workspace, -1 +bind = $mainMod, Q, workspace, previous + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# Move/resize windows with mainMod + LMB/RMB and dragging +bindm = $mainMod, mouse:272, movewindow +bindm = $mainMod, mouse:273, resizewindow + +# FN keys + +bindel=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ +bindel=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- +bindl=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + +bindl=, XF86AudioPlay, exec, playerctl play-pause +bindl=, XF86AudioNext, exec, playerctl next +bindl=, XF86AudioPrevious, exec, playerctl previous +bindl=, XF86AudioStop, exec, playerctl stop + +bind=, XF86Calculator, exec, gnome-calculator diff --git a/hypr/hyprpaper.conf b/hypr/hyprpaper.conf new file mode 100644 index 0000000..2f047a0 --- /dev/null +++ b/hypr/hyprpaper.conf @@ -0,0 +1,9 @@ +# preload = /home/ltadeu6/Imagens/wallpaper/second-collection/spooky-minimal/dracula-spooky-44475a.png +preload = /home/ltadeu6/Imagens/wallpaper/first-collection/nixos.png +#if more than one preload is desired then continue to preload other backgrounds + +#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used +# wallpaper = , /home/ltadeu6/Imagens/wallpaper/second-collection/spooky-minimal/dracula-spooky-44475a.png +wallpaper = , /home/ltadeu6/Imagens/wallpaper/first-collection/nixos.png + +splash = false