Merge branch 'main' of ssh://git.pogmom.me:1022/pogmommy/dotfiles
This commit is contained in:
commit
29f1591774
25 changed files with 6728 additions and 63 deletions
|
|
@ -76,9 +76,14 @@ $home-widget-border-hover-color: rgba($color5,0.3);
|
||||||
|
|
||||||
revealer.home {
|
revealer.home {
|
||||||
font-size: 0.95em;
|
font-size: 0.95em;
|
||||||
|
padding-bottom: 25px;
|
||||||
|
|
||||||
&>box {
|
&>box {
|
||||||
|
// & scrolledwindow, viewport.frame, box.home { //box.home {
|
||||||
|
// & scrolledwindow>*, viewport.frame, box.home { //box.home {
|
||||||
|
// border: 3px solid blue;
|
||||||
|
//
|
||||||
|
border-radius: 0px 20px 0px 20px;
|
||||||
|
// }
|
||||||
margin: 3px 10px;
|
margin: 3px 10px;
|
||||||
&:first-child {
|
&:first-child {
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
|
|
@ -192,7 +197,7 @@ revealer.home {
|
||||||
border: 2px solid $home-widget-border-color;
|
border: 2px solid $home-widget-border-color;
|
||||||
border-radius: $home-widget-border-radius;
|
border-radius: $home-widget-border-radius;
|
||||||
background-color: $home-widget-bg-color;
|
background-color: $home-widget-bg-color;
|
||||||
box-shadow: 0px 0px 9px 0px $home-widget-bg-color;
|
// box-shadow: 0px 0px 9px 0px $home-widget-bg-color;
|
||||||
}
|
}
|
||||||
.revealer-title {
|
.revealer-title {
|
||||||
background-color: $home-widget-border-color;
|
background-color: $home-widget-border-color;
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
:windowtype "normal"
|
:windowtype "normal"
|
||||||
:exclusive false
|
:exclusive false
|
||||||
:geometry (geometry
|
:geometry (geometry
|
||||||
; :y "0px"
|
; :y "27px"
|
||||||
; :width "300px"
|
; :width "300px"
|
||||||
:height "100%"
|
:height "100%"
|
||||||
:anchor "center left")
|
:anchor "center left")
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@
|
||||||
; :class "revealer-preview ${(EWW_BATTERY == '' || jq(EWW_BATTERY,'.[].status?','r') == 'Charging') ? 'active' : 'inactive' }"
|
; :class "revealer-preview ${(EWW_BATTERY == '' || jq(EWW_BATTERY,'.[].status?','r') == 'Charging') ? 'active' : 'inactive' }"
|
||||||
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
|
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
|
||||||
; {(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
|
; {(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
|
||||||
|
:tooltip `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "Charging" : "Discharging"}, ${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.total_avg?'),1)}% of total average"}`
|
||||||
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.[].capacity?'),0)}%"}`)
|
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${round(jq(EWW_BATTERY,'.[].capacity?'),0)}%"}`)
|
||||||
(battery_children)))
|
(battery_children)))
|
||||||
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
|
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
|
||||||
|
|
|
||||||
|
|
@ -18,4 +18,5 @@
|
||||||
(for device in array
|
(for device in array
|
||||||
(button :onclick {(device.connected == "yes") ? 'bluetoothctl disconnect "${device.address}"' : 'bluetoothctl connect "${device.address}"'}
|
(button :onclick {(device.connected == "yes") ? 'bluetoothctl disconnect "${device.address}"' : 'bluetoothctl connect "${device.address}"'}
|
||||||
:class {(device.connected == "yes") ? "active" : "inactive"}
|
:class {(device.connected == "yes") ? "active" : "inactive"}
|
||||||
|
:tooltip "${device.name}"
|
||||||
"${device.icon}"))))
|
"${device.icon}"))))
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,11 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(eventbox
|
(eventbox
|
||||||
:onhover "${EWW_CMD} update ${revealvar-name}=true"
|
; :onhover "${EWW_CMD} update ${revealvar-name}=true"
|
||||||
|
:onscroll "if test '{}' = 'down';then ${EWW_CMD} update ${revealvar-name}=true;else ${EWW_CMD} update ${revealvar-name}=false;fi"
|
||||||
|
; :onscroll "/usr/bin/env bash 'if [[]] ${EWW_CMD} update ${revealvar-name}=true'"
|
||||||
:onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
|
:onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
|
||||||
|
; :onhoverlost "${EWW_CMD} update ${revealvar-name}=false"
|
||||||
(box
|
(box
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(children :nth 0)
|
(children :nth 0)
|
||||||
|
|
|
||||||
|
|
@ -6,19 +6,20 @@
|
||||||
:revealvar-name "reveal_scratchpad"
|
:revealvar-name "reveal_scratchpad"
|
||||||
(label
|
(label
|
||||||
:class "revealer-preview"
|
:class "revealer-preview"
|
||||||
:text " ${reveal_scratchpad ? '' : ''}")
|
:tooltip "${jq(scratchpadArray,'.[] | "\\(.title) (\\(.name)) \\n"','r')}"
|
||||||
|
:text " ${jq(scratchpadArray,'. | length')} ${reveal_scratchpad ? '' : ''}")
|
||||||
(scratchpad_children :array scratchpadArray)))
|
(scratchpad_children :array scratchpadArray)))
|
||||||
|
|
||||||
(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0"}]}"
|
(deflisten scratchpadArray :initial "${[{"icon": "/usr/share/icons/breeze-dark/mimetypes/32/unknown.svg", "name": "placeholder", "title": "placeholder", "win_id": "0", "visible": "false"}]}"
|
||||||
'scripts/bar/scratchpad')
|
'scripts/bar/scratchpad')
|
||||||
(defwidget scratchpad_children [array]
|
(defwidget scratchpad_children [array]
|
||||||
(box :orientation "h"
|
(box :orientation "h"
|
||||||
:class "reveal-children"
|
:class "reveal-children"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(for entry in array
|
(for entry in array
|
||||||
(button :onclick 'swaymsg [con_id=${entry.win_id}] focus'
|
(button :onclick 'swaymsg [con_id=${entry.win_id}] scratchpad show'
|
||||||
:tooltip "${entry.name}
|
:class "${(entry.visible == 'true') ? 'active' : 'inactive'}"
|
||||||
${entry.title}"
|
:tooltip "${entry.name}\n${entry.title}"
|
||||||
(image :path {entry.icon}
|
(image :path {entry.icon}
|
||||||
:image-width 20
|
:image-width 20
|
||||||
:image-height 20)
|
:image-height 20)
|
||||||
|
|
|
||||||
|
|
@ -6,8 +6,8 @@
|
||||||
:revealvar-name "reveal_sysdisk"
|
:revealvar-name "reveal_sysdisk"
|
||||||
(box
|
(box
|
||||||
:class "revealer-preview"
|
:class "revealer-preview"
|
||||||
|
:tooltip "${jq(EWW_DISK,'to_entries[]|"\\(.key) - \\(.value.used_perc*10|round/10)% Used\\n\\(.value.free/1073741824*100|round/100)GiB Available\\n"','r')}"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
:tooltip "home"
|
|
||||||
:value {EWW_DISK["/home"].used_perc}))
|
:value {EWW_DISK["/home"].used_perc}))
|
||||||
(sysdisk_children)))
|
(sysdisk_children)))
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
:revealvar-name "reveal_sysmem"
|
:revealvar-name "reveal_sysmem"
|
||||||
(box
|
(box
|
||||||
:class "revealer-preview"
|
:class "revealer-preview"
|
||||||
|
:tooltip "${jq(EWW_RAM,'.|"RAM: \\(.used_mem_perc*10|round/10)% Used\\n\\(.used_mem/1073741824*100|round/100)/\\(.total_mem/1073741824*100|round/100)GiB Usage\\nSwap: \\((.total_swap-.free_swap)/.total_swap*1000|round/10)% Usage\\n\\((.total_swap-.free_swap)/1073741824*100|round/100)/\\(.total_swap/1073741824*100|round/100)"','r')}"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
:value {EWW_RAM.used_mem_perc}))
|
:value {EWW_RAM.used_mem_perc}))
|
||||||
(sysmem_children)))
|
(sysmem_children)))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
(defvar homewidgets_reveal false)
|
(defvar homewidgets_reveal false)
|
||||||
|
|
||||||
(defwidget home []
|
(defwidget home []
|
||||||
|
; (box :height 27)
|
||||||
(revealer
|
(revealer
|
||||||
:transition "slideright"
|
:transition "slideright"
|
||||||
:reveal homewidgets_reveal
|
:reveal homewidgets_reveal
|
||||||
|
|
@ -9,7 +10,7 @@
|
||||||
(box
|
(box
|
||||||
:orientation 'v'
|
:orientation 'v'
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
(box :height 30)
|
(box :height 27)
|
||||||
(scroll
|
(scroll
|
||||||
:vscroll true
|
:vscroll true
|
||||||
:hscroll false
|
:hscroll false
|
||||||
|
|
@ -27,13 +28,22 @@
|
||||||
(mcstatus_revealer)
|
(mcstatus_revealer)
|
||||||
(box
|
(box
|
||||||
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
|
||||||
(software_revealer))
|
(software_revealer)
|
||||||
|
)
|
||||||
(box
|
(box
|
||||||
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
||||||
(notes_revealer))
|
(notes_revealer)
|
||||||
|
)
|
||||||
(box
|
(box
|
||||||
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
||||||
(reminders_revealer))))) ) )
|
(reminders_revealer)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
;(box :height 10)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
;widget templates
|
;widget templates
|
||||||
(include "modules/home/revealer-on-press.yuck")
|
(include "modules/home/revealer-on-press.yuck")
|
||||||
|
|
|
||||||
|
|
@ -28,14 +28,16 @@
|
||||||
:onclick "hass-cli -a services -I area_id -i left_bedroom -d light -s toggle"
|
:onclick "hass-cli -a services -I area_id -i left_bedroom -d light -s toggle"
|
||||||
(label
|
(label
|
||||||
:justify "center"
|
:justify "center"
|
||||||
:text ""))
|
:text ""
|
||||||
|
:tooltip "Turn on bedroom lights"))
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "librewolf-profile Penelope 'https://hass.pogmom.me'"
|
:onclick "librewolf-profile Penelope 'https://hass.pogmom.me'"
|
||||||
(label
|
(label
|
||||||
:justify "center"
|
:justify "center"
|
||||||
:text "")))
|
:text ""
|
||||||
|
:tooltip "Home Assistant")))
|
||||||
(box
|
(box
|
||||||
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10}
|
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 10}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
|
@ -47,21 +49,24 @@
|
||||||
:onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'"
|
:onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'"
|
||||||
(label
|
(label
|
||||||
:justify "center"
|
:justify "center"
|
||||||
:text ""))
|
:text ""
|
||||||
|
:tooltip "Nextcloud"))
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "librewolf-profile Penelope 'https://masto.pogmom.me'"
|
:onclick "librewolf-profile Penelope 'https://masto.pogmom.me'"
|
||||||
(label
|
(label
|
||||||
:justify "center"
|
:justify "center"
|
||||||
:text ""))
|
:text ""
|
||||||
|
:tooltip "Mastodon"))
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "librewolf-profile Penelope 'https://watch.pogmom.me'"
|
:onclick "librewolf-profile Penelope 'https://watch.pogmom.me'"
|
||||||
(label
|
(label
|
||||||
:justify "center"
|
:justify "center"
|
||||||
:text "")))
|
:text ""
|
||||||
|
:tooltip "Jellyfin")))
|
||||||
(box
|
(box
|
||||||
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 20) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 11)}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
|
@ -74,7 +79,8 @@
|
||||||
:tooltip "smb://server-hp-y2z63av"
|
:tooltip "smb://server-hp-y2z63av"
|
||||||
(label
|
(label
|
||||||
:justify "center"
|
:justify "center"
|
||||||
:text ""))
|
:text ""
|
||||||
|
:tooltip "Media Server SMB"))
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@ declare -A icons=(
|
||||||
|
|
||||||
jq_get_windows='
|
jq_get_windows='
|
||||||
# descend to workspace or scratchpad
|
# descend to workspace or scratchpad
|
||||||
.nodes[0].nodes[0]
|
.nodes[].nodes[]
|
||||||
# save workspace name as .w
|
# save workspace name as .w
|
||||||
| {"w": .name} + (
|
| {"w": .name} + (
|
||||||
if (.nodes|length) > 0 then # workspace
|
if (.nodes|length) > 0 then # workspace
|
||||||
|
|
@ -17,7 +17,9 @@ jq_get_windows='
|
||||||
+ .floating_nodes
|
+ .floating_nodes
|
||||||
| .[]
|
| .[]
|
||||||
# select nodes with no children (windows)
|
# select nodes with no children (windows)
|
||||||
| select(.nodes==[])
|
# | select(.nodes==[])
|
||||||
|
# | select(.scratchpad!="none")
|
||||||
|
| select(.scratchpad_state=="fresh")
|
||||||
)'
|
)'
|
||||||
|
|
||||||
jq_windows_to_tsv='
|
jq_windows_to_tsv='
|
||||||
|
|
@ -28,7 +30,8 @@ jq_windows_to_tsv='
|
||||||
# get app name (or window class if xwayland)
|
# get app name (or window class if xwayland)
|
||||||
(.app_id // .window_properties.class),
|
(.app_id // .window_properties.class),
|
||||||
(.name),
|
(.name),
|
||||||
(.pid)
|
(.pid),
|
||||||
|
(.visible)
|
||||||
]
|
]
|
||||||
| @tsv'
|
| @tsv'
|
||||||
|
|
||||||
|
|
@ -40,6 +43,8 @@ get_hardcoded_icon() {
|
||||||
get_desktop() {
|
get_desktop() {
|
||||||
app="$1"
|
app="$1"
|
||||||
p="/usr/share/applications"
|
p="/usr/share/applications"
|
||||||
|
flist=("/var/lib/flatpak/exports/share/applications" "${HOME}/.local/share/flatpak/exports/share/applications")
|
||||||
|
[[ "$verbose" ]] && echo "searching for '$app'" >&2
|
||||||
|
|
||||||
# fast and easy cases first:
|
# fast and easy cases first:
|
||||||
for prefix in "" org.kde. org.gnome. org.freedesktop.; do
|
for prefix in "" org.kde. org.gnome. org.freedesktop.; do
|
||||||
|
|
@ -60,7 +65,6 @@ get_desktop() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
done
|
done
|
||||||
|
|
||||||
# this is fairly reliable but slow:
|
# this is fairly reliable but slow:
|
||||||
# look for a .desktop file with Exec=$app eg
|
# look for a .desktop file with Exec=$app eg
|
||||||
# gnome-disks (but exclude gnome-disk-image-writer.desktop)
|
# gnome-disks (but exclude gnome-disk-image-writer.desktop)
|
||||||
|
|
@ -74,6 +78,17 @@ get_desktop() {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for f in ${flist[@]};do
|
||||||
|
[[ "$verbose" ]] && echo "using '$GREP' to search in '${f}'" >&2
|
||||||
|
d=$( $GREP -il "^startupwmclass=$app.*$" ${f}/* | head -n 1)
|
||||||
|
[[ "$verbose" ]] && echo "found '$d'" >&2
|
||||||
|
[[ -r "$d" ]] && {
|
||||||
|
echo "$d"
|
||||||
|
[[ "$verbose" ]] && echo "found '$d'" >&2
|
||||||
|
return
|
||||||
|
}
|
||||||
|
done
|
||||||
|
|
||||||
# desperation - weird apps like com.github.wwmm.pulseeffects.desktop!!
|
# desperation - weird apps like com.github.wwmm.pulseeffects.desktop!!
|
||||||
# shellcheck disable=SC2012
|
# shellcheck disable=SC2012
|
||||||
d=$( ls "$p/"*".$app.desktop" 2>/dev/null | head -n 1 )
|
d=$( ls "$p/"*".$app.desktop" 2>/dev/null | head -n 1 )
|
||||||
|
|
@ -111,15 +126,24 @@ get_icon() {
|
||||||
}
|
}
|
||||||
[[ "$icon_name" ]] && {
|
[[ "$icon_name" ]] && {
|
||||||
icon_locations=(
|
icon_locations=(
|
||||||
icons/hicolor/scalable/apps
|
/usr/share/icons/hicolor/scalable/apps
|
||||||
icons/hicolor/48x48/apps
|
/usr/share/icons/hicolor/48x48/apps
|
||||||
icons/gnome/48x48/apps
|
/usr/share/icons/gnome/48x48/apps
|
||||||
icons/gnome/48x48/devices
|
/usr/share/icons/gnome/48x48/devices
|
||||||
pixmaps
|
/usr/share/pixmaps
|
||||||
|
/var/lib/flatpak/exports/share/icons/hicolor/scalable/apps
|
||||||
|
/var/lib/flatpak/exports/share/icons/hicolor/48x48/apps
|
||||||
|
"${HOME}/.local/share/flatpak/exports/share/icons/hicolor/scalable/apps"
|
||||||
|
"${HOME}/.local/share/flatpak/exports/share/icons/hicolor/48x48/apps"
|
||||||
|
# icons/hicolor/scalable/apps
|
||||||
|
# icons/hicolor/48x48/apps
|
||||||
|
# icons/gnome/48x48/apps
|
||||||
|
# icons/gnome/48x48/devices
|
||||||
|
# pixmaps
|
||||||
)
|
)
|
||||||
for d in "${icon_locations[@]}"; do
|
for d in "${icon_locations[@]}"; do
|
||||||
for s in .svg .png .xpm ""; do
|
for s in .svg .png .xpm ""; do
|
||||||
icon=/usr/share/$d/$icon_name$s
|
icon=$d/$icon_name$s
|
||||||
[[ -r $icon ]] && {
|
[[ -r $icon ]] && {
|
||||||
echo "$icon"
|
echo "$icon"
|
||||||
[[ "$verbose" ]] && echo "using .desktop icon '$icon'" >&2
|
[[ "$verbose" ]] && echo "using .desktop icon '$icon'" >&2
|
||||||
|
|
@ -135,6 +159,7 @@ get_icon() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
[[ "$verbose" ]] && echo "searching for '$app' icon" >&2
|
||||||
icon=$( find /usr/share/icons /usr/share/pixmaps | grep -E -i "/$app.(png|svg)" | head -n 1 )
|
icon=$( find /usr/share/icons /usr/share/pixmaps | grep -E -i "/$app.(png|svg)" | head -n 1 )
|
||||||
[[ "$icon" && -r "$icon" ]] && {
|
[[ "$icon" && -r "$icon" ]] && {
|
||||||
echo "$icon"
|
echo "$icon"
|
||||||
|
|
@ -153,12 +178,13 @@ function get_scratchpad() {
|
||||||
shopt -s lastpipe
|
shopt -s lastpipe
|
||||||
swaymsg -t get_tree |
|
swaymsg -t get_tree |
|
||||||
jq -r "$jq_get_windows | $jq_windows_to_tsv" |
|
jq -r "$jq_get_windows | $jq_windows_to_tsv" |
|
||||||
column -s $'\t' -o $'\t' -t | while IFS=$'\t' read -r win_id ws_name app_name win_title pid; do
|
column -s $'\t' -o $'\t' -t | while IFS=$'\t' read -r win_id ws_name app_name win_title pid visible; do
|
||||||
shopt -s extglob
|
shopt -s extglob
|
||||||
app_name="${app_name%%*( )}"
|
app_name="${app_name%%*( )}"
|
||||||
icon=$( get_icon "$app_name" "$pid" )
|
icon=$( get_icon "$app_name" "$pid" )
|
||||||
|
visible=${visible}
|
||||||
[[ "$verbose" ]] && printf "[%s]=%s\n" "$app_name" "$icon" >&2
|
[[ "$verbose" ]] && printf "[%s]=%s\n" "$app_name" "$icon" >&2
|
||||||
applist_array_item=$(jq -n --arg icon "${icon}" --arg name "${app_name##*.}" --arg title "${win_title}" --arg win_id "${win_id}" '{icon: $icon,name: $name,title: $title,win_id: $win_id}')
|
applist_array_item=$(jq -n --arg icon "${icon}" --arg name "${app_name##*.}" --arg title "${win_title}" --arg win_id "${win_id}" --arg visible "${visible}" '{icon: $icon,name: $name,title: $title,win_id: $win_id,visible: $visible}')
|
||||||
applist_array+=("${applist_array_item}")
|
applist_array+=("${applist_array_item}")
|
||||||
done
|
done
|
||||||
applist=$(printf '%s\n' "${applist_array[@]}" | jq -s .)
|
applist=$(printf '%s\n' "${applist_array[@]}" | jq -s .)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
.powermenu {
|
.powermenu {
|
||||||
margin: 0px 5px;
|
margin: 0px 5px;
|
||||||
$module-color: mix($color9, $color5, 50%);
|
$module-color: mix($color0, $color5, 50%);
|
||||||
@import "./styles/revealer.scss"
|
@import "./styles/revealer.scss"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
min-width: $bar-module-width;
|
min-width: $bar-module-width;
|
||||||
transition: all 0.3s;
|
transition: all 0.3s;
|
||||||
background-color: rgba($bar-bg-color,0.5);
|
background-color: rgba($bar-bg-color,0.5);
|
||||||
|
& image {
|
||||||
|
opacity: 0.3;
|
||||||
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.5));
|
background: linear-gradient(rgba($bar-bg-color,0.5) 15%, rgba($module-color,0.5));
|
||||||
}
|
}
|
||||||
|
|
@ -19,6 +22,9 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-color,0.5));
|
background: linear-gradient(mix(rgba($bar-bg-color,0.5), rgba($module-color,0.5)) 15%, rgba($bar-bg-color,0.5));
|
||||||
}
|
}
|
||||||
|
& image {
|
||||||
|
opacity: 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
&.inactive {
|
&.inactive {
|
||||||
background-color: rgba($bar-bg-color,0.3);
|
background-color: rgba($bar-bg-color,0.3);
|
||||||
|
|
@ -26,6 +32,9 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
background: linear-gradient(rgba($bar-bg-color,0.3) 15%, rgba($module-color,0.3));
|
background: linear-gradient(rgba($bar-bg-color,0.3) 15%, rgba($module-color,0.3));
|
||||||
}
|
}
|
||||||
|
// & image {
|
||||||
|
// opacity: 0.3;
|
||||||
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.revealer-preview {
|
.revealer-preview {
|
||||||
|
|
|
||||||
|
|
@ -172,10 +172,10 @@ SetEditor=false
|
||||||
1920x1200 screen: Width=623
|
1920x1200 screen: Width=623
|
||||||
2 screens: Height=1119
|
2 screens: Height=1119
|
||||||
2 screens: Width=490
|
2 screens: Width=490
|
||||||
2048x1280 screen: Height=1199
|
2048x1280 screen: Height=592
|
||||||
2048x1280 screen: Width=2024
|
2048x1280 screen: Width=574
|
||||||
3 screens: Height=659
|
3 screens: Height=815
|
||||||
3 screens: Width=1160
|
3 screens: Width=1296
|
||||||
|
|
||||||
[filetree]
|
[filetree]
|
||||||
editShade=183,220,246
|
editShade=183,220,246
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ Sort directories first=true
|
||||||
Sort hidden files last=false
|
Sort hidden files last=false
|
||||||
Sort reversed=false
|
Sort reversed=false
|
||||||
Speedbar Width=144
|
Speedbar Width=144
|
||||||
View Style=Detail
|
View Style=Simple
|
||||||
|
|
||||||
[KShortcutsDialog Settings]
|
[KShortcutsDialog Settings]
|
||||||
Dialog Size=600,480
|
Dialog Size=600,480
|
||||||
|
|
|
||||||
1
de/home/.fonts/.uuid
Normal file
1
de/home/.fonts/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
72299e7f-1873-4b33-b55f-ee2e0cdb6125
|
||||||
1
de/home/.fonts/Good Old DOS/.uuid
Normal file
1
de/home/.fonts/Good Old DOS/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
791fc48c-6c74-4961-88bc-2ad08bbf072c
|
||||||
1
de/home/.fonts/OverpassNerdFont_3.4.0/.uuid
Normal file
1
de/home/.fonts/OverpassNerdFont_3.4.0/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
fc10d4fc-185a-41f5-a69a-14554e7d4985
|
||||||
1
de/home/.fonts/PcSeniorRegular/.uuid
Normal file
1
de/home/.fonts/PcSeniorRegular/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
2a1d201b-fb0d-4228-8cad-9e2f4e41ca09
|
||||||
1
de/home/.fonts/Univers-Font/.uuid
Normal file
1
de/home/.fonts/Univers-Font/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
c51bc637-5565-45d1-925a-6897d108daf7
|
||||||
1
de/home/.fonts/overpass-mono/.uuid
Normal file
1
de/home/.fonts/overpass-mono/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
a39e85f1-be66-4e3e-ab2e-d1b9e1fdb45c
|
||||||
1
de/home/.fonts/overpass/.uuid
Normal file
1
de/home/.fonts/overpass/.uuid
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
0fdb1bfc-88d2-43d1-98bc-24ec13994dc3
|
||||||
|
|
@ -0,0 +1,89 @@
|
||||||
|
/**
|
||||||
|
* @name Translucence
|
||||||
|
* @version 1.0.6.4
|
||||||
|
* @description A translucent/frosted glass Discord theme
|
||||||
|
* @author CapnKitten
|
||||||
|
*
|
||||||
|
* @website http://github.com/CapnKitten
|
||||||
|
* @source https://github.com/CapnKitten/BetterDiscord/blob/master/Themes/Translucence/css/source.css
|
||||||
|
* @donate https://paypal.me/capnkitten
|
||||||
|
* @invite jzJkA6Z
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*@import url(https://capnkitten.github.io/BetterDiscord/Themes/Translucence/css/source.css);*/
|
||||||
|
@import "./source.css";
|
||||||
|
|
||||||
|
:root {
|
||||||
|
/* APP ELEMENTS */
|
||||||
|
--app-bg: none;
|
||||||
|
/* --app-bg: url(https://i.imgur.com/bgmVeyt.jpg); */
|
||||||
|
--app-blur: 6px;
|
||||||
|
--app-margin: 24px;
|
||||||
|
--app-radius: 8px;
|
||||||
|
|
||||||
|
/* ACCENT HSL AND TEXT COLOR SETTINGS */
|
||||||
|
--accent-hue: 156;
|
||||||
|
--accent-saturation: 77.5%;
|
||||||
|
--accent-lightness: 47.1%;
|
||||||
|
--accent-opacity: 1;
|
||||||
|
--accent-text-color: hsl(0,0%,0%);
|
||||||
|
|
||||||
|
/* SIDEBARS AND CHAT AREA COLOR SETTINGS */
|
||||||
|
--sidebar-color: hsl(0,0%,0%,0.4);
|
||||||
|
--main-content-color: hsl(0,0%,0%,0.2);
|
||||||
|
|
||||||
|
/* MESSAGE SETTINGS */
|
||||||
|
--message-color: hsl(0,0%,0%,0.4);
|
||||||
|
--message-radius: 8px;
|
||||||
|
--message-padding-top: 8px;
|
||||||
|
--message-padding-side: 8px;
|
||||||
|
|
||||||
|
/* REPLY HSL COLOR SETTINGS */
|
||||||
|
--reply-hue: 226;
|
||||||
|
--reply-saturation: 77.4%;
|
||||||
|
--reply-lightness: 61.8%;
|
||||||
|
--reply-opacity: 1;
|
||||||
|
|
||||||
|
/* TEXTAREA SETTINGS */
|
||||||
|
--textarea-color: 255,255,255;
|
||||||
|
--textarea-alpha: 0.1;
|
||||||
|
--textarea-alpha-focus: 0.15;
|
||||||
|
--textarea-text-color: hsl(0,0%,100%);
|
||||||
|
--textarea-radius: 22px;
|
||||||
|
|
||||||
|
/* CARD SETTINGS */
|
||||||
|
--card-color: hsl(0,0%,0%,0.4);
|
||||||
|
--card-color-hover: hsl(0,0%,0%,0.5);
|
||||||
|
--card-color-select: hsl(0,0%,0%,0.7);
|
||||||
|
|
||||||
|
/* BUTTON SETTINGS */
|
||||||
|
--button-height: 32px;
|
||||||
|
--button-padding: 0 16px;
|
||||||
|
--button-action-color: hsl(0,0%,0%);
|
||||||
|
--button-radius: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.visual-refresh.theme-dark {
|
||||||
|
/* TEXT COLOR SETTINGS */
|
||||||
|
--text-primary: hsl(0,0%,100%);
|
||||||
|
--text-secondary: hsl(0,0%,77%);
|
||||||
|
|
||||||
|
/* CHANNEL COLOR SETTINGS */
|
||||||
|
--channels-default: hsl(0,0%,62%);
|
||||||
|
--channel-icon: hsl(0,0%,62%);
|
||||||
|
|
||||||
|
/* ICON COLOR SETTINGS */
|
||||||
|
--icon-primary: hsl(0,0%,96%);
|
||||||
|
--icon-secondary: hsl(0,0%,84%);
|
||||||
|
--icon-tertiary: hsl(0,0%,71%);
|
||||||
|
|
||||||
|
/* INTERACTIVE COLOR SETTINGS */
|
||||||
|
--interactive-normal: hsl(0,0%,79%);
|
||||||
|
--interactive-hover: hsl(0,0%,91%);
|
||||||
|
--interactive-active: hsl(0,0%,100%);
|
||||||
|
--interactive-muted: hsl(0,0%,43%);
|
||||||
|
|
||||||
|
/* BACKGROUND MODIFIER SETTINGS */
|
||||||
|
--background-modifier-hover: hsl(0,0%,100%,0.075);
|
||||||
|
--background-modifier-selected: hsl(0,0%,100%,0.125);
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -57,3 +57,5 @@
|
||||||
.config/sway-profiles-rs
|
.config/sway-profiles-rs
|
||||||
.config/mc-server-info
|
.config/mc-server-info
|
||||||
.local/bin/nf-list
|
.local/bin/nf-list
|
||||||
|
.var/app/dev.vencord.Vesktop/config/vesktop/themes/Translucence.theme.css
|
||||||
|
.var/app/dev.vencord.Vesktop/config/vesktop/themes/source.css
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue