toolbox -> fedora

This commit is contained in:
John Mertz 2024-01-31 13:33:45 -07:00
parent 41ad18f37f
commit f439d64f5e
6 changed files with 10 additions and 14 deletions

View File

@ -1,15 +1,15 @@
import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/toolbox.toml"] import = ["/var/home/jpm/.dotfiles/alacritty/alacritty.toml", "/var/home/jpm/.dotfiles/alacritty/fedora.toml"]
[env] [env]
TERM_TITLE = "Alacritty (Fedora Ephemeral)" TERM_TITLE = "Alacritty (Fedora Ephemeral)"
[shell] [shell]
args = ["ephemeral", "-i", "fedora:37"] args = ["ephemeral", "-i", "fedora:39"]
program = "/usr/bin/distrobox" program = "/usr/bin/distrobox"
[window] [window]
title = "Alacritty - Fedora (Ephemeral)" title = "Alacritty - Fedora (Ephemeral)"
[window.class] [window.class]
general = "Alacritty-toolbox-ephemeral" general = "Alacritty-fedora-ephemeral"
instance = "Alacritty-toolbox-ephemeral" instance = "Alacritty-fedora-ephemeral"

View File

@ -47,12 +47,12 @@ family = "Anonymice Nerd Font"
style = "Regular" style = "Regular"
[shell] [shell]
args = ["enter", "toolbox"] args = ["enter", "fedora"]
program = "/usr/bin/distrobox" program = "/usr/bin/distrobox"
[window] [window]
title = "Alacritty - Fedora (Distrobox)" title = "Alacritty - Fedora (Distrobox)"
[window.class] [window.class]
general = "Alacritty-toolbox" general = "Alacritty-fedora"
instance = "Alacritty-toolbox" instance = "Alacritty-fedora"

View File

@ -1,4 +1,2 @@
# vim: ft=sh # vim: ft=sh
# Already in a toolbox
alias toolbox="echo You are already in a toolbox"

View File

@ -1,7 +1,5 @@
# vim: ft=sh # vim: ft=sh
# Script to restore toolbox after it was replaced with distrobox and removed the default 'toolbox' name
alias toolbox="$HOME/scripts/toolbox.sh"
alias butane='podman run --rm --interactive \ alias butane='podman run --rm --interactive \
--security-opt label=disable \ --security-opt label=disable \
--volume ${PWD}:/pwd --workdir /pwd \ --volume ${PWD}:/pwd --workdir /pwd \

View File

@ -48,8 +48,8 @@ bindsym $mod+u exec ${HOME}/scripts/tofi/tofi-drun.sh
# Add Shift: Alternative launcher for literal commands # Add Shift: Alternative launcher for literal commands
bindsym $mod+Shift+u exec ${HOME}/.local/bin/gmrun bindsym $mod+Shift+u exec ${HOME}/.local/bin/gmrun
# Middle: Fedora distrobox ('toolbox' is a legacy naming convention) # Middle: Fedora distrobox
bindsym $mod+e exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/toolbox.toml bindsym $mod+e exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/fedora.toml
# Add Shift: start a remote shell # Add Shift: start a remote shell
# TODO: bindsym $mod+Shift+e exec ${HOME}/scripts/wofi/wofi-ssh-menu.sh # TODO: bindsym $mod+Shift+e exec ${HOME}/scripts/wofi/wofi-ssh-menu.sh
bindsym $mod+Shift+e exec ${HOME}/scripts/rofi/rofi-ssh-menu.sh bindsym $mod+Shift+e exec ${HOME}/scripts/rofi/rofi-ssh-menu.sh
@ -74,7 +74,7 @@ bindsym $mod+Shift+a exec ${HOME}/scripts/send-to-kodi.sh
# Index: Host terminal (should be rarely used) # Index: Host terminal (should be rarely used)
bindsym $mod+p exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/host.toml bindsym $mod+p exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/host.toml
# Add Shift: Fedora Ephemeral # Add Shift: Fedora Ephemeral
bindsym $mod+Shift+p exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/toolbox-ephemeral.toml bindsym $mod+Shift+p exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/fedora-ephemeral.toml
# Middle: Debian (Testing) # Middle: Debian (Testing)
bindsym $mod+period exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/debian.toml bindsym $mod+period exec /usr/bin/alacritty --config-file ${HOME}/.dotfiles/alacritty/debian.toml