Skip to content

Commit

Permalink
chore: Create hyprland.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
iggut authored Aug 11, 2024
1 parent 4258ec9 commit a524d1a
Showing 1 changed file with 148 additions and 0 deletions.
148 changes: 148 additions & 0 deletions files/hyprland/usr/share/hyprland/hyprland.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
exec-once = dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mainMod=SUPER
animations {
bezier=fastBezier, 0.05, 1.1, 0.2, 1.0
bezier=linear, 0.0, 0.0, 1.0, 1.0
bezier=liner, 1, 1, 1, 1
animation=windows, 1, 7, fastBezier, slide
animation=windowsOut, 1, 7, fastBezier, slide
animation=border, 1, 10, fastBezier
animation=fade, 1, 7, fastBezier
animation=workspaces, 1, 6, fastBezier
animation=border, 1, 1, liner
animation=borderangle, 1, 40, liner, loop
animation=borderangle, 1, 100, linear, loop
enabled=true
}

#cursor {
# no_hardware_cursors=true
#}

debug {
disable_logs=false
}

decoration {
blur {
enabled=true
new_optimizations=true
passes=3
size=6
}
active_opacity=1.000000
col.shadow=rgba(00000099)
drop_shadow=true
fullscreen_opacity=1.000000
inactive_opacity=1.000000
rounding=10
shadow_offset=0 5
shadow_range=60
shadow_render_power=4
}

dwindle {
preserve_split=true
pseudotile=true
}

general {
border_size=0
col.active_border=rgb(7dcfff) rgb(c0caf5)
col.inactive_border=rgb(24283b)
gaps_in=10
gaps_out=20
layout=dwindle
}

gestures {
workspace_swipe=false
}

input {
follow_mouse=1
force_no_accel=true
kb_layout=us
sensitivity=-0.5
}

#master {
# new_status=master
#}

misc {
disable_hyprland_logo=true
key_press_enables_dpms=false
mouse_move_enables_dpms=true
}
bind=$mainMod, Return, exec, wezterm
bind=$mainMod, Q, killactive,
bind=$mainMod, T, exec, ptyxis
bind=$mainMod, V, togglefloating,
bind=$mainMod, F, fullscreen,
bind=$mainMod, R, exec, rofi -show drun
bind=$mainMod, P, pseudo,
bind=$mainMod, J, togglesplit,
bind=$mainMod, left, movefocus, l
bind=$mainMod, right, movefocus, r
bind=$mainMod, up, movefocus, u
bind=$mainMod, down, movefocus, d
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
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
bind=$mainMod, mouse_down, workspace, e+1
bind=$mainMod, mouse_up, workspace, e-1
bindm= , mouse:276 , movewindow
bindm= , mouse:275, resizewindow
env=LD_LIBRARY_PATH,/usr/lib/nvidia
env=LIBGL_ALWAYS_SOFTWARE,0
env=__EGL_VENDOR_LIBRARY_FILENAMES,/usr/share/glvnd/egl_vendor.d/10_nvidia.json
env=GDK_BACKEND,wayland
env=CLUTTER_BACKEND,wayland
env=QT_QPA_PLATFORM,wayland
env=SDL_VIDEODRIVER,wayland
env=LIBVA_DRIVER_NAME,nvidia
env=XDG_SESSION_TYPE,wayland
env=GBM_BACKEND,nvidia-drm
env=__GLX_VENDOR_LIBRARY_NAME,nvidia
exec-once=eww open bar
exec-once=hyprpaper
exec-once=chatterino
exec-once=vesktop
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
layerrule=blur, ^(gtk-layer-shell|anyrun|eww|music-widget)$
monitor=HDMI-A-1,2560x1440@60, 1920x0, auto
monitor=DP-2,1920x1080@165, 0x0, auto
windowrulev2=noshadow, floating:0
windowrulev2=float, title:^(Volume Control)$
windowrulev2=float, title:^(Picture in picture)$
windowrulev2=float, title:^(Friends List)$
windowrulev2=float, title:^(Cryptomator)$
windowrulev2=float, title:^(RuneLite)$
windowrulev2=float, title:^(Lutris)$
windowrulev2=float, title:^(satty)$
windowrulev2=move 850 360, title:^(RuneLite)$
windowrulev2=size 830 600, title:^(RuneLite)$
windowrulev2=size 1200 600, title:^(satty)$
windowrulev2=idleinhibit focus, class:^(mpv)$
windowrulev2=idleinhibit always, class:^(firefox)$, title:^(.*YouTube.*|.*Twitch.*)$
windowrulev2=idleinhibit always, class:^(OBS Studio)$
windowrulev2=idleinhibit always, class:^(Moonlight)$
windowrulev2=idleinhibit fullscreen, class:^(firefox)$

0 comments on commit a524d1a

Please sign in to comment.