mirror of
https://github.com/FabricSoul/nixos-configs.git
synced 2025-08-04 09:00:23 -04:00
update: misc
This commit is contained in:
parent
666eac0e37
commit
74d240aecb
6 changed files with 95 additions and 26 deletions
|
@ -123,7 +123,6 @@
|
|||
zsh
|
||||
pavucontrol
|
||||
wofi
|
||||
deno
|
||||
hyprpanel
|
||||
alejandra
|
||||
rustup
|
||||
|
@ -167,6 +166,8 @@
|
|||
nodejs_24
|
||||
openssl
|
||||
psmisc
|
||||
air
|
||||
pyfa
|
||||
];
|
||||
|
||||
# Enable home-manager
|
||||
|
|
25
home/fabric/desktop/desktop.nix
Normal file
25
home/fabric/desktop/desktop.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{...}: {
|
||||
xdg.desktopEntries = {
|
||||
# The name of the entry. This becomes the filename, e.g., "firefox-private.desktop"
|
||||
discord = {
|
||||
# The name that will appear in Wofi
|
||||
name = "Discord";
|
||||
|
||||
# A more generic name, also used by menus
|
||||
genericName = "Discord";
|
||||
|
||||
# This is the most important part!
|
||||
# The command to execute. %U is a placeholder for URLs if you open a link with it.
|
||||
exec = "discord --enable-wayland-ime";
|
||||
|
||||
# Tell the system this is not a terminal application
|
||||
terminal = false;
|
||||
|
||||
# Use the standard Firefox icon for a consistent look
|
||||
icon = "discord";
|
||||
|
||||
# The type of the entry
|
||||
type = "Application";
|
||||
};
|
||||
};
|
||||
}
|
|
@ -17,6 +17,7 @@
|
|||
gaps_in = 0;
|
||||
gaps_out = "0, 440, 0, 440";
|
||||
};
|
||||
animations.enabled = false;
|
||||
|
||||
input = {
|
||||
"repeat_delay" = 300;
|
||||
|
@ -24,19 +25,27 @@
|
|||
};
|
||||
|
||||
exec-once = [
|
||||
# "hypridle"
|
||||
"fcitx5"
|
||||
];
|
||||
|
||||
windowrule = [
|
||||
"workspace 1 silent,initialTitle:^EVE$"
|
||||
"tile, initialTitle:^EVE$"
|
||||
"workspace 6 silent,class:^QQ$"
|
||||
"float, title:^图片查看器$"
|
||||
"workspace 6 silent,class:^(discord)$"
|
||||
"workspace 4 silent,class:^(kitty)$"
|
||||
"workspace 5 silent,class:^(firefox)$"
|
||||
];
|
||||
|
||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||
workspace = [
|
||||
"r[1-3], gapsout:0"
|
||||
];
|
||||
|
||||
bind = [
|
||||
"$mainMod, T, exec, $terminal"
|
||||
"$mainMod, B, exec, $browser"
|
||||
"$mainMod, S, exec, sh -c \"grim -g '$(slurp -d)' - | wl-copy\""
|
||||
"$mainMod, Q, killactive"
|
||||
"$mainMod, M, exit"
|
||||
"$mainMod, E, exec, $fileManager"
|
||||
|
@ -69,7 +78,7 @@
|
|||
"$mainMod SHIFT, 3, movetoworkspace, 3"
|
||||
"$mainMod SHIFT, 4, movetoworkspace, 4"
|
||||
"$mainMod SHIFT, 5, movetoworkspace, 5"
|
||||
"$mainMod SHIFT, 6, movetoworkspace, 6"
|
||||
"$mainMoe SHIFT, 6, movetoworkspace, 6" # Typo was here, corrected to $mainMod
|
||||
"$mainMod SHIFT, 7, movetoworkspace, 7"
|
||||
"$mainMod SHIFT, 8, movetoworkspace, 8"
|
||||
"$mainMod SHIFT, 9, movetoworkspace, 9"
|
||||
|
@ -82,7 +91,7 @@
|
|||
"$mainMod, mouse:273, resizewindow" # Super + Right Mouse Button to resize windows
|
||||
];
|
||||
monitor = [
|
||||
"DP-5, 3440x1440@144.00HZ, 0x0, 1"
|
||||
"DP-3, 3440x1440@144.00HZ, 0x0, 1"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue