From 2375e24b649ca2507d75f0d481d9c5558b7841b3 Mon Sep 17 00:00:00 2001 From: The_miro Date: Sun, 25 May 2025 08:04:31 +0200 Subject: [PATCH] set Sudo editor in .zshrc --- .zshrc | 6 ++++-- desktopenvs/hyprland/hypr-usr/autostart.conf | 19 ++++++++++++++++++ desktopenvs/hyprland/hypr/hyprland.conf | 20 +------------------ .../hyprland/scripts/bluetooth-applet.sh | 2 ++ 4 files changed, 26 insertions(+), 21 deletions(-) create mode 100644 desktopenvs/hyprland/hypr-usr/autostart.conf create mode 100755 desktopenvs/hyprland/scripts/bluetooth-applet.sh diff --git a/.zshrc b/.zshrc index 2065e07..964ce53 100755 --- a/.zshrc +++ b/.zshrc @@ -134,7 +134,7 @@ export TERM=xterm-256color alias ls='ls --color=auto' alias grep='grep --color=auto' - +~/Dotfiles/desktopenvs/hyprland/scripts/ewwstart.sh alias ll="ls -la --time-style=long-iso" alias l="ll" @@ -233,5 +233,7 @@ export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion +export SUDO_EDITOR=/usr/bin/nvim + # Created by `pipx` on 2025-05-12 08:58:28 -export PATH="$PATH:/home/abam/.local/bin" +export PATH="$PATH:~/.local/bin" diff --git a/desktopenvs/hyprland/hypr-usr/autostart.conf b/desktopenvs/hyprland/hypr-usr/autostart.conf new file mode 100644 index 0000000..135feb4 --- /dev/null +++ b/desktopenvs/hyprland/hypr-usr/autostart.conf @@ -0,0 +1,19 @@ +# Or execute your favorite apps at launch like this: +exec-once = export SUDO_EDITOR=/usr/bin/nvim +exec-once =bash ~/Dotfiles/desktopenvs/hyprland/scripts/autostart.sh +exec-once=bash ~/Dotfiles/desktopenvs/hyprland/scripts/ewwstart.sh +exec-once = hyprsunset +exec-once = nm-applet +#exec-once = waybar +exec-once = dunst +# exec-once = nm-applet & +#exec-once = swww-daemon & swww img /ast/bg.jpg & sleep 1s & swww restore +#exec-once = nextcloud +#exec-once=bash swww img ~/Pictures/background.jpg && swww restore +#exec-once=bash dunst +#exec-once=bash nm-applet --indicator +#exec-once=[workspace special:magic silent; float; move 10% 10%; size 70% 70%] kitty +exec-once=[workspace special:magic silent] kitty +exec-once=hyprctl setcursor Nordzy-cursors-lefthand 50 +exec-once = hyprpaper -c ~/.config/wallpaper.conf +exec-once=GTK_THEME=Default && nwg-dock-hyprland -mb 15 -r -p bottom -s style.css diff --git a/desktopenvs/hyprland/hypr/hyprland.conf b/desktopenvs/hyprland/hypr/hyprland.conf index 2d38cd9..1816c8b 100644 --- a/desktopenvs/hyprland/hypr/hyprland.conf +++ b/desktopenvs/hyprland/hypr/hyprland.conf @@ -2,9 +2,8 @@ source = ~/.config/input.conf source = ~/.config/monitors.conf source = ~/.config/binds.conf source = ~/.config/windowrules.conf +source = ~/.config/autostart.conf env GTK_THEME = cyberqueer -exec-once = export SUDO_EDITOR=/usr/bin/nvim -exec-once = blueman-applet #plugin { # hyprexpo { # columns = 3 @@ -61,15 +60,7 @@ $menu = wofi --show=drun ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) -# Or execute your favorite apps at launch like this: -exec-once=bash ~/Dotfiles/desktopenvs/hyprland/scripts/ewwstart.sh -exec-once = hyprsunset -exec-once = nm-applet -#exec-once = waybar -exec-once = dunst -# exec-once = nm-applet & -#exec-once = swww-daemon & swww img /ast/bg.jpg & sleep 1s & swww restore ############################# @@ -198,12 +189,3 @@ misc { force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :( } -#exec-once = nextcloud -#exec-once=bash swww img ~/Pictures/background.jpg && swww restore -#exec-once=bash dunst -#exec-once=bash nm-applet --indicator -#exec-once=[workspace special:magic silent; float; move 10% 10%; size 70% 70%] kitty -exec-once=[workspace special:magic silent] kitty -exec-once=hyprctl setcursor Nordzy-cursors-lefthand 50 -exec-once = hyprpaper -c ~/.config/wallpaper.conf -exec-once=GTK_THEME=Default && nwg-dock-hyprland -mb 15 -r -p bottom -s style.css diff --git a/desktopenvs/hyprland/scripts/bluetooth-applet.sh b/desktopenvs/hyprland/scripts/bluetooth-applet.sh new file mode 100755 index 0000000..d177441 --- /dev/null +++ b/desktopenvs/hyprland/scripts/bluetooth-applet.sh @@ -0,0 +1,2 @@ +#!/bin/bash +blueman-applet