From fc9931f9170bb8ea81d4916881361e6b0bf1c6f6 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Fri, 18 Nov 2022 14:49:04 -0800 Subject: copyq: add copyq config --- dot_config/copyq/copyq-commands.ini | 50 +++++++++ dot_config/copyq/copyq-filter.ini | 2 + dot_config/copyq/copyq.conf | 216 ++++++++++++++++++++++++++++++++++++ 3 files changed, 268 insertions(+) create mode 100644 dot_config/copyq/copyq-commands.ini create mode 100644 dot_config/copyq/copyq-filter.ini create mode 100644 dot_config/copyq/copyq.conf diff --git a/dot_config/copyq/copyq-commands.ini b/dot_config/copyq/copyq-commands.ini new file mode 100644 index 0000000..91ffb63 --- /dev/null +++ b/dot_config/copyq/copyq-commands.ini @@ -0,0 +1,50 @@ +[Commands] +1\Command=copyq: toggle() +1\GlobalShortcut=alt+v +1\Icon=\xf022 +1\InternalId=copyq_global_toggle +1\IsGlobalShortcut=true +1\Name=Show/hide main window +2\Command=copyq: plugins.itempinned.pin() +2\Icon=\xf08d +2\InMenu=true +2\Input=!OUTPUT +2\InternalId=copyq_pinned_pin +2\Name=Pin +2\Output=application/x-copyq-item-pinned +3\Command=copyq: plugins.itempinned.unpin() +3\Icon=\xf08d +3\InMenu=true +3\Input=application/x-copyq-item-pinned +3\InternalId=copyq_pinned_unpin +3\Name=Unpin +4\Command=copyq: plugins.itemtags.tag(decodeURIComponent('Important')) +4\Icon=\xf02b +4\InMenu=true +4\InternalId=copyq_tags_tag:Important +4\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) && fail() +4\Name=Tag as \x201cImportant\x201d +5\Command=copyq: plugins.itemtags.untag(decodeURIComponent('Important')) +5\Icon=\xf02b +5\InMenu=true +5\InternalId=copyq_tags_untag:Important +5\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) || fail() +5\Name=Remove tag \x201cImportant\x201d +6\Command=copyq: plugins.itemtags.tag() +6\Icon=\xf02b +6\InMenu=true +6\InternalId=copyq_tags_tag +6\Name=Add a Tag +7\Command=copyq: plugins.itemtags.untag() +7\Icon=\xf02b +7\InMenu=true +7\Input=application/x-copyq-tags +7\InternalId=copyq_tags_untag +7\Name=Remove a Tag +8\Command=copyq: plugins.itemtags.clearTags() +8\Icon=\xf02b +8\InMenu=true +8\Input=application/x-copyq-tags +8\InternalId=copyq_tags_clear +8\Name=Clear all tags +size=8 diff --git a/dot_config/copyq/copyq-filter.ini b/dot_config/copyq/copyq-filter.ini new file mode 100644 index 0000000..50b0ec1 --- /dev/null +++ b/dot_config/copyq/copyq-filter.ini @@ -0,0 +1,2 @@ +[General] +filter_history=@Invalid() diff --git a/dot_config/copyq/copyq.conf b/dot_config/copyq/copyq.conf new file mode 100644 index 0000000..c4be29c --- /dev/null +++ b/dot_config/copyq/copyq.conf @@ -0,0 +1,216 @@ +[General] +plugin_priority=itemimage, itemencrypted, itemfakevim, itemnotes, itempinned, itemsync, itemtags, itemtext + +[Options] +activate_closes=true +activate_focuses=true +activate_item_with_single_click=false +activate_pastes=true +always_on_top=false +autocompletion=true +autostart=true +change_clipboard_owner_delay_ms=150 +check_clipboard=true +check_selection=false +clipboard_notification_lines=0 +clipboard_tab=&clipboard +close_on_unfocus=false +close_on_unfocus_delay_ms=500 +command_history_size=100 +confirm_exit=true +copy_clipboard=true +copy_selection=false +disable_tray=false +edit_ctrl_return=true +editor=gedit --standalone -- %1 +expire_tab=0 +filter_case_insensitive=true +filter_regular_expression=false +hide_main_window=false +hide_main_window_in_task_bar=false +hide_tabs=false +hide_toolbar=false +hide_toolbar_labels=true +item_popup_interval=0 +language=en +max_process_manager_rows=1000 +maxitems=10000 +move=true +native_menu_bar=true +native_notifications=true +native_tray_menu=false +notification_horizontal_offset=10 +notification_maximum_height=100 +notification_maximum_width=300 +notification_position=3 +notification_vertical_offset=10 +number_search=false +open_windows_on_current_screen=true +restore_geometry=true +row_index_from_one=true +run_selection=true +save_delay_ms_on_item_added=300000 +save_delay_ms_on_item_edited=1000 +save_delay_ms_on_item_modified=300000 +save_delay_ms_on_item_moved=1800000 +save_delay_ms_on_item_removed=600000 +save_filter_history=false +save_on_app_deactivated=true +script_paste_delay_ms=250 +show_advanced_command_settings=false +show_simple_items=false +show_tab_item_count=false +style= +tab_tree=false +tabs=&clipboard +text_tab_width=8 +text_wrap=true +transparency=0 +transparency_focused=0 +tray_commands=true +tray_images=true +tray_item_paste=true +tray_items=5 +tray_menu_open_on_left_click=false +tray_tab= +tray_tab_is_current=true +vi=false +window_key_press_time_ms=50 +window_paste_with_ctrl_v_regex= +window_wait_after_raised_ms=50 +window_wait_before_raise_ms=20 +window_wait_for_modifier_released_ms=2000 +window_wait_raised_ms=150 + +[Plugins] +itemencrypted\enabled=true +itemfakevim\enabled=true +itemimage\enabled=true +itemimage\image_editor= +itemimage\max_image_height=240 +itemimage\max_image_width=320 +itemimage\svg_editor= +itemnotes\enabled=true +itempinned\enabled=true +itemsync\enabled=true +itemtags\enabled=true +itemtext\enabled=true + +[Shortcuts] +about=shift+f1 +change_tab_icon=ctrl+shift+t +commands=f6 +copy_selected_items=ctrl+c +delete_item=del +edit=f2 +edit_notes=shift+f2 +editor=ctrl+e +editor_background= +editor_bold=ctrl+b +editor_cancel=esc +editor_erase_style= +editor_font= +editor_foreground= +editor_italic=ctrl+i +editor_redo=ctrl+shift+z +editor_save=f2 +editor_search=ctrl+f +editor_strikethrough= +editor_underline=ctrl+u +editor_undo=ctrl+z +exit=ctrl+q +export=ctrl+s +find_items=f3 +help=f1 +import=ctrl+i +item-menu=shift+f10 +move_down=ctrl+down +move_to_bottom=ctrl+end +move_to_clipboard= +move_to_top=ctrl+home +move_up=ctrl+up +new=ctrl+n +new_tab=ctrl+t +next_tab=right +paste_selected_items=ctrl+v +preferences=ctrl+p +previous_tab=left +process_manager=ctrl+shift+z +remove_tab=ctrl+w +rename_tab=ctrl+f2 +reverse_selected_items=ctrl+shift+r +show-log=f12 +show_clipboard_content=ctrl+shift+c +show_item_content=f4 +show_item_preview=f7 +sort_selected_items=ctrl+shift+s +system-run=f5 +toggle_clipboard_storing=ctrl+shift+x + +[Tabs] +1\icon= +1\max_item_count=0 +1\name=&clipboard +1\store_items=true +size=1 + +[Theme] +alt_bg=default_alt_bg +alt_item_css= +bg=default_bg +css= +css_template_items=items +css_template_main_window=main_window +css_template_menu=menu +css_template_notification=notification +cur_item_css="\n ;border: 0.1em solid ${sel_bg}" +edit_bg=default_bg +edit_fg=default_text +edit_font="Sans Serif,18,-1,5,50,0,0,0,0,0" +fg=default_text +find_bg=#ff0 +find_fg=#000 +find_font="Sans Serif,18,-1,5,50,0,0,0,0,0" +font="Sans Serif,18,-1,5,50,0,0,0,0,0" +font_antialiasing=true +hover_item_css= +icon_size=16 +item_css= +item_spacing= +menu_bar_css="\n ;background: ${bg}\n ;color: ${fg}" +menu_bar_disabled_css="\n ;color: ${bg - #666}" +menu_bar_selected_css="\n ;background: ${sel_bg}\n ;color: ${sel_fg}" +menu_css="\n ;border: 1px solid ${sel_bg}\n ;background: ${bg}\n ;color: ${fg}" +notes_bg=default_tooltip_bg +notes_css= +notes_fg=default_tooltip_text +notes_font="Sans Serif,18,-1,5,50,0,0,0,0,0" +notification_bg=#333 +notification_fg=#ddd +notification_font="Sans Serif,18,-1,5,50,0,0,0,0,0" +num_fg=default_placeholder_text +num_font="Sans Serif,18,-1,5,50,0,0,0,0,0" +num_margin=2 +search_bar="\n ;background: ${edit_bg}\n ;color: ${edit_fg}\n ;border: 1px solid ${alt_bg}\n ;margin: 2px" +search_bar_focused="\n ;border: 1px solid ${sel_bg}" +sel_bg=default_highlight_bg +sel_fg=default_highlight_text +sel_item_css= +show_number=true +show_scrollbars=true +style_main_window=false +tab_bar_css="\n ;background: ${bg - #222}" +tab_bar_item_counter="\n ;color: ${fg - #044 + #400}\n ;font-size: 6pt" +tab_bar_scroll_buttons_css="\n ;background: ${bg - #222}\n ;color: ${fg}\n ;border: 0" +tab_bar_sel_item_counter="\n ;color: ${sel_bg - #044 + #400}" +tab_bar_tab_selected_css="\n ;padding: 0.5em\n ;background: ${bg}\n ;border: 0.05em solid ${bg}\n ;color: ${fg}" +tab_bar_tab_unselected_css="\n ;border: 0.05em solid ${bg}\n ;padding: 0.5em\n ;background: ${bg - #222}\n ;color: ${fg - #333}" +tab_tree_css="\n ;color: ${fg}\n ;background-color: ${bg}" +tab_tree_item_counter="\n ;color: ${fg - #044 + #400}\n ;font-size: 6pt" +tab_tree_sel_item_counter="\n ;color: ${sel_fg - #044 + #400}" +tab_tree_sel_item_css="\n ;color: ${sel_fg}\n ;background-color: ${sel_bg}\n ;border-radius: 2px" +tool_bar_css="\n ;color: ${fg}\n ;background-color: ${bg}\n ;border: 0" +tool_button_css="\n ;color: ${fg}\n ;background: ${bg}\n ;border: 0\n ;border-radius: 2px" +tool_button_pressed_css="\n ;background: ${sel_bg}" +tool_button_selected_css="\n ;background: ${sel_bg - #222}\n ;color: ${sel_fg}\n ;border: 1px solid ${sel_bg}" +use_system_icons=false -- cgit v1.2.3