aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.k9s/skin.yml4
-rw-r--r--.vimrc2
-rw-r--r--.zshrc1
l---------bin/w3mimgdisplay1
-rwxr-xr-xchroot/voidglibc.sh8
-rw-r--r--header.hpp4
-rw-r--r--postit1
-rwxr-xr-xtmux/date.sh12
-rwxr-xr-xtmux/vcs_info.sh9
9 files changed, 29 insertions, 13 deletions
diff --git a/.k9s/skin.yml b/.k9s/skin.yml
index 8c2a23c..d50ddc9 100644
--- a/.k9s/skin.yml
+++ b/.k9s/skin.yml
@@ -24,14 +24,14 @@ k9s:
fgColor: white
bgColor: default
keyColor: cyan
- numKeyColor: blue
+ numKeyColor: dodgerblue4
sectionColor: gray
frame:
border:
fgColor: dodgerblue4
focusColor: aliceblue
menu:
- fgColor: darkblue
+ fgColor: dodgerblue4
keyColor: cornflowerblue
numKeyColor: cadetblue
crumbs:
diff --git a/.vimrc b/.vimrc
index 60385d9..d7ae140 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1300,7 +1300,7 @@ let g:gutentags_plus_nomap = 1
map <leader>v <Plug>(Vman)
autocmd Filetype man setlocal relativenumber
autocmd Filetype man setlocal number
-" let g:vim_man_cmd = '/usr/bin/man'
+let g:vim_man_cmd = 'man -O width=200'
"context
let g:context_enabled = 0
diff --git a/.zshrc b/.zshrc
index 2ec005e..63fc890 100644
--- a/.zshrc
+++ b/.zshrc
@@ -181,6 +181,7 @@ alias youtube-dl="proxychains4 -f /home/devi/proxies/ca/proxychains.conf youtube
alias campv="proxychains4 -f /home/devi/proxies/ca/proxychains.conf mpv"
alias tridactylrc="vim ~/scripts/.tridactylrc"
alias fixtridactylrc="cp ~/scripts/.tridactylrc ~/"
+alias man="man -O width=210"
#autosuggest
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5f5fff,bg=#000000,bold"
diff --git a/bin/w3mimgdisplay b/bin/w3mimgdisplay
new file mode 120000
index 0000000..34cae35
--- /dev/null
+++ b/bin/w3mimgdisplay
@@ -0,0 +1 @@
+/usr/lib/w3m/w3mimgdisplay \ No newline at end of file
diff --git a/chroot/voidglibc.sh b/chroot/voidglibc.sh
new file mode 100755
index 0000000..90b440b
--- /dev/null
+++ b/chroot/voidglibc.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+CHROOT_DIR=/home/devi/rootfs/voidglibc
+sudo mount -t proc proc $CHROOT_DIR/proc/
+sudo mount -t sysfs sys $CHROOT_DIR/sys/
+# sudo mount -o bind /tmp $CHROOT_DIR/tmp/
+# sudo mount -o bind /dev $CHROOT_DIR/dev/
+sudo chroot $CHROOT_DIR
diff --git a/header.hpp b/header.hpp
deleted file mode 100644
index 2df2a5a..0000000
--- a/header.hpp
+++ /dev/null
@@ -1,4 +0,0 @@
-
-#include <iostream>
-#include <string>
-#include <vector>
diff --git a/postit b/postit
index 3b5fc9b..352af9f 100644
--- a/postit
+++ b/postit
@@ -33,3 +33,4 @@ account add jabber ****@chat.terminaldweller.com ****** chat.terminaldweller.com
sudo mount -t cifs -o user=pi3,vers=2.0,domain=MSHOME //192.168.1.200/disk1 /home/pi/kstore
xrandr --output eDP1 --mode 1920x1080 --right-of HDMI2
fc-list : family style
+https://smallpdf.com/jpg-to-pdf
diff --git a/tmux/date.sh b/tmux/date.sh
index 057108c..032de24 100755
--- a/tmux/date.sh
+++ b/tmux/date.sh
@@ -12,11 +12,17 @@ DATE="#[fg=colour255 bg=colour31]"$(echo $RESULT | gawk '{print $2}')
TIME="#[fg=colour255 bg=colour31]"$(echo $RESULT | gawk '{print $3}')
UTC_TIME_RESULT=$(date -u +"%H:%M")
UTC_TIME="#[fg=colour255 bg=colour25]"$(echo GMT: $UTC_TIME_RESULT)
-# JDATE="#[fg=colour255 bg=colour29]"$(jdate | gawk '{print $2" "$3}')
JDATE="#[fg=colour255 bg=colour29]"$(jdate | gawk '{print $2" "$3}')
-OPENWEATHERMAP_TOKEN=$(cat /home/devi/scripts/tmux/openweathermap.json|jq -r ".token")
+# OPENWEATHERMAP_TOKEN=$(cat /home/devi/scripts/tmux/openweathermap.json|jq -r ".token")
# WEATHER_INFO=$(sleep 120 && torsocks curl "https://api.openweathermap.org/data/2.5/weather?q=Tehran&appid=$OPENWEATHERMAP_TOKEN&units=metric"|jq ".main.temp")
WEATHER_INFO=$(curl 'wttr.in/tehran?T&format=%t/%f')
WEATHER="#[fg=colour255 bg=colour32]"$(echo $WEATHER_INFO)
+CPU_TEMP=$(sensors | grep temp1 | head -n 1 | awk '{print $2}')
+CPU_SECTION="#[fg=colour36 bg=colour16]$SEPARATOR_LEFT_BOLD#[fg=colour16 bg=colour36]$CPU_TEMP"
-echo "#[fg=colour32 bg=colour16]$SEPARATOR_LEFT_BOLD$WEATHER#[fg=colour29 bg=colour32]$SEPARATOR_LEFT_BOLD$JDATE #[fg=colour31 bg=colour29]$SEPARATOR_LEFT_BOLD$DAY $SEPARATOR_LEFT_THIN $DATE $SEPARATOR_LEFT_THIN $TIME #[fg=colour25 bg=colour31]$SEPARATOR_LEFT_BOLD$UTC_TIME "
+# echo "$CPU_SECTION#[fg=colour32 bg=colour36]$SEPARATOR_LEFT_BOLD$WEATHER#[fg=colour29 bg=colour32]$SEPARATOR_LEFT_BOLD$JDATE #[fg=colour31 bg=colour29]$SEPARATOR_LEFT_BOLD$DAY $SEPARATOR_LEFT_THIN $DATE $SEPARATOR_LEFT_THIN $TIME #[fg=colour25 bg=colour31]$SEPARATOR_LEFT_BOLD$UTC_TIME "
+echo "$CPU_SECTION#[fg=colour32 bg=colour36]\
+$SEPARATOR_LEFT_BOLD$WEATHER#[fg=colour29 bg=colour32]\
+$SEPARATOR_LEFT_BOLD$JDATE #[fg=colour31 bg=colour29]\
+$SEPARATOR_LEFT_BOLD$DAY $SEPARATOR_LEFT_THIN $DATE $SEPARATOR_LEFT_THIN $TIME #[fg=colour25 bg=colour31]\
+$SEPARATOR_LEFT_BOLD$UTC_TIME "
diff --git a/tmux/vcs_info.sh b/tmux/vcs_info.sh
index eb8da75..5764e61 100755
--- a/tmux/vcs_info.sh
+++ b/tmux/vcs_info.sh
@@ -61,8 +61,12 @@ function repo_info {
git rev-parse --git-dir > /dev/null 2>&1
if [[ $? == 0 ]]; then
insertions=$(git --no-pager diff --numstat | awk '{sum1+=$1}END{print sum1}')
- # echo  
- echo 
+ git remote -v | grep github > /dev/null 2>&1
+ if [[ $? == 0 ]]; then
+ echo 
+ else
+ echo 
+ fi
else
:
fi
@@ -74,7 +78,6 @@ untracked_info="#[fg=colour255 bg=colour244]"$(git_untracked_info)
deletions_info="#[fg=colour255 bg=colour1]"$(gitdeletions)
additions__info="#[fg=colour255 bg=colour22]"$(gitadditions)
-# echo "#[fg=colour255 bg=colour29]$shortened_path #[fg=colour29 bg=colour26]$SEPARATOR_RIGHT_BOLD#[fg=colour255 bg=colour26]$tmux_session_info #[fg=colour26 bg=colour39]$SEPARATOR_RIGHT_BOLD $branch_info #[fg=colour39 bg=colour22]$SEPARATOR_RIGHT_BOLD $additions__info #[fg=colour22 bg=colour1]$SEPARATOR_RIGHT_BOLD $deletions_info #[fg=colour1 bg=colour244]$SEPARATOR_RIGHT_BOLD $untracked_info #[fg=colour244 bg=colour16]$SEPARATOR_RIGHT_BOLD"
echo "#[fg=colour255 bg=colour26]$tmux_session_info #[fg=colour26 bg=colour39]$SEPARATOR_RIGHT_BOLD \
$branch_info #[fg=colour39 bg=colour22]$SEPARATOR_RIGHT_BOLD \
$additions__info #[fg=colour22 bg=colour1]$SEPARATOR_RIGHT_BOLD \