Compare commits
2 commits
445c2b8a99
...
5462fa43fa
Author | SHA1 | Date | |
---|---|---|---|
Geoffrey Frogeye | 5462fa43fa | ||
Geoffrey Frogeye | 795ed034f8 |
|
@ -15,11 +15,17 @@
|
||||||
maxVideoHeight = 1080;
|
maxVideoHeight = 1080;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Alt key swallowed the Meta one
|
||||||
|
home-manager.users.geoffrey = { ... }: {
|
||||||
|
xsession.windowManager.i3.config.modifier = "Mod1";
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
imports = [
|
imports = [
|
||||||
nixos-hardware.nixosModules.common-cpu-amd
|
nixos-hardware.nixosModules.common-cpu-amd
|
||||||
nixos-hardware.nixosModules.common-gpu-amd
|
nixos-hardware.nixosModules.common-gpu-amd
|
||||||
nixos-hardware.nixosModules.common-pc-laptop
|
nixos-hardware.nixosModules.common-pc-laptop
|
||||||
nixos-hardware.nixosModules.common-pc-ssd
|
nixos-hardware.nixosModules.common-pc-ssd
|
||||||
|
# TODO Fix sound
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -188,7 +188,7 @@ class TemperatureProvider(AlertingSection, PeriodicUpdater):
|
||||||
self.dangerThresold = temp.critical or 100.0
|
self.dangerThresold = temp.critical or 100.0
|
||||||
self.updateLevel(temp.current)
|
self.updateLevel(temp.current)
|
||||||
|
|
||||||
self.icon = Section.ramp(temp.current / temp.high, self.RAMP)
|
self.icon = Section.ramp(temp.current / self.warningThresold, self.RAMP)
|
||||||
if self.state >= 1:
|
if self.state >= 1:
|
||||||
return "{:.0f}°C".format(temp.current)
|
return "{:.0f}°C".format(temp.current)
|
||||||
return ""
|
return ""
|
||||||
|
|
|
@ -49,7 +49,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
xsession.windowManager.i3.config = {
|
xsession.windowManager.i3.config = {
|
||||||
modifier = "Mod4";
|
modifier = lib.mkDefault "Mod4";
|
||||||
fonts = {
|
fonts = {
|
||||||
names = [ config.stylix.fonts.sansSerif.name ];
|
names = [ config.stylix.fonts.sansSerif.name ];
|
||||||
};
|
};
|
||||||
|
@ -76,7 +76,6 @@ in
|
||||||
button2 = "kill";
|
button2 = "kill";
|
||||||
# Rofi
|
# Rofi
|
||||||
"${mod}+i" = "exec --no-startup-id ${pkgs.rofimoji}/bin/rofimoji";
|
"${mod}+i" = "exec --no-startup-id ${pkgs.rofimoji}/bin/rofimoji";
|
||||||
"${mod}+Tab" = "${rofi} -modi window -show window";
|
|
||||||
# start program launcher
|
# start program launcher
|
||||||
"${mod}+d" = "${rofi} -modi run -show run";
|
"${mod}+d" = "${rofi} -modi run -show run";
|
||||||
"${mod}+Shift+d" = "${rofi} -modi drun -show drun";
|
"${mod}+Shift+d" = "${rofi} -modi drun -show drun";
|
||||||
|
|
Loading…
Reference in a new issue