Skip to content
Draft
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
c736c6d
add swaync wallbash support (alpha)
Jax-Tsai-zero Apr 23, 2025
6f992bb
add modified config.json
Jax-Tsai-zero Apr 23, 2025
87d8e6b
Color optimization
Jax-Tsai-zero Apr 24, 2025
ed4a6a5
slightly change
Jax-Tsai-zero Apr 24, 2025
d09adf3
many change of swaync css file
Jax-Tsai-zero May 21, 2025
9526796
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jun 5, 2025
8b82469
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jun 5, 2025
c8d506d
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jun 10, 2025
43b9f5f
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 11, 2025
8619414
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 11, 2025
3e4655d
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 13, 2025
ed1ae2f
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jun 13, 2025
6d9817d
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 13, 2025
a738f99
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jun 15, 2025
d5ba86a
Merge branch 'swaync_wallbash_alpha' of github.com:Jax-Tsai-zero/HyDE…
Jax-Tsai-zero Jun 16, 2025
aa07c34
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 17, 2025
aebbf8d
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 25, 2025
4810d7f
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 26, 2025
7811866
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jun 28, 2025
114a473
Merge branch 'swaync_wallbash_alpha' of github.com:Jax-Tsai-zero/HyDE…
Jax-Tsai-zero Jun 29, 2025
5ca1fc1
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jun 29, 2025
2f209d1
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jun 29, 2025
1f65336
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 1, 2025
9fcf711
Merge branch 'swaync_wallbash_alpha' of github.com:Jax-Tsai-zero/HyDE…
Jax-Tsai-zero Jul 1, 2025
7432313
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 7, 2025
20819f3
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 10, 2025
4ce400f
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jul 11, 2025
7f327cc
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 13, 2025
cc3c9d6
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 15, 2025
7013ddd
update config.json cuz upstream have migrated to gtk4 and have breaki…
Jax-Tsai-zero Jul 15, 2025
4f65bd5
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 16, 2025
9759c45
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 18, 2025
fd2ad68
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Jul 18, 2025
1b41b17
Merge branch 'swaync_wallbash_alpha' of github.com:Jax-Tsai-zero/HyDE…
Jax-Tsai-zero Jul 20, 2025
f7d936a
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 20, 2025
cd54bd6
update config.json from kRHYME7
Jax-Tsai-zero Jul 23, 2025
0415b19
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Jul 24, 2025
9a4f3b8
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Aug 5, 2025
6b24dc4
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Aug 6, 2025
0f2f999
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Aug 10, 2025
7540422
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Aug 11, 2025
bdb1b73
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Aug 13, 2025
93547af
Merge branch 'dev' of github.com:HyDE-Project/HyDE into swaync_wallba…
Jax-Tsai-zero Aug 14, 2025
182c553
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Aug 17, 2025
afa0db8
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Aug 19, 2025
c5e19bf
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Aug 20, 2025
8cbd8b6
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Aug 20, 2025
5c07530
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Aug 23, 2025
1b08e6b
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Aug 24, 2025
24e146f
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Aug 26, 2025
39175c2
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Sep 10, 2025
2d3db80
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Sep 11, 2025
ed63e1f
Merge branch 'dev' into swaync_wallbash_alpha
kRHYME7 Sep 11, 2025
3de9358
Merge remote-tracking branch 'upstream/dev' into swaync_wallbash_alpha
Jax-Tsai-zero Sep 13, 2025
add6a60
Merge branch 'dev' of https://github.com/HyDE-Project/HyDE into swayn…
Jax-Tsai-zero Sep 16, 2025
ad69665
Merge branch 'dev' of https://github.com/HyDE-Project/HyDE into swayn…
Jax-Tsai-zero Oct 2, 2025
1138865
Merge branch 'dev' of https://github.com/HyDE-Project/HyDE into swayn…
Jax-Tsai-zero Oct 7, 2025
c57fe31
Merge branch 'swaync_wallbash_alpha' of github.com:Jax-Tsai-zero/HyDE…
Jax-Tsai-zero Oct 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
90 changes: 90 additions & 0 deletions Configs/.config/swaync/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"$schema": "/etc/xdg/swaync/configSchema.json",
"positionX": "right",
"positionY": "top",
"layer": "overlay",
"control-center-layer": "top",
"layer-shell": true,
"cssPriority": "application",
"control-center-margin-top": 5,
"control-center-margin-bottom": 100,
"control-center-margin-right": 20,
"control-center-margin-left": 20,
"notification-2fa-action": true,
"notification-inline-replies": true,
"notification-icon-size": 64,
"notification-body-image-height": 100,
"notification-body-image-width": 200,
"timeout": 10,
"timeout-low": 5,
"timeout-critical": 0,
"fit-to-screen": true,
"relative-timestamps": true,
"control-center-width": 350,
"control-center-height": 600,
"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,
"scripts": {
"example-script": {
"exec": "echo 'Do something...'",
"urgency": "Normal"
},
"example-action-script": {
"exec": "echo 'Do something actionable!'",
"urgency": "Normal",
"run-on": "action"
}
},
"notification-visibility": {
"example-name": {
"state": "muted",
"urgency": "Low",
"app-name": "Spotify"
}
},
"widgets": [
"inhibitors",
"title",
"dnd",
"notifications"
],
"widget-config": {
"inhibitors": {
"text": "Inhibitors",
"button-text": "Clear All",
"clear-all-button": true
},
"title": {
"text": "Notifications",
"clear-all-button": true,
"button-text": "Clear All"
},
"dnd": {
"text": "Do Not Disturb"
},
"label": {
"max-lines": 5,
"text": "Label Text"
},
"mpris": {
"image-size": 96,
"image-radius": 12
},
"buttons-grid": {
"actions": [
{
"label": "直",
"type": "toggle",
"active": true,
"command": "sh -c '[[ $SWAYNC_TOGGLE_STATE == true ]] && nmcli radio wifi on || nmcli radio wifi off'",
"update_command": "sh -c '[[ $(nmcli radio wifi) == \"enabled\" ]] && echo true || echo false'"
}
]
}
}
}
5 changes: 5 additions & 0 deletions Configs/.local/share/hyde/wallbash/scripts/swaync.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try to reload all

swaync-client -R && swaync-client -rs

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
# Time : 2025-April-23 11:52:54
# Author : JaxTsai

swaync-client -rs
17 changes: 17 additions & 0 deletions Configs/.local/share/hyde/wallbash/theme/swaync.dcol
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$HOME/.config/swaync/theme.css | hyprctl dispatch -q exec -- "swaync-client -R && swaync-client -rs"
/* Import wallbash */
@import "<<HOME>>/.cache/hyde/wallbash/gtk.css";

/*
*
* control center
*
* */
/* background */
@define-color sw-cc-bg #<wallbash_pry1>;
/* border */
@define-color sw-cc-border-bg #<wallbash_pry4>;

/*
*
* notification title 'the notification word on control center'
*
* */
/* foreground */
@define-color sw-noti-titl-fg #<wallbash_pry3>;
/* shadow */
@define-color sw-noti-titl-shad #<wallbash_pry4>;

/*
*
* notification window
*
* */
/* background */
@define-color sw-noti-window-bg #<wallbash_pry1>;
/* border */
@define-color sw-noti-window-br #<wallbash_pry4>;
/* color */
@define-color sw-noti-window-txt #<wallbash_txt2>;
/* hover */
@define-color sw-noti-bg-hover #<wallbash_pry2>;

/*
*
* summary message
*
* */
/* foreground */
@define-color sw-msg-sum-fg #<wallbash_pry3>;
/* shadow */
@define-color sw-msg-sum-shad #<wallbash_pry4>;
/* time */
@define-color sw-msg-time #<wallbash_pry4>;
/* body */
@define-color sw-msg-body #<wallbash_pry4>;

/*
*
* notification group
*
* */
/* icon */
@define-color sw-noti-gr-icon #<wallbash_pry4>;
/* button */
@define-color sw-noti-gr-collapse-but-hvr #<wallbash_pry4>;
/* icon */
@define-color sw-noti-gr-collapse-but-icon #<wallbash_pry4>;
/* button */
@define-color sw-noti-gr-close-btn-hvr #<wallbash_pry4>;
/* icon */
@define-color sw-noti-gr-close-btn-icon #<wallbash_pry4>;

/*
*
* clear all button
*
* */
/* background */
@define-color sw-clr-btn-bg #<wallbash_pry3>;
/* foreground */
@define-color sw-clr-btn-fg #<wallbash_pry4>;
/* border */
@define-color sw-clr-btn-br #<wallbash_pry4>;
/* background */
@define-color sw-clr-btn-hvr-bg #<wallbash_pry2>;
/* foreground */
@define-color sw-clr-btn-hvr-fg #<wallbash_pry4>;

/*
*
* DND 'don't disturb
*
* */
/* foreground */
@define-color sw-dnd-fg #<wallbash_pry4>;
/* shadow */
@define-color sw-dnd-shad #<wallbash_4xa1>;
/* background */
@define-color sw-dnd-btn-bg #<wallbash_pry3>;
/* border */
@define-color sw-dnd-btn-br #<wallbash_pry4>;
/* when checked */
@define-color sw-dnd-btn-chk #<wallbash_pry2>;
/* rounded slider */
@define-color sw-dnd-sli-bg #<wallbash_pry4>;

/*
*
* mpris
*
* */
/* foreground */
@define-color sw-mpris-fg #<wallbash_pry4>;
/* background */
@define-color sw-mpris-bg alpha(#<wallbash_pry3>, 0);

/*
*
* Buttons Grid
*
* */
/* background */
@define-color sw-btn-grd-bg alpha(#<wallbash_pry4>, 0.1);
/* foreground */
@define-color sw-btn-grd-fg #<wallbash_pry4>;
/* hover */
@define-color sw-btn-grd-hvr-bg #<wallbash_pry2>;

/*
*
* Volume Widget
*
* */
/* background */
@define-color sw-vol-wid-bg alpha(#<wallbash_pry4>, 0.1);
/* foreground */
@define-color sw-vol-wid-fg #<wallbash_pry4>;

/*
*
* Brightness Widget
*
* */
/* background */
@define-color sw-bright-wid-bg alpha(#<wallbash_pry4>, 0.1);
/* foreground */
@define-color sw-bright-wid-fg #<wallbash_pry4>;

/* NOTE: this is here for testing */
/* @define-color red rgb(247, 83, 65); */

/*
 *  Wallbash colors for tweaking
 * please use ` alpha(#hex, alpha) ` to set the alpha value
 *   to achieve the rgba effect
 */

Try to use this template. swaync has limited elements so I think it's fine to explicitly declare them to be refined further.

Also importing the gtk css so that wallbash colors can be extended further.

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea.

i'll do it.

Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
${confDir}/swaync/style.css|${WALLBASH_SCRIPTS}/swaync.sh


@define-color cc-bg #<wallbash_pry2>;
@define-color noti-border-color #<wallbash_pry4>;

@define-color noti-bg #<wallbash_pry2>;
@define-color noti-bg-hover #<wallbash_4xa2>;

@define-color noti-bg-opaque #<wallbash_pry3>;
@define-color noti-bg-hover-opaque #<wallbash_4xa3>;
/* @define-color noti-bg-darker rgb(38, 38, 38); */
/* @define-color noti-bg-focus #wallbash_pry3; */
/* @define-color noti-close-bg rgba(255, 255, 255, 0.1); */
/* @define-color noti-close-bg-hover rgba(255, 255, 255, 0.15); */
@define-color text-color #<wallbash_txt2>;
@define-color text-color-disabled #<wallbash_txt4>;