Add floating term bind

This commit is contained in:
Emmet 2024-09-08 11:26:52 -05:00
parent 93e822ff05
commit fc418c891e

View file

@ -165,6 +165,8 @@ in
bind=SUPER,RETURN,exec,'' + userSettings.term + ''
bind=SUPERSHIFT,RETURN,exec,'' + userSettings.term + " " + '' --class float_term
bind=SUPER,A,exec,'' + userSettings.spawnEditor + ''
bind=SUPER,S,exec,'' + userSettings.spawnBrowser + ''
@ -266,6 +268,10 @@ in
windowrulev2 = workspace special:scratch_term ,$scratch_term
windowrulev2 = center,$scratch_term
$float_term = class:^(float_term)$
windowrulev2 = float,$float_term
windowrulev2 = center,$float_term
$scratch_ranger = class:^(scratch_ranger)$
windowrulev2 = float,$scratch_ranger
windowrulev2 = $scratchpadsize,$scratch_ranger