update screenshot with new rofi configs

This commit is contained in:
sudacode 2025-05-05 02:19:17 -07:00
parent e918c815e5
commit 47ad5ea48b
Signed by: sudacode
SSH Key Fingerprint: SHA256:lT5C2bB398DcX6daCF/gYFNSTK3y+Du3oTGUnYzfTEw
6 changed files with 53 additions and 57 deletions

View File

@ -1,15 +0,0 @@
def_key "j"
scroll_down
def_key "k"
scroll_up
def_key "l"
next_column
def_key "h"
previous_column
def_key "ctrl-l"
show_lyrics

View File

@ -3,12 +3,14 @@ $terminal = FONTCONFIG_FILE=/home/sudacode/.config/ghostty/ghostty-fonts.conf uw
$fileManager = uwsm app -sa -- dolphin
# $menu = rofi -show drun
# https://github.com/Vladimir-csp/uwsm#2-service-startup-notification-and-vars-set-by-compositor
$menu = rofi -show drun -run-command "uwsm app -- {cmd}"
# $menu = rofi -show drun -run-command "uwsm app -- {cmd}"
$menu = $HOME/.config/rofi/launchers/type-6/launcher.sh 1
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = ALT # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = SUPER, SUPER_L, exec, $HOME/.config/rofi/launchers/type-2/launcher.sh 10
bind = $mainMod, RETURN, exec, $terminal
bind = $mainMod, Q, killactive,
bind = $mainMod SHIFT, M, exec, uwsm stop

View File

@ -7,7 +7,7 @@ pid_file "~/.config/mpd/pid"
state_file "~/.config/mpd/mpdstate"
playlist_directory "~/.config/mpd/playlists"
# music_directory "~/Music"
music_directory "/Volumes/jellyfin/music"
music_directory "/jellyfin/music"
# music_directory "nfs://102.168.5.77:/nandury/jellyfin/music"
database {
plugin "simple"

View File

@ -106,57 +106,66 @@ set -g @plugin 'alexwforsythe/tmux-which-key'
# set -g @dracula-plugins "git ssh-session"
# set -g @plugin 'catppuccin/tmux#v2.1.3' # See https://github.com/catppuccin/tmux/tags for additional tags
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
# Make the status line pretty and add some modules
set -g status-right-length 100
set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"
set -ag status-right "#{E:@catppuccin_status_uptime}"
set -g @catppuccin_flavor 'macchiato' # latte, frappe, macchiato or mocha
# Menu styling options
set -ogq @catppuccin_menu_selected_style "fg=#{@thm_fg},bold,bg=#{@thm_overlay_0}"
set -gq @catppuccin_menu_selected_style "fg=#{@thm_fg},bold,bg=#{@thm_overlay_0}"
# Pane styling options
set -ogq @catppuccin_pane_status_enabled "yes" # set to "yes" to enable
set -ogq @catppuccin_pane_border_status "off" # set to "yes" to enable
set -ogq @catppuccin_pane_border_style "fg=#{@thm_overlay_0}"
set -ogq @catppuccin_pane_active_border_style "##{?pane_in_mode,fg=#{@thm_lavender},##{?pane_synchronized,fg=#{@thm_mauve},fg=#{@thm_lavender}}}"
set -ogq @catppuccin_pane_left_separator "█"
set -ogq @catppuccin_pane_middle_separator "█"
set -ogq @catppuccin_pane_right_separator "█"
set -ogq @catppuccin_pane_color "#{@thm_green}"
set -ogq @catppuccin_pane_background_color "#{@thm_surface_0}"
set -ogq @catppuccin_pane_default_text "##{b:pane_current_path}"
set -ogq @catppuccin_pane_default_fill "number"
set -ogq @catppuccin_pane_number_position "left" # right, left
set -gq @catppuccin_pane_status_enabled "yes" # set to "yes" to enable
set -gq @catppuccin_pane_border_status "off" # set to "yes" to enable
set -gq @catppuccin_pane_border_style "fg=#{@thm_overlay_0}"
set -gq @catppuccin_pane_active_border_style "##{?pane_in_mode,fg=#{@thm_lavender},##{?pane_synchronized,fg=#{@thm_mauve},fg=#{@thm_lavender}}}"
set -gq @catppuccin_pane_left_separator "█"
set -gq @catppuccin_pane_middle_separator "█"
set -gq @catppuccin_pane_right_separator "█"
set -gq @catppuccin_pane_color "#{@thm_green}"
set -gq @catppuccin_pane_background_color "#{@thm_surface_0}"
set -gq @catppuccin_pane_default_text "##{b:pane_current_path}"
set -gq @catppuccin_pane_default_fill "number"
set -gq @catppuccin_pane_number_position "left" # right, left
set -ogq @catppuccin_window_status_style "rounded" # basic, rounded, slanted, custom, or none
set -ogq @catppuccin_window_text_color "#{@thm_surface_0}"
set -ogq @catppuccin_window_number_color "#{@thm_overlay_2}"
set -gq @catppuccin_window_text_color "#{@thm_surface_0}"
set -gq @catppuccin_window_number_color "#{@thm_overlay_2}"
set -ogq @catppuccin_window_text " #T"
set -ogq @catppuccin_window_number "#I"
set -ogq @catppuccin_window_current_text_color "#{@thm_surface_1}"
set -ogq @catppuccin_window_current_number_color "#{@thm_mauve}"
set -ogq @catppuccin_window_current_text " #T"
set -ogq @catppuccin_window_current_number "#I"
set -ogq @catppuccin_window_number_position "left"
set -ogq @catppuccin_window_flags "icon" # none, icon, or text
set -ogq @catppuccin_window_flags_icon_last " 󰖰" # -
set -ogq @catppuccin_window_flags_icon_current " 󰖯" # *
set -ogq @catppuccin_window_flags_icon_zoom " 󰁌" # Z
set -ogq @catppuccin_window_flags_icon_mark " 󰃀" # M
set -ogq @catppuccin_window_flags_icon_silent " 󰂛" # ~
set -ogq @catppuccin_window_flags_icon_activity " 󱅫" # #
set -ogq @catppuccin_window_flags_icon_bell " 󰂞" # !
set -gq @catppuccin_window_number "#I"
set -gq @catppuccin_window_current_text_color "#{@thm_surface_1}"
set -gq @catppuccin_window_current_number_color "#{@thm_mauve}"
set -gq @catppuccin_window_current_text " #T"
set -gq @catppuccin_window_current_number "#I"
set -gq @catppuccin_window_number_position "left"
set -gq @catppuccin_window_flags "icon" # none, icon, or text
set -gq @catppuccin_window_flags_icon_last " 󰖰" # -
set -gq @catppuccin_window_flags_icon_current " 󰖯" # *
set -gq @catppuccin_window_flags_icon_zoom " 󰁌" # Z
set -gq @catppuccin_window_flags_icon_mark " 󰃀" # M
set -gq @catppuccin_window_flags_icon_silent " 󰂛" # ~
set -gq @catppuccin_window_flags_icon_activity " 󱅫" # #
set -gq @catppuccin_window_flags_icon_bell " 󰂞" # !
# Matches icon order when using `#F` (`#!~[*-]MZ`)
set -ogq @catppuccin_window_flags_icon_format "##{?window_activity_flag,#{E:@catppuccin_window_flags_icon_activity},}##{?window_bell_flag,#{E:@catppuccin_window_flags_icon_bell},}##{?window_silence_flag,#{E:@catppuccin_window_flags_icon_silent},}##{?window_active,#{E:@catppuccin_window_flags_icon_current},}##{?window_last_flag,#{E:@catppuccin_window_flags_icon_last},}##{?window_marked_flag,#{E:@catppuccin_window_flags_icon_mark},}##{?window_zoomed_flag,#{E:@catppuccin_window_flags_icon_zoom},} "
set -gq @catppuccin_window_flags_icon_format "##{?window_activity_flag,#{E:@catppuccin_window_flags_icon_activity},}##{?window_bell_flag,#{E:@catppuccin_window_flags_icon_bell},}##{?window_silence_flag,#{E:@catppuccin_window_flags_icon_silent},}##{?window_active,#{E:@catppuccin_window_flags_icon_current},}##{?window_last_flag,#{E:@catppuccin_window_flags_icon_last},}##{?window_marked_flag,#{E:@catppuccin_window_flags_icon_mark},}##{?window_zoomed_flag,#{E:@catppuccin_window_flags_icon_zoom},} "
# Status line options
set -ogq @catppuccin_status_left_separator ""
set -ogq @catppuccin_status_middle_separator ""
set -ogq @catppuccin_status_right_separator "█"
set -ogq @catppuccin_status_connect_separator "yes" # yes, no
set -ogq @catppuccin_status_fill "icon"
set -ogq @catppuccin_status_module_bg_color "#{@thm_surface_0}"
set -gq @catppuccin_status_left_separator ""
set -gq @catppuccin_status_middle_separator ""
set -gq @catppuccin_status_right_separator "█"
set -gq @catppuccin_status_connect_separator "yes" # yes, no
set -gq @catppuccin_status_fill "icon"
set -gq @catppuccin_status_module_bg_color "#{@thm_surface_0}"
# allow nvim images
set -gq allow-passthrough on
set -g visual-activity off
set -g @catppuccin_window_status_style "rounded" # basic, rounded, slanted, custom, or none
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
run '~/.config/tmux/plugins/tpm/tpm'

View File

@ -316,6 +316,7 @@ label:focus {
#custom-notification {
font-family: "JetBrainsMono Nerd Font";
margin: 5px 6px 5px 5px;
padding: 5px;
background-color: transparent;
color: @maroon;
}

View File

@ -105,7 +105,6 @@ func main() {
{"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
@ -114,7 +113,7 @@ func main() {
menu.WriteByte('\n')
}
rofi := exec.Command("rofi", "-dmenu", "-i", "-p", "Enter option or select from the list", "-mesg", "Select a Screenshot Option", "-format", "i", "-theme-str", "listview {columns: 2; lines: 3;} window {width: 55%;}", "-yoffset", "30", "-xoffset", "30", "-a", "0", "-no-custom", "-location", "0")
rofi := exec.Command("rofi", "-dmenu", "-i", "-p", "Select option", "-mesg", "Select a Screenshot Option", "-format", "i", "-theme-str", "listview {columns: 1; lines: 6;} window {width: 25%;}", "-yoffset", "30", "-xoffset", "30", "-no-custom", "-location", "0", "-theme", "~/.config/rofi/launchers/type-2/style-2.rasi")
rofi.Stdin = &menu
out, err := rofi.Output()
if err != nil {