diff --git a/etc/installrc.sh b/etc/installrc.sh index 411fa07..400667a 100755 --- a/etc/installrc.sh +++ b/etc/installrc.sh @@ -1,7 +1,7 @@ #!/bin/bash #Создан: Пт 23 авг 2013 19:57:29 -#Изменён: Пн 26 фев 2018 17:07:29 +#Изменён: Чт 05 авг 2021 17:11:33 # # (c) 2013, Maxim Lihachev, @@ -66,7 +66,7 @@ check() { backup() { report Сохранение $(basename $filename) $yellow - date=$(\date "+%Y.%m.%e_%H.%M") + date=$(\date "+%Y.%m.%d_%H.%M") \mv "$link"{,.$date} && \ echo -e "${green}Резервная копия: $link.$date ${rstc}" } diff --git a/etc/rc.linux-gnu b/etc/rc.linux-gnu index 91697ed..5dafa58 100644 --- a/etc/rc.linux-gnu +++ b/etc/rc.linux-gnu @@ -63,6 +63,8 @@ mkdir -p ~/.config/dunst + soft/dfc ~/.config + soft/polybar ~/.config + soft/procps ~/.config ++ soft/k9s/config.$(uname -i).yml ~/.k9s ++ soft/k9s/skin.$(uname -i).yml ~/.k9s + soft/htop ~/.config - soft/mc ~/.config - soft/vim ~/.config diff --git a/etc/soft/k9s/config.GenuineIntel.yml b/etc/soft/k9s/config.GenuineIntel.yml new file mode 100644 index 0000000..2e3cc3d --- /dev/null +++ b/etc/soft/k9s/config.GenuineIntel.yml @@ -0,0 +1,44 @@ +k9s: + refreshRate: 2 + maxConnRetry: 5 + enableMouse: false + headless: false + logoless: false + crumbsless: false + readOnly: false + noIcons: true + logger: + tail: 100 + buffer: 5000 + sinceSeconds: 60 + fullScreenLogs: false + textWrap: false + showTime: false + currentContext: azure-iaas-k8s + currentCluster: azure-iaas-k8s + clusters: + azure-iaas-k8s: + namespace: + active: "" + favorites: + - default + view: + active: pod + featureGates: + nodeShell: false + shellPod: + image: busybox:1.31 + command: [] + args: [] + namespace: default + limits: + cpu: 100m + memory: 100Mi + portForwardAddress: localhost + thresholds: + cpu: + critical: 90 + warn: 70 + memory: + critical: 90 + warn: 70 diff --git a/etc/soft/k9s/config.MacBookAir8,2.yml b/etc/soft/k9s/config.MacBookAir8,2.yml new file mode 100644 index 0000000..204740d --- /dev/null +++ b/etc/soft/k9s/config.MacBookAir8,2.yml @@ -0,0 +1,44 @@ +k9s: + refreshRate: 2 + maxConnRetry: 5 + enableMouse: false + headless: false + logoless: false + crumbsless: false + readOnly: false + noIcons: false + logger: + tail: 100 + buffer: 5000 + sinceSeconds: 60 + fullScreenLogs: false + textWrap: false + showTime: false + currentContext: azure-iaas-k8s + currentCluster: azure-iaas-k8s + clusters: + azure-iaas-k8s: + namespace: + active: "" + favorites: + - default + view: + active: pod + featureGates: + nodeShell: false + shellPod: + image: busybox:1.31 + command: [] + args: [] + namespace: default + limits: + cpu: 100m + memory: 100Mi + portForwardAddress: localhost + thresholds: + cpu: + critical: 90 + warn: 70 + memory: + critical: 90 + warn: 70 diff --git a/etc/soft/k9s/skin.GenuineIntel.yml b/etc/soft/k9s/skin.GenuineIntel.yml new file mode 100644 index 0000000..67c3f7e --- /dev/null +++ b/etc/soft/k9s/skin.GenuineIntel.yml @@ -0,0 +1,97 @@ +# OneDark presets +foreground: &foreground "#abb2bf" +background: &background "#282c34" +black: &black "#080808" +blue: &blue "#61afef" +green: &green "#98c379" +grey: &grey "#abb2bf" +orange: &orange "#ffb86c" +purple: &purple "#c678dd" +red: &red "#e06370" +yellow: &yellow "#e5c07b" +yellow_bright: &yellow_bright "#d19a66" + +k9s: + body: + fgColor: *foreground + bgColor: *background + logoColor: *green + info: + fgColor: *grey + sectionColor: *green + dialog: + fgColor: *black + bgColor: *background + buttonFgColor: *foreground + buttonBgColor: *green + buttonFocusFgColor: *black + buttonFocusBgColor: *blue + labelFgColor: *orange + fieldFgColor: *blue + frame: + border: + fgColor: *green + focusColor: *green + menu: + fgColor: *grey + keyColor: *yellow + numKeyColor: *yellow + crumbs: + fgColor: *black + bgColor: *green + activeColor: *yellow + status: + newColor: *blue + modifyColor: *green + addColor: *grey + pendingColor: *orange + errorColor: *red + highlightcolor: *yellow + killColor: *purple + completedColor: *grey + title: + fgColor: *blue + bgColor: *background + highlightColor: *purple + counterColor: *foreground + filterColor: *blue + views: + charts: + bgColor: *background + defaultDialColors: + - *green + - *red + defaultChartColors: + - *green + - *red + table: + fgColor: *yellow + bgColor: *background + cursorFgColor: *black + cursorBgColor: *blue + markColor: *yellow_bright + header: + fgColor: *grey + bgColor: *background + sorterColor: *orange + xray: + fgColor: *blue + bgColor: *background + cursorColor: *foreground + graphicColor: *yellow_bright + showIcons: false + yaml: + keyColor: *red + colonColor: *grey + valueColor: *grey + logs: + fgColor: *grey + bgColor: *background + indicator: + fgColor: *blue + bgColor: *background + help: + fgColor: *grey + bgColor: *background + indicator: + fgColor: *blue