feat: more xorg conf
This commit is contained in:
parent
555cedf9b6
commit
5db5ed5168
|
@ -67,8 +67,8 @@ MOD: TAGS: pkgs:
|
|||
|
||||
# Layouting
|
||||
"${MOD}-Return" = " fullscreen toggle";
|
||||
"${MOD}-Shift-x" = " remove";
|
||||
"${MOD}-Shift-v" = " remove";
|
||||
"${MOD}-Shift-x" = "remove";
|
||||
"${MOD}-Shift-v" = "remove";
|
||||
"${MOD}-f" = " floating toggle";
|
||||
"${MOD}-p" = " pseudotile toggle";
|
||||
"${MOD}-space" = " cycle_layout +1";
|
||||
|
@ -77,7 +77,6 @@ MOD: TAGS: pkgs:
|
|||
"${MOD}-t " = "spawn kitty";
|
||||
"${MOD}-b " = "pawn ${pkgs.firefox}/bin/firefox";
|
||||
"${MOD}-m " = "spawn ${pkgs.thunderbird}/bin/thunderbird";
|
||||
"${MOD}-Shift-l " = "spawn systemctl suspend";
|
||||
"Menu" = "spawn rofi -show drun";
|
||||
}
|
||||
// builtins.listToAttrs (map (x: {
|
||||
|
|
|
@ -78,7 +78,7 @@ in {
|
|||
"windowtype~'_NET_WM_WINDOW_TYPE_(NOTIFICATION|DOCK|DESKTOP)' manage=off"
|
||||
|
||||
# Use pseudotiles for windows of type DIALOG, UTILITY, SPLASH
|
||||
"windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' pseudotile=on"
|
||||
"windowtype~'_NET_WM_WINDOW_TYPE_(DIALOG|UTILITY|SPLASH)' floating=on"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -107,6 +107,11 @@ in {
|
|||
# for HD Polybar
|
||||
dpi = 96;
|
||||
height = 22;
|
||||
modules = with lib; {
|
||||
left = concatStringsSep " " ["left1" "title" "left2"];
|
||||
center = concatStringsSep " " ["workspaces"];
|
||||
right = concatStringsSep " " ["right5" "alsa" "right3" "network" "right2" "date" "right1" "keyboardswitcher"];
|
||||
};
|
||||
};
|
||||
patricknix = {
|
||||
monitor = "DP-1";
|
||||
|
@ -114,6 +119,11 @@ in {
|
|||
# for UHD Polybar
|
||||
dpi = 144;
|
||||
height = 33;
|
||||
modules = with lib; {
|
||||
left = concatStringsSep " " ["left1" "title" "left2"];
|
||||
center = concatStringsSep " " ["workspaces"];
|
||||
right = concatStringsSep " " ["right5" "alsa" "right4" "battery" "right3" "network" "right2" "date" "right1" "keyboardswitcher"];
|
||||
};
|
||||
};
|
||||
}
|
||||
.${nixosConfig.node.name}
|
||||
|
@ -172,15 +182,15 @@ in {
|
|||
|
||||
label.volume = "%percentage%%";
|
||||
|
||||
format.muted.prefix = "%{T1}婢%{T-}";
|
||||
format.muted.prefix = "%{T1}%{T-}";
|
||||
label.muted = " Mute";
|
||||
format.muted.background = color.shade5;
|
||||
format.muted.foreground = color.modulefg;
|
||||
format.muted.padding = "1";
|
||||
|
||||
ramp.volume."0" = "%{T1}奄%{T-}";
|
||||
ramp.volume."1" = "%{T1}奔%{T-}";
|
||||
ramp.volume."2" = "%{T1}墳%{T-}";
|
||||
ramp.volume."0" = "%{T1}%{T-}";
|
||||
ramp.volume."1" = "%{T1}%{T-}";
|
||||
ramp.volume."2" = "%{T1}%{T-}";
|
||||
};
|
||||
|
||||
"module/battery" = {
|
||||
|
@ -255,29 +265,39 @@ in {
|
|||
label = "%date% %time%";
|
||||
|
||||
# Alternative date and time format
|
||||
date = "%{T5}%{T-} %a, %d %{F#808080}%b %Y%{F-}";
|
||||
time = "%{T5}%{T-} %H:%M:%S";
|
||||
date = "%{T1}%{T-} %a, %d %{F#808080}%b %Y%{F-}";
|
||||
time = "%{T1}%{T-} %H:%M:%S";
|
||||
};
|
||||
|
||||
"module/network" = {
|
||||
type = "internal/network";
|
||||
interface = "wlan0";
|
||||
"module/network" =
|
||||
{
|
||||
type = "internal/network";
|
||||
|
||||
interval = "1.0";
|
||||
accumulate.stats = "true";
|
||||
unknown.as.up = "true";
|
||||
interval = "1.0";
|
||||
accumulate.stats = "true";
|
||||
unknown.as.up = "true";
|
||||
|
||||
format-connected = "<label-connected>";
|
||||
format-connected-background = color.shade3;
|
||||
format-connected-foreground = color.modulefg;
|
||||
format-connected-padding = "1";
|
||||
label.connected = "%{F#808080}%ifname%%{F-} %{F#808080}%upspeed:8% %downspeed:8% %{F-}";
|
||||
format-connected = "<label-connected>";
|
||||
format-connected-background = color.shade3;
|
||||
format-connected-foreground = color.modulefg;
|
||||
format-connected-padding = "1";
|
||||
label.connected = "%{F#808080}%ifname%%{F-} %{F#808080}%upspeed:8% %downspeed:8% %{F-}";
|
||||
|
||||
format.disconnected = "<label-disconnected>";
|
||||
format.disconnected-background = color.shade3;
|
||||
format.disconnected-foreground = color.modulefg;
|
||||
format.disconnected-padding = "1";
|
||||
};
|
||||
format.disconnected = "<label-disconnected>";
|
||||
format.disconnected-background = color.shade3;
|
||||
format.disconnected-foreground = color.modulefg;
|
||||
format.disconnected-padding = "1";
|
||||
}
|
||||
// {
|
||||
desktopnix = {
|
||||
interface = "enp0s31f6";
|
||||
};
|
||||
patricknix = {
|
||||
interface = "wlan0";
|
||||
};
|
||||
}
|
||||
.${nixosConfig.node.name}
|
||||
or {};
|
||||
|
||||
"module/keyboardswitcher" = {
|
||||
type = "custom/menu";
|
||||
|
@ -287,7 +307,7 @@ in {
|
|||
format.background = color.shade1;
|
||||
format.foreground = color.modulefg;
|
||||
|
||||
label.open = "%{T3} %{T-}";
|
||||
label.open = "%{T3} %{T-}";
|
||||
label.close = " x ";
|
||||
label.separator = " | ";
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./kitty.nix
|
||||
./wayland
|
||||
./Xorg
|
||||
./firefox.nix
|
||||
];
|
||||
|
@ -22,4 +21,7 @@
|
|||
|
||||
# notification are nice to have
|
||||
services.dunst.enable = true;
|
||||
gtk.gtk3.extraConfig = {
|
||||
gtk-application-prefer-dark-theme = 1;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
}: {
|
||||
# enable nixos wide wayland config
|
||||
imports = [
|
||||
../../modules/graphical/wayland.nix
|
||||
../../modules/graphical/xserver.nix
|
||||
../../modules/graphical/steam.nix
|
||||
./impermanence.nix
|
||||
|
@ -34,10 +33,13 @@
|
|||
./patrick.nix
|
||||
./ssh.nix
|
||||
./smb.nix
|
||||
|
||||
../common
|
||||
../common/impermanence.nix
|
||||
../common/interactive.nix
|
||||
../common/graphical
|
||||
|
||||
../common/programs/bottles.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue