This commit is contained in:
2026-05-21 20:37:54 +09:00
parent 8efe0b9341
commit df41182acd
20 changed files with 152 additions and 57 deletions
+1
View File
@@ -2,5 +2,6 @@
{
home.packages = with pkgs; [
firefox
vimb
];
}
+5 -4
View File
@@ -1,9 +1,10 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
kicad
openscad
home.packages = (with pkgs.unstable; [
freecad
kicad
kicadAddons.kikit
librecad
];
openscad
]);
}
+4
View File
@@ -25,6 +25,8 @@ in
};
startup = [
{ command = "fcitx5 -r"; always = true; notification = false; }
{ command = "owncloud"; always = true; notification = false;}
{ command = "feh-wallpaper-getRandom"; always = false; notification = false; }
];
modes = {
resize = {
@@ -86,6 +88,8 @@ in
"XF86AudioRaiseVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%'';
"XF86AudioLowerVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%'';
"XF86AudioMute" = ''exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle'';
"XF86MonBrightnessUp" = ''exec --no-startup-id brightnessctl set 5%+'';
"XF86MonBrightnessDown" = ''exec --no-startup-id brightnessctl set 5%-'';
};
};
};
+16 -2
View File
@@ -1,7 +1,7 @@
{ config, pkgs, lib, ... }:
let
inherit (builtins) listToAttrs;
inherit (lib.lists) imap1 forEach reverseList elemAt;
inherit (lib.lists) imap1 forEach reverseList;
modules = [
{
name = "time";
@@ -9,6 +9,20 @@ let
format = "%Y %m/%d %a | %H:%M:%S";
};
}
{
name = "battery 1";
settings = {
format = "%status %remaining (%emptytime)";
format_percentage = "%.01f%s";
format_down = "No BAT";
status_chr = "CHR";
status_bat = "";
status_unk = "UNK";
status_full = "FULL";
low_threshold = 30;
threshold_type = "percentage";
};
}
{
name = "load";
settings = {
@@ -57,7 +71,7 @@ let
v // { position = i; }
) (reverseList modules);
modNameValList = forEach numberedModulesList (x: {
name = x.name;
inherit (x) name;
value = {
inherit (x) settings position;
};
+1
View File
@@ -7,5 +7,6 @@
kdePackages.kdenlive
gimp
inkscape
obs-studio
];
}
+1
View File
@@ -13,6 +13,7 @@
prependCfg = lib.mkOrder 500 "";
appendCfg = lib.mkOrder 1500 ''
bindkey -v
export PS1="%n@%m:%B%~%b%(0?.. %F{red}%B(%?%)%b%f) %# "
'';
in
lib.mkMerge [ prependCfg appendCfg ];