feat: add pyprland and term dropdown

This commit is contained in:
Yingjie Wang 2024-05-23 03:18:10 -04:00
parent 73d4480014
commit 8fc4cb9d9e
5 changed files with 22 additions and 3 deletions

View File

@ -32,3 +32,5 @@ exec-once = ~/.config/ml4w-hyprland-settings/hyprctl.sh
# Start ewww daemon
exec-once = ~/dotfiles/hypr/scripts/eww.sh
exec-once = pypr

View File

@ -92,3 +92,6 @@ bind = $mainMod, P, submap, passthru
submap = passthru
bind = SUPER, Escape, submap, reset
submap = reset
# Pyprland
bind = $mainMod SHIFT, RETURN, exec, pypr toggle term

12
hypr/pyprland.toml Normal file
View File

@ -0,0 +1,12 @@
[pyprland]
plugins = [
"scratchpads",
"magnify",
]
[scratchpads.term]
animation = "fromTop"
command = "alacritty --class alacritty-dropterm"
class = "alacritty-dropterm"
size = "75% 60%"

View File

@ -33,7 +33,8 @@
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
"Alacritty",
"alacritty-dropterm"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"

View File

@ -35,7 +35,8 @@
"on-click": "activate",
"on-click-middle": "close",
"ignore-list": [
"Alacritty"
"Alacritty",
"alacritty-dropterm"
],
"app_ids-mapping": {
"firefoxdeveloperedition": "firefox-developer-edition"