Skip to content

Instantly share code, notes, and snippets.

View SunicYosen's full-sized avatar

Sunic SunicYosen

View GitHub Profile
@SunicYosen
SunicYosen / impish_gdm.sh
Last active October 20, 2021 17:07
Change gdm color or background on ubuntu21.10
#!/bin/bash
# ref: https://github.com/PRATAP-KUMAR/focalgdm3
codename=$(cat /etc/os-release | grep UBUNTU_CODENAME | cut -d = -f 2)
osname=$(cat /etc/os-release | grep '="Ubuntu"' | cut -d = -f 2)
if [ "$codename" == "impish" ] && [ "$osname" == '"Ubuntu"' ]
then
source="/usr/share/gnome-shell/theme/Yaru/gnome-shell-theme.gresource"
else
@SunicYosen
SunicYosen / miui_simple.sh
Created May 21, 2020 08:58
Remove APPs in MIUI CN with Shell
#! /bin/bash
# Please reference: https://sunicyosen.github.io/2020/03/10/Edit-MIUI-CN
rm_apps=(AnalyticsCore BookmarkProvider Calculator FM GameCenter Health HTMLViewer KSICibaEngine MSA MetokNLP MiDrive MiPlayClient MiRadio MiuiBiometric MiuiDaemon MiuiDriveMode MiuiSuperMarket SogouInput Stk TouchAssistant Userguide VipAccount VirtualSim VoiceAssist WAPPushManager YouDaoEngine aiasst_service mab greenguard talkback)
# /system/app
rm_priv_apps=(Backup BackupRestoreConfirmation Browser CallLogBackup CellBroadcastReceiver ContentExtension DocumentsUI DownloadProviderUi Emergency Info MiGameCenterSDKService MiRcs MiService MiShare MiVRFramework MiuiVideo Music MusicFX NewHome PicoTts QuickSearchBox YellowPage)
# /system/priv-app
rm_data_apps=(BaiduIME MiLiveAssistant XiaoAiSpeechEngine Huanji MiMobileNoti XiaomiJrSecurity MiFinance MiShop talkback)
# /system/data-app