Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ################################################
- # | | | |_ _ _ __ _ __| | __ _ _ __ __| | #
- # | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` | #
- # | _ | |_| | |_) | | | | (_| | | | | (_| | #
- # |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_| #
- # |___/|_| #
- ################################################
- ### monitors
- monitor=eDP-1,1920x1080@60,1366x0,1.25
- monitor=HDMI-A-1,[email protected],0x0,1
- ### workspaces
- workspace = 1, monitor:HDMI-A-1, default:true
- workspace = 2, monitor:eDP-1, default:true
- workspace = 3, monitor:eDP-1, default:true
- workspace = 4, monitor:eDP-1, default:true
- workspace = 5, monitor:eDP-1, default:true
- workspace = 6, monitor:HDMI-A-1, default:true
- workspace = 7, monitor:eDP-1, default:true
- workspace = 8, monitor:eDP-1, default:true
- workspace = 9, monitor:eDP-1, default:true
- workspace = 0, monitor:eDP-1, default:true
- ### default env vars.
- env = XCURSOR_SIZE,24
- env = LIBVA_DRIVER_NAME,nvidia
- env = XDG_SESSION_TYPE,wayland
- env = XDG_CURRENT_DESKTOP,Hyprland
- env = XDG_SESSION_DESKTOP,Hyprland
- env = GBM_BACKEND,nvidia-drm
- env = __GLX_VENDOR_LIBRARY_NAME,nvidia
- ### autstart on launch
- exec-once=hyprpaper
- exec-once=waybar
- exec-once=playerctld daemon
- exec-once=xremap ~/.config/xremap/config.yml
- ### window rules
- xwayland {
- force_zero_scaling = true
- }
- input {
- kb_layout = us
- kb_variant =
- kb_model =
- kb_options =
- kb_rules =
- follow_mouse = 1
- touchpad {
- natural_scroll = yes
- clickfinger_behavior = true
- tap-to-click = true
- tap_button_map = lrm
- }
- sensitivity = -0.3 # -1.0 - 1.0, 0 means no modification.
- accel_profile = flat
- }
- general {
- gaps_in = 4
- gaps_out = 8
- border_size = 0
- col.active_border = rgba(151818aa)
- col.inactive_border = rgba(595959aa)
- layout = dwindle
- allow_tearing = false
- resize_on_border = true
- }
- decoration {
- rounding = 7
- blur {
- enabled = true
- size = 3
- passes = 1
- }
- }
- animations {
- enabled = yes
- 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_status = master
- }
- 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 to disable the anime mascot wallpapers
- disable_hyprland_logo = true
- }
- ## per-device config
- device {
- name = razer-razer-deathadder-essential
- accel_profile = flat
- #sensitivity = 0.9
- }
- cursor {
- no_hardware_cursors = true
- }
- ### keybinds
- $mainMod = SUPER
- bind = $mainMod, T, exec, kitty
- bind = $mainMod, Q, killactive,
- bind = $mainMod, M, exit,
- bind = $mainMod, E, exec, nemo
- bind = $mainMod, V, togglefloating,
- bind = $mainMod, R, exec, rofi -show drun
- bind = $mainMod, TAB, exec, rofi -show window
- bind = $mainMod, P, pseudo, # dwindle
- bind = $mainMod, X, togglesplit, # dwindle
- bind = $mainMod, F, fullscreen,
- bind = $mainMod SHIFT, Print, exec, grim -l 0
- bind = $mainMod, period, exec, rofimoji -a type -s ask
- bind = $mainMod SHIFT, L, exec, hyprlock
- bind = $mainMod SHIFT, T, exec, ~/programming/scripts/hyprsunset.sh
- ## move focus
- bind = $mainMod, left, movefocus, l
- bind = $mainMod, right, movefocus, r
- bind = $mainMod, up, movefocus, u
- bind = $mainMod, down, movefocus, d
- bind = $mainMod, h, movefocus, l
- bind = $mainMod, l, movefocus, r
- bind = $mainMod, k, movefocus, u
- bind = $mainMod, j, movefocus, d
- ## switch workspaces
- 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
- 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
- ## move active window to a workspace without switching workspace
- bind = $mainMod CTRL, 1, movetoworkspacesilent, 1
- bind = $mainMod CTRL, 2, movetoworkspacesilent, 2
- bind = $mainMod CTRL, 3, movetoworkspacesilent, 3
- bind = $mainMod CTRL, 4, movetoworkspacesilent, 4
- bind = $mainMod CTRL, 5, movetoworkspacesilent, 5
- bind = $mainMod CTRL, 6, movetoworkspacesilent, 6
- bind = $mainMod CTRL, 7, movetoworkspacesilent, 7
- bind = $mainMod CTRL, 8, movetoworkspacesilent, 8
- bind = $mainMod CTRL, 9, movetoworkspacesilent, 9
- bind = $mainMod CTRL, 0, movetoworkspacesilent, 10
- ## special workspace (scratchpad)
- bind = $mainMod, S, togglespecialworkspace, magic
- bind = $mainMod SHIFT, S, movetoworkspace, special:magic
- ## scroll through existing workspaces
- bind = $mainMod, mouse_down, workspace, e+1
- bind = $mainMod, mouse_up, workspace, e-1
- ## move windows
- bindm = $mainMod, mouse:272, movewindow
- bindm = $mainMod, mouse:273, resizewindow
- bind = $mainMod SHIFT, left, movewindow, l
- bind = $mainMod SHIFT, right, movewindow, r
- bind = $mainMod SHIFT, up, movewindow, u
- bind = $mainMod SHIFT, down, movewindow, d
- ## resize submap
- bind = ALT, R, submap, resize
- submap = resize
- # sets repeatable binds for resizing the active window
- binde = , l, resizeactive, 10 0
- binde = , h, resizeactive, -10 0
- binde = , k, resizeactive, 0 -10
- binde = , j, resizeactive, 0 10
- # return to global submap
- bind = , escape, submap, reset
- submap = reset
- ##media keybinds
- bind = , XF86AudioPrev, exec, playerctl previous
- bind = , XF86AudioNext, exec, playerctl next
- bind = , XF86AudioPlay, exec, playerctl play-pause
- ## volume Keybinds
- bind = , XF86AudioRaiseVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ +5%
- bind = , XF86AudioLowerVolume, exec, pactl set-sink-volume @DEFAULT_SINK@ -5%
- bind = , XF86AudioMute, exec, pactl set-sink-mute @DEFAULT_SINK@ toggle
- ## brightness keybinds
- bind = , XF86MonBrightnessUp, exec, brightnessctl set -e 5%+
- bind = , XF86MonBrightnessDown, exec, brightnessctl set -e 5%-
- #xdg-desktop-portal
- exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
Advertisement
Add Comment
Please, Sign In to add comment