Compare commits

...
10 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
pyrschtjag 4960d27dd6 fix: change number workspace 2026-08-11 19:40:36 +04:00
pyrschtjag 7f606a5aa6 feat: added powermenu 2026-08-11 19:39:51 +04:00
pyrschtjag 1075721046 fix: delete comments 2026-08-11 19:39:22 +04:00
pyrschtjag 23ea8e8d2b fix: delete comment 2026-08-11 19:39:03 +04:00
10 changed files with 77 additions and 68 deletions
+5
View File
@@ -0,0 +1,5 @@
nvim/lazy-lock.json
mpd/database
mpd/log
mpd/mpd
mpd/sticker.sql
-1
View File
@@ -105,7 +105,6 @@ git_prompt_info() {
branch=$(git branch --show-current 2>/dev/null) branch=$(git branch --show-current 2>/dev/null)
# Не Git-репозиторий
if [[ -z "$branch" ]]; then if [[ -z "$branch" ]]; then
return return
fi fi
+32 -19
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
``` ```
## Скриншоты ## Скриншоты
@@ -150,4 +163,4 @@ rbw config set pinentry $pinentry_rofi_wrapper
<img src="./assets/photo_2026-08-11_08-02-03.jpg" alt="zsh/fzf" width="800"> <img src="./assets/photo_2026-08-11_08-02-03.jpg" alt="zsh/fzf" width="800">
<br> <br>
<sub>zsh / fzf</sub> <sub>zsh / fzf</sub>
</p> </p>
-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" }
}
+5 -23
View File
@@ -155,15 +155,9 @@
panes: [ panes: [
( (
size: "1", size: "1",
//borders: "ALL",
//border_symbols: Inherited(parent: Rounded, bottom_left: "├", bottom_right: "┤",),
pane: Split( pane: Split(
direction: Horizontal, direction: Horizontal,
panes: [ panes: [
/*(
size: "1",
pane: Pane(Empty())
),*/
( (
size: "100%", size: "100%",
pane: Pane(QueueHeader()) pane: Pane(QueueHeader())
@@ -173,15 +167,9 @@
), ),
( (
size: "100%", size: "100%",
//borders: "LEFT | RIGHT | BOTTOM",
//border_symbols: Rounded,
pane: Split( pane: Split(
direction: Horizontal, direction: Horizontal,
panes: [ panes: [
/*(
size: "1",
pane: Pane(Empty())
),*/
( (
size: "100%", size: "100%",
pane: Pane(Queue) pane: Pane(Queue)
@@ -199,22 +187,16 @@
panes: [ panes: [
( (
size: "19", size: "19",
//borders: "", //LEFT | RIGHT | TOP",
//border_symbols: Rounded,
pane: Pane(AlbumArt) pane: Pane(AlbumArt)
), ),
( (
size: "100%", size: "100%",
//borders: "", //ALL",
//border_symbols: Inherited(parent: Rounded, top_left: "├", top_right: "┤",),
//border_title: [(kind: Text(" Lyrics "))],
//border_title_alignment: Right,
pane: Component("column1"), pane: Component("column1"),
), ),
], ],
), ),
), ),
], ],
), ),
), ),
( (
@@ -222,7 +204,7 @@
pane: Split( pane: Split(
size: "100%", size: "100%",
direction: Vertical, direction: Vertical,
panes: [(pane: Pane(Directories), size: "100%")] //, borders: "ALL", border_symbols: Rounded)], panes: [(pane: Pane(Directories), size: "100%")],
) )
), ),
( (
@@ -230,7 +212,7 @@
pane: Split( pane: Split(
size: "100%", size: "100%",
direction: Vertical, direction: Vertical,
panes: [(pane: Pane(AlbumArtists), size: "100%")] //, borders: "ALL", border_symbols: Rounded)], panes: [(pane: Pane(AlbumArtists), size: "100%")],
) )
), ),
( (
@@ -238,7 +220,7 @@
pane: Split( pane: Split(
size: "100%", size: "100%",
direction: Vertical, direction: Vertical,
panes: [(pane: Pane(Playlists), size: "100%")] //, borders: "ALL", border_symbols: Rounded)], panes: [(pane: Pane(Playlists), size: "100%")],
) )
), ),
( (
@@ -246,7 +228,7 @@
pane: Split( pane: Split(
size: "100%", size: "100%",
direction: Vertical, direction: Vertical,
panes: [(pane: Pane(Search), size: "100%")] //, borders: "ALL", border_symbols: Rounded)], panes: [(pane: Pane(Search), size: "100%")],
) )
), ),
], ],
+2 -1
View File
@@ -4,7 +4,7 @@ configuration {
scroll-method: 1; scroll-method: 1;
show-icons: true; show-icons: true;
sidebar-mode: true; sidebar-mode: true;
modi: "drun,internet:~/.config/rofi/rofi-filter internet,dev:~/.config/rofi/rofi-filter dev,games:~/.config/rofi/rofi-filter games,system:~/.config/rofi/rofi-filter system,media:~/.config/rofi/rofi-filter media,notifications:~/.config/rofi/rofi-filter notifications,clipboard:~/.config/rofi/rofi-filter clipboard"; modi: "drun,internet:~/.config/rofi/rofi-filter internet,dev:~/.config/rofi/rofi-filter dev,games:~/.config/rofi/rofi-filter games,system:~/.config/rofi/rofi-filter system,media:~/.config/rofi/rofi-filter media,notifications:~/.config/rofi/rofi-filter notifications,clipboard:~/.config/rofi/rofi-filter clipboard,powermenu:~/.config/rofi/rofi-filter powermenu";
display-drun: "ALL"; display-drun: "ALL";
display-internet: "NET"; display-internet: "NET";
display-dev: "DEV"; display-dev: "DEV";
@@ -13,6 +13,7 @@ configuration {
display-media: "MED"; display-media: "MED";
display-notifications: "NTF"; display-notifications: "NTF";
display-clipboard: "CLP"; display-clipboard: "CLP";
display-powermenu: "PWR";
kb-remove-to-eol: ""; kb-remove-to-eol: "";
kb-mode-complete: ""; kb-mode-complete: "";
kb-remove-char-back: "BackSpace,Shift+BackSpace"; kb-remove-char-back: "BackSpace,Shift+BackSpace";
+17
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"
@@ -12,6 +13,14 @@ if [[ -n "$selection" ]]; then
elif [[ "$mode" == "notifications" ]]; then elif [[ "$mode" == "notifications" ]]; then
body="${selection#*— }" body="${selection#*— }"
printf '%s' "$body" | wl-copy printf '%s' "$body" | wl-copy
elif [[ "$mode" == "powermenu" ]]; then
case "$ROFI_INFO" in
lock) swaylock ;;
suspend) systemctl suspend ;;
reboot) systemctl reboot ;;
shutdown) systemctl poweroff ;;
logout) loginctl terminate-session "${XDG_SESSION_ID-}" ;;
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)
if [[ -n "$target_app" ]]; then if [[ -n "$target_app" ]]; then
@@ -72,4 +81,12 @@ case "$mode" in
} }
' /usr/share/applications/*.desktop 2>/dev/null ' /usr/share/applications/*.desktop 2>/dev/null
;; ;;
powermenu)
echo -e "\0markup-rows\x1ftrue"
printf '%s\0info\x1flock\n' "<span foreground=\"#88c0d0\"></span> lock"
printf '%s\0info\x1fsuspend\n' "<span foreground=\"#5e81ac\">󰤄</span> suspend"
printf '%s\0info\x1freboot\n' "<span foreground=\"#ebcb8b\"></span> reboot"
printf '%s\0info\x1fshutdown\n' "<span foreground=\"#bf616a\">⏻</span> shutdown"
printf '%s\0info\x1flogout\n' "<span foreground=\"#b48ead\">󰗽</span> logout"
;;
esac esac
+10 -10
View File
@@ -25,16 +25,16 @@ set $right l
set $term foot set $term foot
set $menu rofi -show drun set $menu rofi -show drun
set $file foot mc set $file foot mc
workspace 1 output HDMI-A-2 workspace 1 output HDMI-A-2
workspace 2 output HDMI-A-2 workspace 2 output HDMI-A-2
workspace 3 output HDMI-A-2 workspace 3 output HDMI-A-2
workspace 4 output HDMI-A-2 workspace 4 output HDMI-A-2
workspace 5 output HDMI-A-2 workspace 5 output HDMI-A-2
workspace 6 output HDMI-A-2 workspace 6 output HDMI-A-2
workspace 7 output DP-1 workspace 7 output DP-1
workspace 8 output DP-1 workspace 8 output DP-1
workspace 9 output DP-2 workspace 9 output DP-2
workspace 0 output DP-2 workspace 10 output DP-2
workspace 1 workspace 1
output DP-1 bg ~/Pictures/wallhaven-43qlkd.jpg fill output DP-1 bg ~/Pictures/wallhaven-43qlkd.jpg fill
output HDMI-A-2 bg ~/Pictures/wallhaven-478kjo.jpg fill output HDMI-A-2 bg ~/Pictures/wallhaven-478kjo.jpg fill
+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 {