Add more gentoo utility commands to script
This commit is contained in:
20
README.org
20
README.org
@@ -10537,6 +10537,10 @@ help_menu() {
|
|||||||
rofi_menu() {
|
rofi_menu() {
|
||||||
declare -a options=(
|
declare -a options=(
|
||||||
" Sync and Update Packages - sync-update"
|
" Sync and Update Packages - sync-update"
|
||||||
|
" Remove Obsolete Packages - depclean"
|
||||||
|
" Update Package Configuration Files - conf-update"
|
||||||
|
" Remove Old Kernels - clean-kernel"
|
||||||
|
" Update Grub Configuration - grub-update"
|
||||||
" Spice Up Spotify - spicetify"
|
" Spice Up Spotify - spicetify"
|
||||||
" Back - back"
|
" Back - back"
|
||||||
" Quit - quit"
|
" Quit - quit"
|
||||||
@@ -10569,6 +10573,22 @@ main() {
|
|||||||
notify-send "Gentoo" "Updating Versioned Packages" &
|
notify-send "Gentoo" "Updating Versioned Packages" &
|
||||||
uwsm app -- foot -H sudo emerge --update --deep --newuse --with-bdeps=y --verbose-conflicts @world
|
uwsm app -- foot -H sudo emerge --update --deep --newuse --with-bdeps=y --verbose-conflicts @world
|
||||||
;;
|
;;
|
||||||
|
--depclean)
|
||||||
|
notify-send "Gentoo" "Removing Obsolete Packages" &
|
||||||
|
uwsm app -- foot -H sudo emerge --depclean
|
||||||
|
;;
|
||||||
|
--conf-update)
|
||||||
|
notify-send "Gentoo" "Updating Configuration Files" &
|
||||||
|
uwsm app -- foot -H sudo dispatch-conf
|
||||||
|
;;
|
||||||
|
--clean-kernel)
|
||||||
|
notify-send "Gentoo" "Removing Old Kernels" &
|
||||||
|
uwsm app -- foot -H sudo eclean-kernel -b grub2 -n 2
|
||||||
|
;;
|
||||||
|
--grub-update)
|
||||||
|
notify-send "Gentoo" "Updating Grub Configuration" &
|
||||||
|
uwsm app -- foot -H sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
;;
|
||||||
--spicetify)
|
--spicetify)
|
||||||
notify-send "Gentoo" "Spicing Up Spotify" &
|
notify-send "Gentoo" "Spicing Up Spotify" &
|
||||||
uwsm app -- foot -H sudo emerge media-sound/spotify app-misc/spicetify-cli-bin::sravan-overlay && sudo chmod a+wr -R /opt/spotify && spicetify backup apply
|
uwsm app -- foot -H sudo emerge media-sound/spotify app-misc/spicetify-cli-bin::sravan-overlay && sudo chmod a+wr -R /opt/spotify && spicetify backup apply
|
||||||
|
@@ -12,6 +12,10 @@ help_menu() {
|
|||||||
rofi_menu() {
|
rofi_menu() {
|
||||||
declare -a options=(
|
declare -a options=(
|
||||||
" Sync and Update Packages - sync-update"
|
" Sync and Update Packages - sync-update"
|
||||||
|
" Remove Obsolete Packages - depclean"
|
||||||
|
" Update Package Configuration Files - conf-update"
|
||||||
|
" Remove Old Kernels - clean-kernel"
|
||||||
|
" Update Grub Configuration - grub-update"
|
||||||
" Spice Up Spotify - spicetify"
|
" Spice Up Spotify - spicetify"
|
||||||
" Back - back"
|
" Back - back"
|
||||||
" Quit - quit"
|
" Quit - quit"
|
||||||
@@ -44,6 +48,22 @@ main() {
|
|||||||
notify-send "Gentoo" "Updating Versioned Packages" &
|
notify-send "Gentoo" "Updating Versioned Packages" &
|
||||||
uwsm app -- foot -H sudo emerge --update --deep --newuse --with-bdeps=y --verbose-conflicts @world
|
uwsm app -- foot -H sudo emerge --update --deep --newuse --with-bdeps=y --verbose-conflicts @world
|
||||||
;;
|
;;
|
||||||
|
--depclean)
|
||||||
|
notify-send "Gentoo" "Removing Obsolete Packages" &
|
||||||
|
uwsm app -- foot -H sudo emerge --depclean
|
||||||
|
;;
|
||||||
|
--conf-update)
|
||||||
|
notify-send "Gentoo" "Updating Configuration Files" &
|
||||||
|
uwsm app -- foot -H sudo dispatch-conf
|
||||||
|
;;
|
||||||
|
--clean-kernel)
|
||||||
|
notify-send "Gentoo" "Removing Old Kernels" &
|
||||||
|
uwsm app -- foot -H sudo eclean-kernel -b grub2 -n 2
|
||||||
|
;;
|
||||||
|
--grub-update)
|
||||||
|
notify-send "Gentoo" "Updating Grub Configuration" &
|
||||||
|
uwsm app -- foot -H sudo grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
;;
|
||||||
--spicetify)
|
--spicetify)
|
||||||
notify-send "Gentoo" "Spicing Up Spotify" &
|
notify-send "Gentoo" "Spicing Up Spotify" &
|
||||||
uwsm app -- foot -H sudo emerge media-sound/spotify app-misc/spicetify-cli-bin::sravan-overlay && sudo chmod a+wr -R /opt/spotify && spicetify backup apply
|
uwsm app -- foot -H sudo emerge media-sound/spotify app-misc/spicetify-cli-bin::sravan-overlay && sudo chmod a+wr -R /opt/spotify && spicetify backup apply
|
||||||
|
Reference in New Issue
Block a user