Skip to content

Commit

Permalink
laptop update
Browse files Browse the repository at this point in the history
  • Loading branch information
joinemm committed Feb 7, 2024
1 parent 5c9cf37 commit ea34726
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
16 changes: 8 additions & 8 deletions home-modules/picom.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
"class_g = 'xsecurelock'"
];
# disable vsync for fullscreen applications
settings = {
unredir-if-possible = true;
};
# and notifications that may draw over them
wintypes = {
notification.redir-ignore = true;
notify.redir-ignore = true;
};
# settings = {
# unredir-if-possible = true;
# };
# # and notifications that may draw over them
# wintypes = {
# notification.redir-ignore = true;
# notify.redir-ignore = true;
# };
extraArgs = ["--no-frame-pacing"];
};
}
11 changes: 5 additions & 6 deletions home-modules/polybar/polybar.ini
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,15 @@ poll-interval = 5

format-discharging-prefix = "BAT "
format-charging-prefix = "BAT "
format-full-prefix = "BAT "

format-discharging-prefix-foreground = ${colors.primary}
format-charging-prefix-foreground = ${colors.primary}
format-full-prefix-foreground = ${colors.primary}

format-charging = <label-charging>
format-discharging = <label-discharging>

label-charging = %percentage%%
label-charging = %percentage%%+
label-discharging = %percentage%%

label-full = 
label-full = %percentage%%

ramp-capacity-0 = 
ramp-capacity-1 = 
Expand Down
1 change: 1 addition & 0 deletions home-modules/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
'';
copy = "xclip -selection clipboard";
dev = "nix develop --impure -c $SHELL";
git-branch-cleanup = "git branch -vv | grep gone | awk '{print $1}' | xargs git branch -D";
};

envExtra = ''
Expand Down
6 changes: 5 additions & 1 deletion hosts/x1/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ in {
"notes".enable = true;
"pictures".enable = true;
"work".enable = true;
"documents".enable = true;
};
};

Expand All @@ -65,7 +66,10 @@ in {
(
with pkgs; [
# languages and dev tools
python3
(python3.withPackages (ps:
with ps; [
requests
]))
pipenv
rustup
lua
Expand Down
2 changes: 0 additions & 2 deletions modules/laptop.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{pkgs, ...}: {

environment.systemPackages = with pkgs; [
brightnessctl
];
Expand Down Expand Up @@ -50,7 +49,6 @@
wantedBy = ["graphical-session.target"];
serviceConfig = {
Environment = [
"XSECURELOCK_COMPOSITE_OBSCURER=0"
"XSECURELOCK_PASSWORD_PROMPT=asterisks"
"XSECURELOCK_SHOW_KEYBOARD_LAYOUT=0"
];
Expand Down

0 comments on commit ea34726

Please sign in to comment.