Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Please note not all available settings / options are set here.
- # For a full list, see the wiki
- #
- # See https://wiki.hyprland.org/Configuring/Monitors/
- monitor=DP-3,3840x2160,auto,1.875,bitdepth,10
- #monitor=DP-3,1920x1080,auto,1.0 #,bitdepth,10
- # See https://wiki.hyprland.org/Configuring/Keywords/ for more
- # Source a file (multi-file configs)
- # source = ~/.config/hypr/myColors.conf
- # Some default env vars.
- env = WLR_RENDERER,gles2
- env = XDG_RUNTIME_DIR,/run/user/1000
- env = CLUTTER_BACKEND,wayland
- env = QT_QPA_PLATFORM,wayland-egl
- env = ECORE_EVAS_ENGINE,wayland-egl
- env = ELM_ENGINE,wayland_egl
- env = SDL_VIDEODRIVER,wayland
- env = _JAVA_AWT_WM_NONREPARENTING,1
- env = NO_AT_BRIDGE=1
- env = KWIN_USE_BUFFER_AGE=0
- env = LIBVA_DRIVER_NAME,nvidia
- env = GBM_BACKEND,nvidia-drm
- env = __GLX_VENDOR_LIBRARY_NAME,nvidia
- env = MOZ_ENABLE_WAYLAND,1
- env = NVD_BACKEND,direct
- env = MOZ_DISABLE_RDD_SANDBOX,1
- env = KITTY_ENABLE_WAYLAND=1
- env = QT_WAYLAND_FORCE_DPI,physical
- env = GDK_BACKEND,wayland,x11
- #env = GDK_DPI_SCALE,0.5
- env = LIBSEAT_BACKEND,logind
- #env = WLR_DRM_NO_ATOMIC,1
- #env = WLR_DRM_NO_MODIFIERS,1
- #env = XWAYLAND_NO_GLAMOR,1
- env = WLR_NO_HARDWARE_CURSORS,1
- env = XCURSOR_SIZE,48
- env = XDG_CURRENT_DESKTOP,Hyprland
- env = XDG_SESSION_TYPE,wayland
- env = XDG_SESSION_DESKTOP,Hyprland
- env = GTK2_RC_FILES,/etc/gtk-2.0/gtkrc:/home/alexv/.gtkrc-2.0:/home/alexv/.config/gtkrc-2.0
- #env = QT_SCREEN_SCALE_FACTORS,DP-3=1.75
- env = QT_AUTO_SCREEN_SCALE_FACTOR,0
- env = XDG_CONFIG_DIRS,/home/alexv/.config/kdedefaults:/etc/xdg
- env = XCURSOR_THEME,breeze_cursors
- env = GTK_MODULES,canberra-gtk-module:appmenu-gtk-module
- env = QT_LOGGING_RULES,*.debug=false
- env = QT_QPA_PLATFORMTHEME,qt5ct
- env = XDG_DATA_HOME,$HOME/.local/share
- # Execute your favorite apps at launch
- exec-once = kwalletd5
- exec-once = /usr/lib64/libexec/polkit-kde-authentication-agent-1
- exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
- exec-once = waybar # & nm-applet --indicator
- exec-once = kitty
- exec-once = sleep 5 && qbittorrent
- exec-once = hyprctl dispatch exec "[workspace 5 silent;noanim] telegram-desktop"
- exec-once = sleep 2 && hyprctl dispatch exec "[workspace 5 silent;noanim] pachca --enable-oop-rasterization --enable-gpu-rasterization --enable-native-gpu-memory-buffers --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --enable-features=VaapiVideoDecoder --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --password-store=basic --enable-gpu-compositing --enable-zero-copy --enable-raw-draw --disable-gpu-driver-bug-workarounds --disable-gpu-driver-workarounds --disable-high-precision-scrolling"
- #exec-once = hyprctl dispatch exec "[workspace 9 silent;noanim] kmail"
- exec-once = hyprctl dispatch exec "[workspace 9 silent;noanim] thunderbird-bin"
- exec-once = hyprctl dispatch exec "[workspace 2 silent;noanim] /opt/yandex/browser-beta/yandex-browser-beta --enable-oop-rasterization --enable-gpu-rasterization --enable-native-gpu-memory-buffers --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --enable-features=VaapiVideoDecoder --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --password-store=basic --disable-gpu-compositing --enable-zero-copy --enable-raw-draw --disable-gpu-driver-bug-workarounds --disable-gpu-driver-workarounds --disable-high-precision-scrolling"
- exec-once = /home/alexv/hyprland-per-window-xkblayout
- exec-once = swayidle
- exec-once = sleep 5 && systemctl --user restart wireplumber.service
- # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
- input {
- kb_model = razer_blackwidow_v3
- kb_options = grp:alt_shift_toggle
- numlock_by_default = true
- kb_layout = us, ru
- kb_variant = razer-razer-blackwidow-v3
- kb_rules =
- follow_mouse = 1
- touchpad {
- natural_scroll = no
- }
- sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
- }
- general {
- # See https://wiki.hyprland.org/Configuring/Variables/ for more
- gaps_in = 5
- gaps_out = 5
- border_size = 2
- col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
- col.inactive_border = rgba(595959aa)
- cursor_inactive_timeout = 300 # Hyprland uses seconds
- layout = dwindle
- }
- decoration {
- # See https://wiki.hyprland.org/Configuring/Variables/ for more
- rounding = 5
- 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
- }
- # Example per-device config
- # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
- device: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
- xwayland {
- force_zero_scaling = true
- use_nearest_neighbor = false
- }
- opengl {
- nvidia_anti_flicker = false
- }
- misc {
- vrr = 0
- }
- debug {
- #disable_scale_checks = true
- }
- windowrulev2 = workspace 2, class:^(firefox)$
- windowrulev2 = workspace 2, class:^(Yandex-browser-beta)$
- windowrulev2 = workspace 5, class:^(org.telegram.desktop)$
- windowrulev2 = workspace 5, class:^(pachca)$
- windowrulev2 = workspace 4, class:^(xfreerdp)$
- windowrulev2 = workspace 9, class:^(kmail)$
- windowrulev2 = workspace 9, class:^(BlueMail)$
- windowrulev2 = float, class:^(org.kde.kcalc)$
- windowrulev2 = workspace special:magic, class:^(org.kde.kcalc)$
- windowrulev2 = workspace 0, class:^(Steam)$
- #windowrulev2 = float, workspace:special:debug
- windowrulev2 = float, class:^(CameraCalcMeasure)$
- windowrulev2 = float, class:^(CameraCalcMeasure)$
- windowrulev2 = workspace special:debug, class:^(CameraCalcMeasure)$
- workspace=1,name:term,label:term
- # See https://wiki.hyprland.org/Configuring/Keywords/ for more
- $mainMod = SUPER
- # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
- bind = $mainMod, Q, exec, kitty
- bind = $mainMod, C, killactive,
- bind = $mainMod, M, exit,
- bind = $mainMod, E, exec, dolphin
- bind = $mainMod, D, togglespecialworkspace, debug
- bind = $mainMod, S, togglespecialworkspace, magic
- bind = $mainMod SHIFT, S, movetoworkspace, special:magic
- bind = ,Print, exec, /usr/bin/grimblast copy area
- bind = Ctrl,Print, exec, grim -g "$(slurp)" - | ksnip -
- bind = $mainMod, Y, exec, hyprctl dispatch exec "[workspace 2 silent;noanim] /opt/yandex/browser-beta/yandex-browser-beta --enable-oop-rasterization --enable-gpu-rasterization --enable-native-gpu-memory-buffers --enable-features=VaapiVideoDecoder,VaapiVideoEncoder,CanvasOopRasterization --enable-features=VaapiVideoDecoder --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --password-store=basic --disable-gpu-compositing --enable-zero-copy --enable-raw-draw --disable-gpu-driver-bug-workarounds --disable-gpu-driver-workarounds"
- bind = $mainMod, V, togglefloating,
- bind = $mainMod, R, exec, hyprctl switchxkblayout "razer-razer-blackwidow-v3" "0" & rofi -show drun -theme "$HOME/.config/rofi/launchers/type-1"/style-1.rasi
- bind = $mainMod, Tab, exec, rofi -show window -theme "$HOME/.config/rofi/launchers/type-1"/style-10.rasi
- bind = $mainMod, P, pseudo, # dwindle
- bind = $mainMod, J, togglesplit, # dwindle
- bind = $mainMod, F, fullscreen
- bind = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
- bind = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
- bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
- # Move focus with mainMod + arrow keys
- bind = $mainMod, left, movefocus, l
- bind = $mainMod, right, movefocus, r
- bind = $mainMod, up, movefocus, u
- bind = $mainMod, down, movefocus, 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 SHIFT, 1, movetoworkspace, 1
- bind = $mainMod SHIFT, 2, movetoworkspace, 2
- bind = $mainMod SHIFT, 3, movetoworkspace, 3
- bind = $mainMod SHIFT, 4, movetoworkspace, 4
- bind = $mainMod SHIFT, 5, movetoworkspace, 5
- bind = $mainMod SHIFT, 6, movetoworkspace, 6
- bind = $mainMod SHIFT, 7, movetoworkspace, 7
- bind = $mainMod SHIFT, 8, movetoworkspace, 8
- bind = $mainMod SHIFT, 9, movetoworkspace, 9
- bind = $mainMod SHIFT, 0, movetoworkspace, 10
- # Scroll through existing workspaces with mainMod + scroll
- bind = $mainMod, mouse_down, workspace, e-1
- bind = $mainMod, mouse_up, workspace, e+1
- # Move/resize windows with mainMod + LMB/RMB and dragging
- bindm = $mainMod, mouse:272, movewindow
- bindm = $mainMod, mouse:273, resizewindow
Add Comment
Please, Sign In to add comment