drop unused modules and packages in user
removed modules: - alacritty.nix - i3.nix - polybar.i3.nix (polybar.bspwm.nix is now renamed to just polybar.nix) - urxvt.nix removed packages: - appimage-run - ghidra-bin - inkscape - lf - mps-youtube - vlc
This commit is contained in:
parent
7cd76b2b63
commit
c8010af175
6 changed files with 1 additions and 596 deletions
97
users/rin/polybar.nix
Normal file
97
users/rin/polybar.nix
Normal file
|
|
@ -0,0 +1,97 @@
|
|||
{ config, ... }: {
|
||||
services.polybar = {
|
||||
enable = true;
|
||||
script = builtins.readFile ./scripts/polybar.sh;
|
||||
settings = {
|
||||
"bar/top" = {
|
||||
monitor = "eDP-1";
|
||||
width = "100%";
|
||||
height = 35;
|
||||
#background = "#64506c";
|
||||
background = "#00000000";
|
||||
foreground = "#fff";
|
||||
|
||||
spacing = 2;
|
||||
padding = {
|
||||
left = 5;
|
||||
right = 5;
|
||||
bottom = 5;
|
||||
};
|
||||
override-redirect = true;
|
||||
wm-restack = "bspwm";
|
||||
|
||||
font = [
|
||||
"NotoSans:style=SemiBold:size=11:antialias=true;2"
|
||||
"NotoSans:size=11:antialias=true;2"
|
||||
"MaterialIcons:size=17:antialias=true;6"
|
||||
|
||||
"HanaMinA:size=9.8;1"
|
||||
"HanaMinB:size=9.8;1"
|
||||
];
|
||||
|
||||
modules = {
|
||||
left = "workspaces";
|
||||
center = "title";
|
||||
right = "datetime";
|
||||
};
|
||||
|
||||
enable-ipc = true;
|
||||
scroll = {
|
||||
up = "#workspaces.prev";
|
||||
down = "#workspaces.next";
|
||||
};
|
||||
};
|
||||
|
||||
"module/workspaces" = {
|
||||
type = "internal/bspwm";
|
||||
|
||||
pin-workspaces = true;
|
||||
enable-click = true;
|
||||
enable-scroll = false;
|
||||
reverse-scroll = false;
|
||||
|
||||
#ws-icon.default = "%{T3}"; # ef4a
|
||||
label = {
|
||||
monitor = "";
|
||||
focused = "%{T3}"; # ef4a
|
||||
occupied = {
|
||||
text = "%{T3}"; # e837
|
||||
foreground = "#80FFFFFF";
|
||||
};
|
||||
empty = {
|
||||
text = "%{T3}"; # ef4a
|
||||
foreground = "#80FFFFFF";
|
||||
};
|
||||
urgent = {
|
||||
text = "%{T3}"; # e837
|
||||
foreground = "#EE1012";
|
||||
};
|
||||
|
||||
separator = {
|
||||
text = " ";
|
||||
padding = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
"module/title" = {
|
||||
type = "internal/xwindow";
|
||||
format = {
|
||||
text = "%{T1}<label>";
|
||||
padding = 4;
|
||||
};
|
||||
};
|
||||
|
||||
"module/datetime" = {
|
||||
type = "internal/date";
|
||||
date = {
|
||||
text = "%{T1}%%{F#fff}%H:%M%%{F-}";
|
||||
alt = "%{T2}%%{F#ccc}%A, %d %B %Y %{T1}%%{F#fff}%H:%M%%{F#666}:%{T2}%%{F#ccc}%S%%{F-}";
|
||||
};
|
||||
format = {
|
||||
padding = 4;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue