From 051b29f9ce02f30da3cee742269d46c3d5c6f558 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Mon, 17 Apr 2023 08:57:57 +0200 Subject: [PATCH] [add/new] Add the `copyq` configs --- .config/copyq/copyq-commands.ini | 50 +++++++ .config/copyq/copyq-filter.ini | 2 + .config/copyq/copyq.conf | 220 +++++++++++++++++++++++++++++++ .config/copyq/copyq_geometry.ini | 6 + .config/copyq/copyq_tabs.ini | 3 + .config/copyq/themes/dracula.ini | 59 +++++++++ 6 files changed, 340 insertions(+) create mode 100644 .config/copyq/copyq-commands.ini create mode 100644 .config/copyq/copyq-filter.ini create mode 100644 .config/copyq/copyq.conf create mode 100644 .config/copyq/copyq_geometry.ini create mode 100644 .config/copyq/copyq_tabs.ini create mode 100644 .config/copyq/themes/dracula.ini diff --git a/.config/copyq/copyq-commands.ini b/.config/copyq/copyq-commands.ini new file mode 100644 index 0000000..0f262ad --- /dev/null +++ b/.config/copyq/copyq-commands.ini @@ -0,0 +1,50 @@ +[Commands] +1\Command=copyq: plugins.itempinned.pin() +1\Icon=\xf08d +1\InMenu=true +1\Input=!OUTPUT +1\InternalId=copyq_pinned_pin +1\Name=Pin +1\Output=application/x-copyq-item-pinned +2\Command=copyq: plugins.itempinned.unpin() +2\Icon=\xf08d +2\InMenu=true +2\Input=application/x-copyq-item-pinned +2\InternalId=copyq_pinned_unpin +2\Name=Unpin +3\Command=copyq: plugins.itemtags.tag(decodeURIComponent('Important')) +3\Icon=\xf02b +3\InMenu=true +3\InternalId=copyq_tags_tag:Important +3\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) && fail() +3\Name=Tag as \x201cImportant\x201d +4\Command=copyq: plugins.itemtags.untag(decodeURIComponent('Important')) +4\Icon=\xf02b +4\InMenu=true +4\InternalId=copyq_tags_untag:Important +4\MatchCommand=copyq: plugins.itemtags.hasTag(decodeURIComponent('Important')) || fail() +4\Name=Remove tag \x201cImportant\x201d +5\Command=copyq: plugins.itemtags.tag() +5\Icon=\xf02b +5\InMenu=true +5\InternalId=copyq_tags_tag +5\Name=Add a Tag +6\Command=copyq: plugins.itemtags.untag() +6\Icon=\xf02b +6\InMenu=true +6\Input=application/x-copyq-tags +6\InternalId=copyq_tags_untag +6\Name=Remove a Tag +7\Command=copyq: plugins.itemtags.clearTags() +7\Icon=\xf02b +7\InMenu=true +7\Input=application/x-copyq-tags +7\InternalId=copyq_tags_clear +7\Name=Clear all tags +8\Command=copyq: menu() +8\GlobalShortcut=meta+v +8\Icon=\xf01c +8\InternalId=copyq_global_menu +8\IsGlobalShortcut=true +8\Name=Show the tray menu +size=8 diff --git a/.config/copyq/copyq-filter.ini b/.config/copyq/copyq-filter.ini new file mode 100644 index 0000000..50b0ec1 --- /dev/null +++ b/.config/copyq/copyq-filter.ini @@ -0,0 +1,2 @@ +[General] +filter_history=@Invalid() diff --git a/.config/copyq/copyq.conf b/.config/copyq/copyq.conf new file mode 100644 index 0000000..f4b9644 --- /dev/null +++ b/.config/copyq/copyq.conf @@ -0,0 +1,220 @@ +[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=true +autocompletion=true +autostart=false +change_clipboard_owner_delay_ms=150 +check_clipboard=true +check_selection=false +clipboard_notification_lines=0 +clipboard_tab=&clipboard +close_on_unfocus=true +close_on_unfocus_delay_ms=500 +command_history_size=100 +confirm_exit=true +copy_clipboard=false +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=200 +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=true +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\default_style_sheet= +itemtext\enabled=true +itemtext\max_height=0 +itemtext\max_lines=1000 +itemtext\use_rich_text=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=#21222c +alt_item_css= +bg=#282a36 +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=#282a36 +edit_fg=#a4ffff +edit_font="Monospace,9,-1,5,50,0,0,0,0,0" +fg=#f8f8f2 +find_bg="rgba(40,42,54,100)" +find_fg=#ffffa5 +find_font="Segoe UI,9,-1,5,50,0,0,0,0,0,Regular" +font="Segoe UI,9,-1,5,50,0,0,0,0,0,Regular" +font_antialiasing=true +hover_item_css= +icon_size=20 +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=#44475a +notes_css= +notes_fg=#d6acff +notes_font="Serif,10,-1,5,50,0,0,0,0,0" +notification_bg=#44475a +notification_fg=#f8f8f2 +notification_font= +num_fg=#a4ffff +num_font="Monospace,7,-1,5,25,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=#44475a +sel_fg=#f8f8f2 +sel_item_css= +show_number=true +show_scrollbars=true +style_main_window=true +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=true diff --git a/.config/copyq/copyq_geometry.ini b/.config/copyq/copyq_geometry.ini new file mode 100644 index 0000000..0a12457 --- /dev/null +++ b/.config/copyq/copyq_geometry.ini @@ -0,0 +1,6 @@ +[Options] +ConfigurationManager_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2k\0\0\0\xe4\0\0\x5\xbd\0\0\x3H\0\0\x2l\0\0\0\xe5\0\0\x5\xbc\0\0\x3G\0\0\0\0\0\0\0\0\a\x80\0\0\x2l\0\0\0\xe5\0\0\x5\xbc\0\0\x3G) +ConfigurationManager_geometry_1920x1080=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x2k\0\0\0\xe4\0\0\x5\xbd\0\0\x3H\0\0\x2l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\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0) diff --git a/.config/copyq/copyq_tabs.ini b/.config/copyq/copyq_tabs.ini new file mode 100644 index 0000000..b56ad40 --- /dev/null +++ b/.config/copyq/copyq_tabs.ini @@ -0,0 +1,3 @@ +[TabWidget] +collapsed_tabs=@Invalid() +tab_item_counters=@Variant(\0\0\0\b\0\0\0\x1\0\0\0\x14\0&\0\x63\0l\0i\0p\0\x62\0o\0\x61\0r\0\x64\0\0\0\x2\0\0\0\xc8) diff --git a/.config/copyq/themes/dracula.ini b/.config/copyq/themes/dracula.ini new file mode 100644 index 0000000..f15b8c8 --- /dev/null +++ b/.config/copyq/themes/dracula.ini @@ -0,0 +1,59 @@ +[General] +alt_bg=#21222c +alt_item_css= +bg=#282a36 +css= +css_template_items=items +css_template_main_window=main_window +css_template_notification=notification +css_template_tooltip=tooltip +cur_item_css="\n ;border: 0.1em solid ${sel_bg}" +edit_bg=#282a36 +edit_fg=#a4ffff +edit_font="Monospace,9,-1,5,50,0,0,0,0,0" +fg=#f8f8f2 +find_bg="rgba(40,42,54,100)" +find_fg=#ffffa5 +find_font="Segoe UI,9,-1,5,50,0,0,0,0,0,Regular" +font="Segoe UI,9,-1,5,50,0,0,0,0,0,Regular" +font_antialiasing=true +hover_item_css= +icon_size=20 +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=#44475a +notes_css= +notes_fg=#d6acff +notes_font="Serif,10,-1,5,50,0,0,0,0,0" +notification_bg=#44475a +notification_fg=#f8f8f2 +notification_font= +num_fg=#a4ffff +num_font="Monospace,7,-1,5,25,0,0,0,0,0" +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=#44475a +sel_fg=#f8f8f2 +sel_item_css= +show_number=true +show_scrollbars=true +style_main_window=true +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=true