hyprland conf

This commit is contained in:
2024-02-21 17:24:42 +01:00
parent 2fca1d7199
commit bad75439e4

View File

@@ -20,10 +20,9 @@ workspace=DP-2, 21
# Execute your favorite apps at launch # Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox # exec-once = waybar & hyprpaper & firefox
exec-once=zsh $HOME/.config/hypr/autostart.sh exec-once=zsh $HOME/.config/hypr/autostart.sh
# exec-once=hyprctl setcursor Vimix-white-cursors 24
# exec-once=$HOME/.local/share/hyprload/hyprload.sh
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # source = ~/.config/hypr/myColors.conf
# Set programs that you use # Set programs that you use
@@ -48,37 +47,7 @@ env = XDG_SESSION_DESKTOP,Hyprland
env = __GLX_VENDOR_LIBRARY_NAME,nvidia env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = GBM_BACKEND,nvidia-drm env = GBM_BACKEND,nvidia-drm
env = WLR_NO_HARDWARE_CURSORS,1 env = WLR_NO_HARDWARE_CURSORS,1
# env = XDG_SESSION_TYPE,wayland
# env = GDK_BACKEND,wayland,x11
# env = SDL_VIDEODRIVER,wayland
# env = CLUTTER_BACKEND,wayland
# env = MOZ_ENABLE_WAYLAND,1
# env = MOZ_DISABLE_RDD_SANDBOX,1
# env = _JAVA_AWT_WM_NONREPARENTING=1
# env = QT_AUTO_SCREEN_SCALE_FACTOR,1
# env = QT_QPA_PLATFORM,wayland
# env = LIBVA_DRIVER_NAME,nvidia
# env = GBM_BACKEND,nvidia-drm
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = WLR_NO_HARDWARE_CURSORS,1
# env = __NV_PRIME_RENDER_OFFLOAD,1
# env = __VK_LAYER_NV_optimus,NVIDIA_only
# env = PROTON_ENABLE_NGX_UPDATER,1
# env = NVD_BACKEND,direct
# env = __GL_GSYNC_ALLOWED,1
# env = __GL_VRR_ALLOWED,1
# env = WLR_DRM_NO_ATOMIC,1
# env = WLR_USE_LIBINPUT,1
# env = XWAYLAND_NO_GLAMOR,1 # with this you'll need to use gamescope for gaming
# env = __GL_MaxFramesAllowed,1
# env = WLR_RENDERER_ALLOW_SOFTWARE,1
# env = __GL_THREADED_OPTIMIZATIONS=0
# env = WLR_DRM_NO_ATOMIC,1
env = SSH_AUTH_SOCK, "$XDG_RUNTIME_DIR/ssh-agent.socket" env = SSH_AUTH_SOCK, "$XDG_RUNTIME_DIR/ssh-agent.socket"
# env = GTK_IM_MODULE, fcitx
env = QT_IM_MODULE, fcitx env = QT_IM_MODULE, fcitx
env = XMODIFIERS=@im=fcitx env = XMODIFIERS=@im=fcitx
env = GLFW_IM_MODULE, ibus env = GLFW_IM_MODULE, ibus
@@ -125,6 +94,7 @@ decoration {
active_opacity = 0.97 active_opacity = 0.97
blur { blur {
enabled = true
size = 3 size = 3
passes = 2 passes = 2
@@ -170,24 +140,23 @@ gestures {
misc { misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more # See https://wiki.hyprland.org/Configuring/Variables/ for more
force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers
} }
# Example per-device config # Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more # See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device:epic-mouse-v1 { # device {
sensitivity = -0.5 # name = epic-mouse-v1
} # sensitivity = -0.5
# }
# Example windowrule v1 # Example windowrule v1
# windowrule = float, ^(kitty)$ # windowrule = float, ^(kitty)$
# windowrule=opacity 0.90, ^(kitty)$
# windowrule=opacity 0.90, ^(Code)$
windowrule=opacity 1.0 override 1.0, ^(firefox)$ windowrule=opacity 1.0 override 1.0, ^(firefox)$
# Example windowrule v2 # Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# windowrulev2 = nomaximizerequest, class:.* # You'll probably like this. windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$
windowrulev2 = noanim,class:^(xwaylandvideobridge)$ windowrulev2 = noanim,class:^(xwaylandvideobridge)$
@@ -276,7 +245,6 @@ bind=,XF86AudioRaiseVolume,exec,amixer set Master playback 5%+
bind=,XF86AudioLowerVolume,exec,amixer set Master playback 5%- bind=,XF86AudioLowerVolume,exec,amixer set Master playback 5%-
bind=,XF86MonBrightnessUp,exec,brightnessctl set 10%+ bind=,XF86MonBrightnessUp,exec,brightnessctl set 10%+
bind=,XF86MonBrightnessDown,exec,brightnessctl set 10%- bind=,XF86MonBrightnessDown,exec,brightnessctl set 10%-
# bind=,XF86Launch2,exec,touch-mode
# bind=CTRL,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1" # bind=CTRL,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1"
# bind=SHIFT,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5" # bind=SHIFT,XF86Launch2,exec,hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
bind=SHIFT,XF86MonBrightnessDown,exec,brightnessctl set 1% bind=SHIFT,XF86MonBrightnessDown,exec,brightnessctl set 1%