From 2d81e0a5791ff168ff28425741067e6dee90e308 Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 3 May 2023 09:23:13 +0200 Subject: [PATCH] =?UTF-8?q?=CE=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configs/.zshrc | 1 + configs/sway/config | 3 ++- configs/zsh/aliases.sh | 7 ++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/configs/.zshrc b/configs/.zshrc index c9252f9..46e1aff 100644 --- a/configs/.zshrc +++ b/configs/.zshrc @@ -19,6 +19,7 @@ if [ -f "$HOME/.config/zsh/antigen.zsh" ] ; then antigen use oh-my-zsh antigen bundle git antigen bundle docker + antigen bundle sudo antigen bundle asdf antigen bundle jeffreytse/zsh-vi-mode antigen theme romkatv/powerlevel10k diff --git a/configs/sway/config b/configs/sway/config index 3a64eeb..62c6be8 100644 --- a/configs/sway/config +++ b/configs/sway/config @@ -30,7 +30,7 @@ set $windowshot wl-copy < "$($grimshot --notify save window $screenshot_dir/scrn set $screenvideo wf-recorder -g "$(slurp)" -f "$screenshot_dir/scrn-$(date +'%Y-%m-%d-%H-%M-%S').mp4" # Default Programs -set $term wezterm +set $term flatpak run org.wezfurlong.wezterm set $explorer nautilus set $mail org.gnome.Geary set $browser google-chrome-beta --enable-features=UseOzonePlatform --ozone-platform=wayland @@ -278,6 +278,7 @@ input "1739:24385:Synaptics_TM2438-005" { # -- Select Window bindsym $mod+Control+s exec $windowshot + bindsym $mod+Alt+h exec clipman pick -t wofi bindsym $mod+i exec $select_emoji bindsym $mod+Shift+i exec $debug_window bindsym $mod+o exec $open_localhost diff --git a/configs/zsh/aliases.sh b/configs/zsh/aliases.sh index 8f2a7eb..d3de28b 100644 --- a/configs/zsh/aliases.sh +++ b/configs/zsh/aliases.sh @@ -55,7 +55,12 @@ alias p="git pull" alias lt="tree -L 2 --filelimit 150 --dirsfirst" -alias dc="sudo docker-compose" +if docker compose &> /dev/null +then + alias dc="sudo docker compose" +else + alias dc="sudo docker-compose" +fi alias d="sudo docker" alias t="tmux"