diff options
Diffstat (limited to 'roles/hyprland')
| -rw-r--r-- | roles/hyprland/meta/main.yml | 1 | ||||
| -rw-r--r-- | roles/hyprland/templates/hyprland/autostart.conf.j2 | 1 | ||||
| -rw-r--r-- | roles/hyprland/templates/hyprland/bindings.conf.j2 | 5 | ||||
| -rw-r--r-- | roles/hyprland/templates/hyprland/rules.conf.j2 | 3 |
4 files changed, 9 insertions, 1 deletions
diff --git a/roles/hyprland/meta/main.yml b/roles/hyprland/meta/main.yml index f8cd9ed4..d847df16 100644 --- a/roles/hyprland/meta/main.yml +++ b/roles/hyprland/meta/main.yml @@ -11,6 +11,7 @@ dependencies: - role: "waybar" - role: "hyprtheme" - role: "hyprcursor" + - role: "clipse" galaxy_info: author: "a14m" description: "Install hyprland" diff --git a/roles/hyprland/templates/hyprland/autostart.conf.j2 b/roles/hyprland/templates/hyprland/autostart.conf.j2 index c908b0fe..d110a6bd 100644 --- a/roles/hyprland/templates/hyprland/autostart.conf.j2 +++ b/roles/hyprland/templates/hyprland/autostart.conf.j2 @@ -4,3 +4,4 @@ exec-once = uwsm-app -- hypridle exec-once = uwsm-app -- mako exec-once = uwsm-app -- waybar exec-once = uwsm-app -- swaybg -i ~/.config/hyprtheme/current/background -m fill +exec-once = uwsm-app -- clipse -listen diff --git a/roles/hyprland/templates/hyprland/bindings.conf.j2 b/roles/hyprland/templates/hyprland/bindings.conf.j2 index bf339b11..1a4e66ce 100644 --- a/roles/hyprland/templates/hyprland/bindings.conf.j2 +++ b/roles/hyprland/templates/hyprland/bindings.conf.j2 @@ -9,6 +9,11 @@ bindd = SUPER, Q, Quit, killactive, bindd = SUPER CONTROL, Q, Lock System, exec, hyprlock bindd = SUPER SHIFT, Q, Logout, exit, +# Clipboard managers +binde = SUPER, C, sendshortcut, CTRL, INSERT, +binde = SUPER, V, sendshortcut, SHIFT, INSERT, +bindd = SUPER SHIFT, V, Clipboard Manager, exec, alacritty --class work.kartoffln.clipse -e 'clipse' + # Switch workspaces with ctrl + [0-9] (MacOS-like) bind = CONTROL, 1, workspace, 1 bind = CONTROL, 2, workspace, 2 diff --git a/roles/hyprland/templates/hyprland/rules.conf.j2 b/roles/hyprland/templates/hyprland/rules.conf.j2 index 65fb3915..2a7d41ac 100644 --- a/roles/hyprland/templates/hyprland/rules.conf.j2 +++ b/roles/hyprland/templates/hyprland/rules.conf.j2 @@ -8,8 +8,9 @@ windowrule = scroll_touchpad 0.2, match:class com.mitchellh.ghostty windowrule = float on, match:tag floating-window windowrule = center on, match:tag floating-window windowrule = size 875 600, match:tag floating-window +windowrule = stay_focused on, match:tag floating-window -windowrule = tag +floating-window, match:class work.kartoffln.(bluetui|btop|wiremix|wlctl) +windowrule = tag +floating-window, match:class work.kartoffln.(bluetui|btop|wiremix|wlctl|clipse) windowrule = float on, match:class org.gnome.Calculator # Picture-in-picture overlays |
