moved PATH from zshrc to zprofile, moved powermenu to scripts repo

This commit is contained in:
2025-06-21 14:41:40 +05:00
parent 0e6e1f18a1
commit 2c30e97c99
4 changed files with 5 additions and 17 deletions

View File

@ -58,8 +58,10 @@ bindsym --to-code $mod+n exec $term -e newsboat
for_window [app_id="in_scratchpad"] move container to scratchpad, focus for_window [app_id="in_scratchpad"] move container to scratchpad, focus
# powermenu # powermenu
bindsym --to-code $mod+SHIFT+BackSpace exec ~/.config/tofi/powermenu.sh bindsym --to-code $mod+SHIFT+BackSpace exec ~/Scripts/tofi/powermenu.sh
# vpn selector
bindsym --to-code $mod+SHIFT+v exec ~/Scripts/tofi/select_vpn.sh
# drag floating windows by holding down $mod and left mouse button. # drag floating windows by holding down $mod and left mouse button.
# resize them with right mouse button + $mod. # resize them with right mouse button + $mod.

View File

@ -1,15 +0,0 @@
#!/usr/bin/env bash
op=$( echo -e " Shutdown\n Reboot\n Suspend\n" | tofi | awk '{print tolower($2)}' )
case $op in
shutdown)
shutdown now
;;
reboot)
shutdown -r now
;;
suspend)
systemctl suspend
;;
esac

View File

@ -1,3 +1,5 @@
export PATH=~/.local/bin:~/.cargo/bin:$PATH
if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
exec sway exec sway
fi fi

1
.zshrc
View File

@ -24,7 +24,6 @@ alias rutracker='RUTRACKER_USERNAME=$(pass show rutracker | grep -oP "username:\
alias weather='curl wttr.in/tyumen' alias weather='curl wttr.in/tyumen'
alias toggle_vpn='sudo toggle_vpn' alias toggle_vpn='sudo toggle_vpn'
export PATH=/home/nikita/.local/bin:~/.cargo/bin:$PATH
export WLR_NO_HARDWARE_CURSORS=1 export WLR_NO_HARDWARE_CURSORS=1
export EDITOR=nvim export EDITOR=nvim
export SUDO_EDITOR=/usr/bin/nvim export SUDO_EDITOR=/usr/bin/nvim