forked from Shinonome/dots-hyprland
149 lines
4.0 KiB
Plaintext
Executable File
149 lines
4.0 KiB
Plaintext
Executable File
###################################################
|
|
# This is the config for Hypr, not Hyprland! #
|
|
# that abandoned Xorg window manager.. #
|
|
###################################################
|
|
|
|
gaps_in=4
|
|
border_size=3
|
|
gaps_out=8
|
|
rounding=17
|
|
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 # no its not
|
|
|
|
# Execs
|
|
exec-once=nitrogen --set-centered ~/.config/eww/images/wallpaper/wallpaper
|
|
exec-once=/usr/bin/gnome-keyring-daemon --start --components=secrets
|
|
exec-once=/usr/libexec/polkit-gnome-authentication-agent-1 &
|
|
exec-once=ibus-daemon --xim -d -r
|
|
exec-once=picom
|
|
#exec-once=ibus-daemon &
|
|
exec-once=ibus engine Bamboo::Us
|
|
bind=SUPERSHIFT,V,exec,ibus engine Bamboo::Us
|
|
bind=SUPERSHIFT,E,exec,ibus engine xkb:us::eng
|
|
|
|
# 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=0xff7348e0
|
|
col.inactive_border=0x77222222
|
|
|
|
# status command
|
|
# deprecated
|
|
# status_command=date +%a,\ %b\ %Y\ \ %I:%M\ %p
|
|
#
|
|
|
|
# animations
|
|
Animations {
|
|
enabled=1
|
|
speed=8
|
|
window_resize_speed=1
|
|
cheap=1 # highly recommended
|
|
borders=1
|
|
workspaces=1
|
|
}
|
|
|
|
# example window rules, more in the wiki
|
|
|
|
# windowrule=float,class:krunner
|
|
# windowrule=float,role:pop-up
|
|
# windowrule=float,role:task_dialog
|
|
# windowrule=monitor 0,class:krunner
|
|
# windowrule=size 500 50,class:krunner
|
|
# windowrule=move 700 500,class:krunner
|
|
# windowrule=pseudo,class:discord
|
|
|
|
# keybinds
|
|
bind=CTRLALT,119,exec,kill Xorg
|
|
bind=SUPER,R,exec,dmenu_run
|
|
bind=SUPER,T,exec,kitty fish
|
|
# bind=SUPER,W,exec,microsoft-edge --password-store=gnome --enable-features=UseOzonePlatform --gtk-version=4
|
|
bind=SUPER,W,exec,firefox
|
|
bind=SUPER,A,exec,rofi -show drun
|
|
bind=SUPER,ESCAPE,exec,kitty btop
|
|
bind=SUPER,E,exec,nautilus --new-window
|
|
bind=SUPER,G,exec,gnome-text-editor --new-window
|
|
|
|
bind=SUPER,Q,killactive,
|
|
|
|
bind=SUPERSHIFT,LEFT,movewindow,l
|
|
bind=SUPERSHIFT,RIGHT,movewindow,r
|
|
bind=SUPERSHIFT,UP,movewindow,u
|
|
bind=SUPERSHIFT,DOWN,movewindow,d
|
|
|
|
bind=SUPER,LEFT,movefocus,l
|
|
bind=SUPER,RIGHT,movefocus,r
|
|
bind=SUPER,UP,movefocus,u
|
|
bind=SUPER,DOWN,movefocus,d
|
|
|
|
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
|
|
bind=SUPER,0,workspace,10
|
|
|
|
bind=CTRLSUPER,left,lastworkspace,-
|
|
bind=CTRLSUPER,right,nextworkspace,+
|
|
bind=CTRLSUPER,Prior,lastworkspace,-
|
|
bind=CTRLSUPER,Next,nextworkspace,+
|
|
bind=SUPER,Prior,lastworkspace,-
|
|
bind=SUPER,Next,nextworkspace,+
|
|
bind=CTRLSUPER,H,lastworkspace,
|
|
bind=CTRLSUPER,L,nextworkspace,
|
|
|
|
bind=CTRLSUPERSHIFT,left,movetorelativeworkspace,-
|
|
bind=CTRLSUPERSHIFT,right,movetorelativeworkspace,+
|
|
|
|
bind=SUPERALT,1,movetoworkspace,1
|
|
bind=SUPERALT,2,movetoworkspace,2
|
|
bind=SUPERALT,3,movetoworkspace,3
|
|
bind=SUPERALT,4,movetoworkspace,4
|
|
bind=SUPERALT,5,movetoworkspace,5
|
|
bind=SUPERALT,6,movetoworkspace,6
|
|
bind=SUPERALT,7,movetoworkspace,7
|
|
bind=SUPERALT,8,movetoworkspace,8
|
|
bind=SUPERALT,9,movetoworkspace,9
|
|
bind=SUPERALT,0,movetoworkspace,10
|
|
|
|
bind=SUPERSHIFT,S,movetoworkspace,scratchpad
|
|
bind=SUPER,S,scratchpad,
|
|
|
|
bind=SUPERALT,SPACE,togglefloating,
|
|
|
|
bind=SUPER,equal,splitratio,+0.15
|
|
bind=SUPER,minus,splitratio,-0.15
|