New backup 2025-09-04 09:00:03

This commit is contained in:
Penelope Gwen 2025-09-04 09:00:03 -07:00
parent bbd62d4aee
commit c39b41889e
8 changed files with 42 additions and 28 deletions

View file

@ -12,12 +12,13 @@
(battery_children)))
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
(defwidget battery_children []
(box :class "reveal_children"
(box :class "reveal-children"
:orientation "h"
:space-evenly false
:halign "center"
(progress
:height 10
:valign "center"
:value {(EWW_BATTERY == "") ? 100 : jq(EWW_BATTERY,'.[].capacity?')}
:orientation "h")))
(box
(progress
:height 10
:valign "center"
:value {(EWW_BATTERY == "") ? 100 : jq(EWW_BATTERY,'.[].capacity?')}
:orientation "h"))))

View file

@ -4,13 +4,15 @@
:class "${reveal_sysdisk} sysdisk"
:revealvar reveal_sysdisk
:revealvar-name "reveal_sysdisk"
(metric :label "󰟒 "
:tooltip "home"
:value {EWW_DISK["/home"].used_perc})
(box
:class "revealer-preview"
(metric :label "󰟒 "
:tooltip "home"
:value {EWW_DISK["/home"].used_perc}))
(sysdisk_children)))
(defwidget sysdisk_children []
(box :class "reveal_children"
(box :class "reveal-children"
:orientation "h"
:space-evenly false
:halign "center"

View file

@ -4,13 +4,14 @@
:class "${reveal_sysmem} sysmem"
:revealvar reveal_sysmem
:revealvar-name "reveal_sysmem"
(metric :label " "
:class "revealer-preview"
:value {EWW_RAM.used_mem_perc})
(box
:class "revealer-preview"
(metric :label " "
:value {EWW_RAM.used_mem_perc}))
(sysmem_children)))
(defwidget sysmem_children []
(box :class "reveal_children"
(box :class "reveal-children"
:orientation "h"
:space-evenly false
:halign "center"

View file

@ -91,8 +91,9 @@ $transition-time: 0.3s;
@import "./bar/networking.scss";
@import "./bar/bluetooth.scss";
@import "./bar/power.scss";
@import "./bar/disk.scss";
@import "./bar/memory.scss";
// @import "./bar/disk.scss";
// @import "./bar/memory.scss";
@import "./bar/sys.scss";
@import "./bar/clock.scss";
.chevron box {

View file

@ -1,5 +1,5 @@
.sysmem {
margin: 0px 10px;
$module-color: mix($color0,$color2);
margin: 0px 5px;
$module-color: mix($color0,$color2,25%);
@import "./styles/revealer.scss"
}

View file

@ -4,7 +4,7 @@
}
.revealer-preview,
.reveal-children>* {
padding: 0px 5px;
padding: 0px 7px;
min-width: $bar-module-width;
transition: all 0.3s;
}
@ -25,9 +25,3 @@
}
}
//.revealer-on-hover>widget>box>box>* {
//
// padding: 0px 5px;
//
// transition: all 0.3s;
//}

View file

@ -0,0 +1,15 @@
.sysmem {
margin: 0px 5px;
$module-color: mix($color0,$color2,25%);
@import "./styles/revealer.scss"
}
.sysdisk {
margin: 0px 5px;
$module-color: mix($color0,$color7,45%);
@import "./styles/revealer.scss"
}
.battery {
margin: 0px 5px;
$module-color: mix($color0,$color2,25%);
@import "./styles/revealer.scss"
}

View file

@ -142,9 +142,9 @@ if [[ "$HOSTNAME" == pod* ]];then
cd ${POD_PATH}
fi
#export PYENV_ROOT="$HOME/.pyenv"
#[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
#eval "$(pyenv init - bash)"
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init - bash)"
export prompt_prefix=`awk '{$1=$1};1' <<< "${prompt_prefix}"`
#PS1='\[\e[1m\e[95m\]${prompt_prefix}\[\e[m\]${debian_chroot:+($debian_chroot)}\[\e[01;32m\]\u@\h\[\e[00m\]:\[\e[01;34m\]\w\[\e[00m\]\n\$ '