Compare commits

..

No commits in common. "5462fa43fa92baf046c3635f2ba63aa57d892701" and "445c2b8a99dd4b3d0e9b157941d10fce734aa1ca" have entirely different histories.

3 changed files with 3 additions and 8 deletions

View file

@ -15,17 +15,11 @@
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
]; ];
} }

View file

@ -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 / self.warningThresold, self.RAMP) self.icon = Section.ramp(temp.current / temp.high, self.RAMP)
if self.state >= 1: if self.state >= 1:
return "{:.0f}°C".format(temp.current) return "{:.0f}°C".format(temp.current)
return "" return ""

View file

@ -49,7 +49,7 @@ in
}; };
}; };
xsession.windowManager.i3.config = { xsession.windowManager.i3.config = {
modifier = lib.mkDefault "Mod4"; modifier = "Mod4";
fonts = { fonts = {
names = [ config.stylix.fonts.sansSerif.name ]; names = [ config.stylix.fonts.sansSerif.name ];
}; };
@ -76,6 +76,7 @@ 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";