From 178a72f10196c61bda73935f6cde613bd2d6f5ae Mon Sep 17 00:00:00 2001 From: Yuta Katayama <8683947+yutkat@users.noreply.github.com> Date: Wed, 22 Nov 2023 06:01:01 +0900 Subject: [PATCH] hypr: Fix pypr --- .config/hypr/hyprland.conf | 8 ++++---- .config/hypr/pyprland.json | 14 -------------- .config/hypr/pyprland.toml | 11 +++++++++++ 3 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 .config/hypr/pyprland.json create mode 100644 .config/hypr/pyprland.toml diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index fc279d27f..62d068c63 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -165,10 +165,10 @@ bind=SUPER,r,exec,killall -SIGUSR2 waybar ## pypr exec-once=pypr bind=SUPER,semicolon,exec,pypr toggle term -windowrulev2=float,class:(wezterm.scratchpad) -windowrulev2=workspace special silent,class:(wezterm.scratchpad) -windowrulev2=size 90% 90%,class:(wezterm.scratchpad) -windowrulev2=center,class:(wezterm.scratchpad) +# windowrulev2=float,class:(wezterm.scratchpad) +# windowrulev2=workspace special:scratch_term silent,class:(wezterm.scratchpad) +# windowrulev2=size 90% 90%,class:(wezterm.scratchpad) +# windowrulev2=center,class:(wezterm.scratchpad) ## Lock exec-once=swayidle -w timeout 600 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on' diff --git a/.config/hypr/pyprland.json b/.config/hypr/pyprland.json deleted file mode 100644 index d22e53a01..000000000 --- a/.config/hypr/pyprland.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "pyprland": { - "plugins": [ - "scratchpads" - ] - }, - "scratchpads": { - "term": { - "command": "wezterm start --class 'wezterm.scratchpad'", - "animation": "fromTop", - "unfocus": "hide" - } - } -} diff --git a/.config/hypr/pyprland.toml b/.config/hypr/pyprland.toml new file mode 100644 index 000000000..b32c20d91 --- /dev/null +++ b/.config/hypr/pyprland.toml @@ -0,0 +1,11 @@ +[pyprland] +plugins = [ + "scratchpads", +] + +[scratchpads.term] +animation = "fromTop" +command = "wezterm start --class 'wezterm.scratchpad'" +class = "wezterm.scratchpad" +size = "90% 90%" +# position = "50% 50%"