From af4038ef54be8be0625642c297549014dcf72297 Mon Sep 17 00:00:00 2001 From: TolaMironcenko Date: Fri, 14 Mar 2025 14:16:03 +0700 Subject: [PATCH] Update windowrules.conf --- hypr/animation.conf | 1 + hypr/windowrules.conf | 5 +- swaync/config.json | 150 ++++++++++++++++++++---------------------- 3 files changed, 74 insertions(+), 82 deletions(-) diff --git a/hypr/animation.conf b/hypr/animation.conf index 446e914..db715d5 100644 --- a/hypr/animation.conf +++ b/hypr/animation.conf @@ -2,6 +2,7 @@ #--------- animations --------------------------------------- animations { enabled = true # enabling animations + first_launch_animation = true animation = windows, 1, 2, default animation = windowsOut, 1, 2, default, popin 80% animation = border, 1, 2, default diff --git a/hypr/windowrules.conf b/hypr/windowrules.conf index f7ccf93..c4c0f5a 100644 --- a/hypr/windowrules.conf +++ b/hypr/windowrules.conf @@ -30,6 +30,7 @@ windowrule = workspace 2, firefox # f #windowrulev2 = workspace 2, class: ^(Google-chrome)$ # google-chrome only on second workspace #---------------------------------------------------------------------------------------------------------------------------------------------------- layerrule = animation popin, rofi # animation rule for rofi -layerrule = animation slide right, swaync # animation rule for sway notification center -layerrule = animation slide top, ags # animation rule for gtk shell +layerrule = animation slide right, swaync # animation rule for sway notification center +layerrule = animation slide top, ags # animation rule for gtk shell +layerrule = animations slide top, powermenu #---------------------------------------------------------------------------------------------------------------------------------------------------- diff --git a/swaync/config.json b/swaync/config.json index 5fcb791..1ec4c1d 100644 --- a/swaync/config.json +++ b/swaync/config.json @@ -6,84 +6,74 @@ "control-center-layer": "top", "layer-shell": true, "cssPriority": "application", - - "control-center-width": 350, - "control-center-height": 700, - "control-center-margin-top": 10, - "control-center-margin-bottom": 2, - "control-center-margin-right": 10, - "control-center-margin-left": 0, - - "notification-2fa-action": true, - "notification-inline-replies": true, - "notification-window-width": 350, - "notification-icon-size": 50, - "notification-body-image-height": 140, - "notification-body-image-width": 180, - - "timeout": 6, - "timeout-low": 3, - "timeout-critical": 0, - "fit-to-screen": false, - "keyboard-shortcuts": true, - "image-visibility": "when available", - "transition-time": 200, - "hide-on-clear": false, - "hide-on-action": true, - "script-fail-notify": true, - "widgets": [ - "title", - "dnd", - "mpris", - "volume", - "backlight", - "notifications" - ], - "widget-config": { - "title": { - "text": "Notifications", - "clear-all-button": true, - "button-text": "Clear" - }, - "dnd": { - "text": "Do Not Distrub" - }, - "label": { - "max-lines":2, - "text": "Notification" - }, - "mpris": { - "image-size": 60, - "image-radius": 10 - }, - "volume": { - "label": "󰕾" - }, - "backlight": { - "label": "󰃟" - }, - "buttons-grid": { - "actions": [ - { - "label": " Wi-FI", - "command": "nm-connection-editor" - }, - { - "label": "󰕾 Mute", - "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" - - }, - { - "label": "󰂯 Bluetooth", - "command": "blueman-manager" - }, - { - "label": " Theme", - "command":"/home/alien/.config/hypr/scripts/themechanging" - - - } - ] - } - } + + "control-center-width": 350, + "control-center-height": 700, + "control-center-margin-top": 10, + "control-center-margin-bottom": 2, + "control-center-margin-right": 10, + "control-center-margin-left": 0, + + "notification-2fa-action": true, + "notification-inline-replies": true, + "notification-window-width": 350, + "notification-icon-size": 50, + "notification-body-image-height": 140, + "notification-body-image-width": 180, + + "timeout": 6, + "timeout-low": 3, + "timeout-critical": 0, + "fit-to-screen": false, + "keyboard-shortcuts": true, + "image-visibility": "when available", + "transition-time": 200, + "hide-on-clear": false, + "hide-on-action": true, + "script-fail-notify": true, + "widgets": ["title", "dnd", "mpris", "volume", "backlight", "notifications"], + "widget-config": { + "title": { + "text": "Notifications", + "clear-all-button": true, + "button-text": "Clear" + }, + "dnd": { + "text": "Do Not Distrub" + }, + "label": { + "max-lines": 2, + "text": "Notification" + }, + "mpris": { + "image-size": 60, + "image-radius": 10 + }, + "volume": { + "label": "󰕾" + }, + "backlight": { + "label": "󰃟" + }, + "buttons-grid": { + "actions": [ + { + "label": " Wi-FI", + "command": "nm-connection-editor" + }, + { + "label": "󰕾 Mute", + "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle" + }, + { + "label": "󰂯 Bluetooth", + "command": "blueman-manager" + }, + { + "label": " Theme", + "command": "/home/alien/.config/hypr/scripts/themechanging" + } + ] + } } +}