This commit is contained in:
sudacode 2025-05-04 18:07:34 -07:00
parent c30f368a97
commit b5e1c7fe65
Signed by: sudacode
SSH Key Fingerprint: SHA256:lT5C2bB398DcX6daCF/gYFNSTK3y+Du3oTGUnYzfTEw
2 changed files with 32 additions and 3 deletions

28
README.md Normal file
View File

@ -0,0 +1,28 @@
# Dotfiles
![rice]()
## Current Setup
- Window Manger/Compositor: [Hyprland](https://hyprland.org/)
- [hyprland.conf](.config/hypr/hyprland.conf)
- [keybindings.conf](.config/hypr/keybindings.conf)
- Shell: [zsh (oh-my-posh)](https://ohmyposh.dev/)
- [.zshrc](.zsh/.zshrc)
- Notification Server: [SwayNotificationCenter](https://github.com/ErikReider/SwayNotificationCenter)
- [config.json](.config/swaync/config.json)
- [style.css](.config/swaync/style.css)
- Status Bar: [Waybar](https://github.com/Alexays/Waybar)
- [config.jsonc](.config/waybar/catppuccin-macchiato/config.jsonc)
- [style.css](.config/waybar/catppuccin-macchiato/style.css)
- Application Launcher: [Rofi](https://github.com/davatorium/rofi)
- [default theme](.config/rofi/config.rasi)
- Terminal Emulator: [Ghostty](https://ghostty.org/)
- [config](.config/ghostty/config)
- Text Editor: [neovim](https://neovim.io/)
- [config](.config/nvim)
- Audio Player: [mpd](https://www.musicpd.org/) with [ncmpcpp](https://github.com/ncmpcpp/ncmpcpp)
- [mpd config](.config/mpd/mpd.conf)
- [ncmpcpp config](.config/ncmpcpp/config)
- Audio Visualizer: [cava](https://github.com/karlstav/cava)
- [cava config](.config/cava/config)

View File

@ -102,9 +102,10 @@ func main() {
{"1. Select a region and save", []string{"sh", "-c", fmt.Sprintf("slurp | grim -g - '%s'", tmpScreenshot)}},
{"2. Select a region and copy to clipboard", []string{"sh", "-c", fmt.Sprintf("slurp | grim -g - '%s' && wl-copy < '%s'", tmpScreenshot, tmpScreenshot)}},
{"3. Whole screen", []string{"grim", tmpScreenshot}},
{"4. Current window", []string{"current-window"}},
{"5. Edit", []string{"sh", "-c", "slurp | grim -g - - | swappy -f -"}},
{"6. Quit", []string{"true"}},
{"4. Current monitor", []string{"sh", "-c", fmt.Sprintf("grim -o \"$(hyprctl monitors -j | jq -r '.[] | select(.focused) | .name')\" '%s'", tmpScreenshot)}},
{"5. Current window", []string{"current-window"}},
{"6. Edit", []string{"sh", "-c", "slurp | grim -g - - | swappy -f -"}},
{"7. Quit", []string{"true"}},
}
var menu bytes.Buffer