This commit is contained in:
iFargle 2024-01-07 15:21:41 +09:00
parent 4662af79de
commit 7c18c81c02
7 changed files with 17 additions and 9 deletions

View file

@ -1,6 +1,9 @@
{ ... }: { { inputs, ... }: {
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.csgo-vulkan-fix
];
extraConfig = '' extraConfig = ''
# Resize # Resize
bind = SUPER, R, exec, notify-send 'Entered resize mode. Press ESC to quit.' bind = SUPER, R, exec, notify-send 'Entered resize mode. Press ESC to quit.'
@ -85,9 +88,9 @@
master.new_is_master = true; master.new_is_master = true;
windowrule = [ windowrule = [
"noblur,^(firefox)$" # disables blur for firefox "noblur,^(firefox)$" # disables blur for firefox
"opacity 1.0 override,^(firefox)$" "opacity 1.0 override,^(firefox)$" # Sets opacity to 1
"noblur,^(steam)$" # disables blur for steam "noblur,^(steam)$" # disables blur for steam
"opacity 1.0 override,^(steam)$" "opacity 1.0 override,^(steam)$" # Sets opacity to 1
]; ];
bind = [ bind = [
''SUPER, Q, exec, kitty'' ''SUPER, Q, exec, kitty''
@ -163,8 +166,8 @@
]; ];
bindm = [ bindm = [
# Move/resize windows with mainMod + LMB/RMB and dragging # Move/resize windows with mainMod + LMB/RMB and dragging
''SUPER, mouse:272, movewindow'' ''SHIFT, mouse:272, movewindow''
''SUPER, mouse:273, resizewindow'' ''SHIFT, mouse:273, resizewindow''
]; ];
exec-once = ''bash ~/.config/hypr/start.sh''; exec-once = ''bash ~/.config/hypr/start.sh'';

View file

@ -1,7 +1,7 @@
{ ... }: { { ... }: {
services.mako = { services.mako = {
enable = true; enable = true;
anchor = "top-center"; anchor = "top-right";
borderRadius = 2; borderRadius = 2;
borderSize = 2; borderSize = 2;
icons = true; icons = true;
@ -19,7 +19,7 @@
max-icon-size=128 max-icon-size=128
icon-location=left icon-location=left
history=1 history=1
text-alignment=center text-alignment=left
''; '';
}; };
} }

View file

@ -11,13 +11,14 @@
"custom/wlogout" "custom/wlogout"
"idle_inhibitor" "idle_inhibitor"
"clock" "clock"
"hyprland/submap" "cava"
"mpris" "mpris"
]; ];
modules-center = [ modules-center = [
"hyprland/workspaces" "hyprland/workspaces"
]; ];
modules-right = [ modules-right = [
"hyprland/submap"
"pulseaudio" "pulseaudio"
"custom/tailscale" "custom/tailscale"
"network" "network"
@ -50,7 +51,7 @@
mpris = { mpris = {
format = "{player_icon} {dynamic}"; format = "{player_icon} {dynamic}";
format-paused = ''{status_icon} <i>{dynamic}</i>''; format-paused = ''{status_icon} <i>{dynamic}</i>'';
player-icons = { default = ""; }; player-icons = { default = " "; };
status-icons = { paused = ""; }; status-icons = { paused = ""; };
max-length = 30; max-length = 30;
}; };
@ -127,6 +128,7 @@
* { * {
border: none; border: none;
border-radius: 0; border-radius: 0;
} }
#waybar { #waybar {

View file

@ -131,6 +131,8 @@
pkgs.pulsemixer # TUI Pipewire / volume management pkgs.pulsemixer # TUI Pipewire / volume management
pkgs.calcurse # TUI Calendar app pkgs.calcurse # TUI Calendar app
pkgs.udiskie # Automatic device mounting pkgs.udiskie # Automatic device mounting
pkgs.cava # Audio visualiser
pkgs.pyradio # Internet radio TUI
# Themes # Themes
pkgs.gruvbox-gtk-theme # Gruvbox Theme pkgs.gruvbox-gtk-theme # Gruvbox Theme

View file

@ -58,6 +58,7 @@
sshpass # ssh password helper sshpass # ssh password helper
cbonsai # ncurses bonsai tree cbonsai # ncurses bonsai tree
busybox # Linux utilities busybox # Linux utilities
ethtool # Ethernet troubleshooting
]; ];
# Select internationalisation properties. # Select internationalisation properties.