feat: add gaming profile & include steam in hyprland binds

This commit is contained in:
ooks-io 2024-02-13 21:45:58 +13:00
parent 0ab0b43fa5
commit a044b1b5fd
3 changed files with 12 additions and 6 deletions

View file

@ -50,7 +50,6 @@ in
volume = "${volumeScript}/bin/volume"; volume = "${volumeScript}/bin/volume";
swaylock = "${config.programs.swaylock.package}/bin/swaylock"; swaylock = "${config.programs.swaylock.package}/bin/swaylock";
spotify = "${terminal} -e spotify_player";
spotifyctl = "${pkgs.spotify-player}/bin/spotify_player"; spotifyctl = "${pkgs.spotify-player}/bin/spotify_player";
discord = "${pkgs.vesktop}/bin/vesktop"; discord = "${pkgs.vesktop}/bin/vesktop";
@ -69,10 +68,11 @@ in
"SUPER, b, exec, ${browser}" "SUPER, b, exec, ${browser}"
"SUPER, return, exec, ${terminal}" "SUPER, return, exec, ${terminal}"
"SUPER, e, exec, ${editor}" "SUPER, e, exec, ${editor}"
"SUPER, m, exec, ${spotify}"
"SUPERSHIFT, P, exec, ${password}" "SUPERSHIFT, P, exec, ${password}"
"SUPER, d, exec, ${discord}" "SUPER, d, exec, ${discord}"
"SUPER, e, exec, ${explorer}" "SUPER, e, exec, ${explorer}"
"SUPERSHIFT, S, exec, steam"
# Spotify PLayer Controls # Spotify PLayer Controls

View file

@ -6,7 +6,7 @@
../../profiles ../../profiles
]; ];
activeProfiles = ["base" "nvidia" "mediaServer"]; activeProfiles = ["base" "nvidia" "mediaServer" "gaming"];
systemModules.user = { systemModules.user = {
ooks.enable = true; ooks.enable = true;

View file

@ -20,8 +20,14 @@ in
gamemode = { gamemode = {
enable = true; enable = true;
settings = { settings = {
softrealtime = "auto"; general = {
renice = 15; renice = 15;
softrealtime = "auto";
};
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
}; };
}; };
}; };