From a8525defe22f54f7da09f2d412d98314021aae18 Mon Sep 17 00:00:00 2001 From: tomoron Date: Wed, 20 Nov 2024 14:09:30 +0100 Subject: [PATCH] change polybar's size and set activate-linux style to default on x11 --- dotfiles/config/bspwm/bspwmrc | 2 +- dotfiles/config/polybar/config.ini | 10 +++++----- home.nix | 4 ++-- homes/ft/bspwm/host.sh | 1 + homes/ft/ft.nix | 5 +++-- 5 files changed, 12 insertions(+), 10 deletions(-) create mode 100644 homes/ft/bspwm/host.sh diff --git a/dotfiles/config/bspwm/bspwmrc b/dotfiles/config/bspwm/bspwmrc index eb15861..4658cb3 100755 --- a/dotfiles/config/bspwm/bspwmrc +++ b/dotfiles/config/bspwm/bspwmrc @@ -19,4 +19,4 @@ pgrep dunst >/dev/null || dunst & numlockx on & setxkbmap fr us& nitrogen --restore & -pgrep activate-linux >/dev/null || (sleep 2;activate-linux -c 1-1-1-0.7 -V 50 -H 50 -d)& +pgrep activate-linux >/dev/null || (sleep 2;activate-linux -d)& diff --git a/dotfiles/config/polybar/config.ini b/dotfiles/config/polybar/config.ini index 3013692..4b9f44b 100644 --- a/dotfiles/config/polybar/config.ini +++ b/dotfiles/config/polybar/config.ini @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/08/28 20:38:59 by tomoron #+# #+# # -# Updated: 2024/10/16 22:02:20 by tomoron ### ########.fr # +# Updated: 2024/11/08 16:44:40 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -133,9 +133,9 @@ module-margin-right = 0 ; font-3 = FontAwesome:size=10 ; See the Fonts wiki page for more details -font-0 = "Iosevka Nerd Font:style=Bold:pixelsize=16;4" -font-1 = "Iosevka Nerd Font:style=Bold:pixelsize=18;4" -font-2 = "Iosevka Nerd Font:style=Bold:pixelsize=18;4" +font-0 = "Iosevka Nerd Font:style=Bold:pixelsize=12;4" +font-1 = "Iosevka Nerd Font:style=Bold:pixelsize=13;4" +font-2 = "Iosevka Nerd Font:style=Bold:pixelsize=13;4" ; Modules are added to one of the available blocks ; modules-left = cpu ram @@ -144,7 +144,7 @@ font-2 = "Iosevka Nerd Font:style=Bold:pixelsize=18;4" modules-left = workspaces space mpris modules-center = -modules-right = fans dgpu memory sep filesystem sep cpu sep temperature sep pulseaudio sep battery sep network sep date +modules-right = fans dgpu memory sep filesystem sep cpu sep temperature sep polybar sep battery sep network sep date ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ diff --git a/home.nix b/home.nix index fa978be..e7faea8 100644 --- a/home.nix +++ b/home.nix @@ -6,7 +6,7 @@ # By: tomoron +#+ +:+ +#+ # # +#+#+#+#+#+ +#+ # # Created: 2024/10/17 18:15:38 by tomoron #+# #+# # -# Updated: 2024/11/04 17:43:28 by tomoron ### ########.fr # +# Updated: 2024/11/08 15:34:54 by tomoron ### ########.fr # # # # **************************************************************************** # @@ -53,7 +53,7 @@ ]; home.file = { - ".config/bspwm/bspwmrc".source = dotfiles/config/bspwm/bspwmrc; + ".config/bspwm/bspwmrc".source = lib.mkDefault dotfiles/config/bspwm/bspwmrc; # ".config/hypr/hyprland.conf".source = dotfiles/config/hypr/hyprland.conf; ".config/hypr/hyprlock.conf".source = dotfiles/config/hypr/hyprlock.conf; # ".config/waybar/config".source = dotfiles/config/waybar/config; diff --git a/homes/ft/bspwm/host.sh b/homes/ft/bspwm/host.sh new file mode 100644 index 0000000..c40e95c --- /dev/null +++ b/homes/ft/bspwm/host.sh @@ -0,0 +1 @@ +bspc monitor -d 1 2 3 4 5 diff --git a/homes/ft/ft.nix b/homes/ft/ft.nix index 85e0a60..c9bad97 100644 --- a/homes/ft/ft.nix +++ b/homes/ft/ft.nix @@ -1,6 +1,8 @@ { config, lib, pkgs, username,homeDir, ... }: { + imports = [ ../modules/nitrogen.nix ]; + home.packages = with pkgs;[ neovim dmenu @@ -8,7 +10,6 @@ home.file = { ".config/sxhkd".source = dotfiles/config/sxhkd; - ".config/nitrogen".source = dotfiles/config/nitrogen; - ".config/bspwm/bspwmrc".source = dotfiles/config/bspwm/bspwmrc; + ".config/bspwm/host.sh".source = ./bspwm/host.sh; }; }