Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ########################################################################################
- 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
- #
- # See https://wiki.hyprland.org/Configuring/Monitors/
- monitor = eDP-1, 1920x1080@60, 1080x1080, 1 # Main
- monitor = DVI-I-1, 1920x1080@60, 0x0, 1, transform, 3 # DisplayLink
- monitor = DP-1, 1920x1080@60, 0x0, 1, transform, 3 # Station F
- monitor = DP-3, 1920x1080@60, 3000x1080, 1 # NeuroSpin
- monitor = DP-4, 1920x1080@60, 0x0, 1, transform, 3 # Station F
- monitor = DP-5, 1920x1080@60, 0x0, 1, transform, 3 # Station F
- # Variables
- env = LIBVA_DRIVER_NAME,nvidia
- env = XDG_SESSION_TYPE,wayland
- env = GBM_BACKEND,nvidia-drm
- env = __GLX_VENDOR_LIBRARY_NAME,nvidia
- env = WLR_NO_HARDWARE_CURSORS,1
- # Applications
- $term = kitty
- $browser = vivaldi-stable
- $editor = lvim
- $explorer = thunar
- $music = spotify
- $notepad = mousepad
- $launcher = wofi
- # See https://wiki.hyprland.org/Configuring/Keywords/ for more
- # Execute your favorite apps at launch
- # exec-once = waybar & hyprpaper & firefox
- exec-once=/usr/lib/polkit-kde-authentication-agent-1
- exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
- exec systemctl --user import-environment
- # Source a file (multi-file configs)
- # source = ~/.config/hypr/myColors.conf
- # Some default env vars.
- env = XCURSOR_SIZE,24
- # For all categories, see https://wiki.hyprland.org/Configuring/Variables/
- input {
- kb_layout = fr
- kb_variant =
- kb_model =
- kb_options =
- kb_rules =
- follow_mouse = 1
- touchpad {
- natural_scroll = no
- disable_while_typing = true
- tap-to-click = true
- }
- scroll_method = 2fg
- 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 = 20
- gaps_in = 10
- gaps_out = 25
- # border_size = 2
- border_size = 3
- col.active_border = rgb(f5e0dc) rgb(fab387) rgb(b4befe) rgb(cba6f7) 280deg
- col.inactive_border = rgb(181825)
- # col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
- # col.inactive_border = rgba(595959aa)
- layout = dwindle
- }
- decoration {
- # See https://wiki.hyprland.org/Configuring/Variables/ for more
- rounding = 10
- multisample_edges = true
- active_opacity = 1.0
- inactive_opacity = 0.9
- fullscreen_opacity = 1.0
- # blur = yes
- # blur_size = 3
- # blur_passes = 1
- # blur_new_optimizations = on
- blur_size = 4 # minimum 1
- blur_passes = 6 # minimum 1
- blur_xray = true
- blur_new_optimizations = true
- blur_ignore_opacity = true
- # drop_shadow = yes
- # shadow_range = 4
- # shadow_render_power = 3
- # col.shadow = rgba(1a1a1aee)
- drop_shadow = true
- shadow_ignore_window = true
- shadow_range = 15
- shadow_render_power = 2
- col.shadow = rgb(cba6f7)
- col.shadow_inactive = rgb(181825)
- dim_inactive = false
- dim_strength = 0.05
- }
- 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
- # Bezier curves (from https://easings.net/)
- # bezier = easeInSine, 0.12, 0.0, 0.39, 0.0
- # bezier = easeOutSine, 0.61, 1.0, 0.88, 1.0
- # bezier = easeInOutSine, 0.37, 0.0, 0.63, 1.0
- # bezier = easeInQuad, 0.11, 0.0, 0.50, 0.0
- # bezier = easeOutQuad, 0.50, 1.0, 0.89, 1.0
- # bezier = easeInOutQuad, 0.44, 0.0, 0.56, 1.0
- #bezier = easeInCubic, 0.32, 0.0, 0.67, 0.0
- #bezier = easeOutCubic, 0.33, 1.0, 0.68, 1.0
- #bezier = easeInOutCubic, 0.65, 0.0, 0.35, 1.0
- #bezier = easeInQuart, 0.50, 0.0, 0.75, 0.0
- #bezier = easeOutQuart, 0.25, 1.0, 0.50, 1.0
- #bezier = easeInOutQuart, 0.76, 0.0, 0.24, 1.0
- #bezier = easeInQuint, 0.64, 0.0, 0.78, 0.0
- #bezier = easeOutQuint, 0.22, 1.0, 0.36, 1.0
- #bezier = easeInOutQuint, 0.83, 0.0, 0.17, 1.0
- #bezier = easeInExpo, 0.70, 0.0, 0.84, 0.0
- #bezier = easeOutExpo, 0.16, 1.0, 0.30, 1.0
- #bezier = easeInOutExpo, 0.87, 0.0, 0.13, 1.0
- #bezier = easeInCirc, 0.55, 0.0, 1.00, 0.45
- #bezier = easeOutCirc, 0.00, 0.55, 0.45, 1.00
- #bezier = easeInOutCirc, 0.85, 0.0, 0.15, 1.0
- #bezier = easeInBack, 0.36, 0.0, 0.66, -0.56
- #bezier = easeOutBack, 0.34, 1.56, 0.64, 1.0
- #bezier = easeInOutBack, 0.68, -0.6, 0.32, 1.6
- # More Bezier Curves (from rxyhn @ GitHub)
- # Check out https://github.com/rxyhn/dotfiles/blob/main/home/wayland/hyprland/hyprland.conf#L95
- # bezier = overshot, 0.05, 0.9, 0.1, 1.05
- # bezier = overshot, 0.13, 0.99, 0.29, 1.1
- # More Bezier Curves (again) (from linuxmobile @ GitHub)
- # Check out https://github.com/linuxmobile/hyprland-dots/blob/main/.config/hypr/hyprland.conf#L16
- #bezier=slow, 0, 0.85, 0.3, 1
- # bezier=overshot,0.7,0.6,0.1,1.1
- # Another Bezier Curve (again) (from Hyprland wiki)
- # bezier = overshot, 0.05, 0.9, 0.1, 1.1
- # Yet Another Bezier Curve (... you get the idea) (from PROxZIMA @ GitHub)
- #bezier = overshot, 0.13, 0.99, 0.29, 1.1
- # Animations
- #animation = windows, 1, 7, overshot, slide
- #animation = windowsMove, 1, 4, easeInOutCirc
- #animation = border, 1, 10, default
- #animation = fade, 1, 10, default
- #animation = workspaces, 1, 6, easeOutCubic, slide
- }
- 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 = yes
- workspace_swipe_fingers = 3
- workspace_swipe_forever = true
- }
- misc {
- disable_hyprland_logo = false
- disable_splash_rendering = false
- # mouse_move_enables_dpms = true
- enable_swallow = true
- swallow_regex = ^(kitty)$
- vfr = true
- }
- # 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
- # See https://wiki.hyprland.org/Configuring/Keywords/ for more
- $mainMod = SUPER
- $mod_shift = SHIFT
- $mod_alt = ALT
- custom {
- binds {
- # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
- bind = $mainMod, RETURN, exec, $term
- bind = $mainMod, Q, killactive,
- bind = $mainMod, N, exec, $explorer
- bind = $mainMod, V, togglefloating,
- bind = $mainMod, R, exec, wofi --show drun
- bind = $mainMod, P, pseudo, # dwindle
- bind = $mainMod, J, togglesplit, # dwindle
- bind = $mainMod, F, fullscreen
- bind = $mainMod, G, fullscreen, 1
- # bind = $mainMod, G, fakefullscreen
- bind = $mainMod, W, exec, $browser
- bind = $mainMod, C, exec, source /home/cp264607/mambaforge/bin/activate && kitty -e $editor
- bind = $mainMod, M, exec, $music
- bind = $mainMod, INSERT, exec, ~/.config/hypr/scripts/tools/colorpicker
- bind = $mainMod, S, exec, wlogout
- bind = $mainMod, L, exec, ~/.config/hypr/scripts/tools/lock.sh
- # 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]
- # Switch workspaces
- bind = $mainMod, ampersand, exec, ~/.config/hypr/scripts/tools/workspaces workspace 1
- bind = $mainMod, eacute, exec, ~/.config/hypr/scripts/tools/workspaces workspace 2
- bind = $mainMod, quotedbl, exec, ~/.config/hypr/scripts/tools/workspaces workspace 3
- bind = $mainMod, apostrophe, exec, ~/.config/hypr/scripts/tools/workspaces workspace 4
- bind = $mainMod, parenleft, exec, ~/.config/hypr/scripts/tools/workspaces workspace 5
- bind = $mainMod, minus, exec, ~/.config/hypr/scripts/tools/workspaces workspace 6
- bind = $mainMod, egrave, exec, ~/.config/hypr/scripts/tools/workspaces workspace 7
- bind = $mainMod, underscore, exec, ~/.config/hypr/scripts/tools/workspaces workspace 8
- bind = $mainMod, ccedilla, exec, ~/.config/hypr/scripts/tools/workspaces workspace 9
- # Move active window to a workspace with mainMod + SHIFT + [0-9]
- # Move windows between workspaces
- bind = SUPER_SHIFT, ampersand, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 1
- bind = SUPER_SHIFT, eacute, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 2
- bind = SUPER_SHIFT, quotedbl, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 3
- bind = SUPER_SHIFT, apostrophe, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 4
- bind = SUPER_SHIFT, parenleft, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 5
- bind = SUPER_SHIFT, minus, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 6
- bind = SUPER_SHIFT, egrave, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 7
- bind = SUPER_SHIFT, underscore, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 8
- bind = SUPER_SHIFT, ccedilla, exec, ~/.config/hypr/scripts/tools/workspaces movetoworkspace 9
- # 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
- # From PROxZIMA @ GitHub
- # Use this to get thw XF86 bind (FN + Fx combination) for your keyboard
- # xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p'
- # Volume Control
- bind = ,XF86AudioRaiseVolume,exec,~/.config/hypr/scripts/tools/volume increase
- bind = ,XF86AudioLowerVolume,exec,~/.config/hypr/scripts/tools/volume decrease
- bind = ,XF86AudioMute,exec,~/.config/hypr/scripts/tools/volume mute
- # Media Control
- bind = ,XF86AudioMedia,exec,playerctl play-pause
- bind = ,XF86AudioPlay,exec,playerctl play-pause
- bind = ,XF86AudioStop,exec,playerctl stop
- bind = ,XF86AudioPrev,exec,playerctl previous
- bind = ,XF86AudioNext,exec,playerctl next
- # Brightness Control
- bind = ,XF86MonBrightnessUp,exec,~/.config/hypr/scripts/tools/brightness_ctl.sh up
- bind = ,XF86MonBrightnessDown,exec,~/.config/hypr/scripts/tools/brightness_ctl.sh down
- # Screenshot
- bind = ,Print,exec,~/.config/hypr/scripts/tools/screenshot select
- bind = SUPER,Print,exec,~/.config/hypr/scripts/tools/screenshot
- bind = SUPER_SHIFT,Print,exec,~/.config/hypr/scripts/tools/screenshot flameshot
- # Lock Screen
- # bind = SUPER_SHIFT,L,exec,~/.config/hypr/scripts/tools/lock
- # Reload waybar
- bind = SUPER_SHIFT,R,exec,~/.config/waybar/launch.sh
- # Logout
- # bind = SUPER,Delete,exec,loginctl terminate-session $XDG_SESSION_ID
- # Show WLogout Menu
- # bind = $mainMod,S,exec,~/.config/wlogout/launch.sh
- # Force Quit Hyprland
- bind = SUPER_SHIFT,Delete,exit
- }
- rules {
- # Example Window Rules
- # for windows named/classed as abc and xyz
- # windowrule = move 69 420,abc
- # windowrule = size 420 69,abc
- # windowrule = tile,xyz
- # windowrule = float,abc
- # windowrule = pseudo,abc
- # windowrule = monitor 0,xyz
- # Floating Windows
- windowrule = float, *.exe
- windowrule = float, wofi
- # Tiling Windows
- windowrule = tile,^(neovide)$
- windowrulev2 = tile, class:^(Spotify)$
- windowrulev2 = tile, title:^(Minecraft.*)$
- # Window Opacity
- # windowrulev2 = opacity 0.5, class:^Code(\s+-\s+Insiders)?$
- # windowrulev2 = opacity 0.5, class:^(Code)$
- # windowrulev2 = opacity 0.5, class:^(Code - Insiders)$
- # windowrule = opacity 0.5, class:^(Code - Insiders)$
- # windowrule = opacity 0.4, code-insiders
- # Floating Windows
- windowrule = float,^(pavucontrol)$
- windowrule = float,^(blueman-manager)$
- windowrule = float,^(nm-connection-editor)$
- windowrule = float,^(mediainfo-gui)$
- # No Blur Windows
- windowrule = noblur,^(firefoxdeveloperedition)$
- # Menus
- windowrulev2 = animation slide, class:^(rofi)$
- windowrulev2 = animation slide, class:^(wofi)$
- windowrulev2 = animation popin, class:^(wlogout)$, title:^(wlogout)$
- windowrulev2 = float, class:^(wlogout)$, title:^(wlogout)$
- }
- # ========================================
- # | Executables |
- # ========================================
- exec {
- # Something with dbus + xdg-desktop-portal-wlr
- # See the following:
- # https://wiki.hyprland.org/FAQ/#some-of-my-apps-take-a-really-long-time-to-open
- # https://gist.github.com/PowerBall253/2dea6ddf6974ba4e5d26c3139ffb7580
- exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
- exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
- # Startup Applications
- exec-once = ~/.config/hypr/scripts/startup.sh
- # Wallpaper
- # exec-once = swaybg --mode fill --image $wallpaper
- # exec-once = ~/.dotfiles/config/hypr/scripts/tools/wallpaper set $wallpaper
- # exec-once = ~/.dotfiles/config/hypr/scripts/tools/wallpaper shuffle
- }
- # ========================================
- # | More Decorations |
- # ========================================
- decorations {
- # Blurring Layer Surfaces
- # blurls = gtk-layer-shell
- # blurls = waybar
- blurls = wofi
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement