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

View file

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

View file

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

View file

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

View file

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