From 523932583024dbe3b6331c5438be73012b4beacd Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 10 Sep 2023 09:37:32 +0200 Subject: [PATCH 1/3] [BASH] Change alias to unmount ragcloud before mount --- .bash_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bash_aliases b/.bash_aliases index 8a608cf..44c82a8 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,5 +1,5 @@ alias mountws='sshfs greg@greg.workstreams.ch:/home/greg/ work/ws-dev/' -alias mountcloud='sshfs debian@trolliet.info:/home/debian/ work/ragcloud1/' +alias mountcloud='umount /home/raghnarok/work/ragcloud1/; sshfs debian@trolliet.info:/home/debian/ work/ragcloud1/' alias syncMusic='rsync -av --delete /media/ragnas/music/ /media/HDD2/music_bck/' alias syncHome='rsync -av --delete /media/ragnas/raghnarok/ /media/HDD1/raghnarok_bck/' From 72d5f5dbbe8cb9919f9d81c6d044d8954c6499d7 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 10 Sep 2023 09:38:22 +0200 Subject: [PATCH 2/3] [BASH] Add Ruby Gems paths into bashrc --- .bashrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.bashrc b/.bashrc index 594d827..6935c64 100644 --- a/.bashrc +++ b/.bashrc @@ -218,3 +218,6 @@ export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.local/bin:$PATH": export EDITOR='vim' +# Install Ruby Gems to ~/gems +export GEM_HOME="$HOME/gems" +export PATH="$HOME/gems/bin:$PATH" From c10193bd139a3fe380265041117a16c8e3d2b9b7 Mon Sep 17 00:00:00 2001 From: Gregory Trolliet Date: Sun, 10 Sep 2023 09:39:29 +0200 Subject: [PATCH 3/3] [CONKY] Squeeze a bit the display --- .config/conky/conky.conf | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/.config/conky/conky.conf b/.config/conky/conky.conf index 576eb34..55d3cea 100644 --- a/.config/conky/conky.conf +++ b/.config/conky/conky.conf @@ -47,8 +47,7 @@ conky.text = [[ ############################################## #DATE ############################################## - -${color0}${font sans-serif:bold:size=8}DATE ${hr 2}$color +#${color0}${font sans-serif:bold:size=8}DATE ${hr 2}$color ${alignc}${voffset 10}${alignc}${font Trebuchet MS:size=28}${time %H:%M:%S}${font} ${alignc}${alignc}${font Trebuchet MS:size=8}${time %a %d %b %Y} #${alignc}Volume: ${exec ~/.config/conky/conky-volume.sh}% @@ -73,20 +72,17 @@ Core0: ${freq 0} Mhz ${exec sensors|grep 'Core 0'|awk '{print $3}'|cut -d "." - ${cpugraph cpu0 25,160 ff33ff 991f00} ${alignr}${cpugraph cpu1 25,160 ff33ff 991f00} Core2: ${freq 2} Mhz ${exec sensors|grep 'Core 2'|awk '{print $3}'|cut -d "." -f 1} C ${alignr}Core3: ${freq 3} Mhz ${exec sensors|grep 'Core 3'|awk '{print $3}'|cut -d "." -f 1} C ${cpugraph cpu2 25,160 ff33ff 991f00} ${alignr}${cpugraph cpu3 25,160 ff33ff 991f00} -${top name 1}${alignr}${top cpu 1} % -${top name 2}${alignr}${top cpu 2} % -${top name 3}${alignr}${top cpu 3} % -${top name 4}${alignr}${top cpu 4} % -${top name 5}${alignr}${top cpu 5} % +${top name 1} ${goto 120} ${top cpu 1} % ${goto 165}| ${top name 5} $alignr ${top cpu 5} % +${top name 2} ${goto 120} ${top cpu 2} % ${goto 165}| ${top name 6} $alignr ${top cpu 6} % +${top name 3} ${goto 120} ${top cpu 3} % ${goto 165}| ${top name 7} $alignr ${top cpu 7} % +${top name 4} ${goto 120} ${top cpu 4} % ${goto 165}| ${top name 8} $alignr ${top cpu 8} % ############################################## #MEMORY ############################################## ${color0}${font sans-serif:bold:size=8}MEMORY ${hr 2}$color -${font sans-serif:normal:size=8}Ram: $alignc $mem / $memmax $alignr $memperc% -$membar -${font sans-serif:normal:size=8}Swap: $alignc $swap / $swapmax $alignr $swapperc% -$swapbar +${font sans-serif:normal:size=8}Ram: $mem / $memmax ${goto 142}$memperc%${goto 175}Swap: $swap / $swapmax $alignr $swapperc% +${membar 8,160} ${alignr} ${swapbar 8,160} ${top_mem name 1}${alignr}${top mem 1} % ${top_mem name 2}${alignr}${top mem 2} % ${top_mem name 3}${alignr}${top mem 3} % @@ -115,15 +111,11 @@ ${fs_bar /media/ragnas/music/} #NETWORK ############################################## ${color0}${font sans-serif:bold:size=8}NETWORK ${hr 2}$color -${font sans-serif:normal:size=8}Private ${if_existing /proc/net/route enp0s31f6}${addr enp0s31f6}${else}${if_existing /proc/net/route enp0s31f6}${addr enp0s31f6}${else}Network disconnected${endif}${endif} -Public v4 ${execi 600 curl -s ipv4.icanhazip.com} +${font sans-serif:normal:size=8}Private ${if_existing /proc/net/route enp0s31f6}${addr enp0s31f6}${else}${if_existing /proc/net/route enp0s31f6}${addr enp0s31f6}${else}Network disconnected${endif}${endif} $alignr Public v4 ${execi 600 curl -s ipv4.icanhazip.com} Public v6 ${execi 600 curl -s ipv6.icanhazip.com} Down: ${downspeed enp0s31f6}/s $alignr Up: ${upspeed enp0s31f6}/s Total: ${totaldown enp0s31f6} $alignr Total: ${totalup enp0s31f6} ${downspeedgraph enp0s31f6 25,160 99cc33 006600}$alignr${upspeedgraph enp0s31f6 25,160 ffcc00 ff0000} -#${color0}${font sans-serif:bold:size=8}GEOIP ${hr 2}$color -############################################## - ############################################## #MUSIC #Credit to Reddit user: /u/Rioku_jk