From 1ff4285cb54f3952f1bba46bda160e652d9ecf20 Mon Sep 17 00:00:00 2001 From: Brad Ganley Date: Thu, 6 Apr 2023 01:18:55 -0500 Subject: [PATCH] I guess I changed some things. Legit do not know what they were --- .bash_aliases | 7 +++---- i3/config | 3 ++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 6f50b37..f7c78d9 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -105,10 +105,9 @@ alias pang='ping -i 10 -v -a' alias mnts='mount | column -t' # The history command but shorter alias h='history' -# Type way fewer letters -alias doco='docker compose' -# One of my most used commands. Restart a docker compose situation entirely -alias redoco='docker compose down; docker compose up -d' +# Lazy docker composing. Set the variable somewhere. +alias doco="$DOCKER_COMPOSE_COMMAND" +alias redoco="$DOCKER_COMPOSE_COMMAND down && $DOCKER_COMPOSE_COMMAND up -d" # Regain all that space taken up by projects you abandoned alias docprune='docker image prune && docker network prune && docker container prune && docker volume prune' # Send things instantly to a pastebin. Pipe other commands into this to share their output. diff --git a/i3/config b/i3/config index c97a329..3fd0c34 100644 --- a/i3/config +++ b/i3/config @@ -47,7 +47,8 @@ bindsym $mod+Return exec terminator bindsym $mod+Shift+q kill # start dmenu (a program launcher) -bindsym $mod+d exec --no-startup-id dmenu_run +#bindsym $mod+d exec --no-startup-id dmenu_run +bindsym $mod+d exec --no-startup-id rofi -combi-modi window,drun,ssh -theme solarized -font "hack 10" -show combi # A more modern dmenu replacement is rofi: # bindcode $mod+40 exec "rofi -modi drun,run -show drun" # There also is i3-dmenu-desktop which only displays applications shipping a