Compare commits

..

2 Commits

Author SHA1 Message Date
Nathan McCarty bbb51ebf2f
Tweak scratchpad window sizes 2023-08-14 11:53:14 -04:00
Nathan McCarty e76643fac7
Enable emacs scratchpad 2023-08-14 11:52:57 -04:00
1 changed files with 8 additions and 7 deletions

View File

@ -285,7 +285,7 @@ in with lib; {
bind = SUPER ALT, Q, exec, pypr toggle term bind = SUPER ALT, Q, exec, pypr toggle term
$dropterm = ^(alacritty-dropterm)$ $dropterm = ^(alacritty-dropterm)$
windowrule = float,$dropterm windowrule = float,$dropterm
windowrule = size 40% 50%,$dropterm windowrule = size 40% 70%,$dropterm
windowrule = workspace special silent,$dropterm windowrule = workspace special silent,$dropterm
windowrule = center,$dropterm windowrule = center,$dropterm
@ -293,7 +293,7 @@ in with lib; {
bind = SUPER ALT, W, exec, pypr toggle emacs bind = SUPER ALT, W, exec, pypr toggle emacs
$scratchmacs = title:^(scratchmacs)$ $scratchmacs = title:^(scratchmacs)$
windowrulev2 = float,$scratchmacs windowrulev2 = float,$scratchmacs
windowrulev2 = size 40% 50%,$scratchmacs windowrulev2 = size 40% 80%,$scratchmacs
windowrulev2 = workspace special silent,$scratchmacs windowrulev2 = workspace special silent,$scratchmacs
windowrulev2 = center,$scratchmacs windowrulev2 = center,$scratchmacs
@ -357,11 +357,6 @@ in with lib; {
exec emacsclient -c --frame-parameters='(quote (name . "scratchmacs"))' exec emacsclient -c --frame-parameters='(quote (name . "scratchmacs"))'
''; '';
# https://github.com/hyprland-community/pyprland/issues/6 # https://github.com/hyprland-community/pyprland/issues/6
# "emacs": {
# "command": "${emacsStart}",
# "animation": "",
# "unfocus": "hide"
# }
in { in {
text = '' text = ''
{ {
@ -375,6 +370,12 @@ in with lib; {
"command": "alacritty --class alacritty-dropterm --working-directory ~ -e tmux new -A -s scratch", "command": "alacritty --class alacritty-dropterm --working-directory ~ -e tmux new -A -s scratch",
"animation": "" "animation": ""
}, },
"emacs": {
"command": "${emacsStart}",
"animation": "",
"lazy": true,
"class": "emacs"
},
"ario": { "ario": {
"command": "ario", "command": "ario",
"animation": "" "animation": ""