291 lines
8.5 KiB
Text
291 lines
8.5 KiB
Text
|
|
# #######################################################################################
|
|
# 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/
|
|
$ULTRA = desc:LG Electronics LG ULTRAWIDE 512AZWSDD473
|
|
$SIDE = desc:STD Computer Inc LED
|
|
|
|
monitor = $ULTRA,3440x1440@159.96,0x0,1, bitdepth, 10, cm, hdr, sdrbrightness, 1.3
|
|
# monitor = $ULTRA,3440x1440@159.96,0x0,1
|
|
monitor = $SIDE,1920x1080@60,-1400x-1080,1
|
|
|
|
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
|
|
# Autostart
|
|
exec-once = waybar & hyprpaper & dbus-launch kdeconnect-indicator
|
|
exec-once = sh -lc 'sleep 5; for _ in $(seq 1 10); do out="$(hyprctl monitors -j | jq -r ''.[] | select(.description == \"LG Electronics LG ULTRAWIDE 512AZWSDD473\") | .name'' | head -n1)"; [ -n "$out" ] && xrandr --output "$out" --primary --auto >/dev/null 2>&1 && exit 0; sleep 2; done'
|
|
|
|
# Source a file (multi-file configs)
|
|
# source = ~/.config/hypr/myColors.conf
|
|
|
|
# Programs
|
|
$terminal = kitty
|
|
$fileManager = nautilus
|
|
# $menu = /home/ltadeu6/.config/rofi/launcher
|
|
$menu = wofi --show drun
|
|
|
|
# Environment
|
|
env = XCURSOR_THEME,Breeze
|
|
env = XCURSOR_SIZE,30
|
|
env = HYPRCURSOR_THEME,Breeze
|
|
env = HYPRCURSOR_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
|
|
|
|
# Input
|
|
# 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 = master
|
|
|
|
# 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
|
|
}
|
|
|
|
# Layouts
|
|
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
|
|
orientation = center
|
|
slave_count_for_center_master = 2
|
|
}
|
|
|
|
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
|
|
# }
|
|
|
|
# Window rules
|
|
# 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 silent, class:^(tf_linux64)$
|
|
windowrulev2 = monitor $ULTRA, 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
|
|
|
|
workspace = 1, monitor:$ULTRA, default:true
|
|
workspace = 2, monitor:$ULTRA
|
|
workspace = 3, monitor:$ULTRA
|
|
workspace = 4, monitor:$ULTRA
|
|
workspace = 5, monitor:$ULTRA
|
|
workspace = 6, monitor:$ULTRA
|
|
workspace = 7, monitor:$ULTRA
|
|
workspace = 8, monitor:$ULTRA
|
|
workspace = 9, monitor:$ULTRA
|
|
|
|
workspace = 10, monitor:$SIDE
|
|
|
|
|
|
# Keybinds
|
|
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
|
$mainMod = SUPER
|
|
|
|
# Launchers and actions
|
|
# 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
|
|
|
|
# Focus and movement
|
|
# 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
|
|
|
|
# Resize
|
|
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
|
|
|
|
# Move windows (vim-style)
|
|
bind = SUPER SHIFT, H, movewindow, l
|
|
bind = SUPER SHIFT, L, movewindow, r
|
|
bind = SUPER SHIFT, K, movewindow, u
|
|
bind = SUPER SHIFT, J, movewindow, d
|
|
|
|
# Workspaces
|
|
# 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 + ALT + [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
|
|
|
|
# Workspace navigation
|
|
# Cycle workspaces with mainMod + TAB / SHIFT + TAB (and previous with mainMod + Q)
|
|
bind = $mainMod, TAB, workspace, +1
|
|
bind = $mainMod SHIFT, TAB, workspace, -1
|
|
bind = $mainMod, Q, workspace, previous
|
|
|
|
# Mouse
|
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
bindm = $mainMod, mouse:272, movewindow
|
|
bindm = $mainMod, mouse:273, resizewindow
|
|
|
|
# Media and hardware 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
|