set variables from zprofile
This commit is contained in:
@ -9,12 +9,21 @@ set $up k
|
||||
set $right l
|
||||
|
||||
|
||||
# autostart
|
||||
# start daemons
|
||||
exec copyq --start-server
|
||||
# exec waybar
|
||||
exec dunst
|
||||
exec playerctld daemon
|
||||
exec_always autotiling
|
||||
|
||||
# subscribe to ntfy notifications
|
||||
exec ~/Scripts/ntfy/ntfy_subscribe.sh &
|
||||
|
||||
# start xwayland at session start to make DP-2 monitor primary
|
||||
xwayland force
|
||||
exec xrandr --output DP-2 --primary
|
||||
|
||||
|
||||
bar {
|
||||
id 1
|
||||
tray_output none
|
||||
@ -75,6 +84,7 @@ assign [app_id="DBeaver"] workspace 22
|
||||
assign [class="jetbrains-datagrip"] workspace 23
|
||||
assign [app_id="taxsee.im.desktop*"] workspace 24
|
||||
|
||||
assign [app_id="Element"] workspace number 25
|
||||
assign [class="Element"] workspace number 25
|
||||
|
||||
# powermenu
|
||||
@ -257,11 +267,4 @@ bindsym --to-code --locked Shift+XF86AudioPrev exec mpc prev
|
||||
# special key to take a screenshot with grim
|
||||
bindsym --to-code $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
|
||||
|
||||
# subscribe to ntfy notifications
|
||||
exec ~/Scripts/ntfy/ntfy_subscribe.sh &
|
||||
|
||||
# start xwayland at session start to make DP-2 monitor primary
|
||||
xwayland force
|
||||
exec xrandr --output DP-2 --primary
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
||||
@ -1,5 +1,11 @@
|
||||
export PATH=~/.local/bin:~/.cargo/bin:$PATH
|
||||
|
||||
export EDITOR=nvim
|
||||
export SUDO_EDITOR=/usr/bin/nvim
|
||||
export XDG_CURRENT_DESKTOP=Sway
|
||||
export HOMEBREW_NO_AUTO_UPDATE=true
|
||||
export ELECTRON_OZONE_PLATFORM_HINT=auto
|
||||
|
||||
if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
|
||||
exec sway
|
||||
fi
|
||||
|
||||
7
.zshrc
7
.zshrc
@ -24,12 +24,7 @@ alias acpoet='source $( poetry env list --full-path | grep Activated | cut -d" "
|
||||
alias rutracker='RUTRACKER_USERNAME=$(pass show rutracker | grep -oP "username:\K.*") RUTRACKER_PASSWORD=$(pass show rutracker | head -n 1) rust_rutracker_cli'
|
||||
alias weather='curl wttr.in/tyumen'
|
||||
alias toggle_vpn='sudo toggle_vpn'
|
||||
|
||||
export WLR_NO_HARDWARE_CURSORS=1
|
||||
export EDITOR=nvim
|
||||
export SUDO_EDITOR=/usr/bin/nvim
|
||||
export XDG_CURRENT_DESKTOP=Sway
|
||||
export HOMEBREW_NO_AUTO_UPDATE=true
|
||||
alias rr='ranger'
|
||||
|
||||
### Added by Zinit's installer
|
||||
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
|
||||
|
||||
Reference in New Issue
Block a user