feat: avizo osd

This commit is contained in:
hesam-init 2024-12-17 15:24:04 +03:30
parent 5251cb5b7e
commit 517cf07d81
4 changed files with 40 additions and 8 deletions

View file

@ -0,0 +1,23 @@
[default]
time = 0.8
width = 260
height = 200
padding = 20
y-offset = 0.8
border-radius = 12
border-width = 0
block-height = 20
block-spacing = 1
block-count = 20
;image-base-dir =
;image-opacity = 1.0
# Sets the fade in animation duration in seconds.
fade-in = 0.1
# Sets the fade out animation duration in seconds.
;fade-out = 0.5
background = rgba(255, 255, 255, 1)
bar-fg-color = rgba(23, 23, 23, 0.8)
;border-color = rgba(90, 90, 90, 0.8)

View file

@ -11,7 +11,8 @@ exec-once = wl-paste --watch cliphist store &
exec-once = hyprpaper &
exec-once = hypridle &
exec-once = $script_dir/startup/dunst.sh &
exec-once = avizo-service &
# exec-once = $script_dir/startup/swayosd.sh &
# exec-once = ~/.config/hypr/scripts/wallpaper/wallpaper-daemon.sh &
exec-once = $script_dir/startup/swayosd.sh &
# exec-once = $eww_script_dir/eww/start.sh &
# exec-once = ~/.config/hypr/scripts/waybar/start.sh &

View file

@ -47,12 +47,20 @@ bind = $main_mod, Y, exec, $random_wallpaper
bind = $main_mod, I, exec, $kill_wallpaper_daemon
# Swayosd
binde = CAPS, Caps_Lock, exec, swayosd-client --caps-lock
binde =, XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
binde =, XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
binde =, XF86MonBrightnessUp, exec, swayosd-client --brightness raise
binde =, XF86MonBrightnessDown, exec, swayosd-client --brightness lower
bind =, XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
# binde = CAPS, Caps_Lock, exec, swayosd-client --caps-lock
# binde =, XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise
# binde =, XF86AudioLowerVolume, exec, swayosd-client --output-volume lower
# binde =, XF86MonBrightnessUp, exec, swayosd-client --brightness raise
# binde =, XF86MonBrightnessDown, exec, swayosd-client --brightness lower
# bind =, XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
# Avizo
binde =, XF86AudioRaiseVolume, exec, volumectl -u up
binde =, XF86AudioLowerVolume, exec, volumectl -u down
bind =, XF86AudioMute, exec, volumectl toggle-mute
bind =, XF86AudioMicMute, exec, volumectl -m toggle-mute
binde =, XF86MonBrightnessUp, exec, lightctl up
binde =, XF86MonBrightnessDown, exec, lightctl down
# binde =, XF86MonBrightnessUp, exec, brightnessctl set 10%+
# binde =, XF86MonBrightnessDown, exec, brightnessctl set 10%-

View file

@ -25,7 +25,7 @@ declare -A PACKAGES_LIST=(
["DEVEL_PACKAGES"]="glib pango-devel gdk-pixbuf-devel libdbusmenu-gtk3-devel glib-devel gtk+3-devel gtk-layer-shell-devel base-devel startup-notification-devel cairo-devel xcb-util-devel xcb-util-cursor-devel xcb-util-xrm-devel xcb-util-wm-devel"
["BASE_PACKAGES"]="xmirror curl wget inetutils v4l2loopback bind-utils zellij tmux bat dust aria2 fzf neofetch bat fish-shell brightnessctl bluez cronie git stow eza dbus seatd elogind polkit NetworkManager polkit-gnome rtkit pipewire wireplumber libspa-bluetooth inotify-tools xorg gnome-keyring polkit-gnome mtpfs ffmpeg libnotify fontconfig-32bit fontconfig"
["SYSTEM_APPS"]="alacritty octoxbps blueman glow"
["HYPRLAND_PACKAGES"]="noto-fonts-emoji socat eww nerd-fonts-symbols-ttf Waybar dunst swaybg mpvpaper grim jq slurp cliphist wl-clipboard swayidle pavucontrol nemo eog pavucontrol evince xorg-server-xwayland xdg-desktop-portal-gtk xdg-desktop-portal-wlr xdg-utils xdg-user-dirs xdg-user-dirs-gtk qt5-x11extras qt5-wayland qt6-wayland qt6ct nwg-look"
["HYPRLAND_PACKAGES"]="noto-fonts-emoji socat eww nerd-fonts-symbols-ttf Waybar avizo dunst swaybg mpvpaper grim jq slurp cliphist wl-clipboard swayidle pavucontrol nemo eog pavucontrol evince xorg-server-xwayland xdg-desktop-portal-gtk xdg-desktop-portal-wlr xdg-utils xdg-user-dirs xdg-user-dirs-gtk qt5-x11extras qt5-wayland qt6-wayland qt6ct nwg-look"
)
declare -a SERVICES_LIST=(