feat: updates

This commit is contained in:
installer
2024-12-18 18:44:43 +01:00
parent 17041de5d5
commit a4988db714
5 changed files with 26 additions and 14 deletions

View File

@@ -172,6 +172,11 @@ misc {
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :( disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
} }
binds {
workspace_back_and_forth = true
allow_workspace_cycles = true
}
############# #############
### INPUT ### ### INPUT ###
############# #############
@@ -206,7 +211,6 @@ device {
sensitivity = -0.5 sensitivity = -0.5
} }
################### ###################
### KEYBINDINGS ### ### KEYBINDINGS ###
################### ###################

View File

@@ -11,6 +11,20 @@ in {
}; };
config = lib.mkIf config.myHome.waybar.enable { config = lib.mkIf config.myHome.waybar.enable {
services.swaync = {
enable = true;
package = pkgs.swaynotificationcenter;
settings = {
"widgets" = [
"dnd"
"mpris"
"volume"
"title"
"notifications"
];
};
};
programs.waybar = { programs.waybar = {
enable = true; enable = true;
package = pkgs.waybar; package = pkgs.waybar;
@@ -32,7 +46,6 @@ in {
"idle_inhibitor" "idle_inhibitor"
]; ];
modules-right = [ modules-right = [
"custom/hyprbindings"
"custom/notification" "custom/notification"
"custom/exit" "custom/exit"
"battery" "battery"
@@ -128,13 +141,7 @@ in {
"custom/startmenu" = { "custom/startmenu" = {
tooltip = false; tooltip = false;
format = ""; format = "";
# exec = "rofi -show drun"; on-click = "sleep 0.1 && rofi -show drun -modi run,drun,filebrowser,window";
on-click = "sleep 0.1 && rofi-launcher";
};
"custom/hyprbindings" = {
tooltip = false;
format = "󱕴";
on-click = "sleep 0.1 && list-hypr-bindings";
}; };
"idle_inhibitor" = { "idle_inhibitor" = {
format = "{icon}"; format = "{icon}";
@@ -145,7 +152,7 @@ in {
tooltip = "true"; tooltip = "true";
}; };
"custom/notification" = { "custom/notification" = {
tooltip = false; tooltip = true;
format = "{icon} {}"; format = "{icon} {}";
format-icons = { format-icons = {
notification = "<span foreground='red'><sup></sup></span>"; notification = "<span foreground='red'><sup></sup></span>";
@@ -160,7 +167,8 @@ in {
return-type = "json"; return-type = "json";
exec-if = "which swaync-client"; exec-if = "which swaync-client";
exec = "swaync-client -swb"; exec = "swaync-client -swb";
on-click = "sleep 0.1 && task-waybar"; on-click = "sleep 0.1 && ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
on-click-right = "sleep 0.1 && ${pkgs.swaynotificationcenter}/bin/swaync-client -d -sw";
escape = true; escape = true;
}; };
"battery" = { "battery" = {

View File

@@ -24,6 +24,8 @@ in
brightnessctl brightnessctl
spotify spotify
# cura # cura
obs-studio
prusa-slicer
]; ];
programs = { programs = {
firefox.enable = true; firefox.enable = true;

View File

@@ -16,7 +16,6 @@ in
steam steam
discord discord
openttd openttd
nile
]; ];
programs.steam.enable = true; programs.steam.enable = true;
programs.gamemode.enable = true; programs.gamemode.enable = true;

View File

@@ -20,7 +20,6 @@ in
waybar waybar
pavucontrol pavucontrol
libnotify libnotify
swaynotificationcenter
wl-clipboard wl-clipboard
hyprpaper hyprpaper
libnotify libnotify