2021-11-21 13:12:55 +01:00
|
|
|
# Hypr example config file
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# =)
|
|
|
|
|
|
|
|
gaps_in=5
|
|
|
|
border_size=1
|
|
|
|
gaps_out=20
|
2021-11-28 14:03:34 +01:00
|
|
|
rounding=0
|
2021-11-27 19:07:33 +01:00
|
|
|
max_fps=60 # max fps for updates of config & animations
|
2021-12-05 12:05:44 +01:00
|
|
|
focus_when_hover=1 # 0 - do not switch the focus when hover (only for tiling)
|
2021-12-10 12:09:36 +01:00
|
|
|
main_mod=SUPER # For moving, resizing
|
2021-12-21 12:22:41 +01:00
|
|
|
intelligent_transients=1 # keeps transients always on top.
|
2022-01-06 16:38:41 +01:00
|
|
|
no_unmap_saving=1 # disables saving unmapped windows (seems to break sometimes)
|
2021-11-30 20:10:37 +01:00
|
|
|
|
|
|
|
# Execs
|
|
|
|
# exec-once=/home/me/MyEpicShellScript # will exec the script only when the WM launches
|
|
|
|
# exec=/home/me/MyEpicShellScript # will exec the script every time the config is reloaded
|
|
|
|
|
2022-03-08 15:11:55 +01:00
|
|
|
# Layout
|
|
|
|
layout=0 # 0 - dwindle (default), 1 - master
|
|
|
|
layout {
|
|
|
|
no_gaps_when_only=0 # disables gaps and borders when only window on screen
|
|
|
|
}
|
|
|
|
|
2021-11-27 19:07:33 +01:00
|
|
|
# Bar config
|
|
|
|
Bar {
|
|
|
|
height=20
|
|
|
|
monitor=0
|
|
|
|
enabled=1
|
2021-11-30 21:11:27 +01:00
|
|
|
mod_pad_in=8
|
2021-12-26 00:00:38 +01:00
|
|
|
no_tray_saving=1 # using this doesnt save the tray between reloads but fixes an issue with the bar disappearing.
|
2021-11-30 21:11:27 +01:00
|
|
|
|
|
|
|
font.main=Noto Sans
|
|
|
|
font.secondary=Noto Sans
|
2021-11-27 19:07:33 +01:00
|
|
|
|
|
|
|
col.bg=0xff111111
|
|
|
|
col.high=0xffff3333
|
|
|
|
|
2021-11-30 21:11:27 +01:00
|
|
|
module=left,X,0xff8000ff,0xffffffff,1,workspaces
|
2021-12-06 18:56:24 +01:00
|
|
|
module=pad,left,10
|
|
|
|
module=left,,0xff7000dd,0xff7000dd,1,tray
|
2021-11-30 21:11:27 +01:00
|
|
|
module=right,X,0xffffffff,0xff00ff33,1000,$date +%a,\ %b\ %Y\ \ %I:%M\ %p$
|
2021-11-27 19:07:33 +01:00
|
|
|
}
|
2021-11-21 13:12:55 +01:00
|
|
|
|
2021-11-22 19:06:00 +01:00
|
|
|
# colors
|
|
|
|
col.active_border=0x77ff3333
|
|
|
|
col.inactive_border=0x77222222
|
|
|
|
|
2021-11-24 19:17:13 +01:00
|
|
|
# status command
|
2021-11-30 21:14:45 +01:00
|
|
|
# deprecated
|
|
|
|
# status_command=date +%a,\ %b\ %Y\ \ %I:%M\ %p
|
|
|
|
#
|
2021-11-24 19:17:13 +01:00
|
|
|
|
2021-11-23 22:25:16 +01:00
|
|
|
# animations
|
2021-12-10 19:10:12 +01:00
|
|
|
Animations {
|
|
|
|
enabled=1
|
|
|
|
speed=5
|
|
|
|
cheap=1 # highly recommended
|
2021-12-10 23:28:00 +01:00
|
|
|
borders=0
|
2021-12-24 09:22:56 +01:00
|
|
|
workspaces=0 # not really recommended
|
2021-12-10 19:10:12 +01:00
|
|
|
}
|
2021-11-23 22:25:16 +01:00
|
|
|
|
2021-12-21 18:32:38 +01:00
|
|
|
# example window rules
|
2021-12-20 20:50:35 +01:00
|
|
|
windowrule=float,class:krunner
|
|
|
|
windowrule=float,role:pop-up
|
|
|
|
windowrule=float,role:task_dialog
|
2021-12-21 18:32:38 +01:00
|
|
|
windowrule=monitor 0,class:krunner
|
|
|
|
windowrule=size 500 50,class:krunner
|
|
|
|
windowrule=move 700 500,class:krunner
|
2021-12-20 20:50:35 +01:00
|
|
|
|
2021-11-21 13:12:55 +01:00
|
|
|
# keybinds
|
|
|
|
bind=SUPER,R,exec,dmenu_run
|
|
|
|
bind=SUPER,Q,exec,kitty
|
|
|
|
bind=SUPER,RETURN,exec,xterm
|
|
|
|
bind=SUPER,G,exec,google-chrome-stable
|
|
|
|
|
|
|
|
bind=SUPER,C,killactive,
|
|
|
|
|
|
|
|
bind=SUPER,LEFT,movewindow,l
|
|
|
|
bind=SUPER,RIGHT,movewindow,r
|
|
|
|
bind=SUPER,UP,movewindow,u
|
|
|
|
bind=SUPER,DOWN,movewindow,d
|
|
|
|
|
2021-12-05 12:05:44 +01:00
|
|
|
bind=SUPER,LEFT,movefocus,l
|
|
|
|
bind=SUPER,RIGHT,movefocus,r
|
|
|
|
bind=SUPER,UP,movefocus,u
|
|
|
|
bind=SUPER,DOWN,movefocus,d
|
|
|
|
|
2021-11-21 13:12:55 +01:00
|
|
|
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
|
|
|
|
|
2021-11-25 17:44:46 +01:00
|
|
|
bind=SUPERSHIFT,1,movetoworkspace,1
|
|
|
|
bind=SUPERSHIFT,2,movetoworkspace,2
|
|
|
|
bind=SUPERSHIFT,3,movetoworkspace,3
|
|
|
|
bind=SUPERSHIFT,4,movetoworkspace,4
|
|
|
|
bind=SUPERSHIFT,5,movetoworkspace,5
|
|
|
|
bind=SUPERSHIFT,6,movetoworkspace,6
|
|
|
|
bind=SUPERSHIFT,7,movetoworkspace,7
|
|
|
|
bind=SUPERSHIFT,8,movetoworkspace,8
|
|
|
|
bind=SUPERSHIFT,9,movetoworkspace,9
|
|
|
|
|
2021-11-21 15:15:33 +01:00
|
|
|
bind=SUPER,SPACE,togglefloating,
|
2022-03-09 12:13:47 +01:00
|
|
|
|
|
|
|
bind=SUPER,equals,splitratio,+
|
|
|
|
bind=SUPER,minus,splitratio,-
|