mirror of
https://github.com/mrfluffy-dev/dotfiles.git
synced 2026-01-16 21:30:33 +00:00
237 lines
6.1 KiB
Plaintext
237 lines
6.1 KiB
Plaintext
# This is an example Hyprland config file.
|
|
# Syntax is the same as in Hypr, but settings might differ.
|
|
#
|
|
# Refer to the wiki for more information.
|
|
|
|
#
|
|
# Please note not all available settings / options are set here.
|
|
# For a full list, see the wiki (basic and advanced configuring)
|
|
#
|
|
#exec-once=~/.config/script/theme-fix
|
|
env = SDL_VIDEODRIVER,wayland
|
|
env = _JAVA_AWT_WM_NONREPARENTING,1
|
|
env = QT_QPA_PLATFORM,wayland
|
|
env = XDG_CURRENT_DESKTOP,hyprland
|
|
env = XDG_SESSION_DESKTOP,hyprland
|
|
env = MOZ_ENABLE_WAYLAND,1
|
|
env = LIBVA_DRIVER_NAME,amdgpu
|
|
env = QT_QPA_PLATFORMTHEME,qt6ct
|
|
exec-once=eww open bar
|
|
exec-once=systemctl --user restart xdg-desktop-portal
|
|
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
|
exec-once=~/.config/script/waylock.sh
|
|
exec-once=~/.azotebg-hyprland
|
|
exec-once=foot -s
|
|
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
|
exec-once=autoadb scrcpy -s '{}'
|
|
exec-once=hyprctl setcursor oreo_purple_cursors 16
|
|
exec-once=fcitx5 -d
|
|
monitor=DP-2,1920x1080@60,0x0,1
|
|
monitor=DP-1,1920x1080@60,1920x0,1
|
|
#,bitdepth,10
|
|
#monitor=DP-3,1920x1080@60,4480x0,1
|
|
#monitor=DP-3,transform,1
|
|
workspace=HDMI-A-1,10
|
|
#workspace=HDMI-A-1,1
|
|
workspace=DP-2,1
|
|
workspace=DP-2,2
|
|
workspace=DP-2,3
|
|
workspace=DP-2,4
|
|
workspace=DP-2,5
|
|
workspace=DP-2,6
|
|
workspace=DP-2,7
|
|
workspace=DP-2,8
|
|
workspace=DP-2,9
|
|
workspace=HDMI-A-1,10
|
|
|
|
|
|
misc:disable_hyprland_logo=true
|
|
misc:enable_swallow=true
|
|
#misc:swallow_regex=foot
|
|
|
|
input {
|
|
numlock_by_default=true
|
|
follow_mouse=1
|
|
repeat_delay=300
|
|
repeat_rate=50
|
|
|
|
touchpad {
|
|
natural_scroll=no
|
|
}
|
|
}
|
|
|
|
|
|
|
|
general {
|
|
sensitivity=1.0 # for mouse cursor
|
|
gaps_in=5
|
|
gaps_out=5
|
|
border_size=2
|
|
col.active_border=rgba(8218c4ff)
|
|
col.inactive_border=0x66333333
|
|
layout=master
|
|
apply_sens_to_raw=1 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
|
|
}
|
|
|
|
group {
|
|
col.border_active=0xff8218c4
|
|
col.border_inactive=0xff282a36
|
|
}
|
|
|
|
decoration {
|
|
#blur_ignore_opacity = true
|
|
#blur_new_optimizations = true
|
|
rounding=10
|
|
#blur=1
|
|
#blur_size=5 # minimum 1
|
|
#blur_passes=1 # minimum 1, more passes = more resource intensive.
|
|
# Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts.
|
|
# if you want heavy blur, you need to up the blur_passes.
|
|
# the more passes, the more you can up the blur_size without noticing artifacts.
|
|
}
|
|
|
|
animations {
|
|
enabled=1
|
|
animation=windows,1,7,default,popin 80%
|
|
animation=border,1,7,default
|
|
animation=fade,1,7,default
|
|
animation=workspaces,1,6,default
|
|
}
|
|
master {
|
|
new_on_top=true
|
|
}
|
|
|
|
dwindle {
|
|
pseudotile=0 # enable pseudotiling on dwindle
|
|
force_split=2
|
|
}
|
|
|
|
gestures {
|
|
workspace_swipe=no
|
|
}
|
|
|
|
# example window rules
|
|
# for windows named/classed as abc and xyz
|
|
#windowrule=move 69 420,abc
|
|
windowrule=fullscreen,mpv
|
|
windowrule=float,qalculate-gtk
|
|
#windowrule=size 1000 500, mpv
|
|
#windowrule=move 460,290, mpv
|
|
windowrule=float,imv
|
|
windowrule=float,scrcpy
|
|
windowrule=size 412 876, scrcpy
|
|
windowrule=center, scrcpy
|
|
|
|
# rofi
|
|
windowrule = float, Rofi
|
|
blurls=rofi
|
|
|
|
|
|
windowrule=float,title:^(kami)$
|
|
windowrule=size 1011 781,title:^(kami)$
|
|
#windowrule=center,title^(kami)$
|
|
windowrule=move 724 358,title:^(kami)$
|
|
|
|
#windowrule=pseudo,abc
|
|
#windowrule=monitor 0,xyz
|
|
windowrule=tile,WebApp-ytmusic4224
|
|
windowrule=tile,WebApp-discord5149
|
|
|
|
#windowrule=workspace 10,krita
|
|
#windowrule=workspace 10,inkscape
|
|
#windowrule=workspace 10,Gimp-2.10
|
|
#windowrule=workspace 10,Blender
|
|
|
|
# example binds
|
|
bind=ALT,Return,exec,footclient
|
|
bind=ALT,A,exec,~/repos/Mangayomi-v0.0.7-linux.AppImage
|
|
bind=ALT,Q,killactive,
|
|
bind=ALT,F,exec,pcmanfm
|
|
bind=ALT,B,exec,firefox
|
|
bind=ALT,E,exec,emacsclient -r
|
|
bind=,107,exec,~/.config/script/wayscreenshot.sh
|
|
bind=ALT,P,exec,hyprpicker -f hex | wl-copy
|
|
bind=ALT,Z,exec,~/.config/hypr/monitors.sh
|
|
bind=SHIFT,107,exec,grim -g "$(slurp)" - | wl-copy
|
|
bind=ALTSHIFT,Q,exit,
|
|
bind=ALTSHIFT,F,togglefloating,
|
|
bind=ALTSHIFT,T,fullscreen,0
|
|
bind=ALT,D,exec,rofi -no-lazy-greb -show drun -icon-theme 'Papirus' -show-icons
|
|
bind=ALT,S,exec,rofi -modi emoji -show emoji
|
|
|
|
# toggle waybar
|
|
bind=SUPER,W,exec,~/.config/script/hide_waybar.sh
|
|
|
|
bind=ALT,H,focusmonitor,DP-2
|
|
bind=ALT,L,focusmonitor,DP-3
|
|
bind=ALT,K,cyclenext,prev
|
|
bind=ALT,J,cyclenext,
|
|
|
|
bind=ALTSHIFT,H,movewindow,l
|
|
bind=ALTSHIFT,L,movewindow,r
|
|
bind=ALTSHIFT,K,movewindow,u
|
|
bind=ALTSHIFT,J,movewindow,d
|
|
|
|
#floating toggle
|
|
bind=ALT,T,togglefloating,
|
|
|
|
# move window with mouse
|
|
bindm=ALT,mouse:272,movewindow
|
|
bindm=ALT,mouse:273,resizewindow
|
|
|
|
# resize Mode with Alt + R : Press Escape to quit
|
|
bind=ALT,R,submap,resize # will switch to a submap called resize
|
|
submap=resize # will start a submap called "resize"
|
|
|
|
bind=,l,resizeactive,30 0
|
|
bind=,h,resizeactive,-30 0
|
|
bind=,k,resizeactive,0 -30
|
|
bind=,j,resizeactive,0 30
|
|
|
|
|
|
|
|
bind=,escape,submap,reset # use reset to go back to the global submap
|
|
submap=reset # will reset the submap, meaning end the current one and return to the global one.
|
|
|
|
# audio controlls
|
|
bind=,XF86AudioRaiseVolume,exec,pamixer -i 5
|
|
bind=,XF86AudioLowerVolume,exec,pamixer -d 5
|
|
bind=,XF86AudioMute,exec,pamixer --toggle-mute
|
|
|
|
# media controlles
|
|
bind=,XF86AudioMedia,exec,playerctl play-pause
|
|
bind=,XF86AudioPlay,exec,playerctl play-pause
|
|
bind=,XF86AudioPrev,exec,playerctl previous
|
|
bind=,XF86AudioNext,exec,playerctl next
|
|
|
|
|
|
bind=ALT,1,workspace,1
|
|
bind=ALT,2,workspace,2
|
|
bind=ALT,3,workspace,3
|
|
bind=ALT,4,workspace,4
|
|
bind=ALT,5,workspace,5
|
|
bind=ALT,6,workspace,6
|
|
bind=ALT,7,workspace,7
|
|
bind=ALT,8,workspace,8
|
|
bind=ALT,9,workspace,9
|
|
bind=ALT,0,workspace,10
|
|
bind=ALT,51,togglespecialworkspace
|
|
|
|
bind=ALTSHIFT,1,movetoworkspacesilent,1
|
|
bind=ALTSHIFT,2,movetoworkspacesilent,2
|
|
bind=ALTSHIFT,3,movetoworkspacesilent,3
|
|
bind=ALTSHIFT,4,movetoworkspacesilent,4
|
|
bind=ALTSHIFT,5,movetoworkspacesilent,5
|
|
bind=ALTSHIFT,6,movetoworkspacesilent,6
|
|
bind=ALTSHIFT,7,movetoworkspacesilent,7
|
|
bind=ALTSHIFT,8,movetoworkspacesilent,8
|
|
bind=ALTSHIFT,9,movetoworkspacesilent,9
|
|
bind=ALTSHIFT,0,movetoworkspacesilent,10
|
|
bind=ALT,48,movetoworkspace,special
|
|
|
|
bind=SUPER,mouse_down,workspace,e+1
|
|
bind=SUPER,mouse_up,workspace,e-1
|
|
|
|
bind=ALT,49,togglegroup
|
|
bind=ALT,tab,changegroupactive
|