printer & openscad
add indent for openscad and fix printer
This commit is contained in:
@@ -3,17 +3,18 @@
|
||||
{
|
||||
services.printing.drivers = [ pkgs.epson-escpr ];
|
||||
hardware.printers = {
|
||||
ensurePrinters = [{
|
||||
name = "Epson-XP-520";
|
||||
location = "Home";
|
||||
deviceUri = "http://192.168.178.34:631/ipp/print";
|
||||
model =
|
||||
"epson-inkjet-printer-escpr/Epson-XP-520_Series-epson-escpr-en.ppd";
|
||||
ppdOptions = {
|
||||
PageSize = "A4";
|
||||
Ink = "Color";
|
||||
};
|
||||
}];
|
||||
ensurePrinters = [
|
||||
{
|
||||
name = "Epson-XP-520";
|
||||
location = "Home";
|
||||
deviceUri = "usb://EPSON/XP-520%20Series?serial=554656593133323698&interface=1";
|
||||
model = "epson-inkjet-printer-escpr/Epson-XP-520_Series-epson-escpr-en.ppd";
|
||||
ppdOptions = {
|
||||
PageSize = "A4";
|
||||
Ink = "Color";
|
||||
};
|
||||
}
|
||||
];
|
||||
ensureDefaultPrinter = "Epson-XP-520";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -50,6 +50,12 @@
|
||||
tex = [
|
||||
"tex-fmt"
|
||||
];
|
||||
openscad = [
|
||||
"squeeze_blanks"
|
||||
"trim_whitespace"
|
||||
"trim_newlines"
|
||||
"scadstyle"
|
||||
];
|
||||
"_" = [
|
||||
"squeeze_blanks"
|
||||
"trim_whitespace"
|
||||
@@ -97,6 +103,15 @@
|
||||
tex-fmt = {
|
||||
command = "tex-fmt";
|
||||
};
|
||||
scadstyle = {
|
||||
"inherit" = true;
|
||||
prepend_args = [
|
||||
"--indent-type"
|
||||
"Spaces"
|
||||
"--indent-width"
|
||||
"2"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -67,8 +67,6 @@
|
||||
map = {
|
||||
normal = {
|
||||
"Super+Shift Return" = "spawn alacritty";
|
||||
# Messages
|
||||
"Control+Super W" = "spawn 'printf \"Hello from Wayland!\" | dunstify -'";
|
||||
# System
|
||||
"Super P" = "spawn 'rofi -show drun'";
|
||||
"Super+Shift C" = "close";
|
||||
|
||||
Reference in New Issue
Block a user