diff options
| -rw-r--r-- | hypr/hypr.conf | 80 | ||||
| -rw-r--r-- | hypr/hyprland.conf | 92 |
2 files changed, 172 insertions, 0 deletions
diff --git a/hypr/hypr.conf b/hypr/hypr.conf new file mode 100644 index 0000000..35ceae3 --- /dev/null +++ b/hypr/hypr.conf @@ -0,0 +1,80 @@ + +######################################################################################## +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. +######################################################################################## + +autogenerated=1 # remove this line to get rid of the warning on top. + +gaps_in=5 +border_size=1 +gaps_out=20 +rounding=0 +max_fps=60 # max fps for updates of config & animations +focus_when_hover=1 # 0 - do not switch the focus when hover (only for tiling) +main_mod=SUPER # For moving, resizing +intelligent_transients=1 # keeps transients always on top. +no_unmap_saving=1 # disables saving unmapped windows (seems to break sometimes) +scratchpad_mon=0 # self-explanatory + +# Layout +layout=0 # 0 - dwindle (default), 1 - master +layout { + no_gaps_when_only=0 # disables gaps and borders when only window on screen +} + +# Bar config +Bar { + height=20 + monitor=0 + enabled=1 + mod_pad_in=8 + no_tray_saving=1 # using this doesnt save the tray between reloads but fixes an issue with the bar disappearing. + + font.main=Noto Sans + font.secondary=Noto Sans + + col.bg=0xff111111 + col.high=0xffff3333 + + module=left,X,0xff8000ff,0xffffffff,1,workspaces + module=pad,left,10 + module=left,,0xff7000dd,0xff7000dd,1,tray + module=right,X,0xffffffff,0xff00ff33,1000,$date +%a,\ %b\ %Y\ \ %I:%M\ %p$ +} + +# colors +col.active_border=0x77ff3333 +col.inactive_border=0x77222222 + +# animations +Animations { + enabled=1 + speed=5 # for workspaces + window_resize_speed=5 # for windows + cheap=1 # highly recommended + borders=0 + workspaces=0 # not really recommended +} + +# keybinds +bind=SUPER,R,exec,dmenu_run +bind=SUPER,T,exec,alacritty +bind=SUPER,M,exec,pkill Hypr +bind=SUPER,RETURN,exec,xterm +bind=SUPER,G,exec,google-chrome-stable + +bind=SUPER,C,killactive, + +bind=SUPER,F,fullscreen, + +bind=SUPER,1,workspace,1 +bind=SUPER,2,workspace,2 +bind=SUPER,3,workspace,3 +bind=SUPER,4,workspace,4 +bind=SUPER,5,workspace,5 +bind=SUPER,6,workspace,6 +bind=SUPER,7,workspace,7 +bind=SUPER,8,workspace,8 +bind=SUPER,9,workspace,9 diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf new file mode 100644 index 0000000..0f75321 --- /dev/null +++ b/hypr/hyprland.conf @@ -0,0 +1,92 @@ +exec-once = {dbus-update-activation-environment --systemd --all MOZ_ENABLE_WAYLAND && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target} +exec-once = wpaperd +exec-once = wl-paste -t text --watch cliphist store +exec-once = ulauncher --hide-window +exec-once = kanshi +exec-once = ashell + +$mod = SUPER +bind = $mod ALT , q , exec , hyprshutdown +bind = $mod , TAB , workspace , previous +bind = $mod , BackSpace , killactive +bind = $mod , f , fullscreen +bind = $mod SHIFT, space , togglefloating +bind = $mod SHIFT, space , pin +bind = $mod ALT , l , exec , sleep 1 && swaylock -i $(wpaperctl get eDP-1) && swaylock -i $(wpaperctl get eDP-1) +bind = $mod , j , cyclenext , none +bind = $mod , k , cyclenext , prev +bind = $mod SHIFT, j , swapnext , none +bind = $mod SHIFT, k , swapnext , prev +bind = $mod , Period , focusmonitor , +1 +bind = $mod , Comma , focusmonitor , -1 +bind = $mod SHIFT, Period , movewindow , mon:+1 +bind = $mod SHIFT, Comma , movewindow , mon:-1 +bind = $mod , h , layoutmsg , mfact, -0.1 +bind = $mod , l , layoutmsg , mfact, +0.1 +bind = $mod , m , layoutmsg , swapwithmaster +bind = $mod , Return , exec , kitty +bind = $mod SHIFT, Return , exec , [float] kitty +bind = $mod CTRL , Return , exec , kitten quick-access-terminal +bind = $mod , D , exec , ulauncher --toggle +bind = $mod , C , exec , cliphist wipe +bind = , Print , exec , slurp | grim -g - +bind = ALT , Print , exec , grim +bind = , XF86AudioMute , exec , wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle +bind = , XF86AudioLowerVolume , exec , wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05- +bind = , XF86AudioRaiseVolume , exec , wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.05+ +bind = , XF86AudioMicMute , exec , wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle +bind = , XF86AudioStop , exec , playerctl stop +bind = , XF86AudioPlay , exec , playerctl play-pause +bind = , XF86AudioPrev , exec , playerctl previous +bind = , XF86AudioNext , exec , playerctl next +bind = , XF86MonBrightnessDown, exec , brightnessctl s 10%- +bind = , XF86MonBrightnessUp , exec , brightnessctl s 10%+ +bind = SHIFT , F11 , exec , brightnessctl s 10%- +bind = SHIFT , F12 , exec , brightnessctl s 10%+ +bind = $mod , code:10 , workspace , 1 +bind = $mod SHIFT, code:10 , movetoworkspace, 1 +bind = $mod , code:11 , workspace , 2 +bind = $mod SHIFT, code:11 , movetoworkspace, 2 +bind = $mod , code:12 , workspace , 3 +bind = $mod SHIFT, code:12 , movetoworkspace, 3 +bind = $mod , code:13 , workspace , 4 +bind = $mod SHIFT, code:13 , movetoworkspace, 4 + +bindm = $mod , mouse:272 , movewindow +bindm = $mod , mouse:273 , resizewindow +bindm = $mod , mouse:274 , togglefloating + + +general { + border_size = 2 + col.active_border = rgba(799df6ff) + col.inactive_border = rgba(dfdfdfff) + gaps_in = 0 + gaps_out = 0 + layout = master +} + +input { + touchpad { + natural_scroll = true + } + follow_mouse = 2 + kb_layout = br,us + kb_options = compose:ralt,grp:win_space_toggle + repeat_delay = 250 + repeat_rate = 40 +} + +master { + mfact = 0.600000 + new_on_top = true + new_status = inherit +} + +windowrule = workspace 2, match:class FreeTube +windowrule = workspace 2, match:class org.nicotine_plus.Nicotine +windowrule = workspace 3, match:class steam +windowrule = workspace 3, match:class vesktop +windowrule = workspace 3, match:class FreeTube +windowrule = workspace 4, match:class firefox +windowrule = workspace 3, match:title ^Steam |
