Merge branch 'main' of ssh://git.pogmom.me:1022/pogmommy/dotfiles
Before Width: | Height: | Size: 2.1 MiB After Width: | Height: | Size: 813 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 988 KiB |
Before Width: | Height: | Size: 234 KiB After Width: | Height: | Size: 1.2 MiB |
Before Width: | Height: | Size: 1.8 MiB After Width: | Height: | Size: 664 KiB |
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 566 KiB |
Before Width: | Height: | Size: 334 KiB After Width: | Height: | Size: 462 KiB |
Before Width: | Height: | Size: 1.6 MiB After Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 4.6 MiB |
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 830 KiB |
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 3.8 MiB |
Before Width: | Height: | Size: 1 MiB After Width: | Height: | Size: 2.2 MiB |
|
@ -268,6 +268,14 @@ $home-widget-border-color: rgba($color5,1);
|
|||
margin-top: 6px;
|
||||
color: $home-widget-subtitle-color;
|
||||
}
|
||||
.details {
|
||||
font-size: 0.8em;
|
||||
color: $home-widget-subtitle-color;
|
||||
margin: 0px 10px;
|
||||
}
|
||||
.status {
|
||||
margin: 0px 10px;
|
||||
}
|
||||
}
|
||||
image {
|
||||
opacity: $home-button-fg-opacity;
|
||||
|
|
|
@ -8,10 +8,12 @@
|
|||
(weather :json weather_status)
|
||||
(shortcuts)
|
||||
(notes :json {jq(notes_list,'.notes')})
|
||||
(softwareupdates :json {software_list})
|
||||
(reminders :json {jq(reminders_list,'.reminders')})))
|
||||
|
||||
(include "modules/home/rat.yuck")
|
||||
(include "modules/home/weather.yuck")
|
||||
(include "modules/home/shortcuts.yuck")
|
||||
(include "modules/home/notes.yuck")
|
||||
(include "modules/home/softwareupdates.yuck")
|
||||
(include "modules/home/reminders.yuck")
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
'scripts/home/notes')
|
||||
(defwidget notes [json]
|
||||
(box
|
||||
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
||||
:class "notes"
|
||||
:orientation "v"
|
||||
:halign "baseline"
|
||||
|
@ -15,6 +16,7 @@
|
|||
(label
|
||||
:xalign 0
|
||||
:wrap false
|
||||
:truncate true
|
||||
:text "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes/",'')}")
|
||||
(label
|
||||
:xalign 0.5
|
||||
|
|
42
de/home/.config/eww/modules/home/softwareupdates.yuck
Normal file
|
@ -0,0 +1,42 @@
|
|||
(defpoll software_list :interval "43200s"
|
||||
'software-release-monitor')
|
||||
(defwidget softwareupdates [json]
|
||||
(box
|
||||
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)}
|
||||
:class "notes"
|
||||
:orientation "v"
|
||||
:halign "baseline"
|
||||
:width 300
|
||||
:height 150
|
||||
:space-evenly true
|
||||
(for software in json
|
||||
(button :onclick "notify-send '${software.package_name} is ${(software.up_to_date == 'true' ) ? 'up to date!' : 'outdated!'}' 'upstream: ${software.upstream_version}\\npackage: ${software.package_version}'"
|
||||
(box
|
||||
:orientation "h"
|
||||
:space-evenly false
|
||||
(label
|
||||
;; :xalign 0
|
||||
:halign "start"
|
||||
:hexpand true
|
||||
:wrap false
|
||||
:truncate true
|
||||
:text "${software.package_name}")
|
||||
(box
|
||||
:orientation "v"
|
||||
:halign "end"
|
||||
(label
|
||||
:valign "end"
|
||||
:halign "end"
|
||||
:class "details"
|
||||
:text "${software.upstream_version} ")
|
||||
(label
|
||||
:valign "start"
|
||||
:halign "end"
|
||||
:class "details"
|
||||
:text "${software.package_version} "))
|
||||
(label
|
||||
:halign "end"
|
||||
:class "status"
|
||||
:style {(software.up_to_date == "true" ) ? "color: green;" : "color: red;"}
|
||||
:text {(software.up_to_date == "true" ) ? "" : ""}))))
|
||||
))
|
|
@ -1,8 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [[ "$(eww active-windows)" == *"home"* ]]; then
|
||||
img_dir="${HOME}/Pictures/Phone/Albums/Rattos/"
|
||||
img_list=$( find "${img_dir}" -iname '*.jpg' -or -iname '*.png' -or -iname '*.heic')
|
||||
img=$( shuf -n 1 <<< ${img_list} )
|
||||
mkdir -p "${HOME}/.cache/eww/"
|
||||
convert "${img}" -resize x300\> "${HOME}/.cache/eww/rat.jpg"
|
||||
echo "${HOME}/.cache/eww/rat.jpg"
|
||||
fi
|
||||
|
|
|
@ -172,10 +172,10 @@ SetEditor=false
|
|||
1920x1200 screen: Width=633
|
||||
2 screens: Height=467
|
||||
2 screens: Width=704
|
||||
2048x1280 screen: Height=487
|
||||
2048x1280 screen: Width=891
|
||||
3 screens: Height=669
|
||||
3 screens: Width=1695
|
||||
2048x1280 screen: Height=594
|
||||
2048x1280 screen: Width=2024
|
||||
3 screens: Height=782
|
||||
3 screens: Width=1154
|
||||
|
||||
[filetree]
|
||||
editShade=183,220,246
|
||||
|
|
|
@ -2,7 +2,17 @@
|
|||
update_info=filepicker.upd:filepicker-remove-old-previews-entry
|
||||
|
||||
[Colors:View]
|
||||
BackgroundNormal=94, 104, 109
|
||||
BackgroundNormal=215,175,175,0
|
||||
#BackgroundNormal=215,175,175,0
|
||||
#BackgroundNormal=94, 104, 109
|
||||
|
||||
#[ColorScheme]
|
||||
#active_colors=#ffffafaf, #ffffffff, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
#disabled_colors=#ff808080, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ff808080, #ffffffff, #ff808080, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #ff808080, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
#inactive_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
#active_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
#disabled_colors=#ff808080, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ff808080, #ffffffff, #ff808080, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #ff808080, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
#inactive_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
|
||||
[General]
|
||||
TerminalApplication=alacritty
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[Appearance]
|
||||
color_scheme_path=/usr/share/qt5ct/colors/darker.conf
|
||||
custom_palette=true
|
||||
color_scheme_path=/home/pogmommy/.config/qt5ct/colors/airy (copy).conf
|
||||
custom_palette=false
|
||||
icon_theme=breeze-dark
|
||||
standard_dialogs=default
|
||||
style=Fusion
|
||||
|
@ -24,11 +24,14 @@ toolbutton_style=4
|
|||
underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[PaletteEditor]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2v\0\0\x2\x10\0\0\0\0\0\0\0\0\0\0\x2v\0\0\x2\x10\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2v\0\0\x2\x10)
|
||||
|
||||
[QSSEditor]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2)
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x39\0\0\x4L\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x62\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x2\x39\0\0\x4L)
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x62\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x62\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2\x62)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
|
|
4
de/home/.config/qt6ct/colors/darker_pink.conf
Normal file
|
@ -0,0 +1,4 @@
|
|||
[ColorScheme]
|
||||
active_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
disabled_colors=#ff808080, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ff808080, #ffffffff, #ff808080, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #ff808080, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
||||
inactive_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
17
de/home/.config/qt6ct/qss/header-fix.qss
Normal file
|
@ -0,0 +1,17 @@
|
|||
QTabBar {
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
}
|
||||
QTabWidget::tab-bar {
|
||||
left: 20px;
|
||||
}
|
||||
QTabBar::tab {
|
||||
margin: 0px -5px -1px 10px;
|
||||
border: 1px solid #77ffffff;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
padding: 5px 20px 5px 10px;
|
||||
}
|
||||
QTabBar::close-button {
|
||||
padding-right: 10px;
|
||||
}
|
|
@ -1,5 +1,5 @@
|
|||
[Appearance]
|
||||
color_scheme_path=/usr/share/qt6ct/colors/darker.conf
|
||||
color_scheme_path=/home/pogmommy/.config/qt6ct/colors/darker_pink.conf
|
||||
custom_palette=true
|
||||
icon_theme=breeze-dark
|
||||
standard_dialogs=default
|
||||
|
@ -15,17 +15,23 @@ buttonbox_layout=0
|
|||
cursor_flash_time=1000
|
||||
dialog_buttons_have_icons=1
|
||||
double_click_interval=400
|
||||
gui_effects=@Invalid()
|
||||
gui_effects=FadeMenu, FadeTooltip
|
||||
keyboard_scheme=2
|
||||
menus_have_icons=true
|
||||
show_shortcuts_in_context_menus=true
|
||||
stylesheets=/usr/share/qt6ct/qss/fusion-fixes.qss
|
||||
stylesheets=/usr/share/qt6ct/qss/fusion-fixes.qss, /home/pogmommy/.config/qt6ct/qss/header-fix.qss
|
||||
toolbutton_style=4
|
||||
underline_shortcut=1
|
||||
wheel_scroll_lines=3
|
||||
|
||||
[PaletteEditor]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xa1\0\0\x2\xfa\0\0\0\0\0\0\0\0\0\0\x2\xa1\0\0\x2\xfa\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2\xa1\0\0\x2\xfa)
|
||||
|
||||
[QSSEditor]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2\x82\0\0\x1\xf2)
|
||||
|
||||
[SettingsWindow]
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2$\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2$\0\0\0\0\0\0\0\0\x5\xa0\0\0\0\0\0\0\0\0\0\0\x2\xde\0\0\x2$)
|
||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\bz\0\0\a\b\0\0\n\xfe\0\0\t\xa9\0\0\bz\0\0\a\b\0\0\n\xfe\0\0\t\xa9\0\0\0\x2\0\0\0\0\rp\0\0\bz\0\0\a\b\0\0\n\xfe\0\0\t\xa9)
|
||||
|
||||
[Troubleshooting]
|
||||
force_raster_widgets=1
|
||||
|
|
18
de/home/.config/software-release-monitor/config.json
Normal file
|
@ -0,0 +1,18 @@
|
|||
[
|
||||
{
|
||||
"packageName":"eww",
|
||||
"upstreamURL":"https://github.com/elkowar/eww"
|
||||
},
|
||||
{
|
||||
"packageName":"swayfx",
|
||||
"upstreamURL":"https://github.com/WillPower3309/swayfx"
|
||||
},
|
||||
{
|
||||
"packageName":"rssguard",
|
||||
"upstreamURL":"https://github.com/martinrotter/rssguard"
|
||||
},
|
||||
{
|
||||
"packageName":"makima",
|
||||
"upstreamURL":"https://github.com/cyber-sushi/makima/releases.atom"
|
||||
}
|
||||
]
|
34
de/home/.local/bin/software-release-monitor
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source ${HOME}/.secrets
|
||||
function get_package_info(){
|
||||
packages_array=()
|
||||
|
||||
while read i; do
|
||||
# echo "${i}"
|
||||
package_name=$(jq -r '.packageName' <<<"${i}")
|
||||
upstream_url=$(jq -r '.upstreamURL' <<<"${i}")
|
||||
package_version=$(apt-cache show "${package_name}" | grep Version | awk '{print $2}' | head -n1)
|
||||
# package_version=$(dpkg-query -W -f='${Version}' "${package_name}")
|
||||
upstream_version=$(lastversion "${upstream_url}")
|
||||
if [[ "${package_version}" == *"${upstream_version}"* ]]; then
|
||||
up_to_date='true'
|
||||
else
|
||||
up_to_date='false'
|
||||
fi
|
||||
package_json=$( jq -n --arg name "${package_name}" --arg pkgver "${package_version}" --arg upstreamver "${upstream_version}" --arg uptodate "${up_to_date}" '{package_name: $name, package_version: $pkgver, upstream_version: $upstreamver, up_to_date: $uptodate}' )
|
||||
packages_array+=("${package_json}")
|
||||
done < <(jq -c '.[]' "${HOME}/.config/software-release-monitor/config.json")
|
||||
packages_json=$(printf '%s\n' "${packages_array[@]}" | jq -s .)
|
||||
echo "${packages_json}"
|
||||
|
||||
#echo "${package_array_item}"
|
||||
#echo "${package_array[@]}"
|
||||
}
|
||||
|
||||
get_package_info
|
||||
|
||||
#printf '%s\n' "${package_array[@]}" | jq -s .
|
||||
|
||||
|
||||
#dpkg-query -W -f='${Version}' swayfx
|
|
@ -45,3 +45,6 @@
|
|||
.config/katerc
|
||||
.local/share/applications/SuperColliderIDE.desktop
|
||||
.local/bin/noise
|
||||
.local/bin/software-release-monitor
|
||||
.config/software-release-monitor/config.json
|
||||
.config/qt6ct
|
||||
|
|
|
@ -118,6 +118,9 @@ if [[ "$HOSTNAME" == pod* ]];then
|
|||
mkdir -p "${HOME}/.devpod/$(uname -m)"
|
||||
export CARGO_HOME="${HOME}/.devpod/$(uname -m)/.cargo"
|
||||
export RUSTUP_HOME="${HOME}/.devpod/$(uname -m)/.rustup"
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init - bash)"
|
||||
cd ${POD_PATH}
|
||||
fi
|
||||
|
||||
|
|