Skip to content

Commit

Permalink
2022-11-10 19:13:47
Browse files Browse the repository at this point in the history
  • Loading branch information
alexherbo2 committed Dec 31, 2024
1 parent d4efe02 commit f3e6c7c
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
1 change: 1 addition & 0 deletions .bash_history
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ nginx
rm -R .config/mpv/watch_later
git clone https://github.com/helix-editor/helix.git ~/.local/share/github.com/helix-editor/helix
git clone https://github.com/mawww/kakoune.git ~/.local/share/github.com/mawww/kakoune
git clone https://github.com/catppuccin/foot.git ~/.local/share/github.com/catppuccin/foot
cd ~/.local/share/github.com/mawww/kakoune
mpv https://twitch.tv/joueur_du_grenier
mpv https://twitch.tv/randomwatchertv
Expand Down
5 changes: 5 additions & 0 deletions .config/foot/foot.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://codeberg.org/dnkl/foot
# https://codeberg.org/dnkl/foot/src/branch/master/foot.ini
# https://codeberg.org/dnkl/foot/src/branch/master/doc/foot.ini.5.scd
font=JetBrains Mono:size=16
include=~/.local/share/github.com/catppuccin/foot/catppuccin-latte.ini
4 changes: 2 additions & 2 deletions .config/sway/config
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ output "Dell Inc. DELL S2721QS FNN7M43" mode 3840x2160 position 0,0 scale 2

exec swayidle # Idle configuration
exec wlsunset # Night shift
exec wezterm, move scratchpad # Terminal emulator
exec foot, move scratchpad # Terminal emulator

# Appearance -------------------------------------------------------------------

Expand Down Expand Up @@ -82,7 +82,7 @@ bar {
# Basics -----------------------------------------------------------------------

# Open a terminal.
bindsym Mod4+Return exec wezterm cli spawn --new-window
bindsym Mod4+Return exec foot

# Open a launcher.
bindsym Mod4+p exec dmenu_path | dmenu | xargs swaymsg exec
Expand Down
4 changes: 2 additions & 2 deletions .local/bin/dmenu
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

# A drop-in dmenu replacement using fzy/WezTerm.
# A drop-in dmenu replacement using fzy/foot.
cat > /tmp/stdin
wezterm start --class=popup sh -c 'fzy < /tmp/stdin > /tmp/stdout'
foot --app-id=popup sh -c 'fzy < /tmp/stdin > /tmp/stdout'
[ -s /tmp/stdout ] && cat /tmp/stdout
4 changes: 2 additions & 2 deletions .local/bin/ghosttext
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh

# A drop-in GhostText replacement using Helix/WezTerm.
# A drop-in GhostText replacement using Helix/foot.
# https://ghosttext.fregante.com
> /tmp/scratch.md
wezterm start --class=popup hx /tmp/scratch.md
foot --app-id=popup hx /tmp/scratch.md
[ -s /tmp/scratch.md ] && pbcopy < /tmp/scratch.md

0 comments on commit f3e6c7c

Please sign in to comment.