feat: small fixes

This commit is contained in:
ange 2024-11-19 02:22:32 +00:00
parent 421674018f
commit 833e967aee
Signed by: ange
GPG Key ID: 9E0C4157BB7BEB1D
5 changed files with 8 additions and 6 deletions

View File

@ -8,9 +8,9 @@ function bd() {
} }
function update() { function update() {
$TERM --hold -e "$SHELL" -ic "pac -Syu && echo -e '\e[32mDONE'" & $TERM --hold -e "$SHELL" -ic "pac -Syu && echo $'\e[32mDONE'" &
$TERM --hold -e "$SHELL" -ic "flatpak update && echo -e '\e[32mDONE'" & $TERM --hold -e "$SHELL" -ic "flatpak update && echo -e $'\e[32mDONE'" &
$TERM --hold -e "$SHELL" -ic "cd && c submodule update --remote --recursive && echo -e '\e[32mDONE'" & $TERM --hold -e "$SHELL" -ic "cd && c submodule update --remote --recursive && echo $'\e[32mDONE'" &
} }
function tmp() { function tmp() {
@ -27,6 +27,7 @@ alias ...='../..' \
feh='feh --auto-zoom --scale-down' \ feh='feh --auto-zoom --scale-down' \
g=git \ g=git \
grep='grep --color --exclude-dir={.cache,.git,.idea,.venv,.vscode,node_modules}' \ grep='grep --color --exclude-dir={.cache,.git,.idea,.venv,.vscode,node_modules}' \
ip='ip -c=auto' \
l='ll -a' \ l='ll -a' \
la='ll -A' \ la='ll -A' \
ll='ls -lh' \ ll='ls -lh' \

View File

@ -2,6 +2,7 @@
@ Entertainment @ Entertainment
https://www.youtube.com/feeds/videos.xml?channel_id=UCI4W-ck8ZLA_YljxMhlpg2g "Chess Simp" https://www.youtube.com/feeds/videos.xml?channel_id=UCI4W-ck8ZLA_YljxMhlpg2g "Chess Simp"
https://www.youtube.com/feeds/videos.xml?channel_id=UCdC0An4ZPNr_YiFiYoVbwaw "Daily Dose Of Internet"
https://www.youtube.com/feeds/videos.xml?channel_id=UCf-vV5woXPFpkvZKwooWoyw "WirtualTV" https://www.youtube.com/feeds/videos.xml?channel_id=UCf-vV5woXPFpkvZKwooWoyw "WirtualTV"
@ News @ News

@ -1 +1 @@
Subproject commit 7646c1c12a3121562aa87fd79aace48c728ac096 Subproject commit 37427012d1c77c544356bfff0c9acc88fd3256bc

View File

@ -64,7 +64,7 @@ static const char *wwwcmd[] = { "org.mozilla.firefox", NULL };
static const char *pwwwcmd[] = { "org.mozilla.firefox", "--private-window", NULL }; static const char *pwwwcmd[] = { "org.mozilla.firefox", "--private-window", NULL };
static const char *calccmd[] = { "alacritty", "-epython", NULL }; static const char *calccmd[] = { "alacritty", "-epython", NULL };
static const char *fmcmd[] = { "pcmanfm", NULL }; static const char *fmcmd[] = { "pcmanfm", NULL };
static const char *prtsccmd[] = { "sh", "-c", "gm import png:- | xclip -sel c -t image/png && xclip -sel c -o | feh -", NULL }; static const char *prtsccmd[] = { "sh", "-c", "import png:- | xclip -sel c -t image/png && xclip -sel c -o | feh -", NULL };
static const char *lvolcmd[] = { "vol", "s", "-5", NULL }; static const char *lvolcmd[] = { "vol", "s", "-5", NULL };
static const char *rvolcmd[] = { "vol", "s", "+5", NULL }; static const char *rvolcmd[] = { "vol", "s", "+5", NULL };
static const char *mutecmd[] = { "vol", "s", "m", NULL }; static const char *mutecmd[] = { "vol", "s", "m", NULL };

View File

@ -77,7 +77,7 @@ function update_net() {
} }
function update_time() { function update_time() {
time="$(TZ=Asia/Jakarta date '+%R %Z') - $(TZ=Europe/Paris date '+%R %Z') - $(date '+%a %m-%d %R %Z')" time="$(TZ=Asia/Jakarta date '+%R %Z') - $(TZ=Europe/Paris date '+%R %Z') - $(TZ=Asia/Makassar date '+%R %Z') - $(date -u '+%a %m-%d %R')"
} }
function reload() { function reload() {