Add terminal, sway, kitty, etc.
This commit is contained in:
parent
124e3cd97c
commit
fe7626b524
|
@ -6,7 +6,7 @@
|
||||||
'';
|
'';
|
||||||
programs.kitty = {
|
programs.kitty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
font.name = "Comic Mono";
|
font.name = "Comic Code";
|
||||||
settings = {
|
settings = {
|
||||||
font_size = 20;
|
font_size = 20;
|
||||||
bold_font = "auto";
|
bold_font = "auto";
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
keybindings = {
|
keybindings = {
|
||||||
"${cfg.modifier}+Return" = "${cfg.terminal}";
|
"${cfg.modifier}+Return" = "exec ${cfg.terminal}";
|
||||||
|
|
||||||
"${cfg.modifier}+Left" = "focus left";
|
"${cfg.modifier}+Left" = "focus left";
|
||||||
"${cfg.modifier}+Down" = "focus down";
|
"${cfg.modifier}+Down" = "focus down";
|
||||||
|
@ -82,7 +82,8 @@
|
||||||
"XF86AudioMicMute" = "exec pactl set-source-mute $(pacmd list-sources |awk '/* index:/{print $3}') toggle";
|
"XF86AudioMicMute" = "exec pactl set-source-mute $(pacmd list-sources |awk '/* index:/{print $3}') toggle";
|
||||||
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 5";
|
"XF86MonBrightnessDown" = "exec ${pkgs.light}/bin/light -U 5";
|
||||||
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 5";
|
"XF86MonBrightnessUp" = "exec ${pkgs.light}/bin/light -A 5";
|
||||||
"${cfg.modifier}+Print" = "exec ${pkgs.bash}/bin/bash -c '~/.local/bin/elixiremanager.sh -w'";
|
"Print" = "exec ${pkgs.grim}/bin/grim - | ${pkgs.wl-clipboard}/bin/wl-copy";
|
||||||
|
"Shift+Print" = "exec ${pkgs.grim}/bin/grim -g \"$(${pkgs.slurp}/bin/slurp -d)\" - | ${pkgs.wl-clipboard}/bin/wl-copy";
|
||||||
|
|
||||||
"${cfg.modifier}+d" = "exec ${cfg.menu}";
|
"${cfg.modifier}+d" = "exec ${cfg.menu}";
|
||||||
"${cfg.modifier}+f" = "fullscreen";
|
"${cfg.modifier}+f" = "fullscreen";
|
||||||
|
@ -94,12 +95,7 @@
|
||||||
} // (lib.foldl lib.recursiveUpdate {} (map (workspace: {
|
} // (lib.foldl lib.recursiveUpdate {} (map (workspace: {
|
||||||
"${cfg.modifier}+${workspace}" = "workspace ${workspace}";
|
"${cfg.modifier}+${workspace}" = "workspace ${workspace}";
|
||||||
"${cfg.modifier}+Shift+${workspace}" = "move container to workspace ${workspace}";
|
"${cfg.modifier}+Shift+${workspace}" = "move container to workspace ${workspace}";
|
||||||
}) [ "0" "1" "2" "3" "4" "5" "6" "7" "8" "9" ]));
|
}) [ "1" "2" "3" "4" "5" "6" "7" "8" "9" ]));
|
||||||
|
|
||||||
keycodebindings = {
|
|
||||||
"--no-repeat 107" = "exec dbus-send --session --type=method_call --dest=net.sourceforge.mumble.mumble / net.sourceforge.mumble.Mumble.startTalking";
|
|
||||||
"--release 107" = "exec dbus-send --session --type=method_call --dest=net.sourceforge.mumble.mumble / net.sourceforge.mumble.Mumble.stopTalking";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
wrapperFeatures.gtk = true;
|
wrapperFeatures.gtk = true;
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
|
@ -110,37 +106,16 @@
|
||||||
};
|
};
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# style = ''
|
style = ''
|
||||||
# * {
|
* {
|
||||||
# font-family: Iosevka;
|
font-family: "Comic Code";
|
||||||
# }
|
font-size: 20px;
|
||||||
# '';
|
}
|
||||||
|
'';
|
||||||
settings = [{
|
settings = [{
|
||||||
modules-left = [ "sway/workspaces" "sway/mode" ];
|
modules-left = [ "sway/workspaces" "sway/mode" ];
|
||||||
modules-center = [ "sway/window" ];
|
modules-center = [ "sway/window" ];
|
||||||
modules-right = [ "pulseaudio" "network" "cpu" "memory" "temperature" "battery" "clock" "tray" ];
|
modules-right = [ "pulseaudio" "battery" "clock" "tray" ];
|
||||||
|
|
||||||
modules = {
|
|
||||||
battery = {
|
|
||||||
states = {
|
|
||||||
good = 95;
|
|
||||||
warning = 30;
|
|
||||||
critical = 15;
|
|
||||||
};
|
|
||||||
format = "{capacity}% {icon}";
|
|
||||||
format-charging = "{capacity}% ";
|
|
||||||
format-plugged = "{capacity}% ";
|
|
||||||
format-alt = "{time} {icon}";
|
|
||||||
format-icons = ["" "" "" "" ""];
|
|
||||||
};
|
|
||||||
network = {
|
|
||||||
format-wifi = "{essid} ({signalStrength}%) ";
|
|
||||||
format-ethernet = "{ifname}: {ipaddr}/{cidr} ";
|
|
||||||
format-linked = "{ifname} (No IP) ";
|
|
||||||
format-disconnected = "Disconnected ⚠";
|
|
||||||
format-alt = "{ifname}: {ipaddr}/{cidr}";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,6 @@
|
||||||
imports = with tree; [
|
imports = with tree; [
|
||||||
profiles.dev
|
profiles.dev
|
||||||
profiles.gui
|
profiles.gui
|
||||||
profiles.x11
|
|
||||||
profiles.xfce
|
|
||||||
profiles.laptop
|
profiles.laptop
|
||||||
profiles.pulse
|
profiles.pulse
|
||||||
profiles.network_manager
|
profiles.network_manager
|
||||||
|
|
Loading…
Reference in a new issue