# 

layerrule {
	name = deltarune qs mn
	match:namespace = deltarune-quickshell
	animation = slide top
	above_lock = 2
	order = -20
	no_screen_share = off
}

layerrule {
	name = deltarune qs hb
	match:namespace = deltarune-quickshell-bottom
	animation = slide bottom
	above_lock = 2
	order = -20
	no_screen_share = off
}

layerrule {
	name = deltarune qs db
	match:namespace = deltarune-quickshell-dialogbox
	animation = slide bottom
	order = 100
	above_lock = 2
	order = -20
	no_screen_share = off
}

bind = SUPER, A, global, deltarune:shell_open

# here goes the dark magic that lets you open this in dletarune (and any other exclusive fullscreen app/game)

submap = deltarune

bind = SUPER, A, global, deltarune:shell_close

bind = , ESCAPE, global, deltarune:input_back
bind = , Shift_L, global, deltarune:input_back
bind = , Shift_R, global, deltarune:input_back
bind = , X, global, deltarune:input_back

bind = , Z, global, deltarune:input_enter
bind = , ENTER, global, deltarune:input_enter
bind = , RETURN, global, deltarune:input_enter

bind = , UP, global, deltarune:input_up
bind = , DOWN, global, deltarune:input_down
bind = , LEFT, global, deltarune:input_left
bind = , RIGHT, global, deltarune:input_right

submap = reset
