set variables from zprofile
This commit is contained in:
@ -9,12 +9,21 @@ set $up k
|
|||||||
set $right l
|
set $right l
|
||||||
|
|
||||||
|
|
||||||
# autostart
|
# start daemons
|
||||||
exec copyq --start-server
|
exec copyq --start-server
|
||||||
# exec waybar
|
# exec waybar
|
||||||
exec dunst
|
exec dunst
|
||||||
|
exec playerctld daemon
|
||||||
exec_always autotiling
|
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 {
|
bar {
|
||||||
id 1
|
id 1
|
||||||
tray_output none
|
tray_output none
|
||||||
@ -75,6 +84,7 @@ assign [app_id="DBeaver"] workspace 22
|
|||||||
assign [class="jetbrains-datagrip"] workspace 23
|
assign [class="jetbrains-datagrip"] workspace 23
|
||||||
assign [app_id="taxsee.im.desktop*"] workspace 24
|
assign [app_id="taxsee.im.desktop*"] workspace 24
|
||||||
|
|
||||||
|
assign [app_id="Element"] workspace number 25
|
||||||
assign [class="Element"] workspace number 25
|
assign [class="Element"] workspace number 25
|
||||||
|
|
||||||
# powermenu
|
# powermenu
|
||||||
@ -257,11 +267,4 @@ bindsym --to-code --locked Shift+XF86AudioPrev exec mpc prev
|
|||||||
# special key to take a screenshot with grim
|
# special key to take a screenshot with grim
|
||||||
bindsym --to-code $mod+Shift+s exec grim -g "$(slurp)" - | wl-copy
|
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/*
|
include /etc/sway/config.d/*
|
||||||
|
|||||||
@ -1,5 +1,11 @@
|
|||||||
export PATH=~/.local/bin:~/.cargo/bin:$PATH
|
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
|
if [[ -z $DISPLAY && $TTY = /dev/tty1 ]]; then
|
||||||
exec sway
|
exec sway
|
||||||
fi
|
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 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 weather='curl wttr.in/tyumen'
|
||||||
alias toggle_vpn='sudo toggle_vpn'
|
alias toggle_vpn='sudo toggle_vpn'
|
||||||
|
alias rr='ranger'
|
||||||
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
|
|
||||||
|
|
||||||
### Added by Zinit's installer
|
### Added by Zinit's installer
|
||||||
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
|
if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user