framework: merged updates
This commit is contained in:
commit
3ba1aecdb4
15 changed files with 72 additions and 96 deletions
|
|
@ -11,6 +11,7 @@
|
|||
];
|
||||
|
||||
programs.waybar.settings.mainBar.modules-left = ["niri/workspaces" "niri/window"];
|
||||
programs.waybar.settings.mainBar.modules-right = lib.mkBefore ["niri/language"];
|
||||
|
||||
programs.fuzzel = {
|
||||
enable = true;
|
||||
|
|
@ -32,8 +33,8 @@
|
|||
programs.niri = {
|
||||
settings = {
|
||||
input.keyboard = {
|
||||
xkb.layout = "us";
|
||||
xkb.variant = "dvorak";
|
||||
xkb.layout = "us,gb";
|
||||
xkb.variant = "dvorak,";
|
||||
xkb.options = "caps:escape";
|
||||
};
|
||||
input.mouse = {
|
||||
|
|
@ -57,7 +58,7 @@
|
|||
};
|
||||
environment = {
|
||||
NIXOS_OZONE_WL = "1";
|
||||
DISPLAY = ":1";
|
||||
DISPLAY = ":0";
|
||||
};
|
||||
binds = with config.lib.niri.actions; {
|
||||
"Mod+Return".action.spawn = [(lib.getExe config.programs.terminal)];
|
||||
|
|
@ -110,6 +111,7 @@
|
|||
|
||||
"Mod+M".action = switch-preset-column-width;
|
||||
"Mod+G".action = toggle-window-floating;
|
||||
"Mod+Shift+Ctrl+Alt+Space".action = switch-layout "next";
|
||||
|
||||
"Print".action = screenshot;
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
layer = "bottom";
|
||||
position = "top";
|
||||
height = 36;
|
||||
modules-right = ["mpris" "power-profiles-daemon" "cpu" "idle_inhibitor" "pulseaudio" "clock" "tray" "battery"];
|
||||
modules-right = ["mpris" "power-profiles-daemon" "cpu" "idle_inhibitor" "wireplumber" "clock" "tray" "battery"];
|
||||
"cpu" = {
|
||||
"format" = "{icon}";
|
||||
"format-icons" = ["▁" "▂" "▃" "▄" "▅" "▆" "▇" "█"];
|
||||
|
|
@ -35,24 +35,19 @@
|
|||
tooltip-format-activated = "system sleep inhibited";
|
||||
tooltip-format-deactivated = "system will sleep when idle";
|
||||
};
|
||||
pulseaudio = {
|
||||
format-muted = "🔇 {volume}";
|
||||
format = "{icon} {volume}";
|
||||
format-icons.default = ["🔈" "🔉" "🔊"];
|
||||
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
|
||||
wireplumber = {
|
||||
format-muted = "🔇";
|
||||
format = "{icon} {volume}%";
|
||||
format-icons = ["🔈" "🔉" "🔊"];
|
||||
on-click = "pwvucontrol";
|
||||
};
|
||||
mpris = {
|
||||
format = "{player_icon} {title}";
|
||||
format-paused = "⏸️ {player_icon} {title}";
|
||||
player-icons = {
|
||||
default = "▶️";
|
||||
mpd = "🎵";
|
||||
kdeconnect = "☎️";
|
||||
};
|
||||
format = "▶️ {title}";
|
||||
format-paused = "⏸️ {title}";
|
||||
};
|
||||
battery = {
|
||||
format = "{icon} {capacity}%";
|
||||
format-icons = ["🤏" "🪫" "🔋" "🔋"];
|
||||
format-icons = ["🪫" "🔋" "🔋"];
|
||||
format-charging = "🔌 {capacity}%";
|
||||
states = {
|
||||
warning = 30;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue