Mostly UI tweaks, plus some refactoring
This commit is contained in:
parent
110fa225d4
commit
2d878c3448
|
@ -12,8 +12,13 @@
|
|||
outputs = { self, home-manager, nixpkgs, nixpkgs-unstable, ... }@inputs: let
|
||||
system = "x86_64-linux";
|
||||
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
pkgs-unstable = import nixpkgs-unstable { inherit system; };
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
pkgs-unstable = import nixpkgs-unstable {
|
||||
inherit system;
|
||||
};
|
||||
in {
|
||||
# Enables all of these be used in a system flake
|
||||
# https://discourse.nixos.org/t/nixos-home-manager-config-where-both-use-flakes/41410/2
|
||||
|
|
|
@ -76,27 +76,5 @@
|
|||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
|
||||
"latitude/desk" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --primary \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"latitude/standalone" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1080 --primary \
|
||||
--output DP-2-1 --off \
|
||||
--output DP-2-2 --off \
|
||||
--output DP-2-3 --off
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
label-mounted = "%mountpoint%%{F-} %free% of %total%";
|
||||
label-mounted-foreground = "\${colors.foreground-alt}";
|
||||
|
||||
bar-used-width = 10;
|
||||
bar-used-width = 5;
|
||||
bar-used-fill = "█";
|
||||
bar-used-empty = "█";
|
||||
bar-used-indicator = "";
|
||||
|
@ -203,7 +203,7 @@
|
|||
format = "<label> <bar-swap-used>";
|
||||
format-underline = "#256d7b";
|
||||
|
||||
bar-swap-used-width = 10;
|
||||
bar-swap-used-width = 5;
|
||||
bar-swap-used-fill = "█";
|
||||
bar-swap-used-empty = "█";
|
||||
bar-swap-used-indicator = "";
|
||||
|
@ -285,7 +285,8 @@
|
|||
interface-type = "wireless";
|
||||
interval = 3;
|
||||
|
||||
label-connected = "%ifname% %essid% (%local_ip%)";
|
||||
#label-connected = "%ifname% %essid% (%local_ip%)";
|
||||
label-connected = "%ifname% %essid%";
|
||||
format-connected = "<ramp-signal> <label-connected>";
|
||||
format-connected-underline = "#9f78e1";
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Get passwords
|
||||
git clone ssh://git@git.mlaga97.space:2222/mlaga97/.password-store
|
|
@ -1,6 +1,36 @@
|
|||
#{ pkgs, pkgs-unstable, ... }: {
|
||||
{ pkgs, ... }: {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
home.file = {
|
||||
"latitude/tv" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1080 --primary \
|
||||
--output DP-2-2 --mode 1920x1080
|
||||
'';
|
||||
};
|
||||
"latitude/desk" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --off \
|
||||
--output DP-2-1 --mode 3840x2160 --rate 30 --right-of DP-2-2 \
|
||||
--output DP-2-2 --mode 3840x2160 --rate 30 --primary
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
"latitude/standalone" = {
|
||||
executable = true;
|
||||
text = ''
|
||||
xrandr \
|
||||
--output eDP-1 --mode 1920x1080 --primary \
|
||||
--output DP-2-1 --off \
|
||||
--output DP-2-2 --off \
|
||||
--output DP-2-3 --off
|
||||
i3-msg restart
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
# TODO: Polybar Stuff
|
||||
|
|
Loading…
Reference in New Issue