Something went wrong. Try again.
trying a setup with mise as a system manager on Asahi Fedora Remix. Dotfile saved here via `tail -n +1 $(find . -type f) | wl-copy` b/c I don't feel like setting up keys to push to a repo
Something went wrong. Try again.
6.6 kB · 246 lines · Created 4mo ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247==> ./.config/ghostty/config.ghostty <==
==> ./.config/nushell/config.nu <==# config.nu## Installed by:# version = "0.113.1"## This file is used to override default Nushell settings, define# (or import) custom commands, or run any other startup tasks.# See https://www.nushell.sh/book/configuration.html## Nushell sets "sensible defaults" for most configuration settings, # so your `config.nu` only needs to override these defaults if desired.## You can open this file in your default editor using:# config nu## You can also pretty-print and page through the documentation for configuration# options using:# config nu --doc | nu-highlight | less -R
==> ./.config/nushell/env.nu <==# env.nu## Installed by:# version = "0.113.1"## Previously, environment variables were typically configured in `env.nu`.# In general, most configuration can and should be performed in `config.nu`# or one of the autoload directories.## This file is generated for backwards compatibility for now.# It is loaded before config.nu and login.nu## See https://www.nushell.sh/book/configuration.html## Also see `help config env` for more options.## You can remove these comments if you want or leave# them for future reference.
==> ./.config/mise/config.toml <==[tools]"aqua:nushell/nushell" = "latest"node = "lts"python = "latest"
[tasks]say-hi = { run = "echo 'hello world!'" }
[settings]experimental = truedotfiles = { root = "~/.dotfiles" }
[bootstrap]packages = { "dnf:keyd" = "latest", "dnf:ghostty" = "latest", "dnf:neovim" = "latest", "dnf:zed" = "latest", "dnf:cosmic-desktop" = "latest" }user = { login_shell = "/bin/bash" }
[bootstrap.hooks]post-dotfiles = """sudo mkdir -p /etc/keydsudo ln -s ~/.dotfiles/keyd/default.conf /etc/keyd/default.confsudo systemctl enable keyd --nowsudo keyd reload
sudo mkdir -p /etc/libinput/sudo ln -s ~/.dotfiles/keyd/libinput/local-overrides.quirks /etc/libinput/local-overrides.quirksecho 'please restart computer for changes to take effect'"""
[dotfiles]"~/.bashrc/activate" = { block = 'eval "$(mise activate bash)"' }"~/.config/ghostty/config.ghostty" = { mode = "symlink" }"~/.config/nushell/config.nu" = { mode = "symlink" }"~/.config/nushell/env.nu" = { mode = "symlink" }"~/.config/mise/config.toml" = { mode = "symlink" }
==> ./.config/keyd/default.conf <==# NOTE: to use this, rename this file to default.conf and put in /etc/keyd/
# Mac-Like Configuration Example## Uses "Alt" button to the left of spacebar as "Cmd" key## Note:# This 'trick' generally requires that the press+release of the Meta# key will do nothing. On my system, I had to disable the "overlay-key"# in mutter to make it inert:# - `gsettings set org.gnome.mutter overlay-key ''`
[ids]*
[main]
# Create a new "Cmd" button, with various Mac OS-like features belowleftalt = layer(meta_mac)
# Swap meta/altleftmeta = alt
# meta_mac modifier layer; inherits from 'Ctrl' modifier layer## The main part! Using this layer, we can remap our new "Cmd" key to# do almost everything our muscle memory might need...[meta_mac:C]
# Meta-Space: Open the Launcher (a feature of gnome-shell)# keybinding: ? how did we arrive at M-/ ?space = M-/
# Switch directly to an open tab (e.g. Firefox, VS code)1 = A-12 = A-23 = A-34 = A-45 = A-56 = A-67 = A-78 = A-89 = A-9
# Copyc = C-insert# Pastev = S-insert# Cutx = S-delete
# Move cursor to beginning of lineleft = home# Move cursor to end of Lineright = end
# As soon as tab is pressed (but not yet released), we switch to the# "app_switch_state" overlay where we can handle Meta-Backtick differently.# Also, send a 'M-tab' key tap before entering app_switch_sate.tab = swapm(app_switch_state, M-tab)
# Meta-Backtick: Switch to next window in the application group# - A-f6 is the default binding for 'cycle-group' in gnome# - keybinding: `gsettings get org.gnome.desktop.wm.keybindings cycle-group`` = A-f6
# app_switch_state modifier layer; inherits from 'Meta' modifier layer[app_switch_state:M]
# Meta-Tab: Switch to next application# - keybinding: `gsettings get org.gnome.desktop.wm.keybindings switch-applications`tab = M-tabright = M-tab
# Meta-Backtick: Switch to previous application# - keybinding: `gsettings get org.gnome.desktop.wm.keybindings switch-applications-backward`` = M-S-tableft = M-S-tab
==> ./keyd/default.conf <==# NOTE: to use this, rename this file to default.conf and put in /etc/keyd/
# Mac-Like Configuration Example## Uses "Alt" button to the left of spacebar as "Cmd" key## Note:# This 'trick' generally requires that the press+release of the Meta# key will do nothing. On my system, I had to disable the "overlay-key"# in mutter to make it inert:# - `gsettings set org.gnome.mutter overlay-key ''`
[ids]*
[main]
# Create a new "Cmd" button, with various Mac OS-like features belowleftmeta = layer(meta_mac)
# Swap meta/alt# leftmeta = alt
# meta_mac modifier layer; inherits from 'Ctrl' modifier layer## The main part! Using this layer, we can remap our new "Cmd" key to# do almost everything our muscle memory might need...[meta_mac:C]
# Meta-Space: Open the Launcher (a feature of gnome-shell)# keybinding: ? how did we arrive at M-/ ?space = rightmeta
# Switch directly to an open tab (e.g. Firefox, VS code)1 = A-12 = A-23 = A-34 = A-45 = A-56 = A-67 = A-78 = A-89 = A-9
# Copyc = C-insert# Pastev = S-insert# Cutx = S-delete
# Move cursor to beginning of lineleft = home# Move cursor to end of Lineright = end
# As soon as tab is pressed (but not yet released), we switch to the# "app_switch_state" overlay where we can handle Meta-Backtick differently.# Also, send a 'M-tab' key tap before entering app_switch_sate.tab = swapm(app_switch_state, M-tab)
# Meta-Backtick: Switch to next window in the application group# - A-f6 is the default binding for 'cycle-group' in gnome# - keybinding: `gsettings get org.gnome.desktop.wm.keybindings cycle-group`` = A-f6
# app_switch_state modifier layer; inherits from 'Meta' modifier layer[app_switch_state:M]
# Meta-Tab: Switch to next application# - keybinding: `gsettings get org.gnome.desktop.wm.keybindings switch-applications`tab = M-tabright = M-tab
# Meta-Backtick: Switch to previous application# - keybinding: `gsettings get org.gnome.desktop.wm.keybindings switch-applications-backward`` = M-S-tableft = M-S-tab
==> ./keyd/libinput/local-overrides.quirks <==[keyd Virtual Keyboard Pairing]MatchName=keyd virtual keyboardAttrKeyboardIntegration=internal
Did the basic fedora with kde plasma install. Got some mac-like key bindings using keyd, but they still could use a bit of tweaking. Also tried out System 76's COSMIC DE. It's pretty well rounded but still a bit rough around the edges. Mise is ok but not great at managing system settings. It's no nix, but also it more approachable.