From c67d136c0cf577c06bd2d994ae9bb7fce5975496 Mon Sep 17 00:00:00 2001 From: piccihud Date: Sun, 27 Oct 2024 17:46:07 +0100 Subject: [PATCH] update dotfiles --- .bashrc | 8 +++++--- sway/config.d/default | 5 ++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.bashrc b/.bashrc index a50309c..0f1c66f 100644 --- a/.bashrc +++ b/.bashrc @@ -132,16 +132,18 @@ alias autoremove="sudo apt autoremove -y" alias autoclean="sudo apt autoclean -y" alias autopurge="sudo apt autopurge -y" alias search="apt search" -alias codium="flatpak run com.vscodium.codium-insiders +alias code="flatpak run com.vscodium.codium &> /dev/null" alias v="vim 2> /dev/null" alias sv="sudo vim 2> /dev/null" alias files_replace_space='for f in *\ *; do mv "$f" "${f// /_}"; done' alias dtrash="rm -rf .local/share/Trash/files/*" alias ga="git add" -alias push="git push -u origin master" -alias pull="git pull" alias gs="git status" alias gm="git commit -m" +alias gma="git commit --amend" +alias gp="git push -u origin main" +alias gpf="git push -u origin main --force" +alias gpl="git pull" alias ipc="ip --color a" alias ss="scrcpy -S" alias nn="ncdu --color dark" diff --git a/sway/config.d/default b/sway/config.d/default index fa7bd3d..fb5c866 100644 --- a/sway/config.d/default +++ b/sway/config.d/default @@ -228,9 +228,8 @@ bindsym $mod+r mode "resize" # # Screenshots # - #bindsym $mod+p exec shotman active - bindsym print exec shotman area - bindsym alt+p exec grim - | wl-copy + #bindsym print exec shotman area + bindsym print exec grim -g "$(slurp)" - | wl-copy #bindsym $mod+alt+p exec shotman output #bindsym $mod+ctrl+p exec shotman window