diff --git a/mango/mako/config b/mango/mako/config new file mode 100644 index 0000000..f9a1dc4 --- /dev/null +++ b/mango/mako/config @@ -0,0 +1,38 @@ +border-size=1 +border-radius=8 +font=Geist 10 +max-visible=3 + +width=330 +padding=8 +margin=14,15,0,0 +anchor=top-right + +default-timeout=5000 +ignore-timeout=0 + +icons=1 +max-icon-size=48 +icon-path=/usr/share/icons/Adwaita + +markup=1 +actions=1 +format=%s\n%b + +background-color=#3D344580 + +[urgency=low] +default-timeout=3000 +border-color=#6c7086 +text-color=#B1B4C7 + +[urgency=normal] +border-color=#e1b4e2 +text-color=#E6D4E6 + +[urgency=critical] +border-color=#f38ba8 +background-color=#f38ba81a +text-color=#f38ba8 +default-timeout=0 + diff --git a/mango/rofi/app-manager/app-manager.rasi b/mango/rofi/app-manager/app-manager.rasi index d813df0..20b8f61 100644 --- a/mango/rofi/app-manager/app-manager.rasi +++ b/mango/rofi/app-manager/app-manager.rasi @@ -51,7 +51,7 @@ imageBoxOverlay { } imageBox { enabled: true; - background-image: url("~/.config/rofi/images/neco/28.jpg", width); + background-image: url("~/.config/rofi/images/neco/31.jpg", width); border-radius: 1em; } // Lists // diff --git a/mango/rofi/config-manager/rofi-config-manager.sh b/mango/rofi/config-manager/rofi-config-manager.sh index 007e10a..fb24ed5 100755 --- a/mango/rofi/config-manager/rofi-config-manager.sh +++ b/mango/rofi/config-manager/rofi-config-manager.sh @@ -2,34 +2,64 @@ # ln -s ~/.config/rofi/config-manager/rofi-config-manager.sh ~/.local/bin/rofi-config-manager.sh THEME_FILE=~/.config/rofi/config-manager/config-manager.rasi +MANGO=" Mango" +BACK=" Back" +MANGO_CONF=" Config" +MANGO_START=" Autostart" +MANGO_BIND=" Binds" +MANGO_RULES="󰇙 Rules" +MANGO_ENV=" Env" +MANGO_EXEC=" Exec" NVIM=" Neovim" -HYPRLAND=" Hyprland" WAYBAR=" Waybar" GHOSTTY=" Ghostty" -ROFI_APP=" Rofi App" -ROFI_SETT=" Rofi Sett" -ROFI_CONF=" Rofi Conf" -ROFI_POW=" Rofi Pow" -HYPRLOCK=" Hyprlock" -HYPRIDLE="󰒲 Hypridle" -HYPRPAPER=" Hyprpaper" +ROFI=" Rofi" +ROFI_APP=" App" +ROFI_SETT=" Setting" +ROFI_CONF=" Config" +ROFI_POW=" Power" MAKO=" Mako" -chosen=$(echo -e "$NVIM\n$HYPRLAND\n$WAYBAR\n$GHOSTTY\n$ROFI_APP\n$ROFI_SETT\n$ROFI_CONF\n$ROFI_POW\n$HYPRLOCK\n$HYPRIDLE\n$MAKO\n$HYPRPAPER" | rofi -mesg " Configs" -dmenu -p "Action:" -config ~/.config/rofi/config-manager/config-manager.rasi) + +if [[ "$1" == "mango" ]]; then + chosen=$(echo -e "$MANGO_CONF\n$MANGO_START\n$MANGO_BIND\n$MANGO_RULES\n$MANGO_ENV\n$MANGO_EXEC\n$BACK" | rofi -mesg "󰨇 Mango" -dmenu -p "Action:" -config ~/.config/rofi/config-manager/config-manager.rasi) +elif [[ "$1" == "rofi" ]]; then + chosen=$(echo -e "$ROFI_APP\n$ROFI_SETT\n$ROFI_CONF\n$ROFI_POW\n$BACK" | rofi -mesg " Rofi" -dmenu -p "Action:" -config ~/.config/rofi/config-manager/config-manager.rasi) +else + chosen=$(echo -e "$MANGO\n$NVIM\n$WAYBAR\n$GHOSTTY\n$ROFI\n$MAKO" | rofi -mesg " Configs" -dmenu -p "Action:" -config ~/.config/rofi/config-manager/config-manager.rasi) +fi case $chosen in + "$BACK") + bash ~/.config/rofi/config-manager/rofi-config-manager.sh + ;; + "$ROFI") + bash ~/.config/rofi/config-manager/rofi-config-manager.sh "rofi" + ;; + "$MANGO") + bash ~/.config/rofi/config-manager/rofi-config-manager.sh "mango" + ;; + "$MANGO_CONF") + ghostty -e nvim ~/.config/mango/config.conf & disown + ;; + "$MANGO_START") + ghostty -e nvim ~/.config/mango/autostart.sh & disown + ;; + "$MANGO_BIND") + ghostty -e nvim ~/.config/mango/keybindings.conf & disown + ;; + "$MANGO_RULES") + ghostty -e nvim ~/.config/mango/rules.conf & disown + ;; + "$MANGO_ENV") + ghostty -e nvim ~/.config/mango/env.conf & disown + ;; + "$MANGO_EXEC") + ghostty -e "nvim ~/.config/mango/exec.conf" & disown + ;; "$NVIM") ghostty -e nvim ~/.config/nvim/init.lua & disown ghostty -e nvim ~/.config/nvim/lua/settings.lua & disown ;; - "$HYPRLAND") - ghostty -e nvim ~/.config/hypr/hyprland.conf & disown - ;; - "$HYPRLOCK") - ghostty -e nvim ~/.config/hypr/hyprlock.conf & disown - ;; - "$HYPRIDLE") - ghostty -e nvim ~/.config/hypr/hypridle.conf & disown - ;; "$WAYBAR") ghostty -e nvim ~/.config/waybar/config.jsonc & disown ghostty -e nvim ~/.config/waybar/style.css & disown @@ -57,7 +87,4 @@ case $chosen in ghostty -e nvim ~/.config/rofi/power-manager/power-manager.rasi & disown ghostty -e nvim ~/.config/rofi/power-manager/rofi-power-manager.sh & disown ;; - "$HYPRPAPER") - ghostty -e nvim ~/.config/hypr/hyprpaper.conf & disown - ;; esac diff --git a/mango/rofi/settings-manager/rofi-settings-manager.sh b/mango/rofi/settings-manager/rofi-settings-manager.sh index fd038be..086646d 100755 --- a/mango/rofi/settings-manager/rofi-settings-manager.sh +++ b/mango/rofi/settings-manager/rofi-settings-manager.sh @@ -9,7 +9,7 @@ BLUETOOTH="󰂯 Bluetooth" NETWORK="󰲝 Network" NIGHTLIGHT=" Night Light" -chosen=$(echo -e "$MONITOR\n$SOUND\n$BLUETOOTH\n$NETWORK\n$NIGHTLIGHT" | rofi -mesg " Settings" -dmenu -p "Action:" -config ~/.config/rofi/settings-manager/settings-manager.rasi -monitor "$ROFI_MONITOR") +chosen=$(echo -e "$MONITOR\n$WALLPAPER\n$SOUND\n$BLUETOOTH\n$NETWORK\n$NIGHTLIGHT" | rofi -mesg " Settings" -dmenu -p "Action:" -config ~/.config/rofi/settings-manager/settings-manager.rasi -monitor "$ROFI_MONITOR") case $chosen in "$MONITOR") diff --git a/mango/update.sh b/mango/update.sh index 16a0225..79150ee 100755 --- a/mango/update.sh +++ b/mango/update.sh @@ -7,6 +7,7 @@ cp ~/.config/user-dirs.conf . cp ~/.config/starship.toml . cp -r ~/.config/waypaper/* ./waypaper cp -r ~/.config/fastfetch/* ./fastfetch +cp -r ~/.config/mako/* ./mako rsync -av ~/.config/fontconfig/ ./fontconfig rsync -av ~/.config/btop/ ./btop