Compare commits
No commits in common. "ac4c2acb6d3234b5b74810bada24ec7f5a339029" and "8479ca3c57a6f0356c96edaf7faf49df8a9bdd33" have entirely different histories.
ac4c2acb6d
...
8479ca3c57
76 changed files with 166 additions and 257 deletions
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.7
|
opacity = 0.6
|
||||||
dynamic_title = true
|
dynamic_title = true
|
||||||
dynamic_padding = true
|
dynamic_padding = true
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,6 @@ NO_AT_BRIDGE=1
|
||||||
COIN_GL_NO_CURRENT_CONTEXT_CHECK=1
|
COIN_GL_NO_CURRENT_CONTEXT_CHECK=1
|
||||||
|
|
||||||
# QT theme
|
# QT theme
|
||||||
QT_QPA_PLATFORMTHEME="qt5"
|
|
||||||
SAL_USE_VCLPLUGIN="qt5"
|
SAL_USE_VCLPLUGIN="qt5"
|
||||||
QT_QPA_PLATFORMTHEME=qt5ct
|
QT_QPA_PLATFORMTHEME=qt6ct
|
||||||
GTK_THEME=Adwaita-dark
|
GTK_THEME=Adwaita-dark
|
||||||
|
|
|
@ -1,14 +1,15 @@
|
||||||
* {
|
* {
|
||||||
all: unset; // Unsets everything so you can style everything from scratch
|
all: unset; // Unsets everything so you can style everything from scratch
|
||||||
font-family: FontAwesome, Overpass;
|
/* font-family: FontAwesome, Overpass;*/
|
||||||
|
font-family: PogmomIcons, Overpass Nerd Font Propo;
|
||||||
}
|
}
|
||||||
|
|
||||||
@import "./style/colors.scss";
|
@import "./style/colors.scss";
|
||||||
|
|
||||||
$bar-module-width: 25px;
|
$bar-module-width: 25px;
|
||||||
$bar-bg-color: rgba($color0,0.8);
|
$bar-bg-color: rgba($color5,0.7);
|
||||||
$bar-module-bg-color: rgba($color5,0.15);
|
$bar-module-bg-color: rgba($color0,0.8);
|
||||||
$bar-module-fg-color: $color13;
|
$bar-module-fg-color: rgba($color5,0.8);
|
||||||
$bar-module-inactive-fg-color: rgba($color13,0.5);
|
$bar-module-inactive-fg-color: rgba($color13,0.5);
|
||||||
//$bar-active-bg-color: rgba($color1,0.5);
|
//$bar-active-bg-color: rgba($color1,0.5);
|
||||||
//$bar-active-fg-color: $color1;
|
//$bar-active-fg-color: $color1;
|
||||||
|
@ -57,10 +58,18 @@ $bar-module-border-radius: 8px;
|
||||||
margin: 5px 0px;
|
margin: 5px 0px;
|
||||||
background-color: $bar-module-bg-color;
|
background-color: $bar-module-bg-color;
|
||||||
min-width: $bar-module-width;
|
min-width: $bar-module-width;
|
||||||
> label {
|
label {
|
||||||
padding: 0px 10px;
|
padding: 0px 5px;
|
||||||
|
margin-right: -10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.workspace-number {
|
||||||
|
margin: 0px;
|
||||||
|
margin-left: -5px;
|
||||||
|
margin-top: -17px;
|
||||||
|
padding: 0px;
|
||||||
|
font-size: 0.6em;
|
||||||
|
}
|
||||||
|
|
||||||
//value bars
|
//value bars
|
||||||
scale trough,
|
scale trough,
|
||||||
|
@ -117,7 +126,10 @@ circular-progress {
|
||||||
border-radius: $bar-module-border-radius;
|
border-radius: $bar-module-border-radius;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
.music,
|
.music {
|
||||||
|
color: $bar-module-bg-color;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
.rightgroup>label,
|
.rightgroup>label,
|
||||||
.active_window{
|
.active_window{
|
||||||
color: $bar-module-fg-color;
|
color: $bar-module-fg-color;
|
||||||
|
@ -192,6 +204,9 @@ button.active {
|
||||||
.reveal_children>widget:only-child {
|
.reveal_children>widget:only-child {
|
||||||
border-radius:$bar-module-border-radius;
|
border-radius:$bar-module-border-radius;
|
||||||
}
|
}
|
||||||
|
.datetime {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
menu {
|
menu {
|
||||||
color: $color9;
|
color: $color9;
|
||||||
background-color: rgba($color0,0.75);
|
background-color: rgba($color0,0.75);
|
||||||
|
@ -294,6 +309,9 @@ $home-widget-border-color: rgba($color5,1);
|
||||||
border-radius: $home-button-circle-border-radius;
|
border-radius: $home-button-circle-border-radius;
|
||||||
margin: 5px;
|
margin: 5px;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
|
label {
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
button:hover {
|
button:hover {
|
||||||
background-color: $home-button-hover-bg-color;
|
background-color: $home-button-hover-bg-color;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
(defwidget clock []
|
(defwidget clock []
|
||||||
(label
|
(label
|
||||||
|
:class "datetime"
|
||||||
:text {formattime(EWW_TIME,"%b %d, %Y | %H:%M")}))
|
:text {formattime(EWW_TIME,"%b %d, %Y | %H:%M")}))
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
{nowplaying != "" ? "🎵${nowplaying}" : ""}))
|
{nowplaying != "" ? "🎵 ${nowplaying}" : ""}))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:revealvar reveal_sysdisk
|
:revealvar reveal_sysdisk
|
||||||
:revealvar-name "reveal_sysdisk"
|
:revealvar-name "reveal_sysdisk"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
:tooltip "home"
|
:tooltip "home"
|
||||||
:value {EWW_DISK["/home"].used_perc})
|
:value {EWW_DISK["/home"].used_perc})
|
||||||
(sysdisk_children)))
|
(sysdisk_children)))
|
||||||
|
@ -13,9 +13,9 @@
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:space-evenly false
|
:space-evenly false
|
||||||
:halign "center"
|
:halign "center"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
:tooltip "root"
|
:tooltip "root"
|
||||||
:value {EWW_DISK["/"].used_perc})
|
:value {EWW_DISK["/"].used_perc})
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
:tooltip "boot"
|
:tooltip "boot"
|
||||||
:value {EWW_DISK["/boot"].used_perc})))
|
:value {EWW_DISK["/boot"].used_perc})))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
(revealer-on-hover
|
(revealer-on-hover
|
||||||
:revealvar reveal_sysmem
|
:revealvar reveal_sysmem
|
||||||
:revealvar-name "reveal_sysmem"
|
:revealvar-name "reveal_sysmem"
|
||||||
(metric :label " "
|
(metric :label " "
|
||||||
:value {EWW_RAM.used_mem_perc})
|
:value {EWW_RAM.used_mem_perc})
|
||||||
(sysmem_children)))
|
(sysmem_children)))
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
:revealvar-name "reveal_volume"
|
:revealvar-name "reveal_volume"
|
||||||
(button :onclick 'pavucontrol-qt --tab 3'
|
(button :onclick 'pavucontrol-qt --tab 3'
|
||||||
:class {(volume == 0) ? "" : "active"}
|
:class {(volume == 0) ? "" : "active"}
|
||||||
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
{(volume == 0) ? "" : ((volume > 50) ? "" : "")})
|
||||||
(volume_children)))
|
(volume_children)))
|
||||||
|
|
||||||
(deflisten volume :initial "50"
|
(deflisten volume :initial "50"
|
||||||
|
@ -21,3 +21,4 @@
|
||||||
:value {volume}
|
:value {volume}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
:onchange "wpctl set-volume @DEFAULT_AUDIO_SINK@ {}%;paplay 'volume.ogg'")))
|
:onchange "wpctl set-volume @DEFAULT_AUDIO_SINK@ {}%;paplay 'volume.ogg'")))
|
||||||
|
|
||||||
|
|
|
@ -10,4 +10,8 @@
|
||||||
(for entry in array
|
(for entry in array
|
||||||
(button :onclick `swaymsg workspace "${entry.name}"`
|
(button :onclick `swaymsg workspace "${entry.name}"`
|
||||||
:class {entry.focused ? "focused" : ""}
|
:class {entry.focused ? "focused" : ""}
|
||||||
'${replace(entry.name,".*:","")}'))))
|
(box
|
||||||
|
'${replace(entry.name,".*:","")}'
|
||||||
|
(label
|
||||||
|
:class "workspace-number"
|
||||||
|
:text {jq(captures(entry.num, '[0-9]$'),'.[].[]','r')}))))))
|
||||||
|
|
|
@ -15,18 +15,16 @@
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
: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"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/personal/ceiling-light-multiple.svg"
|
:text ""))
|
||||||
))
|
|
||||||
(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'"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/personal/home-assistant.svg"
|
:text "")))
|
||||||
)))
|
|
||||||
(box
|
(box
|
||||||
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
@ -36,26 +34,23 @@
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'"
|
:onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/personal/nextcloud.svg"
|
:text ""))
|
||||||
))
|
|
||||||
(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'"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/personal/mastodon.svg"
|
:text ""))
|
||||||
))
|
|
||||||
(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'"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/personal/jellyfin.svg"
|
:text "")))
|
||||||
)))
|
|
||||||
(box
|
(box
|
||||||
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)}
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
@ -66,28 +61,25 @@
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "dolphin 'smb://server-hp-y2z63av'"
|
:onclick "dolphin 'smb://server-hp-y2z63av'"
|
||||||
:tooltip "smb://server-hp-y2z63av"
|
:tooltip "smb://server-hp-y2z63av"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/development/cloud.svg"
|
:text ""))
|
||||||
))
|
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "scripts/home/shortcuts/development/router-netgear-r8000"
|
:onclick "scripts/home/shortcuts/development/router-netgear-r8000"
|
||||||
:tooltip "router-netgear-r8000"
|
:tooltip "router-netgear-r8000"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/development/router-network.svg"
|
:text ""))
|
||||||
))
|
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "scripts/home/shortcuts/development/bridge-netgear-r6700"
|
:onclick "scripts/home/shortcuts/development/bridge-netgear-r6700"
|
||||||
:tooltip "bridge-netgear-r6700"
|
:tooltip "bridge-netgear-r6700"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/development/router-network-wireless.svg"
|
:text "")))
|
||||||
)))
|
|
||||||
(box
|
(box
|
||||||
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)}
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
@ -98,37 +90,33 @@
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "scripts/home/shortcuts/development/server-asus-n705fd-debian"
|
:onclick "scripts/home/shortcuts/development/server-asus-n705fd-debian"
|
||||||
:tooltip "server-asus-n705fd-debian"
|
:tooltip "server-asus-n705fd-debian"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/development/network-pos.svg"
|
:text ""))
|
||||||
))
|
;; (button
|
||||||
(button
|
;; :width 60
|
||||||
:width 60
|
;; :height 60
|
||||||
:height 60
|
;; :onclick "scripts/home/shortcuts/development/server-nintendo-rvl101"
|
||||||
:onclick "scripts/home/shortcuts/development/server-nintendo-rvl101"
|
;; :tooltip "server-nintendo-wii-rvl101"
|
||||||
:tooltip "server-nintendo-wii-rvl101"
|
;; (label
|
||||||
(image
|
;; :justify "center"
|
||||||
:image-width 20
|
;; :text ""))
|
||||||
:path "icons/home/shortcuts/development/nintendo-wii.svg"
|
|
||||||
))
|
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "scripts/home/shortcuts/development/server-hp-y2z63av"
|
:onclick "scripts/home/shortcuts/development/server-hp-y2z63av"
|
||||||
:tooltip "server-hp-y2z63av"
|
:tooltip "server-hp-y2z63av"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/development/play-network.svg"
|
:text ""))
|
||||||
))
|
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "scripts/home/shortcuts/development/server-dell-7050sff-debian"
|
:onclick "scripts/home/shortcuts/development/server-dell-7050sff-debian"
|
||||||
:tooltip "server-dell-7050sff-debian"
|
:tooltip "server-dell-7050sff-debian"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/development/folder-network.svg"
|
:text "")))
|
||||||
)))
|
|
||||||
(box
|
(box
|
||||||
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 39) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 30)}
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 39) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 30)}
|
||||||
:orientation "h"
|
:orientation "h"
|
||||||
|
@ -138,15 +126,14 @@
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "scripts/home/shortcuts/work/lanecc_links"
|
:onclick "scripts/home/shortcuts/work/lanecc_links"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/work/briefcase.svg"
|
:text ""))
|
||||||
))
|
|
||||||
(button
|
(button
|
||||||
:width 60
|
:width 60
|
||||||
:height 60
|
:height 60
|
||||||
:onclick "scripts/home/shortcuts/work/2nd_monitor"
|
:onclick "scripts/home/shortcuts/work/2nd_monitor"
|
||||||
(image
|
(label
|
||||||
:image-width 20
|
:justify "center"
|
||||||
:path "icons/home/shortcuts/work/monitor-multiple.svg"
|
:text ""
|
||||||
)))))
|
)))))
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
:height 125
|
:height 125
|
||||||
:space-evenly true
|
:space-evenly true
|
||||||
"${json.condition} ${json.icon}"
|
"${json.condition} ${json.icon}"
|
||||||
"${json.current_temp}°F / ${json.humidity}% "
|
"${json.current_temp}°F / ${json.humidity}% "
|
||||||
" ${json.max_temp}°F ${json.min_temp}°F"
|
" ${json.max_temp}°F ${json.min_temp}°F"
|
||||||
(label
|
(label
|
||||||
:class "weather-subtitle"
|
:class "weather-subtitle"
|
||||||
|
|
|
@ -11,7 +11,7 @@ function btstatus(){
|
||||||
device_icon="$(bluetoothctl info ${m} | grep 'Icon: ' | sed 's/.*Icon: //')"
|
device_icon="$(bluetoothctl info ${m} | grep 'Icon: ' | sed 's/.*Icon: //')"
|
||||||
case "${device_icon}" in
|
case "${device_icon}" in
|
||||||
"input-mouse")
|
"input-mouse")
|
||||||
device_icon="🖯"
|
device_icon=""
|
||||||
;;
|
;;
|
||||||
"phone")
|
"phone")
|
||||||
device_icon=""
|
device_icon=""
|
||||||
|
|
|
@ -19,25 +19,25 @@ update_cache_json(){
|
||||||
case "${condition_code}" in
|
case "${condition_code}" in
|
||||||
#https://openweathermap.org/weather-conditions#Weather-Condition-Codes-2
|
#https://openweathermap.org/weather-conditions#Weather-Condition-Codes-2
|
||||||
(2[0-9][0-9])
|
(2[0-9][0-9])
|
||||||
condition_icon=''
|
condition_icon=''
|
||||||
;;
|
;;
|
||||||
(3[0-9][0-9])
|
(3[0-9][0-9])
|
||||||
condition_icon=''
|
condition_icon=''
|
||||||
;;
|
;;
|
||||||
(5[0-9][0-9])
|
(5[0-9][0-9])
|
||||||
condition_icon=''
|
condition_icon=''
|
||||||
;;
|
;;
|
||||||
(6[0-9][0-9])
|
(6[0-9][0-9])
|
||||||
condition_icon=''
|
condition_icon=''
|
||||||
;;
|
;;
|
||||||
(7[0-9][0-9])
|
(7[0-9][0-9])
|
||||||
condition_icon='▒'
|
condition_icon=''
|
||||||
;;
|
;;
|
||||||
800)
|
800)
|
||||||
condition_icon=''
|
condition_icon=''
|
||||||
;;
|
;;
|
||||||
(80[0-9])
|
(80[0-9])
|
||||||
condition_icon=''
|
condition_icon=''
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
wttr_cache="${HOME}/.cache/wttr.json"
|
|
||||||
|
|
||||||
if [[ ! $(find "${wttr_cache}" -cmin -60 -print 2>/dev/null) ]]; then
|
|
||||||
if ! ping -w 15 -c 1 wttr.in;then
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
wttr_json=$(curl --silent wttr.in/Eugene?format=j1)
|
|
||||||
if [ "" != "${wttr_json}" ]; then
|
|
||||||
echo "${wttr_json}" | tee "${wttr_cache}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
condition="$(jq -r '.current_condition[0].weatherDesc[0].value' ${wttr_cache})"
|
|
||||||
condition_code="$(jq -r '.current_condition[0].weatherCode' ${wttr_cache})"
|
|
||||||
current_temp="$(jq -r '.current_condition[0].temp_F' ${wttr_cache})"
|
|
||||||
feels_temp="$(jq -r '.current_condition[0].FeelsLikeF' ${wttr_cache})"
|
|
||||||
min_temp="$(jq -r '.weather[0].mintempF' ${wttr_cache})"
|
|
||||||
max_temp="$(jq -r '.weather[0].maxtempF' ${wttr_cache})"
|
|
||||||
humidity="$(jq -r '.current_condition[0].humidity' ${wttr_cache})"
|
|
||||||
updated="$(date -r ${wttr_cache} '+%Y-%m-%d, %H:%M')"
|
|
||||||
|
|
||||||
case "${condition_code}" in
|
|
||||||
113)
|
|
||||||
""
|
|
||||||
;;
|
|
||||||
116|119|122|143)
|
|
||||||
condition_icon=""
|
|
||||||
;;
|
|
||||||
179|227|230)
|
|
||||||
condition_icon=""
|
|
||||||
;;
|
|
||||||
248|260)
|
|
||||||
condition_icon="▒"
|
|
||||||
;;
|
|
||||||
176|182|185|200|263|266|281|284|293|296|299|302|305|308|311)
|
|
||||||
condition_icon=""
|
|
||||||
;;
|
|
||||||
386)
|
|
||||||
condition_icon=""
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
jq -n --arg condition "${condition}" --arg current_temp "${current_temp}" --arg feels_temp "${feels_temp}" --arg min_temp "${min_temp}" --arg max_temp "${max_temp}" --arg humidity "${humidity}" --arg icon "${condition_icon}" --arg updated "${updated}" '{condition: $condition,current_temp: $current_temp,feels_temp: $feels_temp,min_temp: $min_temp,max_temp: $max_temp,humidity: $humidity,icon: $icon,updated: $updated}'
|
|
|
@ -1,49 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
wttr_cache="${HOME}/.cache/wttr.json"
|
|
||||||
#jq -r '.current_condition[0].weatherCode' ${wttr_cache}
|
|
||||||
jq -r '.current_condition[0].weatherCode' ${wttr_cache}
|
|
||||||
condition_code="$(jq -r '.current_condition[0].weatherCode' ${wttr_cache})"
|
|
||||||
|
|
||||||
case "${condition_code}" in
|
|
||||||
113)
|
|
||||||
#Sunny
|
|
||||||
echo ""
|
|
||||||
;;
|
|
||||||
116|119|122|143)
|
|
||||||
#Partly cloudy
|
|
||||||
#Cloudy
|
|
||||||
#Overcast
|
|
||||||
#Mist
|
|
||||||
echo ""
|
|
||||||
;;
|
|
||||||
179|227|230)
|
|
||||||
#Patchy snow possible
|
|
||||||
#Blowing snow
|
|
||||||
#Blizzard
|
|
||||||
echo ""
|
|
||||||
;;
|
|
||||||
248|260)
|
|
||||||
#Fog
|
|
||||||
#Freezing fog
|
|
||||||
echo "▒"
|
|
||||||
;;
|
|
||||||
176|182|185|200|263|266|281|284|293|296|299|302|305|308|311)
|
|
||||||
#Patchy rain possible
|
|
||||||
#Patchy sleet possible
|
|
||||||
#Patchy freezing drizzle possible
|
|
||||||
#Thundery outbreaks possible
|
|
||||||
#Patchy light drizzle
|
|
||||||
#Light drizzle
|
|
||||||
#Freezing drizzle
|
|
||||||
#Heavy freezing drizzle
|
|
||||||
#Patchy light rain
|
|
||||||
#Light rain
|
|
||||||
#Moderate rain at times
|
|
||||||
#Moderate rain
|
|
||||||
#Heavy rain at times
|
|
||||||
#Heavy rain
|
|
||||||
#Light freezing rain
|
|
||||||
echo ""
|
|
||||||
;;
|
|
||||||
esac
|
|
|
@ -1,7 +1,7 @@
|
||||||
[Settings]
|
[Settings]
|
||||||
gtk-theme-name=Adwaita-dark
|
gtk-theme-name=Adwaita
|
||||||
gtk-icon-theme-name=Adwaita
|
gtk-icon-theme-name=breeze-dark
|
||||||
gtk-font-name=Cantarell 11
|
gtk-font-name=Overpass Nerd Font Propo 10
|
||||||
gtk-cursor-theme-name=Adwaita
|
gtk-cursor-theme-name=Adwaita
|
||||||
gtk-cursor-theme-size=24
|
gtk-cursor-theme-size=24
|
||||||
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
gtk-toolbar-style=GTK_TOOLBAR_ICONS
|
||||||
|
@ -14,4 +14,4 @@ gtk-xft-antialias=1
|
||||||
gtk-xft-hinting=1
|
gtk-xft-hinting=1
|
||||||
gtk-xft-hintstyle=hintslight
|
gtk-xft-hintstyle=hintslight
|
||||||
gtk-xft-rgba=rgb
|
gtk-xft-rgba=rgb
|
||||||
gtk-application-prefer-dark-theme=0
|
gtk-application-prefer-dark-theme=1
|
||||||
|
|
|
@ -45,11 +45,6 @@ entry.text {
|
||||||
color: rgba(250, 250, 250, 1);
|
color: rgba(250, 250, 250, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*button {
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid #000000;
|
|
||||||
border-radius: 30px;
|
|
||||||
}*/
|
|
||||||
button {
|
button {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
|
|
|
@ -86,7 +86,7 @@ Fallback Encoding=ISO 8859-15
|
||||||
[KTextEditor Renderer]
|
[KTextEditor Renderer]
|
||||||
Animate Bracket Matching=false
|
Animate Bracket Matching=false
|
||||||
Auto Color Theme Selection=true
|
Auto Color Theme Selection=true
|
||||||
Color Theme=Breeze Dark
|
Color Theme=Breeze Light
|
||||||
Font=monospace,9,-1,2,50,0,0,0,0,0
|
Font=monospace,9,-1,2,50,0,0,0,0,0
|
||||||
Line Height Multiplier=1.3
|
Line Height Multiplier=1.3
|
||||||
Show Indentation Lines=false
|
Show Indentation Lines=false
|
||||||
|
@ -172,10 +172,10 @@ SetEditor=false
|
||||||
1920x1200 screen: Width=633
|
1920x1200 screen: Width=633
|
||||||
2 screens: Height=467
|
2 screens: Height=467
|
||||||
2 screens: Width=704
|
2 screens: Width=704
|
||||||
2048x1280 screen: Height=1202
|
2048x1280 screen: Height=885
|
||||||
2048x1280 screen: Width=433
|
2048x1280 screen: Width=596
|
||||||
3 screens: Height=1166
|
3 screens: Height=1364
|
||||||
3 screens: Width=626
|
3 screens: Width=3106
|
||||||
|
|
||||||
[filetree]
|
[filetree]
|
||||||
editShade=183,220,246
|
editShade=183,220,246
|
||||||
|
|
|
@ -3,16 +3,6 @@ update_info=filepicker.upd:filepicker-remove-old-previews-entry
|
||||||
|
|
||||||
[Colors:View]
|
[Colors:View]
|
||||||
BackgroundNormal=215,175,175,0
|
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]
|
[General]
|
||||||
TerminalApplication=alacritty
|
TerminalApplication=alacritty
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
[Appearance]
|
|
||||||
color_scheme_path=/home/pogmommy/.config/qt5ct/colors/airy (copy).conf
|
|
||||||
custom_palette=false
|
|
||||||
icon_theme=breeze-dark
|
|
||||||
standard_dialogs=default
|
|
||||||
style=Fusion
|
|
||||||
|
|
||||||
[Fonts]
|
|
||||||
fixed="Overpass,10,-1,5,50,0,0,0,0,0,Regular"
|
|
||||||
general="Overpass,10,-1,5,50,0,0,0,0,0,Regular"
|
|
||||||
|
|
||||||
[Interface]
|
|
||||||
activate_item_on_single_click=0
|
|
||||||
buttonbox_layout=0
|
|
||||||
cursor_flash_time=1000
|
|
||||||
dialog_buttons_have_icons=1
|
|
||||||
double_click_interval=400
|
|
||||||
gui_effects=@Invalid()
|
|
||||||
keyboard_scheme=2
|
|
||||||
menus_have_icons=true
|
|
||||||
show_shortcuts_in_context_menus=true
|
|
||||||
stylesheets=/usr/share/qt5ct/qss/fusion-fixes.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\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\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
|
|
||||||
ignored_applications=@Invalid()
|
|
1
de/home/.config/qt5ct/qt5ct.conf
Symbolic link
1
de/home/.config/qt5ct/qt5ct.conf
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../qt6ct/qt6ct.conf
|
|
@ -1,4 +1,4 @@
|
||||||
[ColorScheme]
|
[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
|
active_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffe4e4e4, #ffe4e4e4, #ffe4e4e4, #003d3d3d, #64111317, #ffe7e4e0, #96d7afaf, #ff111317, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #e1d7afaf
|
||||||
disabled_colors=#ff808080, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ff808080, #ffffffff, #ff808080, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #ff808080, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
disabled_colors=#ff808080, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ff808080, #ffe4e4e4, #ff808080, #003d3d3d, #64111317, #ffe7e4e0, #96d7afaf, #ff808080, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #e1d7afaf
|
||||||
inactive_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffd0d0d0, #ffffffff, #ffffffff, #003d3d3d, #b3111317, #ffe7e4e0, #ffd7afaf, #fff9f9f9, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #ffd7afaf
|
inactive_colors=#ffffafaf, #00424245, #00979797, #005e5c5b, #00302f2e, #004a4947, #ffe4e4e4, #ffe4e4e4, #ffe4e4e4, #003d3d3d, #64111317, #ffe7e4e0, #96d7afaf, #ff111317, #ffd7afaf, #ffa70b06, #19576176, #ffffffff, #ff3f3f36, #ffffffff, #80ffffff, #e1d7afaf
|
||||||
|
|
|
@ -2,12 +2,21 @@ QTabBar {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
/*QTabWidget::tab-bar {
|
||||||
|
margin-left: 80%;
|
||||||
|
left: 50%;
|
||||||
|
}*/
|
||||||
QTabBar::tab {
|
QTabBar::tab {
|
||||||
margin-bottom: 5px;
|
/* margin: 0px 0px 5px 0px;
|
||||||
|
margin-bottom: 5px;*/
|
||||||
border: 1px solid #77d68787;
|
border: 1px solid #77d68787;
|
||||||
padding: 5px 10px;
|
/* border-top-left-radius: 4px;
|
||||||
|
border-top-right-radius: 4px;*/
|
||||||
|
padding-left: 10px;
|
||||||
|
padding-right: 10px;
|
||||||
}
|
}
|
||||||
QTabBar::tab:first {
|
QTabBar::tab:first {
|
||||||
|
/* margin-left: 20px;*/
|
||||||
border-top-left-radius: 4px;
|
border-top-left-radius: 4px;
|
||||||
border-bottom-left-radius: 4px;
|
border-bottom-left-radius: 4px;
|
||||||
}
|
}
|
||||||
|
@ -19,7 +28,9 @@ QTabBar::tab:only-one {
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
QTabBar::close-button {
|
QTabBar::close-button {
|
||||||
|
/* padding-right: 10px;*/
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
|
opacity: 0;
|
||||||
}
|
}
|
||||||
QTabBar::tab:selected, QTabBar::tab:hover {
|
QTabBar::tab:selected, QTabBar::tab:hover {
|
||||||
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
[Appearance]
|
[Appearance]
|
||||||
color_scheme_path=/home/penelope/.config/qt6ct/colors/darker_pink.conf
|
color_scheme_path=/home/pogmommy/.config/qt6ct/colors/darker_pink.conf
|
||||||
custom_palette=true
|
custom_palette=true
|
||||||
icon_theme=breeze-dark
|
icon_theme=breeze-dark
|
||||||
standard_dialogs=default
|
standard_dialogs=default
|
||||||
|
@ -19,19 +19,19 @@ gui_effects=@Invalid()
|
||||||
keyboard_scheme=2
|
keyboard_scheme=2
|
||||||
menus_have_icons=true
|
menus_have_icons=true
|
||||||
show_shortcuts_in_context_menus=true
|
show_shortcuts_in_context_menus=true
|
||||||
stylesheets=/home/penelope/.config/qt6ct/qss/header-fix.qss, /usr/share/qt6ct/qss/fusion-fixes.qss
|
stylesheets=/home/pogmommy/.config/qt6ct/qss/header-fix.qss, /usr/share/qt6ct/qss/fusion-fixes.qss
|
||||||
toolbutton_style=4
|
toolbutton_style=4
|
||||||
underline_shortcut=1
|
underline_shortcut=1
|
||||||
wheel_scroll_lines=3
|
wheel_scroll_lines=3
|
||||||
|
|
||||||
[PaletteEditor]
|
[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\a\x80\0\0\0\0\0\0\0\0\0\0\x2\xa1\0\0\x2\xfa)
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\bz\0\0\a\b\0\0\v\x1b\0\0\n\x2\0\0\bz\0\0\a\b\0\0\v\x1b\0\0\n\x2\0\0\0\x2\0\0\0\0\rp\0\0\bz\0\0\a\b\0\0\v\x1b\0\0\n\x2)
|
||||||
|
|
||||||
[QSSEditor]
|
[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)
|
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]
|
[SettingsWindow]
|
||||||
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\ag\0\0\x2)\0\0\0\0\0\0\0\0\0\0\ag\0\0\x2)\0\0\0\0\0\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\ag\0\0\x2))
|
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x2\xeb\0\0\x2\x8c\0\0\0\0\0\0\0\0\0\0\x2\xeb\0\0\x2\x8c\0\0\0\0\0\0\0\0\bp\0\0\0\0\0\0\0\0\0\0\x2\xeb\0\0\x2\x8c)
|
||||||
|
|
||||||
[Troubleshooting]
|
[Troubleshooting]
|
||||||
force_raster_widgets=1
|
force_raster_widgets=1
|
||||||
|
|
|
@ -4,9 +4,10 @@ bindsym {
|
||||||
#move to scratchpad
|
#move to scratchpad
|
||||||
$mod+Shift+minus move scratchpad
|
$mod+Shift+minus move scratchpad
|
||||||
#cycle scratchpad
|
#cycle scratchpad
|
||||||
$mod+minus scratchpad show
|
# $mod+minus scratchpad show, resize set 50ppt 50ppt
|
||||||
|
$mod+minus exec '$HOME/.config/sway/scripts/scratchpad_cycle.sh'
|
||||||
#scratchpad menu
|
#scratchpad menu
|
||||||
# $mod+equal exec '$HOME/.config/sway/scripts/scratchpadmenu.sh'
|
# $mod+equal exec '$HOME/.config/sway/scripts/scratchpadmenu.sh'
|
||||||
#sticky
|
#sticky
|
||||||
# $mod+Shift+equal floating enable, sticky enable
|
$mod+Shift+equal floating enable, sticky enable
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,7 +25,8 @@ bindsym {
|
||||||
#focus parent
|
#focus parent
|
||||||
$mod+a focus parent
|
$mod+a focus parent
|
||||||
#toggle floating
|
#toggle floating
|
||||||
$mod+Shift+space floating toggle
|
# $mod+Shift+space floating toggle
|
||||||
|
$mod+Shift+space exec '$HOME/.config/sway/scripts/floating_toggle.sh'
|
||||||
#swap between tiles and floats
|
#swap between tiles and floats
|
||||||
$mod+space focus mode_toggle
|
$mod+space focus mode_toggle
|
||||||
#enter resize mode
|
#enter resize mode
|
||||||
|
|
|
@ -4,10 +4,10 @@ include $HOME/.config/sway/config.d/window_rules.d/*
|
||||||
set {
|
set {
|
||||||
#window behavior
|
#window behavior
|
||||||
$ii inhibit_idle focus
|
$ii inhibit_idle focus
|
||||||
$popup floating enable, shadows enable, border pixel 1, sticky enable
|
$popup floating enable, shadows enable, border pixel 1, sticky enable, resize set 25ppt 25ppt
|
||||||
$float floating enable, shadows enable
|
$float floating enable, shadows enable, resize set 50ppt 50ppt
|
||||||
$game inhibit_idle focus, floating enable, border none, fullscreen enable, shadows disable
|
$game inhibit_idle focus, floating enable, border none, fullscreen enable, shadows disable
|
||||||
$scratch move scratchpad, floating enable, scratchpad hide
|
$scratch move scratchpad, floating enable, resize set 50ppt 50ppt, scratchpad hide
|
||||||
#workspace assignments
|
#workspace assignments
|
||||||
$home_ws workspace 0:
|
$home_ws workspace 0:
|
||||||
$personal_ws workspace 1:$profile_icon
|
$personal_ws workspace 1:$profile_icon
|
||||||
|
|
14
de/home/.config/sway/scripts/floating_toggle.sh
Executable file
14
de/home/.config/sway/scripts/floating_toggle.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
swaymsg floating toggle
|
||||||
|
active_window_scratchstate="$(swaymsg -t get_tree | jq -r '.. | select(.type?) | select(.focused==true).type')"
|
||||||
|
if [[ "${active_window_type}" == "floating_con" ]];then
|
||||||
|
active_screen_dim="$(swaymsg -t get_outputs | jq -r '.. | select(.type?) | select(.focused==true).rect')"
|
||||||
|
active_screen_width="$(jq '.width' <<<${active_screen_dim})"
|
||||||
|
active_screen_height="$(jq '.height' <<<${active_screen_dim})"
|
||||||
|
if [[ "${active_screen_width}" -gt "${active_screen_height}" ]];then
|
||||||
|
swaymsg resize set 50ppt 50ppt
|
||||||
|
else
|
||||||
|
swaymsg resize set 75ppt 25ppt
|
||||||
|
fi
|
||||||
|
fi
|
14
de/home/.config/sway/scripts/scratchpad_cycle.sh
Executable file
14
de/home/.config/sway/scripts/scratchpad_cycle.sh
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
swaymsg scratchpad show
|
||||||
|
active_window_scratchstate="$(swaymsg -t get_tree | jq -r '.. | select(.type?) | select(.focused==true).scratchpad_state')"
|
||||||
|
if [[ "${active_window_scratchstate}" != "none" ]];then
|
||||||
|
active_screen_dim="$(swaymsg -t get_outputs | jq -r '.. | select(.type?) | select(.focused==true).rect')"
|
||||||
|
active_screen_width="$(jq '.width' <<<${active_screen_dim})"
|
||||||
|
active_screen_height="$(jq '.height' <<<${active_screen_dim})"
|
||||||
|
if [[ "${active_screen_width}" -gt "${active_screen_height}" ]];then
|
||||||
|
swaymsg resize set 50ppt 50ppt
|
||||||
|
else
|
||||||
|
swaymsg resize set 75ppt 25ppt
|
||||||
|
fi
|
||||||
|
fi
|
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassMNerdFont-Bold.otf
Normal file
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassMNerdFont-Bold.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Bold.otf
Normal file
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Bold.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Heavy.otf
Normal file
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Heavy.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Light.otf
Normal file
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Light.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Thin.otf
Normal file
BIN
de/home/.fonts/OverpassNerdFont_3.4.0/OverpassNerdFont-Thin.otf
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
de/home/.fonts/PogmomIcons.otf
Normal file
BIN
de/home/.fonts/PogmomIcons.otf
Normal file
Binary file not shown.
BIN
de/home/.fonts/SymbolsNerdFont_3.4.0/SymbolsNerdFont-Regular.ttf
Normal file
BIN
de/home/.fonts/SymbolsNerdFont_3.4.0/SymbolsNerdFont-Regular.ttf
Normal file
Binary file not shown.
Binary file not shown.
|
@ -40,6 +40,7 @@ sort_filesizes-monitor() {
|
||||||
alias adb_root="adb shell -t exec run-as com.termux files/usr/bin/bash -c 'su -'"
|
alias adb_root="adb shell -t exec run-as com.termux files/usr/bin/bash -c 'su -'"
|
||||||
#df -h without tmpfs
|
#df -h without tmpfs
|
||||||
alias dfh="df -h | grep 'Use%\|/dev/'"
|
alias dfh="df -h | grep 'Use%\|/dev/'"
|
||||||
|
alias dfh-monitor="watch 'df -h | grep \"Use%\|/dev/\"'"
|
||||||
#dev environment toolbox with proper term env var
|
#dev environment toolbox with proper term env var
|
||||||
devpod(){
|
devpod(){
|
||||||
podman container start debian-sid-dev
|
podman container start debian-sid-dev
|
||||||
|
@ -118,10 +119,13 @@ if [[ "$HOSTNAME" == pod* ]];then
|
||||||
mkdir -p "${HOME}/.devpod/$(uname -m)"
|
mkdir -p "${HOME}/.devpod/$(uname -m)"
|
||||||
export CARGO_HOME="${HOME}/.devpod/$(uname -m)/.cargo"
|
export CARGO_HOME="${HOME}/.devpod/$(uname -m)/.cargo"
|
||||||
export RUSTUP_HOME="${HOME}/.devpod/$(uname -m)/.rustup"
|
export RUSTUP_HOME="${HOME}/.devpod/$(uname -m)/.rustup"
|
||||||
|
cd ${POD_PATH}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if which pyenv>/dev/null;then
|
||||||
export PYENV_ROOT="$HOME/.pyenv"
|
export PYENV_ROOT="$HOME/.pyenv"
|
||||||
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
|
||||||
eval "$(pyenv init - bash)"
|
eval "$(pyenv init - bash)"
|
||||||
cd ${POD_PATH}
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export prompt_prefix=`awk '{$1=$1};1' <<< "${prompt_prefix}"`
|
export prompt_prefix=`awk '{$1=$1};1' <<< "${prompt_prefix}"`
|
||||||
|
|
Loading…
Add table
Reference in a new issue