test
This commit is contained in:
parent
13b82aa5ac
commit
28de853ad5
9 changed files with 477 additions and 499 deletions
203
README.md
203
README.md
|
|
@ -1,6 +1,109 @@
|
||||||
# Навигация
|
# Навигация
|
||||||
|
|
||||||
-
|
- [Бинды](#бинды)
|
||||||
|
- [Другие README файлы в этих дотсах](#другие-readme-файлы-в-этих-дотсах)
|
||||||
|
- [Проблемы](#проблемы)
|
||||||
|
- [TODO](#todo)
|
||||||
|
- [Описание](#описание)
|
||||||
|
- [Настройки для игр](#настройки-для-игр)
|
||||||
|
- [MangeHud](#mangohud)
|
||||||
|
- [gamemode](#gamemode)
|
||||||
|
- [gamescope](#gamescope)
|
||||||
|
- [Параметры запуска Steam](#параметры-запуска-steam)
|
||||||
|
- [Настройки мониторов](#настройка-мониторов)
|
||||||
|
- [Системная тема на всех вебсайтах](#системная-тема-на-всех-вебсайтах)
|
||||||
|
- [Мини гайд по NixOS](#мини-гайд-по-nixos)
|
||||||
|
- [Процесс установки](#процесс-установки)
|
||||||
|
- [Первый способ](#первый-способ)
|
||||||
|
- [Второй способ](#второй-способ)
|
||||||
|
- [После установки надо](#после-установки-надо)
|
||||||
|
- [Иконки](#иконки)
|
||||||
|
- [Темы](#темы)
|
||||||
|
|
||||||
|
|
||||||
|
## Бинды
|
||||||
|
|
||||||
|
Клавиша `Super` это клавиша `Win`
|
||||||
|
|
||||||
|
| Bspwm | Описание | Работает? |
|
||||||
|
| --------------------------------- | ------------------------------------------------------------------------------------------- | --------- |
|
||||||
|
| `Super + L` | Lock screen | Да |
|
||||||
|
| `Super + Q` | Quit. Выключить приложение | Да |
|
||||||
|
| `Super + Shift + Q` | Kill. Если приложение не отвечает, то убить его | Да |
|
||||||
|
| `Super + F` | Floating toggle | Да |
|
||||||
|
| `Super + Enter` | Fullscreen toggle | Да |
|
||||||
|
| `Super + Esc` | Прошлый воркспейс. Желательно внутри одного монитора | Да |
|
||||||
|
| `Super + ЛКМ` | Переместить окно | Да |
|
||||||
|
| `Super + ПКМ` | Ресайзить окно | Да |
|
||||||
|
| `Super + Arrows` | Менять фокус приложения в указанном направлении | Да |
|
||||||
|
| `Super + 0-9` | Переключить воркспейс на 1-10. Если они общие на все моники, то добавить F1-F12 для 11-22 | Да |
|
||||||
|
| `Super + Shift + 0-9` | Перекинуть активное окно на воркспейс. Желательно silent, чтоб меня не перекидывало к проге | Да |
|
||||||
|
| `Super + Ctrl + Down` | Переключает на первый пустой воркспейс | Да |
|
||||||
|
| `Super + Ctrl + Left/Right` | Переключает на предыдущий/следующий воркспейс. Тоесть делает -1 или +1 от текущего | Да |
|
||||||
|
| `Super + Ctrl + Alt + Down` | Свапает активное окно с самым большим на экране |хз|
|
||||||
|
| `Super + Ctrl + Alt + Left/Right` | Перекидывает активное окно на предыдущий/следующий воркспейс и следует за ним | Да |
|
||||||
|
| `Super + Alt + Arrows` | Move floating window | Да |
|
||||||
|
| `Super + Shift + Arrows` | Resize window на 30 пикселей в указанном направлении наружу | Да |
|
||||||
|
| `Super + Shift + Alt + Arrows` | Resize window на 30 пикселей в указанном направлении внутрь | Да |
|
||||||
|
| `Super + Shift + Ctrl + Arrows` | Перемещает активное окно в указанном направлении | Криво |
|
||||||
|
| `Super + S` | Split toggle. Меняет позиционирование с горизонтального на вертикальный и обратно. | Не понял |
|
||||||
|
| `Super + Ctrl + Shift + R` | Make sxhkd reload its config files | Да |
|
||||||
|
| `Super + Alt + Ctrn + Shift + R` | Restart bspwm | Да |
|
||||||
|
| `Super + Alt + Ctrn + Shift + Q` | Quit bspwm | Да |
|
||||||
|
|
||||||
|
| Rofi | Описание | Работает? |
|
||||||
|
| ------------------- | ---------------------------------------------------------------------------------------------- | --------- |
|
||||||
|
| `Super + A` | Applications. Запускатор софта | Да |
|
||||||
|
| `Super + C` | Calculator имбовый. Можно даже написать `5600 USD to BTC` или `500 + 25%`. | Да |
|
||||||
|
| `Super + P` | Passwords. Пароли из утилиты pass |нет|
|
||||||
|
| `Super + V` | История буфера обмена. Как ctrl+v, но через win. |нет|
|
||||||
|
| `Super + Tab` | Как alt+tab, переключение окон. На нужный воркспейс само перекинет |хз|
|
||||||
|
| `Super + Alt + T` | Timer. Думаю сделать через утилиту timer |хз|
|
||||||
|
| `Super + Shift + N` | Notification history. История оповещений. Мб сделать только в баре кнопку? Мб не делать вообще |хз|
|
||||||
|
| `Super + Backspace` | PowerMenu. Выключение пк |нет|
|
||||||
|
|
||||||
|
| Applications | Описание | Работает? |
|
||||||
|
| -------------------------- | ----------------------------------------- | --------- |
|
||||||
|
| `Super + B` | Browser LibreWolf. Основа | Да |
|
||||||
|
| `Super + Shift + B` | Browser Firefox. Паблик активность | Да |
|
||||||
|
| `Super + Shift + Ctrl + B` | Browser Chromium. Пусть будет | Да |
|
||||||
|
| `Super + N` | Note taking app (obsidian) | Да |
|
||||||
|
| `Super + E` | Explorer. Thunar file manager | Да |
|
||||||
|
| `Super + I` | IDE, text editor, NeoVim | Да |
|
||||||
|
| `Super + M` | Monitor of resources (btop) | Да |
|
||||||
|
| `Super + G` | Goals. Todo manager. Task tracker | Да |
|
||||||
|
| `Super + Shift + C` | Color picker. Получить hex в буфер обмена | Да |
|
||||||
|
| `Super + Ctrl + C` | Color picker. Получить rgb в буфер обмена | Да |
|
||||||
|
|
||||||
|
| Terminal | Описание | Работает? |
|
||||||
|
| -------------------------- | ---------------------------------------------------------------------------- | --------- |
|
||||||
|
| `Super + T` | Terminal основной | Да |
|
||||||
|
| `Super + Shift + T` | Floating Terminal основной в центре экрана с размерами треть на треть экрана | Да |
|
||||||
|
| `Super + Ctrl + T` | Terminal запасной | Да |
|
||||||
|
| `Super + Shift + Ctrl + T` | Floating Terminal запасной в центре экрана с размерами треть на треть экрана | Да |
|
||||||
|
|
||||||
|
| Колдунские кнопки | Описание | Работает? |
|
||||||
|
| ----------------------- | ---------------------- | --------- |
|
||||||
|
| `XF86AudioMute` | Toggle audio mute |хз|
|
||||||
|
| `XF86AudioMicMute` | Toggle microphone mute |хз|
|
||||||
|
| `XF86AudioLowerVolume` | Decrease volume |хз|
|
||||||
|
| `XF86AudioRaiseVolume` | Increase volume |хз|
|
||||||
|
| `XF86AudioPlay` | Play/pause |хз|
|
||||||
|
| `XF86AudioPause` | Play/pause |хз|
|
||||||
|
| `XF86AudioNext` | Next track |хз|
|
||||||
|
| `XF86AudioPrev` | Previous track |хз|
|
||||||
|
| `XF86MonBrightnessUp` | Increase brightness |хз|
|
||||||
|
| `XF86MonBrightnessDown` | Decrease brightness |хз|
|
||||||
|
|
||||||
|
| Not sxhkd | Описание | Работает? |
|
||||||
|
| --------------- | ---------------------- | --------- |
|
||||||
|
| `Print` | Выделить область | Да |
|
||||||
|
| `Print + Alt` | Все мониторы целиком | Да |
|
||||||
|
| `Print + Ctrl` | Активный монитор | Да |
|
||||||
|
| `Print + Shift` | Активное окно | Да |
|
||||||
|
| `CapsLock` | Switch keyboard layout | Да |
|
||||||
|
|
||||||
|
Так же есть бинд на зажим дальней боковой кнопки мыши. Если эту кнопку нажимать, то она работает как обычно. Если её зажать и начать двигать мышку, то вместо движения курсора будет плавный скрол. Обычно такое делают на трекболах без колеса мыши, но я люблю этот метод скрола на любом девайсе. Можно скролить с нужной скоростью и точностью куда надо без долгого кручения колеса.
|
||||||
|
|
||||||
## Другие README файлы в этих дотсах
|
## Другие README файлы в этих дотсах
|
||||||
|
|
||||||
|
|
@ -95,7 +198,7 @@ ip a
|
||||||
|
|
||||||
SteamOS session compositing window manager. Можно назвать мини wm внутри wm (хотя можно и в tty запустить, без стороннего wm). Не совсем понимаю когда его надо использовать. Иногда, если у игры есть проблемы с обычным linux, то она может нормально запускаться через `gamescope`
|
SteamOS session compositing window manager. Можно назвать мини wm внутри wm (хотя можно и в tty запустить, без стороннего wm). Не совсем понимаю когда его надо использовать. Иногда, если у игры есть проблемы с обычным linux, то она может нормально запускаться через `gamescope`
|
||||||
|
|
||||||
### Параметры запуска steam
|
### Параметры запуска Steam
|
||||||
|
|
||||||
Если в параметры запуска захочется добавить что-то помимо того, что я напишу, то надо учитывать порядок написания. Как я понял, если надо используется переменная, то её надо писать в начале. Например, если в игре не работает печать на русском языке, то надо в начало добавить `LC_ALL="ru_RU.UTF-8"`. Если же речь про стандартные параметры запуска стима, по типу `-dev` или `-novid`, то их надо писать после `%command%`. Слово `%command%` скорее всего является игрой, тоесть команда для запуска игры. Тоесть синтаксис как в обычном терминале. Сначала переменные окружения, потом команда, потом параметры запуска через `-параметр`.
|
Если в параметры запуска захочется добавить что-то помимо того, что я напишу, то надо учитывать порядок написания. Как я понял, если надо используется переменная, то её надо писать в начале. Например, если в игре не работает печать на русском языке, то надо в начало добавить `LC_ALL="ru_RU.UTF-8"`. Если же речь про стандартные параметры запуска стима, по типу `-dev` или `-novid`, то их надо писать после `%command%`. Слово `%command%` скорее всего является игрой, тоесть команда для запуска игры. Тоесть синтаксис как в обычном терминале. Сначала переменные окружения, потом команда, потом параметры запуска через `-параметр`.
|
||||||
|
|
||||||
|
|
@ -136,9 +239,13 @@ xrandr --output HDMI-A-0 --mode 1920x1080 --rate 100 --right-of DisplayPort-2
|
||||||
|
|
||||||
## Процесс установки
|
## Процесс установки
|
||||||
|
|
||||||
Сначала качаем nixos kde или nixos gnome вариант и устанавливаем систему через визуальный установщик.
|
Сначала качаем nixos kde или nixos gnome вариант и устанавливаем систему через визуальный установщик. При установке выбираем минимальный вариант, без DE.
|
||||||
|
|
||||||
Дальше есть два способа. Оба нужны, чтоб заменить имя юзера на своё перед установкой моих дотсов. Для этого надо открыть файл `./nixos/configuration.nix` и заменить переменную `username` на ник своего юзера.
|
Дальше есть два способа. Оба нужны, чтоб заменить имя юзера на своё перед установкой моих дотсов. Для этого надо открыть файл `nixos/configuration.nix` и заменить переменную `username` на ник своего юзера.
|
||||||
|
|
||||||
|
Ещё надо изменить параметры мониторов в `modules/home-manager/wm/bspwm/bspwm.nix`. Для этого через xrandr надо узнать параметры мониторов
|
||||||
|
|
||||||
|
Так же надо изменить gpu драйвера, если видеокарта не от amd. Самый простой вариант - закомментировать `videoDrivers` в `modules/nixos/xserver.nix` и `boot.initrd.kernelModules` в `modules/nixos/hardware.nix`. Мб он сам подберёт подходящий драйвер. Если же знаешь конкретные настройки, которые надо ставить, то пишешь их.
|
||||||
|
|
||||||
### Первый способ
|
### Первый способ
|
||||||
|
|
||||||
|
|
@ -187,96 +294,12 @@ gpg --edit-key ID-ключа
|
||||||
```
|
```
|
||||||
В этом режиме надо написать trust и выбрать степень доверия. Например 5 для своих ключей можно задать, это прям самое максимально доверие. Потом Ctrl + D чтоб выйти.
|
В этом режиме надо написать trust и выбрать степень доверия. Например 5 для своих ключей можно задать, это прям самое максимально доверие. Потом Ctrl + D чтоб выйти.
|
||||||
|
|
||||||
## Бинды
|
|
||||||
|
|
||||||
Клавиша `Super` это клавиша `Win`
|
|
||||||
|
|
||||||
| Bspwm | Описание | Работает? |
|
|
||||||
| --------------------------------- | ------------------------------------------------------------------------------------------- | --------- |
|
|
||||||
| `Super + L` | Lock screen | Да |
|
|
||||||
| `Super + Q` | Quit. Выключить приложение | Да |
|
|
||||||
| `Super + Shift + Q` | Kill. Если приложение не отвечает, то убить его | Да |
|
|
||||||
| `Super + F` | Floating toggle | Да |
|
|
||||||
| `Super + Enter` | Fullscreen toggle | Да |
|
|
||||||
| `Super + Esc` | Прошлый воркспейс. Желательно внутри одного монитора | Да |
|
|
||||||
| `Super + ЛКМ` | Переместить окно | Да |
|
|
||||||
| `Super + ПКМ` | Ресайзить окно | Да |
|
|
||||||
| `Super + Arrows` | Менять фокус приложения в указанном направлении | Да |
|
|
||||||
| `Super + 0-9` | Переключить воркспейс на 1-10. Если они общие на все моники, то добавить F1-F12 для 11-22 | Да |
|
|
||||||
| `Super + Shift + 0-9` | Перекинуть активное окно на воркспейс. Желательно silent, чтоб меня не перекидывало к проге | Да |
|
|
||||||
| `Super + Ctrl + Down` | Переключает на первый пустой воркспейс |нет|
|
|
||||||
| `Super + Ctrl + Left/Right` | Переключает на предыдущий/следующий воркспейс. Тоесть делает -1 или +1 от текущего | Да |
|
|
||||||
| `Super + Ctrl + Alt + Down` | Свапает активное окно с самым большим на экране |хз|
|
|
||||||
| `Super + Ctrl + Alt + Left/Right` | Перекидывает активное окно на предыдущий/следующий воркспейс и следует за ним | Да |
|
|
||||||
| `Super + Alt + Arrows` | Move floating window | Да |
|
|
||||||
| `Super + Shift + Arrows` | Resize window на 30 пикселей в указанном направлении наружу | Да |
|
|
||||||
| `Super + Shift + Alt + Arrows` | Resize window на 30 пикселей в указанном направлении внутрь | Да |
|
|
||||||
| `Super + Shift + Ctrl + Arrows` | Перемещает активное окно в указанном направлении | Криво |
|
|
||||||
| `Super + S` | Split toggle. Меняет позиционирование с горизонтального на вертикальный и обратно. | Не понял |
|
|
||||||
| `Super + Ctrl + Shift + R` | Make sxhkd reload its config files | Да |
|
|
||||||
| `Super + Alt + Ctrn + Shift + R` | Restart bspwm | Да |
|
|
||||||
| `Super + Alt + Ctrn + Shift + Q` | Quit bspwm | Да |
|
|
||||||
|
|
||||||
| Rofi | Описание | Работает? |
|
|
||||||
| ------------------- | ---------------------------------------------------------------------------------------------- | --------- |
|
|
||||||
| `Super + A` | Applications. Запускатор софта | Да |
|
|
||||||
| `Super + C` | Calculator имбовый. Можно даже написать `5600 USD to BTC` или `500 + 25%`. | Да |
|
|
||||||
| `Super + P` | Passwords. Пароли из утилиты pass |нет|
|
|
||||||
| `Super + V` | История буфера обмена. Как ctrl+v, но через win. |нет|
|
|
||||||
| `Super + Tab` | Как alt+tab, переключение окон. На нужный воркспейс само перекинет |хз|
|
|
||||||
| `Super + Alt + T` | Timer. Думаю сделать через утилиту timer |хз|
|
|
||||||
| `Super + Shift + N` | Notification history. История оповещений. Мб сделать только в баре кнопку? Мб не делать вообще |хз|
|
|
||||||
| `Super + Backspace` | PowerMenu. Выключение пк |нет|
|
|
||||||
|
|
||||||
| Applications | Описание | Работает? |
|
|
||||||
| -------------------------- | ----------------------------------------- | --------- |
|
|
||||||
| `Super + B` | Browser LibreWolf. Основа | Да |
|
|
||||||
| `Super + Shift + B` | Browser Firefox. Паблик активность | Да |
|
|
||||||
| `Super + Shift + Ctrl + B` | Browser Chromium. Пусть будет | Да |
|
|
||||||
| `Super + N` | Note taking app (obsidian) | Да |
|
|
||||||
| `Super + E` | Explorer. Thunar file manager | Да |
|
|
||||||
| `Super + I` | IDE, text editor, NeoVim | Да |
|
|
||||||
| `Super + M` | Monitor of resources (btop) | Да |
|
|
||||||
| `Super + G` | Goals. Todo manager. Task tracker | Да |
|
|
||||||
| `Super + Shift + C` | Color picker. Получить hex в буфер обмена | Да |
|
|
||||||
| `Super + Ctrl + C` | Color picker. Получить rgb в буфер обмена | Да |
|
|
||||||
|
|
||||||
| Terminal | Описание | Работает? |
|
|
||||||
| -------------------------- | ---------------------------------------------------------------------------- | --------- |
|
|
||||||
| `Super + T` | Terminal основной | Да |
|
|
||||||
| `Super + Shift + T` | Floating Terminal основной в центре экрана с размерами треть на треть экрана | Да |
|
|
||||||
| `Super + Ctrl + T` | Terminal запасной | Да |
|
|
||||||
| `Super + Shift + Ctrl + T` | Floating Terminal запасной в центре экрана с размерами треть на треть экрана | Да |
|
|
||||||
|
|
||||||
| Колдунские кнопки | Описание | Работает? |
|
|
||||||
| ----------------------- | ---------------------- | --------- |
|
|
||||||
| `XF86AudioMute` | Toggle audio mute |хз|
|
|
||||||
| `XF86AudioMicMute` | Toggle microphone mute |хз|
|
|
||||||
| `XF86AudioLowerVolume` | Decrease volume |хз|
|
|
||||||
| `XF86AudioRaiseVolume` | Increase volume |хз|
|
|
||||||
| `XF86AudioPlay` | Play/pause |хз|
|
|
||||||
| `XF86AudioPause` | Play/pause |хз|
|
|
||||||
| `XF86AudioNext` | Next track |хз|
|
|
||||||
| `XF86AudioPrev` | Previous track |хз|
|
|
||||||
| `XF86MonBrightnessUp` | Increase brightness |хз|
|
|
||||||
| `XF86MonBrightnessDown` | Decrease brightness |хз|
|
|
||||||
|
|
||||||
| Not sxhkd | Описание | Работает? |
|
|
||||||
| --------------- | ---------------------- | --------- |
|
|
||||||
| `Print` | Выделить область | Да |
|
|
||||||
| `Print + Alt` | Все мониторы целиком | Да |
|
|
||||||
| `Print + Ctrl` | Активный монитор | Да |
|
|
||||||
| `Print + Shift` | Активное окно | Да |
|
|
||||||
| `CapsLock` | Switch keyboard layout | Да |
|
|
||||||
|
|
||||||
Так же есть бинд на зажим дальней боковой кнопки мыши. Если эту кнопку нажимать, то она работает как обычно. Если её зажать и начать двигать мышку, то вместо движения курсора будет плавный скрол. Обычно такое делают на трекболах без колеса мыши, но я люблю этот метод скрола на любом девайсе. Можно скролить с нужной скоростью и точностью куда надо без долгого кручения колеса.
|
|
||||||
|
|
||||||
|
|
||||||
## Иконки
|
## Иконки
|
||||||
|
|
||||||
Искать иконки для nerd шрифта можно [тут](https://www.nerdfonts.com/cheat-sheet).
|
Искать иконки для nerd шрифта можно [тут](https://www.nerdfonts.com/cheat-sheet).
|
||||||
|
|
||||||
Соберу сюда список nerd иконок, которые могут пригодиться
|
Соберу сюда список nerd иконок, которые могут пригодиться. Для их отображения нужен специальный шрифт
|
||||||
|
|
||||||
CPU (мб не юзать, а писать текстом и cpu и gpu) -
|
CPU (мб не юзать, а писать текстом и cpu и gpu) -
|
||||||
|
|
||||||
|
|
@ -336,7 +359,7 @@ Wifi
|
||||||
|
|
||||||
У меня в vscode цвета отображаются. Так что я для себя сохраню цвета разных вариантов gruvbox
|
У меня в vscode цвета отображаются. Так что я для себя сохраню цвета разных вариантов gruvbox
|
||||||
|
|
||||||
Цвет это название цвета. Потом идёт название gruvbox-имя
|
Цвет это имя цвета в stylix. Потом идёт название gruvbox-имя
|
||||||
|
|
||||||
Я использую gruvbox-dark-medium
|
Я использую gruvbox-dark-medium
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
|
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
enableFishIntegration = true;
|
# enableFishIntegration = true;
|
||||||
# enableNushellIntegration = true;
|
# enableNushellIntegration = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
./wm/rofi.nix
|
./wm/rofi.nix
|
||||||
./wm/dunst.nix
|
./wm/dunst.nix
|
||||||
./wm/lockscreen.nix
|
./wm/lockscreen.nix
|
||||||
./wm/polybar.nix
|
# ./wm/polybar.nix
|
||||||
./wm/sxhkd.nix
|
./wm/sxhkd.nix
|
||||||
|
|
||||||
./mangohud.nix
|
./mangohud.nix
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@
|
||||||
|
|
||||||
shellIntegration = { # https://sw.kovidgoyal.net/kitty/shell-integration/
|
shellIntegration = { # https://sw.kovidgoyal.net/kitty/shell-integration/
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableFishIntegration = true;
|
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
# enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
enableBashIntegration = true;
|
enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
enableFishIntegration = true;
|
# enableFishIntegration = true;
|
||||||
# enableNushellIntegration = true;
|
# enableNushellIntegration = true;
|
||||||
|
|
||||||
enableTransience = true; # Fish Shell only. Отображает пустую строку при нажатии enter?
|
enableTransience = true; # Fish Shell only. Отображает пустую строку при нажатии enter?
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
programs.zellij = { # Аналог tmux
|
programs.zellij = { # Аналог tmux
|
||||||
enable = true;
|
enable = true;
|
||||||
enableBashIntegration = true;
|
# enableBashIntegration = true;
|
||||||
enableZshIntegration = true;
|
# enableZshIntegration = true;
|
||||||
enableFishIntegration = true;
|
# enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -37,31 +37,31 @@
|
||||||
# double-click-middle
|
# double-click-middle
|
||||||
# double-click-right
|
# double-click-right
|
||||||
|
|
||||||
# { config, ... }: let
|
{ config, ... }: let
|
||||||
# gruvbox = {
|
gruvbox = {
|
||||||
# black = "#000000";
|
black = "#000000";
|
||||||
# dark = "#1d1d1d";
|
dark = "#1d1d1d";
|
||||||
# disabled = "${config.lib.stylix.colors.base00}"; # #282828
|
disabled = "${config.lib.stylix.colors.base00}"; # #282828
|
||||||
# red = "${config.lib.stylix.colors.base08}"; # #fb4934
|
red = "${config.lib.stylix.colors.base08}"; # #fb4934
|
||||||
# red-alt = "#b22222";
|
red-alt = "#b22222";
|
||||||
# orange = "${config.lib.stylix.colors.base09}"; # #fe8019
|
orange = "${config.lib.stylix.colors.base09}"; # #fe8019
|
||||||
# orange-mat = "#e78a4e";
|
orange-mat = "#e78a4e";
|
||||||
# yellow = "${config.lib.stylix.colors.base0A}"; # #fabd2f
|
yellow = "${config.lib.stylix.colors.base0A}"; # #fabd2f
|
||||||
# yellow-mat = "#d8a657";
|
yellow-mat = "#d8a657";
|
||||||
# green = "${config.lib.stylix.colors.base0B}"; # #b8bb26
|
green = "${config.lib.stylix.colors.base0B}"; # #b8bb26
|
||||||
# green-alt = "#98971a";
|
green-alt = "#98971a";
|
||||||
# aqua = "${config.lib.stylix.colors.base0C}"; # #8ec07c
|
aqua = "${config.lib.stylix.colors.base0C}"; # #8ec07c
|
||||||
# aqua-alt = "#689d6a";
|
aqua-alt = "#689d6a";
|
||||||
# blue = "#458588";
|
blue = "#458588";
|
||||||
# blue-alt = "${config.lib.stylix.colors.base0D}"; # #83a598
|
blue-alt = "${config.lib.stylix.colors.base0D}"; # #83a598
|
||||||
# grey = "#313131";
|
grey = "#313131";
|
||||||
# dark-grey = "#222222";
|
dark-grey = "#222222";
|
||||||
# cream = "${config.lib.stylix.colors.base07}"; # #fbf1c7
|
cream = "${config.lib.stylix.colors.base07}"; # #fbf1c7
|
||||||
# white = "#FFFFFF";
|
white = "#FFFFFF";
|
||||||
# transparent = "#00000000";
|
transparent = "#00000000";
|
||||||
# Stransparent = "#CC000000";
|
Stransparent = "#CC000000";
|
||||||
# };
|
};
|
||||||
# in
|
in
|
||||||
{ # Статус бар внизу
|
{ # Статус бар внизу
|
||||||
services.polybar = {
|
services.polybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -75,429 +75,379 @@
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
settings = {
|
settings = { # Или переимоневать в "config"? Не понял в чём разница
|
||||||
|
# "colors" = {};
|
||||||
|
|
||||||
"global/wm" = {
|
"global/wm" = {
|
||||||
margin-bottom = 0;
|
margin-bottom = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# bottom это просто имя, это не говорит бару быть внизу, можно написать что угодно
|
||||||
"bar/bottom" = {
|
"bar/bottom" = {
|
||||||
monitor = "$\{env:MONITOR:}";
|
# monitor = "polybar -M | cut -d ':' -f 1"; # содержит список мониторов
|
||||||
fixed-center = true; # Мидл модуль будет по центру экрана. При false будет между левым и правым модулями
|
# monitor-strict = false; # Require the monitor to be in connected state
|
||||||
|
# monitor-exact = true; # Зачем? Нечёткий поиск мониторов, если они называются по разному с разными драйверами
|
||||||
bottom = true; # Put the bar at the bottom of the screen
|
bottom = true; # Put the bar at the bottom of the screen
|
||||||
|
fixed-center = true; # Мидл модуль будет по центру экрана. При false будет между левым и правым модулями
|
||||||
|
enable-ipc = true; # Enable support for inter-process messaging
|
||||||
|
double-click-interval = 400; # If two clicks are received within this interval (ms), they are recognized as a double click.
|
||||||
|
offset-x = 0; # Offset the bar window in the x and/or y direction.
|
||||||
|
offset-y = 0; # Supports any percentage with offset relative to the monitor width or height
|
||||||
|
|
||||||
|
width = "100%"; # Ширина относительно ширины монитора
|
||||||
|
height = "20pt"; # Высота относительно высоты монитора. Не ебу что значит pt
|
||||||
|
radius = 0;
|
||||||
|
dpi = 100; # Для ppi монитора
|
||||||
|
background = gruvbox.transparent; # Фон бара
|
||||||
|
foreground = gruvbox.cream; # Передний план
|
||||||
|
border-color = gruvbox.transparent; # Цвет контура
|
||||||
|
border-size = "3pt"; # Размер контура
|
||||||
|
module-margin = 0; # Margin to add before/after each module. Можно юзать module-margin-{left,right}
|
||||||
|
padding = "4pt"; # Padding to add at the beginning/end of the bar. Можно юзать padding-{left,right}
|
||||||
|
separator-foreground = gruvbox.transparent;
|
||||||
|
separator = " "; # The separator will be inserted between the output of each module
|
||||||
|
|
||||||
|
# If you don't explicitly set the font-index for a tag,
|
||||||
|
# the bar will iterate the font list and pick the first one that is able to draw the character
|
||||||
|
font-0 = "Roboto condensed:size=11:weight=bold;2";
|
||||||
|
font-1 = "Font Awesome 6 Free:pixelsize=11;2";
|
||||||
|
font-2 = "Font Awesome 6 Free Solid:pixelsize=11;2";
|
||||||
|
font-3 = "Font Awesome 6 Brands:pixelsize=11;2";
|
||||||
|
font-4 = "JetBrainsMono Nerd Font Mono:size=24:weight=bold;5";
|
||||||
|
font-5 = "Noto Sans:size=11:weight=bold;1"; # Мб надо добавить CJK версии
|
||||||
|
|
||||||
|
modules-left = "bspwm title";
|
||||||
modules-center = "time";
|
modules-center = "time";
|
||||||
|
modules-right = "cpu memory pulseaudio tray xkeyboard rofi";
|
||||||
|
# Для модула right ещё можно добавить следующие модули:
|
||||||
|
# "battery", ""
|
||||||
|
|
||||||
|
# Restack the bar window and put it above the selected window manager's root
|
||||||
|
# Fixes the issue where the bar is being drawn on top of fullscreen window's
|
||||||
|
# Currently supported values:
|
||||||
|
# generic (Tries the ewmh strategy and falls back to the bottom strategy.
|
||||||
|
# This is a best-effort strategy and may change and be tweaked in
|
||||||
|
# the future, the individual strategies are available on their own)
|
||||||
|
# (New in version 3.6.0)
|
||||||
|
# (Changed in version 3.7.0: Tries the ewmh strategy instead of just the bottom strategy)
|
||||||
|
# bspwm (Moves the bar window above all bspwm root windows)
|
||||||
|
# bottom (Moves the bar window above the first window in the window stack.
|
||||||
|
# Works in xmonad, may not work on other WMs
|
||||||
|
# New in version 3.7.0)
|
||||||
|
# ewmh (Moves the bar above the window specified in _NET_SUPPORTING_WM_CHECK, if it is set
|
||||||
|
# New in version 3.7.0)
|
||||||
|
# i3 (requires `override-redirect = true`)
|
||||||
|
wm-restack = "bspwm";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"module/rofi" = {
|
||||||
|
type = "custom/text";
|
||||||
|
click-left = "exec rofi -show drun -show-icons";
|
||||||
|
label = " ";
|
||||||
|
# click-right= exec ~/.config/i3/scripts/power.sh;
|
||||||
|
content-foreground = gruvbox.orange;
|
||||||
|
content-background = gruvbox.black;
|
||||||
|
};
|
||||||
|
|
||||||
|
"module/bspwm" = { # Воркспейсы bspwm
|
||||||
|
type = "internal/bspwm";
|
||||||
|
pin-workspaces = true; # Only show workspaces defined on the same output as the bar
|
||||||
|
inline-mode = true; # Output mode flags after focused state label. Не понял что значит
|
||||||
|
enable-click = true; # Create click handler used to focus workspace
|
||||||
|
enable-scroll = false; # Create scroll handlers used to cycle workspaces
|
||||||
|
reverse-scroll = false; # Set the scroll cycle direction
|
||||||
|
occupied-scroll = true; # Only scroll through occupied workspaces
|
||||||
|
|
||||||
|
ws-icon-1 = "1;1";
|
||||||
|
ws-icon-2 = "2;2";
|
||||||
|
ws-icon-3 = "3;3";
|
||||||
|
ws-icon-4 = "4;4";
|
||||||
|
ws-icon-5 = "5;5";
|
||||||
|
ws-icon-6 = "6;6";
|
||||||
|
ws-icon-7 = "7;7";
|
||||||
|
ws-icon-8 = "8;8";
|
||||||
|
ws-icon-9 = "9;9";
|
||||||
|
ws-icon-10 = "10;10";
|
||||||
|
|
||||||
|
format = "<label-state> <label-mode>"; # Это невозможно описать. Я сам не до конца понял
|
||||||
|
|
||||||
|
label-mode = "%mode%";
|
||||||
|
label-mode-padding = 1;
|
||||||
|
label-mode-background = gruvbox.red-alt;
|
||||||
|
label-mode-foreground = gruvbox.white;
|
||||||
|
|
||||||
|
label-focused = "%icon%";
|
||||||
|
label-focused-font = 5;
|
||||||
|
label-focused-foreground = gruvbox.yellow;
|
||||||
|
label-focused-background = gruvbox.black;
|
||||||
|
label-focused-padding = 2;
|
||||||
|
|
||||||
|
label-unfocused = "%icon%";
|
||||||
|
label-unfocused-font = 5;
|
||||||
|
label-unfocused-foreground = gruvbox.cream;
|
||||||
|
label-unfocused-background= gruvbox.black;
|
||||||
|
label-unfocused-padding = 2;
|
||||||
|
|
||||||
|
label-visible = "%icon%";
|
||||||
|
label-visible-padding = 2;
|
||||||
|
|
||||||
|
label-urgent = "%icon%";
|
||||||
|
label-urgent-font = 5;
|
||||||
|
label-urgent-foreground = gruvbox.red-alt;
|
||||||
|
label-urgent-background = gruvbox.black;
|
||||||
|
label-urgent-padding = 2;
|
||||||
|
|
||||||
|
label-separator = "";
|
||||||
|
label-separator-padding = 0;
|
||||||
|
label-separator-foreground = gruvbox.transparent;
|
||||||
|
};
|
||||||
|
|
||||||
|
"module/title" = { # Отображение имени окна
|
||||||
|
type = "internal/xwindow";
|
||||||
|
format-prefix = " ";
|
||||||
|
format-prefix-foreground = gruvbox.yellow-mat;
|
||||||
|
format-prefix-background = gruvbox.black;
|
||||||
|
|
||||||
|
label = "%title%";
|
||||||
|
label-maxlen = 50;
|
||||||
|
label-foreground = gruvbox.cream;
|
||||||
|
label-background = gruvbox.dark;
|
||||||
|
label-padding-left = 2;
|
||||||
|
label-padding-right = 2;
|
||||||
|
};
|
||||||
|
|
||||||
|
# %A: Полное название дня недели (например, "Monday")
|
||||||
|
# %d: День месяца в формате двух цифр (например, "01")
|
||||||
|
# %b или %B: Сокращённое или полное название месяца ("Jan", "January")
|
||||||
|
# %m: Месяц в формате двух цифр (например, "01" для января)
|
||||||
"module/time" = {
|
"module/time" = {
|
||||||
type = "internal/date";
|
type = "internal/date";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
# format = "🕓 <label>";
|
format-prefix = " ";
|
||||||
# format-prefix = " ";
|
format-prefix-foreground = gruvbox.aqua;
|
||||||
# format-prefix-foreground = gruvbox.aqua;
|
format-prefix-background = gruvbox.black;
|
||||||
# format-prefix-background = gruvbox.black;
|
|
||||||
# date = "%A %d %b %Y | %H:%M:%S";
|
# date = "%A %d %b %Y | %H:%M:%S";
|
||||||
date = "%d %B %Y";
|
date = "%d %B %Y";
|
||||||
time = "%H:%M:%S";
|
time = "%H:%M:%S";
|
||||||
date-alt = "%d-%m-%Y"; # If defined, clicking will toggle between formats
|
date-alt = "%d-%m-%Y"; # If defined, clicking will toggle between formats
|
||||||
time-alt = "%H:%M"; # If defined, clicking will toggle between formats
|
time-alt = "%H:%M"; # If defined, clicking will toggle between formats
|
||||||
label = "%date% %time%";
|
label = "%date% %time%";
|
||||||
# label-foreground = gruvbox.cream;
|
label-foreground = gruvbox.cream;
|
||||||
# label-background = gruvbox.dark;
|
label-background = gruvbox.dark;
|
||||||
# label-font = 3;
|
|
||||||
label-padding-left = 2;
|
label-padding-left = 2;
|
||||||
label-padding-right = 2;
|
label-padding-right = 2;
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
# settings = { # Или переимоневать в "config"? Не понял в чём разница
|
"module/xkeyboard" = {
|
||||||
# # "colors" = {};
|
type = "internal/xkeyboard";
|
||||||
|
blacklist-0 = "num lock";
|
||||||
|
blacklist-1 = "scroll lock";
|
||||||
|
format = "<label-layout> <label-indicator>";
|
||||||
|
label-layout-padding = 1;
|
||||||
|
label-layout-foreground = gruvbox.cream;
|
||||||
|
label-indicator-on = "%name%";
|
||||||
|
# layout-icon-default = "some-icon";
|
||||||
|
layout-icon-0 = "RU";
|
||||||
|
layout-icon-1 = "EN";
|
||||||
|
label-indicator-on-capslock = "!";
|
||||||
|
label-indicator-off-capslock = "";
|
||||||
|
};
|
||||||
|
|
||||||
# "global/wm" = {
|
"module/tray" = {
|
||||||
# margin-bottom = 0;
|
type = "internal/tray";
|
||||||
# };
|
format = "<tray>";
|
||||||
|
format-prefix = " ";
|
||||||
|
format-prefix-foreground = gruvbox.orange;
|
||||||
|
format-prefix-background = gruvbox.black;
|
||||||
|
|
||||||
# # bottom это просто имя, это не говорит бару быть внизу, можно написать что угодно
|
# tray-size = "66%"; # relative to bar height, non-negative
|
||||||
# "bar/bottom" = {
|
tray-spacing = "8px";
|
||||||
# monitor = "polybar -M | cut -d ':' -f 1"; # содержит список мониторов
|
format-padding = "5px";
|
||||||
# monitor-strict = false; # Require the monitor to be in connected state
|
format-background = gruvbox.black;
|
||||||
# monitor-exact = true; # Зачем? Нечёткий поиск мониторов, если они называются по разному с разными драйверами
|
tray-background = gruvbox.black;
|
||||||
# bottom = true; # Put the bar at the bottom of the screen
|
# tray-foreground = gruvbox.cream; # сам добавил
|
||||||
# fixed-center = true; # Мидл модуль будет по центру экрана. При false будет между левым и правым модулями
|
};
|
||||||
# width = "100%"; # Ширина относительно ширины монитора
|
|
||||||
# height = "20pt"; # Высота относительно высоты монитора. Не ебу что значит pt
|
|
||||||
# offset-x = 0; # Offset the bar window in the x and/or y direction.
|
|
||||||
# offset-y = 0; # Supports any percentage with offset relative to the monitor width or height
|
|
||||||
# padding = 0; # Padding to add at the beginning/end of the bar. Можно юзать padding-{left,right}
|
|
||||||
# enable-ipc = true; # Enable support for inter-process messaging
|
|
||||||
# double-click-interval = 400; # If two clicks are received within this interval (ms), they are recognized as a double click.
|
|
||||||
|
|
||||||
# module-margin = 1; # Margin to add before/after each module. Можно юзать module-margin-{left,right}
|
"module/pulseaudio" = {
|
||||||
# # separator = " "; # The separator will be inserted between the output of each module
|
type = "internal/pulseaudio";
|
||||||
# # separator-foreground = gruvbox.transparent;
|
# click-left = "exec pavucontrol";
|
||||||
|
format-volume-prefix = " ";
|
||||||
|
format-volume-prefix-foreground = gruvbox.blue-alt;
|
||||||
|
format-volume-prefix-background= gruvbox.black;
|
||||||
|
format-volume = "<label-volume>";
|
||||||
|
|
||||||
# # background = gruvbox.transparent; # Фон бара
|
label-volume = "%percentage%%";
|
||||||
# # foreground = gruvbox.cream; # Передний план
|
label-volume-foreground= gruvbox.cream;
|
||||||
# # border-color = gruvbox.transparent; # Цвет контура
|
label-volume-background= gruvbox.dark;
|
||||||
# # border-size = "3pt"; # Размер контура
|
label-volume-padding-left=2;
|
||||||
# # line-color = "#f00"; # Under-/overline argb color. Может быть {overline,underline}-color
|
label-volume-padding-right=2;
|
||||||
# # line-size = 0; # Under-/overline pixel size. Может быть {overline,underline}-size
|
|
||||||
|
|
||||||
# # If you don't explicitly set the font-index for a tag,
|
format-muted-prefix = " ";
|
||||||
# # the bar will iterate the font list and pick the first one that is able to draw the character
|
format-muted-foreground = gruvbox.orange;
|
||||||
# # font-0 = "JetBrainsMono Nerd Font";
|
format-muted-background = gruvbox.black;
|
||||||
|
|
||||||
# modules-left = "bspwm title";
|
label-muted = "muted";
|
||||||
# modules-center = "time";
|
label-muted-foreground = gruvbox.orange-mat;
|
||||||
# modules-right = "cpu cpu-temp gpu-temp battery memory pulseaudio tray xkeyboard rofi";
|
label-muted-background = gruvbox.dark;
|
||||||
|
label-muted-padding = 2;
|
||||||
|
};
|
||||||
|
|
||||||
# # Restack the bar window and put it above the selected window manager's root
|
"module/memory" = {
|
||||||
# # Fixes the issue where the bar is being drawn on top of fullscreen window's
|
type = "internal/memory";
|
||||||
# # Currently supported values:
|
interval = 1;
|
||||||
# # generic (Tries the ewmh strategy and falls back to the bottom strategy.
|
format-prefix = " ";
|
||||||
# # This is a best-effort strategy and may change and be tweaked in
|
format-prefix-foreground = gruvbox.blue;
|
||||||
# # the future, the individual strategies are available on their own)
|
format-prefix-background = gruvbox.black;
|
||||||
# # (New in version 3.6.0)
|
|
||||||
# # (Changed in version 3.7.0: Tries the ewmh strategy instead of just the bottom strategy)
|
|
||||||
# # bspwm (Moves the bar window above all bspwm root windows)
|
|
||||||
# # bottom (Moves the bar window above the first window in the window stack.
|
|
||||||
# # Works in xmonad, may not work on other WMs
|
|
||||||
# # New in version 3.7.0)
|
|
||||||
# # ewmh (Moves the bar above the window specified in _NET_SUPPORTING_WM_CHECK, if it is set
|
|
||||||
# # New in version 3.7.0)
|
|
||||||
# # i3 (requires `override-redirect = true`)
|
|
||||||
# wm-restack = "bspwm";
|
|
||||||
# };
|
|
||||||
|
|
||||||
# "module/rofi" = {
|
label = "RAM: %gb_used%/%gb_total% | SWAP: %gb_swap_used%/%gb_swap_total%";
|
||||||
# type = "custom/text";
|
label-foreground = gruvbox.cream;
|
||||||
# click-left = "exec rofi -show drun";
|
label-background = gruvbox.dark;
|
||||||
# label = " ";
|
label-padding-left = 2;
|
||||||
# };
|
label-padding-right = 2;
|
||||||
|
};
|
||||||
|
|
||||||
# "module/bspwm" = { # Воркспейсы bspwm
|
# "module/battery" = {
|
||||||
# type = "internal/bspwm";
|
# type = internal/battery;
|
||||||
# pin-workspaces = true; # Only show workspaces defined on the same output as the bar
|
# full-at = 98;
|
||||||
# inline-mode = true; # Output mode flags after focused state label. Не понял что значит
|
# low-at = 20;
|
||||||
# enable-click = true; # Create click handler used to focus workspace
|
# battery = "BAT0";
|
||||||
# enable-scroll = false; # Create scroll handlers used to cycle workspaces
|
# adapter = "ADP1";
|
||||||
# reverse-scroll = false; # Set the scroll cycle direction
|
# poll-interval = 5;
|
||||||
# occupied-scroll = true; # Only scroll through occupied workspaces
|
# time-format = "%H:%M";
|
||||||
|
|
||||||
# ws-icon-0 = "0;0";
|
# format-charging = "<animation-charging><label-charging>";
|
||||||
# ws-icon-1 = "1;1";
|
# # format-charging-foreground = gruvbox.green;
|
||||||
# ws-icon-2 = "2;2";
|
# # format-charging-background = gruvbox.black;
|
||||||
# ws-icon-3 = "3;3";
|
# label-charging = "%percentage%%";
|
||||||
# ws-icon-4 = "4;4";
|
# # label-charging-foreground = gruvbox.cream;
|
||||||
# ws-icon-5 = "5;5";
|
# # label-charging-background = gruvbox.dark;
|
||||||
# ws-icon-6 = "6;6";
|
# label-charging-padding= 2;
|
||||||
# ws-icon-7 = "7;7";
|
|
||||||
# ws-icon-8 = "8;8";
|
|
||||||
# ws-icon-9 = "9;9";
|
|
||||||
# ws-icon-10 = "10;10";
|
|
||||||
|
|
||||||
# format = "<label-state> <label-mode>"; # Это невозможно описать. Я сам не до конца понял
|
# format-discharging = "<ramp-capacity><label-discharging>";
|
||||||
|
# # format-discharging-foreground = gruvbox.green-alt;
|
||||||
|
# # format-discharging-background = gruvbox.black;
|
||||||
|
# label-discharging = "%percentage%%";
|
||||||
|
# # label-discharging-foreground = gruvbox.cream;
|
||||||
|
# # label-discharging-background = gruvbox.dark;
|
||||||
|
# label-discharging-padding = 2;
|
||||||
|
|
||||||
# # label-mode = "%mode%";
|
# format-full-prefix = " ";
|
||||||
# # label-mode-padding = 1;
|
# # format-full-foreground = gruvbox.aqua;
|
||||||
# # label-mode-background = gruvbox.red-alt;
|
# # format-full-background = gruvbox.black;
|
||||||
# # label-mode-foreground = gruvbox.white;
|
# label-full = "%percentage%%";
|
||||||
|
# # label-full-foreground = gruvbox.cream;
|
||||||
|
# # label-full-background = gruvbox.dark;
|
||||||
|
# label-full-padding = 2;
|
||||||
|
|
||||||
# # label-separator = "";
|
# label-low = "[ BATTERY LOW ] %percentage%%";
|
||||||
# # label-separator-padding = 0;
|
# # label-low-foreground = gruvbox.black;
|
||||||
# # label-separator-foreground = gruvbox.transparen;
|
# # label-low-background = gruvbox.red-alt;
|
||||||
|
# label-low-padding = 2;
|
||||||
|
|
||||||
# # label-focused = "%icon% %name%";
|
# # Only applies if <ramp-capacity> is used
|
||||||
# # label-focused-font = 5;
|
# ramp-capacity-0 = " ";
|
||||||
# # label-focused-foreground = gruvbox.yellow;
|
# ramp-capacity-1 = " ";
|
||||||
# # label-focused-underline = "#565c64";
|
# ramp-capacity-2 = " ";
|
||||||
# # label-focused-padding = 1;
|
# ramp-capacity-3 = " ";
|
||||||
# # label-focused-background = gruvbox.black;
|
# ramp-capacity-4 = " ";
|
||||||
|
|
||||||
# # label-occupied = "%icon%";
|
# ramp-capacity-0-padding = 3;
|
||||||
# # label-occupied-foreground = "#646870";
|
# ramp-capacity-1-padding = 3;
|
||||||
# # label-occupied-background = "#2b2f37";
|
# ramp-capacity-2-padding = 3;
|
||||||
# # label-occupied-padding = 1;
|
# ramp-capacity-3-padding = 3;
|
||||||
|
# ramp-capacity-4-padding = 3;
|
||||||
|
|
||||||
# # label-empty = "%icon%";
|
# # ramp-capacity-0-foreground = gruvbox.red-alt;
|
||||||
# # label-empty-foreground = gruvbox.yellow;
|
# # ramp-capacity-1-foreground = gruvbox.green-alt;
|
||||||
# # label-empty-padding = 1;
|
# # ramp-capacity-2-foreground = gruvbox.green-alt;
|
||||||
# # label-empty-background = "#2b2f37";
|
# # ramp-capacity-3-foreground = gruvbox.green-alt;
|
||||||
|
# # ramp-capacity-4-foreground = gruvbox.green-alt;
|
||||||
|
|
||||||
# # label-unfocused = "%icon%";
|
# # ramp-capacity-0-background = gruvbox.black;
|
||||||
# # label-unfocused-font = 5;
|
# # ramp-capacity-1-background = gruvbox.black;
|
||||||
# # label-unfocused-foreground = gruvbox.cream;
|
# # ramp-capacity-2-background = gruvbox.black;
|
||||||
# # label-unfocused-background= gruvbox.black;
|
# # ramp-capacity-3-background = gruvbox.black;
|
||||||
# # label-unfocused-padding = 2;
|
# # ramp-capacity-4-background = gruvbox.black;
|
||||||
|
|
||||||
# # label-visible = "%icon%";
|
# # Only applies if <bar-capacity> is used
|
||||||
# # label-visible-padding = 2;
|
# bar-capacity-width = 10;
|
||||||
|
|
||||||
# # label-urgent = "%icon%";
|
# # Only applies if <animation-charging> is used
|
||||||
# # label-urgent-font = 5
|
# animation-charging-0 = " ";
|
||||||
# # label-urgent-foreground = gruvbox.red-alt;
|
# animation-charging-1 = " ";
|
||||||
# # label-urgent-background = gruvbox.black;
|
# animation-charging-2 = " ";
|
||||||
# # label-urgent-padding = 2;
|
# animation-charging-3 = " ";
|
||||||
# };
|
# animation-charging-4 = " ";
|
||||||
|
# animation-charging-framerate = 750;
|
||||||
|
|
||||||
# "module/title" = { # Отображение имени окна
|
# animation-charging-0-padding = 3;
|
||||||
# type = "internal/xwindow";
|
# animation-charging-1-padding = 3;
|
||||||
# format-prefix = " ";
|
# animation-charging-2-padding = 3;
|
||||||
# # format-prefix-foreground = gruvbox.yellow-mat;
|
# animation-charging-3-padding = 3;
|
||||||
# # format-prefix-background = gruvbox.black;
|
# animation-charging-4-padding = 3;
|
||||||
# # format-background = "#f00";
|
|
||||||
# # format-foreground = "#000";
|
|
||||||
# # format-padding = 4;
|
|
||||||
|
|
||||||
# # label = "%title%";
|
# # Animation-charging color
|
||||||
# label = "%class%";
|
# # animation-charging-0-foreground = gruvbox.green;
|
||||||
# label-maxlen = 60;
|
# # animation-charging-1-foreground = gruvbox.green;
|
||||||
# # label-foreground = gruvbox.cream;
|
# # animation-charging-2-foreground = gruvbox.green;
|
||||||
# # label-background = gruvbox.dark;
|
# # animation-charging-3-foreground = gruvbox.green;
|
||||||
# label-padding-left = 2;
|
# # animation-charging-4-foreground = gruvbox.green;
|
||||||
# label-padding-right = 2;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# # %A: Полное название дня недели (например, "Monday")
|
# # animation-charging-0-background = gruvbox.black;
|
||||||
# # %d: День месяца в формате двух цифр (например, "01")
|
# # animation-charging-1-background = gruvbox.black;
|
||||||
# # %b или %B: Сокращённое или полное название месяца ("Jan", "January")
|
# # animation-charging-2-background = gruvbox.black;
|
||||||
# # %m: Месяц в формате двух цифр (например, "01" для января)
|
# # animation-charging-3-background = gruvbox.black;
|
||||||
# "module/date" = {
|
# # animation-charging-4-background = gruvbox.black;
|
||||||
# type = "internal/date";
|
|
||||||
# interval = 1;
|
# # Only applies if <animation-discharging> is used;
|
||||||
# # format = "🕓 <label>";
|
# animation-discharging-0 = "[ ]";
|
||||||
# # format-prefix = " ";
|
# animation-discharging-1 = "[ ]";
|
||||||
# # format-prefix-foreground = gruvbox.aqua;
|
# animation-discharging-2 = "[ ]";
|
||||||
# # format-prefix-background = gruvbox.black;
|
# animation-discharging-3 = "[ ]";
|
||||||
# # date = "%A %d %b %Y | %H:%M:%S";
|
# animation-discharging-4 = "[ ]";
|
||||||
# date = "%d %B %Y";
|
# animation-discharging-framerate = 500;
|
||||||
# time = "%H:%M:%S";
|
|
||||||
# date-alt = "%d-%m-%Y"; # If defined, clicking will toggle between formats
|
# animation-discharging-0-padding = 1;
|
||||||
# # time-alt = "%H:%M:%S"; # If defined, clicking will toggle between formats
|
# animation-discharging-1-padding = 1;
|
||||||
# label = "%date% %time%";
|
# animation-discharging-2-padding = 1;
|
||||||
# # label-foreground = gruvbox.cream;
|
# animation-discharging-3-padding = 1;
|
||||||
# # label-background = gruvbox.dark;
|
# animation-discharging-4-padding = 1;
|
||||||
# # label-font = 3;
|
|
||||||
# label-padding-left = 2;
|
# # Animation discharging color
|
||||||
# label-padding-right = 2;
|
# # animation-discharging-0-foreground = gruvbox.cream;
|
||||||
|
# # animation-discharging-1-foreground = gruvbox.cream;
|
||||||
|
# # animation-discharging-2-foreground = gruvbox.cream;
|
||||||
|
# # animation-discharging-3-foreground = gruvbox.cream;
|
||||||
|
# # animation-discharging-4-foreground = gruvbox.cream;
|
||||||
|
|
||||||
|
# # animation-discharging-0-background = gruvbox.green-alt;
|
||||||
|
# # animation-discharging-1-background = gruvbox.green-alt;
|
||||||
|
# # animation-discharging-2-background = gruvbox.green-alt;
|
||||||
|
# # animation-discharging-3-background = gruvbox.green-alt;
|
||||||
|
# # animation-discharging-4-background = gruvbox.green-alt;
|
||||||
|
|
||||||
|
# animation-low-0 = "!";
|
||||||
|
# animation-low-1 = "!!";
|
||||||
|
# animation-low-framerate = 200;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# "module/xkeyboard" = {
|
"module/cpu" = {
|
||||||
# type = "internal/xkeyboard";
|
type = "internal/cpu";
|
||||||
# blacklist-0 = "num lock";
|
interval = 1;
|
||||||
# blacklist-1 = "scroll lock";
|
# format-prefix = " ";
|
||||||
# format = "<label-layout> <label-indicator>";
|
# format-prefix-foreground = gruvbox.orange-mat;
|
||||||
# label-layout-padding = 1;
|
# format-prefix-background = gruvbox.black;
|
||||||
# # label-layout-foreground = "#fff";
|
warn-percentage = 95;
|
||||||
# label-indicator-on = "%name%";
|
|
||||||
# # layout-icon-default = "some-icon";
|
|
||||||
# layout-icon-0 = "RU";
|
|
||||||
# layout-icon-1 = "EN";
|
|
||||||
# label-indicator-on-capslock = "!";
|
|
||||||
# label-indicator-off-capslock = "";
|
|
||||||
# };
|
|
||||||
|
|
||||||
# "module/tray" = {
|
label = "CPU %percentage%%";
|
||||||
# type = "internal/tray";
|
label-foreground = gruvbox.cream;
|
||||||
# format = "<tray>";
|
label-background = gruvbox.dark;
|
||||||
# # format-prefix = " ";
|
label-padding-left = 2;
|
||||||
# # format-prefix-foreground = gruvbox.orange;
|
label-padding-right = 2;
|
||||||
# # format-prefix-background = gruvbox.black;
|
label-warn = "CPU %percentage%%";
|
||||||
# tray-spacing = "8px";
|
};
|
||||||
# # tray-size = "66%"; # relative to bar height, non-negative
|
};
|
||||||
# format-padding = "5px";
|
|
||||||
# # format-background = gruvbox.black;
|
|
||||||
# # tray-background = gruvbox.black;
|
|
||||||
# # tray-foreground = gruvbox.cream; # сам добавил
|
|
||||||
# };
|
|
||||||
|
|
||||||
# "module/pulseaudio" = {
|
|
||||||
# type = "internal/pulseaudio";
|
|
||||||
# format-volume-prefix = " ";
|
|
||||||
# # format-volume-prefix-foreground = gruvbox.blue-alt;
|
|
||||||
# # format-volume-prefix-background= gruvbox.black;
|
|
||||||
# format-volume = "<label-volume>";
|
|
||||||
# label-volume = "%percentage%%";
|
|
||||||
# # label-volume-foreground= gruvbox.cream;
|
|
||||||
# # label-volume-background= gruvbox.dark;
|
|
||||||
# label-volume-padding-left=2;
|
|
||||||
# label-volume-padding-right=2;
|
|
||||||
# format-muted-prefix = " ";
|
|
||||||
# # format-muted-foreground = gruvbox.orange;
|
|
||||||
# # format-muted-background = gruvbox.black;
|
|
||||||
# label-muted = "muted";
|
|
||||||
# # label-muted-foreground = gruvbox.orange-mat;
|
|
||||||
# # label-muted-background = gruvbox.dark;
|
|
||||||
# label-muted-padding = 2;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# "module/memory" = {
|
|
||||||
# type = "internal/memory";
|
|
||||||
# interval = 3;
|
|
||||||
# # format-prefix = " ";
|
|
||||||
# # format-prefix-foreground = gruvbox.blue;
|
|
||||||
# # format-prefix-background = gruvbox.black;
|
|
||||||
# label = "RAM: %gb_used%/%gb_total% | SWAP: %gb_swap_used%/%gb_swap_total%";
|
|
||||||
# # label-foreground = gruvbox.cream;
|
|
||||||
# # label-background = gruvbox.dark;
|
|
||||||
# label-padding-left = 2;
|
|
||||||
# label-padding-right = 2;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# "module/battery" = {
|
|
||||||
# type = internal/battery;
|
|
||||||
# full-at = 98;
|
|
||||||
# low-at = 20;
|
|
||||||
# battery = "BAT0";
|
|
||||||
# adapter = "ADP1";
|
|
||||||
# poll-interval = 5;
|
|
||||||
# time-format = "%H:%M";
|
|
||||||
|
|
||||||
# format-charging = "<animation-charging><label-charging>";
|
|
||||||
# # format-charging-foreground = gruvbox.green;
|
|
||||||
# # format-charging-background = gruvbox.black;
|
|
||||||
# label-charging = "%percentage%%";
|
|
||||||
# # label-charging-foreground = gruvbox.cream;
|
|
||||||
# # label-charging-background = gruvbox.dark;
|
|
||||||
# label-charging-padding= 2;
|
|
||||||
|
|
||||||
# format-discharging = "<ramp-capacity><label-discharging>";
|
|
||||||
# # format-discharging-foreground = gruvbox.green-alt;
|
|
||||||
# # format-discharging-background = gruvbox.black;
|
|
||||||
# label-discharging = "%percentage%%";
|
|
||||||
# # label-discharging-foreground = gruvbox.cream;
|
|
||||||
# # label-discharging-background = gruvbox.dark;
|
|
||||||
# label-discharging-padding = 2;
|
|
||||||
|
|
||||||
# format-full-prefix = " ";
|
|
||||||
# # format-full-foreground = gruvbox.aqua;
|
|
||||||
# # format-full-background = gruvbox.black;
|
|
||||||
# label-full = "%percentage%%";
|
|
||||||
# # label-full-foreground = gruvbox.cream;
|
|
||||||
# # label-full-background = gruvbox.dark;
|
|
||||||
# label-full-padding = 2;
|
|
||||||
|
|
||||||
# label-low = "[ BATTERY LOW ] %percentage%%";
|
|
||||||
# # label-low-foreground = gruvbox.black;
|
|
||||||
# # label-low-background = gruvbox.red-alt;
|
|
||||||
# label-low-padding = 2;
|
|
||||||
|
|
||||||
# # Only applies if <ramp-capacity> is used
|
|
||||||
# ramp-capacity-0 = " ";
|
|
||||||
# ramp-capacity-1 = " ";
|
|
||||||
# ramp-capacity-2 = " ";
|
|
||||||
# ramp-capacity-3 = " ";
|
|
||||||
# ramp-capacity-4 = " ";
|
|
||||||
|
|
||||||
# ramp-capacity-0-padding = 3;
|
|
||||||
# ramp-capacity-1-padding = 3;
|
|
||||||
# ramp-capacity-2-padding = 3;
|
|
||||||
# ramp-capacity-3-padding = 3;
|
|
||||||
# ramp-capacity-4-padding = 3;
|
|
||||||
|
|
||||||
# # ramp-capacity-0-foreground = gruvbox.red-alt;
|
|
||||||
# # ramp-capacity-1-foreground = gruvbox.green-alt;
|
|
||||||
# # ramp-capacity-2-foreground = gruvbox.green-alt;
|
|
||||||
# # ramp-capacity-3-foreground = gruvbox.green-alt;
|
|
||||||
# # ramp-capacity-4-foreground = gruvbox.green-alt;
|
|
||||||
|
|
||||||
# # ramp-capacity-0-background = gruvbox.black;
|
|
||||||
# # ramp-capacity-1-background = gruvbox.black;
|
|
||||||
# # ramp-capacity-2-background = gruvbox.black;
|
|
||||||
# # ramp-capacity-3-background = gruvbox.black;
|
|
||||||
# # ramp-capacity-4-background = gruvbox.black;
|
|
||||||
|
|
||||||
# # Only applies if <bar-capacity> is used
|
|
||||||
# bar-capacity-width = 10;
|
|
||||||
|
|
||||||
# # Only applies if <animation-charging> is used
|
|
||||||
# animation-charging-0 = " ";
|
|
||||||
# animation-charging-1 = " ";
|
|
||||||
# animation-charging-2 = " ";
|
|
||||||
# animation-charging-3 = " ";
|
|
||||||
# animation-charging-4 = " ";
|
|
||||||
# animation-charging-framerate = 750;
|
|
||||||
|
|
||||||
# animation-charging-0-padding = 3;
|
|
||||||
# animation-charging-1-padding = 3;
|
|
||||||
# animation-charging-2-padding = 3;
|
|
||||||
# animation-charging-3-padding = 3;
|
|
||||||
# animation-charging-4-padding = 3;
|
|
||||||
|
|
||||||
# # Animation-charging color
|
|
||||||
# # animation-charging-0-foreground = gruvbox.green;
|
|
||||||
# # animation-charging-1-foreground = gruvbox.green;
|
|
||||||
# # animation-charging-2-foreground = gruvbox.green;
|
|
||||||
# # animation-charging-3-foreground = gruvbox.green;
|
|
||||||
# # animation-charging-4-foreground = gruvbox.green;
|
|
||||||
|
|
||||||
# # animation-charging-0-background = gruvbox.black;
|
|
||||||
# # animation-charging-1-background = gruvbox.black;
|
|
||||||
# # animation-charging-2-background = gruvbox.black;
|
|
||||||
# # animation-charging-3-background = gruvbox.black;
|
|
||||||
# # animation-charging-4-background = gruvbox.black;
|
|
||||||
|
|
||||||
# # Only applies if <animation-discharging> is used;
|
|
||||||
# animation-discharging-0 = "[ ]";
|
|
||||||
# animation-discharging-1 = "[ ]";
|
|
||||||
# animation-discharging-2 = "[ ]";
|
|
||||||
# animation-discharging-3 = "[ ]";
|
|
||||||
# animation-discharging-4 = "[ ]";
|
|
||||||
# animation-discharging-framerate = 500;
|
|
||||||
|
|
||||||
# animation-discharging-0-padding = 1;
|
|
||||||
# animation-discharging-1-padding = 1;
|
|
||||||
# animation-discharging-2-padding = 1;
|
|
||||||
# animation-discharging-3-padding = 1;
|
|
||||||
# animation-discharging-4-padding = 1;
|
|
||||||
|
|
||||||
# # Animation discharging color
|
|
||||||
# # animation-discharging-0-foreground = gruvbox.cream;
|
|
||||||
# # animation-discharging-1-foreground = gruvbox.cream;
|
|
||||||
# # animation-discharging-2-foreground = gruvbox.cream;
|
|
||||||
# # animation-discharging-3-foreground = gruvbox.cream;
|
|
||||||
# # animation-discharging-4-foreground = gruvbox.cream;
|
|
||||||
|
|
||||||
# # animation-discharging-0-background = gruvbox.green-alt;
|
|
||||||
# # animation-discharging-1-background = gruvbox.green-alt;
|
|
||||||
# # animation-discharging-2-background = gruvbox.green-alt;
|
|
||||||
# # animation-discharging-3-background = gruvbox.green-alt;
|
|
||||||
# # animation-discharging-4-background = gruvbox.green-alt;
|
|
||||||
|
|
||||||
# animation-low-0 = "!";
|
|
||||||
# animation-low-1 = "!!";
|
|
||||||
# animation-low-framerate = 200;
|
|
||||||
# };
|
|
||||||
|
|
||||||
# "module/cpu" = {
|
|
||||||
# type = "internal/cpu";
|
|
||||||
# warn-percentage = 95;
|
|
||||||
# label = "CPU %percentage%%";
|
|
||||||
# label-warn = "CPU %percentage%%";
|
|
||||||
# };
|
|
||||||
|
|
||||||
# # Full path of temperature sysfs path
|
|
||||||
# # Use `sensors` to find preferred temperature source, then run
|
|
||||||
# # $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
|
|
||||||
# # to find path to desired file
|
|
||||||
# # Default reverts to thermal zone setting
|
|
||||||
# "module/cpu-temp" = {
|
|
||||||
# type = "internal/temperature";
|
|
||||||
# hwmon-path = "/sys/devices/platform/coretemp.0/hwmon/hwmon4/temp1_input";
|
|
||||||
# warn-temperature = 80;
|
|
||||||
# label = "%temperature-c% °C";
|
|
||||||
# label-warn = "%temperature-c% °C";
|
|
||||||
# # label-warn-foreground = "#f00";
|
|
||||||
# };
|
|
||||||
|
|
||||||
# "module/gpu-temp" = {
|
|
||||||
# type = "internal/temperature";
|
|
||||||
# hwmon-path = "/sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.0/hwmon/hwmon5/temp3_input";
|
|
||||||
# warn-temperature = 80;
|
|
||||||
# label = "GPU %temperature-c% °C";
|
|
||||||
# label-warn = "GPU %temperature-c% °C";
|
|
||||||
# # label-warn-foreground = "#f00";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ in {
|
||||||
"super + {_,shift + }{1-9,0}" = "bspc {desktop -f,node -d} {1-9,10}.local";
|
"super + {_,shift + }{1-9,0}" = "bspc {desktop -f,node -d} {1-9,10}.local";
|
||||||
|
|
||||||
# Переключает на первый пустой воркспейс
|
# Переключает на первый пустой воркспейс
|
||||||
"super + ctrl + Down" = "bspk desktop -f next.!occupied";
|
"super + ctrl + Down" = "bspc desktop -f next.!occupied";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -163,7 +163,8 @@
|
||||||
|
|
||||||
nekoray # VPN
|
nekoray # VPN
|
||||||
ksnip # Скрины. Аналоги - Flameshot
|
ksnip # Скрины. Аналоги - Flameshot
|
||||||
kdePackages.ark # Архиватор
|
# kdePackages.ark # Архиватор от kde. Имеет в зависимостях blowjob
|
||||||
|
file-roller # Архиватор от gnome
|
||||||
qbittorrent # Торренты качать
|
qbittorrent # Торренты качать
|
||||||
thunderbird # Почтовый клиент для своей почты
|
thunderbird # Почтовый клиент для своей почты
|
||||||
screenkey # A screencast tool to display your keys
|
screenkey # A screencast tool to display your keys
|
||||||
|
|
@ -352,6 +353,10 @@
|
||||||
clinfo # Проверяет работоспособность OpenCL?
|
clinfo # Проверяет работоспособность OpenCL?
|
||||||
libcap # Мб надо для nekoray
|
libcap # Мб надо для nekoray
|
||||||
|
|
||||||
|
polybar
|
||||||
|
|
||||||
# lxqt.lxqt-policykit # Меню для воода пароля при запуске с правами админа. Пока юзаю от гнома
|
# lxqt.lxqt-policykit # Меню для воода пароля при запуске с правами админа. Пока юзаю от гнома
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue