From 3cc6cc0d402acf491e8aa551fee0f5d9306bc668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Fri, 22 Mar 2024 21:25:27 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(hypr):=20use=20#=20instead?= =?UTF-8?q?=20of=20##=20for=20comments=20due=20to=20new=20hyprlang=20versi?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/hypr/configs/binds.conf | 14 +++++++------- .config/hypr/scripts/color_picker | 2 +- .config/hypr/themes/luna/rules.conf | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.config/hypr/configs/binds.conf b/.config/hypr/configs/binds.conf index b5677a95..7085c961 100644 --- a/.config/hypr/configs/binds.conf +++ b/.config/hypr/configs/binds.conf @@ -11,7 +11,7 @@ bind = SUPER, P, pseudo bind = SUPER, F, fullscreen, 0 bind = SUPER, Z, exec, pypr zoom -## Applications +# Applications bind = SUPER, W, exec, ~/.config/hypr/scripts/custom_app_launch librewolf bind = SUPER, O, exec, ~/.config/hypr/scripts/custom_app_launch obsidian bind = SUPERSHIFT, O, exec, ~/.config/hypr/scripts/custom_app_launch office @@ -51,8 +51,8 @@ bind = ALT, INSERT, exec, ~/.config/hypr/scripts/rofi/screenshots_selection # Logout menu bind = SUPER, ESCAPE, exec, wleave -## Windows -## Focusing on windows +# Windows +# Focusing on windows bind = SUPER, LEFT, movefocus, l bind = SUPER, RIGHT, movefocus, r bind = SUPER, UP, movefocus, u @@ -63,7 +63,7 @@ bind = SUPER, L, movefocus, r bind = SUPER, K, movefocus, u bind = SUPER, J, movefocus, d -## Moving windows +# Moving windows bind = SUPERSHIFT, LEFT, movewindow, l bind = SUPERSHIFT, RIGHT, movewindow, r bind = SUPERSHIFT, UP, movewindow, u @@ -79,7 +79,7 @@ bind = SUPERSHIFT, 51, exec, ~/.config/hypr/scripts/move_by_rules # Backslash bind = SUPER, S, togglesplit bind = SUPER, C, exec, hyprctl dispatch centerwindow 1 -## Workspaces +# Workspaces # Focusing other workspaces bind = SUPER, 1, exec, hyprsome workspace 1 bind = SUPER, 2, exec, hyprsome workspace 2 @@ -149,8 +149,8 @@ bind = , ESCAPE, submap, reset submap = reset -## Audio -bind = SUPERCTRL, V, exec, restartAudio +# Audio +bind = SUPERCTRL, V, exec, ~/.local/bin/restartAudio bindl = SUPERCTRL, mouse:280, exec, swayosd-client --output-volume mute-toggle # Extra Up Button bindl = , XF86AudioMute, exec, swayosd-client --output-volume mute-toggle diff --git a/.config/hypr/scripts/color_picker b/.config/hypr/scripts/color_picker index 1c9ef4fe..0f81c02d 100755 --- a/.config/hypr/scripts/color_picker +++ b/.config/hypr/scripts/color_picker @@ -1,6 +1,6 @@ #!/usr/bin/env bash -## Simple Script To Pick Color Quickly. +# Simple Script To Pick Color Quickly. # pick and autocopy hyprpicker -n -a diff --git a/.config/hypr/themes/luna/rules.conf b/.config/hypr/themes/luna/rules.conf index 677f5e16..3918ef74 100644 --- a/.config/hypr/themes/luna/rules.conf +++ b/.config/hypr/themes/luna/rules.conf @@ -1,4 +1,4 @@ -## Base Rules +# Base Rules $center-float-large = class:^(center-float-large)$|^(.*Geeqie.*)$|^(.*geeqie.*)$|^(.*celluloid.*)$ windowrulev2 = float, $center-float-large windowrulev2 = size 70% 70%, $center-float-large @@ -15,11 +15,11 @@ windowrulev2 = size 30% 40%, $center-float-mini windowrulev2 = center 1, $center-float-mini -## Float Rules +# Float Rules windowrule = float, xfce-polkit|wleave|title:Open File|title:Open Folder|title:branchdialog|nwg-look|nm-connection-editor -## Workspace Rules +# Workspace Rules # System windowrulev2 = workspace 9, class:^(.*virt-manager.*)$|(.*PikaBackup.*)$ windowrulev2 = workspace 19, class:^(.*GParted.*)$|(.*clamtk.*)$|(.*gnome.Logs.*)$ @@ -46,7 +46,7 @@ windowrulev2 = workspace 10 silent, class:^(.*obsidian.*)$ windowrulev2 = workspace 2, class:^(.*Code.*)$|(.*codium.*)$|(.*VSCodium.*) -## Scratchpads +# Scratchpads $scratchpad = class:^(scratchpad)$ windowrulev2 = float, $scratchpad windowrulev2 = center 1, $scratchpad @@ -60,7 +60,7 @@ windowrulev2 = float, $sideScratchpad windowrulev2 = center 1, $sideScratchpad -## Specific App Rules +# Specific App Rules $videobridge = class:^(.*xwaylandvideobridge.*)$ windowrulev2 = opacity 0.0 override 0.0 override, $videobridge windowrulev2 = noanim, $videobridge