removed code wallpaper, switched to thunar with engrampa, retired work-xps

This commit is contained in:
Rick van Lieshout 2023-01-08 14:47:04 +01:00
parent c12253370e
commit 7dd46f40f8
13 changed files with 14 additions and 60 deletions

View File

@ -28,7 +28,7 @@ x-scheme-handler/tidal=tidal-hifi.desktop
# files
#--------------
inode/director=Nautilus.desktop
inode/director=thunar.desktop
[Added Associations]
# browser-stuff
@ -68,7 +68,7 @@ application/javascript=visual-studio-code-insiders.desktop;
# other
#--------------
application/zip=org.gnome.Nautilus.desktop;xarchiver.desktop;
application/zip=thunar,org.gnome.Nautilus.desktop;xarchiver.desktop;
application/vnd.openxmlformats-officedocument.wordprocessingml.document=wps-office-wps.desktop;
application/x-remmina=org.gnome.gedit.desktop;org.kde.krdc.desktop;remmina-file.desktop;org.remmina.Remmina.desktop;

View File

@ -10,7 +10,6 @@ scrot
arandr
xfce4-terminal
ttf-font-awesome
sushi
libconfig
compton
lxappearance
@ -56,13 +55,10 @@ wavpack
x264
xvidcore
gvfs-smb
gnome-screenshot
bash-completion
flameshot
otf-font-awesome
openvpn
networkmanager
networkmanager-openvpn
networkmanager-l2tp
strongswan
w3m
@ -99,3 +95,6 @@ duf
picom
ttf-ubuntu-font-family
xorg-xkill
thunar
thunar-archive-plugin
engrampa

View File

@ -51,42 +51,12 @@ label=
interval=1
color=#999999
# CPU usage
#
# The script may be called with -w and -c switches to specify thresholds,
# see the script for details.
[cpu_usage]
label=
interval=1
#min_width=CPU:100.00%
separator=true
[load_average]
label=
interval=10
separator=true
color=#999999
# Memory usage
#
# The type defaults to "mem" if the instance is not specified.
[memory]
label=
separator=true
interval=30
color=#999999
# Disk usage
# The directory defaults to $HOME if the instance is not specified.
# The script may be called with a optional argument to set the alert
# (defaults to 10 for 10%).
[disk]
label=
instance=/
interval=5
separator=true
color=#999999
# Updates
[updates]
label=
@ -114,20 +84,6 @@ interval=60
separator=true
color=#999999
# Volume indicator
#
# The first parameter sets the step (and units to display)
# The second parameter overrides the mixer selection
# See the script for details.
[volume]
label=
instance=Master
interval=1
command=/usr/lib/i3blocks/volume/volume 5 pulse
signal=10
separator=true
color=#999999
# Battery indicator
# The battery instance defaults to 0.
[battery2]

View File

@ -1,20 +1,19 @@
#!/bin/bash
intelTemp=$(sensors | # execute sensors
grep -w "Core 0:" | # grep for the first core
sed 's/([^)]*)//g' | # filter
tr -s " " | # remove whitespace
sed -e 's/Core 0\(.*\):/\1/' | # get value between Core 0 and :
cut -c 3- | rev | cut -c 7- | rev #remove clutter
intelTemp=$(
sensors | # execute sensors
grep -w "Core 0:" | # grep for the first core
sed 's/([^)]*)//g' | # filter
tr -s " " | # remove whitespace
sed -e 's/Core 0\(.*\):/\1/' | # get value between Core 0 and :
cut -c 3- | rev | cut -c 7- | rev #remove clutter
)
amdTemp=$(sensors | grep -w "Tdie:" | sed 's/([^)]*)//g' | tr -s " " | cut -c 8- | rev | cut -c 6- | rev)
amdTemp=$(sensors | grep -iw "tctl:" | sed 's/([^)]*)//g' | tr -s " " | cut -c 8- | rev | cut -c 2- | rev)
# echo out the result
if [ -z "$intelTemp" ]
then
if [ -z "$intelTemp" ]; then
echo $amdTemp
else
echo $intelTemp°C
fi

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB