From d418d26868016f6a1115b8928940084996495879 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 29 Mar 2023 16:18:59 +0200 Subject: [PATCH 1/3] Remove launcher and unused code from polybar --- home-manager/modules/polybar/default.nix | 41 +----------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/home-manager/modules/polybar/default.nix b/home-manager/modules/polybar/default.nix index 902ef76..bfa8906 100644 --- a/home-manager/modules/polybar/default.nix +++ b/home-manager/modules/polybar/default.nix @@ -121,7 +121,7 @@ in ]; modules = { - left = "launcher workspaces playerctl"; + left = "workspaces playerctl"; center = "date"; right = "headset-battery memory cpu pulseaudio network"; }; @@ -162,68 +162,29 @@ in 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" = { - # type = "internal/xworkspaces"; - # pin.workspaces = true; - # enable.click = true; - # enable.scroll = true; - - # icon.text = [ "1;" "2;" "3;" "4;" "5;" ]; - # icon.default = ""; - - # format.text = ""; - # 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"; pin.workspaces = true; strip.wsnumbers = true; enable.click = 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.mode.text = "%mode%"; label.mode.padding = 1; - # label.focused.text = ""; label.focused.text = "%index%"; label.focused.padding = 1; label.focused.background = "#333333"; label.focused.underline = "#ffffff"; - # label.unfocused.text = ""; label.unfocused.text = "%index%"; label.unfocused.padding = 1; - # label.visible.text = ""; label.visible.text = "%index%"; label.visible.padding = 1; - # label.urgent.text = ""; label.urgent.text = "%index%"; label.urgent.background = "${colors.urgent}"; label.urgent.padding = 1; From 026ac44b1ab6b43ee3338395c677bd70d7bde6a8 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 29 Mar 2023 16:19:20 +0200 Subject: [PATCH 2/3] Disable hidpi because it messes with fonts --- machines/mimir/hardware-configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/mimir/hardware-configuration.nix b/machines/mimir/hardware-configuration.nix index 5124857..c1c97f9 100644 --- a/machines/mimir/hardware-configuration.nix +++ b/machines/mimir/hardware-configuration.nix @@ -32,7 +32,8 @@ powerManagement.cpuFreqGovernor = "ondemand"; hardware = { - video.hidpi.enable = true; + # Renamed to fonts.optimizeForVeryHighDPI + # video.hidpi.enable = true; enableAllFirmware = true; nvidia = { modesetting.enable = true; From 4099bfa07d669a1b60e42f3afdd3d7e1c2f737a3 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 29 Mar 2023 16:34:30 +0200 Subject: [PATCH 3/3] Add nushell and wine to work profile --- users/erwin/work.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/users/erwin/work.nix b/users/erwin/work.nix index a4f27e1..9f0165d 100644 --- a/users/erwin/work.nix +++ b/users/erwin/work.nix @@ -113,6 +113,7 @@ in minio-client mpv nordzy-cursor-theme + nushell pamedia quintom-cursor-theme procs @@ -126,6 +127,7 @@ in unzip xdg-utils xkb-switch + wine zathura zeal ] @@ -224,6 +226,7 @@ in xkbVariant = "colemak,"; xkbModel = "pc105"; xkbOptions = "ctrl:nocaps,eurosign:5,lv5:ralt_switch,lv3:rwin_switch,grp:shifts_toggle"; + upscaleDefaultCursor = false; windowManager.i3 = { enable = true;