From 517cf07d8115bf72477cc52b9b501f234188224f Mon Sep 17 00:00:00 2001 From: hesam-init Date: Tue, 17 Dec 2024 15:24:04 +0330 Subject: [PATCH] feat: avizo osd --- hypr-configs/dotfiles/avizo/config.ini | 23 +++++++++++++++++++ .../dotfiles/hypr/configs/autostart.conf | 3 ++- .../dotfiles/hypr/configs/keybinds.conf | 20 +++++++++++----- setup.sh | 2 +- 4 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 hypr-configs/dotfiles/avizo/config.ini diff --git a/hypr-configs/dotfiles/avizo/config.ini b/hypr-configs/dotfiles/avizo/config.ini new file mode 100644 index 0000000..86eb85b --- /dev/null +++ b/hypr-configs/dotfiles/avizo/config.ini @@ -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) \ No newline at end of file diff --git a/hypr-configs/dotfiles/hypr/configs/autostart.conf b/hypr-configs/dotfiles/hypr/configs/autostart.conf index 635c0ec..5b843f7 100644 --- a/hypr-configs/dotfiles/hypr/configs/autostart.conf +++ b/hypr-configs/dotfiles/hypr/configs/autostart.conf @@ -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 & diff --git a/hypr-configs/dotfiles/hypr/configs/keybinds.conf b/hypr-configs/dotfiles/hypr/configs/keybinds.conf index 38159fe..ba70846 100644 --- a/hypr-configs/dotfiles/hypr/configs/keybinds.conf +++ b/hypr-configs/dotfiles/hypr/configs/keybinds.conf @@ -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%- diff --git a/setup.sh b/setup.sh index 5523eff..e75c11c 100755 --- a/setup.sh +++ b/setup.sh @@ -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=(