From d2ed738f453999d5e416d51b932175474f52b30f Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Tue, 8 Apr 2008 18:43:36 -0400 Subject: [PATCH] Imported my custom .ion config files as a sample. --- avery-dot-ion/bindings-default.conf | 163 ++++++++++++++++++++++++++++++++++++ avery-dot-ion/ion.conf | 26 ++++++ avery-dot-ion/kludges.conf | 93 ++++++++++++++++++++ avery-dot-ion/look-greyviolet.conf | 27 ++++++ 4 files changed, 309 insertions(+) create mode 100644 avery-dot-ion/bindings-default.conf create mode 100644 avery-dot-ion/ion.conf create mode 100644 avery-dot-ion/kludges.conf create mode 100644 avery-dot-ion/look-greyviolet.conf diff --git a/avery-dot-ion/bindings-default.conf b/avery-dot-ion/bindings-default.conf new file mode 100644 index 0000000..7acbfe7 --- /dev/null +++ b/avery-dot-ion/bindings-default.conf @@ -0,0 +1,163 @@ +# +# Default key and button bindings for Ion +# + +bindings{ +# kpress "F12", "exec", "$HOME/bin/play-clapper" + + set_mod "Mod1" + +# Navigation + + kpress "B", "switch_prev" + kpress "N", "switch_next" + + kpress "1", "switch_nth", 0 + kpress "2", "switch_nth", 1 + kpress "3", "switch_nth", 2 + kpress "4", "switch_nth", 3 + kpress "5", "switch_nth", 4 + kpress "6", "switch_nth", 5 + kpress "7", "switch_nth", 6 + kpress "8", "switch_nth", 7 + kpress "9", "switch_nth", 8 + kpress "0", "switch_nth", 9 + + kpress "Up", "goto_above" + kpress "Down", "goto_below" + kpress "Left", "goto_left" + kpress "Right", "goto_right" + + kpress "Tab", "goto_previous" + + kpress "Page_Up", "switch_ws_prev" + kpress "Page_Down", "switch_ws_next" + + kpress "F1", "switch_ws_nth", 0 + kpress "F2", "switch_ws_nth", 1 + kpress "F3", "switch_ws_nth", 2 + kpress "F4", "switch_ws_nth", 3 + kpress "F5", "switch_ws_nth", 4 + kpress "F6", "switch_ws_nth", 5 + kpress "F7", "switch_ws_nth", 6 + kpress "F8", "switch_ws_nth", 7 + kpress "F9", "switch_ws_nth", 8 + kpress "F10", "switch_ws_nth", 9 + +# Resize and split + +# kpress "H", "resize_horiz" +# kpress "V", "resize_vert" + +# submap "M" { +# set_mod "AnyModifier" +# kpress "H", "maximize_horiz" +# kpress "V", "maximize_vert" +# } + + submap "S" { + set_mod "AnyModifier" + kpress "H", "split_horiz" + kpress "V", "split_vert" + kpress "X", "destroy_frame" + } + +# Close and destroy + + kpress "C", "closedestroy" +# kpress "K", "kill" + +# General + + kpress "grave", "exec", "x-terminal-emulator" + kpress "Insert", "exec", "x-terminal-emulator" + kpress "Delete", "exec", "x-terminal-emulator -fn 10x20" + kpress "End", "exit" + kpress "Home", "restart" + +# Queries + +# kpress "E", "query_exec" +# kpress "F", "query_function" +# kpress "G", "query_gotoclient" +# kpress "Q", "query_attachclient" + kpress "W", "query_workspace" +# kpress "D", "query_workspace_with" + +# Tags + kpress "A", "attach_tagged" + kpress "T", "toggle_tagged" + + set_mod "" + mdrag "Button3", "p_resize" + mdrag "Button1", "p_resize" +} + + +tab_bindings{ + mpress "Button1", "switch_tab" + mdrag "Button1", "p_tabdrag" + mdrag "Button3", "p_resize" +} + + +input_bindings{ + set_mod "Control" + kpress "F", "forward" + kpress "B", "back" + kpress "E", "eol" + kpress "A", "bol" + kpress "Z", "bskip_word" + kpress "X", "skip_word" + + kpress "D", "delete" + kpress "H", "backspace" + kpress "J", "kill_to_eol" + kpress "Y", "kill_line" + kpress "W", "kill_word" + kpress "O", "bkill_word" + + kpress "U", "scrollup" + kpress "V", "scrolldown" + kpress "P", "history_prev" + kpress "N", "history_next" + + kpress "M", "finish" + kpress "C", "cancel" + + submap "K" { + set_mod "AnyModifier" + kpress "B", "set_mark" + kpress "Y", "cut" + kpress "K", "copy" + kpress "C", "paste" + } + + set_mod "" + kpress "Return", "finish" + kpress "Delete", "delete" + kpress "BackSpace", "backspace" + kpress "Home", "bol" + kpress "End", "eol" + kpress "Tab", "complete" + kpress "Up", "history_prev" + kpress "Down", "history_next" + kpress "Right", "forward" + kpress "Left", "back" + kpress "Escape", "cancel" + kpress "Page_Up", "scrollup" + kpress "Page_Down", "scrolldown" + + mclick "Button2", "paste" +} + + +moveres_bindings{ + set_mod "AnyModifier" + kpress "Escape", "cancel_resize" + kpress "Return", "end_resize" + kpress "V", "grow" + kpress "H", "grow" + kpress "S", "shrink" +} + diff --git a/avery-dot-ion/ion.conf b/avery-dot-ion/ion.conf new file mode 100644 index 0000000..f53645a --- /dev/null +++ b/avery-dot-ion/ion.conf @@ -0,0 +1,26 @@ +# +# Ion configuration file +# + +# Look and other settings for screen 0 +screen 0 { + # Used for resize units + #term_font "7x14" + term_font "10x20" + + include "./look-greyviolet.conf" +# include "look-simpleblue.conf" +# include "look-wheat.conf" + +} + +#dblclick_delay 250 +#resize_delay 1500 +#opaque_resize FALSE + +# Key and pointer bindings +# (You may want to use bindings-sun.conf on SunOS). +include "./bindings-default.conf" + +# Kludges to get some programs working +include "./kludges.conf" diff --git a/avery-dot-ion/kludges.conf b/avery-dot-ion/kludges.conf new file mode 100644 index 0000000..a656536 --- /dev/null +++ b/avery-dot-ion/kludges.conf @@ -0,0 +1,93 @@ +# +# Options to get some programs work more nicely (or at all) +# + +winprop "AcroRead.documentShell" { + acrobatic +} + +winprop "Firefox-bin.Gecko" { + switchto FALSE + stubborn FALSE +} + + +winprop "Netscape.Navigator" { + switchto FALSE + stubborn TRUE +} + +winprop "Firefox.Navigator" { + switchto FALSE + stubborn TRUE +} + +winprop "toplevel.konqueror" { + switchto FALSE + stubborn TRUE +} + +winprop "Konqueror.konqueror" { + switchto FALSE + stubborn FALSE +} + +winprop "konqueror.Konqueror" { + switchto FALSE + stubborn FALSE +} + +winprop "konqueror.konqueror" { + switchto FALSE + stubborn FALSE +} + +winprop "galeon_browser.Galeon" { + switchto FALSE + stubborn FALSE +} + +winprop "Epiphany.epiphany" { + switchto FALSE + stubborn FALSE +} + +winprop "x-www-browser.x-www-browser" { + switchto FALSE + stubborn FALSE +} + +winprop "xmms.XMMS_Player" { + transient_mode off +# target "xmms" +} +winprop "xmms.XMMS_Playlist" { + transient_mode off +# target "xmms-playlist" +} +winprop "xmms.XMMS_Equalizer" { + transient_mode off +# target "xmms-equalizer" +} + +winprop "*.VCLSalFrame" { + transient_mode off +# target "openoffice-sub" +} + +winprop "kphone.kphone" { + transient_mode off +# target "kphone-win" +} + +winprop "Gimp.gimp" { + switchto FALSE +} + + + +# openoffice transients do insane things +winprop "TransientShell." { +# acrobatic +# transient_mode off +} diff --git a/avery-dot-ion/look-greyviolet.conf b/avery-dot-ion/look-greyviolet.conf new file mode 100644 index 0000000..7c10f54 --- /dev/null +++ b/avery-dot-ion/look-greyviolet.conf @@ -0,0 +1,27 @@ +# +# look-greyviolet.conf for Ion +# + +#font "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*" +#tab_font "-*-helvetica-medium-r-normal-*-12-*-*-*-*-*-*-*" +font "10x20" +#tab_font "-*-verdana-bold-r-*-*-*-90-*-*-*-*-*-*" +tab_font "-*-helvetica-medium-r-normal-*-14-*-*-*-*-*-*-*" + +tab_border 1, 1, 1 +frame_border 1, 1, 1 +input_border 1, 1, 1 +bar_inside_frame TRUE +spacing 1 + +act_tab_sel_colors "#aaaacc", "#333366", "#666699", "#eeeeee" +act_tab_colors "#eeeeee", "#777777", "#aaaaaa", "#000000" +act_frame_colors "#777777", "#eeeeee", "#000000", "#ffffff" + +tab_sel_colors "#eeeeff", "#777788", "#9999aa", "#000000" +tab_colors "#eeeeee", "#777777", "#aaaaaa", "#000000" +frame_colors "#777777", "#eeeeee", "#000000", "#ffffff" +input_colors "#eeeeee", "#777777", "#000000", "#ffffff" + +background_color "#aaaaaa" +selection_colors "#aaaaaa", "black" -- 2.11.4.GIT