@@ -629,6 +629,7 @@ sed -n '/#\/\/WAYBARCONFIG/,/#\/\/WAYBARCONFIGEND/p' ~/arch_install3.sh | cut -c
|
|||||||
# "pulseaudio",
|
# "pulseaudio",
|
||||||
# "network",
|
# "network",
|
||||||
# "cpu",
|
# "cpu",
|
||||||
|
# "custom/gettemp",
|
||||||
# "memory",
|
# "memory",
|
||||||
# "battery",
|
# "battery",
|
||||||
# "battery#bat2",
|
# "battery#bat2",
|
||||||
@@ -685,6 +686,10 @@ sed -n '/#\/\/WAYBARCONFIG/,/#\/\/WAYBARCONFIGEND/p' ~/arch_install3.sh | cut -c
|
|||||||
# "format-disconnected": "Disconnected ⚠",
|
# "format-disconnected": "Disconnected ⚠",
|
||||||
# "on-click": "alacritty -e nmtui"
|
# "on-click": "alacritty -e nmtui"
|
||||||
# },
|
# },
|
||||||
|
# "custom/gettemp": {
|
||||||
|
# "exec": "gettemp",
|
||||||
|
# "format": "{text} "
|
||||||
|
# },
|
||||||
# "pulseaudio": {
|
# "pulseaudio": {
|
||||||
# "format": "{volume}% {icon} {format_source}",
|
# "format": "{volume}% {icon} {format_source}",
|
||||||
# "format-bluetooth": "{volume}% {icon} {format_source}",
|
# "format-bluetooth": "{volume}% {icon} {format_source}",
|
||||||
@@ -849,7 +854,7 @@ sed -n '/#\/\*WAYBARSTYLE\*\//,/#\/\*WAYBARSTYLEEND\*\//p' ~/arch_install3.sh |
|
|||||||
# box-shadow: inherit;
|
# box-shadow: inherit;
|
||||||
#}}
|
#}}
|
||||||
#
|
#
|
||||||
##clock,#battery,#cpu,#memory,#network,#pulseaudio,#tray,#power-profiles-daemon {{
|
##clock,#battery,#cpu,#memory,#network,#pulseaudio,#tray,#power-profiles-daemon,#custom-gettemp {{
|
||||||
# padding: 0 10px;
|
# padding: 0 10px;
|
||||||
# margin: 3 0px;
|
# margin: 3 0px;
|
||||||
# color: #ffffff;
|
# color: #ffffff;
|
||||||
@@ -874,12 +879,12 @@ sed -n '/#\/\*WAYBARSTYLE\*\//,/#\/\*WAYBARSTYLEEND\*\//p' ~/arch_install3.sh |
|
|||||||
# background-color: {color14};
|
# background-color: {color14};
|
||||||
#}}
|
#}}
|
||||||
#
|
#
|
||||||
##network,#cpu,#memory {{
|
##network,#cpu,#memory,#custom-gettemp {{
|
||||||
# background-color: {color5};
|
# background-color: {color5};
|
||||||
# color: {color0};
|
# color: {color0};
|
||||||
#}}
|
#}}
|
||||||
#
|
#
|
||||||
##cpu:hover,#network:hover,#memory:hover {{
|
##cpu:hover,#network:hover,#memory:hover,custom-gettemp:hover {{
|
||||||
# background-color: {color13};
|
# background-color: {color13};
|
||||||
#}}
|
#}}
|
||||||
#
|
#
|
||||||
@@ -1111,6 +1116,19 @@ sed -n '/^#FUZZYOPEN$/,/^#FUZZYOPENEND$/p' ~/arch_install3.sh | cut -c2- | sed '
|
|||||||
#xdg-open "$item" || nvim "$item"
|
#xdg-open "$item" || nvim "$item"
|
||||||
#FUZZYOPENEND
|
#FUZZYOPENEND
|
||||||
|
|
||||||
|
sed -n '/^#GETTEMP$/,/^#GETTEMPEND$/p' ~/arch_install3.sh | cut -c2- | sed '1d;$d' > ~/.local/scripts/gettemp
|
||||||
|
|
||||||
|
#GETTEMP
|
||||||
|
##!/bin/sh
|
||||||
|
#
|
||||||
|
#while
|
||||||
|
# cputemp=$(sensors | grep Tctl | awk '{print$2}' | cut -c2-)
|
||||||
|
# gputemp=$(sensors | grep edge | awk '{print$2}' | cut -c2-)
|
||||||
|
# echo $cputemp $gputemp
|
||||||
|
# sleep 2s
|
||||||
|
#do true; done
|
||||||
|
#GETTEMPEND
|
||||||
|
|
||||||
sed -n '/^#UPDATETHEME$/,/^#UPDATETHEMEEND$/p' ~/arch_install3.sh | cut -c2- | sed '1d;$d' > ~/.local/scripts/updatetheme
|
sed -n '/^#UPDATETHEME$/,/^#UPDATETHEMEEND$/p' ~/arch_install3.sh | cut -c2- | sed '1d;$d' > ~/.local/scripts/updatetheme
|
||||||
|
|
||||||
#UPDATETHEME
|
#UPDATETHEME
|
||||||
@@ -1189,6 +1207,7 @@ sudo chmod +x ~/.local/scripts/mountsmbvol
|
|||||||
sudo chmod +x ~/.local/scripts/disableipv6
|
sudo chmod +x ~/.local/scripts/disableipv6
|
||||||
sudo chmod +x ~/.local/scripts/fuzzyopen
|
sudo chmod +x ~/.local/scripts/fuzzyopen
|
||||||
sudo chmod +x ~/.local/scripts/updatetheme
|
sudo chmod +x ~/.local/scripts/updatetheme
|
||||||
|
sudo chmod +x ~/.local/scripts/gettemp
|
||||||
|
|
||||||
# Configuring firewall and OpenSSH
|
# Configuring firewall and OpenSSH
|
||||||
sudo systemctl enable ufw
|
sudo systemctl enable ufw
|
||||||
|
|||||||
Reference in New Issue
Block a user