Compare commits
10
Commits
a213b10a88
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef7b8b9484 | ||
|
|
282840a50c | ||
|
|
102f1a64c4 | ||
|
|
d1f0af1bc2 | ||
|
|
6f680ecc48 | ||
|
|
64f84f7363 | ||
|
|
4960d27dd6 | ||
|
|
7f606a5aa6 | ||
|
|
1075721046 | ||
|
|
23ea8e8d2b |
@@ -0,0 +1,5 @@
|
|||||||
|
nvim/lazy-lock.json
|
||||||
|
mpd/database
|
||||||
|
mpd/log
|
||||||
|
mpd/mpd
|
||||||
|
mpd/sticker.sql
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
## Скриншоты
|
## Скриншоты
|
||||||
|
|||||||
@@ -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
@@ -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
@@ -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";
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
+1
-1
@@ -34,7 +34,7 @@ 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,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
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user