From 2fdba8a7a55c8da3be40b4e44335563dbd8b755a Mon Sep 17 00:00:00 2001 From: TymanWasTaken <32660892+TymanWasTaken@users.noreply.github.com> Date: Tue, 10 May 2022 07:22:12 -0600 Subject: [PATCH] e --- dotfiles/.zinit.zsh | 7 +++++-- dotfiles/.zprofile | 8 ++++++-- dotfiles/.zsh_aliases | 4 ++-- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/dotfiles/.zinit.zsh b/dotfiles/.zinit.zsh index 877a522..4ca100a 100644 --- a/dotfiles/.zinit.zsh +++ b/dotfiles/.zinit.zsh @@ -1,10 +1,13 @@ zinit ice depth=1; zinit light romkatv/powerlevel10k; # Powerlevel10k theme -zinit light anatolykopyl/doas-zsh-plugin; # Double-escape adds doas to command +#zinit light anatolykopyl/doas-zsh-plugin; # Double-escape adds doas to command zinit light Tarrasch/zsh-command-not-found; # Shows command suggestions on invalid zinit light Game4Move78/zsh-bitwarden; # Bitwarden cli utilities zinit light ianthehenry/zsh-autoquoter; # Auto adds quotes around some commands zinit light zdharma-continuum/fast-syntax-highlighting; # Syntax highlighting -zinit light zsh-users/zsh-autosuggestions # Command suggestions +zinit light zsh-users/zsh-autosuggestions; # Command suggestions +zinit light Tarrasch/zsh-bd; # bd command +zinit light zpm-zsh/colorize; # Colorizes a handfull of comands +zinit light ellie/atuin; # Better history search export ZSH_AUTOSUGGEST_STRATEGY=(history completion) # Use history when available, then completion [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # Load Powerlevel10k config diff --git a/dotfiles/.zprofile b/dotfiles/.zprofile index 1f2f503..0fcc728 100644 --- a/dotfiles/.zprofile +++ b/dotfiles/.zprofile @@ -1,8 +1,12 @@ #---------------------------------------------------------------------------------# ### Fixes -export PLASMA_USE_QT_SCALING=1 # Make Plasma work properly with high DPI scaling on X11 export MOZ_USE_XINPUT2=1 # Use pixel-by-pixel touchpad scrolling in Firefox -export MOZ_ENABLE_WAYLAND=1 # Use experimental native Wayland support for Firefox and Thunderbird +if [[ $XDG_SESSION_TYPE = 'wayland' ]]; then + export MOZ_ENABLE_WAYLAND=1 # Use experimental native Wayland support for Firefox and Thunderbird + export QT_QPA_PLATFORM=wayland # Enable QT wayland plugin +else + export PLASMA_USE_QT_SCALING=1 # Make Plasma work properly with high DPI scaling on X11 +fi # export GTK_USE_PORTAL=1 # Try to use native file pickers in GTK programs #---------------------------------------------------------------------------------# ### Load pyenv diff --git a/dotfiles/.zsh_aliases b/dotfiles/.zsh_aliases index 803ad57..914a002 100644 --- a/dotfiles/.zsh_aliases +++ b/dotfiles/.zsh_aliases @@ -10,8 +10,8 @@ alias ......="cd ../../.." psh() { fmt && ga && gc "$@" && gp } -alias stop="doas systemctl stop" -alias start="doas systemctl start" +alias stop="sudo systemctl stop" +alias start="sudo systemctl start" alias ls="exa" alias la="exa -a" alias lal="exa -al"