This repository has been archived on 2024-07-10. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles-nix/nix/home/hyprland/hyprland-execution.nix

63 lines
1.8 KiB
Nix
Raw Normal View History

2024-03-24 20:51:24 +01:00
{ config, ... }:
{
# hyprland environment variables
wayland.windowManager.hyprland.settings = {
# execute always
exec = [
2024-03-24 20:51:24 +01:00
# start waybar
"~/.dotfiles/apps/waybar/startup.sh"
2024-03-24 20:51:24 +01:00
# set monitor workspaces
"~/.dotfiles/apps/hyprland/monitor.sh"
2024-03-24 20:51:24 +01:00
# start blueman
"blueman-tray"
2024-03-24 20:51:24 +01:00
# set wallpaper
"~/.dotfiles/apps/wallpaper/startup.sh"
2024-03-24 20:51:24 +01:00
# center apps
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"blueman-manager\" --title \"Bluetooth Devices\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"clipse\" --title \"Alacritty\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"com.gabm.satty\" --title \"satty\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"dev.deedles.Trayscale\" --title \"Trayscale\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"nmtui\" --title \"Alacritty\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"nostt\" --title \"Alacritty\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"pavucontrol\" --title \"Volume Control\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"Rofi\" --title \"rofi - Apps\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"scratchbox\" --title \"Alacritty\""
"~/.dotfiles/apps/hyprland/centre_app.sh --class \"solaar\" --title \"solaar\""
];
2024-03-24 20:51:24 +01:00
# execute once
exec-once = [
2024-03-24 20:51:24 +01:00
# start tailscale
"tailscale up"
2024-03-24 20:51:24 +01:00
# clear and start clipse
"clipse -clear"
"clipse -listen"
2024-03-24 20:51:24 +01:00
# set volume
"pw-volume change 80%"
# solaar
"~/.dotfiles/apps/hyprland/startup/solaar.sh"
# nextcloud desktop
"~/.dotfiles/apps/hyprland/startup/nextcloud_desktop.sh"
# start default apps
"[workspace 1 silent] bitwarden"
"[workspace 2 silent] firefox"
"[workspace 3 silent] alacritty"
];
};
2024-03-24 20:51:24 +01:00
}