aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-01-13 14:12:48 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-01-13 14:12:48 +0900
commit6d41df04439f792174cad2b027b6ee36489c2115 (patch)
tree404fdfb74bf31064fbc29c4acd055c17405d526b
parent26643fac15bd62c7051d9ea3bb8dbe8a96048250 (diff)
minor tweaks: swaync & screenshot script
-rwxr-xr-xconfig/hypr/scripts/ScreenShot.sh4
-rwxr-xr-xconfig/swaync/config.json180
2 files changed, 92 insertions, 92 deletions
diff --git a/config/hypr/scripts/ScreenShot.sh b/config/hypr/scripts/ScreenShot.sh
index b33a31c7..37eb82db 100755
--- a/config/hypr/scripts/ScreenShot.sh
+++ b/config/hypr/scripts/ScreenShot.sh
@@ -15,8 +15,8 @@ active_window_path="${dir}/${active_window_file}"
notify_cmd_base="notify-send -t 10000 -A action1=Open -A action2=Delete -h string:x-canonical-private-synchronous:shot-notify"
#notify_swappy="notify-send -h string:x-canonical-private-synchronous:shot-notify -u low -i ${iDIR}/picture.png"
-notify_cmd_shot="${notify_cmd_base} -i ${dir}/${file}"
-notify_cmd_shot_win="${notify_cmd_base} -i ${active_window_path}"
+notify_cmd_shot="${notify_cmd_base} -i ${iDIR}/picture.png"
+notify_cmd_shot_win="${notify_cmd_base} -i ${iDIR}/picture.png"
# notify and view screenshot
notify_view() {
diff --git a/config/swaync/config.json b/config/swaync/config.json
index ca3ab921..334c36e3 100755
--- a/config/swaync/config.json
+++ b/config/swaync/config.json
@@ -1,92 +1,92 @@
{
- "$schema": "/etc/xdg/swaync/configSchema.json",
- "positionX": "center",
- "positionY": "top",
- "layer": "overlay",
- "control-center-layer": "top",
- "layer-shell": true,
- "cssPriority": "application",
- "control-center-margin-top": 5,
- "control-center-margin-bottom": 0,
- "control-center-margin-right": 0,
- "control-center-margin-left": 0,
- "notification-2fa-action": true,
- "notification-inline-replies": false,
- "notification-icon-size": 24,
- "notification-body-image-height": 100,
- "notification-body-image-width": 200,
- "timeout": 6,
- "timeout-low": 3,
- "timeout-critical": 0,
- "fit-to-screen": false,
- "control-center-width": 400,
- "control-center-height": 720,
- "notification-window-width": 400,
- "keyboard-shortcuts": true,
- "image-visibility": "when available",
- "transition-time": 200,
- "hide-on-clear": false,
- "hide-on-action": true,
- "script-fail-notify": true,
- "widgets": [
- "dnd",
- "buttons-grid",
- "mpris",
- "volume",
- "backlight",
- "title",
- "notifications"
- ],
- "widget-config": {
- "title": {
- "text": "Notifications",
- "clear-all-button": true,
- "button-text": "Clear"
- },
- "dnd": {
- "text": "Do Not Disturb"
- },
- "label": {
- "max-lines": 1,
- "text": "Notification"
- },
- "mpris": {
- "image-size": 10,
- "image-radius": 0
- },
- "volume": {
- "label": "󰕾"
- },
- "backlight": {
- "label": "󰃟"
- },
- "buttons-grid": {
- "actions": [
- {
- "label": "󰐥",
- "command": "bash -c $HOME/.config/hypr/scripts/Wlogout.sh"
- },
- {
- "label": "󰌾",
- "command": "bash -c $HOME/.config/hypr/scripts/LockScreen.sh"
- },
- {
- "label": "󰍃",
- "command": "hyprctl dispatch exit"
- },
- {
- "label": "󰀝",
- "command": "bash -c $HOME/.config/hypr/scripts/AirplaneMode.sh"
- },
- {
- "label": "󰝟",
- "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
- },
- {
- "label": "󰂯",
- "command": "blueman-manager"
- }
- ]
- }
- }
+ "$schema": "/etc/xdg/swaync/configSchema.json",
+ "positionX": "center",
+ "positionY": "top",
+ "layer": "overlay",
+ "control-center-layer": "top",
+ "layer-shell": true,
+ "cssPriority": "application",
+ "control-center-margin-top": 5,
+ "control-center-margin-bottom": 0,
+ "control-center-margin-right": 0,
+ "control-center-margin-left": 0,
+ "notification-2fa-action": true,
+ "notification-inline-replies": false,
+ "notification-icon-size": 32,
+ "notification-body-image-height": 200,
+ "notification-body-image-width": 200,
+ "notification-window-width": 500,
+ "timeout": 6,
+ "timeout-low": 3,
+ "timeout-critical": 0,
+ "fit-to-screen": false,
+ "control-center-width": 450,
+ "control-center-height": 720,
+ "keyboard-shortcuts": true,
+ "image-visibility": "when available",
+ "transition-time": 200,
+ "hide-on-clear": false,
+ "hide-on-action": true,
+ "script-fail-notify": true,
+ "widgets": [
+ "dnd",
+ "buttons-grid",
+ "mpris",
+ "volume",
+ "backlight",
+ "title",
+ "notifications"
+ ],
+ "widget-config": {
+ "title": {
+ "text": "Notifications",
+ "clear-all-button": true,
+ "button-text": "Clear"
+ },
+ "dnd": {
+ "text": "Do Not Disturb"
+ },
+ "label": {
+ "max-lines": 1,
+ "text": "Notification"
+ },
+ "mpris": {
+ "image-size": 10,
+ "image-radius": 0
+ },
+ "volume": {
+ "label": "󰕾"
+ },
+ "backlight": {
+ "label": "󰃟"
+ },
+ "buttons-grid": {
+ "actions": [
+ {
+ "label": "󰐥",
+ "command": "bash -c $HOME/.config/hypr/scripts/Wlogout.sh"
+ },
+ {
+ "label": "󰌾",
+ "command": "bash -c $HOME/.config/hypr/scripts/LockScreen.sh"
+ },
+ {
+ "label": "󰍃",
+ "command": "hyprctl dispatch exit"
+ },
+ {
+ "label": "󰀝",
+ "command": "bash -c $HOME/.config/hypr/scripts/AirplaneMode.sh"
+ },
+ {
+ "label": "󰝟",
+ "command": "pactl set-sink-mute @DEFAULT_SINK@ toggle"
+ },
+ {
+ "label": "󰂯",
+ "command": "blueman-manager"
+ }
+ ]
+ }
+ }
} \ No newline at end of file
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage