Compare commits

...
6 Commits
Author SHA1 Message Date
pyrschtjag ef7b8b9484 docs: updated readme 2026-08-12 01:54:25 +04:00
pyrschtjag 282840a50c fix: fixed wireplumber css 2026-08-12 01:38:52 +04:00
pyrschtjag 102f1a64c4 feat: add SWAY_UNSUPPORTED_GPU 2026-08-12 01:38:24 +04:00
pyrschtjag d1f0af1bc2 feat: added .gitignore 2026-08-12 01:37:51 +04:00
pyrschtjag 6f680ecc48 fix: powermenu 2026-08-11 20:35:22 +04:00
pyrschtjag 64f84f7363 feat: added powermenu 2026-08-11 19:42:37 +04:00
6 changed files with 56 additions and 45 deletions
+5
View File
@@ -0,0 +1,5 @@
nvim/lazy-lock.json
mpd/database
mpd/log
mpd/mpd
mpd/sticker.sql
+31 -18
View File
@@ -46,6 +46,7 @@ sudo pacman -S \
rbw \ rbw \
rofi \ rofi \
rofi-rbw \ rofi-rbw \
wtype \
python-systemd \ python-systemd \
python-i3ipc \ python-i3ipc \
rmpc \ rmpc \
@@ -55,7 +56,6 @@ sudo pacman -S \
mpd \ mpd \
mpd-mpris \ mpd-mpris \
playerctl \ playerctl \
xorg-xwayland \
xdg-utils \ xdg-utils \
xdg-desktop-portal-gtk \ xdg-desktop-portal-gtk \
xdg-desktop-portal-wlr \ xdg-desktop-portal-wlr \
@@ -71,33 +71,38 @@ sudo pacman -S \
dunst \ dunst \
uwsm \ uwsm \
mc \ mc \
imv imv \
waybar
``` ```
```bash ```bash
yay -S \ yay -S \
swaddle \ swaddle \
clipvault \ clipvault-bin \
pinentry-rofi pinentry-rofi
``` ```
## Деплой ## Деплой
```bash ```bash
ln -s ./.zsh ~/.config/.zsh git clone https://gitea.oyacoi.ru/pyrschtjag/dotfiles-sway ~/Documents/.dotfiles-sway
ln -s ./.zshrc ~/.zshrc ```
ln -s ./dunst ~/.config/dunst
ln -s ./foot ~/.config/foot ```bash
ln -s ./uwsm ~/.config/uwsm ln -s ~/Documents/.dotfiles-sway/.zsh ~/.config/.zsh
ln -s ./systemd/user/* ~/.config/systemd/user/ ln -s ~/Documents/.dotfiles-sway/.zshrc ~/.zshrc
ln -s ./sway ~/.config/sway ln -s ~/Documents/.dotfiles-sway/dunst ~/.config/dunst
ln -s ./swaylock ~/.config/swaylock ln -s ~/Documents/.dotfiles-sway/foot ~/.config/foot
ln -s ./swaddle ~/.config/swaddle ln -s ~/Documents/.dotfiles-sway/uwsm ~/.config/uwsm
ln -s ./rofi ~/.config/rofi ln -s ~/Documents/.dotfiles-sway/systemd/user/* ~/.config/systemd/user/
ln -s ./rmpc ~/.config/rmpc ln -s ~/Documents/.dotfiles-sway/sway ~/.config/sway
ln -s ./nvim ~/.config/nvim ln -s ~/Documents/.dotfiles-sway/swaylock ~/.config/swaylock
ln -s ./mpv ~/.config/mpv ln -s ~/Documents/.dotfiles-sway/swaddle ~/.config/swaddle
ln -s ./mpd ~/.config/mpd ln -s ~/Documents/.dotfiles-sway/rofi ~/.config/rofi
ln -s ~/Documents/.dotfiles-sway/rmpc ~/.config/rmpc
ln -s ~/Documents/.dotfiles-sway/nvim ~/.config/nvim
ln -s ~/Documents/.dotfiles-sway/mpv ~/.config/mpv
ln -s ~/Documents/.dotfiles-sway/mpd ~/.config/mpd
``` ```
```bash ```bash
@@ -123,7 +128,15 @@ ln -s ./other/pinentry-rofi-wrapper ~/.local/bin/pinentry-rofi-wrapper
```bash ```bash
rbw config set email $email rbw config set email $email
rbw config set base_url $url rbw config set base_url $url
rbw config set pinentry $pinentry_rofi_wrapper rbw config set pinentry ~/.local/bin/pinentry-rofi-wrapper
```
```bash
systemctl --user enable --now clipvault
systemctl --user enable --now gtk-settings
systemctl --user enable --now per-window-layout
systemctl --user enable --now swaddle
systemctl --user enable --now swayidle
``` ```
## Скриншоты ## Скриншоты
-11
View File
@@ -1,11 +0,0 @@
{
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
"gitsigns.nvim": { "branch": "main", "commit": "31d6fb2d618bca1482b9f274751ead5f03461408" },
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"nord.nvim": { "branch": "master", "commit": "80c1e5321505aeb22b7a9f23eb82f1e193c12470" },
"nvim-colorizer.lua": { "branch": "master", "commit": "72a05f62c52241bc7441c820eb53946f92b2e6a4" },
"nvim-tree.lua": { "branch": "master", "commit": "531b807b8f0d6f75016a0ee1e0cd5ce2086e9d95" },
"nvim-treesitter": { "branch": "main", "commit": "c9f9ed6c1892f629ea399f4ee7905f2686fa13f2" },
"nvim-web-devicons": { "branch": "master", "commit": "2ae6958df7ced50baac5035cec0c15799eedfbf7" },
"render-markdown.nvim": { "branch": "main", "commit": "f422cb5c6855f150e2ddcfaf44e7157b98b34f6a" }
}
+12 -11
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -uo pipefail set -uo pipefail
tmp_dir="/tmp/cliphist" tmp_dir="/tmp/cliphist"
mkdir -p "$tmp_dir" mkdir -p "$tmp_dir"
@@ -13,12 +14,12 @@ if [[ -n "$selection" ]]; then
body="${selection#*— }" body="${selection#*— }"
printf '%s' "$body" | wl-copy printf '%s' "$body" | wl-copy
elif [[ "$mode" == "powermenu" ]]; then elif [[ "$mode" == "powermenu" ]]; then
case "$selection" in case "$ROFI_INFO" in
"lock") swaylock ;; lock) swaylock ;;
"suspend") systemctl suspend ;; suspend) systemctl suspend ;;
"reboot") systemctl reboot ;; reboot) systemctl reboot ;;
"shutdown") systemctl poweroff ;; shutdown) systemctl poweroff ;;
"logout") loginctl terminate-session "${XDG_SESSION_ID-}" ;; logout) loginctl terminate-session "${XDG_SESSION_ID-}" ;;
esac esac
else else
target_app=$(grep -rl "^Name=${selection}\$" /usr/share/applications/*.desktop 2>/dev/null | head -n1) target_app=$(grep -rl "^Name=${selection}\$" /usr/share/applications/*.desktop 2>/dev/null | head -n1)
@@ -82,10 +83,10 @@ case "$mode" in
;; ;;
powermenu) powermenu)
echo -e "\0markup-rows\x1ftrue" echo -e "\0markup-rows\x1ftrue"
printf '%s\n' "<span foreground=\"#88c0d0\"></span> lock" printf '%s\0info\x1flock\n' "<span foreground=\"#88c0d0\"></span> lock"
printf '%s\n' "<span foreground=\"#5e81ac\">󰤄</span> suspend" printf '%s\0info\x1fsuspend\n' "<span foreground=\"#5e81ac\">󰤄</span> suspend"
printf '%s\n' "<span foreground=\"#ebcb8b\"></span> reboot" printf '%s\0info\x1freboot\n' "<span foreground=\"#ebcb8b\"></span> reboot"
printf '%s\n' "<span foreground=\"#bf616a\">⏻</span> shutdown" printf '%s\0info\x1fshutdown\n' "<span foreground=\"#bf616a\">⏻</span> shutdown"
printf '%s\n' "<span foreground=\"#b48ead\">󰗽</span> logout" printf '%s\0info\x1flogout\n' "<span foreground=\"#b48ead\">󰗽</span> logout"
;; ;;
esac esac
+1
View File
@@ -1,3 +1,4 @@
export QT_QPA_PLATFORMTHEME=qt6ct export QT_QPA_PLATFORMTHEME=qt6ct
export QT_QPA_PLATFORMTHEME_QT6=qt6ct export QT_QPA_PLATFORMTHEME_QT6=qt6ct
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket" export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/rbw/ssh-agent-socket"
export SWAY_UNSUPPORTED_GPU=true
+5 -3
View File
@@ -128,12 +128,14 @@ window#waybar {
margin: 0 10px 0 0; margin: 0 10px 0 0;
} }
#wireplumber.source-muted, #wireplumber.muted {
#wireplumber.sink-muted {
color: @nord3;
color: @nord3; color: @nord3;
} }
#wireplumber {
color: @nord6;
}
#cpu, #cpu,
#temperature.cpu, #temperature.cpu,
#wireplumber.source { #wireplumber.source {