audio, prompt, shell, tlp

This commit is contained in:
Aria Nolan 2023-11-19 20:27:09 -05:00
parent 698c7d7ee7
commit b1d93622d3
6 changed files with 25 additions and 4 deletions

View file

@ -53,6 +53,7 @@
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
services.geoclue2.enable = true; services.geoclue2.enable = true;
services.tlp.enable = true;
# Enable sound. # Enable sound.
sound.enable = true; sound.enable = true;
@ -61,6 +62,7 @@
services.pipewire = { services.pipewire = {
enable = true; enable = true;
audio.enable = true;
alsa.enable = true; alsa.enable = true;
pulse.enable = true; pulse.enable = true;
}; };

View file

@ -39,6 +39,11 @@
scrolloff = 5; scrolloff = 5;
middle-click-paste = false; middle-click-paste = false;
cursorline = true; cursorline = true;
cursor-shape = {
insert = "bar";
normal = "block";
select = "block";
};
auto-format = false; auto-format = false;
idle-timeout = 400; idle-timeout = 400;
color-modes = true; color-modes = true;

View file

@ -13,7 +13,6 @@
settings = { settings = {
add_newline = false; add_newline = false;
format = lib.concatStrings [ format = lib.concatStrings [
# "$line_break"
"$shlvl" "$shlvl"
"$directory" "$directory"
"$git_branch" "$git_branch"
@ -23,6 +22,7 @@
"$package" "$package"
"$nix_shell" "$nix_shell"
"$cmd_duration" "$cmd_duration"
"$line_break"
"$status" "$status"
"$character" "$character"
]; ];

View file

@ -1,8 +1,22 @@
{...}: { {pkgs, ...}: {
programs.fish = { programs.fish = {
enable = true; enable = true;
interactiveShellInit = '' interactiveShellInit = ''
set -g fish_greeting set -g fish_greeting
fish_vi_key_bindings
set -g fish_cursor_insert line
''; '';
plugins = [
{
name = "z";
src = pkgs.fetchFromGitHub {
owner = "jethrokuan";
repo = "z";
rev = "85f863f20f24faf675827fb00f3a4e15c7838d76";
sha256 = "+FUBM7CodtZrYKqU542fQD+ZDGrd2438trKM0tIESs0=";
};
}
];
}; };
} }

View file

@ -1,5 +1,5 @@
exec nm-applet exec nm-applet
# exec systemctl --user restart waybar exec systemctl --user restart wireplumber
exec gammastep-indicator exec gammastep-indicator
exec dunst exec dunst
#exec swayidle -w \ #exec swayidle -w \

View file

@ -9,7 +9,7 @@
modules-left = [ modules-left = [
"sway/mode" "sway/mode"
"sway/workspaces" "sway/workspaces"
"custom/arrow10" # "custom/arrow10"
"sway/window" "sway/window"
]; ];
modules-right = [ modules-right = [