change polybar's size and set activate-linux style to default on x11

This commit is contained in:
2024-11-20 14:09:30 +01:00
parent ca18ecf4e2
commit a8525defe2
5 changed files with 12 additions and 10 deletions

View File

@ -19,4 +19,4 @@ pgrep dunst >/dev/null || dunst &
numlockx on & numlockx on &
setxkbmap fr us& setxkbmap fr us&
nitrogen --restore & 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)&

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/08/28 20:38:59 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 ; font-3 = FontAwesome:size=10
; See the Fonts wiki page for more details ; See the Fonts wiki page for more details
font-0 = "Iosevka Nerd Font:style=Bold:pixelsize=16;4" font-0 = "Iosevka Nerd Font:style=Bold:pixelsize=12;4"
font-1 = "Iosevka Nerd Font:style=Bold:pixelsize=18;4" font-1 = "Iosevka Nerd Font:style=Bold:pixelsize=13;4"
font-2 = "Iosevka Nerd Font:style=Bold:pixelsize=18;4" font-2 = "Iosevka Nerd Font:style=Bold:pixelsize=13;4"
; Modules are added to one of the available blocks ; Modules are added to one of the available blocks
; modules-left = cpu ram ; modules-left = cpu ram
@ -144,7 +144,7 @@ font-2 = "Iosevka Nerd Font:style=Bold:pixelsize=18;4"
modules-left = workspaces space mpris modules-left = workspaces space mpris
modules-center = 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
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View File

@ -6,7 +6,7 @@
# By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ # # By: tomoron <tomoron@student.42angouleme.fr> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ # # +#+#+#+#+#+ +#+ #
# Created: 2024/10/17 18:15:38 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 = { 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/hyprland.conf".source = dotfiles/config/hypr/hyprland.conf;
".config/hypr/hyprlock.conf".source = dotfiles/config/hypr/hyprlock.conf; ".config/hypr/hyprlock.conf".source = dotfiles/config/hypr/hyprlock.conf;
# ".config/waybar/config".source = dotfiles/config/waybar/config; # ".config/waybar/config".source = dotfiles/config/waybar/config;

1
homes/ft/bspwm/host.sh Normal file
View File

@ -0,0 +1 @@
bspc monitor -d 1 2 3 4 5

View File

@ -1,6 +1,8 @@
{ config, lib, pkgs, username,homeDir, ... }: { config, lib, pkgs, username,homeDir, ... }:
{ {
imports = [ ../modules/nitrogen.nix ];
home.packages = with pkgs;[ home.packages = with pkgs;[
neovim neovim
dmenu dmenu
@ -8,7 +10,6 @@
home.file = { home.file = {
".config/sxhkd".source = dotfiles/config/sxhkd; ".config/sxhkd".source = dotfiles/config/sxhkd;
".config/nitrogen".source = dotfiles/config/nitrogen; ".config/bspwm/host.sh".source = ./bspwm/host.sh;
".config/bspwm/bspwmrc".source = dotfiles/config/bspwm/bspwmrc;
}; };
} }