add jgmenu

This commit is contained in:
Andrey Zimin 2024-02-21 11:31:24 +03:00
parent ae985e8721
commit adbad8ce2b
18 changed files with 69 additions and 9 deletions

View File

@ -1 +0,0 @@
/run/user/1000/geany/geany_socket.7d78ea0f

View File

@ -1,11 +1,10 @@
[files]
current_page=0
recent_files=/home/chatlanin/.trash/ex-bspwm.2024-02-20.07:36:56/src/PKGBUILD;/run/media/chatlanin/4044-5149/file.txt;/home/chatlanin/.config/rofi/config.rasi;/home/chatlanin/.ssh/known_hosts;/run/media/chatlanin/e67e4e19-43d4-4812-bc37-1b9775193e50/home/bin/scripts/system/srv;
current_page=-1
recent_files=/mnt/raid/__tmp__/home_3/bin/projects/home;/mnt/raid/projects/tarch_os/repos/tarck-configs/configs/mimeapps.list;/home/chatlanin/.trash/ex-bspwm.2024-02-20.07:36:56/src/PKGBUILD;/run/media/chatlanin/4044-5149/file.txt;/home/chatlanin/.config/rofi/config.rasi;/home/chatlanin/.ssh/known_hosts;/run/media/chatlanin/e67e4e19-43d4-4812-bc37-1b9775193e50/home/bin/scripts/system/srv;
recent_projects=
FILE_NAME_0=955;Sh;0;EUTF-8;1;1;0;%2Fhome%2Fchatlanin%2F.trash%2Fex-bspwm.2024-02-20.07%3A36%3A56%2Fsrc%2FPKGBUILD;0;4
[VTE]
last_dir=/home/chatlanin/.trash/ex-bspwm.2024-02-20.07:36:56/src
last_dir=/mnt/raid/__tmp__/home_3/bin/projects
[project]
session_file=
@ -14,7 +13,7 @@ project_file_path=/home/chatlanin/projects
[geany]
treeview_position=267
msgwindow_position=368
geometry=10;1110;1901;1036;0;
geometry=1925;1110;1901;1036;0;
sidebar_page=0
[search]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 919 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

41
configs/jgmenu/jgmenurc Normal file
View File

@ -0,0 +1,41 @@
at_pointer = 0
stay_alive = 1
csv_cmd = pmenu
csv_no_dirs = 0
tint2_look = 0
terminal_exec = kitty &
terminal_args =
menu_width = 300
menu_padding_top = 42
menu_padding_right = 5
menu_padding_bottom = 5
menu_padding_left = 5
menu_radius = 0
menu_border = 1
menu_halign = left
sub_hover_action = 1
item_margin_y = 3
item_height = 38
item_padding_x = 10
item_radius = 0
item_border = 0
sep_height = 5
font = JetBrainsMono Nerd Font 15px
icon_size = 14
icon_theme = Qogir-dark
arrow_string = 
menu_margin_x=10
menu_margin_y=1795
;; colors ;;
color_menu_bg = #1E222A 100
color_menu_border = #ABB2BF
color_norm_bg = #1E222A 0
color_norm_fg = #ABB2BF 100
color_sel_bg = #ABB2BF 50
color_sel_fg = #ABB2BF 100
color_sep_fg = #ABB2BF 40

View File

@ -0,0 +1,17 @@
@icon,,18,17,16,16,0,left,top,#7AA2F7,#7AA2F7,/home/chatlanin/.config/jgmenu/icons/search.png
@search,,42,15,150,20,2,left,top,#c0caf5,#7aa2f7,search ...
Terminal,kitty -float,/home/chatlanin/.config/jgmenu/icons/terminal.png
Web Browser,google-chrome-stable,/home/chatlanin/.config/jgmenu/icons/web-browser.png
File manager,thunar,/home/chatlanin/.config/jgmenu/icons/file-manager.png
Text Editor,kitty nvim,/home/chatlanin/.config/jgmenu/icons/edit-note.png
^sep()
Applications,^checkout(lx-apps),/home/chatlanin/.config/jgmenu/icons/applications.png
Exit,powermenu,/home/chatlanin/.config/jgmenu/icons/exit.png
^tag(lx-apps)
1 @icon,,18,17,16,16,0,left,top,#7AA2F7,#7AA2F7,/home/chatlanin/.config/jgmenu/icons/search.png
2 @search,,42,15,150,20,2,left,top,#c0caf5,#7aa2f7,search ...
3 Terminal,kitty -float,/home/chatlanin/.config/jgmenu/icons/terminal.png
4 Web Browser,google-chrome-stable,/home/chatlanin/.config/jgmenu/icons/web-browser.png
5 File manager,thunar,/home/chatlanin/.config/jgmenu/icons/file-manager.png
6 Text Editor,kitty nvim,/home/chatlanin/.config/jgmenu/icons/edit-note.png
7 ^sep()
8 Applications,^checkout(lx-apps),/home/chatlanin/.config/jgmenu/icons/applications.png
9 Exit,powermenu,/home/chatlanin/.config/jgmenu/icons/exit.png
10 ^tag(lx-apps)

View File

@ -2,6 +2,7 @@ lastupdatecheck: 0
recentrepos:
- /mnt/raid/projects/tarch_os/repos/tarch-configs
- /mnt/raid/projects/tarch_os/repos/tarch-bin
- /mnt/raid/projects/tarch_os/repos/tarch-fonts
- /mnt/raid/projects/tarch_os/repos/tarch-nvim
- /mnt/raid/projects/tarch_os/repos/tarch-bspwm
startuppopupversion: 5

View File

@ -6,7 +6,7 @@
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_150_PERCENT"/>
<property name="last-show-hidden" type="bool" value="true"/>
<property name="last-separator-position" type="int" value="158"/>
<property name="last-window-width" type="int" value="1901"/>
<property name="last-window-width" type="int" value="3816"/>
<property name="last-window-height" type="int" value="2086"/>
<property name="last-window-maximized" type="bool" value="false"/>
<property name="misc-single-click" type="bool" value="false"/>

View File

@ -21,6 +21,7 @@ BACKUP (){
mv ${CONFIG_DIR}/geany ${BACKUP_DIR}/${FILES_NAME}-${BACKUP_NAME}-${BACKUP_RANDOM}
mv ${CONFIG_DIR}/gtk-2.0 ${BACKUP_DIR}/${FILES_NAME}-${BACKUP_NAME}-${BACKUP_RANDOM}
mv ${CONFIG_DIR}/gtk-3.0 ${BACKUP_DIR}/${FILES_NAME}-${BACKUP_NAME}-${BACKUP_RANDOM}
mv ${CONFIG_DIR}/jgmenu ${BACKUP_DIR}/${FILES_NAME}-${BACKUP_NAME}-${BACKUP_RANDOM}
mv ${CONFIG_DIR}/kitty ${BACKUP_DIR}/${FILES_NAME}-${BACKUP_NAME}-${BACKUP_RANDOM}
mv ${CONFIG_DIR}/lazygit ${BACKUP_DIR}/${FILES_NAME}-${BACKUP_NAME}-${BACKUP_RANDOM}
mv ${CONFIG_DIR}/neofetch ${BACKUP_DIR}/${FILES_NAME}-${BACKUP_NAME}-${BACKUP_RANDOM}
@ -44,6 +45,7 @@ INSTALL (){
cp -rf ${CONFIG_DIR_SKEL}/geany ${CONFIG_DIR}
cp -rf ${CONFIG_DIR_SKEL}/gtk-2.0 ${CONFIG_DIR}
cp -rf ${CONFIG_DIR_SKEL}/gtk-3.0 ${CONFIG_DIR}
cp -rf ${CONFIG_DIR_SKEL}/jgmenu ${CONFIG_DIR}
cp -rf ${CONFIG_DIR_SKEL}/kitty ${CONFIG_DIR}
cp -rf ${CONFIG_DIR_SKEL}/lazygit ${CONFIG_DIR}
cp -rf ${CONFIG_DIR_SKEL}/neofetch ${CONFIG_DIR}
@ -59,6 +61,7 @@ INSTALL (){
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/geany
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/gtk-2.0
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/gtk-3.0
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/jgmenu
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/kitty
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/lazygit
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/neofetch
@ -71,7 +74,7 @@ INSTALL (){
chown -R ${USER}:${GROUB} ${CONFIG_DIR}/mimeapps.list
if [[ -d "${CONFIG_DIR}/geany" && -d "${CONFIG_DIR}/gtk-2.0" && -d "${CONFIG_DIR}/gtk-3.0" && -d "${CONFIG_DIR}/kitty" && -d "${CONFIG_DIR}/lazygit" && -d "${CONFIG_DIR}/neofetch" && -d "${CONFIG_DIR}/networkmanager-dmenu" && -d "${CONFIG_DIR}/nitrogen" && -d "${CONFIG_DIR}/qt5ct" && -d "${CONFIG_DIR}/rofi" && -d "${CONFIG_DIR}/Thunar" && -d "${CONFIG_DIR}/xfce4" && -f "${CONFIG_DIR}/mimeapps.list" ]]; then
if [[ -d "${CONFIG_DIR}/geany" && -d "${CONFIG_DIR}/gtk-2.0" && -d "${CONFIG_DIR}/gtk-3.0" && -d "${CONFIG_DIR}/jgmenu" && -d "${CONFIG_DIR}/kitty" && -d "${CONFIG_DIR}/lazygit" && -d "${CONFIG_DIR}/neofetch" && -d "${CONFIG_DIR}/networkmanager-dmenu" && -d "${CONFIG_DIR}/nitrogen" && -d "${CONFIG_DIR}/qt5ct" && -d "${CONFIG_DIR}/rofi" && -d "${CONFIG_DIR}/Thunar" && -d "${CONFIG_DIR}/xfce4" && -f "${CONFIG_DIR}/mimeapps.list" ]]; then
echo -e ${BOLD}${GREEN}"[✔] конфигурационные файлы установлены..." ${RESET_COLOR}
else
echo -e ${BOLD}${RED}"[✘] ошибка установки..." ${RESET_COLOR}
@ -84,7 +87,7 @@ RUN_MAIN (){
if [[ "${GROUB}" == 'liveuser' ]]; then
exit
else
if [[ ! -d "${CONFIG_DIR}/geany" && ! -d "${CONFIG_DIR}/gtk-2.0" && ! -d "${CONFIG_DIR}/gtk-3.0" && ! -d "${CONFIG_DIR}/kitty" && ! -d "${CONFIG_DIR}/lazygit" && ! -d "${CONFIG_DIR}/neofetch" && ! -d "${CONFIG_DIR}/networkmanager-dmenu" && ! -d "${CONFIG_DIR}/nitrogen" && ! -d "${CONFIG_DIR}/qt5ct" && ! -d "${CONFIG_DIR}/rofi" && ! -d "${CONFIG_DIR}/Thunar" && ! -d "${CONFIG_DIR}/xfce4" && ! -f "${CONFIG_DIR}/mimeapps.list" ]]; then
if [[ ! -d "${CONFIG_DIR}/geany" && ! -d "${CONFIG_DIR}/gtk-2.0" && ! -d "${CONFIG_DIR}/gtk-3.0" && ! -d "${CONFIG_DIR}/jgmenu" && ! -d "${CONFIG_DIR}/kitty" && ! -d "${CONFIG_DIR}/lazygit" && ! -d "${CONFIG_DIR}/neofetch" && ! -d "${CONFIG_DIR}/networkmanager-dmenu" && ! -d "${CONFIG_DIR}/nitrogen" && ! -d "${CONFIG_DIR}/qt5ct" && ! -d "${CONFIG_DIR}/rofi" && ! -d "${CONFIG_DIR}/Thunar" && ! -d "${CONFIG_DIR}/xfce4" && ! -f "${CONFIG_DIR}/mimeapps.list" ]]; then
INSTALL
else
BACKUP