Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Commit

Permalink
feat(dx): open fedora userspace on shortcut (ublue-os#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
p5 authored Jun 25, 2023
1 parent ab49ec1 commit e4e376f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
5 changes: 5 additions & 0 deletions dx/etc/dconf/db/local.d/01-ublue-dx
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@
font-name="Ubuntu Nerd Font 12"
document-font-name="Ubuntu Nerd Font 12"
monospace-font-name="UbuntuMono Nerd Font 18"

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2]
binding='<Control><Alt>f'
command='flatpak run com.raggesilver.BlackBox --command "distrobox enter fedora"'
name='blackbox fedora'
15 changes: 15 additions & 0 deletions dx/etc/distrobox/distrobox.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[ubuntu]
image=ghcr.io/ublue-os/ubuntu-toolbox:latest
init=false
nvidia=false
pull=true
root=false
replace=true

[fedora]
image=registry.fedoraproject.org/fedora-toolbox:latest
init=false
nvidia=false
pull=true
root=false
replace=true
4 changes: 2 additions & 2 deletions etc/dconf/db/local.d/01-ublue
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ name='gnome-terminal'

[org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1]
binding='<Control><Alt>u'
command='flatpak run com.raggesilver.BlackBox'
name='blackbox'
command='flatpak run com.raggesilver.BlackBox --command "distrobox enter ubuntu"'
name='blackbox ubuntu'

[org/gnome/settings-daemon/plugins/media-keys]
custom-keybindings=['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/']
Expand Down

0 comments on commit e4e376f

Please sign in to comment.