Merge branch 'main' of git.datarift.nl:erwin/nixos-config

This commit is contained in:
Erwin Boskma 2023-03-30 10:09:23 +02:00
commit f566931388
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
3 changed files with 6 additions and 41 deletions

View file

@ -121,7 +121,7 @@ in
]; ];
modules = { modules = {
left = "launcher workspaces playerctl"; left = "workspaces playerctl";
center = "date"; center = "date";
right = "headset-battery memory cpu pulseaudio network"; right = "headset-battery memory cpu pulseaudio network";
}; };
@ -162,68 +162,29 @@ in
pseudo.transparency = false; pseudo.transparency = false;
}; };
"module/launcher" = {
type = "custom/text";
content.text = "";
content.padding = 2;
click.left = "${pkgs.rofi}/bin/rofi -show drun -no-lazy-grab";
};
"module/workspaces" = { "module/workspaces" = {
# type = "internal/xworkspaces";
# pin.workspaces = true;
# enable.click = true;
# enable.scroll = true;
# icon.text = [ "1;" "2;" "3;" "4;" "5;" ];
# icon.default = "";
# format.text = "<label-state>";
# format.padding = 1;
# label.active.text = "";
# label.occupied.text = "";
# label.empty.text = "";
# label.urgent.text = "";
# label.urgent.background = "${colors.urgent}";
# label.active.padding = 1;
# label.urgent.padding = 1;
# label.occupied.padding = 1;
# label.empty.padding = 1;
type = "internal/i3"; type = "internal/i3";
pin.workspaces = true; pin.workspaces = true;
strip.wsnumbers = true; strip.wsnumbers = true;
enable.click = true; enable.click = true;
enable.scroll = true; enable.scroll = true;
# ws.icon.text = [ "1;" "2;" "3;" "4;" "5;" "6;" "7;" "8;" "9;" "10;" ];
# ws.icon.text = [ "1" "2" "3" "4" "5" "6" "7" "8" "9" "10" ];
# ws.icon.default = "";
format = "<label-state> <label-mode>"; format = "<label-state> <label-mode>";
label.mode.text = "%mode%"; label.mode.text = "%mode%";
label.mode.padding = 1; label.mode.padding = 1;
# label.focused.text = "";
label.focused.text = "%index%"; label.focused.text = "%index%";
label.focused.padding = 1; label.focused.padding = 1;
label.focused.background = "#333333"; label.focused.background = "#333333";
label.focused.underline = "#ffffff"; label.focused.underline = "#ffffff";
# label.unfocused.text = "";
label.unfocused.text = "%index%"; label.unfocused.text = "%index%";
label.unfocused.padding = 1; label.unfocused.padding = 1;
# label.visible.text = "";
label.visible.text = "%index%"; label.visible.text = "%index%";
label.visible.padding = 1; label.visible.padding = 1;
# label.urgent.text = "";
label.urgent.text = "%index%"; label.urgent.text = "%index%";
label.urgent.background = "${colors.urgent}"; label.urgent.background = "${colors.urgent}";
label.urgent.padding = 1; label.urgent.padding = 1;

View file

@ -32,7 +32,8 @@
powerManagement.cpuFreqGovernor = "ondemand"; powerManagement.cpuFreqGovernor = "ondemand";
hardware = { hardware = {
video.hidpi.enable = true; # Renamed to fonts.optimizeForVeryHighDPI
# video.hidpi.enable = true;
enableAllFirmware = true; enableAllFirmware = true;
nvidia = { nvidia = {
modesetting.enable = true; modesetting.enable = true;

View file

@ -113,6 +113,7 @@ in
minio-client minio-client
mpv mpv
nordzy-cursor-theme nordzy-cursor-theme
nushell
pamedia pamedia
quintom-cursor-theme quintom-cursor-theme
procs procs
@ -126,6 +127,7 @@ in
unzip unzip
xdg-utils xdg-utils
xkb-switch xkb-switch
wine
zathura zathura
zeal zeal
] ]
@ -224,6 +226,7 @@ in
xkbVariant = "colemak,"; xkbVariant = "colemak,";
xkbModel = "pc105"; xkbModel = "pc105";
xkbOptions = "ctrl:nocaps,eurosign:5,lv5:ralt_switch,lv3:rwin_switch,grp:shifts_toggle"; xkbOptions = "ctrl:nocaps,eurosign:5,lv5:ralt_switch,lv3:rwin_switch,grp:shifts_toggle";
upscaleDefaultCursor = false;
windowManager.i3 = { windowManager.i3 = {
enable = true; enable = true;