~npisanti/grimorio

54ad89d3cc7e77cc5137cf8eea7f146094685660 — Nicola Pisanti 2 months ago d7d380c
start button and tweaks
M 02_restore_confs.sh => 02_restore_confs.sh +5 -1
@@ 5,7 5,8 @@ echo "restoring confs"
mkdir -p ~/.config/terminator/
cp -ar ~/grimorio/confs/terminator/config ~/.config/terminator/config
cp -ar ~/grimorio/confs/openbox ~/.config
cp ~/grimorio/confs/tint2rc ~/.config/tint2rc
mkdir -p ~/.config/tint2
cp ~/grimorio/confs/tint2rc ~/.config/tint2/tint2rc
cp ~/grimorio/confs/conkyrc ~/.conkyrc
cp ~/grimorio/confs/gdbinit ~/.gdbinit
cp ~/grimorio/confs/compton.conf ~/.config/compton.conf 


@@ 29,6 30,9 @@ cp ~/grimorio/confs/gtkrc-2.0 ~/.gtkrc-2.0
echo "extra themes"
cp -r ~/grimorio/extra/themes/* ~/.themes/

echo "launcher icon"
cp -r ~/grimorio/extra/icons/* ~/.icons/

mkdir -p /.config/mpv
cp ~/grimorio/confs/mpv.conf ~/.config/mpv/mpv.conf


M backup.sh => backup.sh +1 -1
@@ 3,7 3,7 @@
rm -rf ~/grimorio/confs/*
cp -ar ~/.config/terminator ~/grimorio/confs/
cp -ar ~/.config/openbox/ ~/grimorio/confs/
cp ~/.config/tint2rc ~/grimorio/confs/tint2rc
cp ~/.config/tint2/tint2rc ~/grimorio/confs/tint2rc
cp ~/.Xresources confs/Xresources
cp ~/.conkyrc ~/grimorio/confs/conkyrc
cp ~/.gdbinit ~/grimorio/confs/gdbinit

D bin/aseprite => bin/aseprite +0 -5
@@ 1,5 0,0 @@
#!/bin/bash
xset r off 
./apps/aseprite/build/bin/aseprite
xset r rate 250 40
exit

M bin/blank.sh => bin/blank.sh +0 -1
@@ 1,5 1,4 @@
#!/bin/bash
sleep 1
xset s off
xset dpms force standby
#xset dpms force off

M bin/start_engines.sh => bin/start_engines.sh +1 -1
@@ 19,7 19,7 @@ pkill -USR1 redshift
jackd -R -P89 -p128 -t2000 -dalsa -dhw:$DEVICE -r44100 -p512 -n2 -s -P &

sleep 3
substrata -p ~/resources/substrata -o 4242
folderkit 4444 ~/resources/folderkit 

sleep 1
killall jackd

M confs/conkyrc => confs/conkyrc +3 -3
@@ 55,13 55,13 @@ ${cpugraph cpu3 55,250}
Core 4:${alignr}${freq_g 4} Ghz
${cpugraph cpu4 55,250}

Entropy:${alignr}${entropy_avail}/${entropy_poolsize}
${entropy_bar 10, 250}

RAM: ${alignr}${mem} / ${memmax}
${membar 10, 250}

Swap: ${alignr}${swap} / ${swapmax}
Temperature: ${alignr}${execi 5 sensors |  awk '/Package/ {print $4}'}
Fan Speed: ${alignr}${execi 5 sensors |  awk '/cpu_fan/ {print $2}'} RPM
Entropy:${alignr}${entropy_avail} / ${entropy_poolsize}
Battery:${alignr} ${execi 10 battery_status.sh}



D confs/micro/backups/%home%nicola%.config%geany%geany.conf => confs/micro/backups/%home%nicola%.config%geany%geany.conf +0 -236
@@ 1,236 0,0 @@
[geany]
default_open_path=/home/nicola/oF
cmdline_new_files=true
notebook_double_click_hides_widgets=false
tab_close_switch_to_mru=false
tab_pos_sidebar=2
sidebar_pos=0
msgwin_orientation=1
highlighting_invert_all=false
pref_main_search_use_current_word=true
check_detect_indent=false
detect_indent_width=false
use_tab_to_indent=true
pref_editor_tab_width=4
indent_mode=2
indent_type=1
virtualspace=1
autocomplete_doc_words=false
completion_drops_rest_of_word=false
autocompletion_max_entries=20
autocompletion_update_freq=250
color_scheme=less.conf
mru_length=10
disk_check_timeout=30
show_editor_scrollbars=true
brace_match_ltgt=false
use_gtk_word_boundaries=true
complete_snippets_whilst_editing=false
use_atomic_file_saving=false
gio_unsafe_save_backup=false
use_gio_unsafe_file_saving=true
indent_hard_tab_width=8
find_selection_type=0
extract_filetype_regex=-\\*-\\s*([^\\s]+)\\s*-\\*-
show_symbol_list_expanders=true
compiler_tab_autoscroll=true
allow_always_save=false
statusbar_template=line: %l / %L	 col: %c	 sel: %s	 %w      %t      %mmode: %M      encoding: %e      filetype: %f      scope: %S
new_document_after_close=false
msgwin_status_visible=true
msgwin_compiler_visible=false
msgwin_messages_visible=true
msgwin_scribble_visible=true
documents_show_paths=true
sidebar_page=2
pref_main_load_session=true
pref_main_project_session=true
pref_main_project_file_in_basedir=false
pref_main_save_winpos=true
pref_main_confirm_exit=false
pref_main_suppress_status_messages=false
switch_msgwin_pages=false
beep_on_errors=false
auto_focus=false
sidebar_symbol_visible=false
sidebar_openfiles_visible=false
editor_font=Terminus 18
tagbar_font=Terminus 15
msgwin_font=Terminus 15
show_notebook_tabs=true
show_tab_cross=false
tab_order_ltr=true
tab_order_beside=false
tab_pos_editor=2
tab_pos_msgwin=0
use_native_windows_dialogs=false
show_indent_guide=false
show_white_space=false
show_line_endings=false
show_markers_margin=true
show_linenumber_margin=true
long_line_enabled=true
long_line_type=0
long_line_column=70
long_line_color=#660000
symbolcompletion_max_height=3
symbolcompletion_min_chars=20
use_folding=false
unfold_all_children=false
use_indicators=true
line_wrapping=true
auto_close_xml_tags=false
complete_snippets=false
auto_complete_symbols=false
pref_editor_disable_dnd=false
pref_editor_smart_home_key=true
pref_editor_newline_strip=false
line_break_column=80
auto_continue_multiline=false
comment_toggle_mark=~ 
scroll_stop_at_last_line=true
autoclose_chars=24
pref_editor_default_new_encoding=UTF-8
pref_editor_default_open_encoding=None
default_eol_character=2
pref_editor_new_line=true
pref_editor_ensure_convert_line_endings=false
pref_editor_replace_tabs=false
pref_editor_trail_space=false
pref_toolbar_show=false
pref_toolbar_append_to_menu=false
pref_toolbar_use_gtk_default_style=true
pref_toolbar_use_gtk_default_icon=true
pref_toolbar_icon_style=0
pref_toolbar_icon_size=0
pref_template_developer=nicola
pref_template_company=
pref_template_mail=nicola@lazarus
pref_template_initial=n
pref_template_version=1.0
pref_template_year=%Y
pref_template_date=%Y-%m-%d
pref_template_datetime=%d.%m.%Y %H:%M:%S %Z
context_action_cmd=
sidebar_visible=false
statusbar_visible=false
msgwindow_visible=false
fullscreen=false
scribble_text=\n\n
scribble_pos=1
treeview_position=0
msgwindow_position=782
geometry=0;0;960;1050;0;
custom_date_format=
symbols_sort_mode=0
scroll_lines_around_cursor=2
keep_edit_history_on_reload=true
show_keep_edit_history_on_reload_msg=false
replace_and_find_by_default=true
reload_clean_doc_on_file_change=false
editor_ime_interaction=0
pref_main_save_wingeom=true

[build-menu]
number_ft_menu_items=0
number_non_ft_menu_items=0
number_exec_menu_items=0
NF_00_LB=_Make
NF_00_CM=
NF_00_WD=
NF_01_LB=Make Custom _Target...
NF_01_CM=
NF_01_WD=
NF_02_LB=Make _Object
NF_02_CM=
NF_02_WD=

[search]
pref_search_hide_find_dialog=true
pref_search_always_wrap=false
pref_search_current_file_dir=true
find_all_expanded=false
replace_all_expanded=true
position_find_x=223
position_find_y=543
position_replace_x=1097
position_replace_y=423
position_fif_x=-1
position_fif_y=-1
fif_regexp=false
fif_case_sensitive=true
fif_match_whole_word=false
fif_invert_results=false
fif_recursive=false
fif_extra_options=
fif_use_extra_options=false
fif_files=
fif_files_mode=0
find_regexp=false
find_case_sensitive=false
find_escape_sequences=false
find_match_whole_word=false
find_match_word_start=false
find_close_dialog=true
replace_regexp=false
replace_case_sensitive=true
replace_escape_sequences=false
replace_match_whole_word=false
replace_match_word_start=false
replace_search_backwards=false
replace_close_dialog=false
find_regexp_multiline=false
replace_regexp_multiline=false

[plugins]
load_plugins=true
custom_plugin_path=
active_plugins=/usr/usr/lib/x86_64-linux-gnu/geany/htmlchars.so;/usr/lib/x86_64-linux-gnu/geany/treebrowser.so;

[tools]
terminal_cmd=x-terminal-emulator -e "/bin/sh %c"
browser_cmd=sensible-browser
grep_cmd=grep

[printing]
print_cmd=
use_gtk_printing=true
print_line_numbers=true
print_page_numbers=true
print_page_header=true
page_header_basename=false
page_header_datefmt=%c

[VTE]
load_vte=true
emulation=xterm
send_selection_unsafe=false
send_cmd_prefix=
font=Terminus (TTF) Medium 12
scroll_on_key=true
scroll_on_out=true
enable_bash_keys=true
ignore_menu_bar_accel=false
follow_path=false
run_in_vte=true
skip_run_script=true
cursor_blinks=false
scrollback_lines=500
image=
shell=/bin/bash
colour_fore=#FFFFFF
colour_back=#151515
last_dir=/home/nicola

[project]
session_file=
project_file_path=

[files]
recent_files=/home/nicola/lab/lcthw/26/main.c;/home/nicola/.gw/chlo-bscene/from.txt;/home/nicola/resources/substrata/b/k/-9.dB;/home/nicola/resources/substrata/settings.json;/home/nicola/apps/Orca-c/tool;/home/nicola/apps/systemshock/COPYING.txt;/home/nicola/lab/lcthw/16/ex16.c;/home/nicola/.config/geany/geany.conf;/home/nicola/.config/micro/settings.json;/home/nicola/.config/micro/colorschemes/mine.micro;
recent_projects=
current_page=3
FILE_NAME_0=23834;None;0;EUTF-8;0;1;1;%2Fhome%2Fnicola%2Fwall%2Ftodo.txt;0;4
FILE_NAME_1=14246;Sh;0;EUTF-8;1;1;1;%2Fhome%2Fnicola%2Fapps%2FOrca-c%2Ftool;0;4
FILE_NAME_2=104;JSON;0;EUTF-8;1;1;1;%2Fhome%2Fnicola%2Fresources%2Fsubstrata%2Fsettings.json;0;4
FILE_NAME_3=2198;C;0;EUTF-8;1;1;1;%2Fhome%2Fnicola%2Flab%2Flcthw%2F26%2Fmain.c;0;4

M confs/openbox/autostart => confs/openbox/autostart +2 -2
@@ 18,7 18,7 @@ xset b off
#xmodmap -e "keysym Insert = Multi_key"

# remap caps lock to left click 
xmodmap -e "keycode 66 =BackSpace"
#xmodmap -e "keycode 66 =BackSpace"

## SETTINGS END



@@ 30,7 30,7 @@ nitrogen --restore &
(sleep 1s; compton & )

## Start the tint2 session (the default tint2 will run if no sessions have been set)
(sleep 1s; tint2 -c ~/.config/tint2rc) & 
(sleep 1s; tint2) & 

## Start the Conky session (the default conkyrc will run if no sessions have been set)
(sleep 1s; conky ) &

M confs/openbox/menu.xml => confs/openbox/menu.xml +22 -12
@@ 67,16 67,26 @@
					<command>terminator -b --profile=orcam --geometry 950x1000 -T 'orca-c' -e orca</command>
				</action>
			</item>
			<item label="OrcaJS">
				<action name="Execute">
					<command>orcaJS</command>
				</action>
			</item>
			<item label="Pilot">
				<action name="Execute">
					<command>pilot</command>
				</action>
			</item>
			<menu id="root-menu-85622" label="Start Folderkit">
				<item label="Internal PCH">
			      <action name="Execute">
			      	<startupnotify>
			      		<enabled>true</enabled>
			      		<name>engines</name>
		      		</startupnotify>
		      		<command>gnome-terminal --title="orca engine" -- start_engines.sh PCH</command>
		      		</action>
				</item>		
				<item label="Traktor Audio Mk2">
			      <action name="Execute">
			      	<startupnotify>
			      		<enabled>true</enabled>
			      		<name>engines</name>
		      		</startupnotify>
		      		<command>gnome-terminal --title="orca engine" -- start_engines.sh</command>
		      		</action>
				</item>
			</menu>
			<item label="Jack Controls">
				<action name="Execute">
					<command>qjackctl</command>


@@ 386,9 396,9 @@
			</item>
		</menu>
		<separator/>
		<item label="Lock Screen">
		<item label="Blank Screen">
			<action name="Execute">
				<command>lock-screen.sh</command>
				<command>blank.sh</command>
			</action>
		</item>
		<item label="Exit">

M confs/openbox/rc.xml => confs/openbox/rc.xml +9 -5
@@ 176,6 176,15 @@
  </dock>
  <keyboard>
    <chainQuitKey>C-g</chainQuitKey>
	<keybind key="C-A-space">
	  <action name="ShowMenu">
	  	<menu>root-menu</menu>
	    <position>
	      <x>1</x>
	      <y>-32</y>
	    </position>
	  </action>	
	</keybind>
    <!-- Keybindings for desktop switching -->
    <!-- desktops -->
    <keybind key="W-1">


@@ 502,11 511,6 @@
        <command>~/apps/bunsen-exit/bin/bl-exit</command>
      </action>
    </keybind>
    <keybind key="W-Return">
      <action name="ShowMenu">
        <menu>root-menu</menu>
      </action>
    </keybind>
    <!-- screencasting -->
    <keybind key="W-S-s">
      <action name="Execute">

M confs/thunar.xml => confs/thunar.xml +1 -1
@@ 9,7 9,7 @@
  <property name="misc-single-click" type="bool" value="true"/>
  <property name="shortcuts-icon-size" type="string" value="THUNAR_ICON_SIZE_SMALLEST"/>
  <property name="last-separator-position" type="int" value="166"/>
  <property name="last-show-hidden" type="bool" value="false"/>
  <property name="last-show-hidden" type="bool" value="true"/>
  <property name="last-side-pane" type="string" value="ThunarShortcutsPane"/>
  <property name="last-details-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_38_PERCENT"/>
  <property name="last-details-view-column-widths" type="string" value="50,134,50,50,330,50,50,88,124,312"/>

M confs/tint2rc => confs/tint2rc +6 -14
@@ 59,7 59,7 @@ border_color = #888888 20
# Panel
panel_monitor = 1
panel_position = bottom center horizontal
panel_items = TBSC
panel_items = LTBSC
panel_size = 100% 30
panel_margin = 0 0
panel_padding = 0 0


@@ 116,19 116,11 @@ task_iconified_font_color = #d8d8d8 60
font_shadow = 0

# Launcher
launcher_padding = 8 4 4
launcher_background_id = 0
launcher_icon_size = 30
# Specify icon theme names with launcher_icon_theme.
# if you have an XSETTINGS manager running (like xfsettingsd), tint2 will follow your current theme.
launcher_icon_theme = Faenza-Dark-Bunsen

# Each launcher_item_app must be a full path to a .desktop file
# this will have to be made:
launcher_item_app = /usr/share/applications/bl-www-browser.desktop
launcher_item_app = /usr/share/applications/bl-file-manager.desktop
launcher_item_app = /usr/share/applications/bl-text-editor.desktop
launcher_item_app = /usr/share/applications/bl-terminal-emulator.desktop
launcher_icon_theme = tint2_icon
launcher_padding = 12 0 0
launcher_background_id = 9
launcher_icon_size = 32
launcher_item_app = ~/grimorio/extra/base/open-openbox-menu.desktop

# System Tray
systray = 1

A extra/base/open-openbox-menu.desktop => extra/base/open-openbox-menu.desktop +6 -0
@@ 0,0 1,6 @@
[Desktop Entry]
Type=Application
Name=openboxmenu
Exec=xdotool key ctrl+alt+space
NoDisplay=false
StartupNotify=true

A extra/icons/tint2_icon/32x32/mimetypes/application-x-executable.png => extra/icons/tint2_icon/32x32/mimetypes/application-x-executable.png +0 -0

A extra/icons/tint2_icon/cursor.theme => extra/icons/tint2_icon/cursor.theme +2 -0
@@ 0,0 1,2 @@
[Icon Theme]
Inherits=Adwaita

A extra/icons/tint2_icon/icon-theme.cache => extra/icons/tint2_icon/icon-theme.cache +0 -0

A extra/icons/tint2_icon/index.theme => extra/icons/tint2_icon/index.theme +12 -0
@@ 0,0 1,12 @@
[Icon Theme]
Name=tint2_icon
Comment=my tint2 start icon
Example=folder

# Directory list
Directories=32x32/mimetypes

[32x32/mimetypes]
Context=MimeTypes
Size=32
Type=Fixed