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

55 lines
1.9 KiB
Nix

{ config, ... }:
{
# include hyprland configs
home.file.".config/hypr/executions.conf".text = ''
# start waybar
exec = ~/.dotfiles/apps/waybar/startup.sh
# set monitor workspaces
exec = ~/.dotfiles/apps/hyprland/monitor.sh
# start tailscale
exec-once = tailscale up
# clear and start clipse
exec-once = clipse -clear
exec-once = clipse -listen
# start blueman
exec = blueman-tray
# start hypridle
exec-once = hypridle
# theming
exec = ~/.dotfiles/apps/wallpaper/startup.sh
# set volume
exec-once = wpctl set-volume @DEFAULT_AUDIO_SINK@ 80%
# solaar
exec-once = ~/.dotfiles/apps/hyprland/startup/solaar.sh
# nextcloud desktop
exec-once = ~/.dotfiles/apps/hyprland/startup/nextcloud_desktop.sh
# center apps
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "solaar" --title "solaar"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "clipse" --title "Alacritty"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "nostt" --title "Alacritty"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "nmtui" --title "Alacritty"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "Rofi" --title "rofi - Apps"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "scratchbox" --title "Alacritty"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "blueman-manager" --title "Bluetooth Devices"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "com.gabm.satty" --title "satty"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "dev.deedles.Trayscale" --title "Trayscale"
exec = ~/.dotfiles/apps/hyprland/centre_app.sh --class "com.github.wwmm.easyeffects" --title "Easy Effects"
# start default apps
exec-once = [workspace 1 silent] bitwarden
exec-once = [workspace 2 silent] firefox
exec-once = [workspace 3 silent] alacritty
'';
}