correction

This commit is contained in:
2026-09-14 21:06:52 +06:00
parent 809f48ee17
commit 8b7027608b
8 changed files with 94 additions and 51 deletions
-2
View File
@@ -4,8 +4,6 @@ in opensuse installer choose >> generic desktop
sudo zypper install labwc git sudo zypper install labwc git
sudo systemctl set-default multi-user.target
git clone https://zenithcode.duckdns.org/s13bby/labwc-opensuse.git git clone https://zenithcode.duckdns.org/s13bby/labwc-opensuse.git
bash ~/labwc-opensuse/install.sh bash ~/labwc-opensuse/install.sh
+10
View File
@@ -1,3 +1,13 @@
[font]
normal = { family = "JetBrainsMono Nerd Font", style = "Regular" }
bold = { family = "JetBrainsMono Nerd Font", style = "Bold" }
italic = { family = "JetBrainsMono Nerd Font", style = "Italic" }
bold_italic = { family = "JetBrainsMono Nerd Font", style = "Bold Italic" }
[window.padding]
x = 12 # Отступ слева и справа в пикселях
y = 12 # Отступ сверху и снизу в пикселях
# Default Colors # Default Colors
[colors.primary] [colors.primary]
background = "#0b0b0b" background = "#0b0b0b"
+2
View File
@@ -1,3 +1,5 @@
setxkbmap -layout us,ru -option grp:ctrl_space_toggle &
# базовые сервисы # базовые сервисы
waybar & waybar &
mako & mako &
+17 -3
View File
@@ -37,7 +37,7 @@
<separator /> <separator />
<item label="spotify"> <item label="spotify">
<action name="Execute" command="spotify"/> <action name="Execute" command="spotify-launcher"/>
</item> </item>
<separator /> <separator />
@@ -45,8 +45,22 @@
<item label="sublime"> <item label="sublime">
<action name="Execute" command="subl"/> <action name="Execute" command="subl"/>
</item> </item>
</menu>
<separator />
<menu id="backgrounds" label="backgrounds">
<item label="fuji light">
<action name="Execute" command="sh -c &quot;swaybg -m fill -i \$HOME/backgrounds/fuji_light.jpg&quot;"/>
</item>
<separator />
<item label="fuji dark">
<action name="Execute" command="sh -c &quot;swaybg -m fill -i \$HOME/backgrounds/fuji_dark.jpg&quot;"/>
</item>
</menu> </menu>
@@ -75,7 +89,7 @@
<action name="If"> <action name="If">
<prompt message="Do you really want to reboot your system?" /> <prompt message="Do you really want to reboot your system?" />
<then> <then>
<action name="Execute" command="reboot"/> <action name="Execute" command="systemctl reboot"/>
</then> </then>
</action> </action>
</item> </item>
@@ -86,7 +100,7 @@
<action name="If"> <action name="If">
<prompt message="Do you really want to poweroff your system?" /> <prompt message="Do you really want to poweroff your system?" />
<then> <then>
<action name="Execute" command="poweroff"/> <action name="Execute" command="systemctl poweroff"/>
</then> </then>
</action> </action>
</item> </item>
+7 -1
View File
@@ -22,6 +22,12 @@
</theme> </theme>
<windowSwitcher style="thumbnail" preview="yes" outlines="yes" /> <windowSwitcher style="thumbnail" preview="yes" outlines="yes" />
</core> </core>
<libinput>
<device>
<!-- включает/отключает «естественную» прокрутку (Natural Scrolling) -->
<naturalScroll>yes</naturalScroll>
</device>
</libinput>
<!-- настройка биндов --> <!-- настройка биндов -->
@@ -162,7 +168,7 @@
<!-- сделать скриншот области(скриншот не сохраняется на диск) --> <!-- сделать скриншот области(скриншот не сохраняется на диск) -->
<keybind key="W-S-s"> <!-- Shift+Win+S --> <keybind key="W-S-s"> <!-- Shift+Win+S -->
<action name="Execute"> <action name="Execute">
<command>sh -c 'grim -g "$(slurp)" - | wl-copy'</command> <command>grimshot copy area</command>
</action> </action>
</keybind> </keybind>
+39 -25
View File
@@ -5,7 +5,7 @@
"spacing": 0, "spacing": 0,
"modules-left": ["wlr/taskbar"], "modules-left": ["wlr/taskbar"],
"modules-center": ["clock"], "modules-center": ["clock"],
"modules-right": ["network", "bluetooth", "custom/spotify", "custom/language", "pulseaudio", "cpu", "memory", "battery", "wlr/tray"], "modules-right": ["network","bluetooth","custom/spotify","custom/language","pulseaudio","cpu","battery","power-profiles-daemon","wlr/tray","clock#date"],
"wlr/taskbar": { "wlr/taskbar": {
"format": "{icon}", "format": "{icon}",
@@ -14,51 +14,53 @@
"on-click": "activate" "on-click": "activate"
}, },
"custom/language": { "custom/language": {
"exec": "xkblayout-state print %s | tr 'a-z' 'A-Z'", "exec": "xkb-switch -p | tr '[:lower:]' '[:upper:]' || echo '??'",
"interval": 1, "interval": 1,
"format": " {} " "format": "[ {}]"
}, },
"custom/spotify": { "custom/spotify": {
"format": "[{}] ", "format": "[played: [{}] ]",
"exec": "playerctl metadata --format '{{artist}} - {{title}}' spotify 2>/dev/null || echo ''", "exec": "playerctl metadata --format '{{artist}} - {{title}}' spotify 2>/dev/null || echo ''",
"restart-interval": 1, "restart-interval": 1,
"on-click": "spotify", "on-click": "spotify-launcher",
"max-length": 50 "max-length": 50
}, },
"clock": { "clock": {
"format": "{:%H:%M}", "format": "[{:%H:%M}]",
"format-alt": "{:%d-%m-%Y}" "on-click": "gnome-calendar"
},
"clock#date": {
"format": "[{:%d-%m-%Y}]",
"on-click": "gnome-calendar"
}, },
"cpu": { "cpu": {
"format": " {usage}%", "format": "[ {usage}%]",
"tooltip": false, "tooltip": false,
"on-click": "alacritty -e htop" "on-click": "alacritty -e htop"
}, },
"memory": {
"format": " {}%"
},
"network": { "network": {
"min-length": 10, "min-length": 10,
"format-wifi": " {bandwidthDownBytes}", "format-wifi": "[ {essid} {bandwidthDownBytes}]",
"format-ethernet": " {bandwidthDownBytes}", "format-ethernet": "[ {bandwidthDownBytes}]",
"format-disconnected": "⚠ DONT", "format-disconnected": "[🛪 no WI-FI]",
"interval": 1, "interval": 1,
"on-click": "alacritty -e nmtui" "on-click": "nm-connection-editor"
}, },
"bluetooth": { "bluetooth": {
"format": "", "format": "[  ]",
"format-disabled": "󰂲", "format-disabled": "[🛪 disabled]",
"format-off": "󰂲", "format-off": "[🛦 off]",
"format-connected": " {num_connections}", "format-connected": "[ {num_connections}]",
"tooltip-format": "{device_enumerate}", "tooltip-format": "[{device_enumerate}]",
"on-click": "blueman-manager" "on-click": "blueman-manager"
}, },
"battery": { "battery": {
"format": "{capacity}% {icon}", "format": "[{icon} {capacity}%] ",
"format-charging": " {capacity}% {icon}", "format-charging": "[ {capacity}% {icon}]",
"format-plugged": " {capacity}%", "format-plugged": "[ {capacity}%]",
"interval": 1,
"format-icons": [ "format-icons": [
"", "",
@@ -73,9 +75,21 @@
"critical": 15 "critical": 15
} }
}, },
"power-profiles-daemon": {
"format": "[{icon}]",
"tooltip-format": "Профиль: {profile}",
"tooltip": true,
"format-icons": {
"default": "default",
"performance": "performance",
"balanced": "balanced",
"power-saver": "power-saved"
},
},
"pulseaudio": { "pulseaudio": {
"format": " {volume}%", "format": "[ {volume}%]",
"format-muted": " Muted", "format-muted": "[muted]",
"on-click": "pavucontrol" "on-click": "pavucontrol"
}, },
"wlr/tray": { "wlr/tray": {
+3 -2
View File
@@ -18,6 +18,7 @@ window#waybar {
#pulseaudio, #pulseaudio,
#taskbar, #taskbar,
#custom-spotify, #custom-spotify,
#custom-language,
#tray { #tray {
padding: 0 10px; padding: 0 10px;
color: #0b0b0b; color: #0b0b0b;
@@ -29,7 +30,7 @@ window#waybar {
} }
#taskbar button.active { #taskbar button.active {
background-color: alpha(#0b0b0b, 0.2); background-color: alpha(#98309c, 0.2);
box-shadow: inset 0 -2px 0 0 #0b0b0b; box-shadow: inset 0 -2px 0 0 #98309c;
color: #0b0b0b; color: #0b0b0b;
} }
+13 -15
View File
@@ -46,7 +46,7 @@ fi
echo "┌──────────────────────────────────────┐" echo "┌──────────────────────────────────────┐"
echo "│ zenithcode.duckdns.org │" echo "│ zenithcode.duckdns.org │"
echo "│ welcome to installer labwc-opensuse │" echo "│ welcome to installer labwc-openSUSE │"
echo "│ by s13bby │" echo "│ by s13bby │"
echo "└──────────────────────────────────────┘" echo "└──────────────────────────────────────┘"
@@ -55,22 +55,16 @@ echo "└───────────────────────
info "installing needed packages..." info "installing needed packages..."
# power-profiles-daemon -- FOR NOTEBOOK ONLY
sudo zypper in \ sudo zypper in \
opi \ opi \
cliphist \
ImageMagic \
xkb-switch \
htop \ htop \
blueman \ blueman \
gcc \
gcc-c++ \
git \ git \
polkit \ polkit \
polkit-gnome \ polkit-gnome \
curl \
cmake \
libcurl-devel \
opencv \
opencv-devel \
waybar \ waybar \
mako \ mako \
swaybg \ swaybg \
@@ -84,8 +78,7 @@ sudo zypper in \
wireplumber \ wireplumber \
alsa-utils \ alsa-utils \
NetworkManager \ NetworkManager \
NetworkManager-applet \ NetworkManager-connection-editor \
NetworkManager-tui \
pcmanfm \ pcmanfm \
firefox \ firefox \
playerctl \ playerctl \
@@ -94,8 +87,10 @@ sudo zypper in \
brightnessctl \ brightnessctl \
pavucontrol \ pavucontrol \
bluez \ bluez \
grim \ ristretto \
ristretto gnome-calcendar \
spotify-launcher \
telegram-desktop
success "all packages installed (without swaylock-effects. install this package manualy" success "all packages installed (without swaylock-effects. install this package manualy"
@@ -156,6 +151,9 @@ echo "└───────────────────────
info "please. install swaylock-effcts manually" info "please. install swaylock-effcts manually"
info "write >> opi swaylock-effects" info "write >> opi swaylock-effects"
echo
info "please. install grimshot manually"
info "write >> opi grimshot"
success ">>after install swaylock-effects:" success ">>after install swaylock-effects and grimshot:"
success " >>please reboot system<<" success " >>please reboot system<<"