From 905c905f1bd8c71c0eab2c26f88aa7bcefb27c32 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 17:52:40 +0100 Subject: [PATCH 1/8] Update gaps --- config/packages/i3/config | 16 ++++++++-------- config/packages/polybar/config.ini | 3 ++- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/config/packages/i3/config b/config/packages/i3/config index 3820ce4..8077fc1 100644 --- a/config/packages/i3/config +++ b/config/packages/i3/config @@ -216,14 +216,14 @@ bindsym $mod+r mode "resize" # finds out, if available) # Gaps -gaps inner 10 -gaps outer 10 -gaps horizontal 10 -gaps vertical 10 -gaps top 10 -gaps right 10 -gaps bottom 10 -gaps left 10 +# gaps inner 5 +# gaps outer 5 +gaps horizontal 5 +gaps vertical 5 +gaps top 5 +gaps right 5 +gaps bottom 5 +gaps left 5 default_border pixel 1 client.focused #555555 #555555 #ffffff #2e9ef4 #63C5DA diff --git a/config/packages/polybar/config.ini b/config/packages/polybar/config.ini index eb6f4c5..4550465 100644 --- a/config/packages/polybar/config.ini +++ b/config/packages/polybar/config.ini @@ -38,6 +38,7 @@ foreground = ${colors.foreground} line-size = 3pt border-size = 4pt +border-bottom-size = 0pt border-color = #00000000 padding-left = 0 @@ -60,7 +61,7 @@ cursor-scroll = ns-resize enable-ipc = true -; tray-position = right +tray-position = right ; wm-restack = generic ; wm-restack = bspwm From ebeb7b3698e788188e3695ad08efbcca69b4237f Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 17:55:07 +0100 Subject: [PATCH 2/8] Add system tray --- config/packages/i3/config | 4 ++-- config/packages/polybar/config.ini | 10 ++++++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/packages/i3/config b/config/packages/i3/config index 8077fc1..4192ac9 100644 --- a/config/packages/i3/config +++ b/config/packages/i3/config @@ -216,8 +216,8 @@ bindsym $mod+r mode "resize" # finds out, if available) # Gaps -# gaps inner 5 -# gaps outer 5 +gaps inner 5 +gaps outer -5 gaps horizontal 5 gaps vertical 5 gaps top 5 diff --git a/config/packages/polybar/config.ini b/config/packages/polybar/config.ini index 4550465..a447cce 100644 --- a/config/packages/polybar/config.ini +++ b/config/packages/polybar/config.ini @@ -54,14 +54,14 @@ font-1 = Font Awesome 6 Free:style=Regular;2 font-2 = Font Awesome 6 Free:style=Solid;2 modules-left = xworkspaces xwindow -modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date +modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date tray cursor-click = pointer cursor-scroll = ns-resize enable-ipc = true -tray-position = right +; tray-position = right ; wm-restack = generic ; wm-restack = bspwm @@ -194,6 +194,12 @@ date-alt = %Y-%m-%d %H:%M:%S label = %date% label-foreground = ${colors.primary} +[module/tray] +type internal/tray + +format-margin = 8px +tray-spacing = 8px + [settings] screenchange-reload = true pseudo-transparency = true From 8388842c09fd7411e9c6c4193fa5b9ca05f1a634 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 17:57:29 +0100 Subject: [PATCH 3/8] Update gaps --- config/packages/i3/config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/packages/i3/config b/config/packages/i3/config index 4192ac9..f707c63 100644 --- a/config/packages/i3/config +++ b/config/packages/i3/config @@ -218,12 +218,12 @@ bindsym $mod+r mode "resize" # Gaps gaps inner 5 gaps outer -5 -gaps horizontal 5 -gaps vertical 5 -gaps top 5 -gaps right 5 -gaps bottom 5 -gaps left 5 +#gaps horizontal 5 +#gaps vertical 5 +#gaps top 5 +#gaps right 5 +#gaps bottom 5 +#gaps left 5 default_border pixel 1 client.focused #555555 #555555 #ffffff #2e9ef4 #63C5DA From f61cbc6510946e65f416b83557def810764bae19 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 17:58:18 +0100 Subject: [PATCH 4/8] Reset gaps --- config/packages/i3/config | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/config/packages/i3/config b/config/packages/i3/config index f707c63..4192ac9 100644 --- a/config/packages/i3/config +++ b/config/packages/i3/config @@ -218,12 +218,12 @@ bindsym $mod+r mode "resize" # Gaps gaps inner 5 gaps outer -5 -#gaps horizontal 5 -#gaps vertical 5 -#gaps top 5 -#gaps right 5 -#gaps bottom 5 -#gaps left 5 +gaps horizontal 5 +gaps vertical 5 +gaps top 5 +gaps right 5 +gaps bottom 5 +gaps left 5 default_border pixel 1 client.focused #555555 #555555 #ffffff #2e9ef4 #63C5DA From 50b2226b745395b9105c6f4d0deeabfd240c999c Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 18:00:54 +0100 Subject: [PATCH 5/8] Fix tray --- config/packages/polybar/config.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/polybar/config.ini b/config/packages/polybar/config.ini index a447cce..8bf4c39 100644 --- a/config/packages/polybar/config.ini +++ b/config/packages/polybar/config.ini @@ -195,7 +195,7 @@ label = %date% label-foreground = ${colors.primary} [module/tray] -type internal/tray +type = internal/tray format-margin = 8px tray-spacing = 8px From 88849ef5abeefc4bfcab203647ed6928cc52695b Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 18:03:18 +0100 Subject: [PATCH 6/8] Swap tray and date position --- config/packages/polybar/config.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/packages/polybar/config.ini b/config/packages/polybar/config.ini index 8bf4c39..a1e8c31 100644 --- a/config/packages/polybar/config.ini +++ b/config/packages/polybar/config.ini @@ -54,7 +54,7 @@ font-1 = Font Awesome 6 Free:style=Regular;2 font-2 = Font Awesome 6 Free:style=Solid;2 modules-left = xworkspaces xwindow -modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery date tray +modules-right = filesystem pulseaudio-control-output xkeyboard memory cpu battery tray date cursor-click = pointer cursor-scroll = ns-resize From 24f6d5969e75e138c806e1bd6de9ed218352c0cc Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 18:05:06 +0100 Subject: [PATCH 7/8] Add autorandr --- config/packages/i3/config | 1 + 1 file changed, 1 insertion(+) diff --git a/config/packages/i3/config b/config/packages/i3/config index 4192ac9..248bf31 100644 --- a/config/packages/i3/config +++ b/config/packages/i3/config @@ -56,6 +56,7 @@ floating_modifier $mod # Custom keybinds bindsym $mod+s exec --no-startup-id flameshot gui -p ~/Pictures/captures --clipboard bindsym $mod+f exec --no-startup-id firefox +bindsym $mod+u exec --no-startup-id autorandr -c bindsym $mod+Shift+f exec --no-startup-id firefox --private-window bindsym $mod+Shift+z exec --no-startup-id i3lock-fancy -g -t "System Locked" -f Hack-Regular # ===== From e5f707f70667d1ec6ef27b5fa53922f31ddb307e Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Sat, 17 Aug 2024 20:57:14 +0100 Subject: [PATCH 8/8] Configure nvidia --- system/vylpes-desktop/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/system/vylpes-desktop/configuration.nix b/system/vylpes-desktop/configuration.nix index 07651c6..4b970b3 100644 --- a/system/vylpes-desktop/configuration.nix +++ b/system/vylpes-desktop/configuration.nix @@ -19,4 +19,9 @@ videoDrivers = [ "nvidia" ]; }; }; + + hardware.nvidia = { + modesetting.enable = true; + forceFullCompositionPipeline = true; + }; }