Waybar tmux fix, readme video

This commit is contained in:
foglar 2024-12-30 09:08:38 +01:00
parent ca1745a8d9
commit 2ab5b39140
3 changed files with 17 additions and 9 deletions

View File

@ -11,6 +11,8 @@
## Showcase
[![Watch the video](https://github.com/foglar/nix-config/raw/refs/heads/master/docs/demo.mp4)
<div>
<img width="300" src="./docs/screenshot1.png" />
<img width="300" src="./docs/screenshot2.png" />

View File

@ -2,6 +2,7 @@
lib,
config,
pkgs,
userSettings,
...
}: {
options = {
@ -287,13 +288,20 @@
};
style = ''
@define-color bar-bg rgba(0, 0, 0, 0);
${
if
(
userSettings.theme == "catppuccin-mocha" || userSettings.theme == "tokyo-night-dark"
)
then "@define-color bar-bg rgba(0, 0, 0, 0);
@define-color main-bg #11111b;
@define-color main-fg #cdd6f4;
@define-color wb-act-bg #a6adc8;
@define-color wb-act-fg #313244;
@define-color wb-hvr-bg #f5c2e7;
@define-color wb-hvr-fg #313;
@define-color wb-hvr-fg #313;"
else ""
}
* {
border: none;
border-radius: 0px;

View File

@ -9,7 +9,6 @@
};
config = lib.mkIf config.program.tmux.enable {
stylix.targets.tmux.enable = true;
programs.tmux = {
@ -53,7 +52,6 @@
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows only
bind -n M-H previous-window
bind -n M-L next-window