OSDN Git Service

initial commit
authorFrede Hundewadt <fh@manjaro.org>
Wed, 11 Mar 2020 14:29:51 +0000 (15:29 +0100)
committerFrede Hundewadt <fh@manjaro.org>
Wed, 11 Mar 2020 14:29:51 +0000 (15:29 +0100)
212 files changed:
skel/.Xresources [new file with mode: 0644]
skel/.config/Kvantum/KvFlatRed#/KvFlatRed#.kvconfig [new file with mode: 0644]
skel/.config/Kvantum/kvantum.kvconfig [new file with mode: 0755]
skel/.config/Thunar/accels.scm [new file with mode: 0644]
skel/.config/Thunar/uca.xml [new file with mode: 0644]
skel/.config/conky/Blue-2-Core-CPU.conkyrc [new file with mode: 0644]
skel/.config/conky/Blue-4-Core-CPU.conkyrc [new file with mode: 0644]
skel/.config/conky/Blue-8-Core-CPU.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Dark-Green.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Default-essential-keys.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Default-sysinfo.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Golden-essential-keys.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Golden-sysinfo.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Light-Blue.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Matrix-essential-keys.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-Matrix-sysinfo.conkyrc [new file with mode: 0644]
skel/.config/conky/Openbox-White.conkyrc [new file with mode: 0644]
skel/.config/conky/PacBang-2-Core-CPU.conkyrc [new file with mode: 0644]
skel/.config/conky/PacBang-4-Core-CPU.conkyrc [new file with mode: 0644]
skel/.config/conky/PacBang-8-Core-CPU.conkyrc [new file with mode: 0644]
skel/.config/conky/PacBang.conkyrc [new file with mode: 0644]
skel/.config/conky/accu_weather/README.md [new file with mode: 0644]
skel/.config/conky/accu_weather/acc_rss [new file with mode: 0644]
skel/.config/conky/clock/clock01_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/clock02_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/clock04_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/clock08_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/clock_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/pacbang-clock02_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/pacbang-clock04_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/pacbang-clock08_rings.lua [new file with mode: 0644]
skel/.config/conky/clock/pacbang_rings.lua [new file with mode: 0644]
skel/.config/conky/conky-sessionfile [new file with mode: 0755]
skel/.config/conky/convert.lua [new file with mode: 0755]
skel/.config/conky/scripts/myip [new file with mode: 0755]
skel/.config/dconf/user [new file with mode: 0644]
skel/.config/dunst/dunstrc [new file with mode: 0644]
skel/.config/gtk-3.0/gtk.css [new file with mode: 0644]
skel/.config/gtk-3.0/settings.ini [new file with mode: 0644]
skel/.config/jgmenu/append.csv [new file with mode: 0644]
skel/.config/jgmenu/jgmenurc [new file with mode: 0644]
skel/.config/jgmenu/prepend.csv [new file with mode: 0644]
skel/.config/mimeapps.list [new file with mode: 0644]
skel/.config/nano/Dockerfile.nanorc [new file with mode: 0644]
skel/.config/nano/Readme.rst [new file with mode: 0644]
skel/.config/nano/apacheconf.nanorc [new file with mode: 0644]
skel/.config/nano/arduino.nanorc [new file with mode: 0644]
skel/.config/nano/asciidoc.nanorc [new file with mode: 0644]
skel/.config/nano/asm.nanorc [new file with mode: 0644]
skel/.config/nano/awk.nanorc [new file with mode: 0644]
skel/.config/nano/c.nanorc [new file with mode: 0644]
skel/.config/nano/clojure.nanorc [new file with mode: 0644]
skel/.config/nano/cmake.nanorc [new file with mode: 0644]
skel/.config/nano/coffeescript.nanorc [new file with mode: 0644]
skel/.config/nano/colortest.nanorc [new file with mode: 0644]
skel/.config/nano/conf.nanorc [new file with mode: 0644]
skel/.config/nano/conky.nanorc [new file with mode: 0644]
skel/.config/nano/csh.nanorc [new file with mode: 0644]
skel/.config/nano/csharp.nanorc [new file with mode: 0644]
skel/.config/nano/css.nanorc [new file with mode: 0644]
skel/.config/nano/csv.nanorc [new file with mode: 0644]
skel/.config/nano/cython.nanorc [new file with mode: 0644]
skel/.config/nano/dot.nanorc [new file with mode: 0644]
skel/.config/nano/dotenv.nanorc [new file with mode: 0644]
skel/.config/nano/email.nanorc [new file with mode: 0644]
skel/.config/nano/erb.nanorc [new file with mode: 0644]
skel/.config/nano/etc-hosts.nanorc [new file with mode: 0644]
skel/.config/nano/fish.nanorc [new file with mode: 0644]
skel/.config/nano/fortran.nanorc [new file with mode: 0644]
skel/.config/nano/genie.nanorc [new file with mode: 0644]
skel/.config/nano/gentoo.nanorc [new file with mode: 0644]
skel/.config/nano/git.nanorc [new file with mode: 0644]
skel/.config/nano/gitcommit.nanorc [new symlink]
skel/.config/nano/glsl.nanorc [new file with mode: 0644]
skel/.config/nano/go.nanorc [new file with mode: 0644]
skel/.config/nano/groff.nanorc [new file with mode: 0644]
skel/.config/nano/haml.nanorc [new file with mode: 0644]
skel/.config/nano/haskell.nanorc [new file with mode: 0644]
skel/.config/nano/hcl.nanorc [new file with mode: 0644]
skel/.config/nano/html.j2.nanorc [new symlink]
skel/.config/nano/html.nanorc [new file with mode: 0644]
skel/.config/nano/i3.nanorc [new file with mode: 0644]
skel/.config/nano/ical.nanorc [new file with mode: 0644]
skel/.config/nano/ini.nanorc [new file with mode: 0644]
skel/.config/nano/inputrc.nanorc [new file with mode: 0644]
skel/.config/nano/jade.nanorc [new file with mode: 0644]
skel/.config/nano/java.nanorc [new file with mode: 0644]
skel/.config/nano/javascript.nanorc [new file with mode: 0644]
skel/.config/nano/js.nanorc [new file with mode: 0644]
skel/.config/nano/json.nanorc [new file with mode: 0644]
skel/.config/nano/keymap.nanorc [new file with mode: 0644]
skel/.config/nano/kickstart.nanorc [new file with mode: 0644]
skel/.config/nano/ledger.nanorc [new file with mode: 0644]
skel/.config/nano/license [new file with mode: 0644]
skel/.config/nano/lisp.nanorc [new file with mode: 0644]
skel/.config/nano/lua.nanorc [new file with mode: 0644]
skel/.config/nano/makefile.nanorc [new file with mode: 0644]
skel/.config/nano/man.nanorc [new file with mode: 0644]
skel/.config/nano/markdown.nanorc [new file with mode: 0644]
skel/.config/nano/mpdconf.nanorc [new file with mode: 0644]
skel/.config/nano/mutt.nanorc [new file with mode: 0644]
skel/.config/nano/nanorc [new file with mode: 0644]
skel/.config/nano/nanorc.nanorc [new file with mode: 0644]
skel/.config/nano/nginx.nanorc [new file with mode: 0644]
skel/.config/nano/nmap.nanorc [new file with mode: 0644]
skel/.config/nano/ocaml.nanorc [new file with mode: 0644]
skel/.config/nano/octave.nanorc [new file with mode: 0644]
skel/.config/nano/patch.nanorc [new file with mode: 0644]
skel/.config/nano/peg.nanorc [new file with mode: 0644]
skel/.config/nano/perl.nanorc [new file with mode: 0644]
skel/.config/nano/perl6.nanorc [new file with mode: 0644]
skel/.config/nano/php.nanorc [new file with mode: 0644]
skel/.config/nano/pkg-config.nanorc [new file with mode: 0644]
skel/.config/nano/pkgbuild.nanorc [new file with mode: 0644]
skel/.config/nano/po.nanorc [new file with mode: 0644]
skel/.config/nano/pov.nanorc [new file with mode: 0644]
skel/.config/nano/privoxy.nanorc [new file with mode: 0644]
skel/.config/nano/prolog.nanorc [new file with mode: 0644]
skel/.config/nano/pug.nanorc [new file with mode: 0644]
skel/.config/nano/puppet.nanorc [new file with mode: 0644]
skel/.config/nano/python.nanorc [new file with mode: 0644]
skel/.config/nano/reST.nanorc [new file with mode: 0644]
skel/.config/nano/rpmspec.nanorc [new file with mode: 0644]
skel/.config/nano/ruby.nanorc [new file with mode: 0644]
skel/.config/nano/rust.nanorc [new file with mode: 0644]
skel/.config/nano/scala.nanorc [new file with mode: 0644]
skel/.config/nano/sed.nanorc [new file with mode: 0644]
skel/.config/nano/sh.nanorc [new file with mode: 0644]
skel/.config/nano/sls.nanorc [new file with mode: 0644]
skel/.config/nano/sql.nanorc [new file with mode: 0644]
skel/.config/nano/svn.nanorc [new file with mode: 0644]
skel/.config/nano/swift.nanorc [new file with mode: 0644]
skel/.config/nano/systemd.nanorc [new file with mode: 0644]
skel/.config/nano/tcl.nanorc [new file with mode: 0644]
skel/.config/nano/tex.nanorc [new file with mode: 0644]
skel/.config/nano/ts.nanorc [new file with mode: 0644]
skel/.config/nano/vala.nanorc [new file with mode: 0644]
skel/.config/nano/verilog.nanorc [new file with mode: 0644]
skel/.config/nano/vi.nanorc [new file with mode: 0644]
skel/.config/nano/xml.nanorc [new file with mode: 0644]
skel/.config/nano/xresources.nanorc [new file with mode: 0644]
skel/.config/nano/yaml.nanorc [new file with mode: 0644]
skel/.config/nano/yum.nanorc [new file with mode: 0644]
skel/.config/nano/zsh.nanorc [new file with mode: 0644]
skel/.config/nano/zshrc.nanorc [new symlink]
skel/.config/networkmanager-dmenu/config.ini [new file with mode: 0644]
skel/.config/nitrogen/bg-saved.cfg [new file with mode: 0755]
skel/.config/nitrogen/bg-saved.cfg.template [new file with mode: 0755]
skel/.config/nitrogen/nitrogen.cfg [new file with mode: 0644]
skel/.config/obmenu-generator/applications.pl [new file with mode: 0644]
skel/.config/obmenu-generator/config.pl [new file with mode: 0644]
skel/.config/obmenu-generator/schema.pl [new file with mode: 0644]
skel/.config/openbox/autostart [new file with mode: 0644]
skel/.config/openbox/environment [new file with mode: 0644]
skel/.config/openbox/menu.xml [new file with mode: 0755]
skel/.config/openbox/rc.xml [new file with mode: 0644]
skel/.config/picom/picom.conf [new file with mode: 0644]
skel/.config/polybar/config [new file with mode: 0644]
skel/.config/polybar/fontawesome_codes.txt [new file with mode: 0644]
skel/.config/polybar/master.conf [new file with mode: 0644]
skel/.config/polybar/modules.conf [new file with mode: 0644]
skel/.config/polybar/modules/alsa.conf [new file with mode: 0644]
skel/.config/polybar/modules/battery.conf [new file with mode: 0644]
skel/.config/polybar/modules/clock.conf [new file with mode: 0644]
skel/.config/polybar/modules/coreuse.conf [new file with mode: 0644]
skel/.config/polybar/modules/filesystem.conf [new file with mode: 0644]
skel/.config/polybar/modules/jgmenu.conf [new file with mode: 0644]
skel/.config/polybar/modules/keyboard.conf [new file with mode: 0644]
skel/.config/polybar/modules/memory.conf [new file with mode: 0644]
skel/.config/polybar/modules/mpd.conf [new file with mode: 0644]
skel/.config/polybar/modules/pkg.conf [new file with mode: 0644]
skel/.config/polybar/modules/pulseaudio.conf [new file with mode: 0644]
skel/.config/polybar/modules/redshift.conf [new file with mode: 0644]
skel/.config/polybar/modules/thermalzone0.conf [new file with mode: 0644]
skel/.config/polybar/modules/thermalzone1.conf [new file with mode: 0644]
skel/.config/polybar/modules/thermalzone2.conf [new file with mode: 0644]
skel/.config/polybar/modules/volumes.conf [new file with mode: 0644]
skel/.config/polybar/modules/window_switch.conf [new file with mode: 0644]
skel/.config/polybar/modules/wired-network.conf [new file with mode: 0644]
skel/.config/polybar/modules/wireless-network.conf [new file with mode: 0644]
skel/.config/polybar/modules/workspaces.conf [new file with mode: 0644]
skel/.config/qt5ct/qt5ct.conf [new file with mode: 0755]
skel/.config/rofi/config [new file with mode: 0644]
skel/.config/rofi/pacbang.rasi [new file with mode: 0644]
skel/.config/skippy-xd/skippy-xd.rc [new file with mode: 0644]
skel/.config/termite/config [new file with mode: 0644]
skel/.config/tint2/default.tint2rc [new file with mode: 0755]
skel/.config/tint2/manjaro-matrix.tint2rc [new file with mode: 0644]
skel/.config/tint2/manjaro-openbox.tint2rc [new file with mode: 0755]
skel/.config/tint2/matrix.tint2rc [new file with mode: 0755]
skel/.config/tint2/sessions/openbox-sessionfile [new file with mode: 0755]
skel/.config/tint2/tint2rc [new file with mode: 0755]
skel/.config/volumeicon/volumeicon [new file with mode: 0644]
skel/.config/xfce4/helpers.rc [new file with mode: 0644]
skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml [new file with mode: 0644]
skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml [new file with mode: 0644]
skel/.fonts/Radio_Space.ttf [new file with mode: 0644]
skel/.fonts/Radio_Space_Bold.ttf [new file with mode: 0644]
skel/.fonts/Radio_Space_Bold_Italic.ttf [new file with mode: 0644]
skel/.fonts/Radio_Space_Condensed.ttf [new file with mode: 0644]
skel/.fonts/Radio_Space_Italic.ttf [new file with mode: 0644]
skel/.fonts/conkyweather.ttf [new file with mode: 0644]
skel/.gtkrc-2.0 [new file with mode: 0644]
skel/.icons/default/index.theme [new file with mode: 0644]
skel/.local/bin/README [new file with mode: 0644]
skel/.local/bin/format-usb [new file with mode: 0755]
skel/.local/bin/myip [new file with mode: 0755]
skel/.local/share/xfce4/helpers/custom-TerminalEmulator.desktop [new file with mode: 0755]
skel/.nanorc [new file with mode: 0644]
skel/.profile [new file with mode: 0644]
skel/.xinitrc [new file with mode: 0755]
skel/.xprofile [new file with mode: 0644]

diff --git a/skel/.Xresources b/skel/.Xresources
new file mode 100644 (file)
index 0000000..53bcc45
--- /dev/null
@@ -0,0 +1,100 @@
+! ------------------------------------------------------------------------------
+! theme colors
+! ------------------------------------------------------------------------------
+Xcursor.size: 24
+
+! ------------------------------------------------------------------------------
+! theme colors
+! ------------------------------------------------------------------------------
+! special
+*.foreground: #c0c5ce
+*.background: #2b303b
+*.cursorColor: #c0c5ce
+
+*.color0: #2b303b
+*.color1: #bf616a
+*.color2: #a3be8c
+*.color3: #ebcb8b
+*.color4: #8fa1b3
+*.color5: #b48ead
+*.color6: #96b5b4
+*.color7: #65737e
+
+*.color8: #65737e
+*.color9: #bf616a
+*.color10: #a3be8c
+*.color11: #ebcb8b
+*.color12: #8fa1b3
+*.color13: #b48ead
+*.color14: #96b5b4
+*.color15: #F6F6F6
+
+! ------------------------------------------------------------------------------
+! xterm
+! ------------------------------------------------------------------------------
+xterm*font: DejaVu Sans Mono Book
+xterm*faceName: DejaVu Sans Mono Book:size=12:antialias=false
+xterm*loginShell: true
+xterm*vt100*geometry: 90x34
+xterm*saveLines: 2000
+xterm*charClass: 33:48,35:48,37:48,43:48,45-47:48,64:48,95:48,126:48
+xterm*termName: xterm-256color
+xterm*eightBitInput: false
+
+! ------------------------------------------------------------------------------
+! URxvt
+! -----------------------------------------------------------------------------
+URxvt*saveline: 15000
+URxvt*termName: rxvt-256color
+URxvt*iso14755: false
+URxvt*depth: 32
+URxvt*background: [90]#2b303b
+URxvt*scrollBar: false
+URxvt*scrollBar_right: false
+URxvt*internalBorder: 0
+URxvt*externalBorder: 0
+URxvt*letterSpace: -1
+URxvt.font: xft:DejaVu Sans Mono Book:size=11
+URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
+URxvt.copyCommand: xclip -i -selection clipboard
+URxvt.pasteCommand: xclip -o -selection clipboard
+URxvt.keysym.m-c: perl:clipboard:copy
+URxvt.keysym.m-v: perl:clipboard:paste
+URxvt.urlLauncher: exo-open
+URxvt.underlineURLs: true
+URxvt.urlButton: 1
+URxvt.geometry: 90x30
+URxvt.tabbed.tabbar-fg: 4
+URxvt.tabbed.tabbar-bg: 16
+URxvt.tabbed.tab-fg: 15
+URxvt.tabbed.tab-bg: 4
+URxvt*buffered: false
+
+! ------------------------------------------------------------------------------
+! UXTerm
+! ------------------------------------------------------------------------------
+UXTerm*termName: xterm-256color
+UXTerm*cursorColor: white
+UXTerm*VT100.geometry: 90x30
+UXTerm*font: DejaVu Sans Mono Book
+UXTerm*faceSize: 12
+UXTerm*dynamicColors: true
+UXTerm*utf8: 2
+UXTerm*eightBitInput: true
+UXTerm*saveLines: 10000
+UXTerm*scrollKey: true
+UXTerm*scrollTtyOutput: false
+UXTerm*scrollBar: false
+UXTerm*rightScrollBar: false
+UXTerm*jumpScroll: true
+UXTerm*multiScroll: true
+UXTerm*toolBar: false
+
+! ------------------------------------------------------------------------------
+! Rofi
+! ------------------------------------------------------------------------------
+!rofi.font: DejaVu Sans Mono Book 12
+!rofi.color-enabled: true
+!rofi.color-window: #2b303b, #2b303b, #2b303b
+!rofi.color-normal: #2b303b, #c0c5ce, #2b303b, #8fa1b3, #2b303b
+!rofi.separator-style: solid
diff --git a/skel/.config/Kvantum/KvFlatRed#/KvFlatRed#.kvconfig b/skel/.config/Kvantum/KvFlatRed#/KvFlatRed#.kvconfig
new file mode 100644 (file)
index 0000000..7ff33fb
--- /dev/null
@@ -0,0 +1,430 @@
+[%General]
+author=Tsu Jan
+comment=A dark flat theme with reddish elements
+x11drag=all
+alt_mnemonic=true
+left_tabs=false
+attach_active_tab=true
+group_toolbar_buttons=false
+spread_progressbar=true
+progressbar_thickness=6
+composite=true
+menu_shadow_depth=6
+tooltip_shadow_depth=6
+splitter_width=7
+scroll_width=12
+scroll_min_extent=50
+slider_width=4
+slider_handle_width=16
+slider_handle_length=16
+toolbar_icon_size=16
+check_size=16
+opaque=kaffeine,kmplayer,subtitlecomposer,kdenlive,vlc,smplayer,smplayer2,avidemux,avidemux2_qt4,avidemux3_qt4,avidemux3_qt5,kamoso,QtCreator,VirtualBox,VirtualBoxVM,trojita,dragon,digikam,lyx
+animate_states=true
+blurring=false
+button_contents_shift=true
+button_icon_size=16
+combo_as_lineedit=true
+combo_menu=true
+click_behavior=0
+fill_rubberband=false
+groupbox_top_label=false
+inline_spin_indicators=true
+joined_inactive_tabs=true
+large_icon_size=32
+layout_margin=4
+layout_spacing=2
+menubar_mouse_tracking=true
+merge_menubar_with_toolbar=false
+popup_blurring=false
+respect_DE=true
+scroll_arrows=false
+scrollbar_in_view=false
+transient_groove=false
+transient_scrollbar=true
+small_icon_size=16
+spin_button_width=16
+submenu_overlap=0
+toolbutton_style=0
+tooltip_delay=-1
+translucent_windows=true
+tree_branch_line=false
+vertical_spin_indicators=false
+dark_titlebar=true
+contrast=1.00
+dialog_button_layout=0
+hide_combo_checkboxes=false
+intensity=1.00
+no_inactiveness=false
+no_window_pattern=false
+reduce_menu_opacity=0
+reduce_window_opacity=0
+saturation=1.00
+scrollable_menu=true
+shadowless_popup=false
+submenu_delay=250
+
+[GeneralColors]
+window.color=#3D3D3E
+base.color=#282828
+alt.base.color=#383838
+button.color=#555555
+light.color=#626262
+mid.light.color=#555555
+dark.color=#171717
+mid.color=#3c3c3c
+highlight.color=#a21215
+inactive.highlight.color=#890f11
+tooltip.base.color=black
+text.color=white
+window.text.color=white
+button.text.color=white
+disabled.text.color=#A0A0A0
+tooltip.text.color=white
+highlight.text.color=white
+link.color=#2EB8E6
+link.visited.color=#FF6666
+
+[Hacks]
+respect_darkness=true
+blur_translucent=true
+transparent_dolphin_view=false
+transparent_ktitle_label=true
+transparent_menutitle=false
+kcapacitybar_as_progressbar=true
+disabled_icon_opacity=100
+force_size_grip=true
+iconless_menu=false
+iconless_pushbutton=false
+normal_default_pushbutton=false
+single_top_toolbar=false
+tint_on_mouseover=0
+transparent_pcmanfm_sidepane=false
+lxqtmainmenu_iconsize=0
+no_selection_tint=false
+transparent_pcmanfm_view=false
+kinetic_scrolling=false
+middle_click_scroll=false
+opaque_colors=false
+scroll_jump_workaround=false
+
+[PanelButtonCommand]
+frame=true
+frame.element=button
+frame.top=3
+frame.bottom=3
+frame.left=3
+frame.right=3
+interior=true
+interior.element=button
+indicator.size=9
+text.normal.color=white
+text.focus.color=#FFCA00
+text.press.color=white
+text.toggle.color=white
+text.shadow=0
+text.margin=1
+text.iconspacing=3
+indicator.element=arrow
+text.margin.top=3
+text.margin.bottom=3
+text.margin.left=3
+text.margin.right=3
+text.shadow.xshift=2
+text.shadow.yshift=2
+text.shadow.color=#000000
+text.shadow.alpha=255
+text.shadow.depth=1
+
+[PanelButtonTool]
+inherits=PanelButtonCommand
+interior.element=tbutton
+frame.element=tbutton
+
+[Dock]
+inherits=PanelButtonCommand
+frame=true
+interior=true
+
+[DockTitle]
+inherits=PanelButtonCommand
+frame=false
+interior=false
+text.focus.color=white
+text.bold=true
+
+[IndicatorSpinBox]
+inherits=PanelButtonCommand
+indicator.element=arrow
+indicator.size=9
+
+[RadioButton]
+inherits=PanelButtonCommand
+frame=false
+interior.element=radio
+
+[CheckBox]
+inherits=PanelButtonCommand
+frame=false
+interior.element=checkbox
+
+[GenericFrame]
+inherits=PanelButtonCommand
+frame=true
+interior=false
+frame.element=common
+interior.element=common
+frame.top=4
+frame.bottom=4
+frame.left=4
+frame.right=4
+
+[LineEdit]
+inherits=PanelButtonCommand
+frame.element=lineedit
+interior.element=lineedit
+text.margin.left=2
+text.margin.right=2
+
+[DropDownButton]
+inherits=PanelButtonCommand
+indicator.element=arrow-down
+
+[IndicatorArrow]
+indicator.element=arrow
+indicator.size=9
+
+[ToolboxTab]
+inherits=PanelButtonCommand
+
+[Tab]
+inherits=PanelButtonCommand
+interior.element=tab
+text.margin.left=6
+text.margin.right=6
+text.margin.top=3
+text.margin.bottom=3
+frame.element=tab
+indicator.element=tab
+frame.top=4
+frame.bottom=4
+frame.left=4
+frame.right=4
+text.press.color=white
+text.toggle.color=white
+min_width=4font
+min_height=2.0font
+
+[TabFrame]
+inherits=PanelButtonCommand
+frame.element=tabframe
+interior=false
+frame.top=4
+frame.bottom=4
+frame.left=4
+frame.right=4
+
+[TreeExpander]
+inherits=PanelButtonCommand
+frame=false
+interior=false
+indicator.size=9
+
+[HeaderSection]
+inherits=PanelButtonCommand
+frame.top=2
+frame.bottom=2
+frame.left=2
+frame.right=2
+text.margin.top=2
+text.margin.bottom=2
+
+[SizeGrip]
+inherits=PanelButtonCommand
+frame=false
+interior=false
+indicator.element=resize-grip
+indicator.size=13
+
+[Toolbar]
+inherits=PanelButtonCommand
+indicator.element=toolbar
+indicator.size=5
+text.margin=0
+frame.element=none
+interior.element=none
+
+[Slider]
+inherits=PanelButtonCommand
+frame.element=slider
+interior.element=slider
+frame.top=3
+frame.bottom=3
+frame.left=3
+frame.right=3
+
+[SliderCursor]
+inherits=PanelButtonCommand
+frame=false
+interior.element=slidercursor
+
+[Progressbar]
+inherits=PanelButtonCommand
+frame.element=progress
+interior.element=progress
+text.margin=0
+text.focus.color=white
+text.press.color=white
+text.toggle.color=white
+text.bold=true
+frame.expansion=2.8font
+
+[ProgressbarContents]
+inherits=PanelButtonCommand
+frame=true
+frame.element=progress-pattern
+interior.element=progress-pattern
+frame.expansion=2.8font
+
+[ItemView]
+inherits=PanelButtonCommand
+text.margin=1
+text.margin.top=1
+text.margin.bottom=1
+text.margin.left=1
+text.margin.right=1
+frame.element=itemview
+interior.element=itemview
+frame.top=1
+frame.bottom=1
+frame.left=1
+frame.right=1
+
+[Splitter]
+inherits=PanelButtonCommand
+interior.element=splitter
+frame.element=splitter
+frame.top=0
+frame.bottom=0
+frame.left=1
+frame.right=1
+indicator.element=splitter-grip
+indicator.size=16
+
+[Scrollbar]
+inherits=PanelButtonCommand
+indicator.size=9
+
+[ScrollbarSlider]
+inherits=PanelButtonCommand
+frame.element=scrollbarslider
+interior.element=scrollbarslider
+frame.top=6
+frame.bottom=6
+frame.left=6
+frame.right=6
+
+[ScrollbarGroove]
+inherits=PanelButtonCommand
+interior.element=scrollbargroove
+frame.element=scrollbargroove
+frame.top=0
+frame.bottom=0
+frame.left=5
+frame.right=5
+
+[MenuItem]
+inherits=PanelButtonCommand
+frame=true
+frame.element=menuitem
+interior.element=menuitem
+indicator.element=menuitem
+text.focus.color=white
+text.margin.top=1
+text.margin.bottom=1
+text.margin.left=3
+text.margin.right=3
+frame.top=2
+frame.bottom=2
+frame.left=2
+frame.right=2
+
+[MenuBar]
+inherits=PanelButtonCommand
+frame.element=none
+interior.element=none
+
+[MenuBarItem]
+inherits=PanelButtonCommand
+interior.element=menubaritem
+frame.element=menubaritem
+frame.top=2
+frame.bottom=2
+frame.left=2
+frame.right=2
+text.margin.left=4
+text.margin.right=4
+
+[TitleBar]
+inherits=PanelButtonCommand
+frame=false
+interior.element=titlebar
+indicator.size=12
+indicator.element=mdi
+text.normal.color=black
+text.focus.color=white
+text.bold=true
+text.italic=true
+
+[ComboBox]
+inherits=PanelButtonCommand
+
+[Menu]
+inherits=PanelButtonCommand
+frame.top=3
+frame.bottom=3
+frame.left=3
+frame.right=3
+frame.element=menu
+interior.element=menu
+
+[GroupBox]
+inherits=GenericFrame
+frame=true
+frame.element=group
+text.shadow=0
+text.margin=0
+frame.top=4
+frame.bottom=4
+frame.left=4
+frame.right=4
+
+[TabBarFrame]
+inherits=GenericFrame
+frame=false
+interior=false
+text.shadow=0
+
+[ToolTip]
+inherits=GenericFrame
+frame.top=3
+frame.bottom=3
+frame.left=3
+frame.right=3
+interior=true
+text.shadow=0
+text.margin=0
+interior.element=tooltip
+frame.element=tooltip
+
+[StatusBar]
+inherits=GenericFrame
+frame=false
+interior=false
+
+[Window]
+interior=true
+interior.element=window
+
+[Focus]
+frame=true
diff --git a/skel/.config/Kvantum/kvantum.kvconfig b/skel/.config/Kvantum/kvantum.kvconfig
new file mode 100755 (executable)
index 0000000..d6a318e
--- /dev/null
@@ -0,0 +1,2 @@
+[General]
+theme=KvFlatRed#
diff --git a/skel/.config/Thunar/accels.scm b/skel/.config/Thunar/accels.scm
new file mode 100644 (file)
index 0000000..a1d67b8
--- /dev/null
@@ -0,0 +1,86 @@
+; Thunar GtkAccelMap rc-file         -*- scheme -*-
+; this file is an automated accelerator map dump
+;
+; (gtk_accel_path "<Actions>/ThunarBookmarks/97ad8ddcdba9c02db95a6bde06d5aeab" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "")
+(gtk_accel_path "<Actions>/ThunarActions/uca-action-1521317528494802-1" "F4")
+; (gtk_accel_path "<Actions>/ThunarLauncher/open-in-new-tab" "<Primary><Shift>p")
+; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
+; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
+; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "")
+; (gtk_accel_path "<Actions>/ThunarLauncher/open" "<Primary>o")
+; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt" "<Primary>equal")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab" "<Primary>Page_Down")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
+; (gtk_accel_path "<Actions>/ThunarWindow/about" "")
+; (gtk_accel_path "<Actions>/ThunarLauncher/open-with-menu" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up")
+; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return")
+; (gtk_accel_path "<Actions>/ThunarLauncher/open-in-new-window" "<Primary><Shift>o")
+; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left")
+; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/delete" "")
+; (gtk_accel_path "<Actions>/ThunarBookmarks/1ffd4f150d52869c628695148a459608" "")
+; (gtk_accel_path "<Actions>/ThunarBookmarks/d5f66525452293c1f8b51998dddd364e" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s")
+; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>w")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e")
+; (gtk_accel_path "<Actions>/ThunarWindow/help-menu" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home")
+; (gtk_accel_path "<Actions>/ThunarLauncher/open-with-other-in-menu" "")
+; (gtk_accel_path "<Actions>/ThunarActions/uca-action-1538658921535571-1" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "<Alt>d")
+; (gtk_accel_path "<Actions>/ThunarStandardView/paste" "<Primary>v")
+; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
+; (gtk_accel_path "<Actions>/ThunarLauncher/sendto-desktop" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/close-window" "<Primary>q")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-toolbar" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "")
+; (gtk_accel_path "<Actions>/ThunarLauncher/open-with-other" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>minus")
+; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
+; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/cut" "<Primary>x")
+; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab" "<Primary>Page_Up")
+; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n")
+; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/copy" "<Primary>c")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
+; (gtk_accel_path "<Actions>/ThunarActions/uca-action-1521317741628820-3" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/paste-into-folder" "")
+; (gtk_accel_path "<Actions>/ThunarBookmarks/04700b4e550a2fd9c72db4e1941bfdac" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m")
+; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2")
+; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
+; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right")
+; (gtk_accel_path "<Actions>/ThunarStandardView/restore" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t")
+; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h")
+; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-pathbar" "")
+; (gtk_accel_path "<Actions>/ThunarStandardView/move-to-trash" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>0")
+; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "")
+; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "")
diff --git a/skel/.config/Thunar/uca.xml b/skel/.config/Thunar/uca.xml
new file mode 100644 (file)
index 0000000..316506d
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<actions>
+<action>
+       <icon>utilities-terminal</icon>
+       <name>Open Terminal Here</name>
+       <unique-id>1521317528494802-1</unique-id>
+       <command>exo-open --launch TerminalEmulator %d</command>
+       <description>Open terminal here</description>
+       <patterns>*</patterns>
+       <directories/>
+</action>
+<action>
+       <icon>krusader_root</icon>
+       <name>Open Thunar as ROOT</name>
+       <unique-id>1521317741628820-3</unique-id>
+       <command>gksu thunar </command>
+       <description>Opening Thunar as ROOT</description>
+       <patterns>*</patterns>
+       <directories/>
+</action>
+<action>
+       <icon>edit-bomb</icon>
+       <name>Edit file as ROOT</name>
+       <unique-id>1538658921535571-1</unique-id>
+       <command>xed admin:%f</command>
+       <description>Edit file as ROOT</description>
+       <patterns>*</patterns>
+       <startup-notify/>
+       <text-files/>
+</action>
+<action>
+       <icon>media-flash</icon>
+       <name>Write to USB</name>
+       <unique-id>1570439344294225-1</unique-id>
+       <command>mintstick -m iso -i %f</command>
+       <description>Write selected ISO to USB</description>
+       <patterns>*.iso</patterns>
+       <other-files/>
+</action>
+<action>
+       <icon></icon>
+       <name>Fetch subtitles</name>
+       <unique-id>1581765909225351-1</unique-id>
+       <command>periscope -l en %F &amp;&amp; zenity --info --title &quot;Done&quot; --text &quot;Subtitles downloaded successfully&quot; || zenity --error --title &quot;Error&quot; --text &quot;Subtitles not downloaded successfully&quot;</command>
+       <description>Download subtibles for movie</description>
+       <patterns>*</patterns>
+       <video-files/>
+</action>
+</actions>
diff --git a/skel/.config/conky/Blue-2-Core-CPU.conkyrc b/skel/.config/conky/Blue-2-Core-CPU.conkyrc
new file mode 100644 (file)
index 0000000..ffc34e2
--- /dev/null
@@ -0,0 +1,143 @@
+conky.config = {
+-- https://github.com/altinukshini/conky_blue
+-- Conky settings #
+       background = false,
+       update_interval = 1,
+
+       cpu_avg_samples = 2,
+       net_avg_samples = 2,
+
+       override_utf8_locale = true,
+
+       double_buffer = true,
+       no_buffers = true,
+
+       text_buffer_size = 2048,
+--imlib_cache_size 0
+
+       temperature_unit = 'celcius',
+
+-- Window specifications #
+       own_window = true,
+       own_window_type = 'override',
+       own_window_transparent = true,
+       own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
+
+       border_inner_margin = 0,
+       border_outer_margin = 5,
+
+       minimum_width = 250, minimum_height = 300,
+       maximum_width = 300,
+
+       alignment = 'top_right',
+       gap_x = 10,
+       gap_y = 50,
+
+-- Graphics settings #
+       draw_shades = false,
+       draw_outline = false,
+       draw_borders = false,
+       draw_graph_borders = false,
+
+-- Text settings #
+       use_xft = true,
+       font = ':size=10',
+       xftalpha = 1,
+
+       uppercase = false,
+
+       temperature_unit = 'celsius',
+
+       default_color = '#FFFFFF',
+
+-- Lua Load  #
+       lua_load = '.config/conky/clock/clock02_rings.lua',
+       lua_draw_hook_pre = 'clock_rings',
+
+       own_window_argb_value = 0,
+       own_window_argb_visual = false,
+       own_window_colour = '#000000',
+-- location
+       template0 = 'AARHUS',
+-- ethernet
+       template1 = 'eno1'
+-- wireless
+       template2 = ''
+
+};
+
+conky.text = [[
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Time and date
+#---------------------------------------------------------------------------------------------------------------------
+${voffset 7}${font Radio Space:size=16}${color 0ABFFF}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
+${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color 0ABFFF} ${hr 1}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Battery Circle
+#---------------------------------------------------------------------------------------------------------------------
+${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
+${color 0ABFFF}${goto 202}${voffset 25}Battery
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Weather
+#---------------------------------------------------------------------------------------------------------------------
+${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ${HOME}/.config/conky/accu_weather/weather}$color${font}${font Radio Space:size=11}${color 0ABFFF}${goto 202}${voffset 12}${template0}
+${execi 600 bash ${HOME}/.config/conky/accu_weather/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ${HOME}/.config/conky/accu_weather/weather|awk '{print $NF}'}${font}$color
+${font :size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          CPU usage
+#---------------------------------------------------------------------------------------------------------------------
+${color #0ABFFF}${hr 1}$color
+${color #0ABFFF}${voffset 6}Temp: $color ${acpitemp}°C
+${color #0ABFFF}${voffset 6}Processes:$color $processes
+${color #0ABFFF}${voffset 6}Running: $color  $running_processes${goto 116}${voffset 8}${cpu cpu0}% ${color 0ABFFF}${goto 116}${voffset 13}CPU1$color${goto 191}${voffset -12}${cpu cpu1}% ${color 0ABFFF}${goto 191}${voffset 12}CPU2$color
+${color #0ABFFF}${voffset -12}FREQ:$color ${freq}MHz
+${color #0ABFFF}${voffset 6}Load:$color ${loadavg}
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Network
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}
+${color 0ABFFF}${voffset 5}Hostname $color$alignr$nodename
+${color 0ABFFF}WLAN $color$alignr${addr ${template2}}
+${color 0ABFFF}LAN $color$alignr${addr ${template1}}
+${color 0ABFFF}WAN $color${alignr}${execi 10 ${HOME}/.config/conky/scripts/myip}
+${color 0ABFFF}${alignc}Traffic$color
+${color #0ABFFF}Down $color${downspeed ${template1}} k/s ${alignr}${color #0ABFFF}Up$color ${upspeed ${template1}} k/s
+${downspeedgraph ${template1} 30,120 000000 0ABFFF} ${alignr}${upspeedgraph ${template1} 30,120 000000 0ABFFF}$color
+${color #0ABFFF}Total$color ${totaldown ${template1}} ${alignr}${color #0ABFFF}Total:$color ${totalup ${template1}}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          DISK/RAM/SWAP usage
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}
+${color FFFFFF}${goto 7}${voffset 39}${fs_used_perc /}%
+${color 0ABFFF}${goto 7}DISK
+${color FFFFFF}${goto 102}${voffset -27}${memperc}%
+${color 0ABFFF}${goto 10 2}RAM
+${color FFFFFF}${goto 192}${voffset -26}${swapperc}%
+${color 0ABFFF}${goto 191}SWAP
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Running processes
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2} ${hr 1}
+${color #0ABFFF}${voffset 5}NAME${goto 122}PID${goto 163}CPU%${goto 210}MEM%$color${voffset 5}
+${top name 1}${goto 115}${top pid 1}${goto 160}${top cpu 1}${goto 205}${top mem 1}
+${top name 2}${goto 115}${top pid 2}${goto 160}${top cpu 2}${goto 205}${top mem 2}
+${top name 3}${goto 115}${top pid 3}${goto 160}${top cpu 3}${goto 205}${top mem 3}
+${top name 5}${goto 115}${top pid 5}${goto 160}${top cpu 5}${goto 205}${top mem 5}
+${top name 6}${goto 115}${top pid 6}${goto 160}${top cpu 6}${goto 205}${top mem 6}
+${top name 7}${goto 115}${top pid 7}${goto 160}${top cpu 7}${goto 205}${top mem 7}
+${top name 8}${goto 115}${top pid 8}${goto 160}${top cpu 8}${goto 205}${top mem 8}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Computer info
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}${voffset 5}
+${color 0ABFFF}Hostname:$color${alignr}${nodename}
+${color 0ABFFF}OS:$color${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"} $machine
+${color 0ABFFF}Kernel:$color${alignr}${kernel}$color
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Logging
+#---------------------------------------------------------------------------------------------------------------------
+#${color 0ABFFF}${voffset 2}${hr 1}$color
+#${color 0ABFFF}${alignc}SYSLOG:$color
+#${color 0ABFFF}${voffset -5}${hr 1}$color
+#${voffset 5}${execi 10 tail -n6 /var/log/syslog | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w40}
+]];
diff --git a/skel/.config/conky/Blue-4-Core-CPU.conkyrc b/skel/.config/conky/Blue-4-Core-CPU.conkyrc
new file mode 100644 (file)
index 0000000..ac6539e
--- /dev/null
@@ -0,0 +1,144 @@
+conky.config = {
+-- https://github.com/altinukshini/conky_blue
+-- Conky settings #
+       background = false,
+       update_interval = 1,
+
+       cpu_avg_samples = 2,
+       net_avg_samples = 2,
+
+       override_utf8_locale = true,
+
+       double_buffer = true,
+       no_buffers = true,
+
+       text_buffer_size = 2048,
+--imlib_cache_size 0
+
+       temperature_unit = 'celcius',
+
+-- Window specifications #
+       own_window = true,
+       own_window_type = 'override',
+       own_window_transparent = true,
+       own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
+
+       border_inner_margin = 0,
+       border_outer_margin = 5,
+
+       minimum_width = 250, minimum_height = 300,
+       maximum_width = 300,
+
+       alignment = 'top_right',
+       gap_x = 10,
+       gap_y = 50,
+
+-- Graphics settings #
+       draw_shades = false,
+       draw_outline = false,
+       draw_borders = false,
+       draw_graph_borders = false,
+
+-- Text settings #
+       use_xft = true,
+       font = ':size=10',
+       xftalpha = 1,
+
+       uppercase = false,
+
+       temperature_unit = 'celsius',
+
+       default_color = '#FFFFFF',
+
+-- Lua Load  #
+       lua_load = '.config/conky/clock/clock04_rings.lua',
+       lua_draw_hook_pre = 'clock_rings',
+
+       own_window_argb_value = 0,
+       own_window_argb_visual = false,
+       own_window_colour = '#000000',
+-- location
+       template0 = 'AARHUS',
+-- ethernet
+       template1 = 'eno1',
+-- wireless
+       template2 = ''
+};
+
+conky.text = [[
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Time and date
+#---------------------------------------------------------------------------------------------------------------------
+${voffset 7}${font Radio Space:size=16}${color 0ABFFF}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
+${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color 0ABFFF} ${hr 1}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Battery Circle
+#---------------------------------------------------------------------------------------------------------------------
+${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
+${color 0ABFFF}${goto 202}${voffset 25}Battery
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Weather
+#---------------------------------------------------------------------------------------------------------------------
+${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ${HOME}/.config/conky/accu_weather/weather}$color${font}${font Radio Space:size=11}${color 0ABFFF}${goto 202}${voffset 12}${template0}
+${execi 600 bash ${HOME}/.config/conky/accu_weather/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ${HOME}/.config/conky/accu_weather/weather|awk '{print $NF}'}${font}$color
+${font :size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          CPU usage
+#---------------------------------------------------------------------------------------------------------------------
+${color #0ABFFF}${hr 1}$color
+${goto 9}${voffset 38}${cpu cpu0}% ${color 0ABFFF}${goto 9}${voffset 12}CPU0 $color
+${goto 70}${voffset -25}${cpu cpu1}% ${color 0ABFFF}${goto 70}${voffset 12}CPU1 $color
+${goto 130}${voffset -25}${cpu cpu2}% ${color 0ABFFF}${goto 130}${voffset 12}CPU2 $color
+${goto 190}${voffset -25}${cpu cpu3}% ${color 0ABFFF}${goto 190}${voffset 12}CPU3 $color
+${voffset 10}${color #0ABFFF}Temp: $color ${acpitemp}°C  ${goto 150}${color #0ABFFF}Freq:$color ${freq}MHz
+${color #0ABFFF}Processes:$color $processes ${goto 150}${color #0ABFFF}Running proc: $color  $running_processes
+${color #0ABFFF}Load:$color ${loadavg}
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Network
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}
+${color 0ABFFF}${voffset 5}Hostname $color$alignr$nodename
+${color 0ABFFF}WLAN $color$alignr${addr ${template2}}
+${color 0ABFFF}LAN $color$alignr${addr ${template1}}
+${color 0ABFFF}WAN $color${alignr}${execi 10 ${HOME}/.config/conky/scripts/myip}
+${color 0ABFFF}${alignc}Traffic$color
+${color #0ABFFF}Down $color${downspeed ${template1}} k/s ${alignr}${color #0ABFFF}Up$color ${upspeed ${template1}} k/s
+${downspeedgraph ${template1} 30,120 000000 0ABFFF} ${alignr}${upspeedgraph ${template1} 30,120 000000 0ABFFF}$color
+${color #0ABFFF}Total$color ${totaldown ${template1}} ${alignr}${color #0ABFFF}Total:$color ${totalup ${template1}}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          DISK/RAM/SWAP usage
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}
+${color FFFFFF}${goto 7}${voffset 39}${fs_used_perc /}%
+${color 0ABFFF}${goto 7}DISK
+${color FFFFFF}${goto 102}${voffset -27}${memperc}%
+${color 0ABFFF}${goto 102}RAM
+${color FFFFFF}${goto 192}${voffset -26}${swapperc}%
+${color 0ABFFF}${goto 191}SWAP
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Running processes
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2} ${hr 1}
+${color #0ABFFF}${voffset 5}NAME${goto 122}PID${goto 163}CPU%${goto 210}MEM%$color${voffset 5}
+${top name 1}${goto 115}${top pid 1}${goto 160}${top cpu 1}${goto 205}${top mem 1}
+${top name 2}${goto 115}${top pid 2}${goto 160}${top cpu 2}${goto 205}${top mem 2}
+${top name 3}${goto 115}${top pid 3}${goto 160}${top cpu 3}${goto 205}${top mem 3}
+${top name 5}${goto 115}${top pid 5}${goto 160}${top cpu 5}${goto 205}${top mem 5}
+${top name 6}${goto 115}${top pid 6}${goto 160}${top cpu 6}${goto 205}${top mem 6}
+${top name 7}${goto 115}${top pid 7}${goto 160}${top cpu 7}${goto 205}${top mem 7}
+${top name 8}${goto 115}${top pid 8}${goto 160}${top cpu 8}${goto 205}${top mem 8}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Computer info
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}${voffset 5}
+${color 0ABFFF}Hostname:$color${alignr}${nodename}
+${color 0ABFFF}OS:$color${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"} $machine
+${color 0ABFFF}Kernel:$color${alignr}${kernel}$color
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Logging
+#---------------------------------------------------------------------------------------------------------------------
+#${color 0ABFFF}${voffset 2}${hr 1}$color
+#${color 0ABFFF}${alignc}Last journal message:$color
+#${color 0ABFFF}${voffset -5}${hr 1}$color
+#${voffset 5}${execi 10 journalctl -n 1 -o cat -p info --no-pager --no-full | fold -w40}
+]];
diff --git a/skel/.config/conky/Blue-8-Core-CPU.conkyrc b/skel/.config/conky/Blue-8-Core-CPU.conkyrc
new file mode 100644 (file)
index 0000000..00b5f6a
--- /dev/null
@@ -0,0 +1,148 @@
+conky.config = {
+-- https://github.com/altinukshini/conky_blue
+-- Conky settings #
+       background = false,
+       update_interval = 1,
+
+       cpu_avg_samples = 2,
+       net_avg_samples = 2,
+
+       override_utf8_locale = true,
+
+       double_buffer = true,
+       no_buffers = true,
+
+       text_buffer_size = 2048,
+--imlib_cache_size 0
+
+       temperature_unit = 'celcius',
+
+-- Window specifications #
+       own_window = true,
+       own_window_type = 'override',
+       own_window_transparent = true,
+       own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
+
+       border_inner_margin = 0,
+       border_outer_margin = 5,
+
+       minimum_width = 250, minimum_height = 300,
+       maximum_width = 300,
+
+       alignment = 'top_right',
+       gap_x = 10,
+       gap_y = 50,
+
+-- Graphics settings #
+       draw_shades = false,
+       draw_outline = false,
+       draw_borders = false,
+       draw_graph_borders = false,
+
+-- Text settings #
+       use_xft = true,
+       font = ':size=10',
+       xftalpha = 1,
+
+       uppercase = false,
+
+       temperature_unit = 'celsius',
+
+       default_color = '#FFFFFF',
+
+-- Lua Load  #
+       lua_load = '.config/conky/clock/pacbang-clock04_rings.lua',
+       lua_draw_hook_pre = 'clock_rings',
+
+       own_window_argb_value = 0,
+       own_window_argb_visual = false,
+       own_window_colour = '#000000',
+-- location
+       template0 = 'AARHUS',
+-- ethernet
+       template1 = 'eno1',
+-- wireless
+       template2 = ''
+};
+
+conky.text = [[
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Time and date
+#---------------------------------------------------------------------------------------------------------------------
+${voffset 7}${font Radio Space:size=16}${color 0ABFFF}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
+${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color 0ABFFF} ${hr 1}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Battery Circle
+#---------------------------------------------------------------------------------------------------------------------
+${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
+${color 0ABFFF}${goto 202}${voffset 25}Battery
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Weather
+#---------------------------------------------------------------------------------------------------------------------
+${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ${HOME}/.config/conky/accu_weather/weather}$color${font}${font Radio Space:size=11}${color 0ABFFF}${goto 202}${voffset 12}${template0}
+${execi 600 bash ${HOME}/.config/conky/accu_weather/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ${HOME}/.config/conky/accu_weather/weather|awk '{print $NF}'}${font}$color
+${font :size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          CPU usage
+#---------------------------------------------------------------------------------------------------------------------
+${color #0ABFFF}${hr 1}$color
+${goto 9}${voffset 35}${cpu cpu0}% ${color 0ABFFF}${goto 9}${voffset 12}CPU0 $color
+${goto 70}${voffset -25}${cpu cpu1}% ${color 0ABFFF}${goto 70}${voffset 12}CPU1 $color
+${goto 130}${voffset -25}${cpu cpu2}% ${color 0ABFFF}${goto 130}${voffset 12}CPU2 $color
+${goto 190}${voffset -25}${cpu cpu3}% ${color 0ABFFF}${goto 190}${voffset 12}CPU3 $color
+${goto 9}${voffset 37}${cpu cpu4}% ${color 0ABFFF}${goto 9}${voffset 12}CPU4 $color
+${goto 70}${voffset -25}${cpu cpu5}% ${color 0ABFFF}${goto 70}${voffset 12}CPU5 $color
+${goto 130}${voffset -25}${cpu cpu6}% ${color 0ABFFF}${goto 130}${voffset 12}CPU6 $color
+${goto 190}${voffset -25}${cpu cpu7}% ${color 0ABFFF}${goto 190}${voffset 12}CPU7 $color
+${voffset 10}${color #0ABFFF}Temp: $color ${acpitemp}°C  ${goto 150}${color #0ABFFF}Freq:$color ${freq}MHz
+${color #0ABFFF}Processes:$color $processes ${goto 150}${color #0ABFFF}Running proc: $color  $running_processes
+${color #0ABFFF}Load:$color ${loadavg}
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Network
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}
+${color 0ABFFF}${voffset 5}Hostname $color$alignr$nodename
+${color 0ABFFF}WLAN $color$alignr${addr ${template2}}
+${color 0ABFFF}LAN $color$alignr${addr ${template1}}
+${color 0ABFFF}WAN $color${alignr}${execi 10 ${HOME}/.config/conky/scripts/myip}
+${color 0ABFFF}${alignc}Traffic$color
+${color #0ABFFF}Down $color${downspeed ${template1}} k/s ${alignr}${color #0ABFFF}Up$color ${upspeed ${template1}} k/s
+${downspeedgraph ${template1} 30,120 000000 0ABFFF} ${alignr}${upspeedgraph ${template1} 30,120 000000 0ABFFF}$color
+${color #0ABFFF}Total$color ${totaldown ${template1}} ${alignr}${color #0ABFFF}Total:$color ${totalup ${template1}}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          DISK/RAM/SWAP usage
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}
+${color FFFFFF}${goto 7}${voffset 39}${fs_used_perc /}%
+${color 0ABFFF}${goto 7}DISK
+${color FFFFFF}${goto 102}${voffset -27}${memperc}%
+${color 0ABFFF}${goto 102}RAM
+${color FFFFFF}${goto 192}${voffset -26}${swapperc}%
+${color 0ABFFF}${goto 191}SWAP
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Running processes
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2} ${hr 1}
+${color #0ABFFF}${voffset 5}NAME${goto 122}PID${goto 163}CPU%${goto 210}MEM%$color${voffset 5}
+${top name 1}${goto 115}${top pid 1}${goto 160}${top cpu 1}${goto 205}${top mem 1}
+${top name 2}${goto 115}${top pid 2}${goto 160}${top cpu 2}${goto 205}${top mem 2}
+${top name 3}${goto 115}${top pid 3}${goto 160}${top cpu 3}${goto 205}${top mem 3}
+${top name 5}${goto 115}${top pid 5}${goto 160}${top cpu 5}${goto 205}${top mem 5}
+${top name 6}${goto 115}${top pid 6}${goto 160}${top cpu 6}${goto 205}${top mem 6}
+${top name 7}${goto 115}${top pid 7}${goto 160}${top cpu 7}${goto 205}${top mem 7}
+${top name 8}${goto 115}${top pid 8}${goto 160}${top cpu 8}${goto 205}${top mem 8}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Computer info
+#---------------------------------------------------------------------------------------------------------------------
+${color 0ABFFF}${voffset 2}${hr 1}${voffset 5}
+${color 0ABFFF}Hostname:$color${alignr}${nodename}
+${color 0ABFFF}OS:$color${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"} $machine
+${color 0ABFFF}Kernel:$color${alignr}${kernel}$color
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Logging
+#---------------------------------------------------------------------------------------------------------------------
+#${color 0ABFFF}${voffset 2}${hr 1}$color
+#${color 0ABFFF}${alignc}SYSLOG:$color
+#${color 0ABFFF}${voffset -5}${hr 1}$color
+#${voffset 5}${execi 10 tail -n6 /var/log/syslog | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w40}
+]];
diff --git a/skel/.config/conky/Openbox-Dark-Green.conkyrc b/skel/.config/conky/Openbox-Dark-Green.conkyrc
new file mode 100644 (file)
index 0000000..2092b12
--- /dev/null
@@ -0,0 +1,55 @@
+conky.config = {
+       alignment = 'top_right',
+       background = true,
+       color2 = '104D50',
+       cpu_avg_samples = 2,
+       default_color = '104D50',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S Y S T E M    I N F O
+${hr}
+Host:${alignr}${nodename}
+Uptime:${alignr}${uptime}
+UTC:${alignr}${utime %H:%M}
+
+${goto 60}Used${alignr}Size
+Root${goto 60}${fs_used /}${alignr}${fs_size /}
+Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
+
+${goto 60}MEM${alignr}MAX
+RAM${goto 60}${mem}${alignr}${memmax}
+Swap${goto 60}${swap}${alignr}${swapmax}
+
+CPU:${goto 60}Used${alignr}GHz
+Avg${goto 60}${cpu cpu0}%${alignr}${freq_g}
+
+${alignc}S H O R T C U T    K E Y S
+${hr}
+[PrtSc]${alignr}Screenshot
+[Super] + Space${alignr}Openbox Menu
+[Alt] + Space${alignr}Window Menu
+[Alt] + F1${alignr}JG Launcher
+[Alt] + F2${alignr}Rofi Launcher
+[Super] + t${alignr}Terminal
+[Super] + e${alignr}Text Editor
+[Super] + f${alignr}File Manager
+[Super] + m${alignr}Music Player
+[Super] + w${alignr}Web Browser
+[Super] + v${alignr}Audio Control
+[Super] + s${alignr}Window Switcher
+[Ctrl] + [Alt] + L${alignr}Lock
+[Ctrl] + [Alt] + [Delete]${alignr}Logout
+]];
diff --git a/skel/.config/conky/Openbox-Default-essential-keys.conkyrc b/skel/.config/conky/Openbox-Default-essential-keys.conkyrc
new file mode 100644 (file)
index 0000000..2c96640
--- /dev/null
@@ -0,0 +1,38 @@
+conky.config = {
+       alignment = 'bottom_left',
+       background = true,
+       color2 = 'e0e2e3',
+       cpu_avg_samples = 2,
+       default_color = 'e0e2e3',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S H O R T C U T    K E Y S
+${hr}
+[PrtSc]${alignr}Screenshot
+[Super] + Space${alignr}Openbox Menu
+[Alt] + Space${alignr}Window Menu
+[Alt] + F1${alignr}JG Launcher
+[Alt] + F2${alignr}Rofi Launcher
+[Super] + t${alignr}Terminal
+[Super] + e${alignr}Text Editor
+[Super] + f${alignr}File Manager
+[Super] + m${alignr}Music Player
+[Super] + w${alignr}Web Browser
+[Super] + v${alignr}Audio Control
+[Super] + s${alignr}Window Switcher
+[Ctrl] + [Alt] + L${alignr}Lock
+[Ctrl] + [Alt] + [Delete]${alignr}Logout
+]];
diff --git a/skel/.config/conky/Openbox-Default-sysinfo.conkyrc b/skel/.config/conky/Openbox-Default-sysinfo.conkyrc
new file mode 100644 (file)
index 0000000..f5746fa
--- /dev/null
@@ -0,0 +1,38 @@
+conky.config = {
+       alignment = 'top_right',
+       background = true,
+       color2 = 'e0e2e3',
+       cpu_avg_samples = 2,
+       default_color = 'e0e2e3',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S Y S T E M    I N F O
+${hr}
+Host:${alignr}${nodename}
+Uptime:${alignr}${uptime}
+UTC:${alignr}${utime %H:%M}
+
+${goto 60}Used${alignr}Size
+Root${goto 60}${fs_used /}${alignr}${fs_size /}
+Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
+
+${goto 60}MEM${alignr}MAX
+RAM${goto 60}${mem}${alignr}${memmax}
+Swap${goto 60}${swap}${alignr}${swapmax}
+
+CPU:${goto 60}Used${alignr}GHz
+Avg${goto 60}${cpu cpu0}%${alignr}${freq_g}
+]];
diff --git a/skel/.config/conky/Openbox-Golden-essential-keys.conkyrc b/skel/.config/conky/Openbox-Golden-essential-keys.conkyrc
new file mode 100644 (file)
index 0000000..b8db626
--- /dev/null
@@ -0,0 +1,38 @@
+conky.config = {
+       alignment = 'bottom_right',
+       background = true,
+       color2 = '8B8673',
+       cpu_avg_samples = 2,
+       default_color = '8B8673',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S H O R T C U T    K E Y S
+${hr}
+[PrtSc]${alignr}Screenshot
+[Super] + Space${alignr}Openbox Menu
+[Alt] + Space${alignr}Window Menu
+[Alt] + F1${alignr}JG Launcher
+[Alt] + F2${alignr}Rofi Launcher
+[Super] + t${alignr}Terminal
+[Super] + e${alignr}Text Editor
+[Super] + f${alignr}File Manager
+[Super] + m${alignr}Music Player
+[Super] + w${alignr}Web Browser
+[Super] + v${alignr}Audio Control
+[Super] + s${alignr}Window Switcher
+[Ctrl] + [Alt] + L${alignr}Lock
+[Ctrl] + [Alt] + [Delete]${alignr}Logout
+]];
diff --git a/skel/.config/conky/Openbox-Golden-sysinfo.conkyrc b/skel/.config/conky/Openbox-Golden-sysinfo.conkyrc
new file mode 100644 (file)
index 0000000..6e4e661
--- /dev/null
@@ -0,0 +1,38 @@
+conky.config = {
+       alignment = 'top_right',
+       background = true,
+       color2 = '8B8673',
+       cpu_avg_samples = 2,
+       default_color = '8B8673',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S Y S T E M    I N F O
+${hr}
+Host:${alignr}${nodename}
+Uptime:${alignr}${uptime}
+UTC:${alignr}${utime %H:%M}
+
+${goto 60}Used${alignr}Size
+Root${goto 60}${fs_used /}${alignr}${fs_size /}
+Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
+
+${goto 60}MEM${alignr}MAX
+RAM${goto 60}${mem}${alignr}${memmax}
+Swap${goto 60}${swap}${alignr}${swapmax}
+
+CPU:${goto 60}Used${alignr}GHz
+Avg${goto 60}${cpu cpu0}%${alignr}${freq_g}
+]];
diff --git a/skel/.config/conky/Openbox-Light-Blue.conkyrc b/skel/.config/conky/Openbox-Light-Blue.conkyrc
new file mode 100644 (file)
index 0000000..c45bda4
--- /dev/null
@@ -0,0 +1,55 @@
+conky.config = {
+       alignment = 'top_right',
+       background = true,
+       color2 = '62808e',
+       cpu_avg_samples = 2,
+       default_color = '62808e',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 50,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 1.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S Y S T E M    I N F O
+${hr}
+Host:${alignr}${nodename}
+Uptime:${alignr}${uptime}
+UTC:${alignr}${utime %H:%M}
+
+${goto 60}Used${alignr}Size
+Root${goto 60}${fs_used /}${alignr}${fs_size /}
+Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
+
+${goto 60}MEM${alignr}MAX
+RAM${goto 60}${mem}${alignr}${memmax}
+Swap${goto 60}${swap}${alignr}${swapmax}
+
+CPU:${goto 60}Used${alignr}GHz
+Avg${goto 60}${cpu cpu0}%${alignr}${freq_g}
+
+${alignc}S H O R T C U T    K E Y S
+${hr}
+[PrtSc]${alignr}Screenshot
+[Super] + Space${alignr}Openbox Menu
+[Alt] + Space${alignr}Window Menu
+[Alt] + F1${alignr}JG Launcher
+[Alt] + F2${alignr}Rofi Launcher
+[Super] + t${alignr}Terminal
+[Super] + e${alignr}Text Editor
+[Super] + f${alignr}File Manager
+[Super] + m${alignr}Music Player
+[Super] + w${alignr}Web Browser
+[Super] + v${alignr}Audio Control
+[Super] + s${alignr}Window Switcher
+[Ctrl] + [Alt] + L${alignr}Lock
+[Ctrl] + [Alt] + [Delete]${alignr}Logout
+]];
diff --git a/skel/.config/conky/Openbox-Matrix-essential-keys.conkyrc b/skel/.config/conky/Openbox-Matrix-essential-keys.conkyrc
new file mode 100644 (file)
index 0000000..abe22a7
--- /dev/null
@@ -0,0 +1,38 @@
+conky.config = {
+       alignment = 'bottom_right',
+       background = true,
+       color2 = 'cbe9cd',
+       cpu_avg_samples = 2,
+       default_color = 'cbe9cd',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S H O R T C U T    K E Y S
+${hr}
+[PrtSc]${alignr}Screenshot
+[Super] + Space${alignr}Openbox Menu
+[Alt] + Space${alignr}Window Menu
+[Alt] + F1${alignr}JG Launcher
+[Alt] + F2${alignr}Rofi Launcher
+[Super] + t${alignr}Terminal
+[Super] + e${alignr}Text Editor
+[Super] + f${alignr}File Manager
+[Super] + m${alignr}Music Player
+[Super] + w${alignr}Web Browser
+[Super] + v${alignr}Audio Control
+[Super] + s${alignr}Window Switcher
+[Ctrl] + [Alt] + L${alignr}Lock
+[Ctrl] + [Alt] + [Delete]${alignr}Logout
+]];
diff --git a/skel/.config/conky/Openbox-Matrix-sysinfo.conkyrc b/skel/.config/conky/Openbox-Matrix-sysinfo.conkyrc
new file mode 100644 (file)
index 0000000..0d45947
--- /dev/null
@@ -0,0 +1,38 @@
+conky.config = {
+       alignment = 'top_right',
+       background = true,
+       color2 = 'cbe9cd',
+       cpu_avg_samples = 2,
+       default_color = 'cbe9cd',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S Y S T E M    I N F O
+${hr}
+Host:${alignr}${nodename}
+Uptime:${alignr}${uptime}
+UTC:${alignr}${utime %H:%M}
+
+${goto 60}Used${alignr}Size
+Root${goto 60}${fs_used /}${alignr}${fs_size /}
+Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
+
+${goto 60}MEM${alignr}MAX
+RAM${goto 60}${mem}${alignr}${memmax}
+Swap${goto 60}${swap}${alignr}${swapmax}
+
+CPU:${goto 60}Used${alignr}GHz
+Avg${goto 60}${cpu cpu0}%${alignr}${freq_g}
+]];
diff --git a/skel/.config/conky/Openbox-White.conkyrc b/skel/.config/conky/Openbox-White.conkyrc
new file mode 100644 (file)
index 0000000..45b35ef
--- /dev/null
@@ -0,0 +1,55 @@
+conky.config = {
+       alignment = 'top_right',
+       background = true,
+       color2 = 'e0e2e3',
+       cpu_avg_samples = 2,
+       default_color = 'e0e2e3',
+       double_buffer = true,
+       font = 'DejaVu Sans Mono Boot:size=10',
+       draw_shades = false,
+       gap_x = 25,
+       gap_y = 45,
+       minimum_width = 250,
+       no_buffers = true,
+       own_window = true,
+       own_window_class = "Conky",
+       own_window_type = 'desktop',
+       own_window_transparent = true,
+       update_interval = 2.0,
+       use_xft = true,
+}
+conky.text = [[
+${alignc}S Y S T E M    I N F O
+${hr}
+Host:${alignr}${nodename}
+Uptime:${alignr}${uptime}
+UTC:${alignr}${utime %H:%M}
+
+${goto 60}Used${alignr}Size
+Root${goto 60}${fs_used /}${alignr}${fs_size /}
+Home${goto 60}${fs_used /home}${alignr}${fs_size /home}
+
+${goto 60}MEM${alignr}MAX
+RAM${goto 60}${mem}${alignr}${memmax}
+Swap${goto 60}${swap}${alignr}${swapmax}
+
+CPU:${goto 60}Used${alignr}GHz
+Avg${goto 60}${cpu cpu0}%${alignr}${freq_g}
+
+${alignc}S H O R T C U T    K E Y S
+${hr}
+[PrtSc]${alignr}Screenshot
+[Super] + Space${alignr}Openbox Menu
+[Alt] + Space${alignr}Window Menu
+[Alt] + F1${alignr}JG Launcher
+[Alt] + F2${alignr}Rofi Launcher
+[Super] + t${alignr}Terminal
+[Super] + e${alignr}Text Editor
+[Super] + f${alignr}File Manager
+[Super] + m${alignr}Music Player
+[Super] + w${alignr}Web Browser
+[Super] + v${alignr}Audio Control
+[Super] + s${alignr}Window Switcher
+[Ctrl] + [Alt] + L${alignr}Lock
+[Ctrl] + [Alt] + [Delete]${alignr}Logout
+]];
diff --git a/skel/.config/conky/PacBang-2-Core-CPU.conkyrc b/skel/.config/conky/PacBang-2-Core-CPU.conkyrc
new file mode 100644 (file)
index 0000000..e0e6c9e
--- /dev/null
@@ -0,0 +1,143 @@
+conky.config = {
+-- https://github.com/altinukshini/conky_blue
+-- Conky settings #
+       background = false,
+       update_interval = 1,
+
+       cpu_avg_samples = 2,
+       net_avg_samples = 2,
+
+       override_utf8_locale = true,
+
+       double_buffer = true,
+       no_buffers = true,
+
+       text_buffer_size = 2048,
+--imlib_cache_size 0
+
+       temperature_unit = 'celcius',
+
+-- Window specifications #
+       own_window = true,
+       own_window_type = 'override',
+       own_window_transparent = true,
+       own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
+
+       border_inner_margin = 0,
+       border_outer_margin = 5,
+
+       minimum_width = 250, minimum_height = 300,
+       maximum_width = 300,
+
+       alignment = 'top_right',
+       gap_x = 10,
+       gap_y = 50,
+
+-- Graphics settings #
+       draw_shades = false,
+       draw_outline = false,
+       draw_borders = false,
+       draw_graph_borders = false,
+
+-- Text settings #
+       use_xft = true,
+       font = ':size=10',
+       xftalpha = 1,
+
+       uppercase = false,
+
+       temperature_unit = 'celsius',
+
+       default_color = '#FFFFFF',
+
+-- Lua Load  #
+       lua_load = '.config/conky/clock/pacbang-clock02_rings.lua',
+       lua_draw_hook_pre = 'clock_rings',
+
+       own_window_argb_value = 0,
+       own_window_argb_visual = false,
+       own_window_colour = '#000000',
+-- location
+       template0 = 'AARHUS',
+-- ethernet
+       template1 = 'eno1'
+-- wireless
+       template2 = ''
+
+};
+
+conky.text = [[
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Time and date
+#---------------------------------------------------------------------------------------------------------------------
+${voffset 7}${font Radio Space:size=16}${color B90004}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
+${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color B90004} ${hr 1}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Battery Circle
+#---------------------------------------------------------------------------------------------------------------------
+${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
+${color B90004}${goto 202}${voffset 25}Battery
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Weather
+#---------------------------------------------------------------------------------------------------------------------
+${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ${HOME}/.config/conky/accu_weather/weather}$color${font}${font Radio Space:size=11}${color B90004}${goto 202}${voffset 12}${template0}
+${execi 600 bash ${HOME}/.config/conky/accu_weather/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ${HOME}/.config/conky/accu_weather/weather|awk '{print $NF}'}${font}$color
+${font :size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          CPU usage
+#---------------------------------------------------------------------------------------------------------------------
+${color #B90004}${hr 1}$color
+${color #B90004}${voffset 6}Temp: $color ${acpitemp}°C
+${color #B90004}${voffset 6}Processes:$color $processes
+${color #B90004}${voffset 6}Running: $color  $running_processes${goto 116}${voffset 8}${cpu cpu0}% ${color B90004}${goto 116}${voffset 13}CPU1$color${goto 191}${voffset -12}${cpu cpu1}% ${color B90004}${goto 191}${voffset 12}CPU2$color
+${color #B90004}${voffset -12}FREQ:$color ${freq}MHz
+${color #B90004}${voffset 6}Load:$color ${loadavg}
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Network
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}
+${color B90004}${voffset 5}Hostname $color$alignr$nodename
+${color B90004}WLAN $color$alignr${addr ${template2}}
+${color B90004}LAN $color$alignr${addr ${template1}}
+${color B90004}WAN $color${alignr}${execi 10 ${HOME}/.config/conky/scripts/myip}
+${color B90004}${alignc}Traffic$color
+${color #B90004}Down $color${downspeed ${template1}} k/s ${alignr}${color #B90004}Up$color ${upspeed ${template1}} k/s
+${downspeedgraph ${template1} 30,120 000000 B90004} ${alignr}${upspeedgraph ${template1} 30,120 000000 B90004}$color
+${color #B90004}Total$color ${totaldown ${template1}} ${alignr}${color #B90004}Total:$color ${totalup ${template1}}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          DISK/RAM/SWAP usage
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}
+${color FFFFFF}${goto 7}${voffset 39}${fs_used_perc /}%
+${color B90004}${goto 7}DISK
+${color FFFFFF}${goto 102}${voffset -27}${memperc}%
+${color B90004}${goto 10 2}RAM
+${color FFFFFF}${goto 192}${voffset -26}${swapperc}%
+${color B90004}${goto 191}SWAP
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Running processes
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2} ${hr 1}
+${color #B90004}${voffset 5}NAME${goto 122}PID${goto 163}CPU%${goto 210}MEM%$color${voffset 5}
+${top name 1}${goto 115}${top pid 1}${goto 160}${top cpu 1}${goto 205}${top mem 1}
+${top name 2}${goto 115}${top pid 2}${goto 160}${top cpu 2}${goto 205}${top mem 2}
+${top name 3}${goto 115}${top pid 3}${goto 160}${top cpu 3}${goto 205}${top mem 3}
+${top name 5}${goto 115}${top pid 5}${goto 160}${top cpu 5}${goto 205}${top mem 5}
+${top name 6}${goto 115}${top pid 6}${goto 160}${top cpu 6}${goto 205}${top mem 6}
+${top name 7}${goto 115}${top pid 7}${goto 160}${top cpu 7}${goto 205}${top mem 7}
+${top name 8}${goto 115}${top pid 8}${goto 160}${top cpu 8}${goto 205}${top mem 8}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Computer info
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}${voffset 5}
+${color B90004}Hostname:$color${alignr}${nodename}
+${color B90004}OS:$color${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"} $machine
+${color B90004}Kernel:$color${alignr}${kernel}$color
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Logging
+#---------------------------------------------------------------------------------------------------------------------
+#${color B90004}${voffset 2}${hr 1}$color
+#${color B90004}${alignc}SYSLOG:$color
+#${color B90004}${voffset -5}${hr 1}$color
+#${voffset 5}${execi 10 tail -n6 /var/log/syslog | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w40}
+]];
diff --git a/skel/.config/conky/PacBang-4-Core-CPU.conkyrc b/skel/.config/conky/PacBang-4-Core-CPU.conkyrc
new file mode 100644 (file)
index 0000000..85490b1
--- /dev/null
@@ -0,0 +1,144 @@
+conky.config = {
+-- https://github.com/altinukshini/conky_blue
+-- Conky settings #
+       background = false,
+       update_interval = 1,
+
+       cpu_avg_samples = 2,
+       net_avg_samples = 2,
+
+       override_utf8_locale = true,
+
+       double_buffer = true,
+       no_buffers = true,
+
+       text_buffer_size = 2048,
+--imlib_cache_size 0
+
+       temperature_unit = 'celcius',
+
+-- Window specifications #
+       own_window = true,
+       own_window_type = 'override',
+       own_window_transparent = true,
+       own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
+
+       border_inner_margin = 0,
+       border_outer_margin = 5,
+
+       minimum_width = 250, minimum_height = 300,
+       maximum_width = 300,
+
+       alignment = 'top_right',
+       gap_x = 10,
+       gap_y = 50,
+
+-- Graphics settings #
+       draw_shades = false,
+       draw_outline = false,
+       draw_borders = false,
+       draw_graph_borders = false,
+
+-- Text settings #
+       use_xft = true,
+       font = ':size=10',
+       xftalpha = 1,
+
+       uppercase = false,
+
+       temperature_unit = 'celsius',
+
+       default_color = '#FFFFFF',
+
+-- Lua Load  #
+       lua_load = '.config/conky/clock/pacbang-clock04_rings.lua',
+       lua_draw_hook_pre = 'clock_rings',
+
+       own_window_argb_value = 0,
+       own_window_argb_visual = false,
+       own_window_colour = '#000000',
+-- location
+       template0 = 'AARHUS',
+-- ethernet
+       template1 = 'eno1',
+-- wireless
+       template2 = ''
+};
+
+conky.text = [[
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Time and date
+#---------------------------------------------------------------------------------------------------------------------
+${voffset 7}${font Radio Space:size=16}${color B90004}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
+${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color B90004} ${hr 1}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Battery Circle
+#---------------------------------------------------------------------------------------------------------------------
+${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
+${color B90004}${goto 202}${voffset 25}Battery
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Weather
+#---------------------------------------------------------------------------------------------------------------------
+${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ${HOME}/.config/conky/accu_weather/weather}$color${font}${font Radio Space:size=11}${color B90004}${goto 202}${voffset 12}${template0}
+${execi 600 bash ${HOME}/.config/conky/accu_weather/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ${HOME}/.config/conky/accu_weather/weather|awk '{print $NF}'}${font}$color
+${font :size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          CPU usage
+#---------------------------------------------------------------------------------------------------------------------
+${color #B90004}${hr 1}$color
+${goto 9}${voffset 38}${cpu cpu0}% ${color B90004}${goto 9}${voffset 12}CPU0 $color
+${goto 70}${voffset -25}${cpu cpu1}% ${color B90004}${goto 70}${voffset 12}CPU1 $color
+${goto 130}${voffset -25}${cpu cpu2}% ${color B90004}${goto 130}${voffset 12}CPU2 $color
+${goto 190}${voffset -25}${cpu cpu3}% ${color B90004}${goto 190}${voffset 12}CPU3 $color
+${voffset 10}${color #B90004}Temp: $color ${acpitemp}°C  ${goto 150}${color #B90004}Freq:$color ${freq}MHz
+${color #B90004}Processes:$color $processes ${goto 150}${color #B90004}Running proc: $color  $running_processes
+${color #B90004}Load:$color ${loadavg}
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Network
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}
+${color B90004}${voffset 5}Hostname $color$alignr$nodename
+${color B90004}WLAN $color$alignr${addr ${template2}}
+${color B90004}LAN $color$alignr${addr ${template1}}
+${color B90004}WAN $color${alignr}${execi 10 ${HOME}/.config/conky/scripts/myip}
+${color B90004}${alignc}Traffic$color
+${color #B90004}Down $color${downspeed ${template1}} k/s ${alignr}${color #B90004}Up$color ${upspeed ${template1}} k/s
+${downspeedgraph ${template1} 30,120 000000 B90004} ${alignr}${upspeedgraph ${template1} 30,120 000000 B90004}$color
+${color #B90004}Total$color ${totaldown ${template1}} ${alignr}${color #B90004}Total:$color ${totalup ${template1}}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          DISK/RAM/SWAP usage
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}
+${color FFFFFF}${goto 7}${voffset 39}${fs_used_perc /}%
+${color B90004}${goto 7}DISK
+${color FFFFFF}${goto 102}${voffset -27}${memperc}%
+${color B90004}${goto 102}RAM
+${color FFFFFF}${goto 192}${voffset -26}${swapperc}%
+${color B90004}${goto 191}SWAP
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Running processes
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2} ${hr 1}
+${color #B90004}${voffset 5}NAME${goto 122}PID${goto 163}CPU%${goto 210}MEM%$color${voffset 5}
+${top name 1}${goto 115}${top pid 1}${goto 160}${top cpu 1}${goto 205}${top mem 1}
+${top name 2}${goto 115}${top pid 2}${goto 160}${top cpu 2}${goto 205}${top mem 2}
+${top name 3}${goto 115}${top pid 3}${goto 160}${top cpu 3}${goto 205}${top mem 3}
+${top name 5}${goto 115}${top pid 5}${goto 160}${top cpu 5}${goto 205}${top mem 5}
+${top name 6}${goto 115}${top pid 6}${goto 160}${top cpu 6}${goto 205}${top mem 6}
+${top name 7}${goto 115}${top pid 7}${goto 160}${top cpu 7}${goto 205}${top mem 7}
+${top name 8}${goto 115}${top pid 8}${goto 160}${top cpu 8}${goto 205}${top mem 8}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Computer info
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}${voffset 5}
+${color B90004}Hostname:$color${alignr}${nodename}
+${color B90004}OS:$color${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"} $machine
+${color B90004}Kernel:$color${alignr}${kernel}$color
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Logging
+#---------------------------------------------------------------------------------------------------------------------
+#${color B90004}${voffset 2}${hr 1}$color
+#${color B90004}${alignc}Last journal message:$color
+#${color B90004}${voffset -5}${hr 1}$color
+#${voffset 5}${execi 10 journalctl -n 1 -o cat -p info --no-pager --no-full | fold -w40}
+]];
diff --git a/skel/.config/conky/PacBang-8-Core-CPU.conkyrc b/skel/.config/conky/PacBang-8-Core-CPU.conkyrc
new file mode 100644 (file)
index 0000000..66c78ee
--- /dev/null
@@ -0,0 +1,148 @@
+conky.config = {
+-- https://github.com/altinukshini/conky_blue
+-- Conky settings #
+       background = false,
+       update_interval = 1,
+
+       cpu_avg_samples = 2,
+       net_avg_samples = 2,
+
+       override_utf8_locale = true,
+
+       double_buffer = true,
+       no_buffers = true,
+
+       text_buffer_size = 2048,
+--imlib_cache_size 0
+
+       temperature_unit = 'celcius',
+
+-- Window specifications #
+       own_window = true,
+       own_window_type = 'override',
+       own_window_transparent = true,
+       own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
+
+       border_inner_margin = 0,
+       border_outer_margin = 5,
+
+       minimum_width = 250, minimum_height = 300,
+       maximum_width = 300,
+
+       alignment = 'top_right',
+       gap_x = 10,
+       gap_y = 50,
+
+-- Graphics settings #
+       draw_shades = false,
+       draw_outline = false,
+       draw_borders = false,
+       draw_graph_borders = false,
+
+-- Text settings #
+       use_xft = true,
+       font = ':size=10',
+       xftalpha = 1,
+
+       uppercase = false,
+
+       temperature_unit = 'celsius',
+
+       default_color = '#FFFFFF',
+
+-- Lua Load  #
+       lua_load = '.config/conky/clock/pacbang-clock04_rings.lua',
+       lua_draw_hook_pre = 'clock_rings',
+
+       own_window_argb_value = 0,
+       own_window_argb_visual = false,
+       own_window_colour = '#000000',
+-- location
+       template0 = 'AARHUS',
+-- ethernet
+       template1 = 'eno1',
+-- wireless
+       template2 = ''
+};
+
+conky.text = [[
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Time and date
+#---------------------------------------------------------------------------------------------------------------------
+${voffset 7}${font Radio Space:size=16}${color B90004}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
+${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color B90004} ${hr 1}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Battery Circle
+#---------------------------------------------------------------------------------------------------------------------
+${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
+${color B90004}${goto 202}${voffset 25}Battery
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Weather
+#---------------------------------------------------------------------------------------------------------------------
+${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ${HOME}/.config/conky/accu_weather/weather}$color${font}${font Radio Space:size=11}${color B90004}${goto 202}${voffset 12}${template0}
+${execi 600 bash ${HOME}/.config/conky/accu_weather/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ${HOME}/.config/conky/accu_weather/weather|awk '{print $NF}'}${font}$color
+${font :size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          CPU usage
+#---------------------------------------------------------------------------------------------------------------------
+${color #B90004}${hr 1}$color
+${goto 9}${voffset 35}${cpu cpu0}% ${color B90004}${goto 9}${voffset 12}CPU0 $color
+${goto 70}${voffset -25}${cpu cpu1}% ${color B90004}${goto 70}${voffset 12}CPU1 $color
+${goto 130}${voffset -25}${cpu cpu2}% ${color B90004}${goto 130}${voffset 12}CPU2 $color
+${goto 190}${voffset -25}${cpu cpu3}% ${color B90004}${goto 190}${voffset 12}CPU3 $color
+${goto 9}${voffset 37}${cpu cpu4}% ${color B90004}${goto 9}${voffset 12}CPU4 $color
+${goto 70}${voffset -25}${cpu cpu5}% ${color B90004}${goto 70}${voffset 12}CPU5 $color
+${goto 130}${voffset -25}${cpu cpu6}% ${color B90004}${goto 130}${voffset 12}CPU6 $color
+${goto 190}${voffset -25}${cpu cpu7}% ${color B90004}${goto 190}${voffset 12}CPU7 $color
+${voffset 10}${color #B90004}Temp: $color ${acpitemp}°C  ${goto 150}${color #B90004}Freq:$color ${freq}MHz
+${color #B90004}Processes:$color $processes ${goto 150}${color #B90004}Running proc: $color  $running_processes
+${color #B90004}Load:$color ${loadavg}
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Network
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}
+${color B90004}${voffset 5}Hostname $color$alignr$nodename
+${color B90004}WLAN $color$alignr${addr ${template2}}
+${color B90004}LAN $color$alignr${addr ${template1}}
+${color B90004}WAN $color${alignr}${execi 10 ${HOME}/.config/conky/scripts/myip}
+${color B90004}${alignc}Traffic$color
+${color #B90004}Down $color${downspeed ${template1}} k/s ${alignr}${color #B90004}Up$color ${upspeed ${template1}} k/s
+${downspeedgraph ${template1} 30,120 000000 B90004} ${alignr}${upspeedgraph ${template1} 30,120 000000 B90004}$color
+${color #B90004}Total$color ${totaldown ${template1}} ${alignr}${color #B90004}Total:$color ${totalup ${template1}}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          DISK/RAM/SWAP usage
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}
+${color FFFFFF}${goto 7}${voffset 39}${fs_used_perc /}%
+${color B90004}${goto 7}DISK
+${color FFFFFF}${goto 102}${voffset -27}${memperc}%
+${color B90004}${goto 102}RAM
+${color FFFFFF}${goto 192}${voffset -26}${swapperc}%
+${color B90004}${goto 191}SWAP
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Running processes
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2} ${hr 1}
+${color #B90004}${voffset 5}NAME${goto 122}PID${goto 163}CPU%${goto 210}MEM%$color${voffset 5}
+${top name 1}${goto 115}${top pid 1}${goto 160}${top cpu 1}${goto 205}${top mem 1}
+${top name 2}${goto 115}${top pid 2}${goto 160}${top cpu 2}${goto 205}${top mem 2}
+${top name 3}${goto 115}${top pid 3}${goto 160}${top cpu 3}${goto 205}${top mem 3}
+${top name 5}${goto 115}${top pid 5}${goto 160}${top cpu 5}${goto 205}${top mem 5}
+${top name 6}${goto 115}${top pid 6}${goto 160}${top cpu 6}${goto 205}${top mem 6}
+${top name 7}${goto 115}${top pid 7}${goto 160}${top cpu 7}${goto 205}${top mem 7}
+${top name 8}${goto 115}${top pid 8}${goto 160}${top cpu 8}${goto 205}${top mem 8}
+#---------------------------------------------------------------------------------------------------------------------
+#                                          Computer info
+#---------------------------------------------------------------------------------------------------------------------
+${color B90004}${voffset 2}${hr 1}${voffset 5}
+${color B90004}Hostname:$color${alignr}${nodename}
+${color B90004}OS:$color${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"} $machine
+${color B90004}Kernel:$color${alignr}${kernel}$color
+#---------------------------------------------------------------------------------------------------------------------
+#                                              Logging
+#---------------------------------------------------------------------------------------------------------------------
+#${color B90004}${voffset 2}${hr 1}$color
+#${color B90004}${alignc}SYSLOG:$color
+#${color B90004}${voffset -5}${hr 1}$color
+#${voffset 5}${execi 10 tail -n6 /var/log/syslog | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w40}
+]];
diff --git a/skel/.config/conky/PacBang.conkyrc b/skel/.config/conky/PacBang.conkyrc
new file mode 100644 (file)
index 0000000..fecc53b
--- /dev/null
@@ -0,0 +1,86 @@
+conky.config = {
+-- https://github.com/altinukshini/conky_blue
+-- Conky settings #
+       background = false,
+       update_interval = 1,
+
+       cpu_avg_samples = 2,
+       net_avg_samples = 2,
+
+       override_utf8_locale = true,
+
+       double_buffer = true,
+       no_buffers = true,
+
+       text_buffer_size = 2048,
+--imlib_cache_size 0
+
+       temperature_unit = 'celcius',
+
+-- Window specifications #
+       own_window = true,
+       own_window_type = 'override',
+       own_window_transparent = true,
+       own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
+
+       border_inner_margin = 0,
+       border_outer_margin = 5,
+
+       minimum_width = 250, minimum_height = 300,
+       maximum_width = 300,
+
+       alignment = 'top_right',
+       gap_x = 10,
+       gap_y = 50,
+
+-- Graphics settings #
+       draw_shades = false,
+       draw_outline = false,
+       draw_borders = false,
+       draw_graph_borders = false,
+
+-- Text settings #
+       use_xft = true,
+       font = ':size=10',
+       xftalpha = 1,
+
+       uppercase = false,
+
+       temperature_unit = 'celsius',
+
+       default_color = '#FFFFFF',
+
+-- Lua Load  #
+       lua_load = '.config/conky/clock/pacbang_rings.lua',
+       lua_draw_hook_pre = 'clock_rings',
+
+       own_window_argb_value = 0,
+       own_window_argb_visual = false,
+       own_window_colour = '#000000',
+};
+
+conky.text = [[
+#---------------------------------------------------------------------------------------------
+#                                               Time and date
+#---------------------------------------------------------------------------------------------
+${voffset 7}${font Radio Space:size=16}${color B24C4C}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
+${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color B24C4C} ${hr 1}
+#---------------------------------------------------------------------------------------------
+#                                               Battery Circle
+#---------------------------------------------------------------------------------------------
+${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
+${color B24C4C}${goto 202}${voffset 25}Battery
+#---------------------------------------------------------------------------------------------
+#                                              Weather
+#---------------------------------------------------------------------------------------------
+${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ~/.config/conky/accu_weather/weather}$color${font}${font Radio Space:size=11}${color B24C4C}${goto 202}${voffset 12}AARHUS
+${execi 600 bash ~/.config/conky/accu_weather/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ~/.config/conky/weather|awk '{print $NF}'}${font}$color
+${font :size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
+#---------------------------------------------------------------------------------------------
+#                                           Computer info
+#---------------------------------------------------------------------------------------------
+${color B24C4C}${voffset 2}${hr 1}${voffset 5}
+${color B24C4C}Hostname:$color${alignr}${nodename}
+${color B24C4C}OS:$color${alignr}${exec "lsb_release -d | awk '{print $2" "$3}'"} $machine
+${color B24C4C}Kernel:$color${alignr}${kernel}$color
+]];
diff --git a/skel/.config/conky/accu_weather/README.md b/skel/.config/conky/accu_weather/README.md
new file mode 100644 (file)
index 0000000..eab1c5a
--- /dev/null
@@ -0,0 +1,62 @@
+## Weather location
+
+Open [AccuWeather.com][1] and locate your city.
+
+When you have your city's weather forecast in your browser - goto the source of the page and locate the javascript variable named
+
+    var currentLocation =
+
+This variable hold the data need for the rss link which is parsed by acc_rss script. The below codeblock is the datastructure for the city of Aarhus in Denmark.
+
+       var currentLocation = {
+               "administrativeArea":{
+                       "englishName":"Central Jutland",
+                       "id":"82",
+                       "localizedName":"Midtjylland"
+               },
+               "country":{
+                       "englishName":"Denmark",
+                       "id":"DK",
+                       "localizedName":"Danmark"
+               },
+               "englishName":"Aarhus",
+               "gmtOffset":1.0,
+               "timeZoneCode":"CET",
+               "hasAlerts":true,
+               "hasForecastConfidence":true,
+               "hasMinuteCast":true,
+               "hasRadar":true,
+               "key":"124594",
+               "lat":56.155,
+               "localizedName":"Aarhus",
+               "lon":10.173,
+               "primaryPostalCode":"",
+               "region":{
+                       "englishName":"Europe",
+                       "id":"EUR",
+                       "localizedName":"Europa"
+               },
+               "timeZone":"CET"
+       };
+
+
+From the datastructure you need the following data in the mentioned order
+
+The value of
+
+    currentLocation.region.id = EUR
+    currentLocation.country.id = DK
+    currentLocation.key = 124594
+    currentLocation.localizedName = AARHUS
+
+
+Edit the file acc_rss and insert the values from the data structre
+
+       # PUT YOUR LOCATIONS PARAMETERS IN THE VARIABLES BELOW
+       REGION_ID="EUR"
+       COUNTRY_ID="DK"
+       LOCATION_KEY="124594"
+       LOCALIZED_NAME="AARHUS"
+
+
+[1]: https://www.accuweather.com
\ No newline at end of file
diff --git a/skel/.config/conky/accu_weather/acc_rss b/skel/.config/conky/accu_weather/acc_rss
new file mode 100644 (file)
index 0000000..babf9be
--- /dev/null
@@ -0,0 +1,120 @@
+#!/bin/bash
+
+#function: test_image
+test_image () {
+    case $1 in
+     1|01)
+       echo a
+     ;;
+     2|02)
+       echo b
+     ;;
+     3|03)
+       echo c
+     ;;
+     4|04)
+       echo c
+     ;;
+     5|05)
+       echo c
+     ;;
+     6|06)
+       echo d
+     ;;
+     7|07)
+       echo e
+     ;;
+     8|08)
+       echo e
+     ;;
+     11)
+       echo 0
+     ;;
+     12)
+       echo h
+     ;;
+     13|14)
+       echo g
+     ;;
+     15)
+       echo l
+     ;;
+     16|17)
+       echo k
+     ;;
+     18|26)
+       echo i
+     ;;
+     19)
+       echo p
+     ;;
+     20|21|23)
+       echo o
+     ;;
+     22)
+       echo r
+     ;;
+     24|31)
+       echo E
+     ;;
+     25)
+       echo u
+     ;;
+     29)
+       echo v
+     ;;
+     30)
+       echo 5
+     ;;
+     32)
+       echo 6
+     ;;
+     33)
+       echo A
+     ;;
+     34|36|37)
+       echo B
+     ;;
+     35|38)
+       echo C
+     ;;
+     39|40)
+       echo G
+     ;;
+     41|42)
+       echo K
+     ;;
+     43|44)
+       echo O
+     ;;
+    esac
+}
+
+# PUT YOUR LOCATIONS PARAMETERS IN THE VARIABLES BELOW
+REGION_ID="EUR"
+COUNTRY_ID="DK"
+LOCATION_KEY="124594"
+LOCALIZED_NAME="AARHUS"
+
+address="https://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=${REGION_ID}|${COUNTRY_ID}|${LOCATION_KEY}|${LOCALIZED_NAME}"
+
+killall wget
+wget -O ~/.config/conky/accu_weather/weather_raw $address
+
+
+if [[ -s ~/.config/conky/accu_weather/weather_raw ]]; then
+
+    egrep 'Currently|Forecast<\/title>|_31x31.gif' ~/.config/conky/accu_weather/weather_raw > ~/.config/conky/accu_weather/weather
+    sed -i '/AccuWeather\|Currently in/d' ~/.config/conky/accu_weather/weather
+    sed -i -e 's/^[ \t]*//g' -e 's/<title>\|<\/title>\|<description>\|<\/description>//g' ~/.config/conky/accu_weather/weather
+    sed -i -e 's/&lt;img src="/\n/g' ~/.config/conky/accu_weather/weather
+    sed -i '/^$/d' ~/.config/conky/accu_weather/weather
+    sed -i -e 's/_31x31.*$//g' -e 's/^.*\/icons\///g' ~/.config/conky/accu_weather/weather
+    sed -i -e '1s/.$//' -e '3s/.$//' -e '6s/.$//' ~/.config/conky/accu_weather/weather
+    for (( i=2; i<=8; i+=3 ))
+        do
+            im=$(sed -n ${i}p ~/.config/conky/accu_weather/weather)
+            sed -i $i"s/^.*$/$(test_image $im)/" ~/.config/conky/accu_weather/weather
+        done
+
+fi
\ No newline at end of file
diff --git a/skel/.config/conky/clock/clock01_rings.lua b/skel/.config/conky/clock/clock01_rings.lua
new file mode 100644 (file)
index 0000000..9d05def
--- /dev/null
@@ -0,0 +1,363 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0x0ABFFF,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='cpu',
+        arg='cpu0',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=39, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu1',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=99, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu2',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=159, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu3',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=35, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=130, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/clock02_rings.lua b/skel/.config/conky/clock/clock02_rings.lua
new file mode 100644 (file)
index 0000000..e855b72
--- /dev/null
@@ -0,0 +1,335 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0x0ABFFF,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='cpu',
+        arg='cpu0',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=145, y=343,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu1',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=343,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=35, y=597,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=130, y=597,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=597,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/clock04_rings.lua b/skel/.config/conky/clock/clock04_rings.lua
new file mode 100644 (file)
index 0000000..9d05def
--- /dev/null
@@ -0,0 +1,363 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0x0ABFFF,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='cpu',
+        arg='cpu0',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=39, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu1',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=99, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu2',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=159, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu3',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=35, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=130, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/clock08_rings.lua b/skel/.config/conky/clock/clock08_rings.lua
new file mode 100644 (file)
index 0000000..12c060c
--- /dev/null
@@ -0,0 +1,419 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0x0ABFFF,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0x0ABFFF,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='cpu',
+        arg='cpu0',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=39, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu1',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=99, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu2',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=159, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu3',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+        {
+        name='cpu',
+        arg='cpu4',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=39, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu5',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=99, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu6',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=159, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu7',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=35, y=673,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=130, y=673,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0x0ABFFF,
+        fg_alpha=0.8,
+        x=220, y=673,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/clock_rings.lua b/skel/.config/conky/clock/clock_rings.lua
new file mode 100644 (file)
index 0000000..0de40a0
--- /dev/null
@@ -0,0 +1,307 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0xB24C4C,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB24C4C,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB24C4C,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB24C4C,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB24C4C,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB24C4C,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB24C4C,
+        fg_alpha=0.8,
+        x=35, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB24C4C,
+        fg_alpha=0.8,
+        x=130, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB24C4C,
+        fg_alpha=0.8,
+        x=220, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/pacbang-clock02_rings.lua b/skel/.config/conky/clock/pacbang-clock02_rings.lua
new file mode 100644 (file)
index 0000000..f612a58
--- /dev/null
@@ -0,0 +1,335 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0xB90004,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='cpu',
+        arg='cpu0',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=145, y=343,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu1',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=343,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=35, y=597,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=130, y=597,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=597,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/pacbang-clock04_rings.lua b/skel/.config/conky/clock/pacbang-clock04_rings.lua
new file mode 100644 (file)
index 0000000..8f330a2
--- /dev/null
@@ -0,0 +1,363 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0xB90004,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='cpu',
+        arg='cpu0',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=39, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu1',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=99, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu2',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=159, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu3',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=35, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=130, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/pacbang-clock08_rings.lua b/skel/.config/conky/clock/pacbang-clock08_rings.lua
new file mode 100644 (file)
index 0000000..0018b4c
--- /dev/null
@@ -0,0 +1,419 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0xB90004,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='cpu',
+        arg='cpu0',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=39, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu1',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=99, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu2',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=159, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu3',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=328,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+        {
+        name='cpu',
+        arg='cpu4',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=39, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu5',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=99, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu6',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=159, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='cpu',
+        arg='cpu7',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.3,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=390,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=35, y=673,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=130, y=673,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=673,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/clock/pacbang_rings.lua b/skel/.config/conky/clock/pacbang_rings.lua
new file mode 100644 (file)
index 0000000..7eba0cd
--- /dev/null
@@ -0,0 +1,307 @@
+--[[
+# Clock Rings by Linux Mint (2012) reEdited by Altin.
+#
+# https://github.com/altinukshini/conky_blue
+#
+# This script draws percentage meters as rings, and also draws clock hands if you want! 
+# It is fully customisable; all options are described in the script.
+# This script is based off a combination of my clock.lua script and my rings.lua script.
+#
+# IMPORTANT: If you are using the 'cpu' function, it will cause a segmentation fault if it tries to draw a ring straight away.
+#                     The if statement on line 324 uses a delay to make sure that this doesn't happen.
+#                     It calculates the length of the delay by the number of updates since Conky started.
+#                     Generally, a value of 5s is long enough, so if you update Conky every 1s,
+#                     use update_num>5 in that if statement (the default).
+#                     If you only update Conky every 2s, you should change it to update_num>3;
+#                     conversely if you update Conky every 0.5s, you should use update_num>10.
+#                     ALSO, if you change your Conky, is it best to use "killall conky; conky" to update it,
+#                     otherwise the update_num will not be reset and you will get an error.
+#
+# To call this script in Conky, use the following in your conkyrc:
+#
+#      lua_load ~/.conky/clock01_rings.lua
+#      lua_draw_hook_pre clock_rings
+#
+# Changelog:
+#   * v1.0 -->  Original release (30.09.2009)
+#   * v1.1p -->   Jpope edit londonali1010 (05.10.2009)
+#   * vX 2011mint --> reEdit despot77 (18.02.2011)
+#   * vX 2012 --> Altin reEdit (22.07.2012)
+#      * Added weather function (Accu Weather)
+#      * Added battery monitoring
+#      * Syslog monitoring
+#      * Running processes monitoring
+#      * Rearanged rings
+#      * Exctra network functions/monitoring
+#      * Changed Fonts
+]]
+
+settings_table = {
+    {
+        -- Edit this table to customise your rings.
+        -- You can create more rings simply by adding more elements to settings_table.
+        -- "name" is the type of stat to display; you can choose from 'cpu', 'memperc', 'fs_used_perc', 'battery_used_perc'.
+        name='time',
+        -- "arg" is the argument to the stat type, e.g. if in Conky you would write ${cpu cpu0}, 'cpu0' would be the argument. If you would not use an argument in the Conky variable, use ''.
+        arg='%I.%M',
+        -- "max" is the maximum value of the ring. If the Conky variable outputs a percentage, use 100.
+        max=12,
+        -- "bg_colour" is the colour of the base ring.
+        bg_colour=0xffffff,
+        -- "bg_alpha" is the alpha value of the base ring.
+        bg_alpha=0.15,
+        -- "fg_colour" is the colour of the indicator part of the ring.
+        fg_colour=0xB90004,
+        -- "fg_alpha" is the alpha value of the indicator part of the ring.
+        fg_alpha=0.3,
+        -- "x" and "y" are the x and y coordinates of the centre of the ring, relative to the top left corner of the Conky window.
+        x=100, y=175,
+        -- "radius" is the radius of the ring.
+        radius=50,
+        -- "thickness" is the thickness of the ring, centred around the radius.
+        thickness=5,
+        -- "start_angle" is the starting angle of the ring, in degrees, clockwise from top. Value can be either positive or negative.
+        start_angle=0,
+        -- "end_angle" is the ending angle of the ring, in degrees, clockwise from top. Value can be either positive or negative, but must be larger than start_angle.
+        end_angle=360
+    },
+
+    {
+        name='battery_percent',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=222, y=110,
+        radius=27,
+        thickness=5,
+        start_angle=-90,
+        end_angle=270
+    },
+
+    {
+        name='time',
+        arg='%M.%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.4,
+        x=100, y=175,
+        radius=66,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%S',
+        max=60,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.6,
+        x=100, y=175,
+        radius=72,
+        thickness=5,
+        start_angle=0,
+        end_angle=360
+    },
+    {
+        name='time',
+        arg='%d',
+        max=31,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=100, y=175,
+        radius=80,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='time',
+        arg='%m',
+        max=12,
+        bg_colour=0xffffff,
+        bg_alpha=0.1,
+        fg_colour=0xB90004,
+        fg_alpha=1,
+        x=100, y=175,
+        radius=86,
+        thickness=5,
+        start_angle=-90,
+        end_angle=90
+    },
+    {
+        name='fs_used_perc',
+        arg='/',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=35, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='memperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=130, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=180
+    },
+    {
+        name='swapperc',
+        arg='',
+        max=100,
+        bg_colour=0xffffff,
+        bg_alpha=0.2,
+        fg_colour=0xB90004,
+        fg_alpha=0.8,
+        x=220, y=610,
+        radius=25,
+        thickness=5,
+        start_angle=-90,
+        end_angle=172
+    },
+}
+
+-- Use these settings to define the origin and extent of your clock.
+
+clock_r=65
+
+-- "clock_x" and "clock_y" are the coordinates of the centre of the clock, in pixels, from the top left of the Conky window.
+
+clock_x=100
+clock_y=175
+
+show_seconds=false -- Change to true if you want the seconds hand
+
+require 'cairo'
+
+function rgb_to_r_g_b(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function window_background(colour,alpha)
+    return ((colour / 0x10000) % 0x100) / 255., ((colour / 0x100) % 0x100) / 255., (colour % 0x100) / 255., alpha
+end
+
+function draw_ring(cr,t,pt)
+    local w,h=conky_window.width,conky_window.height
+
+    local xc,yc,ring_r,ring_w,sa,ea=pt['x'],pt['y'],pt['radius'],pt['thickness'],pt['start_angle'],pt['end_angle']
+    local bgc, bga, fgc, fga=pt['bg_colour'], pt['bg_alpha'], pt['fg_colour'], pt['fg_alpha']
+
+    local angle_0=sa*(2*math.pi/360)-math.pi/2
+    local angle_f=ea*(2*math.pi/360)-math.pi/2
+    local t_arc=t*(angle_f-angle_0)
+
+    -- Draw background ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_f)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(bgc,bga))
+    cairo_set_line_width(cr,ring_w)
+    cairo_stroke(cr)
+
+    -- Draw indicator ring
+
+    cairo_arc(cr,xc,yc,ring_r,angle_0,angle_0+t_arc)
+    cairo_set_source_rgba(cr,rgb_to_r_g_b(fgc,fga))
+    cairo_stroke(cr)
+end
+
+function draw_clock_hands(cr,xc,yc)
+    local secs,mins,hours,secs_arc,mins_arc,hours_arc
+    local xh,yh,xm,ym,xs,ys
+
+    secs=os.date("%S")
+    mins=os.date("%M")
+    hours=os.date("%I")
+
+    secs_arc=(2*math.pi/60)*secs
+    mins_arc=(2*math.pi/60)*mins+secs_arc/60
+    hours_arc=(2*math.pi/12)*hours+mins_arc/12
+
+    -- Draw hour hand
+
+    xh=xc+0.76*clock_r*math.sin(hours_arc)
+    yh=yc-0.72*clock_r*math.cos(hours_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xh,yh)
+
+    cairo_set_line_cap(cr,CAIRO_LINE_CAP_ROUND)
+    cairo_set_line_width(cr,5)
+    cairo_set_source_rgba(cr,1.0,1.0,1.0,1.0)
+    cairo_stroke(cr)
+
+    -- Draw minute hand
+
+    xm=xc+0.98*clock_r*math.sin(mins_arc)
+    ym=yc-1.02*clock_r*math.cos(mins_arc)
+    cairo_move_to(cr,xc,yc)
+    cairo_line_to(cr,xm,ym)
+
+    cairo_set_line_width(cr,3)
+    cairo_stroke(cr)
+
+    -- Draw seconds hand
+
+    if show_seconds then
+        xs=xc+1.1*clock_r*math.sin(secs_arc)
+        ys=yc-clock_r*math.cos(secs_arc)
+        cairo_move_to(cr,xc,yc)
+        cairo_line_to(cr,xs,ys)
+
+        cairo_set_line_width(cr,1)
+        cairo_stroke(cr)
+    end
+end
+
+function conky_clock_rings()
+    local function setup_rings(cr,pt)
+        local str=''
+        local value=0
+
+        str=string.format('${%s %s}',pt['name'],pt['arg'])
+        str=conky_parse(str)
+
+        value=tonumber(str)
+        pct=value/pt['max']
+
+        draw_ring(cr,pct,pt)
+    end
+
+    -- Check that Conky has been running for at least 5s
+
+    if conky_window==nil then return end
+    local cs=cairo_xlib_surface_create(conky_window.display,conky_window.drawable,conky_window.visual, conky_window.width,conky_window.height)
+
+    local cr=cairo_create(cs)
+
+    local updates=conky_parse('${updates}')
+    update_num=tonumber(updates)
+
+    if update_num>5 then
+        for i in pairs(settings_table) do
+            setup_rings(cr,settings_table[i])
+        end
+    end
+
+    draw_clock_hands(cr,clock_x,clock_y)
+end
diff --git a/skel/.config/conky/conky-sessionfile b/skel/.config/conky/conky-sessionfile
new file mode 100755 (executable)
index 0000000..739d388
--- /dev/null
@@ -0,0 +1 @@
+conky -c /home/fh/.config/conky/PacBang-4-Core-CPU.conkyrc & sleep 0.5
diff --git a/skel/.config/conky/convert.lua b/skel/.config/conky/convert.lua
new file mode 100755 (executable)
index 0000000..685c317
--- /dev/null
@@ -0,0 +1,155 @@
+#! /usr/bin/lua
+
+local usage = [[
+Usage: convert.lua old_conkyrc [new_conkyrc]
+Tries to convert conkyrc from the old v1.x format to the new, lua-based format.
+Keep in mind that there is no guarantee that the output will work correctly
+with conky, or that it will be able to convert every conkyrc. However, it
+should provide a good starting point.
+Although you can use this script with only 1 arg and let it overwrite the old
+config, it's suggested to use 2 args so that the new config is written in a new
+file (so that you have backup if something went wrong).
+Optional: Install dos2unix. We will attempt to use this if it is available
+because Conky configs downloaded from Internet sometimes are created on DOS/Windows
+machines with different line endings than Conky configs created on Unix/Linux.
+For more information about the new format, read the wiki page
+<https://github.com/brndnmtthws/conky/wiki>
+]];
+
+local function quote(s)
+    if not s:find("[\n'\\]") then
+        return "'" .. s .. "'";
+    end;
+    local q = '';
+    while s:find(']' .. q .. ']', 1, true) do
+        q = q .. '=';
+    end;
+    return string.format('[%s[\n%s]%s]', q, s, q);
+end;
+
+local bool_setting = {
+    background = true, disable_auto_reload = true, double_buffer = true, draw_borders = true,
+    draw_graph_borders = true, draw_outline = true, draw_shades = true, extra_newline = true,
+    format_human_readable = true, no_buffers = true, out_to_console = true,
+    out_to_ncurses = true, out_to_stderr = true, out_to_x = true, override_utf8_locale = true,
+    own_window = true, own_window_argb_visual = true, own_window_transparent = true,
+    short_units = true, show_graph_range = true, show_graph_scale = true,
+    times_in_seconds = true, top_cpu_separate = true, uppercase = true, use_xft = true,
+    draw_blended = true, forced_redraw = true
+};
+
+local num_setting = {
+    border_inner_margin = true, border_outer_margin = true, border_width = true,
+    cpu_avg_samples = true, diskio_avg_samples = true, gap_x = true, gap_y = true,
+    imlib_cache_flush_interval = true, imlib_cache_size = true,
+    max_port_monitor_connections = true, max_text_width = true, max_user_text = true,
+    maximum_width = true, mpd_port = true, music_player_interval = true, net_avg_samples = true,
+    own_window_argb_value = true, pad_percents = true, stippled_borders = true,
+    text_buffer_size = true, top_name_width = true, total_run_times = true,
+    update_interval = true, update_interval_on_battery = true, xftalpha = true,
+    xinerama_head = true,
+};
+
+local split_setting = {
+    default_bar_size = true, default_gauge_size = true, default_graph_size = true,
+    minimum_size = true
+};
+
+local colour_setting = {
+    color0 = true, color1 = true, color2 = true, color3 = true, color4 = true, color5 = true,
+    color6 = true, color7 = true, color8 = true, color9 = true, default_color = true,
+    default_outline_color = true, default_shade_color = true, own_window_colour = true
+};
+
+local function alignment_map(value)
+    local map = { m = 'middle', t = 'top', b = 'bottom', r = 'right', l = 'left' };
+    if map[value] == nil then
+        return value;
+    else
+        return map[value];
+    end;
+end;
+
+local function handle(setting, value)
+    setting = setting:lower();
+    if setting == '' then
+        return '';
+    end;
+    if split_setting[setting] then
+        local x, y = value:match('^(%S+)%s*(%S*)$');
+        local ret = setting:gsub('_size', '_width = ') .. x .. ',';
+        if y ~= '' then
+            ret = ret .. ' ' .. setting:gsub('_size', '_height = ') .. y .. ',';
+        end;
+        return '\t' .. ret;
+    end;
+    if bool_setting[setting] then
+        value = value:lower();
+        if value == 'yes' or value == 'true' or value == '1' or value == '' then
+            value = 'true';
+        else
+            value = 'false';
+        end;
+    elseif not num_setting[setting] then
+        if setting == 'alignment' and value:len() == 2 then
+            value = alignment_map(value:sub(1,1)) .. '_' .. alignment_map(value:sub(2,2));
+        elseif colour_setting[setting] and value:match('^[0-9a-fA-F]+$') then
+            value = '#' .. value;
+        elseif setting == 'xftfont' then
+            setting = 'font';
+        end;
+        value = quote(value);
+    end;
+    return '\t' .. setting .. ' = ' .. value .. ',';
+end;
+
+local function convert(s)
+    local setting, comment = s:match('^([^#]*)#?(.*)\n$');
+    if comment ~= '' then
+        comment = '--' .. comment;
+    end;
+    comment = comment .. '\n';
+    return handle(setting:match('^%s*(%S*)%s*(.-)%s*$')) ..  comment;
+end;
+
+local input;
+local output;
+
+if conky == nil then --> standalone program
+    -- 1 arg: arg is input and outputfile
+    -- 2 args: 1st is inputfile, 2nd is outputfile
+    -- 0, 3 or more args: print usage to STDERR and quit
+    if #arg == 1 or #arg == 2 then
+        if os.execute('command -v dos2unix 2&>1') then
+            os.execute('dos2unix ' .. arg[1]);
+        end
+        input = io.input(arg[1]);
+    else
+        io.stderr:write(usage);
+        return;
+    end;
+else
+    -- we are called from conky, the filename is the first argument
+    input = io.open(..., 'r');
+end;
+
+
+local config = input:read('*a');
+input:close();
+
+local settings, text = config:match('^(.-)TEXT\n(.*)$');
+
+local converted = 'conky.config = {\n' .. settings:gsub('.-\n', convert) .. '};\n\nconky.text = ' ..
+                quote(text) .. ';\n';
+
+if conky == nil then
+    if #arg == 2 then
+        output = io.output(arg[2]);
+    else
+        output = io.output(arg[1]);
+    end
+    output:write(converted);
+    output:close();
+else
+    return assert(loadstring(converted, 'converted config'));
+end;
\ No newline at end of file
diff --git a/skel/.config/conky/scripts/myip b/skel/.config/conky/scripts/myip
new file mode 100755 (executable)
index 0000000..dac4703
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/bash
+IP=$(curl -s https://get.geojs.io/v1/ip)
+echo ${IP}
+#notify-send --urgency=critical --expire-time=5000 "Public IP " "\nYour public IP address is $IP\n"
+#yad --title="Public IP" --text="Your public IP is '"$IP"'" --button=OK --center --width=300 --height=100
diff --git a/skel/.config/dconf/user b/skel/.config/dconf/user
new file mode 100644 (file)
index 0000000..6d38fcd
Binary files /dev/null and b/skel/.config/dconf/user differ
diff --git a/skel/.config/dunst/dunstrc b/skel/.config/dunst/dunstrc
new file mode 100644 (file)
index 0000000..27a3268
--- /dev/null
@@ -0,0 +1,53 @@
+[global]
+    font = Roboto Regular 11
+    markup = yes
+    format = "<b>%s</b>\n%b"
+    sort = yes
+    indicate_hidden = yes
+    alignment = center
+    bounce_freq = 0
+    show_age_threshold = 60
+    word_wrap = yes
+    ignore_newline = no
+    geometry = "400x10-20+50"
+    shrink = yes
+    transparency = 0
+    idle_threshold = 0
+    monitor = 0
+    follow = mouse
+    sticky_history = yes
+    history_length = 20
+    show_indicators = no
+    line_height = 0
+    separator_height = 2
+    padding = 10
+    horizontal_padding = 20
+    frame_color = "#16A085"
+    separator_color = frame
+    frame_width = 1
+    startup_notification = false
+    dmenu = /usr/bin/dmenu -p dunst:
+    browser = /usr/bin/chromium
+    icon_position = left
+    icon_path = /usr/share/icons/gnome/32x32/status/:/usr/share/icons/gnome/32x32/devices/
+
+[shortcuts]
+
+
+[urgency_low]
+    background = "#282828"
+    foreground = "#2D9BD2"
+    frame_color = "#2D9BD2"
+    timeout = 3
+
+[urgency_normal]
+    background = "#282828"
+    foreground = "#FF8900"
+    frame_color = "#FF8900"
+    timeout = 3
+
+[urgency_critical]
+    background = "#282828"
+    foreground = "#FF8900"
+    frame_color = "#FF8900"
+    timeout = 5
diff --git a/skel/.config/gtk-3.0/gtk.css b/skel/.config/gtk-3.0/gtk.css
new file mode 100644 (file)
index 0000000..2afa222
--- /dev/null
@@ -0,0 +1,5 @@
+decoration {
+border-width: 0.4px;
+border-color: #808080;
+border-style: solid;
+}
\ No newline at end of file
diff --git a/skel/.config/gtk-3.0/settings.ini b/skel/.config/gtk-3.0/settings.ini
new file mode 100644 (file)
index 0000000..321f13a
--- /dev/null
@@ -0,0 +1,16 @@
+[Settings]
+gtk-theme-name=PacBang
+gtk-icon-theme-name=gnome
+gtk-font-name=Roboto 10
+gtk-cursor-theme-name=Vanilla-DMZ
+gtk-cursor-theme-size=24
+gtk-toolbar-style=GTK_TOOLBAR_ICONS
+gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
+gtk-button-images=1
+gtk-menu-images=1
+gtk-enable-event-sounds=0
+gtk-enable-input-feedback-sounds=0
+gtk-xft-antialias=1
+gtk-xft-hinting=1
+gtk-xft-hintstyle=hintfull
+gtk-xft-rgba=rgb
diff --git a/skel/.config/jgmenu/append.csv b/skel/.config/jgmenu/append.csv
new file mode 100644 (file)
index 0000000..c9123e6
--- /dev/null
@@ -0,0 +1,4 @@
+^sep()
+Log Out,openbox --exit,system-log-out-symbolic
+Restart,systemctl -i reboot,system-reboot-symbolic
+Power Off,systemctl -i poweroff,system-poweroff-symbolic
diff --git a/skel/.config/jgmenu/jgmenurc b/skel/.config/jgmenu/jgmenurc
new file mode 100644 (file)
index 0000000..f8529fc
--- /dev/null
@@ -0,0 +1,71 @@
+# jgmenurc
+
+stay_alive           = 1
+#hide_on_startup     = 0
+csv_cmd              = pmenu
+tint2_look           = 1
+at_pointer           = 0
+terminal_exec        = termite
+terminal_args        = -e
+#monitor             = 0
+
+menu_margin_x        = 20
+menu_margin_y        = 50
+menu_width           = 200
+menu_padding_top     = 10
+menu_padding_right   = 2
+menu_padding_bottom  = 5
+menu_padding_left    = 2
+menu_radius          = 0
+menu_border          = 1
+menu_halign          = left
+menu_valign          = top
+
+sub_spacing         = 5
+#sub_padding_top     = -1
+#sub_padding_right   = -1
+#sub_padding_bottom  = -1
+#sub_padding_left    = -1
+sub_hover_action     = 1
+
+#item_margin_x       = 3
+item_margin_y        = 5
+item_height          = 30
+item_padding_x       = 8
+item_radius          = 0
+item_border          = 0
+#item_halign         = left
+
+sep_height           = 5
+
+font                 = Roboto 14px
+#font_fallback       = xtg
+icon_size            = 24
+#icon_text_spacing   = 10
+#icon_theme_fallback = xtg
+
+#arrow_string        = ▸
+#arrow_width         = 15
+
+## -------------------------------
+## colors
+icon_theme           = gnome
+
+color_menu_bg        = #282828 100
+color_menu_fg        = #dddddd 100
+
+color_menu_border    = #F5AF26 25
+
+color_norm_bg        = #282828 100
+color_norm_fg        = #dddddd 100
+
+color_sel_bg         = #820003 100
+color_sel_fg         = #F5AF26 100
+#color_sel_border     = #282828 0
+
+color_sep_fg         = #F5AF26 25
+
+## --------------------------------
+
+#csv_name_format     = %n (%g)
+
diff --git a/skel/.config/jgmenu/prepend.csv b/skel/.config/jgmenu/prepend.csv
new file mode 100644 (file)
index 0000000..d92c83b
--- /dev/null
@@ -0,0 +1,5 @@
+Web browser,exo-open --launch WebBrowser,web-browser-symbolic
+File manager,exo-open --launch FileManager,system-file-manager-symbolic
+Terminal,termite,utilities-terminal-symbolic
+^sep()
+
diff --git a/skel/.config/mimeapps.list b/skel/.config/mimeapps.list
new file mode 100644 (file)
index 0000000..7987e95
--- /dev/null
@@ -0,0 +1,90 @@
+[Added Associations]
+application/epub+zip=engrampa.desktop;xarchiver.desktop
+application/gzip=engrampa.desktop;xarchiver.desktop
+application/json=sublime_text.desktop;xed.desktop;
+application/octet-stream=sublime_text.desktop;xed.desktop;engrampa.desktop;xarchiver.desktop;
+application/pdf=xreader.desktop;libreoffice-draw.desktop;
+application/pgp-keys=sublime_text.desktop;xed.desktop;
+application/pkix-cert=gcr-viewer.desktop;
+application/sql=sublime_text.desktop;
+application/vnd.appimage=engrampa.desktop;xarchiver.desktop;sublime_text.desktop;xed.desktop;
+application/vnd.kde.kxmlguirc=sublime_text.desktop;xed.desktop;
+application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop;
+application/vnd.oasis.opendocument.text=libreoffice-writer.desktop;
+application/x-alpm-package=engrampa.desktop;pamac-installer.desktop;
+application/x-asp=sublime_text.desktop;xed.desktop;
+application/x-bittorrent=deluge.desktop;
+application/x-cd-image=gnome-disk-image-mounter.desktop;gnome-disk-image-writer.desktop;
+application/x-compressed-tar=engrampa.desktop;xarchiver.desktop
+application/x-crossover-tie=xed.desktop;
+application/x-desktop=lxshortcut.desktop;sublime_text.desktop;xed.desktop;
+application/x-executable=sublime_text.desktop;xed.desktop;
+application/x-font-otf=org.gnome.FontViewer.desktop;
+application/x-font-ttf=org.gnome.FontViewer.desktop;
+application/x-iwork-keynote-sffkey=libreoffice-impress.desktop;
+application/x-ms-dos-executable=cxassoc-cxoffice-0:application_x-crossover-exe::install.desktop;engrampa.desktop;xarchiver.desktop
+application/x-pem-key=gcr-viewer.desktop;
+application/x-perl=sublime_text.desktop;xed.desktop;
+application/x-php=sublime_text.desktop;xed.desktop;
+application/x-shellscript=sublime_text.desktop;xed.desktop;
+application/x-theme=sublime_text.desktop;xed.desktop;
+application/x-tint2-theme=sublime_text.desktop;tint2conf.desktop;xed.desktop;
+application/x-virtualbox-ova=virtualbox.desktop;
+application/x-xbel=sublime_text.desktop;xed.desktop;
+application/x-yaml=sublime_text.desktop;xed.desktop;
+application/xml=sublime_text.desktop;xed.desktop;
+application/zip=engrampa.desktop;xarchiver.desktopengrampa.desktop;xarchiver.desktop;
+audio/mpeg=deadbeef.desktop;
+audio/x-wav=deadbeef.desktop;
+image/gif=smplayer.desktop;
+image/jpeg=gimp.desktop;xviewer.desktop;
+image/png=gimp.desktop;xviewer.desktop;
+image/svg+xml=inkscape.desktop;gimp.desktop;xviewer.desktop;
+image/vnd.adobe.photoshop=gimp.desktop;
+image/x-xbitmap=xviewer.desktop;
+image/x-xcf=gimp.desktop;
+inode/directory=exo-file-manager.desktop;
+inode/symlink=Thunar-folder-handler.desktop;
+message/rfc822=thunderbird.desktop;xed.desktop;
+text/css=sublime_text.desktop;xed.desktop;
+text/csv=sublime_text.desktop;xed.desktop;
+text/html=xed.desktop;sublime_text.desktop;firefox.desktop;
+text/markdown=sublime_text.desktop;xed.desktop;
+text/plain=xed.desktop;sublime_text.desktop;
+text/x-changelog=sublime_text.desktop;xed.desktop;
+text/x-cmake=sublime_text.desktop;xed.desktop;
+text/x-csrc=sublime_text.desktop;xed.desktop;
+text/x-dsrc=sublime_text.desktop;xed.desktop;
+text/x-log=sublime_text.desktop;xed.desktop;
+text/x-lua=sublime_text.desktop;xed.desktop;
+text/x-makefile=sublime_text.desktop;xed.desktop;
+text/x-matlab=sublime_text.desktop;xed.desktop;
+text/x-python=sublime_text.desktop;xed.desktop;
+text/x-qml=sublime_text.desktop;xed.desktop;
+text/x-readme=sublime_text.desktop;xed.desktop;
+text/x-scheme=sublime_text.desktop;xed.desktop;
+text/x-ssa=sublime_text.desktop;xed.desktop;
+text/x-vala=sublime_text.desktop;xed.desktop;
+video/mp4=smplayer.desktop;
+video/mpeg=smplayer.desktop;
+video/quicktime=smplayer.desktop;
+video/x-matroska=smplayer.desktop;
+video/x-ms-wmv=smplayer.desktop;
+video/x-msvideo=smplayer.desktop;
+x-scheme-handler/http=exo-web-browser.desktop;
+x-scheme-handler/https=exo-web-browser.desktop;
+x-scheme-handler/mailto=exo-mail-reader.desktop;
+x-scheme-handler/trash=exo-file-manager.desktop;
+audio/mp4=smplayer.desktop;
+
+[Default Applications]
+application/x-shellscript=sublime_text.desktop;xed.desktop;
+audio/mpeg=deadbeef.desktop;
+inode/directory=Thunar-folder-handler.desktop;
+text/html=firefox.desktop;
+text/plain=sublime_text.desktop;xed.desktop;
+video/x-msvideo=smplayer.desktop;
+x-scheme-handler/about=firefox.desktop;
+x-scheme-handler/http=firefox.desktop;
+x-scheme-handler/https=firefox.desktop;
+x-scheme-handler/unknown=firefox.desktop;
diff --git a/skel/.config/nano/Dockerfile.nanorc b/skel/.config/nano/Dockerfile.nanorc
new file mode 100644 (file)
index 0000000..053951e
--- /dev/null
@@ -0,0 +1,26 @@
+## Syntax highlighting for Dockerfiles
+syntax "Dockerfile" "Dockerfile[^/]*$" "\.dockerfile$"
+
+## Keywords
+icolor red "^(FROM|RUN|CMD|LABEL|MAINTAINER|EXPOSE|ENV|ADD|COPY|ENTRYPOINT|VOLUME|USER|WORKDIR|ARG|ONBUILD|STOPSIGNAL|HEALTHCHECK|SHELL)[[:space:]]"
+
+## Brackets & parenthesis
+color brightgreen "(\(|\)|\[|\])"
+
+## Double ampersand
+color brightmagenta "&&"
+
+## Comments
+icolor cyan "^[[:space:]]*#.*$"
+
+## Blank space at EOL
+color ,green "[[:space:]]+$"
+
+## Strings, single-quoted
+color brightwhite "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
+
+## Strings, double-quoted
+color brightwhite ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
+
+## Single and double quotes
+color brightyellow "('|\")"
diff --git a/skel/.config/nano/Readme.rst b/skel/.config/nano/Readme.rst
new file mode 100644 (file)
index 0000000..7cb17a7
--- /dev/null
@@ -0,0 +1,83 @@
+***************************************
+Improved Nano Syntax Highlighting Files
+***************************************
+
+This repository holds ``{lang}.nanorc`` files that have improved
+definitions of syntax highlighting for various languages.
+
+
+1. Copy files
+~~~~~~
+
+These should be placed inside of the ``~/.nano/`` directory. 
+Or for system-wide installation ``/usr/share/nano-syntax-highlighting/``.
+In other words::
+
+    git clone git@github.com:scopatz/nanorc.git ~/.nano
+
+*Note - if you have any issues (ssh was not properly configured), alternatively use::
+
+    git clone https://github.com/scopatz/nanorc.git ~/.nano
+    
+*System wide will look like so*::
+
+    sudo git clone https://github.com/scopatz/nanorc.git /usr/share/nano-syntax-highlighting/
+
+**NOTE**: \< and \> are regular character escapes on macOS. The bug's fixed in Nano, but this might be a problem
+if you are using an older version. If this is the case, replace them respectively with [[:<:]] and [[:>:]].
+This is reported in `issue 52 <https://github.com/scopatz/nanorc/issues/52>`_
+
+2. Configure ``nano``
+~~~~~~~~~
+
+Once there you should add the languages you want to your
+nano configuration file ``~/.nanorc``.  For example::
+
+    ## C/C++
+    include "~/.nano/c.nanorc"
+
+You can also append the contents of ``~/.nano/nanorc`` into your
+``~/.nanorc`` to include all languages::
+
+    cat ~/.nano/nanorc >> ~/.nanorc
+    
+Or to be less verbose, append content of the folder in one line with wildcard::
+
+    ## For all users
+    $ echo "include $install_path/*.nanorc" >> /etc/nanorc 
+    ## For current user
+    $ echo "include $install_path/*.nanorc" >> ~/.nanorc
+    
+where ``$install_path`` is ``/usr/share/nano-syntax-highlighting`` or ``~/.nano/`` or ...
+
+1a.  Automatic installer
+~~~~~~~~~~~~~~~~~~~~~~
+Finally, you can run an automatic installer using the following code::
+
+    $ curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh
+
+or alternatively::
+
+    $ wget https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh -O- | sh
+
+*Note -
+    some syntax definitions which exist in Nano upstream may be preferable to the ones provided by this package.
+    The install.sh script may be run with ``-l`` or ``--lite`` to insert the included syntax definitions from this package
+    with lower precedence than the ones provided by the standard package.
+    
+    
+1b. Distributive specific installation via package managers
+~~~~~~~~~~
+On **Arch Linux** and other *pacman/aur* based systems it is possible to::
+
+    $ aurman -S nano-syntax-highlighting-git
+
+or search package::
+
+    $ aurman -Ss nano-syntax-highlight
+
+Then you need to mannually add ``.nanorc``-s to user's ``~/.nanorc`` or system ``/etc/nanorc``. See **$2**
+
+Acknowledgement
+~~~~~~~~~~~~~~~
+Some of these files are derived from the original nano release [`Project <https://www.nano-editor.org/>`_] [`Repository <https://git.savannah.gnu.org/cgit/nano.git>`_]
diff --git a/skel/.config/nano/apacheconf.nanorc b/skel/.config/nano/apacheconf.nanorc
new file mode 100644 (file)
index 0000000..f1325e6
--- /dev/null
@@ -0,0 +1,47 @@
+# Apache files
+syntax "Apacheconf" "httpd\.conf|mime\.types|vhosts\.d\\*|\.htaccess"
+color yellow ".+"
+color brightcyan "(AcceptMutex|AcceptPathInfo|AccessFileName|Action|AddAlt|AddAltByEncoding|AddAltByType|AddCharset|AddDefaultCharset|AddDescription|AddEncoding)"
+color brightcyan "(AddHandler|AddIcon|AddIconByEncoding|AddIconByType|AddInputFilter|AddLanguage|AddModuleInfo|AddOutputFilter|AddOutputFilterByType|AddType|Alias|AliasMatch)"
+color brightcyan "(Allow|AllowCONNECT|AllowEncodedSlashes|AllowOverride|Anonymous|Anonymous_Authoritative|Anonymous_LogEmail|Anonymous_MustGiveEmail|Anonymous_NoUserID)"
+color brightcyan "(Anonymous_VerifyEmail|AssignUserID|AuthAuthoritative|AuthDBMAuthoritative|AuthDBMGroupFile|AuthDBMType|AuthDBMUserFile|AuthDigestAlgorithm)"
+color brightcyan "(AuthDigestDomain|AuthDigestFile|AuthDigestGroupFile|AuthDigestNcCheck|AuthDigestNonceFormat|AuthDigestNonceLifetime|AuthDigestQop|AuthDigestShmemSize)"
+color brightcyan "(AuthGroupFile|AuthLDAPAuthoritative|AuthLDAPBindDN|AuthLDAPBindPassword|AuthLDAPCharsetConfig|AuthLDAPCompareDNOnServer|AuthLDAPDereferenceAliases)"
+color brightcyan "(AuthLDAPEnabled|AuthLDAPFrontPageHack|AuthLDAPGroupAttribute|AuthLDAPGroupAttributeIsDN|AuthLDAPRemoteUserIsDN|AuthLDAPUrl|AuthName|AuthType|AuthUserFile)"
+color brightcyan "(BrowserMatch|BrowserMatchNoCase|BS2000Account|BufferedLogs|CacheDefaultExpire|CacheDirLength|CacheDirLevels|CacheDisable|CacheEnable|CacheExpiryCheck)"
+color brightcyan "(CacheFile|CacheForceCompletion|CacheGcClean|CacheGcDaily|CacheGcInterval|CacheGcMemUsage|CacheGcUnused|CacheIgnoreCacheControl|CacheIgnoreHeaders)"
+color brightcyan "(CacheIgnoreNoLastMod|CacheLastModifiedFactor|CacheMaxExpire|CacheMaxFileSize|CacheMinFileSize|CacheNegotiatedDocs|CacheRoot|CacheSize|CacheTimeMargin)"
+color brightcyan "(CGIMapExtension|CharsetDefault|CharsetOptions|CharsetSourceEnc|CheckSpelling|ChildPerUserID|ContentDigest|CookieDomain|CookieExpires|CookieLog|CookieName)"
+color brightcyan "(CookieStyle|CookieTracking|CoreDumpDirectory|CustomLog|Dav|DavDepthInfinity|DavLockDB|DavMinTimeout|DefaultIcon|DefaultLanguage|DefaultType)"
+color brightcyan "(DeflateBufferSize|DeflateCompressionLevel|DeflateFilterNote|DeflateMemLevel|DeflateWindowSize|Deny|Directory|DirectoryIndex|DirectoryMatch|DirectorySlash)"
+color brightcyan "(DocumentRoot|DumpIOInput|DumpIOOutput|EnableExceptionHook|EnableMMAP|EnableSendfile|ErrorDocument|ErrorLog|Example|ExpiresActive|ExpiresByType)"
+color brightcyan "(ExpiresDefault|ExtendedStatus|ExtFilterDefine|ExtFilterOptions|FileETag|Files|FilesMatch|ForceLanguagePriority|ForceType|ForensicLog|Group|Header)"
+color brightcyan "(HeaderName|HostnameLookups|IdentityCheck|IfDefine|IfModule|IfVersion|ImapBase|ImapDefault|ImapMenu|Include|IndexIgnore|IndexOptions|IndexOrderDefault)"
+color brightcyan "(ISAPIAppendLogToErrors|ISAPIAppendLogToQuery|ISAPICacheFile|ISAPIFakeAsync|ISAPILogNotSupported|ISAPIReadAheadBuffer|KeepAlive|KeepAliveTimeout)"
+color brightcyan "(LanguagePriority|LDAPCacheEntries|LDAPCacheTTL|LDAPConnectionTimeout|LDAPOpCacheEntries|LDAPOpCacheTTL|LDAPSharedCacheFile|LDAPSharedCacheSize)"
+color brightcyan "(LDAPTrustedCA|LDAPTrustedCAType|Limit|LimitExcept|LimitInternalRecursion|LimitRequestBody|LimitRequestFields|LimitRequestFieldSize|LimitRequestLine)"
+color brightcyan "(LimitXMLRequestBody|Listen|ListenBackLog|LoadFile|LoadModule|Location|LocationMatch|LockFile|LogFormat|LogLevel|MaxClients|MaxKeepAliveRequests)"
+color brightcyan "(MaxMemFree|MaxRequestsPerChild|MaxRequestsPerThread|MaxSpareServers|MaxSpareThreads|MaxThreads|MaxThreadsPerChild|MCacheMaxObjectCount|MCacheMaxObjectSize)"
+color brightcyan "(MCacheMaxStreamingBuffer|MCacheMinObjectSize|MCacheRemovalAlgorithm|MCacheSize|MetaDir|MetaFiles|MetaSuffix|MimeMagicFile|MinSpareServers|MinSpareThreads)"
+color brightcyan "(MMapFile|ModMimeUsePathInfo|MultiviewsMatch|NameVirtualHost|NoProxy|NumServers|NWSSLTrustedCerts|NWSSLUpgradeable|Options|Order|PassEnv|PidFile)"
+color brightcyan "(ProtocolEcho|Proxy|ProxyBadHeader|ProxyBlock|ProxyDomain|ProxyErrorOverride|ProxyIOBufferSize|ProxyMatch|ProxyMaxForwards|ProxyPass|ProxyPassReverse)"
+color brightcyan "(ProxyPreserveHost|ProxyReceiveBufferSize|ProxyRemote|ProxyRemoteMatch|ProxyRequests|ProxyTimeout|ProxyVia|ReadmeName|Redirect|RedirectMatch)"
+color brightcyan "(RedirectPermanent|RedirectTemp|RemoveCharset|RemoveEncoding|RemoveHandler|RemoveInputFilter|RemoveLanguage|RemoveOutputFilter|RemoveType|RequestHeader)"
+color brightcyan "(Require|RewriteBase|RewriteCond|RewriteEngine|RewriteLock|RewriteLog|RewriteLogLevel|RewriteMap|RewriteOptions|RewriteRule|RLimitCPU|RLimitMEM|RLimitNPROC)"
+color brightcyan "(Satisfy|ScoreBoardFile|Script|ScriptAlias|ScriptAliasMatch|ScriptInterpreterSource|ScriptLog|ScriptLogBuffer|ScriptLogLength|ScriptSock|SecureListen)"
+color brightcyan "(SendBufferSize|ServerAdmin|ServerAlias|ServerLimit|ServerName|ServerPath|ServerRoot|ServerSignature|ServerTokens|SetEnv|SetEnvIf|SetEnvIfNoCase|SetHandler)"
+color brightcyan "(SetInputFilter|SetOutputFilter|SSIEndTag|SSIErrorMsg|SSIStartTag|SSITimeFormat|SSIUndefinedEcho|SSLCACertificateFile|SSLCACertificatePath)"
+color brightcyan "(SSLCARevocationFile|SSLCARevocationPath|SSLCertificateChainFile|SSLCertificateFile|SSLCertificateKeyFile|SSLCipherSuite|SSLEngine|SSLMutex|SSLOptions)"
+color brightcyan "(SSLPassPhraseDialog|SSLProtocol|SSLProxyCACertificateFile|SSLProxyCACertificatePath|SSLProxyCARevocationFile|SSLProxyCARevocationPath|SSLProxyCipherSuite)"
+color brightcyan "(SSLProxyEngine|SSLProxyMachineCertificateFile|SSLProxyMachineCertificatePath|SSLProxyProtocol|SSLProxyVerify|SSLProxyVerifyDepth|SSLRandomSeed|SSLRequire)"
+color brightcyan "(SSLRequireSSL|SSLSessionCache|SSLSessionCacheTimeout|SSLUserName|SSLVerifyClient|SSLVerifyDepth|StartServers|StartThreads|SuexecUserGroup|ThreadLimit)"
+color brightcyan "(ThreadsPerChild|ThreadStackSize|TimeOut|TraceEnable|TransferLog|TypesConfig|UnsetEnv|UseCanonicalName|User|UserDir|VirtualDocumentRoot)"
+color brightcyan "(VirtualDocumentRootIP|VirtualHost|VirtualScriptAlias|VirtualScriptAliasIP|Win32DisableAcceptEx|XBitHack)"
+color yellow "<[^>]+>"
+color brightcyan "</?[A-Za-z]+"
+color brightcyan "(<|</|>)"
+color green "\"(\\.|[^\"])*\""
+color white "#.*"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/arduino.nanorc b/skel/.config/nano/arduino.nanorc
new file mode 100644 (file)
index 0000000..1c60033
--- /dev/null
@@ -0,0 +1,116 @@
+
+## FILENAME:    arduino.nanorc
+##
+## DESCRIPTION: The arduino.nanorc syntax files allows syntax highlighting
+##              for Arduino sketch files in the GNU nano text editor.
+##
+## Maintainer:  Nicholas Wilde
+## Version:     0.1
+## DATE:        06/23/2011
+##
+## HOMEPAGE:    http://code.google.com/p/arduino-nano-editor-syntax/
+##
+## COMMENTS:    -Most of the code was taken from the c.nanorc code found with 
+##               GNU nano 2.2.6.
+##              -Direction was taken from the arduino vim syntax code by johannes
+##               <https://bitbucket.org/johannes/arduino-vim-syntax/>
+##              -Tested on Ubuntu Server 11.04 Natty Narwhal and GNU nano 2.2.6
+##
+## DIRECTIONS:  For Ubuntu Server 11.04 Natty Narwhal:
+##              -Move this file <arduino.nanorc> to the nano directory
+##               /usr/share/nano/
+##              -Add arduino.nanorc reference to the nanorc settings file
+##               /etc/nanorc
+##               ...
+##               ## Arduino
+##               /usr/share/nano/arduino.nanorc
+##               ...
+
+syntax "INO"  "\.?ino$"
+
+## 
+color brightred "\<[A-Z_][0-9A-Z_]+\>" 
+
+## 
+color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>"
+
+## Constants
+icolor green "\<(HIGH|LOW|INPUT|OUTPUT)\>"
+
+## Serial Print
+icolor red "\<(DEC|BIN|HEX|OCT|BYTE)\>"
+
+## PI Constants
+icolor green "\<(PI|HALF_PI|TWO_PI)\>"
+
+## ShiftOut
+icolor green "\<(LSBFIRST|MSBFIRST)\>"
+
+## Attach Interrupt
+icolor green "\<(CHANGE|FALLING|RISING)\>"
+
+## Analog Reference
+icolor green "\<(DEFAULT|EXTERNAL|INTERNAL|INTERNAL1V1|INTERNAL2V56)\>"
+
+## === FUNCTIONS === ##
+
+## Data Types
+color green "\<(boolean|byte|char|float|int|long|word)\>"
+
+## Control Structions
+color brightyellow "\<(case|class|default|do|double|else|false|for|if|new|null|private|protected|public|short|signed|static|String|switch|this|throw|try|true|unsigned|void|while)\>" 
+color magenta "\<(goto|continue|break|return)\>"
+
+## Math
+color brightyellow "\<(abs|acos|asin|atan|atan2|ceil|constrain|cos|degrees|exp|floor|log|map|max|min|radians|random|randomSeed|round|sin|sq|sqrt|tan)\>"
+
+## Bits & Bytes
+color brightyellow "\<(bitRead|bitWrite|bitSet|bitClear|bit|highByte|lowByte)\>"
+
+## Analog I/O
+color brightyellow "\<(analogReference|analogRead|analogWrite)\>"
+
+## External Interrupts
+color brightyellow "\<(attachInterrupt|detachInterrupt)\>"
+
+## Time
+color brightyellow "\<(delay|delayMicroseconds|millis|micros)\>"
+
+## Digital I/O
+color brightyellow "\<(pinMode|digitalWrite|digitalRead)\>"
+
+## Interrupts
+color brightyellow "\<(interrupts|noInterrupts)\>"
+
+## Advanced I/O
+color brightyellow "\<(noTone|pulseIn|shiftIn|shiftOut|tone)\>"
+
+## Serial
+color magenta "\<(Serial|Serial1|Serial2|Serial3|begin|end|peek|read|print|println|available|flush)\>"
+
+## Structure
+color brightyellow "\<(setup|loop)\>"
+
+## 
+color brightcyan "^[[:space:]]*#[[:space:]]*(define|include(_next)?|(un|ifn?)def|endif|el(if|se)|if|warning|error|pragma)"
+
+## 
+color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
+
+## GCC builtins
+color cyan "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
+
+## String highlighting.  You will in general want your comments and
+## strings to come last, because syntax highlighting rules will be
+## applied in the order they are read in.
+color brightyellow "<[^=    ]*>" ""(\\.|[^"])*""
+
+## This string is VERY resource intensive!
+color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
+
+## Comments
+color brightblue "//.*"
+color brightblue start="/\*" end="\*/"
+
+## Trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/asciidoc.nanorc b/skel/.config/nano/asciidoc.nanorc
new file mode 100644 (file)
index 0000000..b16a74e
--- /dev/null
@@ -0,0 +1,47 @@
+syntax "AsciiDoc" "\.(asc|asciidoc|adoc)$"
+
+# main header
+color red "^====+$"
+# h1
+color red "^==[[:space:]].*$"
+color red "^----+$"
+# h2
+color magenta "^===[[:space:]].*$"
+color magenta "^~~~~+$"
+# h4
+color green "^====[[:space:]].*$"
+color green "^\^\^\^\^+$"
+# h5
+color brightblue "^=====[[:space:]].*$"
+color brightblue "^\+\+\+\++$"
+
+# attributes
+color brightgreen ":.*:"
+color brightred "\{[a-z0-9]*\}"
+color red "\\\{[a-z0-9]*\}"
+color red "\+\+\+\{[a-z0-9]*\}\+\+\+"
+
+# Paragraph Title
+color yellow "^\..*$"
+
+# source 
+color magenta "^\[(source,.+|NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]"
+
+# Other markup
+color yellow ".*[[:space:]]\+$"
+color yellow "_[^_]+_"
+color yellow "\*[^\*]+\*"
+color yellow "\+[^\+]+\+"
+color yellow "`[^`]+`"
+color yellow "\^[^\^]+\^"
+color yellow "~[^~]+~"
+color yellow "'[^']+'"
+
+color cyan "`{1,2}[^']+'{1,2}"
+
+# bullets
+color brightmagenta "^[[:space:]]*[\*\.-]{1,5}[[:space:]]"
+
+# anchors
+color brightwhite "\[\[.*\]\]"
+color brightwhite "<<.*>>"
diff --git a/skel/.config/nano/asm.nanorc b/skel/.config/nano/asm.nanorc
new file mode 100644 (file)
index 0000000..1273b8e
--- /dev/null
@@ -0,0 +1,17 @@
+## Here is an example for assembler.
+##
+syntax "ASM" "\.(S|s|asm)$"
+color red "\<[A-Z_]{2,}\>"
+color brightgreen "\.(data|subsection|text)"
+color green "\.(align|file|globl|global|hidden|section|size|type|weak)"
+color brightyellow "\.(ascii|asciz|byte|double|float|hword|int|long|short|single|struct|word)"
+icolor brightred "^[[:space:]]*[.0-9A-Z_]*:"
+color brightcyan "^[[:space:]]*#[[:space:]]*(define|undef|include|ifn?def|endif|elif|else|if|warning|error)"
+## Highlight strings (note: VERY resource intensive)
+color brightyellow "<[^=       ]*>" ""(\\.|[^"])*""
+color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
+## Highlight comments
+color brightblue "//.*"
+color brightblue start="/\*" end="\*/"
+## Highlight trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/awk.nanorc b/skel/.config/nano/awk.nanorc
new file mode 100644 (file)
index 0000000..ad343aa
--- /dev/null
@@ -0,0 +1,25 @@
+syntax "AWK" "\.awk$"
+header "^#!.*bin/(env +)?awk( |$)"
+
+color brightyellow "\$[A-Za-z0-9_!@#$*?-]+"
+color brightyellow "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>"
+color brightyellow "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>"
+color brightyellow "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>"
+color brightblue "\<(function|extension|BEGIN|END)\>"
+color red "[-+*/%^|!=&<>?;:]|\\|\[|\]"
+color cyan  "\<(for|if|while|do|else|in|delete|exit)\>"
+color cyan  "\<(break|continue|return)\>"
+color brightblue "\<(close|getline|next|nextfile|print|printf|system|fflush)\>"
+color brightblue "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>"
+color brightblue "\<(asort|asorti|gensub|gsub|index|length|match)\>"
+color brightblue "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>"
+color brightblue "\<(mktime|strftime|systime)\>"
+color brightblue "\<(and|compl|lshift|or|rshift|xor)\>"
+color brightblue "\<(bindtextdomain|dcgettext|dcngettext)\>"
+color magenta   "/.*[^\]/"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color magenta   "\\."
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color brightwhite,cyan "TODO:?"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/c.nanorc b/skel/.config/nano/c.nanorc
new file mode 100644 (file)
index 0000000..e51c99b
--- /dev/null
@@ -0,0 +1,42 @@
+## Here is an example for C/C++.
+##
+syntax "C" "\.(c(c|pp|xx)?|C)$" "\.(h(h|pp|xx)?|H)$" "\.ii?$" "\.(def)$"
+color brightred "\<[A-Z_][0-9A-Z_]+\>" 
+color green "\<(float|double|bool|char|wchar_t|int|short|long|sizeof|enum|void|static|const|struct|union|typedef|extern|(un)?signed|inline)\>"
+color green "\<((s?size)|(char(16|32))|((u_?)?int(8|16|32|64|ptr)))_t\>"
+color green "\<(class|namespace|template|public|protected|private|typename|this|friend|virtual|using|mutable|volatile|register|explicit)\>"
+color green "\<(for|if|while|do|else|case|default|switch)\>"
+color green "\<(try|throw|catch|operator|new|delete)\>"
+color green "\<((const|dynamic|reinterpret|static)_cast)\>"
+color green "\<(alignas|alignof|asm|auto|compl|concept|constexpr|decltype|export|noexcept|nullptr|requires|static_assert|thread_local|typeid|override|final)\>"
+color green "\<(and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\>"
+color brightmagenta "\<(goto|continue|break|return)\>"
+color brightcyan "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
+color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
+
+##
+## GCC builtins
+color green "__attribute__[[:space:]]*\(\([^)]*\)\)" "__(aligned|asm|builtin|hidden|inline|packed|restrict|section|typeof|weak)__"
+
+#Operator Color
+color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&" 
+
+#Parenthetical Color
+color magenta "[(){}]" "\[" "\]"
+
+
+##
+## String highlighting.  You will in general want your comments and
+## strings to come last, because syntax highlighting rules will be
+## applied in the order they are read in.
+color cyan "<[^=       ]*>" ""(\\.|[^"])*""
+##
+## This string is VERY resource intensive!
+#color cyan start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
+
+## Comment highlighting
+color brightblue "//.*"
+color brightblue start="/\*" end="\*/"
+
+## Trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/clojure.nanorc b/skel/.config/nano/clojure.nanorc
new file mode 100644 (file)
index 0000000..aac31f4
--- /dev/null
@@ -0,0 +1,33 @@
+## Clojure Syntax Highlighting
+##
+
+syntax "clojure" "\.((clj[s|c]?)|edn)"
+
+icolor green "defn? [0-9A-Z_]+"
+
+color brightgreen "[#']"
+color brightgreen "\<fn\>"
+color green "\<(map|reduce|filter|println)\>"
+
+color brightyellow "\<(if(-(let|not))?|condp?|when(-(let|not))?)\>"
+color brightyellow "\<(do(all|run|seq|sync)?|recur|loop)\>"
+color brightyellow "\<(try|catch|finally|throw)\>"
+color yellow "(\:else) "
+
+color brightcyan "\<(require|use|import|ns)\>"
+color cyan "(\:(require|use|import)) "
+
+color brightred "\<(let(fn)?|defn?)\>"
+color brightwhite "\((\/|((not|[<>\=])?\=?))"
+color brightwhite "\((\+|-|\*)'?"
+color brightwhite "\<(and|or|not|mod|quot|rem|inc|dec)\>"
+
+color magenta "[\(\)]"
+color magenta "(\[|\])"
+
+color yellow "\<(true|false|nil)\>"
+color brightyellow "(["][^"]*[^\\]["])|("")"
+
+color brightblue ";.*$"
+
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/cmake.nanorc b/skel/.config/nano/cmake.nanorc
new file mode 100644 (file)
index 0000000..e5ae059
--- /dev/null
@@ -0,0 +1,25 @@
+## CMake syntax highlighter for GNU Nano
+##
+syntax "CMake" "(CMakeLists\.txt|\.cmake)$"
+
+icolor green "^[[:space:]]*[A-Z0-9_]+"
+icolor brightyellow "^[[:space:]]*(include|include_directories|include_external_msproject)\>"
+
+icolor brightgreen "^[[:space:]]*\<((else|end)?if|else|(end)?while|(end)?foreach|break)\>"
+color brightgreen "\<(COPY|NOT|COMMAND|PROPERTY|POLICY|TARGET|EXISTS|IS_(DIRECTORY|ABSOLUTE)|DEFINED)\>[[:space:]]"
+color brightgreen "[[:space:]]\<(OR|AND|IS_NEWER_THAN|MATCHES|(STR|VERSION_)?(LESS|GREATER|EQUAL))\>[[:space:]]"
+
+icolor brightred "^[[:space:]]*\<((end)?(function|macro)|return)"
+
+#String Color
+color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
+color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
+
+icolor brightred start="\$(\{|ENV\{)" end="\}"
+color magenta "\<(APPLE|UNIX|WIN32|CYGWIN|BORLAND|MINGW|MSVC(_IDE|60|71|80|90)?)\>"
+
+icolor brightblue "^([[:space:]]*)?#.*"
+icolor brightblue "[[:space:]]#.*"
+
+## Trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/coffeescript.nanorc b/skel/.config/nano/coffeescript.nanorc
new file mode 100644 (file)
index 0000000..b901c25
--- /dev/null
@@ -0,0 +1,16 @@
+syntax "CoffeeScript" "\.coffee$"
+header "^#!.*/(env +)?coffee"
+
+color red "[!&|=\/*+\-\<\>]|\<(and|or|is|isnt|not)\>"
+color brightblue "[A-Za-z_][A-Za-z0-9_]*:[[:space:]]*(->|\()" "->"
+color brightblue "[()]"
+color cyan  "\<(for|of|continue|break|isnt|null|unless|this|else|if|return)\>"
+color cyan  "\<(try|catch|finally|throw|new|delete|typeof|in|instanceof)\>"
+color cyan  "\<(debugger|switch|while|do|class|extends|super)\>"
+color cyan  "\<(undefined|then|unless|until|loop|of|by|when)\>"
+color brightcyan  "\<(true|false|yes|no|on|off)\>"
+color brightyellow "@[A-Za-z0-9_]*"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/colortest.nanorc b/skel/.config/nano/colortest.nanorc
new file mode 100644 (file)
index 0000000..f2b44f2
--- /dev/null
@@ -0,0 +1,17 @@
+syntax "colorTest" "ColorTest$"
+
+color black "\<PLAIN\>"
+
+color red "\<red\>"
+color green "\<green\>"
+color yellow "\<yellow\>"
+color blue "\<blue\>"
+color magenta "\<magenta\>"
+color cyan "\<cyan\>"
+
+color brightred "\<brightred\>"
+color brightgreen "\<brightgreen\>"
+color brightyellow "\<brightyellow\>"
+color brightblue "\<brightblue\>"
+color brightmagenta "\<brightmagenta\>"
+color brightcyan "\<brightcyan\>"
diff --git a/skel/.config/nano/conf.nanorc b/skel/.config/nano/conf.nanorc
new file mode 100644 (file)
index 0000000..cf9f58a
--- /dev/null
@@ -0,0 +1,11 @@
+## Here is an example for nanorc files.
+##
+syntax "Conf" "\.c[o]?nf$"
+## Possible errors and parameters
+## Strings
+icolor white ""(\\.|[^"])*""
+## Comments
+icolor brightblue "^[[:space:]]*#.*$"
+icolor cyan "^[[:space:]]*##.*$"
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/conky.nanorc b/skel/.config/nano/conky.nanorc
new file mode 100644 (file)
index 0000000..518938d
--- /dev/null
@@ -0,0 +1,18 @@
+##
+## Syntax highlighting for conkyrc files.
+##
+##
+syntax "Conky" "(\.*conkyrc.*$|conky.conf)"
+
+## Configuration items
+color green "\<(alignment|append_file|background|border_inner_margin|border_outer_margin|border_width|color0|color1|color2|color3|color4|color5|color6|color7|color8|color9|colorN|cpu_avg_samples|default_bar_height|default_bar_width|default_color|default_gauge_height|default_gauge_width|default_graph_height|default_graph_width|default_outline_color|default_shade_color|diskio_avg_samples|display|double_buffer|draw_borders|draw_graph_borders|draw_outline|draw_shades|extra_newline|font|format_human_readable|gap_x|gap_y|http_refresh|if_up_strictness|imap|imlib_cache_flush_interval|imlib_cache_size|lua_draw_hook_post|lua_draw_hook_pre|lua_load|lua_shutdown_hook|lua_startup_hook|mail_spool|max_port_monitor_connections|max_text_width|max_user_text|maximum_width|minimum_height|minimum_width|mpd_host|mpd_password|mpd_port|music_player_interval|mysql_host|mysql_port|mysql_user|mysql_password|mysql_db|net_avg_samples|no_buffers|nvidia_display|out_to_console|out_to_http|out_to_ncurses|out_to_stderr|out_to_x|override_utf8_locale|overwrite_file|own_window|own_window_class|own_window_colour|own_window_hints|own_window_title|own_window_transparent|own_window_type|pad_percents|pop3|sensor_device|short_units|show_graph_range|show_graph_scale|stippled_borders|temperature_unit|template|template0|template1|template2|template3|template4|template5|template6|template7|template8|template9|text|text_buffer_size|times_in_seconds|top_cpu_separate|top_name_width|total_run_times|update_interval|update_interval_on_battery|uppercase|use_spacer|use_xft|xftalpha|xftfont)\>"
+
+## Configuration item constants
+color yellow "\<(above|below|bottom_left|bottom_right|bottom_middle|desktop|dock|no|none|normal|override|skip_pager|skip_taskbar|sticky|top_left|top_right|top_middle|middle_left|middle_right|middle_middle|undecorated|yes)\>"
+
+## Variables
+color brightblue "\<(acpiacadapter|acpifan|acpitemp|addr|addrs|alignc|alignr|apcupsd|apcupsd_cable|apcupsd_charge|apcupsd_lastxfer|apcupsd_linev|apcupsd_load|apcupsd_loadbar|apcupsd_loadgauge|apcupsd_loadgraph|apcupsd_model|apcupsd_name|apcupsd_status|apcupsd_temp|apcupsd_timeleft|apcupsd_upsmode|apm_adapter|apm_battery_life|apm_battery_time|audacious_bar|audacious_bitrate|audacious_channels|audacious_filename|audacious_frequency|audacious_length|audacious_length_seconds|audacious_main_volume|audacious_playlist_length|audacious_playlist_position|audacious_position|audacious_position_seconds|audacious_status|audacious_title|battery|battery_bar|battery_percent|battery_short|battery_time|blink|bmpx_album|bmpx_artist|bmpx_bitrate|bmpx_title|bmpx_track|bmpx_uri|buffers|cached|cmdline_to_pid|color|color0|color1|color2|color3|color4|color5|color6|color7|color8|color9|combine|conky_build_arch|conky_build_date|conky_version|cpu|cpubar|cpugauge|cpugraph|curl|desktop|desktop_name|desktop_number|disk_protect|diskio|diskio_read|diskio_write|diskiograph|diskiograph_read|diskiograph_write|distribution|downspeed|downspeedf|downspeedgraph|draft_mails|else|endif|entropy_avail|entropy_bar|entropy_perc|entropy_poolsize|eval|eve|exec|execbar|execgauge|execgraph|execi|execibar|execigauge|execigraph|execp|execpi|flagged_mails|font|format_time|forwarded_mails|freq|freq_g|fs_bar|fs_bar_free|fs_free|fs_free_perc|fs_size|fs_type|fs_used|fs_used_perc|goto|gw_iface|gw_ip|hddtemp|head|hr|hwmon|i2c|i8k_ac_status|i8k_bios|i8k_buttons_status|i8k_cpu_temp|i8k_left_fan_rpm|i8k_left_fan_status|i8k_right_fan_rpm|i8k_right_fan_status|i8k_serial|i8k_version|ibm_brightness|ibm_fan|ibm_temps|ibm_volume|ical|iconv_start|iconv_stop|if_empty|if_existing|if_gw|if_match|if_mixer_mute|if_mounted|if_mpd_playing|if_running|if_smapi_bat_installed|if_up|if_updatenr|if_xmms2_connected|image|imap_messages|imap_unseen|ioscheduler|irc|kernel|laptop_mode|lines|loadavg|loadgraph|lua|lua_bar|lua_gauge|lua_graph|lua_parse|machine|mails|mboxscan|mem|memwithbuffers|membar|memwithbuffersbar|memeasyfree|memfree|memgauge|memgraph|memmax|memperc|mixer|mixerbar|mixerl|mixerlbar|mixerr|mixerrbar|moc_album|moc_artist|moc_bitrate|moc_curtime|moc_file|moc_rate|moc_song|moc_state|moc_timeleft|moc_title|moc_totaltime|monitor|monitor_number|mpd_album|mpd_artist|mpd_bar|mpd_bitrate|mpd_elapsed|mpd_file|mpd_length|mpd_name|mpd_percent|mpd_random|mpd_repeat|mpd_smart|mpd_status|mpd_title|mpd_track|mpd_vol|mysql|nameserver|new_mails|nodename|nodename_short|no_update|nvidia|obsd_product|obsd_sensors_fan|obsd_sensors_temp|obsd_sensors_volt|obsd_vendor|offset|outlinecolor|pb_battery|pid_chroot|pid_cmdline|pid_cwd|pid_environ|pid_environ_list|pid_exe|pid_nice|pid_openfiles|pid_parent|pid_priority|pid_state|pid_state_short|pid_stderr|pid_stdin|pid_stdout|pid_threads|pid_thread_list|pid_time_kernelmode|pid_time_usermode|pid_time|pid_uid|pid_euid|pid_suid|pid_fsuid|pid_gid|pid_egid|pid_sgid|pid_fsgid|pid_read|pid_vmpeak|pid_vmsize|pid_vmlck|pid_vmhwm|pid_vmrss|pid_vmdata|pid_vmstk|pid_vmexe|pid_vmlib|pid_vmpte|pid_write|platform|pop3_unseen|pop3_used|processes|read_tcp|read_udp|replied_mails|rss|running_processes|running_threads|scroll|seen_mails|shadecolor|smapi|smapi_bat_bar|smapi_bat_perc|smapi_bat_power|smapi_bat_temp|sony_fanspeed|stippled_hr|stock|swap|swapbar|swapfree|swapmax|swapperc|sysname|tab|tail|tcp_ping|tcp_portmon|template0|template1|template2|template3|template4|template5|template6|template7|template8|template9|texeci|texecpi|threads|time|to_bytes|top|top_io|top_mem|top_time|totaldown|totalup|trashed_mails|tztime|gid_name|uid_name|unflagged_mails|unforwarded_mails|unreplied_mails|unseen_mails|updates|upspeed|upspeedf|upspeedgraph|uptime|uptime_short|user_names|user_number|user_terms|user_times|user_time|utime|voffset|voltage_mv|voltage_v|weather|wireless_ap|wireless_bitrate|wireless_essid|wireless_link_bar|wireless_link_qual|wireless_link_qual_max|wireless_link_qual_perc|wireless_mode|words|xmms2_album|xmms2_artist|xmms2_bar|xmms2_bitrate|xmms2_comment|xmms2_date|xmms2_duration|xmms2_elapsed|xmms2_genre|xmms2_id|xmms2_percent|xmms2_playlist|xmms2_size|xmms2_smart|xmms2_status|xmms2_timesplayed|xmms2_title|xmms2_tracknr|xmms2_url)\>"
+
+color brightblue "\$\{?[0-9A-Z_!@#$*?-]+\}?"
+color cyan "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color brightred "^TEXT$"
diff --git a/skel/.config/nano/csh.nanorc b/skel/.config/nano/csh.nanorc
new file mode 100644 (file)
index 0000000..da13126
--- /dev/null
@@ -0,0 +1,15 @@
+## Here is an example for c-shell scripts.
+##
+syntax "CSH" "\.csh$" "\.tcshrc" "\.cshrc" "\.login" "\.logout" "\.history"
+header "^#!.*/(env +)?(t)?csh( |$)"
+
+color green "\<(break|breaksw|case|continue|default|else|end|endif|endsw|exec|exit|foreach|goto|if|repeat|shift|switch|then|while)\>"
+color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color green "-[rfuMZwdgAUxlkebtAGoczpPsS]\>"
+color green "-(A\:|M\:|U\:|G\:)\>"
+color brightblue "\<(alias|bindkey|cat|cd|chmod|chown|complete|cp|echo|env|grep|install|ln|make|mkdir|mv|printenv|rm|sed|set|setenv|tar|touch|umask|unalias|uncomplete|unset|unsetenv)\>"
+icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
+icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
+color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
+color cyan "(^|[[:space:]])#.*$"
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/csharp.nanorc b/skel/.config/nano/csharp.nanorc
new file mode 100644 (file)
index 0000000..3093e0a
--- /dev/null
@@ -0,0 +1,26 @@
+syntax "C#" "\.cs$"
+
+# Class
+color brightmagenta  "class +[A-Za-z0-9]+ *((:) +[A-Za-z0-9.]+)?"
+
+# Annotation
+color magenta   "@[A-Za-z]+"
+
+color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
+color green     "\<(bool|byte|sbyte|char|decimal|double|float|IntPtr|int|uint|long|ulong|object|short|ushort|string|base|this|var|void)\>"
+color cyan  "\<(alias|as|case|catch|checked|default|do|dynamic|else|finally|fixed|for|foreach|goto|if|is|lock|new|null|return|switch|throw|try|unchecked|while)\>"
+color cyan  "\<(abstract|async|class|const|delegate|enum|event|explicit|extern|get|implicit|in|internal|interface|namespace|operator|out|override|params|partial|private|protected|public|readonly|ref|sealed|set|sizeof|stackalloc|static|struct|typeof|unsafe|using|value|virtual|volatile|yield)\>"
+# LINQ-only keywords (ones that cannot be used outside of a LINQ query - lots others can)
+color cyan  "\<(from|where|select|group|info|orderby|join|let|in|on|equals|by|ascending|descending)\>"
+color brightred     "\<(break|continue)\>"
+color brightcyan "\<(true|false)\>"
+color red "[-+/*=<>?:!~%&|]"
+color blue   "\<([0-9._]+|0x[A-Fa-f0-9_]+|0b[0-1_]+)[FL]?\>"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color magenta   "\\([btnfr]|'|\"|\\)"
+color magenta   "\\u[A-Fa-f0-9]{4}"
+color brightblack "(^|[[:space:]])//.*"
+color brightblack start="/\*" end="\*/"
+color brightwhite,cyan "TODO:?"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/css.nanorc b/skel/.config/nano/css.nanorc
new file mode 100644 (file)
index 0000000..3e6b83c
--- /dev/null
@@ -0,0 +1,13 @@
+## Here is an example for css files.
+##
+
+syntax "CSS" "\.(css|scss)$"
+color brightred     "."
+color brightyellow  start="\{" end="\}"
+color brightwhite   start=":" end="[;^\{]"
+color brightblue    ":active|:focus|:hover|:link|:visited|:link|:after|:before|$"
+color brightblue    start="\/\*" end="\*\/"
+color green         ";|:|\{|\}"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/csv.nanorc b/skel/.config/nano/csv.nanorc
new file mode 100644 (file)
index 0000000..14d7d9c
--- /dev/null
@@ -0,0 +1,16 @@
+# Rainbow CSV highlighting rules (12 column coverage)
+# Inspired by https://github.com/mechatroner/rainbow_csv
+syntax "CSV" "\.csv$"
+
+color brightmagenta "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?"
+color brightcyan "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?"
+color brightblue "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?"
+color brightyellow "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?"
+color brightgreen "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?"
+color brightred "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?([^,]*,?))?"
+color cyan "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,)?([^,]*,)?([^,]*,)?([^,]*,)?([^,]*,)?([^,]*,)?"
+color magenta "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,)?([^,]*,)?([^,]*,)?([^,]*,)?([^,]*,)?"
+color blue "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,)?([^,]*,)?([^,]*,)?([^,]*,)?"
+color yellow "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,)?([^,]*,)?([^,]*,)?"
+color green "^("([^"]*"")*[^"]*",?)("([^"]*"")*[^"]*",?)|^([^,]*,)?([^,]*,)?"
+color red "^("([^"]*"")*[^"]*",?)|^([^,]*,?))?"
diff --git a/skel/.config/nano/cython.nanorc b/skel/.config/nano/cython.nanorc
new file mode 100644 (file)
index 0000000..0f73704
--- /dev/null
@@ -0,0 +1,33 @@
+## Cython nanorc, based off of Python nanorc.
+##
+syntax "Cython" "\.pyx$" "\.pxd$" "\.pyi$"
+icolor brightred "def [ 0-9A-Z_]+"
+icolor brightred "cpdef [0-9A-Z_]+\(.*\):"
+icolor brightred "cdef cppclass [ 0-9A-Z_]+\(.*\):"
+
+
+
+# Python Keyword Color
+color green "\<(and|as|assert|class|def|DEF|del|elif|ELIF|else|ELSE|except|exec|finally|for|from|global|if|IF|import|in|is|lambda|map|not|or|pass|print|raise|try|while|with|yield)\>"
+color brightmagenta "\<(continue|break|return)\>"
+
+# Cython Keyword Color
+color green "\<(cdef|cimport|cpdef|cppclass|ctypedef|extern|include|namespace|property|struct)\>"
+color red "\<(bint|char|double|int|public|void|unsigned)\>"
+
+#Operator Color
+color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
+
+#Parenthetical Color
+color magenta "[(){}]" "\[" "\]"
+
+#String Color
+color cyan "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
+color cyan "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
+color cyan start=""""[^"]" end=""""" start="'''[^']" end="'''"
+
+# Comment Color
+color brightblue "#.*$"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/dot.nanorc b/skel/.config/nano/dot.nanorc
new file mode 100644 (file)
index 0000000..441a35c
--- /dev/null
@@ -0,0 +1,8 @@
+syntax "DOT" "\.(dot|gv)$"
+
+color cyan   "\<(digraph|edge|graph|node|subgraph)\>"
+color magenta "\<(arrowhead|arrowsize|arrowtail|bgcolor|center|color|constraint|decorateP|dir|distortion|fillcolor|fontcolor|fontname|fontsize|headclip|headlabel|height|labelangle|labeldistance|labelfontcolor|labelfontname|labelfontsize|label|layers|layer|margin|mclimit|minlen|name|nodesep|nslimit|ordering|orientation|pagedir|page|peripheries|port_label_distance|rankdir|ranksep|rank|ratio|regular|rotate|samehead|sametail|shapefile|shape|sides|size|skew|style|tailclip|taillabel|URL|weight|width)\>"
+color red  "=|->|--"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack "(^|[[:space:]])//.*"
+color brightblack start="/\*" end="\*/"
diff --git a/skel/.config/nano/dotenv.nanorc b/skel/.config/nano/dotenv.nanorc
new file mode 100644 (file)
index 0000000..3f21b9b
--- /dev/null
@@ -0,0 +1,10 @@
+## Syntax highlight for .env files, eg. https://symfony.com/doc/current/components/dotenv.html
+## 
+## Derived from sh.nanorc
+##
+syntax "dotenv" "\.env" "\.env\..+"
+
+color green "(\(|\)|\$|=)"
+color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
+color cyan "(^|[[:space:]])#.*$"
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/email.nanorc b/skel/.config/nano/email.nanorc
new file mode 100644 (file)
index 0000000..fd3cf70
--- /dev/null
@@ -0,0 +1,5 @@
+syntax "Email"
+
+color magenta "^>([^>].*|$)"
+color blue "^>>([^>].*|$)"
+color green "^>>>.*"
diff --git a/skel/.config/nano/erb.nanorc b/skel/.config/nano/erb.nanorc
new file mode 100644 (file)
index 0000000..9a581b2
--- /dev/null
@@ -0,0 +1,26 @@
+## A HTML+Ruby set for Syntax Highlighting .erb files (Embedded RubyRails Views etc) ERB
+## (c) 2009, Georgios V. Michalakidis - g.michalakidis@computer.org
+## Licensed under the CC (Creative Commons) License.
+##
+## https://github.com/geomic/ERB-And-More-Code-Highlighting-for-nano
+
+syntax "ERB" "\.erb$" "\.rhtml$"
+color blue start="<" end=">"
+color white start="<%" end="%>"
+color red "&[^;[[:space:]]]*;"
+color yellow "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>"
+color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*"
+icolor magenta "([  ]|^):[0-9A-Z_]+\>"
+color brightyellow "\<(__FILE__|__LINE__)\>"
+color brightmagenta "!/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*"
+color brightblue "`[^`]*`" "%x\{[^}]*\}"
+color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
+color brightgreen "#\{[^}]*\}"
+color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
+color cyan "#[^{].*$" "#$"
+color brightcyan "##[^{].*$" "##$"
+color green start="<<-?'?EOT'?" end="^EOT"
+color brightcyan "(XXX|TODO|FIXME|\?\?\?)"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/etc-hosts.nanorc b/skel/.config/nano/etc-hosts.nanorc
new file mode 100644 (file)
index 0000000..eb8a51e
--- /dev/null
@@ -0,0 +1,15 @@
+## Make /etc/hosts nicer to read, see `man hosts 5` to see the format
+syntax "/etc/hosts" "hosts"
+
+# IPv4
+color yellow "^[0-9\.]+\s"
+
+# IPv6
+icolor green "^[0-9a-f:]+\s"
+
+# interpunction
+color normal "[.:]"
+
+# comments
+color brightblack "^#.*"
+
diff --git a/skel/.config/nano/fish.nanorc b/skel/.config/nano/fish.nanorc
new file mode 100644 (file)
index 0000000..85fa258
--- /dev/null
@@ -0,0 +1,14 @@
+## Here is an example for Fish shell scripts.
+##
+syntax "Fish" "\.fish$"
+icolor brightgreen "^[0-9A-Z_]+\(\)"
+color green "\<(alias|begin|break|case|continue|contains|else|end|for|function|if|math|return|set|switch|test|while)\>"
+color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color green "\<(and|isatty|not|or|in)\>"
+color yellow "--[a-z-]+"
+color brightmagenta "\ -[a-z]+"
+color brightblue "\<(bg|bind|block|breakpoint|builtin|cd|command|commandline|complete|dirh|dirs|echo|emit|eval|exec|exit|fg|fish|fish_config|fish_ident|fish_pager|fish_prompt|fish_right_prompt|fish_update_completions|fishd|funced|funcsave|functions|help|history|jobs|mimedb|nextd|open|popd|prevd|psub|pushd|pwd|random|read|set_color|status|trap|type|ulimit|umask|vared)\>"
+icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
+color cyan "(^|[[:space:]])#.*$"
+color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/fortran.nanorc b/skel/.config/nano/fortran.nanorc
new file mode 100644 (file)
index 0000000..2b77e6b
--- /dev/null
@@ -0,0 +1,53 @@
+## Here is an example for Fortran 90/95
+
+syntax "Fortran" "\.([Ff]|[Ff]90|[Ff]95|[Ff][Oo][Rr])$"
+
+#color red "\<[A-Z_]a[0-9A-Z_]+\>" 
+color red "\<[0-9]+\>" 
+
+icolor green "\<(action|advance|all|allocatable|allocated|any|apostrophe)\>"
+icolor green "\<(append|asis|assign|assignment|associated|character|common)\>"
+icolor green "\<(complex|data|default|delim|dimension|double precision)\>"
+icolor green "\<(elemental|epsilon|external|file|fmt|form|format|huge)\>"
+icolor green "\<(implicit|include|index|inquire|integer|intent|interface)\>"
+icolor green "\<(intrinsic|iostat|kind|logical|module|none|null|only)\>"
+icolor green "\<(operator|optional|pack|parameter|pointer|position|private)\>"
+icolor green "\<(program|public|real|recl|recursive|selected_int_kind)\>"
+icolor green "\<(selected_real_kind|subroutine|status)\>"
+
+icolor cyan "\<(abs|achar|adjustl|adjustr|allocate|bit_size|call|char)\>" 
+icolor cyan "\<(close|contains|count|cpu_time|cshift|date_and_time)\>" 
+icolor cyan "\<(deallocate|digits|dot_product|eor|eoshift|function|iachar)\>" 
+icolor cyan "\<(iand|ibclr|ibits|ibset|ichar|ieor|iolength|ior|ishft|ishftc)\>" 
+icolor cyan "\<(lbound|len|len_trim|matmul|maxexponent|maxloc|maxval|merge)\>" 
+icolor cyan "\<(minexponent|minloc|minval|mvbits|namelist|nearest|nullify)\>" 
+icolor cyan "\<(open|pad|present|print|product|pure|quote|radix)\>" 
+icolor cyan "\<(random_number|random_seed|range|read|readwrite|replace)\>" 
+icolor cyan "\<(reshape|rewind|save|scan|sequence|shape|sign|size|spacing)\>" 
+icolor cyan "\<(spread|sum|system_clock|target|transfer|transpose|trim)\>" 
+icolor cyan "\<(ubound|unpack|verify|write|tiny|type|use|yes)\>"
+
+icolor yellow "\<(.and.|case|do|else|else?if|else?where|end|end?do|end?if)\>"
+icolor yellow "\<(end?select|.eqv.|forall|if|lge|lgt|lle|llt|.neqv.|.not.)\>"
+icolor yellow "\<(.or.|repeat|select case|then|where|while)\>"
+
+icolor magenta "\<(continue|cycle|exit|go?to|result|return)\>"
+
+#Operator Color
+color yellow "[.:;,+*|=!\%]" "<" ">" "/" "-" "&"
+
+#Parenthetical Color
+color magenta "[(){}]" "\[" "\]"
+
+# Add preprocessor commands.
+color brightcyan "^[[:space:]]*#[[:space:]]*(define|include|(un|ifn?)def|endif|el(if|se)|if|warning|error)"
+
+## String highlighting.  
+icolor cyan "<[^=     ]*>" ""(\\.|[^"])*""
+icolor cyan "<[^=     ]*>" "'(\\.|[^"])*'"
+
+## Comment highlighting
+icolor brightred "!.*$" "(^[Cc]| [Cc]) .*$"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/genie.nanorc b/skel/.config/nano/genie.nanorc
new file mode 100644 (file)
index 0000000..187e864
--- /dev/null
@@ -0,0 +1,53 @@
+## Here is an example for Genie.
+syntax "genie" "\.gs$"
+
+# Namespace.
+color magenta "\<(uses|namespace)\>"
+
+# Data types.
+color green "\<(bool|byte|char|date|datetime|decimal|double|float|int|long|object|sbyte|short|single|string|ulong|ushort)\>"
+
+# Definitions.
+color brightred "\<(const|class|construct|def|delegate|enum|exception|extern|event|final|get|init|inline|interface|override|prop|return|set|static|struct|var|virtual|weak)\>"
+
+# Keywords.
+color red "\<(abstract|as|and|break|case|cast|continue|default|delete|div|do|downto|dynamic|else|ensures|except|extern|finally|for|if|implements|in|isa|is|lock|new|not|of|out|or|otherwise|pass|private|raise|raises|readonly|ref|requires|to|try|unless|when|while)\>"
+
+# Special variables.
+color brightcyan "\<(self|super)\>"
+
+# Null value.
+color brightyellow "\<(null)\>"
+
+# Boolean.
+color yellow "\<(false|true)\>"
+
+# Builtin functions.
+color cyan "\<(array|assert|dict|list|max|min|print|prop|sizeof|typeof)\>"
+
+# Numbers.
+color brightmagenta "[0-9][0-9\.]*(m|ms|d|h|s|f|F|l|L)?"
+
+# Regular expression.
+color brightgreen "/(\\.|[^/])*/"
+
+# Double quoted string.
+color brightblue ""(\\.|[^"])*""
+
+# Single quoted string.
+color brightblue "'(\\.|[^'])*'"
+
+# Multiline string.
+color blue start=""""" end="""""
+
+# Line comment.
+color yellow "(^|[[:space:]])//.*"
+
+# Block comment.
+color yellow start="/\*" end="\*/"
+
+# Trailing whitespace.
+color ,green "[[:space:]]+$"
+
+# Spaces in front or rear of tabs.
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/gentoo.nanorc b/skel/.config/nano/gentoo.nanorc
new file mode 100644 (file)
index 0000000..24b5485
--- /dev/null
@@ -0,0 +1,50 @@
+## Here is an example for ebuilds/eclasses
+##
+syntax "Ebuild" "\.e(build|class)$"
+## All the standard portage functions
+color brightgreen "^src_(unpack|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))"
+## Highlight bash related syntax
+color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while|continue|break)\>"
+color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color green "-(e|d|f|r|g|u|w|x|L)\>"
+color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
+## Highlight variables ... official portage ones in red, all others in bright red
+color brightred "\$\{?[a-zA-Z_0-9]+\}?"
+color red "\<(ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|FILESDIR|WORKDIR|(P|R)?DEPEND|PROVIDE|DISTDIR|RESTRICT|USERLAND)\>"
+color red "\<(S|D|T|PV|PF|P|PN|A)\>" "\<C(XX)?FLAGS\>" "\<LDFLAGS\>" "\<C(HOST|TARGET|BUILD)\>"
+## Highlight portage commands
+color magenta "\<use(_(with|enable))?\> [!a-zA-Z0-9_+ -]*" "inherit.*"
+color brightblue "\<e(begin|end|conf|install|make|warn|infon?|error|log|patch|new(group|user))\>"
+color brightblue "\<die\>" "\<use(_(with|enable))?\>" "\<inherit\>" "\<has\>" "\<(has|best)_version\>" "\<unpack\>"
+color brightblue "\<(do|new)(ins|s?bin|doc|lib(\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)\>"
+color brightblue "\<do(python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>"
+color brightblue "prepall(docs|info|man|strip)" "prep(info|lib|lib\.(so|a)|man|strip)"
+color brightblue "\<(doc|ins|exe)into\>" "\<f(owners|perms)\>" "\<(exe|ins|dir)opts\>"
+## Highlight common commands used in ebuilds
+color blue "\<make\>" "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|let|ln|mkdir|mv|rm|sed|set|tar|touch|unset)\>"
+## Highlight comments (doesnt work that well)
+color yellow "#.*$"
+## Highlight strings (doesnt work that well)
+color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'"
+## Trailing space is bad!
+color ,green "[[:space:]]+$"
+
+## Here is an example for Portage control files
+##
+syntax "etc-portage" "\.(keywords|mask|unmask|use)$"
+## Base text:
+color green "^.+$"
+## Use flags:
+color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+"
+color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+"
+## Likely version numbers:
+color magenta "-[[:digit:]].*([[:space:]]|$)"
+## Accepted arches:
+color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86|x86-fbsd)\>"
+color white "[[:space:]][~-]?\*"
+## Categories:
+color cyan "^[[:space:]]*.*/"
+## Masking regulators:
+color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)"
+## Comments:
+color yellow "#.*$"
diff --git a/skel/.config/nano/git.nanorc b/skel/.config/nano/git.nanorc
new file mode 100644 (file)
index 0000000..0aaf475
--- /dev/null
@@ -0,0 +1,80 @@
+syntax "git-config" "git(config|modules)$|\.git/config$"
+
+color brightcyan "\<(true|false)\>"
+color cyan "^[[:space:]]*[^=]*="
+color brightmagenta "^[[:space:]]*\[.*\]$"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   +"
+
+# This code is free software; you can redistribute it and/or modify it under
+# the terms of the new BSD License.
+#
+# Copyright (c) 2010, Sebastian Staudt
+
+# A nano configuration file to enable syntax highlighting of some Git specific
+# files with the GNU nano text editor (http://www.nano-editor.org)
+#
+syntax "git-commit" "COMMIT_EDITMSG|TAG_EDITMSG"
+
+# Commit message
+color yellow ".*"
+
+# Comments
+color brightblack "^#.*"
+
+# Files changes
+color white       "#[[:space:]](deleted|modified|new file|renamed):[[:space:]].*"
+color red         "#[[:space:]]deleted:"
+color green       "#[[:space:]]modified:"
+color brightgreen "#[[:space:]]new file:"
+color brightblue  "#[[:space:]]renamed:"
+
+# Untracked filenames
+color black "^#        [^/?*:;{}\\]+\.[^/?*:;{}\\]+$"
+
+color brightmagenta "^#[[:space:]]Changes.*[:]"
+color brightred "^#[[:space:]]Your branch and '[^']+"
+color brightblack "^#[[:space:]]Your branch and '"
+color brightwhite "^#[[:space:]]On branch [^ ]+"
+color brightblack "^#[[:space:]]On branch"
+
+# Recolor hash symbols
+
+# Recolor hash symbols
+color brightblack "#"
+
+# Trailing spaces (+LINT is not ok, git uses tabs)
+color ,green "[[:space:]]+$"
+
+
+# This syntax format is used for interactive rebasing
+syntax "git-rebase-todo" "git-rebase-todo"
+
+# Default
+color yellow ".*"
+
+# Comments
+color brightblack "^#.*"
+
+# Rebase commands
+color green       "^(e|edit) [0-9a-f]{7,40}"
+color green       "^#  (e, edit)"
+color brightgreen "^(f|fixup) [0-9a-f]{7,40}"
+color brightgreen "^#  (f, fixup)"
+color brightwhite "^(p|pick) [0-9a-f]{7,40}"
+color brightwhite "^#  (p, pick)"
+color blue        "^(r|reword) [0-9a-f]{7,40}"
+color blue        "^#  (r, reword)"
+color brightred   "^(s|squash) [0-9a-f]{7,40}"
+color brightred   "^#  (s, squash)"
+color yellow      "^(x|exec) [^ ]+ [0-9a-f]{7,40}"
+color yellow      "^#  (x, exec)"
+
+# Recolor hash symbols
+color brightblack "#"
+
+# Commit IDs
+color brightblue "[0-9a-f]{7,40}"
+
diff --git a/skel/.config/nano/gitcommit.nanorc b/skel/.config/nano/gitcommit.nanorc
new file mode 120000 (symlink)
index 0000000..22ae20d
--- /dev/null
@@ -0,0 +1 @@
+git.nanorc
\ No newline at end of file
diff --git a/skel/.config/nano/glsl.nanorc b/skel/.config/nano/glsl.nanorc
new file mode 100644 (file)
index 0000000..1cec6cf
--- /dev/null
@@ -0,0 +1,15 @@
+syntax "GLSL" "\.(frag|vert|fp|vp|glsl)$"
+
+color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
+color green     "\<(void|bool|bvec2|bvec3|bvec4|int|ivec2|ivec3|ivec4|float|vec2|vec3|vec4|mat2|mat3|mat4|struct|sampler1D|sampler2D|sampler3D|samplerCUBE|sampler1DShadow|sampler2DShadow)\>"
+color green     "\<gl_(DepthRangeParameters|PointParameters|MaterialParameters|LightSourceParameters|LightModelParameters|LightModelProducts|LightProducts|FogParameters)\>"
+color cyan  "\<(const|attribute|varying|uniform|in|out|inout|if|else|return|discard|while|for|do)\>"
+color brightred     "\<(break|continue)\>"
+color brightcyan "\<(true|false)\>"
+color red "[-+/*=<>?:!~%&|^]"
+color blue   "\<([0-9]+|0x[0-9a-fA-F]*)\>"
+color brightblack "(^|[[:space:]])//.*"
+color brightblack start="/\*" end="\*/"
+color brightwhite,cyan "TODO:?"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/go.nanorc b/skel/.config/nano/go.nanorc
new file mode 100644 (file)
index 0000000..b603c2f
--- /dev/null
@@ -0,0 +1,22 @@
+syntax "GO" "\.go$"
+
+color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
+color brightblue "\<(append|cap|close|complex|copy|delete|imag|len)\>"
+color brightblue "\<(make|new|panic|print|println|protect|real|recover)\>"
+color green     "\<(u?int(8|16|32|64)?|float(32|64)|complex(64|128))\>"
+color green     "\<(uintptr|byte|rune|string|interface|bool|map|chan|error)\>"
+color cyan  "\<(package|import|const|var|type|struct|func|go|defer|nil|iota)\>"
+color cyan  "\<(for|range|if|else|case|default|switch|return)\>"
+color brightred     "\<(go|goto|break|continue)\>"
+color brightcyan "\<(true|false)\>"
+color red "[-+/*=<>!~%&|^]|:="
+color blue   "\<([0-9]+|0x[0-9a-fA-F]*)\>|'.'"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color magenta   "\\[abfnrtv'\"\\]"
+color magenta   "\\([0-7]{3}|x[A-Fa-f0-9]{2}|u[A-Fa-f0-9]{4}|U[A-Fa-f0-9]{8})"
+color yellow   "`[^`]*`"
+color brightblack "(^|[[:space:]])//.*"
+color brightblack start="/\*" end="\*/"
+color brightwhite,cyan "TODO:?"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/groff.nanorc b/skel/.config/nano/groff.nanorc
new file mode 100644 (file)
index 0000000..6a0ecc7
--- /dev/null
@@ -0,0 +1,24 @@
+## Here is an example for groff.
+##
+syntax "Groff" "\.m[ems]$" "\.rof" "\.tmac$" "^tmac."
+## The argument of .ds or .nr
+color cyan "^\.(ds|nr) [^[[:space:]]]*"
+## Single character escapes
+color brightmagenta "\\."
+## Highlight the argument of \f or \s in the same color
+color brightmagenta "\\f." "\\f\(.." "\\s(\+|\-)?[0-9]"
+## Newlines
+color cyan "(\\|\\\\)n(.|\(..)"
+color cyan start="(\\|\\\\)n\[" end="]"
+## Requests
+color brightgreen "^\.[[:space:]]*[^[[:space:]]]*"
+## Comments
+color yellow "^\.\\".*$"
+## Strings
+color green "(\\|\\\\)\*(.|\(..)"
+color green start="(\\|\\\\)\*\[" end="]"
+## Characters
+color brightred "\\\(.."
+color brightred start="\\\[" end="]"
+## Macro arguments
+color brightcyan "\\\\\$[1-9]"
diff --git a/skel/.config/nano/haml.nanorc b/skel/.config/nano/haml.nanorc
new file mode 100644 (file)
index 0000000..3337882
--- /dev/null
@@ -0,0 +1,18 @@
+syntax "Haml" "\.haml$"
+
+color cyan   "-|="
+color white "->|=>"
+icolor cyan "([  ]|^)%[0-9A-Z_]+\>"
+icolor magenta ":[0-9A-Z_]+\>"
+icolor yellow "\.[A-Z_]+\>"
+## Double quote & single quote
+color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
+color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
+## Vars
+color brightgreen  "#\{[^}]*\}"
+color brightblue "(@|@@)[0-9A-Z_a-z]+"
+## Comments
+color brightcyan "#[^{].*$" "#$"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/haskell.nanorc b/skel/.config/nano/haskell.nanorc
new file mode 100644 (file)
index 0000000..2b37ecf
--- /dev/null
@@ -0,0 +1,34 @@
+syntax "Haskell" "\.hs$"
+
+## Keywords
+color red "[ ](as|case|of|class|data|default|deriving|do|forall|foreign|hiding|if|then|else|import|infix|infixl|infixr|instance|let|in|mdo|module|newtype|qualified|type|where)[ ]"
+color red "(^data|^foreign|^import|^infix|^infixl|^infixr|^instance|^module|^newtype|^type)[ ]"
+color red "[ ](as$|case$|of$|class$|data$|default$|deriving$|do$|forall$|foreign$|hiding$|if$|then$|else$|import$|infix$|infixl$|infixr$|instance$|let$|in$|mdo$|module$|newtype$|qualified$|type$|where$)"
+
+## Various symbols
+color cyan "(\||@|!|:|_|~|=|\\|;|\(\)|,|\[|\]|\{|\})"
+
+## Operators
+color magenta "(==|/=|&&|\|\||<|>|<=|>=)"
+
+## Various symbols
+color cyan "(->|<-)"
+color magenta "\.|\$"
+
+## Data constructors
+color magenta "(True|False|Nothing|Just|Left|Right|LT|EQ|GT)"
+
+## Data classes
+color magenta "[ ](Read|Show|Enum|Eq|Ord|Data|Bounded|Typeable|Num|Real|Fractional|Integral|RealFrac|Floating|RealFloat|Monad|MonadPlus|Functor)"
+
+## Strings
+color yellow ""[^\"]*""
+
+## Comments
+color green "--.*"
+color green start="\{-" end="-\}"
+
+color brightred "undefined"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/hcl.nanorc b/skel/.config/nano/hcl.nanorc
new file mode 100644 (file)
index 0000000..b839d87
--- /dev/null
@@ -0,0 +1,36 @@
+## Syntax highlighting for Hashicorp Terraform / HCL files.
+
+# See:  https://github.com/hashicorp/hcl
+# Original author:  John Boero
+# License:  GPLv3 or newer
+
+syntax hcl "\.(tf|hcl)$"
+# No comments are permitted in JSON.
+comment ""
+
+# Numbers (used as value).
+color green ":[[:space:]]*\-?(0|[1-9][0-9]*)(\.[0-9]+)?([Ee]?[-+]?[0-9]+)?"
+# Values (well, any string).
+color brightmagenta "\".+\""
+# Hex numbers (used as value).
+color green ":[[:space:]]*\"#[0-9abcdefABCDEF]+\""
+# Escapes.
+color green "\\\\" "\\\"" "\\[bfnrt]" "\\u[0-9abcdefABCDEF]{4})"
+# Special words.
+color green "(true|false|null|output|path|vault|description|default|value)"
+
+color brightgreen "(variable|terraform|resource|provider|module)"
+
+# Names (very unlikely to contain a quote).
+color brightblue "\"[^"]+\"[[:space:]]*:"
+
+# Brackets, braces, and separators.
+color brightblue "\[" "\]"
+color brightred "\{" "\}"
+color brightred "," ":"
+
+# Comments.
+color cyan "(^|[[:space:]]+)(//|#).*$"
+
+# Trailing whitespace.
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/html.j2.nanorc b/skel/.config/nano/html.j2.nanorc
new file mode 120000 (symlink)
index 0000000..c18f7cb
--- /dev/null
@@ -0,0 +1 @@
+html.nanorc
\ No newline at end of file
diff --git a/skel/.config/nano/html.nanorc b/skel/.config/nano/html.nanorc
new file mode 100644 (file)
index 0000000..4f225d8
--- /dev/null
@@ -0,0 +1,41 @@
+## HTML syntax highlighting rules for Nano
+
+syntax "HTML" "\.html?(.j2)?$"
+magic "HTML document"
+comment "<!--|-->"
+
+## Emphasis tags
+color brightwhite start="<([biu]|em|strong)[^>]*>" end="</([biu]|em|strong)>"
+
+## Tags
+color cyan start="<" end=">"
+
+## Attributes
+color brightblue "[[:space:]](abbr|accept(-charset)?|accesskey|action|[av]?link|alt|archive|axis|background|(bg)?color|border)="
+color brightblue "[[:space:]](cell(padding|spacing)|char(off|set)?|checked|cite|class(id)?|compact|code(base|tag)?|cols(pan)?)="
+color brightblue "[[:space:]](content(editable)?|contextmenu|coords|data|datetime|declare|defer|dir|enctype)="
+color brightblue "[[:space:]](for|frame(border)?|headers|height|hidden|href(lang)?|hspace|http-equiv|id|ismap)="
+color brightblue "[[:space:]](label|lang|longdesc|margin(height|width)|maxlength|media|method|multiple)="
+color brightblue "[[:space:]](name|nohref|noresize|noshade|object|on(click|focus|load|mouseover|keypress)|profile|readonly|rel|rev)="
+color brightblue "[[:space:]](rows(pan)?|rules|scheme|scope|scrolling|shape|size|span|src|standby|start|style|summary|pattern)="
+color brightblue "[[:space:]](tabindex|target|text|title|type|usemap|v?align|value(type)?|vspace|width|xmlns|xml:space)="
+color brightblue "[[:space:]](required|disabled|selected)[[:space:]=>]"
+
+## Strings
+color yellow ""(\\.|[^"])*""
+
+## Named character references and entities
+color red "&#?[[:alnum:]]*;"
+
+## Template strings (not in the HTML spec, but very commonly used)
+color magenta "\{[^\}]*\}"
+color brightgreen "[[:space:]]((end)?if|(end)?for|in|not|(end)?block)[[:space:]]"
+
+## Comments
+color green start="<!--" end="-->"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
+
+## Reminders
+color brightwhite,yellow "(FIXME|TODO|XXX)"
diff --git a/skel/.config/nano/i3.nanorc b/skel/.config/nano/i3.nanorc
new file mode 100644 (file)
index 0000000..196836e
--- /dev/null
@@ -0,0 +1,15 @@
+## Here is an example for i3 Window Manager config
+##
+syntax "i3" "i3/config"
+header "^(.*)i3 config file"
+
+color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
+color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color green "-[Ldefgruwx]\>"
+color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
+color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
+icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
+icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
+color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
+color cyan "(^|[[:space:]])#.*$"
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/ical.nanorc b/skel/.config/nano/ical.nanorc
new file mode 100644 (file)
index 0000000..cd946e7
--- /dev/null
@@ -0,0 +1,20 @@
+syntax "iCal" "\.ics$"
+
+color green start="^BEGIN:VCALENDAR$" end="^END:VCALENDAR$"
+color yellow start="^BEGIN:VCARD$" end="^END:VCARD$"
+color brightblue start="^BEGIN:VJOURNAL$" end="^END:VJOURNAL$"
+color magenta start="^BEGIN:VTIMEZONE$" end="^END:VTIMEZONE"
+color cyan start="^BEGIN:VEVENT$" end="^END:VEVENT$"
+color brightmagenta start="^BEGIN:VALARM$" end="^END:VALARM$"
+color brightcyan start="^BEGIN:VFREEBUSY$" end="^END:VFREEBUSY$"
+
+# URLs
+color blue start="(https?|ftp)://" end="^[^ ]"
+# email
+icolor blue "mailto:[^ ]+"
+icolor white "mailto:"
+# parameters
+color brightyellow start="^[-A-Z0-9]" end=":"
+color white "^[-A-Z0-9]+"
+# section markers
+color red "^(BEGIN|END):.*$"
diff --git a/skel/.config/nano/ini.nanorc b/skel/.config/nano/ini.nanorc
new file mode 100644 (file)
index 0000000..d9fcee7
--- /dev/null
@@ -0,0 +1,11 @@
+syntax "INI" "\.(ini|desktop|lfl|override|cfg)$" "(mimeapps\.list|pinforc|setup\.cfg)$" "weechat/.+\.conf$"
+header "^\[[A-Za-z]+\]$"
+
+color brightcyan "\<(true|false)\>"
+color cyan "^[[:space:]]*[^=]*="
+color brightmagenta "^[[:space:]]*\[.*\]$"
+color red "[=;]"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack "(^|[[:space:]])(#([^{].*)?|;.*)$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/inputrc.nanorc b/skel/.config/nano/inputrc.nanorc
new file mode 100644 (file)
index 0000000..c2f6005
--- /dev/null
@@ -0,0 +1,10 @@
+syntax "Inputrc" "inputrc$"
+
+color red   "\<(off|none)\>"
+color green "\<on\>"
+color brightblue   "\<set|\$include\>"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color magenta     "\\.?"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/jade.nanorc b/skel/.config/nano/jade.nanorc
new file mode 100644 (file)
index 0000000..54fddd1
--- /dev/null
@@ -0,0 +1,45 @@
+syntax "Jade" "\.jade$"
+# Elements
+color yellow "^\s*([a-z0-9]+)"
+# Main elements
+color red "^\s*(html|head|body)"
+# Includes
+icolor magenta "^\s*(include)"
+# Variables
+color brightblue "^\s*(\-)\s(var)\s([a-z0-9]+)"
+icolor magenta "^\s*-\s(var)$" "^\s*-\s(var)\s"
+# Cases
+color brightblue "^\s*(case)\s(.*)"
+color cyan "^\s*(when)\s(.*)"
+icolor magenta "^\s*(case|when|default)$" "^\s*(case|when|default)\s"
+color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
+# Conditionals
+icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
+# For loops
+icolor magenta "^\s*-\s(for)"
+# Each
+icolor magenta "^\s*(each)$" "^\s*(each)\s"
+# Parenthesis content
+color blue start="\(" end="\)"
+# Strings
+color cyan "('[^']*')|(\"[^\"]*\")"
+# Parenthesis, commas, equals
+icolor green "\(" "\)" "\," "\="
+# Comments, dashes and spaces
+color blue "\s+(//.*)"
+color blue start="/\*" end="\*/"
+color white "^\s*(\-)"
+color ,green "[[:space:]]+$"
+# Unbuffered comments
+color brightblue "\s+(//-.*)"
+# HTML-style conditional comments
+color brightmagenta start="<!" end="!>"
+color brightmagenta "<!\[endif\]-->"
+# HTML-style elements
+color yellow "<([^!].*)>"
+# Pipes
+color yellow,magenta "\|"
+# Doctype
+color brightblack "^\s*(doctype)(.*)"
+# Links
+icolor brightgreen "https?:\/\/(www\.)?[a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)" "_blank"
diff --git a/skel/.config/nano/java.nanorc b/skel/.config/nano/java.nanorc
new file mode 100644 (file)
index 0000000..8d37d5c
--- /dev/null
@@ -0,0 +1,13 @@
+## Here is an example for Java.
+##
+syntax "Java" "\.java$"
+color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
+color red "\<(break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
+color cyan "\<(abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile)\>"
+color red ""[^"]*""
+color yellow "\<(true|false|null)\>"
+icolor yellow "\b(([1-9][0-9]+)|0+)\.[0-9]+\b" "\b[1-9][0-9]*\b" "\b0[0-7]*\b" "\b0x[1-9a-f][0-9a-f]*\b"
+color blue "//.*"
+color blue start="/\*" end="\*/"
+color brightblue start="/\*\*" end="\*/"
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/javascript.nanorc b/skel/.config/nano/javascript.nanorc
new file mode 100644 (file)
index 0000000..85925d3
--- /dev/null
@@ -0,0 +1,25 @@
+syntax "JavaScript" "\.js$"
+
+color blue   "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
+color blue   "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
+color blue   "\<[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
+color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[(]|)"
+color cyan  "\<(break|case|catch|continue|default|delete|do|else|finally)\>"
+color cyan  "\<(for|function|get|if|in|instanceof|new|return|set|switch)\>"
+color cyan  "\<(switch|this|throw|try|typeof|var|void|while|with)\>"
+color cyan  "\<(null|undefined|NaN)\>"
+color cyan  "\<(import|as|from|export)\>"
+color cyan  "\<(const|let|class|extends|get|set|of|async|await|yield)\>"
+color brightcyan "\<(true|false)\>"
+color green     "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>"
+color green     "\<(Map|WeakMap|Set|WeakSet|Promise|Symbol)\>"
+color green     "\<(Number|Object|RegExp|String)\>"
+color red "[-+/*=<>!~%?:&|]"
+color magenta   "/[^*]([^/]|(\\/))*[^\\]/[gim]*"
+color magenta   "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
+color brightblack "(^|[[:space:]])//.*"
+color brightblack "/\*.+\*/"
+color brightwhite,cyan "TODO:?"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'|(`|\})(\\.|[^`$]|$[^{])*(\$\{|`)"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/js.nanorc b/skel/.config/nano/js.nanorc
new file mode 100644 (file)
index 0000000..648d48e
--- /dev/null
@@ -0,0 +1,52 @@
+### all *js files  ( e.g. Firefox user.js, prefs.js )
+
+## Old version
+
+#syntax "JavaScript" "(\.|/|)js$"
+#color green "//.*$" start="\/\*" end="\*\/"
+#color blue "'(\\.|[^'])*'"
+#color red ""(\\.|[^\"])*""
+#color brightgreen "\<(true)\>"
+#color brightred "\<(false)\>" "http\:\/\/.*$"
+#color brightmagenta "[0-9](\\.|[^\"])*)"
+
+## New updated taken from http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting
+
+syntax "JavaScript" "\.(js)$"
+
+## Default
+color white "^.+$"
+
+## Decimal, cotal and hexadecimal numbers
+color yellow "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
+
+## Floating point number with at least one digit before decimal point
+color yellow "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
+color yellow "\<[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
+
+## Keywords
+color green "\<(break|case|catch|continue|default|delete|do|else|finally)\>"
+color green "\<(for|function|if|in|instanceof|new|null|return|switch)\>"
+color green "\<(switch|this|throw|try|typeof|undefined|var|void|while|with)\>"
+color green "\<(import|as|from|export)\>"
+color green "\<(const|let|class|extends|of|get|set|await|async|yield)\>"
+
+## Type specifiers
+color red "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>"
+color red "\<(WeakMap|Map|WeakSet|Set|Symbol|Promise)\>"
+color red "\<(Number|Object|RegExp|String)\>"
+color red "\<(true|false)\>"
+
+## String
+color brightyellow "L?\"(\\"|[^"])*\""
+color brightyellow "L?'(\'|[^'])*'"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
+
+## Escapes
+color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
+
+## Comments
+color brightblue start="/\*" end="\*/"
+color brightblue "//.*$"
diff --git a/skel/.config/nano/json.nanorc b/skel/.config/nano/json.nanorc
new file mode 100644 (file)
index 0000000..deca0e1
--- /dev/null
@@ -0,0 +1,11 @@
+syntax "JSON" "\.json$"
+header "^\{$"
+
+color blue   "\<[-]?[1-9][0-9]*([Ee][+-]?[0-9]+)?\>"  "\<[-]?[0](\.[0-9]+)?\>"
+color cyan  "\<null\>"
+color brightcyan "\<(true|false)\>"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightyellow "\"(\\"|[^"])*\"[[:space:]]*:"  "'(\'|[^'])*'[[:space:]]*:"
+color magenta   "\\u[0-9a-fA-F]{4}|\\[bfnrt'"/\\]"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/keymap.nanorc b/skel/.config/nano/keymap.nanorc
new file mode 100644 (file)
index 0000000..bd49759
--- /dev/null
@@ -0,0 +1,10 @@
+syntax "Keymap" "\.(k|key)?map$|Xmodmap$"
+
+color cyan  "\<(add|clear|compose|keycode|keymaps|keysym|remove|string)\>"
+color cyan  "\<(control|alt|shift)\>"
+color blue   "\<[0-9]+\>"
+color red "="
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack  "^!.*$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/kickstart.nanorc b/skel/.config/nano/kickstart.nanorc
new file mode 100644 (file)
index 0000000..255618f
--- /dev/null
@@ -0,0 +1,15 @@
+syntax "KickStart" "\.ks$" "\.kickstart$"
+
+color brightmagenta  "%[a-z]+"
+color cyan  "^[[:space:]]*(install|cdrom|text|graphical|volgroup|logvol|reboot|timezone|lang|keyboard|authconfig|firstboot|rootpw|user|firewall|selinux|repo|part|partition|clearpart|bootloader)"
+color cyan  "--(name|mirrorlist|baseurl|utc)(=|\>)"
+color brightyellow "\$(releasever|basearch)\>"
+
+# Packages and groups
+color brightblack "^@[A-Za-z][A-Za-z-]*"
+color brightred   "^-@[a-zA-Z0-9*-]+"
+color red         "^-[a-zA-Z0-9*-]+"
+
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/ledger.nanorc b/skel/.config/nano/ledger.nanorc
new file mode 100644 (file)
index 0000000..8d07329
--- /dev/null
@@ -0,0 +1,10 @@
+syntax "Ledger" "(^|\.|/)ledger|ldgr|beancount|bnct$"
+
+color brightmagenta  "^([0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}|[=~]) .*"
+color blue   "^[0-9]{4}(/|-)[0-9]{2}(/|-)[0-9]{2}"
+color brightyellow "^~ .*"
+color brightblue "^= .*"
+color cyan  "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z ]+(:[A-Za-z ]+)*\)?"
+color cyan  "^[[:space:]]+(![[:space:]]+)?\(?[A-Za-z_-]+(:[A-Za-z_-]+)*\)?"
+color red "[*!]"
+color brightblack  "^[[:space:]]*;.*"
diff --git a/skel/.config/nano/license b/skel/.config/nano/license
new file mode 100644 (file)
index 0000000..9032bab
--- /dev/null
@@ -0,0 +1,15 @@
+    nano run control files
+    Copyright (C) 2014+ Anthony Scopatz et al.
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
diff --git a/skel/.config/nano/lisp.nanorc b/skel/.config/nano/lisp.nanorc
new file mode 100644 (file)
index 0000000..5039255
--- /dev/null
@@ -0,0 +1,13 @@
+syntax "Lisp" "(emacs|zile)$" "\.(el|li?sp|scm|ss)$"
+
+color brightblue "\([a-z-]+"
+color red "\(([-+*/<>]|<=|>=)|'"
+color blue   "\<[0-9]+\>"
+icolor cyan "\<nil\>"
+color brightcyan  "\<[tT]\>"
+color yellow   "\"(\\.|[^"])*\""
+color magenta   "'[A-Za-z][A-Za-z0-9_-]+"
+color magenta   "\\.?"
+color brightblack  "(^|[[:space:]]);.*"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/lua.nanorc b/skel/.config/nano/lua.nanorc
new file mode 100644 (file)
index 0000000..9138a8f
--- /dev/null
@@ -0,0 +1,76 @@
+##############################################################################
+#
+# Lua syntax highlighting for Nano.
+#
+# Author:  Matthew Wild <mwild1 (at) gmail.com>
+# License: GPL 2  or later
+#
+# Version: 2007-06-06
+#
+# Notes: Originally based on Ruby syntax rc by Josef 'Jupp' Schugt
+##############################################################################
+
+
+# Automatically use for '.lua' files
+syntax "Lua" ".*\.lua$"
+
+# General
+color brightwhite ".+"
+
+# Operators
+color brightyellow ":|\*\*|\*|/|%|\+|-|\^|>|>=|<|<=|~=|=|\.\.|\<(not|and|or)\>"
+
+# Statements
+color brightblue "\<(do|end|while|repeat|until|if|elseif|then|else|for|in|function|local|return)\>"
+
+# Keywords
+color brightyellow "\<(debug|string|math|table|io|coroutine|os|utf8|bit32)\>\."
+color brightyellow "\<(_ENV|_G|_VERSION|assert|collectgarbage|dofile|error|getfenv|getmetatable|ipairs|load|loadfile|module|next|pairs|pcall|print|rawequal|rawget|rawlen|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|unpack|xpcall)\s*\("
+
+# Standard library
+color brightyellow "io\.\<(close|flush|input|lines|open|output|popen|read|tmpfile|type|write)\>"
+color brightyellow "math\.\<(abs|acos|asin|atan2|atan|ceil|cosh|cos|deg|exp|floor|fmod|frexp|huge|ldexp|log10|log|max|maxinteger|min|mininteger|modf|pi|pow|rad|random|randomseed|sinh|sqrt|tan|tointeger|type|ult)\>"
+color brightyellow "os\.\<(clock|date|difftime|execute|exit|getenv|remove|rename|setlocale|time|tmpname)\>"
+color brightyellow "package\.\<(config|cpath|loaded|loadlib|path|preload|seeall|searchers|searchpath)\>"
+color brightyellow "string\.\<(byte|char|dump|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|sub|unpack|upper)\>"
+color brightyellow "table\.\<(concat|insert|maxn|move|pack|remove|sort|unpack)\>"
+color brightyellow "utf8\.\<(char|charpattern|codes|codepoint|len|offset)\>"
+color brightyellow "coroutine\.\<(create|isyieldable|resume|running|status|wrap|yield)\>"
+color brightyellow "debug\.\<(debug|getfenv|gethook|getinfo|getlocal|getmetatable|getregistry|getupvalue|getuservalue|setfenv|sethook|setlocal|setmetatable|setupvalue|setuservalue|traceback|upvalueid|upvaluejoin)\>"
+color brightyellow "bit32\.\<(arshift|band|bnot|bor|btest|bxor|extract|replace|lrotate|lshift|rrotate|rshift)\>"
+
+# File handle methods
+color brightyellow "\:\<(close|flush|lines|read|seek|setvbuf|write)\>"
+
+# false, nil, true
+color brightmagenta "\<(false|nil|true)\>"
+
+# External files
+color brightgreen "(\<(dofile|require|include)|%q|%!|%Q|%r|%x)\>"
+
+# Numbers
+color red "\<([0-9]+)\>"
+
+# Symbols
+color brightmagenta "(\(|\)|\[|\]|\{|\})"
+
+# Strings
+color red "\"(\\.|[^\\\"])*\"|'(\\.|[^\\'])*'"
+
+# Multiline strings
+color red start="\s*\[\[" end="\]\]"
+
+# Escapes
+color red "\\[0-7][0-7][0-7]|\\x[0-9a-fA-F][0-9a-fA-F]|\\[abefnrs]|(\\c|\\C-|\\M-|\\M-\\C-)."
+
+# Shebang
+color brightcyan "^#!.*"
+
+# Simple comments
+color green "\-\-.*$"
+
+# Multiline comments
+color green start="\s*\-\-\s*\[\[" end="\]\]"
+
+# Trailing whitespaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/makefile.nanorc b/skel/.config/nano/makefile.nanorc
new file mode 100644 (file)
index 0000000..12db1e2
--- /dev/null
@@ -0,0 +1,23 @@
+syntax "Makefile" "([Mm]akefile|\.ma?k)$"
+header "^#!.*/(env +)?[bg]?make( |$)"
+
+color cyan  "\<(ifeq|ifdef|ifneq|ifndef|else|endif)\>"
+color cyan  "^(export|include|override)\>"
+color brightmagenta  "^[^:=    ]+:"
+color brightmagenta  "^[^:+    ]+\+"
+color red "[=,%]" "\+=|\?=|:=|&&|\|\|"
+color brightblue "\$\((abspath|addprefix|addsuffix|and|basename|call|dir)[[:space:]]"
+color brightblue "\$\((error|eval|filter|filter-out|findstring|firstword)[[:space:]]"
+color brightblue "\$\((flavor|foreach|if|info|join|lastword|notdir|or)[[:space:]]"
+color brightblue "\$\((origin|patsubst|realpath|shell|sort|strip|suffix)[[:space:]]"
+color brightblue "\$\((value|warning|wildcard|word|wordlist|words)[[:space:]]"
+color black    "[()$]"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightyellow "\$+(\{[^} ]+\}|\([^) ]+\))"
+color brightyellow "\$[@^<*?%|+]|\$\([@^<*?%+-][DF]\)"
+color magenta   "\$\$|\\.?"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color brightblack  "^  @#.*"
+
+# Show trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/man.nanorc b/skel/.config/nano/man.nanorc
new file mode 100644 (file)
index 0000000..59334be
--- /dev/null
@@ -0,0 +1,9 @@
+## Here is an example for manpages.
+##
+syntax "Man" "\.[1-9]x?$"
+color green "\.(S|T)H.*$"
+color brightgreen "\.(S|T)H" "\.TP"
+color brightred "\.(BR?|I[PR]?).*$"
+color brightblue "\.(BR?|I[PR]?|PP)"
+color brightwhite "\\f[BIPR]"
+color yellow "\.(br|DS|RS|RE|PD)"
diff --git a/skel/.config/nano/markdown.nanorc b/skel/.config/nano/markdown.nanorc
new file mode 100644 (file)
index 0000000..448a396
--- /dev/null
@@ -0,0 +1,51 @@
+syntax "Markdown" "\.(md|mkd|mkdn|markdown)$"
+
+# Tables (Github extension)
+color cyan ".*[ :]\|[ :].*"
+
+# quotes
+color brightblack  start="^>" end="^$"
+color brightblack  "^>.*"
+
+# Emphasis
+color green "(^|[[:space:]])(_[^ ][^_]*_|\*[^ ][^*]*\*)"
+
+# Strong emphasis
+color brightgreen "(^|[[:space:]])(__[^ ][^_]*__|\*\*[^ ][^*]*\*\*)"
+
+# strike-through
+color red "(^|[[:space:]])~~[^ ][^~]*~~"
+
+# horizontal rules
+color brightmagenta "^(---+|===+|___+|\*\*\*+)\s*$"
+
+# headlines
+color brightmagenta  "^#{1,6}.*"
+
+# lists
+color blue   "^[[:space:]]*[\*+-] |^[[:space:]]*[0-9]+\. "
+
+# leading whitespace
+color black    "^[[:space:]]+"
+
+# misc
+color magenta   "\(([CcRr]|[Tt][Mm])\)" "\.{3}" "(^|[[:space:]])\-\-($|[[:space:]])"
+
+# links
+color brightblue "\[[^]]+\]"
+color brightblue "\[([^][]|\[[^]]*\])*\]\([^)]+\)"
+
+# images
+color magenta "!\[[^][]*\](\([^)]+\)|\[[^]]+\])"
+
+# urls
+color brightyellow "https?://[^ )>]+"
+
+# code
+color yellow   "`[^`]*`|^ {4}[^-+*].*"
+# code blocks
+color yellow start="^```[^$]" end="^```$"
+color yellow "^```$"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/mpdconf.nanorc b/skel/.config/nano/mpdconf.nanorc
new file mode 100644 (file)
index 0000000..3b4220b
--- /dev/null
@@ -0,0 +1,9 @@
+syntax "MPD" "mpd\.conf$"
+
+color cyan "\<(user|group|bind_to_address|host|port|plugin|name|type)\>"
+color cyan "\<((music|playlist)_directory|(db|log|state|pid|sticker)_file)\>"
+color brightmagenta "^(input|audio_output|decoder)[[:space:]]*\{|\}"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/mutt.nanorc b/skel/.config/nano/mutt.nanorc
new file mode 100644 (file)
index 0000000..5f90a5b
--- /dev/null
@@ -0,0 +1,4 @@
+## Here is an example for quoted emails (under e.g. mutt).
+##
+syntax "Mutt"
+color green "^>.*"
diff --git a/skel/.config/nano/nanorc b/skel/.config/nano/nanorc
new file mode 100644 (file)
index 0000000..812d6b9
--- /dev/null
@@ -0,0 +1,88 @@
+include "~/.nano/apacheconf.nanorc"
+include "~/.nano/arduino.nanorc"
+include "~/.nano/asciidoc.nanorc"
+include "~/.nano/asm.nanorc"
+include "~/.nano/awk.nanorc"
+include "~/.nano/c.nanorc"
+include "~/.nano/clojure.nanorc"
+include "~/.nano/cmake.nanorc"
+include "~/.nano/coffeescript.nanorc"
+include "~/.nano/colortest.nanorc"
+include "~/.nano/conf.nanorc"
+include "~/.nano/csharp.nanorc"
+include "~/.nano/css.nanorc"
+include "~/.nano/cython.nanorc"
+include "~/.nano/dot.nanorc"
+include "~/.nano/dotenv.nanorc"
+include "~/.nano/email.nanorc"
+include "~/.nano/Dockerfile.nanorc"
+include "~/.nano/etc-hosts.nanorc"
+include "~/.nano/fish.nanorc"
+include "~/.nano/fortran.nanorc"
+include "~/.nano/gentoo.nanorc"
+include "~/.nano/git.nanorc"
+include "~/.nano/gitcommit.nanorc"
+include "~/.nano/glsl.nanorc"
+include "~/.nano/go.nanorc"
+include "~/.nano/groff.nanorc"
+include "~/.nano/haml.nanorc"
+include "~/.nano/haskell.nanorc"
+include "~/.nano/html.nanorc"
+include "~/.nano/html.j2.nanorc"
+include "~/.nano/ical.nanorc"
+include "~/.nano/ini.nanorc"
+include "~/.nano/inputrc.nanorc"
+include "~/.nano/jade.nanorc"
+include "~/.nano/java.nanorc"
+include "~/.nano/javascript.nanorc"
+include "~/.nano/js.nanorc"
+include "~/.nano/json.nanorc"
+include "~/.nano/keymap.nanorc"
+include "~/.nano/kickstart.nanorc"
+include "~/.nano/ledger.nanorc"
+include "~/.nano/lisp.nanorc"
+include "~/.nano/lua.nanorc"
+include "~/.nano/makefile.nanorc"
+include "~/.nano/man.nanorc"
+include "~/.nano/markdown.nanorc"
+include "~/.nano/mpdconf.nanorc"
+include "~/.nano/mutt.nanorc"
+include "~/.nano/nanorc.nanorc"
+include "~/.nano/nginx.nanorc"
+include "~/.nano/nmap.nanorc"
+include "~/.nano/ocaml.nanorc"
+include "~/.nano/patch.nanorc"
+include "~/.nano/peg.nanorc"
+include "~/.nano/perl.nanorc"
+include "~/.nano/perl6.nanorc"
+include "~/.nano/php.nanorc"
+include "~/.nano/pkg-config.nanorc"
+include "~/.nano/pkgbuild.nanorc"
+include "~/.nano/po.nanorc"
+include "~/.nano/pov.nanorc"
+include "~/.nano/privoxy.nanorc"
+include "~/.nano/puppet.nanorc"
+include "~/.nano/pug.nanorc"
+include "~/.nano/python.nanorc"
+include "~/.nano/reST.nanorc"
+include "~/.nano/rpmspec.nanorc"
+include "~/.nano/ruby.nanorc"
+include "~/.nano/rust.nanorc"
+include "~/.nano/scala.nanorc"
+include "~/.nano/sed.nanorc"
+include "~/.nano/sh.nanorc"
+include "~/.nano/sls.nanorc"
+include "~/.nano/sql.nanorc"
+include "~/.nano/svn.nanorc"
+include "~/.nano/swift.nanorc"
+include "~/.nano/systemd.nanorc"
+include "~/.nano/tcl.nanorc"
+include "~/.nano/tex.nanorc"
+include "~/.nano/vala.nanorc"
+include "~/.nano/verilog.nanorc"
+include "~/.nano/vi.nanorc"
+include "~/.nano/xml.nanorc"
+include "~/.nano/xresources.nanorc"
+include "~/.nano/yaml.nanorc"
+include "~/.nano/yum.nanorc"
+include "~/.nano/zsh.nanorc"
diff --git a/skel/.config/nano/nanorc.nanorc b/skel/.config/nano/nanorc.nanorc
new file mode 100644 (file)
index 0000000..cecaa5b
--- /dev/null
@@ -0,0 +1,16 @@
+## Here is an example for nanorc files.
+##
+syntax "Nanorc" "\.?nanorc$"
+## Possible errors and parameters
+icolor brightred "^[[:space:]]*((un)?set|include|syntax|i?color).*$"
+## Keywords
+icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|positionlog|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds)\>"
+icolor green "^[[:space:]]*(bind|set|unset|syntax|header|include|magic)\>"
+## Colors
+icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>"
+icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)="
+## Strings
+icolor white ""(\\.|[^"])*""
+## Comments
+icolor brightblue "^[[:space:]]*#.*$"
+icolor cyan "^[[:space:]]*##.*$"
diff --git a/skel/.config/nano/nginx.nanorc b/skel/.config/nano/nginx.nanorc
new file mode 100644 (file)
index 0000000..0efc239
--- /dev/null
@@ -0,0 +1,13 @@
+syntax "Nginx" "nginx.*\.conf$" "\.nginx$" ".*\/sites\-available\/.*$" ".*\/sites\-enabled\/.*$"
+header "^(server|upstream)[^{]*\{$"
+
+color brightmagenta  "\<(events|server|http|location|upstream)[[:space:]]*\{"
+color cyan "(^|[[:space:]{;])(access_log|add_after_body|add_before_body|add_header|addition_types|aio|alias|allow|ancient_browser|ancient_browser_value|auth_basic|auth_basic_user_file|autoindex|autoindex_exact_size|autoindex_localtime|break|charset|charset_map|charset_types|chunked_transfer_encoding|client_body_buffer_size|client_body_in_file_only|client_body_in_single_buffer|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|create_full_put_path|daemon|dav_access|dav_methods|default_type|deny|directio|directio_alignment|disable_symlinks|empty_gif|env|error_log|error_page|expires|fastcgi_buffer_size|fastcgi_buffers|fastcgi_busy_buffers_size|fastcgi_cache|fastcgi_cache_bypass|fastcgi_cache_key|fastcgi_cache_lock|fastcgi_cache_lock_timeout|fastcgi_cache_min_uses|fastcgi_cache_path|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_index|fastcgi_intercept_errors|fastcgi_keep_conn|fastcgi_max_temp_file_size|fastcgi_next_upstream|fastcgi_no_cache|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_file_write_size|fastcgi_temp_path|flv|geo|geoip_city|geoip_country|gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_static|gzip_types|gzip_vary|if|if_modified_since|ignore_invalid_headers|image_filter|image_filter_buffer|image_filter_jpeg_quality|image_filter_sharpen|image_filter_transparency|include|index|internal|ip_hash|keepalive|keepalive_disable|keepalive_requests|keepalive_timeout|large_client_header_buffers|limit_conn|limit_conn_log_level|limit_conn_zone|limit_except|limit_rate|limit_rate_after|limit_req|limit_req_log_level|limit_req_zone|limit_zone|lingering_close|lingering_time|lingering_timeout|listen|location|log_format|log_not_found|log_subrequest|map|map_hash_bucket_size|map_hash_max_size|master_process|max_ranges|memcached_buffer_size|memcached_connect_timeout|memcached_next_upstream|memcached_pass|memcached_read_timeout|memcached_send_timeout|merge_slashes|min_delete_depth|modern_browser|modern_browser_value|mp4|mp4_buffer_size|mp4_max_buffer_size|msie_padding|msie_refresh|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|open_log_file_cache|optimize_server_names|override_charset|pcre_jit|perl|perl_modules|perl_require|perl_set|pid|port_in_redirect|postpone_output|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_timeout|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_cookie_domain|proxy_cookie_path|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_pass_header|proxy_read_timeout|proxy_redirect|proxy_send_timeout|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_cache_methods|proxy_pass_request_body|proxy_pass_request_headers|proxy_cache_convert_head|proxy_cache_lock_age|proxy_cache_max_range_offset|proxy_send_lowat|proxy_set_body|proxy_socket_keepalive|proxy_ssl_trusted_certificate|random_index|read_ahead|real_ip_header|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|return|rewrite|root|satisfy|satisfy_any|secure_link_secret|send_lowat|send_timeout|sendfile|sendfile_max_chunk|server|server|server_name|server_name_in_redirect|server_names_hash_bucket_size|server_names_hash_max_size|server_tokens|set|set_real_ip_from|source_charset|split_clients|ssi|ssi_silent_errors|ssi_types|ssl|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_engine|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_timeout|ssl_verify_client|ssl_verify_depth|ssl_ecdh_curve|ssl_session_tickets|ssl_stapling|ssl_stapling_verify|ssl_stapling_file|ssl_stapling_responder|ssl_buffer_size|ssl_early_data|ssl_password_file|ssl_session_ticket_key|ssl_trusted_certificate|sub_filter|sub_filter_once|sub_filter_types|tcp_nodelay|tcp_nopush|timer_resolution|try_files|types|types_hash_bucket_size|types_hash_max_size|underscores_in_headers|uninitialized_variable_warn|upstream|user|userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service|valid_referers|variables_hash_bucket_size|variables_hash_max_size|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|working_directory|xml_entities|xslt_stylesheet|xslt_types)([[:space:]]|$)"
+color brightcyan  "\<(on|off)\>"
+color brightyellow "\$[A-Za-z][A-Za-z0-9_]*"
+color red "[*]"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color yellow   start="'$" end="';$"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/nmap.nanorc b/skel/.config/nano/nmap.nanorc
new file mode 100644 (file)
index 0000000..c573f42
--- /dev/null
@@ -0,0 +1,18 @@
+syntax "NMAP" "\.nmap$"
+
+color yellow "^Nmap scan report for.*"
+color brightwhite "^Not shown.*"
+color brightwhite "^Host is up.*"
+color brightwhite "^All.*"
+
+color yellow "^[0-9]+/(tcp|udp).*$"
+color cyan "^[0-9]+/(tcp|udp)"
+
+color brightgreen "(Host is )?(open|up)"
+color white "\(([0-9]+\.[0-9]+s latency)\)\."
+color brightyellow "filtered"
+color brightred "(Host is )?(All .* scanned ports on .*)?(^Not shown: [0-9]+ )?(closed|down)( ports)?"
+
+color magenta "^PORT *STATE *SERVICE"
+
+color brightblue "^#.*"
\ No newline at end of file
diff --git a/skel/.config/nano/ocaml.nanorc b/skel/.config/nano/ocaml.nanorc
new file mode 100644 (file)
index 0000000..f5cd2c7
--- /dev/null
@@ -0,0 +1,27 @@
+syntax "OCaml" "\.mli?$"
+#uid
+color red "\<[A-Z][0-9a-z_]{2,}\>"
+#declarations
+color green "\<(let|val|method|in|and|rec|private|virtual|constraint)\>"
+#structure items
+color red "\<(type|open|class|module|exception|external)\>"
+#patterns
+color blue "\<(fun|function|functor|match|try|with)\>"
+#patterns-modifiers
+color yellow "\<(as|when|of)\>" 
+#conditions
+color cyan "\<(if|then|else)\>"
+#blocs
+color magenta "\<(begin|end|object|struct|sig|for|while|do|done|to|downto)\>"
+#constantes
+color green "\<(true|false)\>"
+#modules/classes
+color green "\<(include|inherit|initializer)\>"
+#expr modifiers
+color yellow "\<(new|ref|mutable|lazy|assert|raise)\>"
+#comments
+color white start="\(\*" end="\*\)"
+#strings (no multiline handling yet)
+color brightblack ""[^\"]*""
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/octave.nanorc b/skel/.config/nano/octave.nanorc
new file mode 100644 (file)
index 0000000..0b188b9
--- /dev/null
@@ -0,0 +1,24 @@
+# Source: https://wiki.octave.org/Nano
+# Octave syntax colors
+syntax "octave" "\.m$" "\.octaverc$"
+
+# keywords
+color brightyellow "(case|catch|do|else(if)?|for|function|if|otherwise|switch|try|until|unwind_protect(_cleanup)?|vararg(in|out)|while)"
+color brightyellow "end(_try_catch|_unwind_protect|for|function|if|switch|while)?"
+color magenta "(break|continue|return)"
+
+# storage-type
+color green "(global|persistent|static)"
+# data-type
+color green "(cell(str)?|char|double|(u)?int(8|16|32|64)|logical|single|struct)"
+
+# embraced
+# TODO: the next line needs to be fixed to work properly in all cases
+color brightred start="\(" end="\)"
+color blue start="\[|\{" end="\]|\}"
+
+# strings
+color yellow ""(\\.|[^\"])*"|'(\\.|[^\"])*'"
+
+# comments
+color brightblue "#.*|%.*"
diff --git a/skel/.config/nano/patch.nanorc b/skel/.config/nano/patch.nanorc
new file mode 100644 (file)
index 0000000..7e9b16a
--- /dev/null
@@ -0,0 +1,10 @@
+## Here is an example for patch files.
+##
+syntax "Patch" "\.(patch|diff)$"
+color brightgreen "^\+.*"
+color green "^\+\+\+.*"
+color brightblue "^ .*"
+color brightred "^-.*"
+color red "^---.*"
+color brightyellow "^@@.*"
+color magenta "^diff.*"
diff --git a/skel/.config/nano/peg.nanorc b/skel/.config/nano/peg.nanorc
new file mode 100644 (file)
index 0000000..3229752
--- /dev/null
@@ -0,0 +1,12 @@
+syntax "PEG" "\.l?peg$"
+
+color cyan  "^[[:space:]]*[A-Za-z][A-Za-z0-9_]*[[:space:]]*<-"
+color blue   "\^[+-]?[0-9]+"
+color red "[-+*?^/!&]|->|<-|=>"
+color brightyellow    "%[A-Za-z][A-Za-z0-9_]*"
+color magenta   "\[[^]]*\]"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack  "(^|[[:space:]])\-\-.*$"
+color brightwhite,cyan "TODO:?"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/perl.nanorc b/skel/.config/nano/perl.nanorc
new file mode 100644 (file)
index 0000000..3e629b9
--- /dev/null
@@ -0,0 +1,16 @@
+## Here is an example for Perl.
+##
+syntax "Perl" "\.p[lm]$"
+header "^#!.*/(env +)?perl( |$)"
+
+color red "\<(accept|alarm|atan2|bin(d|mode)|c(aller|h(dir|mod|op|own|root)|lose(dir)?|onnect|os|rypt)|d(bm(close|open)|efined|elete|ie|o|ump)|e(ach|of|val|x(ec|ists|it|p))|f(cntl|ileno|lock|ork))\>" "\<(get(c|login|peername|pgrp|ppid|priority|pwnam|(host|net|proto|serv)byname|pwuid|grgid|(host|net)byaddr|protobynumber|servbyport)|([gs]et|end)(pw|gr|host|net|proto|serv)ent|getsock(name|opt)|gmtime|goto|grep|hex|index|int|ioctl|join)\>" "\<(keys|kill|last|length|link|listen|local(time)?|log|lstat|m|mkdir|msg(ctl|get|snd|rcv)|next|oct|open(dir)?|ord|pack|pipe|pop|printf?|push|q|qq|qx|rand|re(ad(dir|link)?|cv|do|name|quire|set|turn|verse|winddir)|rindex|rmdir|s|scalar|seek(dir)?)\>" "\<(se(lect|mctl|mget|mop|nd|tpgrp|tpriority|tsockopt)|shift|shm(ctl|get|read|write)|shutdown|sin|sleep|socket(pair)?|sort|spli(ce|t)|sprintf|sqrt|srand|stat|study|substr|symlink|sys(call|read|tem|write)|tell(dir)?|time|tr(y)?|truncate|umask)\>" "\<(un(def|link|pack|shift)|utime|values|vec|wait(pid)?|wantarray|warn|write)\>"
+color magenta "\<(continue|else|elsif|do|for|foreach|if|unless|until|while|eq|ne|lt|gt|le|ge|cmp|x|my|sub|use|package|can|isa)\>"
+icolor cyan start="[$@%]" end="( |[^0-9A-Z_]|-)"
+color yellow ""[^"]*"|'[^']*'|qq\|.*\|"
+color white "[sm]/.*/"
+color white start="(^use| = new)" end=";"
+color green "#.*"
+color yellow start="<< 'STOP'" end="STOP"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/perl6.nanorc b/skel/.config/nano/perl6.nanorc
new file mode 100644 (file)
index 0000000..0660c56
--- /dev/null
@@ -0,0 +1,19 @@
+## Here is an example for perl
+## Hybrid perl5 / perl6 syntax highlighting
+### Found in CPAN - http://cpansearch.perl.org/src/NIGE/Goo-0.09/lib/.gooskel/nanorc
+
+syntax "Perl6" "\.p6$" "\.pl6$" "\.pm6"
+color brightblue "\<(accept|alarm|atan2|bin(d|mode)|c(aller|h(dir|mod|op|own|root)|lose(dir)?|onnect|os|rypt)|d(bm(close|open)|efined|elete|ie|o|ump)|e(ach|of|val|x(ec|ists|it|p))|f(cntl|ileno|lock|ork)|get(c|login|peername|pgrp|ppid|priority|pwnam|(host|net|proto|serv)byname|pwuid|grgid|(host|net)byaddr|protobynumber|servbyport)|([gs]et|end)(pw|gr|host|net|proto|serv)ent|getsock(name|opt)|gmtime|goto|grep|hex|index|int|ioctl|join|keys|kill|last|length|link|listen|local(time)?|log|lstat|m|mkdir|msg(ctl|get|snd|rcv)|next|oct|open(dir)?|ord|pack|pipe|pop|printf?|push|q|qq|qx|rand|re(ad(dir|link)?|cv|do|name|quire|set|turn|verse|winddir)|rindex|rmdir|s|scalar|seek|seekdir|se(lect|mctl|mget|mop|nd|tpgrp|tpriority|tsockopt)|shift|shm(ctl|get|read|write)|shutdown|sin|sleep|socket(pair)?|sort|spli(ce|t)|sprintf|sqrt|srand|stat|study|substr|symlink|sys(call|read|tem|write)|tell(dir)?|time|tr|y|truncate|umask|un(def|link|pack|shift)|utime|values|vec|wait(pid)?|wantarray|warn|write)\>"
+color brightblue "\<(continue|else|elsif|do|for|foreach|if|unless|until|while|eq|ne|lt|gt|le|ge|cmp|x|my|sub|use|package|can|isa)\>"
+
+# Perl 6 words
+color brightcyan "\<(has|is|class|role|given|when|BUILD|multi|returns|method|submethod|slurp|say|sub)\>"
+color brightmagenta start="[$@%]" end="( |\\W|-)"
+color brightred "".*"|qq\|.*\|"
+color white "[sm]/.*/"
+color brightblue start="(^use| = new)" end=";"
+color brightgreen "#.*"
+color brightred start="<<EOSQL" end="EOSQL"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/php.nanorc b/skel/.config/nano/php.nanorc
new file mode 100644 (file)
index 0000000..ec6832e
--- /dev/null
@@ -0,0 +1,40 @@
+## PHP Syntax Highlighting
+syntax "PHP" "\.php[2345s~]?$"
+color white start="<\?(php|=)?" end="\?>"
+# Functions
+color brightblue "([a-zA-Z0-9_-]*)\("
+# Constructs
+color brightblue "(class|extends|goto) ([a-zA-Z0-9_]*)"
+color green "[^a-z0-9_-]{1}(var|class|function|echo|case|break|default|exit|switch|if|else|elseif|endif|foreach|endforeach|@|while|public|private|protected|return|true|false|null|TRUE|FALSE|NULL|const|static|extends|as|array|require|include|require_once|include_once|define|do|continue|declare|goto|print|in|namespace|use)[^a-z0-9_-]{1}"
+color brightblue "[a-zA-Z0-9_]+:"
+# Variables
+color white "\$[a-zA-Z_0-9$]*|[=!<>]"
+color white "\->[a-zA-Z_0-9$]*|[=!<>]"
+# Special Characters
+color yellow "[.,{}();]"
+color yellow "\["
+color yellow "\]"
+color yellow "[=][^>]"
+# Numbers
+color magenta "[+-]*([0-9]\.)*[0-9]+([eE][+-]?([0-9]\.)*[0-9])*"
+color magenta "0x[0-9a-zA-Z]*"
+# Special Variables
+color brightblue "(\$this|parent::|self::|\$this->)"
+# Bitwise Operations
+color magenta "(\;|\||\^){1}"
+# And/Or/SRO/etc
+color green "(\;\;|\|\||::|=>|->)"
+# Online Comments
+color brightyellow "(#.*|//.*)$"
+# STRINGS!
+color red "('[^']*')|(\"[^\"]*\")"
+# Inline Variables
+color white "\{\$[^}]*\}"
+# PHP Tags
+color red "(<\?(php)?|\?>)"
+# General HTML
+color red start="\?>" end="<\?(php|=)?"
+# trailing whitespace
+color ,green "[^[:space:]]{1}[[:space:]]+$"
+# multi-line comments
+color brightyellow start="/\*" end="\*/"
diff --git a/skel/.config/nano/pkg-config.nanorc b/skel/.config/nano/pkg-config.nanorc
new file mode 100644 (file)
index 0000000..4c83ce8
--- /dev/null
@@ -0,0 +1,8 @@
+syntax "PC" "\.pc$"
+
+color cyan  "^(Name|Description|URL|Version|Conflicts|Cflags):"
+color cyan  "^(Requires|Libs)(\.private)?:"
+color red "="
+color brightyellow "\$\{[A-Za-z_][A-Za-z0-9_]*\}"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/pkgbuild.nanorc b/skel/.config/nano/pkgbuild.nanorc
new file mode 100644 (file)
index 0000000..85d359c
--- /dev/null
@@ -0,0 +1,26 @@
+## Arch PKGBUILD files
+##
+syntax "PKGBUILD" "^.*PKGBUILD$"
+color green start="^." end="$"
+color cyan "^.*(pkgbase|pkgname|epoch|pkgver|pkgrel|pkgdesc|arch|url|license).*=.*$"
+color brightcyan "\<(pkgbase|pkgname|epoch|pkgver|pkgrel|pkgdesc|arch|url|license)\>"
+color brightcyan "(\$|\$\{|\$\()(pkgbase|epoch|pkgname|pkgver|pkgrel|pkgdesc|arch|url|license)(\}|\))"
+color cyan "^.*(depends|makedepends|checkdepends|optdepends|conflicts|provides|replaces).*=.*$"
+color brightcyan "\<(depends|makedepends|checkdepends|optdepends|conflicts|provides|replaces)\>"
+color brightcyan "(\$|\$\{|\$\()(depends|makedepends|checkdepends|optdepends|conflicts|provides|replaces)(\}|\))"
+color cyan "^.*(groups|backup|noextract|options|validpgpkeys|changelog).*=.*$"
+color brightcyan "\<(groups|backup|noextract|options|validpgpkeys|changelog)\>"
+color brightcyan "(\$|\$\{|\$\()(groups|backup|noextract|options|validpgpkeys|changelog)(\}|\))"
+color cyan "^.*(install|source|md5sums|sha1sums|sha224sums|sha256sums|sha384sums|sha512sums).*=.*$"
+color brightcyan "\<(install|source|md5sums|sha1sums|sha224sums|sha256sums|sha384sums|sha512sums)\>"
+color brightcyan "(\$|\$\{|\$\()(install|source|md5sums|sha1sums|sha224sums|sha256sums|sha384sums|sha512sums)(\}|\))"
+color brightcyan "\<(startdir|srcdir|pkgdir)\>"
+color cyan "\.install"
+color brightwhite "=" "'" "\(" "\)" "\"" "#.*$" "\," "\{" "\}"
+color brightred "build\(\)"
+color brightred "package_.*.*$"
+color brightred "\<(configure|make|cmake|scons)\>"
+color red "\<(DESTDIR|PREFIX|prefix|sysconfdir|datadir|libdir|includedir|mandir|infodir)\>"
+
+## Trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/po.nanorc b/skel/.config/nano/po.nanorc
new file mode 100644 (file)
index 0000000..d434b2a
--- /dev/null
@@ -0,0 +1,8 @@
+syntax "PO" "\.pot?$"
+
+color cyan  "\<(msgid|msgstr)\>"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color magenta   "\\.?"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/pov.nanorc b/skel/.config/nano/pov.nanorc
new file mode 100644 (file)
index 0000000..f8cb8b5
--- /dev/null
@@ -0,0 +1,15 @@
+## Here is an example for POV-Ray.
+##
+syntax "POV" "\.(pov|POV|povray|POVRAY)$"
+color brightcyan "^[[:space:]]*#[[:space:]]*(declare)"
+color brightyellow "\<(sphere|cylinder|translate|matrix|rotate|scale)\>"
+color brightyellow "\<(orthographic|location|up|right|direction|clipped_by)\>"
+color brightyellow "\<(fog_type|fog_offset|fog_alt|rgb|distance|transform)\>"
+color brightred "^\<(texture)\>"
+color brightred "\<(light_source|background)\>"
+color brightred "\<(fog|object|camera)\>"
+color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color brightmagenta "\<(union|group|subgroup)\>"
+## Comment highlighting
+color brightblue "//.*"
+color brightblue start="/\*" end="\*/"
diff --git a/skel/.config/nano/privoxy.nanorc b/skel/.config/nano/privoxy.nanorc
new file mode 100644 (file)
index 0000000..6f1f609
--- /dev/null
@@ -0,0 +1,27 @@
+syntax "Privoxy-config" "privoxy/config$"
+
+color cyan "(accept-intercepted-requests|actionsfile|admin-address|allow-cgi-request-crunching|buffer-limit|compression-level|confdir|connection-sharing|debug|default-server-timeout|deny-access|enable-compression|enable-edit-actions|enable-remote-http-toggle|enable-remote-toggle|enforce-blocks|filterfile|forward|forwarded-connect-retries|forward-socks4|forward-socks4a|forward-socks5|handle-as-empty-doc-returns-ok|hostname|keep-alive-timeout|listen-address|logdir|logfile|max-client-connections|permit-access|proxy-info-url|single-threaded|socket-timeout|split-large-forms|templdir|toggle|tolerate-pipelining|trustfile|trust-info-url|user-manual)[[:space:]]"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
+
+syntax "Privoxy-action" "\.action$"
+
+color brightred   "[{[:space:]]\-block([[:space:]{}]|$)"
+color brightgreen "[{[:space:]]\+block([[:space:]{}]|$)"
+
+color brightred   "-(add-header|change-x-forwarded-for|client-header-filter|client-header-tagger|content-type-overwrite|crunch-client-header|crunch-if-none-match|crunch-incoming-cookies|crunch-outgoing-cookies|crunch-server-header|deanimate-gifs|downgrade-http-version|fast-redirects|filter|force-text-mode|forward-override|handle-as-empty-document|handle-as-image|hide-accept-language|hide-content-disposition|hide-from-header|hide-if-modified-since|hide-referrer|hide-user-agent|limit-connect|overwrite-last-modified|prevent-compression|redirect|server-header-filter|server-header-tagger|session-cookies-only|set-image-blocker)"
+color brightgreen "\+(add-header|change-x-forwarded-for|client-header-filter|client-header-tagger|content-type-overwrite|crunch-client-header|crunch-if-none-match|crunch-incoming-cookies|crunch-outgoing-cookies|crunch-server-header|deanimate-gifs|downgrade-http-version|fast-redirects|filter|force-text-mode|forward-override|handle-as-empty-document|handle-as-image|hide-accept-language|hide-content-disposition|hide-from-header|hide-if-modified-since|hide-referrer|hide-user-agent|limit-connect|overwrite-last-modified|prevent-compression|redirect|server-header-filter|server-header-tagger|session-cookies-only|set-image-blocker)"
+color magenta           "\\.?"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
+
+syntax "Privoxy-filter" "\.filter$"
+
+color cyan  "^(FILTER|CLIENT-HEADER-FILTER|CLIENT-HEADER-TAGGER|SERVER-HEADER-FILTER|SERVER-HEADER-TAGGER): [a-z-]+"
+color brightblue "^(FILTER|CLIENT-HEADER-FILTER|CLIENT-HEADER-TAGGER|SERVER-HEADER-FILTER|SERVER-HEADER-TAGGER):"
+color magenta   "\\.?"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/prolog.nanorc b/skel/.config/nano/prolog.nanorc
new file mode 100644 (file)
index 0000000..8475ab6
--- /dev/null
@@ -0,0 +1,35 @@
+## Here is a prolog example.
+
+syntax prolog "\.pl"
+comment "%"
+
+# Reset everything
+color normal ".*"
+
+# Integers and floats
+color yellow "(^| |=)[0-9]+\.?[0-9]*"
+
+# Variables
+color red "(^|[[:blank:]]|\(|,)[A-Z]+"
+color red "(^|[[:blank:]]|\(|,)_[0-9a-zA-Z_]+($|[[:blank:]]|,|\))"
+
+# Anonymous variable '_'
+color yellow "(^|[[:blank:]]|\(|,)_($|[[:blank:]]|,|\))"
+
+# Functions
+color cyan "(^|[[:blank:]])\w+\("
+color normal "\(|\)|\[|\]|,|=|\\="
+
+# Atoms
+color green start="\"" end="\""
+color green start="'" end="'"
+
+# Comments
+color white "(^|[[:blank:]])%.*$"
+color white start="/\*" end="\*/"
+
+# Reminders
+color black,yellow "(BUG|DEBUG|FIXME|IDEA|NOTE|REVIEW|TEMP|TODO|WARNING|XXX)"
+
+# Spaces in front of tabs
+color ,red " + +"
diff --git a/skel/.config/nano/pug.nanorc b/skel/.config/nano/pug.nanorc
new file mode 100644 (file)
index 0000000..49d4ab4
--- /dev/null
@@ -0,0 +1,45 @@
+syntax "Pug" "\.pug$"
+# Elements
+color yellow "^\s*([a-z0-9]+)"
+# Main elements
+color red "^\s*(html|head|body)"
+# Includes
+icolor magenta "^\s*(include)"
+# Variables
+color brightblue "^\s*(\-)\s(var)\s([a-z0-9]+)"
+icolor magenta "^\s*-\s(var)$" "^\s*-\s(var)\s"
+# Cases
+color brightblue "^\s*(case)\s(.*)"
+color cyan "^\s*(when)\s(.*)"
+icolor magenta "^\s*(case|when|default)$" "^\s*(case|when|default)\s"
+color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
+# Conditionals
+icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
+# For loops
+icolor magenta "^\s*-\s(for)"
+# Each
+icolor magenta "^\s*(each)$" "^\s*(each)\s"
+# Parenthesis content
+color blue start="\(" end="\)"
+# Strings
+color cyan "('[^']*')|(\"[^\"]*\")"
+# Parenthesis, commas, equals
+icolor green "\(" "\)" "\," "\="
+# Comments, dashes and spaces
+color blue "\s+(//.*)"
+color blue start="/\*" end="\*/"
+color white "^\s*(\-)"
+color ,green "[[:space:]]+$"
+# Unbuffered comments
+color brightblue "\s+(//-.*)"
+# HTML-style conditional comments
+color brightmagenta start="<!" end="!>"
+color brightmagenta "<!\[endif\]-->"
+# HTML-style elements
+color yellow "<([^!].*)>"
+# Pipes
+color yellow,magenta "\|"
+# Doctype
+color brightblack "^\s*(doctype)(.*)"
+# Links
+icolor brightgreen "https?:\/\/(www\.)?[a-zA-Z0-9@%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)" "_blank"
diff --git a/skel/.config/nano/puppet.nanorc b/skel/.config/nano/puppet.nanorc
new file mode 100644 (file)
index 0000000..8511dc5
--- /dev/null
@@ -0,0 +1,38 @@
+## Nano syntax highlighting for Puppet.
+##
+syntax "Puppet" "\.pp$"
+
+#This goes first, so the normal builtins will override in some classes
+## Paramerers
+color brightwhite "^[[:space:]]([a-z][a-z0-9_]+)"
+color brightgreen "\$[a-z:][a-z0-9_:]+"
+
+## List of built in types, also catches defines
+color yellow "\<(augeas|computer|cron|exec|file|filebucket|group|host|interface|k5login|macauthorization|mailalias|maillist|mcx|mount|nagios_command|nagios_contact|nagios_contactgroup|nagios_host|nagios_hostdependency|nagios_hostescalation|nagios_hostextinfo|nagios_hostgroup|nagios_service|nagios_servicedependency|nagios_serviceescalation|nagios_serviceextinfo|nagios_servicegroup|nagios_timeperiod|notify|package|resources|router|schedule|scheduled_task|selboolean|selmodule|service|ssh_authorized_key|sshkey|stage|tidy|user|vlan|yumrepo|zfs|zone|zpool|anchor)\>"
+color yellow "\<(class|define|if|else|undef|inherits)\>"
+color red "(=|-|~|>)"
+
+## Constants
+color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*"
+## Ruby "symbols"
+color magenta "([      ]|^):[0-9A-Z_]+\>"
+## Regular expressions
+color brightmagenta "/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*"
+## Shell command expansion is in `backticks` or like %x{this}.  These are
+## "double-quotish" (to use a perlism).
+color brightblue "`[^`]*`" "%x\{[^}]*\}"
+## Strings, double-quoted
+color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
+## Expression substitution.  These go inside double-quoted strings,
+## "like ${this}".
+color brightgreen "\$\{[^}]*\}"
+## Strings, single-quoted
+color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
+## Comments
+color cyan "#[^{].*$" "#$"
+color brightcyan "##[^{].*$" "##$"
+## Some common markers
+color brightcyan "(XXX|TODO|FIXME|\?\?\?)"
+## Trailing spaces
+color ,green "[[:space:]]+$"
+
diff --git a/skel/.config/nano/python.nanorc b/skel/.config/nano/python.nanorc
new file mode 100644 (file)
index 0000000..9c321e6
--- /dev/null
@@ -0,0 +1,53 @@
+## Python syntax highlighting rules for Nano
+
+syntax "python" "\.py$"
+header "^#!.*/(env +)?python[-0-9._]*( |$)"
+magic "Python script"
+
+## built-in objects
+color cyan "\<(None|self|True|False)\>"
+## built-in attributes
+color cyan "\<(__builtin__|__dict__|__methods__|__members__|__class__|__bases__|__import__|__name__|__doc__|__self__|__debug__)\>"
+## built-in functions
+color cyan "\<(abs|append|apply|buffer|callable|chr|clear|close|closed|cmp|coerce|compile|complex|conjugate|copy|count|delattr|dir|divmod|eval|execfile|exec|extend|fileno|filter|float|flush|get|getattr|globals|has_key|hasattr|hash|hex|id|index|input|insert|int|intern|isatty|isinstance|issubclass|items|keys|len|list|locals|long|map|max|min|mode|name|oct|open|ord|pop|pow|print|range|raw_input|read|readline|readlines|reduce|reload|remove|repr|reverse|round|seek|setattr|slice|softspace|sort|str|tell|truncate|tuple|type|unichr|unicode|update|values|vars|write|writelines|xrange|zip)\>"
+## built-in functions that were previously keywords
+color brightblue "\<(print|exec)\>([[:space:]]|$)"
+## special method names
+color cyan "\<(__abs__|__add__|__and__|__call__|__cmp__|__coerce__|__complex__|__concat__|__contains__|__del__|__delattr__|__delitem__|__delslice__|__div__|__divmod__|__float__|__getattr__|__getitem__|__getslice__|__hash__|__hex__|__init__|__int__|__inv__|__invert__|__len__|__long__|__lshift__|__mod__|__mul__|__neg__|__nonzero__|__oct__|__or__|__pos__|__pow__|__radd__|__rand__|__rcmp__|__rdiv__|__rdivmod__|__repeat__|__repr__|__rlshift__|__rmod__|__rmul__|__ror__|__rpow__|__rrshift__|__rshift__|__rsub__|__rxor__|__setattr__|__setitem__|__setslice__|__str__|__sub__|__xor__)\>"
+## exception classes
+color cyan "\<(Exception|StandardError|ArithmeticError|LookupError|EnvironmentError|AssertionError|AttributeError|EOFError|FloatingPointError|IOError|ImportError|IndexError|KeyError|KeyboardInterrupt|MemoryError|NameError|NotImplementedError|OSError|OverflowError|RuntimeError|SyntaxError|SystemError|SystemExit|TypeError|UnboundLocalError|UnicodeError|ValueError|WindowsError|ZeroDivisionError)\>"
+## types
+color brightcyan "\<(NoneType|TypeType|IntType|LongType|FloatType|ComplexType|StringType|UnicodeType|BufferType|TupleType|ListType|DictType|FunctionType|LambdaType|CodeType|ClassType|UnboundMethodType|InstanceType|MethodType|BuiltinFunctionType|BuiltinMethodType|ModuleType|FileType|XRangeType|TracebackType|FrameType|SliceType|EllipsisType)\>"
+## definitions
+color brightcyan "def [a-zA-Z_0-9]+" 
+## keywords
+color brightblue "\<(and|as|assert|break|class|continue|def|del|elif|else|except|finally|for|from|global|if|import|in|is|lambda|map|not|or|pass|raise|return|try|with|while|yield)\>"
+
+## decorators
+color brightgreen "@.*[(]"
+
+## operators
+color magenta "[.:;,+*|=!\%@]" "<" ">" "/" "-" "&"
+
+## parentheses
+color magenta "[(){}]" "\[" "\]"
+
+## numbers
+icolor brightyellow "\b(([1-9][0-9]+)|0+)\.[0-9]+j?\b" "\b([1-9][0-9]*[Lj]?)\b" "\b0o?[0-7]*L?\b" "\b0x[1-9a-f][0-9a-f]*L?\b" "\b0b[01]+\b"
+
+
+## strings
+color yellow "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
+color yellow "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
+
+## comments
+color green "^#.*|[[:space:]]#.*$"
+
+## block comments
+color yellow start=""""[^"]" end=""""" start="'''[^']" end="'''"
+
+## trailing spaces
+color ,green "[[:space:]]+$"
+
+## reminders
+color brightwhite,yellow "(FIXME|TODO|XXX)"
diff --git a/skel/.config/nano/reST.nanorc b/skel/.config/nano/reST.nanorc
new file mode 100644 (file)
index 0000000..c0152fd
--- /dev/null
@@ -0,0 +1,27 @@
+## For reST
+syntax "RST" "\.rest$" "\.rst$"
+# italics
+#color magenta "\*[^*]\*"
+# bold
+color red "\*\*[^*]+\*\*"
+# code block
+color brightred "::"
+# link reference
+color blue "`[^`]+`_{1,2}"
+# code
+color yellow "``[^`]+``"
+# directives or comments
+color cyan "^\.\. .*$"
+# anon link targets
+color cyan "^__ .*$"
+# h1
+color yellow "^###+$"
+color yellow "^\*\*\*+$"
+# h2
+color magenta "^===+$"
+# h3
+color red "^---+$"
+# h4
+color green "^\^\^\^+$"
+# h5
+color blue "^"""+$"
diff --git a/skel/.config/nano/rpmspec.nanorc b/skel/.config/nano/rpmspec.nanorc
new file mode 100644 (file)
index 0000000..eab8ee5
--- /dev/null
@@ -0,0 +1,27 @@
+syntax "Rpmspec" "\.spec$" "\.rpmspec$"
+
+color cyan  "\<(Icon|ExclusiveOs|ExcludeOs):"
+color cyan  "\<(BuildArch|BuildArchitectures|ExclusiveArch|ExcludeArch):"
+color cyan  "\<(Conflicts|Obsoletes|Provides|Requires|Requires\(.*\)|Enhances|Suggests|BuildConflicts|BuildRequires|Recommends|PreReq|Supplements):"
+color cyan  "\<(Epoch|Serial|Nosource|Nopatch):"
+color cyan  "\<(AutoReq|AutoProv|AutoReqProv):"
+color cyan  "\<(Copyright|License|Summary|Summary\(.*\)|Distribution|Vendor|Packager|Group|Source[0-9]*|Patch[0-9]*|BuildRoot|Prefix):"
+color cyan  "\<(Name|Version|Release|Url|URL):"
+color cyan  start="^(Source|Patch)" end=":"
+color cyan  "(i386|i486|i586|i686|athlon|ia64|alpha|alphaev5|alphaev56|alphapca56|alphaev6|alphaev67|sparc|sparcv9|sparc64armv3l|armv4b|armv4lm|ips|mipsel|ppc|ppc|iseries|ppcpseries|ppc64|m68k|m68kmint|Sgi|rs6000|i370|s390x|s390|noarch)"
+color cyan  "(ifarch|ifnarch|ifos|ifnos)"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightyellow    "%(if|else|endif|define|global|undefine)"
+color brightyellow    "%_?([A-Z_a-z_0-9_]*)"
+color brightyellow    start="%\{" end="\}"
+color brightyellow    start="%\{__" end="\}"
+color brightyellow "\$(RPM_BUILD_ROOT)\>"
+color brightmagenta  "^%(build$|changelog|check$|clean$|description)"
+color brightmagenta  "^%(files|install$|package|prep$)"
+color brightmagenta  "^%(pre|preun|pretrans|post|postun|posttrans)"
+color brightmagenta  "^%(trigger|triggerin|triggerpostun|triggerun|verifyscript)"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color blue   "^\*.*$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
+color brightwhite,cyan "TODO:?"
diff --git a/skel/.config/nano/ruby.nanorc b/skel/.config/nano/ruby.nanorc
new file mode 100644 (file)
index 0000000..ca4f3a6
--- /dev/null
@@ -0,0 +1,34 @@
+## Here is an example for Ruby.
+##
+syntax "Ruby" "\.rb$" "Gemfile" "config.ru" "Rakefile" "Capfile" "Vagrantfile"
+header "^#!.*/(env +)?ruby( |$)"
+
+## Asciibetical list of reserved words
+color yellow "\<(BEGIN|END|alias|and|begin|break|case|class|def|defined\?|do|else|elsif|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\>"
+## Constants
+color brightblue "(\$|@|@@)?\<[A-Z]+[0-9A-Z_a-z]*"
+## Ruby "symbols"
+icolor magenta "([     ]|^):[0-9A-Z_]+\>"
+## Some unique things we want to stand out
+color brightyellow "\<(__FILE__|__LINE__)\>"
+## Regular expressions
+color brightmagenta "/([^/]|(\\/))*/[iomx]*" "%r\{([^}]|(\\}))*\}[iomx]*"
+## Shell command expansion is in `backticks` or like %x{this}.  These are
+## "double-quotish" (to use a perlism).
+color brightblue "`[^`]*`" "%x\{[^}]*\}"
+## Strings, double-quoted
+color green ""([^"]|(\\"))*"" "%[QW]?\{[^}]*\}" "%[QW]?\([^)]*\)" "%[QW]?<[^>]*>" "%[QW]?\[[^]]*\]" "%[QW]?\$[^$]*\$" "%[QW]?\^[^^]*\^" "%[QW]?![^!]*!"
+## Expression substitution.  These go inside double-quoted strings,
+## "like #{this}".
+color brightgreen "#\{[^}]*\}"
+## Strings, single-quoted
+color green "'([^']|(\\'))*'" "%[qw]\{[^}]*\}" "%[qw]\([^)]*\)" "%[qw]<[^>]*>" "%[qw]\[[^]]*\]" "%[qw]\$[^$]*\$" "%[qw]\^[^^]*\^" "%[qw]![^!]*!"
+## Comments
+color cyan "#[^{].*$" "#$"
+color brightcyan "##[^{].*$" "##$"
+## "Here" docs
+color green start="<<-?'?EOT'?" end="^EOT"
+## Some common markers
+color brightcyan "(XXX|TODO|FIXME|\?\?\?)"
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/rust.nanorc b/skel/.config/nano/rust.nanorc
new file mode 100644 (file)
index 0000000..3d3c17a
--- /dev/null
@@ -0,0 +1,39 @@
+# Nano configuration for Rust
+# Copyright 2015 The Rust Project Developers.
+#
+# NOTE: Rules are applied in order: later rules re-colorize matching text.
+syntax "Rust" "\.rs"
+
+# function definition
+color magenta "fn [a-z0-9_]+"
+
+# Reserved words
+color yellow "\<(abstract|alignof|as|become|box|break|const|continue|crate|do|else|enum|extern|false|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|offsetof|override|priv|pub|pure|ref|return|sizeof|static|self|struct|super|true|trait|type|typeof|unsafe|unsized|use|virtual|where|while|yield)\>"
+
+# macros
+color red "[a-z_]+!"
+
+# Constants
+color magenta "[A-Z][A-Z_]+"
+
+# Traits/Enums/Structs/Types/etc.
+color magenta "[A-Z][a-z]+"
+
+# Strings
+color green "\".*\""
+color green start="\".*\\$" end=".*\""
+# NOTE: This isn't accurate but matching "#{0,} for the end of the string is too liberal
+color green start="r#+\"" end="\"#+"
+
+# Comments
+color blue "//.*"
+color blue start="/\*" end="\*/"
+
+# Attributes
+color magenta start="#!\[" end="\]"
+
+# Some common markers
+color brightcyan "(XXX|TODO|FIXME|\?\?\?)"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/scala.nanorc b/skel/.config/nano/scala.nanorc
new file mode 100644 (file)
index 0000000..4a11006
--- /dev/null
@@ -0,0 +1,12 @@
+## Here is an example for Scala.
+##
+syntax "Scala" "\.(scala|sc|sbt)$"
+color green "\<(boolean|byte|char|double|float|int|long|new|short|this|transient|void)\>"
+color red "\<(match|val|var|break|case|catch|continue|default|do|else|finally|for|if|return|switch|throw|try|while)\>"
+color cyan "\<(def|object|case|trait|lazy|implicit|abstract|class|extends|final|implements|import|instanceof|interface|native|package|private|protected|public|static|strictfp|super|synchronized|throws|volatile|sealed)\>"
+color red ""[^"]*""
+color yellow "\<(true|false|null)\>"
+color blue "//.*"
+color blue start="/\*" end="\*/"
+color brightblue start="/\*\*" end="\*/"
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/sed.nanorc b/skel/.config/nano/sed.nanorc
new file mode 100644 (file)
index 0000000..286c8ca
--- /dev/null
@@ -0,0 +1,9 @@
+syntax "SED" "\.sed$"
+header "^#!.*bin/(env +)?sed( |$)"
+
+color red "[|^$.*+]"
+color brightyellow "\{[0-9]+,?[0-9]*\}"
+color magenta   "\\."
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/sh.nanorc b/skel/.config/nano/sh.nanorc
new file mode 100644 (file)
index 0000000..a3854c9
--- /dev/null
@@ -0,0 +1,15 @@
+## Here is an example for Bourne shell scripts.
+##
+syntax "SH" "\.sh$" "\.bashrc" "bashrc" "\.bash_aliases" "bash_aliases" "\.bash_functions" "bash_functions" "\.bash_profile" "bash_profile" "revise\..+$"
+header "^#!.*/(env +)?(ba)?sh( |$)"
+
+color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
+color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+color green "-[Ldefgruwx]\>"
+color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
+color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>"
+icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
+icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
+color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
+color cyan "(^|[[:space:]])#.*$"
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/sls.nanorc b/skel/.config/nano/sls.nanorc
new file mode 100644 (file)
index 0000000..c8affff
--- /dev/null
@@ -0,0 +1,29 @@
+## SaltStack files (*.sls)
+##
+
+syntax "Salt" "\.sls$"
+
+# Anything ending in a colon (:), including things that start with a dash (-)
+color blue "^[^ -].*:$"
+color blue ".*:"
+# Except for salt:// URLs
+color white "salt:"
+
+# Numbers, etc
+color red "/*[0-9]/*"
+color red "\<(True|False)\>"
+
+# Anything between two single quotes
+color green ""(\\.|[^"])*"|'(\\.|[^'])*'"
+
+# Matching keywords
+color yellow "\<(grain|grains|compound|pcre|grain_pcre|list|pillar)\>"
+
+# Comments
+color brightblack "^#.*"
+
+# Logic keywords
+color magenta "\<(if|elif|else|or|not|and|endif|end)\>"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/sql.nanorc b/skel/.config/nano/sql.nanorc
new file mode 100644 (file)
index 0000000..1ebd574
--- /dev/null
@@ -0,0 +1,34 @@
+syntax "SQL" "\.sql$" "sqliterc$"
+
+icolor cyan "\<(ALL|ASC|AS|ALTER|AND|ADD|AUTO_INCREMENT)\>"
+icolor cyan "\<(BETWEEN|BINARY|BOTH|BY|BOOLEAN)\>"
+icolor cyan "\<(CHANGE|CHECK|COLUMNS|COLUMN|CROSS|CREATE)\>"
+icolor cyan "\<(DATABASES|DATABASE|DATA|DELAYED|DESCRIBE|DESC|DISTINCT|DELETE|DROP|DEFAULT)\>"
+icolor cyan "\<(ENCLOSED|ESCAPED|EXISTS|EXPLAIN)\>"
+icolor cyan "\<(FIELDS|FIELD|FLUSH|FOR|FOREIGN|FUNCTION|FROM)\>"
+icolor cyan "\<(GROUP|GRANT|HAVING)\>"
+icolor cyan "\<(IGNORE|INDEX|INFILE|INSERT|INNER|INTO|IDENTIFIED|IN|IS|IF)\>"
+icolor cyan "\<(JOIN|KEYS|KILL|KEY)\>"
+icolor cyan "\<(LEADING|LIKE|LIMIT|LINES|LOAD|LOCAL|LOCK|LOW_PRIORITY|LEFT|LANGUAGE)\>"
+icolor cyan "\<(MODIFY|NATURAL|NOT|NULL|NEXTVAL)\>"
+icolor cyan "\<(OPTIMIZE|OPTION|OPTIONALLY|ORDER|OUTFILE|OR|OUTER|ON)\>"
+icolor cyan "\<(PROCEDURE|PROCEDURAL|PRIMARY)\>"
+icolor cyan "\<(READ|REFERENCES|REGEXP|RENAME|REPLACE|RETURN|REVOKE|RLIKE|RIGHT)\>"
+icolor cyan "\<(SHOW|SONAME|STATUS|STRAIGHT_JOIN|SELECT|SETVAL|SET)\>"
+icolor cyan "\<(TABLES|TERMINATED|TO|TRAILING|TRUNCATE|TABLE|TEMPORARY|TRIGGER|TRUSTED)\>"
+icolor cyan "\<(UNIQUE|UNLOCK|USE|USING|UPDATE|VALUES|VARIABLES|VIEW)\>"
+icolor cyan "\<(WITH|WRITE|WHERE|ZEROFILL|TYPE|XOR)\>"
+color green     "\<(VARCHAR|TINYINT|TEXT|DATE|SMALLINT|MEDIUMINT|INT|INTEGER|BIGINT|FLOAT|DOUBLE|DECIMAL|DATETIME|TIMESTAMP|TIME|YEAR|UNSIGNED|CHAR|TINYBLOB|TINYTEXT|BLOB|MEDIUMBLOB|MEDIUMTEXT|LONGBLOB|LONGTEXT|ENUM|BOOL|BINARY|VARBINARY)\>"
+
+# SQLite meta commands
+icolor cyan "\.\<(databases|dump|echo|exit|explain|header(s)?|help)\>"
+icolor cyan "\.\<(import|indices|mode|nullvalue|output|prompt|quit|read)\>"
+icolor cyan "\.\<(schema|separator|show|tables|timeout|width)\>"
+color brightcyan  "\<(ON|OFF)\>"
+
+color blue   "\<([0-9]+)\>"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color yellow   "`(\\.|[^\\`])*`"
+color brightblack  "\-\-.*$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/svn.nanorc b/skel/.config/nano/svn.nanorc
new file mode 100644 (file)
index 0000000..c2f89ab
--- /dev/null
@@ -0,0 +1,14 @@
+syntax "svn-commit" "svn-commit(\.[[:digit:]]+)?\.tmp$"
+
+# commit message
+color yellow ".*"
+
+# ignore after line EDITOR_EOF_PREFIX (see svn/util.c)
+color brightblack "^--.+--$"
+
+# files changes
+color white       "^[ADM_](M|[[:space:]])[[:space:]](\+|[[:space:]])[[:space:]].*"
+color red         "^D[[:space:]]{4}"
+color green       "^[M_](M|[[:space:]])[[:space:]]{3}"
+color brightgreen "^A(M|[[:space:]])[[:space:]]{3}"
+color brightblue  "^A(M|[[:space:]])[[:space:]]\+[[:space:]]"
diff --git a/skel/.config/nano/swift.nanorc b/skel/.config/nano/swift.nanorc
new file mode 100644 (file)
index 0000000..d1af78e
--- /dev/null
@@ -0,0 +1,64 @@
+##############################################################################
+# Swift syntax highlighting for Nano. v.1.1
+##############################################################################
+
+syntax "Swift" "\.swift$"
+
+# Default
+color white ".+"
+
+# Operators
+color yellow "[.:;,+*|=!?\%]" "<" ">" "/" "-" "&"
+color brightyellow "[!]"
+
+# Statements
+color magenta  "\<(class|import|let|var|struct|enum|func|if|else|switch|case|default|for|in|static|private|public|throws)\>"
+color magenta  "\<(lazy|get|set|self|willSet|didSet|override|super|convenience|weak|strong|mutating|return|guard)\>"
+color magenta  "\<(protocol|typealias|prefix|postfix|operator|extension|internal|external|unowned)\>"
+
+# Keywords
+color cyan "\<(print)\>"
+color magenta "\<(init)\>"
+
+# Attribute
+color red "(@+[a-zA-Z]+)"
+
+# Numbers / Decimal Literal 
+color blue "\<([0-9]+)\>"
+# Unicode Literal "U+"
+color blue "\<(U\++[0-9A-Z]+)\>"
+# Binary Literal "0b"
+color blue "\<(0b+[0-1]+)\>"
+# Octal Literal "0o"
+color blue "\<(0o+[0-7]+)\>"
+# Hexadecimal Literal "0x"
+color blue "\<(0x+[0-9A-Fa-f]+)\>"
+
+# Standard Types
+color brightmagenta "\<((U)?Int(8|16|32|64))\>"
+color brightmagenta "\<(true|false|nil)\>"
+color brightmagenta "\<(UInt|Int|Double|String|Float|Bool|Dictionary|Array|Character|Range|Set|Bit|RawByte|Slice)\>"
+color brightmagenta "\<(UnicodeScalar|UnsafePointer|UnsafeMutablePointer)\>"
+color magenta "\<(AnyObject)\>"
+
+# Standard Type Aliases and Protocols
+color magenta "\<(AnyObject|AnyClass|GeneratorType|AnyGenerator|Element|Optional|Mirror)\>"
+color magenta "\<(UnicodeScalarType|IntMax|UIntMax|Void|Any|Comparable|Equatable|Hashable|SequenceType)\>"
+
+# Standard Libraries
+color cyan "\<(Foundation|Glibc|Darwin|XCTest)\>"
+
+# Text
+color red ""[^"]*""
+
+# Variable in Text
+color white start="\\\(" end="\)"
+
+# Comments
+color green "//.*"
+color brightgreen "///.*"
+color green start="/\*\*" end="\*/"
+color green "[/**]"
+
+# Trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/systemd.nanorc b/skel/.config/nano/systemd.nanorc
new file mode 100644 (file)
index 0000000..f4b9bf5
--- /dev/null
@@ -0,0 +1,12 @@
+syntax "Systemd" "\.(service|socket)$"
+header "^\[Unit\]$"
+
+color cyan  "^(Accept|After|Alias|AllowIsolate|Also|ANSI_COLOR|_AUDIT_LOGINUID|_AUDIT_SESSION|Backlog|Before|BindIPv6Only|BindsTo|BindToDevice|BlockIOReadBandwidth|BlockIOWeight|BlockIOWriteBandwidth|_BOOT_ID|Broadcast|BUG_REPORT_URL|BusName|Capabilities|CapabilityBoundingSet|CHASSIS|cipher|class|_CMDLINE|CODE_FILE|CODE_FUNC|CODE_LINE|_COMM|Compress|ConditionACPower|ConditionCapability|ConditionDirectoryNotEmpty|ConditionFileIsExecutable|ConditionFileNotEmpty|ConditionHost|ConditionKernelCommandLine|ConditionNull|ConditionPathExists|ConditionPathExistsGlob|ConditionPathIsDirectory|ConditionPathIsMountPoint|ConditionPathIsReadWrite|ConditionPathIsSymbolicLink|ConditionSecurity|ConditionVirtualization|Conflicts|ControlGroup|ControlGroupAttribute|ControlGroupModify|ControlGroupPersistent|controllers|Controllers|CPE_NAME|CPUAffinity|CPUSchedulingPolicy|CPUSchedulingPriority|CPUSchedulingResetOnFork|CPUShares|CrashChVT|CrashShell|__CURSOR|debug|DefaultControllers|DefaultDependencies|DefaultLimitAS|DefaultLimitCORE|DefaultLimitCPU|DefaultLimitDATA|DefaultLimitFSIZE|DefaultLimitLOCKS|DefaultLimitMEMLOCK|DefaultLimitMSGQUEUE|DefaultLimitNICE|DefaultLimitNOFILE|DefaultLimitNPROC|DefaultLimitRSS|DefaultLimitRTPRIO|DefaultLimitRTTIME|DefaultLimitSIGPENDING|DefaultLimitSTACK|DefaultStandardError|DefaultStandardOutput|Description|DeviceAllow|DeviceDeny|DirectoryMode|DirectoryNotEmpty|Documentation|DumpCore|entropy|Environment|EnvironmentFile|ERRNO|event_timeout|_EXE|ExecReload|ExecStart|ExecStartPost|ExecStartPre|ExecStop|ExecStopPost|ExecStopPre|filter|FONT|FONT_MAP|FONT_UNIMAP|ForwardToConsole|ForwardToKMsg|ForwardToSyslog|FreeBind|freq|FsckPassNo|fstab|_GID|Group|GuessMainPID|HandleHibernateKey|HandleLidSwitch|HandlePowerKey|HandleSuspendKey|hash|HibernateKeyIgnoreInhibited|HOME_URL|_HOSTNAME|ICON_NAME|ID|IdleAction|IdleActionSec|ID_LIKE|ID_MODEL|ID_MODEL_FROM_DATABASE|IgnoreOnIsolate|IgnoreOnSnapshot|IgnoreSIGPIPE|InaccessibleDirectories|InhibitDelayMaxSec|init|IOSchedulingClass|IOSchedulingPriority|IPTOS|IPTTL|JobTimeoutSec|JoinControllers|KeepAlive|KEYMAP|KEYMAP_TOGGLE|KillExcludeUsers|KillMode|KillOnlyUsers|KillSignal|KillUserProcesses|LidSwitchIgnoreInhibited|LimitAS|LimitCORE|LimitCPU|LimitDATA|LimitFSIZE|LimitLOCKS|LimitMEMLOCK|LimitMSGQUEUE|LimitNICE|LimitNOFILE|LimitNPROC|LimitRSS|LimitRTPRIO|LimitRTTIME|LimitSIGPENDING|LimitSTACK|link_priority|valueListenDatagram|ListenFIFO|ListenMessageQueue|ListenNetlink|ListenSequentialPacket|ListenSpecial|ListenStream|LogColor|LogLevel|LogLocation|LogTarget|luks|_MACHINE_ID|MakeDirectory|Mark|MaxConnections|MaxFileSec|MaxLevelConsole|MaxLevelKMsg|MaxLevelStore|MaxLevelSyslog|MaxRetentionSec|MemoryLimit|MemorySoftLimit|MESSAGE|MESSAGE_ID|MessageQueueMaxMessages|MessageQueueMessageSize|__MONOTONIC_TIMESTAMP|MountFlags|NAME|NAutoVTs|Nice|NonBlocking|NoNewPrivileges|NotifyAccess|OnActiveSec|OnBootSec|OnCalendar|OnFailure|OnFailureIsolate|OnStartupSec|OnUnitActiveSec|OnUnitInactiveSec|OOMScoreAdjust|Options|output|PAMName|PartOf|PassCredentials|PassSecurity|PathChanged|PathExists|PathExistsGlob|PathModified|PermissionsStartOnly|_PID|PIDFile|PipeSize|PowerKeyIgnoreInhibited|PRETTY_HOSTNAME|PRETTY_NAME|Priority|PRIORITY|PrivateNetwork|PrivateTmp|PropagatesReloadTo|pss|RateLimitBurst|RateLimitInterval|ReadOnlyDirectories|ReadWriteDirectories|__REALTIME_TIMESTAMP|ReceiveBuffer|RefuseManualStart|RefuseManualStop|rel|ReloadPropagatedFrom|RemainAfterExit|RequiredBy|Requires|RequiresMountsFor|RequiresOverridable|Requisite|RequisiteOverridable|ReserveVT|ResetControllers|Restart|RestartPreventExitStatus|RestartSec|RootDirectory|RootDirectoryStartOnly|RuntimeKeepFree|RuntimeMaxFileSize|RuntimeMaxUse|RuntimeWatchdogSec|samples|scale_x|scale_y|Seal|SecureBits|_SELINUX_CONTEXT|SendBuffer|SendSIGKILL|Service|ShowStatus|ShutdownWatchdogSec|size|SmackLabel|SmackLabelIPIn|SmackLabelIPOut|SocketMode|Sockets|SourcePath|_SOURCE_REALTIME_TIMESTAMP|SplitMode|StandardError|StandardInput|StandardOutput|StartLimitAction|StartLimitBurst|StartLimitInterval|static_node|StopWhenUnneeded|Storage|string_escape|none|replaceSuccessExitStatus|SupplementaryGroups|SUPPORT_URL|SuspendKeyIgnoreInhibited|SyslogFacility|SYSLOG_FACILITY|SyslogIdentifier|SYSLOG_IDENTIFIER|SyslogLevel|SyslogLevelPrefix|SYSLOG_PID|SystemCallFilter|SYSTEMD_ALIAS|_SYSTEMD_CGROUP|_SYSTEMD_OWNER_UID|SYSTEMD_READY|_SYSTEMD_SESSION|_SYSTEMD_UNIT|_SYSTEMD_USER_UNIT|SYSTEMD_WANTS|SystemKeepFree|SystemMaxFileSize|SystemMaxUse|SysVStartPriority|TCPCongestion|TCPWrapName|timeout|TimeoutSec|TimeoutStartSec|TimeoutStopSec|TimerSlackNSec|Transparent|_TRANSPORT|tries|TTYPath|TTYReset|TTYVHangup|TTYVTDisallocate|Type|_UID|UMask|Unit|User|UtmpIdentifier|VERSION|VERSION_ID|WantedBy|Wants|WatchdogSec|What|Where|WorkingDirectory)="
+color brightblue "^\.include\>"
+color red "="
+color brightmagenta  "^\[(Unit|Install|Service|Socket)\]"
+color brightyellow "\$MAINPID"
+color brightcyan "\<(true|false)\>"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/tcl.nanorc b/skel/.config/nano/tcl.nanorc
new file mode 100644 (file)
index 0000000..7829cb0
--- /dev/null
@@ -0,0 +1,24 @@
+syntax "TCL" "\.tcl$"
+header "^#!.*/(env +)?tclsh( |$)"
+
+## Standard Tcl [info commands]
+color cyan "\<(after|append|array|auto_execok|auto_import|auto_load|auto_load_index|auto_qualify|binary|break|case|catch|cd|clock|close|concat|continue|else|encoding|eof|error|eval|exec|exit|expr|fblocked|fconfigure|fcopy|file|fileevent|flush|for|foreach|format|gets|glob|global|history|if|incr|info|interp|join|lappend|lindex|linsert|list|llength|load|lrange|lreplace|lsearch|lset|lsort|namespace|open|package|pid|puts|pwd|read|regexp|regsub|rename|return|scan|seek|set|socket|source|split|string|subst|switch|tclLog|tell|time|trace|unknown|unset|update|uplevel|upvar|variable|vwait|while)\>"
+## Basic Tcl sub commands
+color cyan "\<(array anymore|array donesearch|array exists|array get|array names|array nextelement|array set|array size|array startsearch|array statistics|array unset)\>"
+color cyan "\<(string bytelength|string compare|string equal|string first|string index|string is|string last|string length|string map|string match|string range|string repeat|string replace|string to|string tolower|string totitle|string toupper|string trim|string trimleft|string trimright|string will|string wordend|string wordstart)\>"
+## Extended TclX [info commands]
+color cyan "\<(alarm|auto_load_pkg|bsearch|catclose|catgets|catopen|ccollate|cconcat|cequal|chgrp|chmod|chown|chroot|cindex|clength|cmdtrace|commandloop|crange|csubstr|ctoken|ctype|dup|echo|execl|fcntl|flock|fork|fstat|ftruncate|funlock|host_info|id|infox|keyldel|keylget|keylkeys|keylset|kill|lassign|lcontain|lempty|lgets|link|lmatch|loadlibindex|loop|lvarcat|lvarpop|lvarpush|max|min|nice|pipe|profile|random|readdir|replicate|scancontext|scanfile|scanmatch|select|server_accept|server_create|signal|sleep|sync|system|tclx_findinit|tclx_fork|tclx_load_tndxs|tclx_sleep|tclx_system|tclx_wait|times|translit|try_eval|umask|wait)\>"
+## Function declaration
+color brightblue "proc[[:space:]]" "(\{|\})"
+## Syntax
+color green "(\(|\)|\;|`|\\|\$|<|>|!|=|&|\|)"
+## Numbers
+color brightyellow "\<[0-9]+(\.[0-9]+)?\>"
+## Strings
+color yellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
+## Variables
+icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
+## Comments
+color magenta "(^|;)[[:space:]]*#.*"
+## Trailing whitespace
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/tex.nanorc b/skel/.config/nano/tex.nanorc
new file mode 100644 (file)
index 0000000..b768ed1
--- /dev/null
@@ -0,0 +1,9 @@
+## Here is a short example for TeX files.
+##
+syntax "TeX" "\.tex$" "bib" "\.bib$" "cls" "\.cls$"
+color yellow "\$(\\\$|[^$])*[^\\]\$"
+color yellow "\$\$(\\\$|[^$])*[^\\]\$\$"
+icolor green "\\.|\\[A-Z]*"
+color magenta "[{}]"
+color blue "%.*"
+color blue start="\\begin\{comment\}" end="\\end\{comment\}"
diff --git a/skel/.config/nano/ts.nanorc b/skel/.config/nano/ts.nanorc
new file mode 100644 (file)
index 0000000..9e09c7c
--- /dev/null
@@ -0,0 +1,39 @@
+syntax "typescript" "\.(ts)$"
+
+## Default
+color white "^.+$"
+
+## Decimal, cotal and hexadecimal numbers
+color yellow "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
+
+## Floating point number with at least one digit before decimal point
+color yellow "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
+color yellow "\<[-+]?([0-9]+[EePp][+-]?[0-9]+)[fFlL]?"
+
+## Keywords
+color green "\<(abstract|boolean|break|byte|case|catch|set)\>"
+color green "\<(class|const|continue|debugger|default|delete|readonly)\>"
+color green "\<(do|else|enum|export|extends|finally|final|for)\>"
+color green "\<(from|function|goto|if|implements|import|instanceof)\>"
+color green "\<(var|interface|int|in|let|new|package|private)\>"
+color green "\<(protected|public|return|static|super|switch)\>"
+color green "\<(this|throw|try|typeof)\>"
+color green "\<(void|while|with|yield)\>"
+
+## Type specifiers
+color red "\<(Array|Boolean|Date|Enumerator|Error|Function)\>"
+color red "\<(Number|Object|RegExp|String)\>"
+color red "\<(true|false)\>"
+
+## String
+color brightyellow "L?\"(\\"|[^"])*\""
+color brightyellow "L?'(\'|[^'])*'"
+color brightcyan "L?`(\`|[^`])*`"
+color brightwhite,blue start="\$\{" end="\}"
+
+## Escapes
+color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
+
+## Comments
+color magenta start="/\*" end="\*/"
+color magenta "//.*$"
diff --git a/skel/.config/nano/vala.nanorc b/skel/.config/nano/vala.nanorc
new file mode 100644 (file)
index 0000000..52f58b9
--- /dev/null
@@ -0,0 +1,18 @@
+syntax "Vala" "\.vala$"
+
+color green     "\<(float|double|bool|char|int|uint|short|long|void|(un)?signed)\>"
+color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
+color cyan  "\<(for|if|while|do|else|case|default|switch|try|throw|catch)\>"
+color cyan  "\<(inline|typedef|struct|enum|union|extern|static|const)\>"
+color cyan  "\<(operator|new|delete|return|null)\>"
+color cyan  "\<(class|override|private|public|signal|this|weak)\>"
+color brightred     "\<(goto|break|continue)\>"
+color brightcyan "\<(true|false)\>"
+color blue   "\<([0-9]+)\>"
+color red "[-+/*=<>?:!~%&|]" "->"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack "(^|[[:space:]])//.*"
+color brightblack start="/\*" end="\*/"
+color brightwhite,cyan "TODO:?"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/verilog.nanorc b/skel/.config/nano/verilog.nanorc
new file mode 100644 (file)
index 0000000..820b53d
--- /dev/null
@@ -0,0 +1,84 @@
+## (System)Verilog syntax highlighting.
+
+# See http://savannah.gnu.org/patch/?9356
+# From bc2635d9c8dcf6a71e834582501546fac6bdbfff Mon Sep 17 00:00:00 2001
+# From: Ben Rosser <rosser.bjr@gmail.com>
+# Date: Tue, 23 May 2017 17:43:15 -0400
+# Subject: [PATCH] Add Verilog nanorc file for syntax highlighting
+
+# This adds a verilog.nanorc file for syntax highlighting of Verilog
+# and SystemVerilog code. It is based off of the nanorc files for
+# Python and C.
+
+# All keywords in both Verilog (*.v, *.vh) and SystemVerilog (*.sv,
+# *.svh) are listed. Compiler directives (commands beginning with a
+# backtick) and builtin functions are also colorized.
+
+# Possibly the color scheme could use some work, but this is at least
+# a starting point. I based verilog.nanorc off of c.nanorc and
+# python.nanorc.
+
+syntax "verilog" "\.(v|vh|sv|svh)$"
+
+# I don't think we want this.
+#color brightred "\<[A-Z_][0-9A-Z_]+\>"
+
+# Module, package, etc. definitions: colorize their names.
+# (I'm not sure if brightred is a good color).
+icolor brightred "(module|package|task|interface|program|class) [0-9A-Z_]+"
+icolor brightred "function [0-9A-Z_]+ [0-9A-Z_]+"
+
+# Verilog keywords, taken from http://svref.renerta.com/sv00003.htm.
+color green "\<(always|and|assign|automatic|begin|buf|bufif0|bufif1|case|casex|casez|cell|class|cmos|config)\>"
+color green "\<(deassign|default|defparam|design|disable|edge|else|end|endcase|endconfig|endfunction|endgenerate)\>"
+color green "\<(endmodule|endprimitive|endspecify|endtable|endtask|event|for|force|forever|fork|function|generate)\>"
+color green "\<(genvar|highz0|highz1|if|iff|ifnone|incdir|include|initial|inout|input|instance|integer|join)\>"
+color green "\<(large|liblist|library|localparam|macromodule|medium|module|nand|negedge|nmos|nor|noshowcancelled)\>"
+color green "\<(not|notif0|notif1|null|or|output|parameter|pmos|posedge|primitive|pull0|pull1|pulldown|pullup)\>"
+color green "\<(pulsestyle_onevent|pulsestyle_ondetect|rcmos|real|realtime|reg|release|repeat|rnmos|rpmos|rtran)\>"
+color green "\<(rtranif0|rtranif1|scalared|showcancelled|signed|small|specify|specparam|strong0|strong1|supply0)\>"
+color green "\<(supply1|table|task|time|tran|tranif0|tranif1|tri|tri0|tri1|triand|trior|trireg|unsigned|use|uwire)\>"
+color green "\<(vectored|wait|wand|weak0|weak1|while|wire|wor|xnor|xor)\>"
+
+# System Verilog keywords, taken from same source.
+color green "\<(alias|always_comb|always_ff|always_latch|assert|assume|before|bind|bins|binsof|bit|break|byte)\>"
+color green "\<(chandle|clocking|const|constraint|context|continue|cover|covergroup|coverpoint|cross|dist|do)\>"
+color green "\<(endclass|endclocking|endgroup|endinterface|endpackage|endprogram|endproperty|endsequence|enum)\>"
+color green "\<(expect|export|extends|extern|final|first_match|foreach|forkjoin|ignore_bins|illegal_bins|import)\>"
+color green "\<(inside|int|interface|intersect|join_any|join_none|local|logic|longint|matches|modport|new|package)\>"
+color green "\<(packed|priority|program|property|protected|pure|rand|randc|randcase|randsequence|ref|return)\>"
+color green "\<(sequence|shortint|shortreal|solve|static|string|struct|super|tagged|this|throughout|timeprecision)\>"
+color green "\<(timeunit|type|typedef|union|unique|var|virtual|void|wait_order|wildcard|with|within)\>"
+
+# We need to go through these and decide if everything should be the same color, and remove extra things from C.
+# I don't think this is wanted.
+#color green "\<((s?size)|((u_?)?int(8|16|32|64|ptr)))_t\>"
+
+# Builtin function names (e.g. $display).
+icolor cyan "\$[0-9A-Z_]+"
+
+# Macros. Here are some of the standard ones, as per http://verilog.renerta.com/source/vrg00008.htm.
+#color cyan "^[[:space:]]*`[[:space:]]*(define|include(_next)?|timescale|(un|ifn?)def|endif|el(sif|se)|if|resetall)"
+#color cyan "^[[:space:]]*`[[:space:]]*(celldefine|endcelldefine|default_nettype|unconnected_drive|nounconnected_drive)"
+# This isn't complete and it may be better to just colorize `(string), like so:
+icolor cyan "^[[:space:]]*`[0-9A-Z_]+"
+
+# I'm not sure what this line does... it was in c.nanorc.
+#color brightmagenta "'([^'\]|(\\["'abfnrtv\\]))'" "'\\(([0-3]?[0-7]{1,2}))'" "'\\x[0-9A-Fa-f]{1,2}'"
+
+# Strings.  In general you will want your strings and comments to come last,
+# because highlighting rules are applied in the order they are read in.
+color brightyellow ""([^"]|\\")*"" "<[^[:blank:]=]*>"
+# Multiline strings.  This regex is VERY resource intensive,
+# and sometimes colours things that shouldn't be coloured.
+###color brightyellow start=""(\\.|[^"])*\\[[:space:]]*$" end="^(\\.|[^"])*""
+
+# Comments.
+color brightblue "//.*"
+color brightblue start="/\*" end="\*/"
+
+# Reminders.
+color ,yellow "\<(FIXME|TODO|XXX)\>"
+
+# Trailing whitespace.
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/vi.nanorc b/skel/.config/nano/vi.nanorc
new file mode 100644 (file)
index 0000000..a2e2888
--- /dev/null
@@ -0,0 +1,10 @@
+syntax "VI" "(^|/|\.)(ex|vim)rc$|\.vim"
+
+color brightblue "[A-Za-z_][A-Za-z0-9_]*[[:space:]]*[()]"
+color cyan  "\<([nvxsoilc]?(nore|un)?map|[nvlx]n|[ico]?no|[cilovx][um]|s?unm)\>"
+color cyan  "\<(snor|nun|nm|set|if|endif|let|unlet)\>"
+color red "[!&=]"
+color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
+color brightblack  "(^|[[:space:]])\"[^"]*$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/xml.nanorc b/skel/.config/nano/xml.nanorc
new file mode 100644 (file)
index 0000000..8ad5a32
--- /dev/null
@@ -0,0 +1,14 @@
+## Here is an example for xml files.
+##
+
+syntax "XML" ".*\.([jrs]?html?|xml|sgml?|rng)$"
+color white "^.+$"
+color green  start="<" end=">"
+color cyan   "<[^> ]+"
+color cyan   ">"
+color yellow start="<!DOCTYPE" end="[/]?>"
+color yellow start="<!--" end="-->"
+color red    "&[^;]*;"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/xresources.nanorc b/skel/.config/nano/xresources.nanorc
new file mode 100644 (file)
index 0000000..7773642
--- /dev/null
@@ -0,0 +1,10 @@
+syntax "Xresources" "X(defaults|resources)$"
+
+color green     "^[[:alnum:]]+\*"
+color brightyellow "\*[[:alnum:]]+\:"
+color blue   "\<[0-9]+\>"
+color red "[*:=]"
+color brightcyan "\<(true|false)\>"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/yaml.nanorc b/skel/.config/nano/yaml.nanorc
new file mode 100644 (file)
index 0000000..b079c72
--- /dev/null
@@ -0,0 +1,21 @@
+syntax "yaml" "\.ya?ml$"
+#comment "#"
+header "^---" "%YAML"
+
+# Values
+color green "(:|^|\s)+\S+"
+
+# Keys
+color red "(^|\s+).*+\s*:(\s|$)"
+
+# Special values
+color yellow "[:-]\s+(true|false|null)\s*$"
+color yellow "[:-]\s+[0-9]+\.?[0-9]*(\s*($|#))"
+color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) "
+
+# Separator
+color brightwhite "^\s+-"
+color brightwhite ":(\s|\t|$)"
+
+# Comments
+color brightblue "(^|[[:space:]])#.*$"
diff --git a/skel/.config/nano/yum.nanorc b/skel/.config/nano/yum.nanorc
new file mode 100644 (file)
index 0000000..b463922
--- /dev/null
@@ -0,0 +1,8 @@
+syntax "YUM" "\.repo$|yum.*\.conf$"
+
+color cyan "^[[:space:]]*[^=]*="
+color brightmagenta "^[[:space:]]*\[.*\]$"
+color brightyellow "\$(releasever|arch|basearch|uuid|YUM[0-9])"
+color brightblack "(^|[[:space:]])#([^{].*)?$"
+color ,green "[[:space:]]+$"
+color ,red "   + +| +  +"
diff --git a/skel/.config/nano/zsh.nanorc b/skel/.config/nano/zsh.nanorc
new file mode 100644 (file)
index 0000000..4e77b36
--- /dev/null
@@ -0,0 +1,42 @@
+## Syntax highlighting for ZSH scripts (initially copied from sh.nanorc)
+syntax "ZSH" "\.zsh$" "\.?(zshenv|zprofile|zshrc|zlogin|zlogout|zsh-theme)$"
+header "^#!.*/(env +)?zsh( |$)"
+
+## Numbers
+color brightyellow "\b[0-9]+\b"
+
+## Conditionals and control flow
+color green "\<(always|break|bye|case|continue|disown|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>"
+
+color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
+## Conditional flags
+color green "-[Ldefgruwx]\>"
+color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>"
+
+## Bash-inherited
+color brightblue "\<((un)?alias|bindkey|builtin|cd|command|declare|eval|exec|export|jobs|let|popd|pushd|set|source|typeset|umask|unset)\>"
+## ZSH-specific
+color brightblue "\<(add-zsh-hook|autoload|cdr|chdir|compinit|dirs|(dis|en)able|echotc|echoti|emulate|print|printf|prompt(init)?|(un)?setopt|zle|zmodload|zstyle|whence|zargs|zmv)\>"
+
+## Common linux commands
+color brightmagenta "\<((g|ig)?awk|find|diff|\w{0,4}grep|kill|killall|\w{0,4}less|make|pkill|sed|sudo|tar)\>"
+
+## Coreutils commands
+color brightmagenta "\<(base(32|64)|basename|cat|chcon|chgrp|chmod|chown|chroot|cksum|comm|cp|csplit|cut|date|dd|df|dir|dircolors|dirname|du|echo|env|expand|expr|factor|false|fmt|fold|head|hostid|id|install|join|link|ln|logname|ls|md5sum|mkdir|mkfifo|mknod|mktemp|mv|nice|nl|nohup|nproc|numfmt|od|paste|pathchk|pinky|pr|printenv|ptx|pwd|readlink|realpath|rm|rmdir|runcon|seq|(sha1|sha224|sha256|sha384|sha512)sum|shred|shuf|sleep|sort|split|stat|stdbuf|stty|sum|sync|tac|tail|tee|test|timeout|touch|tr|true|truncate|tsort|tty|uname|unexpand|uniq|unlink|users|vdir|wc|who|whoami|yes)\>"
+
+## Function definition
+icolor brightgreen "^\s+(function\s+)[0-9A-Z_]+\s+\(\)"
+
+## Variables
+icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
+
+## Strings
+color yellow ""(\\.|[^"])*""
+color yellow "'(\\.|[^'])*'"
+
+## Comments
+color cyan "(^|[[:space:]])#.*$"
+color brightcyan "(^|[[:space:]])##.*$"
+
+## Trailing spaces
+color ,green "[[:space:]]+$"
diff --git a/skel/.config/nano/zshrc.nanorc b/skel/.config/nano/zshrc.nanorc
new file mode 120000 (symlink)
index 0000000..925a14a
--- /dev/null
@@ -0,0 +1 @@
+zsh.nanorc
\ No newline at end of file
diff --git a/skel/.config/networkmanager-dmenu/config.ini b/skel/.config/networkmanager-dmenu/config.ini
new file mode 100644 (file)
index 0000000..2ad97be
--- /dev/null
@@ -0,0 +1,6 @@
+[dmenu]
+dmenu_command = rofi -location 3 -yoffset 50 -xoffset -10 -width 30 -padding 20 -line-padding 4 -font "DejaVu Sans Mono 10"  -hide-scrollbar -password
+
+[editor]
+terminal = termite
+gui_if_available = false
diff --git a/skel/.config/nitrogen/bg-saved.cfg b/skel/.config/nitrogen/bg-saved.cfg
new file mode 100755 (executable)
index 0000000..5eb4be5
--- /dev/null
@@ -0,0 +1,15 @@
+[xin_-1]
+file=/usr/share/backgrounds/pacbang/lunix/PacBang_1920x1080(by_Lunix).png
+mode=5
+bgcolor=#000000
+
+[xin_0]
+file=/usr/share/backgrounds/pacbang/lunix/PacBang_1920x1080(by_Lunix).png
+mode=4
+bgcolor=#000000
+
+[xin_1]
+file=/usr/share/backgrounds/pacbang/lunix/PacBang_1920x1080(by_Lunix).png
+mode=4
+bgcolor=#000000
+
diff --git a/skel/.config/nitrogen/bg-saved.cfg.template b/skel/.config/nitrogen/bg-saved.cfg.template
new file mode 100755 (executable)
index 0000000..e4077a7
--- /dev/null
@@ -0,0 +1,4 @@
+[xin_-1]
+file={{.Data.wallpaper_saved}}
+mode=5
+bgcolor=#304048
\ No newline at end of file
diff --git a/skel/.config/nitrogen/nitrogen.cfg b/skel/.config/nitrogen/nitrogen.cfg
new file mode 100644 (file)
index 0000000..9d9b5da
--- /dev/null
@@ -0,0 +1,12 @@
+[geometry]
+posx=2095
+posy=349
+sizex=650
+sizey=600
+
+[nitrogen]
+view=icon
+recurse=true
+sort=alpha
+icon_caps=true
+dirs=/usr/share/backgrounds;
diff --git a/skel/.config/obmenu-generator/applications.pl b/skel/.config/obmenu-generator/applications.pl
new file mode 100644 (file)
index 0000000..9d4f86c
--- /dev/null
@@ -0,0 +1,38 @@
+#!/usr/bin/perl
+
+# obmenu-generator - schema file
+
+=for comment
+
+    item:      add an item inside the menu          {item => ["command", "label", "icon"]},
+    cat:       add a category inside the menu       {cat => ["name", "label", "icon"]},
+    sep:       horizontal line separator            {sep => undef}, {sep => "label"},
+    pipe:      a pipe menu entry                    {pipe => ["command", "label", "icon"]},
+    file:      include the content of an XML file   {file => "/path/to/file.xml"},
+    raw:       any XML data supported by Openbox    {raw => q(xml data)},
+    begin_cat: beginning of a category              {begin_cat => ["name", "icon"]},
+    end_cat:   end of a category                    {end_cat => undef},
+    obgenmenu: generic menu settings                {obgenmenu => ["label", "icon"]},
+    exit:      default "Exit" action                {exit => ["label", "icon"]},
+
+=cut
+
+require "$ENV{HOME}/.config/obmenu-generator/config.pl";
+
+## Text editor
+my $editor = $CONFIG->{editor};
+
+our $SCHEMA = [
+    # Format:  NAME, LABEL, ICON
+    {cat => ['utility', 'Accessories', 'applications-utilities']},
+    {cat => ['development', 'Development', 'applications-development']},
+    {cat => ['education', 'Education', 'applications-science']},
+    {cat => ['game', 'Games', 'applications-games']},
+    {cat => ['graphics', 'Graphics', 'applications-graphics']},
+    {cat => ['audiovideo', 'Multimedia', 'applications-multimedia']},
+    {cat => ['network', 'Network', 'applications-internet']},
+    {cat => ['office', 'Office', 'applications-office']},
+    {cat => ['other', 'Other', 'applications-other']},
+    {cat => ['settings', 'Settings', 'gnome-settings']},
+    {cat => ['system', 'System', 'applications-system']},
+    ]
diff --git a/skel/.config/obmenu-generator/config.pl b/skel/.config/obmenu-generator/config.pl
new file mode 100644 (file)
index 0000000..ca553d8
--- /dev/null
@@ -0,0 +1,81 @@
+#!/usr/bin/perl
+
+# obmenu-generator - configuration file
+# This file will be updated automatically.
+# Any additional comment and/or indentation will be lost.
+
+=for comment
+
+|| FILTERING
+    | skip_filename_re    : Skip a .desktop file if its name matches the regex.
+                            Name is from the last slash to the end. (e.g.: name.desktop)
+                            Example: qr/^(?:gimp|xterm)\b/,    # skips 'gimp' and 'xterm'
+
+    | skip_entry          : Skip a desktop file if the value from a given key matches the regex.
+                            Example: [
+                                {key => 'Name',       re => qr/(?:about|terminal)/i},
+                                {key => 'Exec',       re => qr/^xterm/},
+                                {key => 'OnlyShowIn', re => qr/XFCE/},
+                            ],
+
+    | substitutions       : Substitute, by using a regex, in the values from the desktop files.
+                            Example: [
+                                {key => 'Exec', re => qr/xterm/, value => 'tilix', global => 1},
+                            ],
+
+|| ICON SETTINGS
+    | use_gtk3            : Use the Gtk3 library for resolving the icon paths. (default: 0)
+    | gtk_rc_filename     : Absolute path to the GTK configuration file.
+    | missing_icon        : Use this icon for missing icons (default: gtk-missing-image)
+    | icon_size           : Preferred size for icons. (default: 48)
+    | generic_fallback    : Try to shorten icon name at '-' characters before looking at inherited themes. (default: 0)
+    | force_icon_size     : Always get the icon scaled to the requested size. (default: 0)
+
+|| PATHS
+    | desktop_files_paths   : Absolute paths which contain .desktop files.
+                              Example: [
+                                '/usr/share/applications',
+                                "$ENV{HOME}/.local/share/applications",
+                                glob("$ENV{HOME}/.local/share/applications/wine/Programs/*"),
+                              ],
+
+|| NOTES
+    | Regular expressions:
+        * use qr/.../ instead of '...'
+        * use qr/.../i for case insensitive mode
+
+=cut
+
+our $CONFIG = {
+  "editor"              => "xed",
+  "force_icon_size"     => 0,
+  "generic_fallback"    => 0,
+  "gtk_rc_filename"     => "$ENV{HOME}/.gtkrc-2.0",
+  "icon_size"           => 48,
+  "Linux::DesktopFiles" => {
+                             desktop_files_paths     => [
+                                                          "/usr/share/applications",
+                                                          "/usr/local/share/applications",
+                                                          "/usr/share/applications/kde4",
+                                                          "$ENV{HOME}/.local/share/applications",
+                                                        ],
+                             gtk_rc_filename         => "$ENV{HOME}/.gtkrc-2.0",
+                             icon_dirs_first         => undef,
+                             icon_dirs_last          => undef,
+                             icon_dirs_second        => undef,
+                             keep_unknown_categories => 1,
+                             skip_entry              => undef,
+                             skip_filename_re        => undef,
+                             skip_svg_icons          => 0,
+                             strict_icon_dirs        => undef,
+                             substitutions           => undef,
+                             terminalization_format  => "%s -e '%s'",
+                             terminalize             => 1,
+                             unknown_category_key    => "other",
+                           },
+  "locale_support"      => 1,
+  "missing_icon"        => "gtk-missing-image",
+  "terminal"            => "termite",
+  "use_gtk3"            => 0,
+  "VERSION"             => 0.87,
+}
diff --git a/skel/.config/obmenu-generator/schema.pl b/skel/.config/obmenu-generator/schema.pl
new file mode 100644 (file)
index 0000000..cf83c1c
--- /dev/null
@@ -0,0 +1,91 @@
+#!/usr/bin/perl
+
+# obmenu-generator - schema file
+
+=for comment
+
+    item:      add an item inside the menu          {item => ["command", "label", "icon"]},
+    cat:       add a category inside the menu       {cat => ["name", "label", "icon"]},
+    sep:       horizontal line separator            {sep => undef}, {sep => "label"},
+    pipe:      a pipe menu entry                    {pipe => ["command", "label", "icon"]},
+    file:      include the content of an XML file   {file => "/path/to/file.xml"},
+    raw:       any XML data supported by Openbox    {raw => q(xml data)},
+    begin_cat: beginning of a category              {begin_cat => ["name", "icon"]},
+    end_cat:   end of a category                    {end_cat => undef},
+    obgenmenu: generic menu settings                {obgenmenu => ["label", "icon"]},
+    exit:      default "Exit" action                {exit => ["label", "icon"]},
+
+=cut
+
+require "$ENV{HOME}/.config/obmenu-generator/config.pl";
+
+## Text editor
+my $editor = $CONFIG->{editor};
+
+our $SCHEMA = [
+    # Format:  NAME, LABEL, ICON
+    {sep => "Manjaro Openbox"},
+    {item => ['exo-open --launch TerminalEmulator', 'Terminal', 'terminal-emulator']},
+    {item => ['exo-open --launch WebBrowser ', 'Web Browser', 'web-browser']},
+    {item => ['exo-open --launch FileManager', 'File Manager', 'file-manager']},
+    {item => ['exo-open --launch MailReader', 'Mail Reader', 'mail-reader']},
+    {sep => undef},
+    {cat => ['utility', 'Accessories', 'applications-utilities']},
+    {cat => ['development', 'Development', 'applications-development']},
+    {cat => ['education', 'Education', 'applications-science']},
+    {cat => ['game', 'Games', 'applications-games']},
+    {cat => ['graphics', 'Graphics', 'applications-graphics']},
+    {cat => ['audiovideo', 'Multimedia', 'applications-multimedia']},
+    {cat => ['network', 'Network', 'applications-internet']},
+    {cat => ['office', 'Office', 'applications-office']},
+    {cat => ['other', 'Other', 'applications-other']},
+    {cat => ['settings', 'Settings', 'gnome-settings']},
+    {cat => ['system', 'System', 'applications-system']},
+    {sep => undef},
+    {pipe => ['manjaro-places-pipemenu --recent ~/', 'Places', 'folder']},
+    {sep => undef},
+    {begin_cat => ['Preferences', 'theme']},
+      {begin_cat => ['Openbox', 'openbox']},
+        {item => ['obconf', 'Openbox Configuration', 'theme']},
+        {item => ['kickshaw', 'GUI Menu Editor', 'openbox']},
+        {item => ['obkey', 'GUI Keybind Editor', 'openbox']},
+        {item => ['ob-autostart', 'GUI Autostart Editor', 'openbox']},
+        {sep => undef},
+        {item => ["exo-open ~/.config/openbox/menu.xml", 'Edit menu.xml', 'text-xml']},
+        {item => ["exo-open ~/.config/openbox/rc.xml", 'Edit rc.xml', 'text-xml']},
+        {item => ["exo-open ~/.config/openbox/autostart", 'Edit autostart', 'text-xml']},
+        {sep => undef},
+        {item => ['openbox --restart', 'Openbox Restart', 'openbox']},
+        {item => ['openbox --reconfigure', 'Openbox Reconfigure', 'openbox']},
+      {end_cat => undef},
+      {pipe => ['manjaro-polybar-pipemenu', 'Polybar', 'polybar']},
+      {pipe => ['manjaro-conky-pipemenu', 'Conky', 'conky']},
+      {pipe => ['manjaro-tint2-pipemenu', 'Tint2', 'tint2']},
+      {pipe => ['manjaro-compositor', 'Compositor', 'compton']},
+      {begin_cat => ['System', 'system-settings']},
+        {item => ['lxappearance', 'Customize Look and Feel', 'theme']},
+        {item => ['xfce4-appearance-settings', 'Apperance', 'theme']},
+        {item => ['pavucontrol', 'Audio Settings', 'multimedia-volume-control']},
+        {item => ['pamac-manager', 'Add/Remove Software', 'pamac-manager']},
+        {item => ['arandr', 'Screen Layout', 'xfce4-display-settings']},
+        {item => ['xfce4-settings-manager', 'Settings Manager', 'xfce4-settings-manager']},        
+      {end_cat => undef},
+      {sep => undef},
+      {item => ['nitrogen', 'Change Wallpaper', 'nitrogen']},
+      {item => ['rofi-theme-selector', 'Rofi Theme', 'theme']},
+      {item => ['manjaro-panel-chooser', 'Panel Chooser', 'panel']},
+    {end_cat => undef},
+    {sep => undef},
+    {begin_cat => ['Menu Generator', 'menu-editor']},
+      {item => ["$editor ~/.config/obmenu-generator/schema.pl", 'Menu Layout', 'text-x-source']},
+      {sep  => undef},
+      {item => ['obmenu-generator -p', 'Generate a pipe menu', 'menu-editor']},
+      {item => ['obmenu-generator -s -c', 'Generate a static menu', 'menu-editor']},
+    {end_cat => undef},
+    {item => ['switchmenu --static', 'Switch Menu', 'menu-editor']},
+    {pipe => ['manjaro-kb-pipemenu', 'Display Keybinds', 'cs-keyboard']},
+    {pipe => ['manjaro-help-pipemenu', 'Help and Info', 'info']},
+    {sep => undef},
+    {item => ['lockscreen -- scrot', 'Lock Screen', 'lock']},
+    {item => ['rofr.sh -l', 'Exit Openbox', 'exit']},
+    ]
diff --git a/skel/.config/openbox/autostart b/skel/.config/openbox/autostart
new file mode 100644 (file)
index 0000000..3a9f1df
--- /dev/null
@@ -0,0 +1,49 @@
+### use arandr to set screen preference
+### save as ~/.screenlayout/dual-head.sh
+### and uncomment next line
+### ------------------------------------
+### alt. use the xfce monitor setup from system settings control panel
+#~/.screenlayout/dual-head.sh
+
+### Required for xfce settings to work
+sleep 0.5; xfsettingsd &
+
+### compositor
+sleep 1; manjaro-compositor --start &
+
+### launch thunar in daemon mode for faster startup
+### comment if you would rather use pcmanfm
+thunar --daemon &
+
+### use desktop icons and pcmanfm as wallpaper manager
+### uncomment next line and comment nitrogen below
+#pcmanfm --desktop &
+
+### no desktop icons use nitrogen as wallpaper manager
+### uncomment next line and comment pcmanfm above
+sleep 1; nitrogen --restore &
+
+sleep 1; manjaro-polybar-session &
+sleep 1; manjaro-tint2-session &
+
+### launch conky
+manjaro-conky-session &
+
+### volumeicon
+sleep 1; volumeicon &
+
+## skippy windowswitcher
+skippy-xd --config ~/.config/skippy-xd/skippy-xd.rc --start-daemon &
+
+## super key for menu
+xcape -e 'Super_L=Alt_L|F1' &
+
+### PolicyKit authentication
+/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
+
+### Localize user system folders
+xdg-user-dirs-gtk-update &
+
+### enable numlock
+### uncomment next line
+#numlockx &
diff --git a/skel/.config/openbox/environment b/skel/.config/openbox/environment
new file mode 100644 (file)
index 0000000..8ef7758
--- /dev/null
@@ -0,0 +1,17 @@
+# environment
+# vim:ft=sh
+
+# To set your language for displaying messages and time/date formats, use the following:
+# LANG=en_US.UTF8
+
+# GNOME Keyring
+export "$(gnome-keyring-daemon --start --components=pkcs11,secrets)"
+
+# xdg-open applications
+export XDG_CURRENT_DESKTOP=XFCE
+export DE="xfce"
+
+# dbus with openbox
+if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
+    eval "$(dbus-launch --sh-syntax --exit-with-session)"
+fi
diff --git a/skel/.config/openbox/menu.xml b/skel/.config/openbox/menu.xml
new file mode 100755 (executable)
index 0000000..0be9180
--- /dev/null
@@ -0,0 +1,197 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<openbox_menu>
+
+<menu id="disk-utilities" label="Disk Utilities">
+       <item label="Clonezilla">
+               <action name="Execute">
+                       <command>termite -t "Clonezilla" -e &quot;sudo clonezilla&quot;</command>
+               </action>
+       </item>
+       <item label="Disks">
+               <action name="Execute">
+                       <command>gnome-disks</command>
+               </action>
+       </item>
+       <item label="USB Image Writer">
+               <action name="Execute">
+                       <command>mintstick -m iso</command>
+               </action>
+       </item>
+</menu>
+<menu id="screenshot" label="Screenshot">
+       <item label="Screenshot in 5">
+               <action name="Execute">
+                       <command>scrot -d 5 &apos;%Y%m%d-%H%M%S_$wx$h_screenshot.png&apos; -e &apos;mv $f $$(xdg-user-dir PICTURES) ; xviewer $$(xdg-user-dir PICTURES)/$f&apos;</command>
+               </action>
+       </item>
+       <item label="Screenshot in 10">
+               <action name="Execute">
+                       <command>scrot -d 10 &apos;%Y%m%d-%H%M%S_$wx$h_screenshot.png&apos; -e &apos;mv $f $$(xdg-user-dir PICTURES) ; xviewer $$(xdg-user-dir PICTURES)/$f&apos;</command>
+               </action>
+       </item>
+       <item label="Screenshot With Selection">
+               <action name="Execute">
+                       <command>scrot -s &apos;%Y%m%d-%H%M%S_$wx$h_screenshot.png&apos; -e &apos;mv $f $$(xdg-user-dir PICTURES) ; xviewer $$(xdg-user-dir PICTURES)/$f&apos;</command>
+               </action>
+       </item>
+</menu>
+<menu id="preferences" label="Preferences">
+       <menu id="appearance-config" label="Customize Look and Feel">
+               <item label="Gtk2 Theme">
+                       <action name="Execute">
+                               <command>lxappearance</command>
+                       </action>
+               </item>
+               <item label="Gtk3 Theme">
+                       <action name="Execute">
+                               <command>xfce4-appearance-settings</command>
+                       </action>
+               </item>
+               <item label="Kvantum Manager">
+                       <action name="Execute">
+                               <command>kvantummanager</command>
+                       </action>
+               </item>
+               <item label="Qt5 Settings">
+                       <action name="Execute">
+                               <command>qt5ct</command>
+                       </action>
+               </item>
+               <item label="Openbox">
+                       <action name="Execute">
+                               <command>obconf</command>
+                       </action>
+               </item>
+       </menu>
+       <menu id="openbox-config" label="Openbox">
+               <item label="GUI Menu Editor">
+                       <action name="Execute">
+                               <command>kickshaw</command>
+                       </action>
+               </item>
+               <item label="GUI Keybind Editor">
+                       <action name="Execute">
+                               <command>obkey</command>
+                       </action>
+               </item>
+               <separator/>
+               <item label="Edit autostart">
+                       <action name="Execute">
+                               <command>exo-open ~/.config/openbox/autostart</command>
+                       </action>
+               </item>
+               <item label="Edit menu.xml">
+                       <action name="Execute">
+                               <command>exo-open ~/.config/openbox/menu.xml</command>
+                       </action>
+               </item>
+               <item label="Edit rc.xml">
+                       <action name="Execute">
+                               <command>exo-open ~/.config/openbox/rc.xml</command>
+                       </action>
+               </item>
+       </menu>
+       <menu id="PolybarPipeMenu" label="Polybar" execute="manjaro-polybar-pipemenu"/>
+       <menu id="ConkyPipeMenu" label="Conky" execute="manjaro-conky-pipemenu"/>
+       <menu id="TintPipeMenu" label="Tint2" execute="manjaro-tint2-pipemenu"/>
+       <menu id="CompositingPipeMenu" label="Compositor" execute="manjaro-compositor"/>
+       <menu id="system-settings" label="System">
+               <item label="Audio Settings">
+                       <action name="Execute">
+                               <command>pavucontrol</command>
+                       </action>
+               </item>
+               <item label="Add/Remove Software">
+                       <action name="Execute">
+                               <command>pamac-manager</command>
+                       </action>
+               </item>
+               <item label="Screen Layout">
+                       <action name="Execute">
+                               <command>arandr</command>
+                       </action>
+               </item>
+               <item label="Settings Manager">
+                       <action name="Execute">
+                               <command>xfce4-settings-manager</command>
+                       </action>
+               </item>
+       </menu>
+       <item label="Reconfigure Openbox">
+               <action name="Reconfigure"/>
+       </item>
+       <item label="Restart Openbox">
+               <action name="Restart"/>
+       </item>
+       <separator/>
+       <item label="Wallpaper">
+               <action name="Execute">
+                       <command>nitrogen</command>
+               </action>
+       </item>
+       <item label="Panel Chooser">
+               <action name="Execute">
+                       <command>manjaro-panel-chooser</command>
+               </action>
+       </item>
+       <item label="Rofi Theme">
+               <action name="Execute">
+                       <command>rofi-theme-selector</command>
+               </action>
+       </item>
+</menu>
+
+<menu id="root-menu" label="Openbox 3">
+       <separator label="Manjaro Openbox"/>
+       <item label="Terminal">
+               <action name="Execute">
+                       <command>termite -t "Termite"</command>
+               </action>
+       </item>
+       <item label="File Manager">
+               <action name="Execute">
+                       <command>exo-open --launch FileManager</command>
+               </action>
+       </item>
+       <item label="Web Browser">
+               <action name="Execute">
+                       <command>exo-open --launch WebBrowser</command>
+               </action>
+       </item>
+       <item label="Mail Reader">
+               <action name="Execute">
+                       <command>exo-open --launch MailReader</command>
+               </action>
+       </item>
+       <separator/>
+       <menu id="disk-utilities"/>
+       <menu id="screenshot"/>
+       <menu id="applications" label="Applications" execute="/usr/bin/obmenu-generator -S ~/.config/obmenu-generator/applications.pl"/>
+       <separator/>
+       <menu id="pipe-placesmenu" label="Places" execute="manjaro-places-pipemenu --recent ~/"/>
+       <separator/>
+       <menu id="preferences"/>
+       <menu id="keybinds" label="Keybinds" execute="manjaro-kb-pipemenu"/>
+       <separator/>
+       <menu id="help" label="Help and Info" execute="manjaro-help-pipemenu"/>
+       <separator/>
+       <item label="Switch Menu">
+               <action name="Execute">
+                       <command>switchmenu -dynamic</command>
+               </action>
+       </item>
+       <separator/>
+       <item label="Lock Screen">
+               <action name="Execute">
+                       <command>lockscreen -- scrot</command>
+               </action>
+       </item>
+       <item label="Exit Openbox">
+               <action name="Execute">
+                       <command>rofr.sh -l</command>
+               </action>
+       </item>
+</menu>
+
+</openbox_menu>
diff --git a/skel/.config/openbox/rc.xml b/skel/.config/openbox/rc.xml
new file mode 100644 (file)
index 0000000..29789c4
--- /dev/null
@@ -0,0 +1,951 @@
+<?xml version="1.0"?>
+<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
+  <resistance>
+    <strength>60</strength>
+    <screen_edge_strength>30</screen_edge_strength>
+  </resistance>
+  <focus>
+    <focusNew>yes</focusNew>
+    <followMouse>no</followMouse>
+    <focusLast>yes</focusLast>
+    <underMouse>no</underMouse>
+    <focusDelay>200</focusDelay>
+    <raiseOnFocus>no</raiseOnFocus>
+  </focus>
+  <placement>
+    <policy>Smart</policy>
+    <center>yes</center>
+    <monitor>Mouse</monitor>
+    <primaryMonitor>Mouse</primaryMonitor>
+  </placement>
+  <theme>
+    <name>PacBang</name>
+    <titleLayout>NLIMC</titleLayout>
+    <keepBorder>yes</keepBorder>
+    <animateIconify>yes</animateIconify>
+    <font place="ActiveWindow">
+      <name>Roboto</name>
+      <size>11</size>
+      <weight>Normal</weight>
+      <slant>Normal</slant>
+    </font>
+    <font place="InactiveWindow">
+      <name>Roboto</name>
+      <size>11</size>
+      <weight>Normal</weight>
+      <slant>Italic</slant>
+    </font>
+    <font place="MenuHeader">
+      <name>Roboto</name>
+      <size>11</size>
+      <weight>Normal</weight>
+      <slant>Normal</slant>
+    </font>
+    <font place="MenuItem">
+      <name>Roboto</name>
+      <size>10</size>
+      <weight>Normal</weight>
+      <slant>Normal</slant>
+    </font>
+    <font place="ActiveOnScreenDisplay">
+      <name>Roboto</name>
+      <size>10</size>
+      <weight>Normal</weight>
+      <slant>Normal</slant>
+    </font>
+    <font place="InactiveOnScreenDisplay">
+      <name>Roboto</name>
+      <size>10</size>
+      <weight>Normal</weight>
+      <slant>Normal</slant>
+    </font>
+  </theme>
+  <desktops>
+    <number>7</number>
+    <firstdesk>1</firstdesk>
+    <names>
+      <name>Home</name>
+      <name>Web</name>
+      <name>Files</name>
+      <name>Pictures</name>
+      <name>Documents</name>
+      <name>Develop</name>
+      <name>Terminal</name>
+    </names>
+    <popupTime>800</popupTime>
+  </desktops>
+  <resize>
+    <drawContents>yes</drawContents>
+    <popupShow>Never</popupShow>
+    <popupPosition>Center</popupPosition>
+    <popupFixedPosition>
+      <x>10</x>
+      <y>10</y>
+    </popupFixedPosition>
+  </resize>
+  <margins>
+    <top>0</top>
+    <bottom>0</bottom>
+    <left>0</left>
+    <right>0</right>
+  </margins>
+  <dock>
+    <position>Floating</position>
+    <floatingX>0</floatingX>
+    <floatingY>0</floatingY>
+    <noStrut>no</noStrut>
+    <stacking>Above</stacking>
+    <direction>Vertical</direction>
+    <autoHide>no</autoHide>
+    <hideDelay>300</hideDelay>
+    <showDelay>300</showDelay>
+    <moveButton>Middle</moveButton>
+  </dock>
+  <keyboard>
+    <chainQuitKey/>
+    <keybind key="W-1">
+      <action name="GoToDesktop">
+        <to>1</to>
+      </action>
+    </keybind>
+    <keybind key="W-2">
+      <action name="GoToDesktop">
+        <to>2</to>
+      </action>
+    </keybind>
+    <keybind key="W-3">
+      <action name="GoToDesktop">
+        <to>3</to>
+      </action>
+    </keybind>
+    <keybind key="W-4">
+      <action name="GoToDesktop">
+        <to>4</to>
+      </action>
+    </keybind>
+    <keybind key="W-5">
+      <action name="GoToDesktop">
+        <to>5</to>
+      </action>
+    </keybind>
+    <keybind key="W-6">
+      <action name="GoToDesktop">
+        <to>6</to>
+      </action>
+    </keybind>
+    <keybind key="W-7">
+      <action name="GoToDesktop">
+        <to>7</to>
+      </action>
+    </keybind>
+    <keybind key="W-8">
+      <action name="GoToDesktop">
+        <to>8</to>
+      </action>
+    </keybind>
+    <keybind key="W-9">
+      <action name="GoToDesktop">
+        <to>9</to>
+      </action>
+    </keybind>
+    <keybind key="W-0">
+      <action name="GoToDesktop">
+        <to>10</to>
+      </action>
+    </keybind>
+    <keybind key="C-W-1">
+      <action name="SendToDesktop">
+        <desktop>1</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-2">
+      <action name="SendToDesktop">
+        <desktop>2</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-3">
+      <action name="SendToDesktop">
+        <desktop>3</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-4">
+      <action name="SendToDesktop">
+        <desktop>4</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-5">
+      <action name="SendToDesktop">
+        <desktop>5</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-6">
+      <action name="SendToDesktop">
+        <desktop>6</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-7">
+      <action name="SendToDesktop">
+        <desktop>7</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-8">
+      <action name="SendToDesktop">
+        <desktop>8</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-9">
+      <action name="SendToDesktop">
+        <desktop>9</desktop>
+      </action>
+    </keybind>
+    <keybind key="C-W-0">
+      <action name="SendToDesktop">
+        <desktop>10</desktop>
+      </action>
+    </keybind>
+    <keybind key="A-Tab">
+      <action name="NextWindow">
+        <raise>yes</raise>
+        <allDesktops>yes</allDesktops>
+        <finalactions>
+          <action name="Focus"/>
+          <action name="UnshadeRaise"/>
+        </finalactions>
+      </action>
+    </keybind>
+    <keybind key="W-Tab">
+      <action name="NextWindow">
+        <allDesktops>yes</allDesktops>
+        <finalactions>
+          <action name="SendToDesktop">
+            <desktop>1</desktop>
+          </action>
+          <action name="focus"/>
+          <action name="raise"/>
+        </finalactions>
+      </action>
+    </keybind>
+    <keybind key="C-A-Right">
+      <action name="DesktopNext"/>
+    </keybind>
+    <keybind key="C-A-Left">
+      <action name="DesktopPrevious"/>
+    </keybind>
+    <!-- Keybindings for moving windows -->
+    <keybind key="mod4-Left">
+      <action name="GoToDesktop">
+        <to>west</to>
+        <wrap>yes</wrap>
+      </action>
+    </keybind>
+    <keybind key="mod4-Right">
+      <action name="GoToDesktop">
+        <to>east</to>
+        <wrap>yes</wrap>
+      </action>
+    </keybind>
+    <keybind key="mod4-Up">
+      <action name="SendToDesktop">
+        <to>west</to>
+      </action>
+    </keybind>
+    <keybind key="mod4-Down">
+      <action name="SendToDesktop">
+        <to>east</to>
+      </action>
+    </keybind>
+    <keybind key="mod4-d">
+      <action name="ToggleShowDesktop"/>
+    </keybind>
+    <keybind key="mod4-Super_R">
+      <action name="MoveResizeTo">
+        <monitor>next</monitor>
+      </action>
+    </keybind>
+    <!-- Keybindings for tiling -->
+    <keybind key="A-KP_5">
+      <action name="ToggleMaximize"/>
+    </keybind>
+    <keybind key="A-KP_0">
+      <action name="Iconify"/>
+    </keybind>
+    <keybind key="A-KP_4">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>100%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_6">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>-0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>100%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_8">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>0</y>
+        <width>100%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_2">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>-0</y>
+        <width>100%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_7">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_9">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>-0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_1">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>-0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_3">
+      <action name="Unmaximize"/>
+      <action name="MoveResizeTo">
+        <x>-0</x>
+        <y>-0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="A-KP_Add">
+      <action name="NextWindow">
+        <dialog>none</dialog>
+        <raise>yes</raise>
+        <linear>yes</linear>
+        <allDesktops>yes</allDesktops>
+        <interactive>no</interactive>
+        <finalactions>
+          <action name="Focus"/>
+          <action name="Raise"/>
+          <action name="Unshade"/>
+        </finalactions>
+      </action>
+    </keybind>
+    <keybind key="A-KP_Subtract">
+      <action name="NextWindow">
+        <dialog>none</dialog>
+        <raise>yes</raise>
+        <linear>yes</linear>
+        <allDesktops>yes</allDesktops>
+        <interactive>no</interactive>
+        <finalactions>
+          <action name="Focus"/>
+          <action name="Raise"/>
+          <action name="Unshade"/>
+        </finalactions>
+      </action>
+    </keybind>
+    <keybind key="A-Tab">
+      <action name="NextWindow"/>
+    </keybind>
+    <keybind key="A-S-Tab">
+      <action name="PreviousWindow"/>
+    </keybind>
+    <keybind key="S-W-Left">
+      <action name="SendToDesktopLeft"/>
+    </keybind>
+    <keybind key="S-W-Right">
+      <action name="SendToDesktopRight"/>
+    </keybind>
+    <keybind key="S-W-Up">
+      <action name="SendToDesktopUp"/>
+    </keybind>
+    <keybind key="S-W-Down">
+      <action name="SendToDesktopDown"/>
+    </keybind>
+    <keybind key="A-Escape">
+      <action name="Lower"/>
+      <action name="FocusToBottom"/>
+      <action name="Unfocus"/>
+    </keybind>
+    <keybind key="XF86AudioRaiseVolume">
+      <action name="Execute">
+        <command>pamixer -i 2</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioLowerVolume">
+      <action name="Execute">
+        <command>pamixer -d 2</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioMute">
+      <action name="Execute">
+        <command>pamixer -t</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioStop">
+      <action name="Execute">
+        <command>playerctl stop</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioPlay">
+      <action name="Execute">
+        <command>playerctl play-pause</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioPrev">
+      <action name="Execute">
+        <command>playerctl previous</command>
+      </action>
+    </keybind>
+    <keybind key="XF86AudioNext">
+      <action name="Execute">
+        <command>playerctl next</command>
+      </action>
+    </keybind>
+    <keybind key="XF86MonBrightnessUp">
+      <action name="Execute">
+        <command>xbacklight +10</command>
+      </action>
+    </keybind>
+    <keybind key="XF86MonBrightnessDown">
+      <action name="Execute">
+        <command>xbacklight -10</command>
+      </action>
+    </keybind>
+    <keybind key="C-Space">
+      <action name="Execute">
+        <command>sgtk-menu</command>
+      </action>
+    </keybind>
+    <keybind key="Print">
+      <action name="Execute">
+        <command>scrot 'screenshot_%Y%m%d-%H%M%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; xviewer $$(xdg-user-dir PICTURES)/$f'</command>
+      </action>
+    </keybind>
+    <keybind key="A-Print">
+      <action name="Execute">
+        <command>scrot -d 5 'screenshot_%Y%m%d-%H%M%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; xviewer $$(xdg-user-dir PICTURES)/$f'</command>
+      </action>
+    </keybind>
+    <keybind key="W-f">
+      <action name="Execute">
+        <command>exo-open --launch FileManager</command>
+      </action>
+    </keybind>
+    <keybind key="W-t">
+      <action name="Execute">
+        <command>termite -t "Termite"</command>
+      </action>
+    </keybind>
+    <keybind key="W-w">
+      <action name="Execute">
+        <command>exo-open --launch WebBrowser</command>
+      </action>
+    </keybind>
+    <keybind key="W-e">
+      <action name="Execute">
+        <command>xed</command>
+      </action>
+    </keybind>
+    <keybind key="C-A-m">
+      <action name="Execute">
+        <command>xfce4-settings-manager</command>
+      </action>
+    </keybind>
+    <keybind key="W-m">
+      <action name="Execute">
+        <command>deadbeef</command>
+      </action>
+    </keybind>
+    <keybind key="W-v">
+      <action name="Execute">
+        <command>pavucontrol</command>
+      </action>
+    </keybind>
+    <keybind key="W-s">
+      <action name="Execute">
+        <command>skippy-xd</command>
+      </action>
+    </keybind>
+    <keybind key="W-Return">
+      <action name="Execute">
+        <command>termite -t "Termite"</command>
+      </action>
+    </keybind>
+    <keybind key="W-KP_Enter">
+      <action name="Execute">
+        <command>termite -t "Termite"</command>
+      </action>
+    </keybind>
+    <keybind key="C-Escape">
+      <action name="Execute">
+        <command>lockscreen -- scrot</command>
+      </action>
+    </keybind>
+    <keybind key="W-Escape">
+      <action name="Execute">
+        <command>xkill</command>
+      </action>
+    </keybind>
+    <keybind key="A-F1">
+      <action name="Execute">
+        <command>jgmenu_run</command>
+      </action>
+    </keybind>
+    <keybind key="A-F2">
+      <action name="Execute">
+        <command>rofr.sh -r</command>
+      </action>
+    </keybind>
+    <keybind key="A-F4">
+      <action name="Close"/>
+    </keybind>
+    <keybind key="A-F5">
+      <action name="Iconify"/>
+    </keybind>
+    <keybind key="A-F6">
+      <action name="ToggleMaximize"/>
+    </keybind>
+    <keybind key="A-F8">
+      <action name="ToggleDecorations"/>
+    </keybind>
+    <keybind key="W-d">
+      <action name="ToggleShowDesktop"/>
+    </keybind>
+    <keybind key="W-b">
+      <action name="ToggleDecorations"/>
+    </keybind>
+    <keybind key="A-r">
+      <action name="Resize"/>
+    </keybind>
+    <keybind key="A-m">
+      <action name="Move"/>
+    </keybind>
+    <keybind key="S-W-q">
+      <action name="Close"/>
+    </keybind>
+    <keybind key="W-space">
+      <action name="ShowMenu">
+        <menu>root-menu</menu>
+      </action>
+    </keybind>
+    <keybind key="A-space">
+      <action name="ShowMenu">
+        <menu>client-menu</menu>
+      </action>
+    </keybind>
+    <keybind key="W-KP_1">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>-0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="W-KP_2">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>-0</y>
+        <width>100%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="W-KP_3">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>-0</x>
+        <y>-0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="W-KP_4">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>100%</height>
+      </action>
+    </keybind>
+    <keybind key="W-KP_5">
+      <action name="MaximizeFull"/>
+    </keybind>
+    <keybind key="W-KP_6">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>-0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>100%</height>
+      </action>
+    </keybind>
+    <keybind key="W-KP_7">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="W-KP_8">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>0</y>
+        <width>100%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="W-KP_9">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <x>-0</x>
+        <y>0</y>
+        <width>50%</width>
+        <height>50%</height>
+      </action>
+    </keybind>
+    <keybind key="W-Right">
+      <action name="UnmaximizeFull"/>
+      <action name="MaximizeVert"/>
+      <action name="MoveResizeTo">
+        <width>50%</width>
+      </action>
+      <action name="MoveToEdgeEast"/>
+    </keybind>
+    <keybind key="W-Left">
+      <action name="UnmaximizeFull"/>
+      <action name="MaximizeVert"/>
+      <action name="MoveResizeTo">
+        <width>50%</width>
+      </action>
+      <action name="MoveToEdgeWest"/>
+    </keybind>
+    <keybind key="W-Up">
+      <action name="MaximizeFull"/>
+    </keybind>
+    <keybind key="W-Down">
+      <action name="UnmaximizeFull"/>
+      <action name="MoveResizeTo">
+        <width>80%</width>
+        <height>80%</height>
+      </action>
+      <action name="MoveToCenter"/>
+    </keybind>
+    <keybind key="W-A-Left">
+      <action name="UnmaximizeFull"/>
+      <action name="MaximizeVert"/>
+      <action name="MoveResizeTo">
+        <x>0</x>
+        <y>0</y>
+        <width>50%</width>
+      </action>
+    </keybind>
+    <keybind key="W-A-Right">
+      <action name="UnmaximizeFull"/>
+      <action name="MaximizeVert"/>
+      <action name="MoveResizeTo">
+        <x>-0</x>
+        <y>0</y>
+        <width>50%</width>
+      </action>
+    </keybind>
+  </keyboard>
+  <mouse>
+    <dragThreshold>4</dragThreshold>
+    <doubleClickTime>400</doubleClickTime>
+    <screenEdgeWarpTime>600</screenEdgeWarpTime>
+    <screenEdgeWarpMouse>false</screenEdgeWarpMouse>
+    <context name="Frame">
+      <mousebind action="Press" button="A-Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Drag" button="A-Left">
+        <action name="Move"/>
+      </mousebind>
+      <mousebind action="Press" button="A-Right">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="Unshade"/>
+      </mousebind>
+      <mousebind action="Drag" button="A-Right">
+        <action name="Resize"/>
+      </mousebind>
+    </context>
+    <context name="Titlebar">
+      <mousebind action="Press" button="A-Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Drag" button="A-Left">
+        <action name="Move"/>
+      </mousebind>
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Drag" button="Left">
+        <action name="if">
+          <maximizedvertical>yes</maximizedvertical>
+          <then>
+            <action name="Unmaximize"/>
+            <direction>vertical</direction>
+            <action name="MoveResizeTo">
+              <x>center</x>
+              <y>current</y>
+            </action>
+            <action name="Move"/>
+          </then>
+          <else>
+            <action name="Move"/>
+          </else>
+        </action>
+      </mousebind>
+      <mousebind action="DoubleClick" button="Left">
+        <action name="ToggleMaximizeFull"/>
+      </mousebind>
+      <mousebind action="Click" button="Up">
+        <action name="if">
+          <shaded>no</shaded>
+          <then>
+            <action name="Shade"/>
+            <action name="FocusToBottom"/>
+            <action name="Unfocus"/>
+            <action name="Lower"/>
+          </then>
+        </action>
+      </mousebind>
+      <mousebind action="Click" button="Down">
+        <action name="if">
+          <shaded>yes</shaded>
+          <then>
+            <action name="Unshade"/>
+            <action name="Raise"/>
+          </then>
+        </action>
+      </mousebind>
+      <mousebind action="Press" button="Right">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="ShowMenu">
+          <menu>client-menu</menu>
+        </action>
+      </mousebind>
+    </context>
+    <context name="Titlebar Top Right Bottom Left TLCorner TRCorner BRCorner BLCorner">
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="Unshade"/>
+      </mousebind>
+      <mousebind action="Press" button="Right">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="ShowMenu">
+          <menu>client-menu</menu>
+        </action>
+      </mousebind>
+    </context>
+    <context name="Top">
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="Unshade"/>
+      </mousebind>
+      <mousebind action="Drag" button="Left">
+        <action name="Resize">
+          <edge>top</edge>
+        </action>
+      </mousebind>
+    </context>
+    <context name="Left">
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Drag" button="Left">
+        <action name="Resize">
+          <edge>left</edge>
+        </action>
+      </mousebind>
+    </context>
+    <context name="Right">
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Drag" button="Left">
+        <action name="Resize">
+          <edge>right</edge>
+        </action>
+      </mousebind>
+    </context>
+    <context name="Bottom">
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Drag" button="Left">
+        <action name="Resize">
+          <edge>bottom</edge>
+        </action>
+      </mousebind>
+    </context>
+    <context name="TRCorner BRCorner TLCorner BLCorner">
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="Unshade"/>
+      </mousebind>
+      <mousebind action="Drag" button="Left">
+        <action name="Resize"/>
+      </mousebind>
+    </context>
+    <context name="Client">
+      <mousebind action="Press" button="A-Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Drag" button="A-Left">
+        <action name="Move"/>
+      </mousebind>
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+      <mousebind action="Press" button="Right">
+        <action name="Focus"/>
+        <action name="Raise"/>
+      </mousebind>
+    </context>
+    <context name="Icon">
+      <mousebind action="Press" button="Right">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="Unshade"/>
+        <action name="ShowMenu">
+          <menu>client-menu</menu>
+        </action>
+      </mousebind>
+    </context>
+    <context name="AllDesktops">
+      <mousebind action="Click" button="Left">
+        <action name="ToggleOmnipresent"/>
+      </mousebind>
+    </context>
+    <context name="Shade">
+      <mousebind action="Click" button="Left">
+        <action name="ToggleShade"/>
+      </mousebind>
+    </context>
+    <context name="Iconify">
+      <mousebind action="Click" button="Left">
+        <action name="Iconify"/>
+      </mousebind>
+    </context>
+    <context name="Maximize">
+      <mousebind action="Press" button="Left">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="Unshade"/>
+      </mousebind>
+      <mousebind action="Press" button="Right">
+        <action name="Focus"/>
+        <action name="Raise"/>
+        <action name="Unshade"/>
+      </mousebind>
+      <mousebind action="Click" button="Left">
+        <action name="ToggleMaximize"/>
+      </mousebind>
+      <mousebind action="Click" button="Right">
+        <action name="ToggleMaximize">
+          <direction>horizontal</direction>
+        </action>
+      </mousebind>
+    </context>
+    <context name="Close">
+      <mousebind action="Click" button="Left">
+        <action name="Close"/>
+      </mousebind>
+    </context>
+    <context name="Desktop">
+      <mousebind action="Click" button="Left">
+        <action name="Focus"/>
+      </mousebind>
+      <mousebind action="Click" button="A-Up">
+        <action name="GoToDesktop">
+          <to>previous</to>
+        </action>
+      </mousebind>
+      <mousebind action="Click" button="A-Down">
+        <action name="GoToDesktop">
+          <to>next</to>
+        </action>
+      </mousebind>
+    </context>
+    <context name="Root">
+      <mousebind action="Press" button="Middle">
+        <action name="ShowMenu">
+          <menu>client-list-combined-menu</menu>
+        </action>
+      </mousebind>
+      <mousebind action="Press" button="A-Right">
+        <action name="ShowMenu">
+          <menu>client-list-combined-menu</menu>
+        </action>
+      </mousebind>
+      <mousebind action="Press" button="Right">
+        <action name="ShowMenu">
+          <menu>root-menu</menu>
+        </action>
+      </mousebind>
+    </context>
+  </mouse>
+  <menu>
+    <file>menu.xml</file>
+    <hideDelay>400</hideDelay>
+    <middle>no</middle>
+    <submenuShowDelay>100</submenuShowDelay>
+    <submenuHideDelay>200</submenuHideDelay>
+    <applicationIcons>no</applicationIcons>
+    <manageDesktops>yes</manageDesktops>
+  </menu>
+  <applications>
+    <application name="oblogout">
+      <position force="no">
+        <monitor>1</monitor>
+      </position>
+      <fullscreen>yes</fullscreen>
+    </application>
+  </applications>
+</openbox_config>
diff --git a/skel/.config/picom/picom.conf b/skel/.config/picom/picom.conf
new file mode 100644 (file)
index 0000000..345250e
--- /dev/null
@@ -0,0 +1,219 @@
+# Thank you code_nomad: http://9m.no/ꪯ鵞\r
+# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton\r
+\r
+#################################\r
+#\r
+# Backend\r
+#\r
+#################################\r
+\r
+# Backend to use: "xrender" or "glx".\r
+# GLX backend is typically much faster but depends on a sane driver.\r
+backend = "glx";\r
+\r
+#################################\r
+#\r
+# GLX backend\r
+#\r
+#################################\r
+\r
+glx-no-stencil = true;\r
+\r
+# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.\r
+# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,\r
+# but a 20% increase when only 1/4 is.\r
+# My tests on nouveau show terrible slowdown.\r
+glx-copy-from-front = false;\r
+\r
+# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.\r
+# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.\r
+# May break VSync and is not available on some drivers.\r
+# Overrides --glx-copy-from-front.\r
+# glx-use-copysubbuffermesa = true;\r
+\r
+# GLX backend: Avoid rebinding pixmap on window damage.\r
+# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).\r
+# Recommended if it works.\r
+# glx-no-rebind-pixmap = false;\r
+\r
+use-damage = true;\r
+\r
+#################################\r
+#\r
+# Shadows\r
+#\r
+#################################\r
+\r
+# Enabled client-side shadows on windows.\r
+shadow = true;\r
+# The blur radius for shadows. (default 12)\r
+shadow-radius = 5;\r
+# The left offset for shadows. (default -15)\r
+shadow-offset-x = -5;\r
+# The top offset for shadows. (default -15)\r
+shadow-offset-y = -5;\r
+# The translucency for shadows. (default .75)\r
+shadow-opacity = 0.5;\r
+\r
+# Set if you want different colour shadows\r
+# shadow-red = 0.0;\r
+# shadow-green = 0.0;\r
+# shadow-blue = 0.0;\r
+\r
+# The shadow exclude options are helpful if you have shadows enabled. Due to the way picom draws its shadows, certain applications will have visual glitches\r
+# (most applications are fine, only apps that do weird things with xshapes or argb are affected).\r
+# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.\r
+shadow-exclude = [\r
+    "! name~=''",\r
+    "name = 'Notification'",\r
+    "name = 'Plank'",\r
+    "name = 'Docky'",\r
+    "name = 'Kupfer'",\r
+    "name = 'xfce4-notifyd'",\r
+    "name *= 'VLC'",\r
+    "name *= 'compton'",\r
+    "name *= 'picom'",\r
+    "name *= 'Chromium'",\r
+    "name *= 'Chrome'",\r
+    "class_g = 'Firefox' && argb",\r
+    "class_g = 'firefox'",\r
+    "class_g = 'Conky'",\r
+    "class_g = 'Kupfer'",\r
+    "class_g = 'Synapse'",\r
+    "class_g ?= 'Notify-osd'",\r
+    "class_g ?= 'Cairo-dock'",\r
+    "class_g ?= 'Xfce4-notifyd'",\r
+    "class_g ?= 'Xfce4-power-manager'",\r
+    "_GTK_FRAME_EXTENTS@:c",\r
+    "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"\r
+];\r
+# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)\r
+shadow-ignore-shaped = false;\r
+\r
+#################################\r
+#\r
+# Opacity\r
+#\r
+#################################\r
+\r
+inactive-opacity = 1;\r
+active-opacity = 1;\r
+frame-opacity = 1;\r
+#inactive-opacity-override = false;\r
+\r
+# Dim inactive windows. (0.0 - 1.0)\r
+# inactive-dim = 0.2;\r
+# Do not let dimness adjust based on window opacity.\r
+# inactive-dim-fixed = true;\r
+# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.\r
+blur-background = true;\r
+# Blur background of opaque windows with transparent frames as well.\r
+# blur-background-frame = true;\r
+# Do not let blur radius adjust based on window opacity.\r
+blur-background-fixed = false;\r
+blur-background-exclude = [\r
+    "window_type = 'dock'",\r
+    "window_type = 'desktop'"\r
+];\r
+\r
+#################################\r
+#\r
+# Fading\r
+#\r
+#################################\r
+\r
+# Fade windows during opacity changes.\r
+fading = true;\r
+# The time between steps in a fade in milliseconds. (default 10).\r
+fade-delta = 4;\r
+# Opacity change between steps while fading in. (default 0.028).\r
+fade-in-step = 0.05;\r
+# Opacity change between steps while fading out. (default 0.03).\r
+fade-out-step = 0.05;\r
+# Fade windows in/out when opening/closing\r
+# no-fading-openclose = true;\r
+\r
+# Specify a list of conditions of windows that should not be faded.\r
+fade-exclude = [ ];\r
+\r
+#################################\r
+#\r
+# Other\r
+#\r
+#################################\r
+\r
+# Try to detect WM windows and mark them as active.\r
+mark-wmwin-focused = true;\r
+# Mark all non-WM but override-redirect windows active (e.g. menus).\r
+mark-ovredir-focused = true;\r
+# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.\r
+# Usually more reliable but depends on a EWMH-compliant WM.\r
+use-ewmh-active-win = true;\r
+# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.\r
+detect-rounded-corners = true;\r
+\r
+# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.\r
+# This prevents opacity being ignored for some apps.\r
+# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.\r
+detect-client-opacity = true;\r
+\r
+# Specify refresh rate of the screen.\r
+# If not specified or 0, picom will try detecting this with X RandR extension.\r
+refresh-rate = 0;\r
+\r
+# Vertical synchronization: match the refresh rate of the monitor\r
+vsync = true;\r
+\r
+# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.\r
+# Reported to have no effect, though.\r
+dbe = false;\r
+\r
+# Limit picom to repaint at most once every 1 / refresh_rate second to boost performance.\r
+# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,\r
+# unless you wish to specify a lower refresh rate than the actual value.\r
+#sw-opti = true;\r
+\r
+# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.\r
+# Known to cause flickering when redirecting/unredirecting windows.\r
+unredir-if-possible = false;\r
+\r
+# Specify a list of conditions of windows that should always be considered focused.\r
+focus-exclude = [ ];\r
+\r
+# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.\r
+detect-transient = true;\r
+# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.\r
+# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.\r
+detect-client-leader = true;\r
+\r
+#################################\r
+#\r
+# Window type settings\r
+#\r
+#################################\r
+\r
+wintypes:\r
+{\r
+    tooltip =\r
+    {\r
+        # fade: Fade the particular type of windows.\r
+        fade = true;\r
+        # shadow: Give those windows shadow\r
+        shadow = false;\r
+        # opacity: Default opacity for the type of windows.\r
+        opacity = 0.85;\r
+        # focus: Whether to always consider windows of this type focused.\r
+        focus = true;\r
+    };\r
+};\r
+\r
+######################\r
+#\r
+# XSync\r
+# See: https://github.com/yshui/picom/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d\r
+#\r
+######################\r
+\r
+# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.\r
+#xrender-sync-fence = true;\r
+xrender-sync-fence = false;\r
diff --git a/skel/.config/polybar/config b/skel/.config/polybar/config
new file mode 100644 (file)
index 0000000..69fd6a7
--- /dev/null
@@ -0,0 +1,30 @@
+;=====================================================
+;     File Includes
+;=====================================================
+
+[section/base]
+include-file = $HOME/.config/polybar/master.conf
+include-file = $HOME/.config/polybar/modules.conf
+
+
+;=====================================================
+;     Openbox Bars
+;=====================================================
+
+[bar/openbox-bar]
+inherit = bar/master
+
+; $ polybar -m | cut -d ':' -f 1
+; $ xrandr -q | grep " connected" | cut -d ' ' -f1
+; $ xrandr -q | grep " connected primary" | cut -d ' ' -f1
+monitor = 
+monitor-fallback = 
+
+;tray-position = center
+;tray-padding =
+;tray-transparent = true
+;tray-background = #0063ff
+
+modules-left   = jgmenu workspaces window_switch
+modules-center = 
+modules-right  = wired_network wireless_network pkg battery memory thermal0 thermal1 thermal2 coreuse alsa clock
diff --git a/skel/.config/polybar/fontawesome_codes.txt b/skel/.config/polybar/fontawesome_codes.txt
new file mode 100644 (file)
index 0000000..a266381
--- /dev/null
@@ -0,0 +1,1484 @@
+ ad; U+F641
+ address-book; U+F2B9
+ address-card; U+F2BB
+ adjust; U+F042
+ air-freshener; U+F5D0
+ align-center; U+F037
+ align-justify; U+F039
+ align-left; U+F036
+ align-right; U+F038
+ allergies; U+F461
+ ambulance; U+F0F9
+ american-sign-language-interpreting; U+F2A3
+ anchor; U+F13D
+ angle-double-down; U+F103
+ angle-double-left; U+F100
+ angle-double-right; U+F101
+ angle-double-up; U+F102
+ angle-down; U+F107
+ angle-left; U+F104
+ angle-right; U+F105
+ angle-up; U+F106
+ angry; U+F556
+ ankh; U+F644
+ apple-alt; U+F5D1
+ archive; U+F187
+ archway; U+F557
+ arrow-alt-circle-down; U+F358
+ arrow-alt-circle-left; U+F359
+ arrow-alt-circle-right; U+F35A
+ arrow-alt-circle-up; U+F35B
+ arrow-circle-down; U+F0AB
+ arrow-circle-left; U+F0A8
+ arrow-circle-right; U+F0A9
+ arrow-circle-up; U+F0AA
+ arrow-down; U+F063
+ arrow-left; U+F060
+ arrow-right; U+F061
+ arrow-up; U+F062
+ arrows-alt; U+F0B2
+ arrows-alt-h; U+F337
+ arrows-alt-v; U+F338
+ assistive-listening-systems; U+F2A2
+ asterisk; U+F069
+ at; U+F1FA
+ atlas; U+F558
+ atom; U+F5D2
+ audio-description; U+F29E
+ award; U+F559
+ baby; U+F77C
+ baby-carriage; U+F77D
+ backspace; U+F55A
+ backward; U+F04A
+ balance-scale; U+F24E
+ ban; U+F05E
+ band-aid; U+F462
+ barcode; U+F02A
+ bars; U+F0C9
+ baseball-ball; U+F433
+ basketball-ball; U+F434
+ bath; U+F2CD
+ battery-empty; U+F244
+ battery-full; U+F240
+ battery-half; U+F242
+ battery-quarter; U+F243
+ battery-three-quarters; U+F241
+ bed; U+F236
+ beer; U+F0FC
+ bell; U+F0F3
+ bell-slash; U+F1F6
+ bezier-curve; U+F55B
+ bible; U+F647
+ bicycle; U+F206
+ binoculars; U+F1E5
+ biohazard; U+F780
+ birthday-cake; U+F1FD
+ blender; U+F517
+ blender-phone; U+F6B6
+ blind; U+F29D
+ blog; U+F781
+ bold; U+F032
+ bolt; U+F0E7
+ bomb; U+F1E2
+ bone; U+F5D7
+ bong; U+F55C
+ book; U+F02D
+ book-dead; U+F6B7
+ book-open; U+F518
+ book-reader; U+F5DA
+ bookmark; U+F02E
+ bowling-ball; U+F436
+ box; U+F466
+ box-open; U+F49E
+ boxes; U+F468
+ braille; U+F2A1
+ brain; U+F5DC
+ briefcase; U+F0B1
+ briefcase-medical; U+F469
+ broadcast-tower; U+F519
+ broom; U+F51A
+ brush; U+F55D
+ bug; U+F188
+ building; U+F1AD
+ bullhorn; U+F0A1
+ bullseye; U+F140
+ burn; U+F46A
+ bus; U+F207
+ bus-alt; U+F55E
+ business-time; U+F64A
+ calculator; U+F1EC
+ calendar; U+F133
+ calendar-alt; U+F073
+ calendar-check; U+F274
+ calendar-day; U+F783
+ calendar-minus; U+F272
+ calendar-plus; U+F271
+ calendar-times; U+F273
+ calendar-week; U+F784
+ camera; U+F030
+ camera-retro; U+F083
+ campground; U+F6BB
+ candy-cane; U+F786
+ cannabis; U+F55F
+ capsules; U+F46B
+ car; U+F1B9
+ car-alt; U+F5DE
+ car-battery; U+F5DF
+ car-crash; U+F5E1
+ car-side; U+F5E4
+ caret-down; U+F0D7
+ caret-left; U+F0D9
+ caret-right; U+F0DA
+ caret-square-down; U+F150
+ caret-square-left; U+F191
+ caret-square-right; U+F152
+ caret-square-up; U+F151
+ caret-up; U+F0D8
+ carrot; U+F787
+ cart-arrow-down; U+F218
+ cart-plus; U+F217
+ cash-register; U+F788
+ cat; U+F6BE
+ certificate; U+F0A3
+ chair; U+F6C0
+ chalkboard; U+F51B
+ chalkboard-teacher; U+F51C
+ charging-station; U+F5E7
+ chart-area; U+F1FE
+ chart-bar; U+F080
+ chart-line; U+F201
+ chart-pie; U+F200
+ check; U+F00C
+ check-circle; U+F058
+ check-double; U+F560
+ check-square; U+F14A
+ chess; U+F439
+ chess-bishop; U+F43A
+ chess-board; U+F43C
+ chess-king; U+F43F
+ chess-knight; U+F441
+ chess-pawn; U+F443
+ chess-queen; U+F445
+ chess-rook; U+F447
+ chevron-circle-down; U+F13A
+ chevron-circle-left; U+F137
+ chevron-circle-right; U+F138
+ chevron-circle-up; U+F139
+ chevron-down; U+F078
+ chevron-left; U+F053
+ chevron-right; U+F054
+ chevron-up; U+F077
+ child; U+F1AE
+ church; U+F51D
+ circle; U+F111
+ circle-notch; U+F1CE
+ city; U+F64F
+ clipboard; U+F328
+ clipboard-check; U+F46C
+ clipboard-list; U+F46D
+ clock; U+F017
+ clone; U+F24D
+ closed-captioning; U+F20A
+ cloud; U+F0C2
+ cloud-download-alt; U+F381
+ cloud-meatball; U+F73B
+ cloud-moon; U+F6C3
+ cloud-moon-rain; U+F73C
+ cloud-rain; U+F73D
+ cloud-showers-heavy; U+F740
+ cloud-sun; U+F6C4
+ cloud-sun-rain; U+F743
+ cloud-upload-alt; U+F382
+ cocktail; U+F561
+ code; U+F121
+ code-branch; U+F126
+ coffee; U+F0F4
+ cog; U+F013
+ cogs; U+F085
+ coins; U+F51E
+ columns; U+F0DB
+ comment; U+F075
+ comment-alt; U+F27A
+ comment-dollar; U+F651
+ comment-dots; U+F4AD
+ comment-slash; U+F4B3
+ comments; U+F086
+ comments-dollar; U+F653
+ compact-disc; U+F51F
+ compass; U+F14E
+ compress; U+F066
+ compress-arrows-alt; U+F78C
+ concierge-bell; U+F562
+ cookie; U+F563
+ cookie-bite; U+F564
+ copy; U+F0C5
+ copyright; U+F1F9
+ couch; U+F4B8
+ credit-card; U+F09D
+ crop; U+F125
+ crop-alt; U+F565
+ cross; U+F654
+ crosshairs; U+F05B
+ crow; U+F520
+ crown; U+F521
+ cube; U+F1B2
+ cubes; U+F1B3
+ cut; U+F0C4
+ database; U+F1C0
+ deaf; U+F2A4
+ democrat; U+F747
+ desktop; U+F108
+ dharmachakra; U+F655
+ diagnoses; U+F470
+ dice; U+F522
+ dice-d20; U+F6CF
+ dice-d6; U+F6D1
+ dice-five; U+F523
+ dice-four; U+F524
+ dice-one; U+F525
+ dice-six; U+F526
+ dice-three; U+F527
+ dice-two; U+F528
+ digital-tachograph; U+F566
+ directions; U+F5EB
+ divide; U+F529
+ dizzy; U+F567
+ dna; U+F471
+ dog; U+F6D3
+ dollar-sign; U+F155
+ dolly; U+F472
+ dolly-flatbed; U+F474
+ donate; U+F4B9
+ door-closed; U+F52A
+ door-open; U+F52B
+ dot-circle; U+F192
+ dove; U+F4BA
+ download; U+F019
+ drafting-compass; U+F568
+ dragon; U+F6D5
+ draw-polygon; U+F5EE
+ drum; U+F569
+ drum-steelpan; U+F56A
+ drumstick-bite; U+F6D7
+ dumbbell; U+F44B
+ dumpster; U+F793
+ dumpster-fire; U+F794
+ dungeon; U+F6D9
+ edit; U+F044
+ eject; U+F052
+ ellipsis-h; U+F141
+ ellipsis-v; U+F142
+ envelope; U+F0E0
+ envelope-open; U+F2B6
+ envelope-open-text; U+F658
+ envelope-square; U+F199
+ equals; U+F52C
+ eraser; U+F12D
+ ethernet; U+F796
+ euro-sign; U+F153
+ exchange-alt; U+F362
+ exclamation; U+F12A
+ exclamation-circle; U+F06A
+ exclamation-triangle; U+F071
+ expand; U+F065
+ expand-arrows-alt; U+F31E
+ external-link-alt; U+F35D
+ external-link-square-alt; U+F360
+ eye; U+F06E
+ eye-dropper; U+F1FB
+ eye-slash; U+F070
+ fast-backward; U+F049
+ fast-forward; U+F050
+ fax; U+F1AC
+ feather; U+F52D
+ feather-alt; U+F56B
+ female; U+F182
+ fighter-jet; U+F0FB
+ file; U+F15B
+ file-alt; U+F15C
+ file-archive; U+F1C6
+ file-audio; U+F1C7
+ file-code; U+F1C9
+ file-contract; U+F56C
+ file-csv; U+F6DD
+ file-download; U+F56D
+ file-excel; U+F1C3
+ file-export; U+F56E
+ file-image; U+F1C5
+ file-import; U+F56F
+ file-invoice; U+F570
+ file-invoice-dollar; U+F571
+ file-medical; U+F477
+ file-medical-alt; U+F478
+ file-pdf; U+F1C1
+ file-powerpoint; U+F1C4
+ file-prescription; U+F572
+ file-signature; U+F573
+ file-upload; U+F574
+ file-video; U+F1C8
+ file-word; U+F1C2
+ fill; U+F575
+ fill-drip; U+F576
+ film; U+F008
+ filter; U+F0B0
+ fingerprint; U+F577
+ fire; U+F06D
+ fire-alt; U+F7E4
+ fire-extinguisher; U+F134
+ first-aid; U+F479
+ fish; U+F578
+ fist-raised; U+F6DE
+ flag; U+F024
+ flag-checkered; U+F11E
+ flag-usa; U+F74D
+ flask; U+F0C3
+ flushed; U+F579
+ folder; U+F07B
+ folder-minus; U+F65D
+ folder-open; U+F07C
+ folder-plus; U+F65E
+ font; U+F031
+ font-awesome-logo-full; U+F4E6
+ football-ball; U+F44E
+ forward; U+F04E
+ frog; U+F52E
+ frown; U+F119
+ frown-open; U+F57A
+ funnel-dollar; U+F662
+ futbol; U+F1E3
+ gamepad; U+F11B
+ gas-pump; U+F52F
+ gavel; U+F0E3
+ gem; U+F3A5
+ genderless; U+F22D
+ ghost; U+F6E2
+ gift; U+F06B
+ gifts; U+F79C
+ glass-cheers; U+F79F
+ glass-martini; U+F000
+ glass-martini-alt; U+F57B
+ glass-whiskey; U+F7A0
+ glasses; U+F530
+ globe; U+F0AC
+ globe-africa; U+F57C
+ globe-americas; U+F57D
+ globe-asia; U+F57E
+ globe-europe; U+F7A2
+ golf-ball; U+F450
+ gopuram; U+F664
+ graduation-cap; U+F19D
+ greater-than; U+F531
+ greater-than-equal; U+F532
+ grimace; U+F57F
+ grin; U+F580
+ grin-alt; U+F581
+ grin-beam; U+F582
+ grin-beam-sweat; U+F583
+ grin-hearts; U+F584
+ grin-squint; U+F585
+ grin-squint-tears; U+F586
+ grin-stars; U+F587
+ grin-tears; U+F588
+ grin-tongue; U+F589
+ grin-tongue-squint; U+F58A
+ grin-tongue-wink; U+F58B
+ grin-wink; U+F58C
+ grip-horizontal; U+F58D
+ grip-lines; U+F7A4
+ grip-lines-vertical; U+F7A5
+ grip-vertical; U+F58E
+ guitar; U+F7A6
+ h-square; U+F0FD
+ hammer; U+F6E3
+ hamsa; U+F665
+ hand-holding; U+F4BD
+ hand-holding-heart; U+F4BE
+ hand-holding-usd; U+F4C0
+ hand-lizard; U+F258
+ hand-paper; U+F256
+ hand-peace; U+F25B
+ hand-point-down; U+F0A7
+ hand-point-left; U+F0A5
+ hand-point-right; U+F0A4
+ hand-point-up; U+F0A6
+ hand-pointer; U+F25A
+ hand-rock; U+F255
+ hand-scissors; U+F257
+ hand-spock; U+F259
+ hands; U+F4C2
+ hands-helping; U+F4C4
+ handshake; U+F2B5
+ hanukiah; U+F6E6
+ hashtag; U+F292
+ hat-wizard; U+F6E8
+ haykal; U+F666
+ hdd; U+F0A0
+ heading; U+F1DC
+ headphones; U+F025
+ headphones-alt; U+F58F
+ headset; U+F590
+ heart; U+F004
+ heart-broken; U+F7A9
+ heartbeat; U+F21E
+ helicopter; U+F533
+ highlighter; U+F591
+ hiking; U+F6EC
+ hippo; U+F6ED
+ history; U+F1DA
+ hockey-puck; U+F453
+ holly-berry; U+F7AA
+ home; U+F015
+ horse; U+F6F0
+ horse-head; U+F7AB
+ hospital; U+F0F8
+ hospital-alt; U+F47D
+ hospital-symbol; U+F47E
+ hot-tub; U+F593
+ hotel; U+F594
+ hourglass; U+F254
+ hourglass-end; U+F253
+ hourglass-half; U+F252
+ hourglass-start; U+F251
+ house-damage; U+F6F1
+ hryvnia; U+F6F2
+ i-cursor; U+F246
+ icicles; U+F7AD
+ id-badge; U+F2C1
+ id-card; U+F2C2
+ id-card-alt; U+F47F
+ igloo; U+F7AE
+ image; U+F03E
+ images; U+F302
+ inbox; U+F01C
+ indent; U+F03C
+ industry; U+F275
+ infinity; U+F534
+ info; U+F129
+ info-circle; U+F05A
+ italic; U+F033
+ jedi; U+F669
+ joint; U+F595
+ journal-whills; U+F66A
+ kaaba; U+F66B
+ key; U+F084
+ keyboard; U+F11C
+ khanda; U+F66D
+ kiss; U+F596
+ kiss-beam; U+F597
+ kiss-wink-heart; U+F598
+ kiwi-bird; U+F535
+ landmark; U+F66F
+ language; U+F1AB
+ laptop; U+F109
+ laptop-code; U+F5FC
+ laugh; U+F599
+ laugh-beam; U+F59A
+ laugh-squint; U+F59B
+ laugh-wink; U+F59C
+ layer-group; U+F5FD
+ leaf; U+F06C
+ lemon; U+F094
+ less-than; U+F536
+ less-than-equal; U+F537
+ level-down-alt; U+F3BE
+ level-up-alt; U+F3BF
+ life-ring; U+F1CD
+ lightbulb; U+F0EB
+ link; U+F0C1
+ lira-sign; U+F195
+ list; U+F03A
+ list-alt; U+F022
+ list-ol; U+F0CB
+ list-ul; U+F0CA
+ location-arrow; U+F124
+ lock; U+F023
+ lock-open; U+F3C1
+ long-arrow-alt-down; U+F309
+ long-arrow-alt-left; U+F30A
+ long-arrow-alt-right; U+F30B
+ long-arrow-alt-up; U+F30C
+ low-vision; U+F2A8
+ luggage-cart; U+F59D
+ magic; U+F0D0
+ magnet; U+F076
+ mail-bulk; U+F674
+ male; U+F183
+ map; U+F279
+ map-marked; U+F59F
+ map-marked-alt; U+F5A0
+ map-marker; U+F041
+ map-marker-alt; U+F3C5
+ map-pin; U+F276
+ map-signs; U+F277
+ marker; U+F5A1
+ mars; U+F222
+ mars-double; U+F227
+ mars-stroke; U+F229
+ mars-stroke-h; U+F22B
+ mars-stroke-v; U+F22A
+ mask; U+F6FA
+ medal; U+F5A2
+ medkit; U+F0FA
+ meh; U+F11A
+ meh-blank; U+F5A4
+ meh-rolling-eyes; U+F5A5
+ memory; U+F538
+ menorah; U+F676
+ mercury; U+F223
+ meteor; U+F753
+ microchip; U+F2DB
+ microphone; U+F130
+ microphone-alt; U+F3C9
+ microphone-alt-slash; U+F539
+ microphone-slash; U+F131
+ microscope; U+F610
+ minus; U+F068
+ minus-circle; U+F056
+ minus-square; U+F146
+ mitten; U+F7B5
+ mobile; U+F10B
+ mobile-alt; U+F3CD
+ money-bill; U+F0D6
+ money-bill-alt; U+F3D1
+ money-bill-wave; U+F53A
+ money-bill-wave-alt; U+F53B
+ money-check; U+F53C
+ money-check-alt; U+F53D
+ monument; U+F5A6
+ moon; U+F186
+ mortar-pestle; U+F5A7
+ mosque; U+F678
+ motorcycle; U+F21C
+ mountain; U+F6FC
+ mouse-pointer; U+F245
+ mug-hot; U+F7B6
+ music; U+F001
+ network-wired; U+F6FF
+ neuter; U+F22C
+ newspaper; U+F1EA
+ not-equal; U+F53E
+ notes-medical; U+F481
+ object-group; U+F247
+ object-ungroup; U+F248
+ oil-can; U+F613
+ om; U+F679
+ otter; U+F700
+ outdent; U+F03B
+ paint-brush; U+F1FC
+ paint-roller; U+F5AA
+ palette; U+F53F
+ pallet; U+F482
+ paper-plane; U+F1D8
+ paperclip; U+F0C6
+ parachute-box; U+F4CD
+ paragraph; U+F1DD
+ parking; U+F540
+ passport; U+F5AB
+ pastafarianism; U+F67B
+ paste; U+F0EA
+ pause; U+F04C
+ pause-circle; U+F28B
+ paw; U+F1B0
+ peace; U+F67C
+ pen; U+F304
+ pen-alt; U+F305
+ pen-fancy; U+F5AC
+ pen-nib; U+F5AD
+ pen-square; U+F14B
+ pencil-alt; U+F303
+ pencil-ruler; U+F5AE
+ people-carry; U+F4CE
+ percent; U+F295
+ percentage; U+F541
+ person-booth; U+F756
+ phone; U+F095
+ phone-slash; U+F3DD
+ phone-square; U+F098
+ phone-volume; U+F2A0
+ piggy-bank; U+F4D3
+ pills; U+F484
+ place-of-worship; U+F67F
+ plane; U+F072
+ plane-arrival; U+F5AF
+ plane-departure; U+F5B0
+ play; U+F04B
+ play-circle; U+F144
+ plug; U+F1E6
+ plus; U+F067
+ plus-circle; U+F055
+ plus-square; U+F0FE
+ podcast; U+F2CE
+ poll; U+F681
+ poll-h; U+F682
+ poo; U+F2FE
+ poo-storm; U+F75A
+ poop; U+F619
+ portrait; U+F3E0
+ pound-sign; U+F154
+ power-off; U+F011
+ pray; U+F683
+ praying-hands; U+F684
+ prescription; U+F5B1
+ prescription-bottle; U+F485
+ prescription-bottle-alt; U+F486
+ print; U+F02F
+ procedures; U+F487
+ project-diagram; U+F542
+ puzzle-piece; U+F12E
+ qrcode; U+F029
+ question; U+F128
+ question-circle; U+F059
+ quidditch; U+F458
+ quote-left; U+F10D
+ quote-right; U+F10E
+ quran; U+F687
+ radiation; U+F7B9
+ radiation-alt; U+F7BA
+ rainbow; U+F75B
+ random; U+F074
+ receipt; U+F543
+ recycle; U+F1B8
+ redo; U+F01E
+ redo-alt; U+F2F9
+ registered; U+F25D
+ reply; U+F3E5
+ reply-all; U+F122
+ republican; U+F75E
+ restroom; U+F7BD
+ retweet; U+F079
+ ribbon; U+F4D6
+ ring; U+F70B
+ road; U+F018
+ robot; U+F544
+ rocket; U+F135
+ route; U+F4D7
+ rss; U+F09E
+ rss-square; U+F143
+ ruble-sign; U+F158
+ ruler; U+F545
+ ruler-combined; U+F546
+ ruler-horizontal; U+F547
+ ruler-vertical; U+F548
+ running; U+F70C
+ rupee-sign; U+F156
+ sad-cry; U+F5B3
+ sad-tear; U+F5B4
+ satellite; U+F7BF
+ satellite-dish; U+F7C0
+ save; U+F0C7
+ school; U+F549
+ screwdriver; U+F54A
+ scroll; U+F70E
+ sd-card; U+F7C2
+ search; U+F002
+ search-dollar; U+F688
+ search-location; U+F689
+ search-minus; U+F010
+ search-plus; U+F00E
+ seedling; U+F4D8
+ server; U+F233
+ shapes; U+F61F
+ share; U+F064
+ share-alt; U+F1E0
+ share-alt-square; U+F1E1
+ share-square; U+F14D
+ shekel-sign; U+F20B
+ shield-alt; U+F3ED
+ ship; U+F21A
+ shipping-fast; U+F48B
+ shoe-prints; U+F54B
+ shopping-bag; U+F290
+ shopping-basket; U+F291
+ shopping-cart; U+F07A
+ shower; U+F2CC
+ shuttle-van; U+F5B6
+ sign; U+F4D9
+ sign-in-alt; U+F2F6
+ sign-language; U+F2A7
+ sign-out-alt; U+F2F5
+ signal; U+F012
+ signature; U+F5B7
+ sim-card; U+F7C4
+ sitemap; U+F0E8
+ skating; U+F7C5
+ skiing; U+F7C9
+ skiing-nordic; U+F7CA
+ skull; U+F54C
+ skull-crossbones; U+F714
+ slash; U+F715
+ sleigh; U+F7CC
+ sliders-h; U+F1DE
+ smile; U+F118
+ smile-beam; U+F5B8
+ smile-wink; U+F4DA
+ smog; U+F75F
+ smoking; U+F48D
+ smoking-ban; U+F54D
+ sms; U+F7CD
+ snowboarding; U+F7CE
+ snowflake; U+F2DC
+ snowman; U+F7D0
+ snowplow; U+F7D2
+ socks; U+F696
+ solar-panel; U+F5BA
+ sort; U+F0DC
+ sort-alpha-down; U+F15D
+ sort-alpha-up; U+F15E
+ sort-amount-down; U+F160
+ sort-amount-up; U+F161
+ sort-down; U+F0DD
+ sort-numeric-down; U+F162
+ sort-numeric-up; U+F163
+ sort-up; U+F0DE
+ spa; U+F5BB
+ space-shuttle; U+F197
+ spider; U+F717
+ spinner; U+F110
+ splotch; U+F5BC
+ spray-can; U+F5BD
+ square; U+F0C8
+ square-full; U+F45C
+ square-root-alt; U+F698
+ stamp; U+F5BF
+ star; U+F005
+ star-and-crescent; U+F699
+ star-half; U+F089
+ star-half-alt; U+F5C0
+ star-of-david; U+F69A
+ star-of-life; U+F621
+ step-backward; U+F048
+ step-forward; U+F051
+ stethoscope; U+F0F1
+ sticky-note; U+F249
+ stop; U+F04D
+ stop-circle; U+F28D
+ stopwatch; U+F2F2
+ store; U+F54E
+ store-alt; U+F54F
+ stream; U+F550
+ street-view; U+F21D
+ strikethrough; U+F0CC
+ stroopwafel; U+F551
+ subscript; U+F12C
+ subway; U+F239
+ suitcase; U+F0F2
+ suitcase-rolling; U+F5C1
+ sun; U+F185
+ superscript; U+F12B
+ surprise; U+F5C2
+ swatchbook; U+F5C3
+ swimmer; U+F5C4
+ swimming-pool; U+F5C5
+ synagogue; U+F69B
+ sync; U+F021
+ sync-alt; U+F2F1
+ syringe; U+F48E
+ table; U+F0CE
+ table-tennis; U+F45D
+ tablet; U+F10A
+ tablet-alt; U+F3FA
+ tablets; U+F490
+ tachometer-alt; U+F3FD
+ tag; U+F02B
+ tags; U+F02C
+ tape; U+F4DB
+ tasks; U+F0AE
+ taxi; U+F1BA
+ teeth; U+F62E
+ teeth-open; U+F62F
+ temperature-high; U+F769
+ temperature-low; U+F76B
+ tenge; U+F7D7
+ terminal; U+F120
+ text-height; U+F034
+ text-width; U+F035
+ th; U+F00A
+ th-large; U+F009
+ th-list; U+F00B
+ theater-masks; U+F630
+ thermometer; U+F491
+ thermometer-empty; U+F2CB
+ thermometer-full; U+F2C7
+ thermometer-half; U+F2C9
+ thermometer-quarter; U+F2CA
+ thermometer-three-quarters; U+F2C8
+ thumbs-down; U+F165
+ thumbs-up; U+F164
+ thumbtack; U+F08D
+ ticket-alt; U+F3FF
+ times; U+F00D
+ times-circle; U+F057
+ tint; U+F043
+ tint-slash; U+F5C7
+ tired; U+F5C8
+ toggle-off; U+F204
+ toggle-on; U+F205
+ toilet; U+F7D8
+ toilet-paper; U+F71E
+ toolbox; U+F552
+ tools; U+F7D9
+ tooth; U+F5C9
+ torah; U+F6A0
+ torii-gate; U+F6A1
+ tractor; U+F722
+ trademark; U+F25C
+ traffic-light; U+F637
+ train; U+F238
+ tram; U+F7DA
+ transgender; U+F224
+ transgender-alt; U+F225
+ trash; U+F1F8
+ trash-alt; U+F2ED
+ tree; U+F1BB
+ trophy; U+F091
+ truck; U+F0D1
+ truck-loading; U+F4DE
+ truck-monster; U+F63B
+ truck-moving; U+F4DF
+ truck-pickup; U+F63C
+ tshirt; U+F553
+ tty; U+F1E4
+ tv; U+F26C
+ umbrella; U+F0E9
+ umbrella-beach; U+F5CA
+ underline; U+F0CD
+ undo; U+F0E2
+ undo-alt; U+F2EA
+ universal-access; U+F29A
+ university; U+F19C
+ unlink; U+F127
+ unlock; U+F09C
+ unlock-alt; U+F13E
+ upload; U+F093
+ user; U+F007
+ user-alt; U+F406
+ user-alt-slash; U+F4FA
+ user-astronaut; U+F4FB
+ user-check; U+F4FC
+ user-circle; U+F2BD
+ user-clock; U+F4FD
+ user-cog; U+F4FE
+ user-edit; U+F4FF
+ user-friends; U+F500
+ user-graduate; U+F501
+ user-injured; U+F728
+ user-lock; U+F502
+ user-md; U+F0F0
+ user-minus; U+F503
+ user-ninja; U+F504
+ user-plus; U+F234
+ user-secret; U+F21B
+ user-shield; U+F505
+ user-slash; U+F506
+ user-tag; U+F507
+ user-tie; U+F508
+ user-times; U+F235
+ users; U+F0C0
+ users-cog; U+F509
+ utensil-spoon; U+F2E5
+ utensils; U+F2E7
+ vector-square; U+F5CB
+ venus; U+F221
+ venus-double; U+F226
+ venus-mars; U+F228
+ vial; U+F492
+ vials; U+F493
+ video; U+F03D
+ video-slash; U+F4E2
+ vihara; U+F6A7
+ volleyball-ball; U+F45F
+ volume-down; U+F027
+ volume-mute; U+F6A9
+ volume-off; U+F026
+ volume-up; U+F028
+ vote-yea; U+F772
+ vr-cardboard; U+F729
+ walking; U+F554
+ wallet; U+F555
+ warehouse; U+F494
+ water; U+F773
+ weight; U+F496
+ weight-hanging; U+F5CD
+ wheelchair; U+F193
+ wifi; U+F1EB
+ wind; U+F72E
+ window-close; U+F410
+ window-maximize; U+F2D0
+ window-minimize; U+F2D1
+ window-restore; U+F2D2
+ wine-bottle; U+F72F
+ wine-glass; U+F4E3
+ wine-glass-alt; U+F5CE
+ won-sign; U+F159
+ wrench; U+F0AD
+ x-ray; U+F497
+ yen-sign; U+F157
+ yin-yang; U+F6AD
+ address-book; U+F2B9
+ address-card; U+F2BB
+ angry; U+F556
+ arrow-alt-circle-down; U+F358
+ arrow-alt-circle-left; U+F359
+ arrow-alt-circle-right; U+F35A
+ arrow-alt-circle-up; U+F35B
+ bell; U+F0F3
+ bell-slash; U+F1F6
+ bookmark; U+F02E
+ building; U+F1AD
+ calendar; U+F133
+ calendar-alt; U+F073
+ calendar-check; U+F274
+ calendar-minus; U+F272
+ calendar-plus; U+F271
+ calendar-times; U+F273
+ caret-square-down; U+F150
+ caret-square-left; U+F191
+ caret-square-right; U+F152
+ caret-square-up; U+F151
+ chart-bar; U+F080
+ check-circle; U+F058
+ check-square; U+F14A
+ circle; U+F111
+ clipboard; U+F328
+ clock; U+F017
+ clone; U+F24D
+ closed-captioning; U+F20A
+ comment; U+F075
+ comment-alt; U+F27A
+ comment-dots; U+F4AD
+ comments; U+F086
+ compass; U+F14E
+ copy; U+F0C5
+ copyright; U+F1F9
+ credit-card; U+F09D
+ dizzy; U+F567
+ dot-circle; U+F192
+ edit; U+F044
+ envelope; U+F0E0
+ envelope-open; U+F2B6
+ eye; U+F06E
+ eye-slash; U+F070
+ file; U+F15B
+ file-alt; U+F15C
+ file-archive; U+F1C6
+ file-audio; U+F1C7
+ file-code; U+F1C9
+ file-excel; U+F1C3
+ file-image; U+F1C5
+ file-pdf; U+F1C1
+ file-powerpoint; U+F1C4
+ file-video; U+F1C8
+ file-word; U+F1C2
+ flag; U+F024
+ flushed; U+F579
+ folder; U+F07B
+ folder-open; U+F07C
+ font-awesome-logo-full; U+F4E6
+ frown; U+F119
+ frown-open; U+F57A
+ futbol; U+F1E3
+ gem; U+F3A5
+ grimace; U+F57F
+ grin; U+F580
+ grin-alt; U+F581
+ grin-beam; U+F582
+ grin-beam-sweat; U+F583
+ grin-hearts; U+F584
+ grin-squint; U+F585
+ grin-squint-tears; U+F586
+ grin-stars; U+F587
+ grin-tears; U+F588
+ grin-tongue; U+F589
+ grin-tongue-squint; U+F58A
+ grin-tongue-wink; U+F58B
+ grin-wink; U+F58C
+ hand-lizard; U+F258
+ hand-paper; U+F256
+ hand-peace; U+F25B
+ hand-point-down; U+F0A7
+ hand-point-left; U+F0A5
+ hand-point-right; U+F0A4
+ hand-point-up; U+F0A6
+ hand-pointer; U+F25A
+ hand-rock; U+F255
+ hand-scissors; U+F257
+ hand-spock; U+F259
+ handshake; U+F2B5
+ hdd; U+F0A0
+ heart; U+F004
+ hospital; U+F0F8
+ hourglass; U+F254
+ id-badge; U+F2C1
+ id-card; U+F2C2
+ image; U+F03E
+ images; U+F302
+ keyboard; U+F11C
+ kiss; U+F596
+ kiss-beam; U+F597
+ kiss-wink-heart; U+F598
+ laugh; U+F599
+ laugh-beam; U+F59A
+ laugh-squint; U+F59B
+ laugh-wink; U+F59C
+ lemon; U+F094
+ life-ring; U+F1CD
+ lightbulb; U+F0EB
+ list-alt; U+F022
+ map; U+F279
+ meh; U+F11A
+ meh-blank; U+F5A4
+ meh-rolling-eyes; U+F5A5
+ minus-square; U+F146
+ money-bill-alt; U+F3D1
+ moon; U+F186
+ newspaper; U+F1EA
+ object-group; U+F247
+ object-ungroup; U+F248
+ paper-plane; U+F1D8
+ pause-circle; U+F28B
+ play-circle; U+F144
+ plus-square; U+F0FE
+ question-circle; U+F059
+ registered; U+F25D
+ sad-cry; U+F5B3
+ sad-tear; U+F5B4
+ save; U+F0C7
+ share-square; U+F14D
+ smile; U+F118
+ smile-beam; U+F5B8
+ smile-wink; U+F4DA
+ snowflake; U+F2DC
+ square; U+F0C8
+ star; U+F005
+ star-half; U+F089
+ sticky-note; U+F249
+ stop-circle; U+F28D
+ sun; U+F185
+ surprise; U+F5C2
+ thumbs-down; U+F165
+ thumbs-up; U+F164
+ times-circle; U+F057
+ tired; U+F5C8
+ trash-alt; U+F2ED
+ user; U+F007
+ user-circle; U+F2BD
+ window-close; U+F410
+ window-maximize; U+F2D0
+ window-minimize; U+F2D1
+ window-restore; U+F2D2
+ 500px; U+F26E
+ accessible-icon; U+F368
+ accusoft; U+F369
+ acquisitions-incorporated; U+F6AF
+ adn; U+F170
+ adobe; U+F778
+ adversal; U+F36A
+ affiliatetheme; U+F36B
+ algolia; U+F36C
+ alipay; U+F642
+ amazon; U+F270
+ amazon-pay; U+F42C
+ amilia; U+F36D
+ android; U+F17B
+ angellist; U+F209
+ angrycreative; U+F36E
+ angular; U+F420
+ app-store; U+F36F
+ app-store-ios; U+F370
+ apper; U+F371
+ apple; U+F179
+ apple-pay; U+F415
+ artstation; U+F77A
+ asymmetrik; U+F372
+ atlassian; U+F77B
+ audible; U+F373
+ autoprefixer; U+F41C
+ avianex; U+F374
+ aviato; U+F421
+ aws; U+F375
+ bandcamp; U+F2D5
+ behance; U+F1B4
+ behance-square; U+F1B5
+ bimobject; U+F378
+ bitbucket; U+F171
+ bitcoin; U+F379
+ bity; U+F37A
+ black-tie; U+F27E
+ blackberry; U+F37B
+ blogger; U+F37C
+ blogger-b; U+F37D
+ bluetooth; U+F293
+ bluetooth-b; U+F294
+ btc; U+F15A
+ buromobelexperte; U+F37F
+ buysellads; U+F20D
+ canadian-maple-leaf; U+F785
+ cc-amazon-pay; U+F42D
+ cc-amex; U+F1F3
+ cc-apple-pay; U+F416
+ cc-diners-club; U+F24C
+ cc-discover; U+F1F2
+ cc-jcb; U+F24B
+ cc-mastercard; U+F1F1
+ cc-paypal; U+F1F4
+ cc-stripe; U+F1F5
+ cc-visa; U+F1F0
+ centercode; U+F380
+ centos; U+F789
+ chrome; U+F268
+ cloudscale; U+F383
+ cloudsmith; U+F384
+ cloudversify; U+F385
+ codepen; U+F1CB
+ codiepie; U+F284
+ confluence; U+F78D
+ connectdevelop; U+F20E
+ contao; U+F26D
+ cpanel; U+F388
+ creative-commons; U+F25E
+ creative-commons-by; U+F4E7
+ creative-commons-nc; U+F4E8
+ creative-commons-nc-eu; U+F4E9
+ creative-commons-nc-jp; U+F4EA
+ creative-commons-nd; U+F4EB
+ creative-commons-pd; U+F4EC
+ creative-commons-pd-alt; U+F4ED
+ creative-commons-remix; U+F4EE
+ creative-commons-sa; U+F4EF
+ creative-commons-sampling; U+F4F0
+ creative-commons-sampling-plus; U+F4F1
+ creative-commons-share; U+F4F2
+ creative-commons-zero; U+F4F3
+ critical-role; U+F6C9
+ css3; U+F13C
+ css3-alt; U+F38B
+ cuttlefish; U+F38C
+ d-and-d; U+F38D
+ d-and-d-beyond; U+F6CA
+ dashcube; U+F210
+ delicious; U+F1A5
+ deploydog; U+F38E
+ deskpro; U+F38F
+ dev; U+F6CC
+ deviantart; U+F1BD
+ dhl; U+F790
+ diaspora; U+F791
+ digg; U+F1A6
+ digital-ocean; U+F391
+ discord; U+F392
+ discourse; U+F393
+ dochub; U+F394
+ docker; U+F395
+ draft2digital; U+F396
+ dribbble; U+F17D
+ dribbble-square; U+F397
+ dropbox; U+F16B
+ drupal; U+F1A9
+ dyalog; U+F399
+ earlybirds; U+F39A
+ ebay; U+F4F4
+ edge; U+F282
+ elementor; U+F430
+ ello; U+F5F1
+ ember; U+F423
+ empire; U+F1D1
+ envira; U+F299
+ erlang; U+F39D
+ ethereum; U+F42E
+ etsy; U+F2D7
+ expeditedssl; U+F23E
+ facebook; U+F09A
+ facebook-f; U+F39E
+ facebook-messenger; U+F39F
+ facebook-square; U+F082
+ fantasy-flight-games; U+F6DC
+ fedex; U+F797
+ fedora; U+F798
+ figma; U+F799
+ firefox; U+F269
+ first-order; U+F2B0
+ first-order-alt; U+F50A
+ firstdraft; U+F3A1
+ flickr; U+F16E
+ flipboard; U+F44D
+ fly; U+F417
+ font-awesome; U+F2B4
+ font-awesome-alt; U+F35C
+ font-awesome-flag; U+F425
+ font-awesome-logo-full; U+F4E6
+ fonticons; U+F280
+ fonticons-fi; U+F3A2
+ fort-awesome; U+F286
+ fort-awesome-alt; U+F3A3
+ forumbee; U+F211
+ foursquare; U+F180
+ free-code-camp; U+F2C5
+ freebsd; U+F3A4
+ fulcrum; U+F50B
+ galactic-republic; U+F50C
+ galactic-senate; U+F50D
+ get-pocket; U+F265
+ gg; U+F260
+ gg-circle; U+F261
+ git; U+F1D3
+ git-square; U+F1D2
+ github; U+F09B
+ github-alt; U+F113
+ github-square; U+F092
+ gitkraken; U+F3A6
+ gitlab; U+F296
+ gitter; U+F426
+ glide; U+F2A5
+ glide-g; U+F2A6
+ gofore; U+F3A7
+ goodreads; U+F3A8
+ goodreads-g; U+F3A9
+ google; U+F1A0
+ google-drive; U+F3AA
+ google-play; U+F3AB
+ google-plus; U+F2B3
+ google-plus-g; U+F0D5
+ google-plus-square; U+F0D4
+ google-wallet; U+F1EE
+ gratipay; U+F184
+ grav; U+F2D6
+ gripfire; U+F3AC
+ grunt; U+F3AD
+ gulp; U+F3AE
+ hacker-news; U+F1D4
+ hacker-news-square; U+F3AF
+ hackerrank; U+F5F7
+ hips; U+F452
+ hire-a-helper; U+F3B0
+ hooli; U+F427
+ hornbill; U+F592
+ hotjar; U+F3B1
+ houzz; U+F27C
+ html5; U+F13B
+ hubspot; U+F3B2
+ imdb; U+F2D8
+ instagram; U+F16D
+ intercom; U+F7AF
+ internet-explorer; U+F26B
+ invision; U+F7B0
+ ioxhost; U+F208
+ itunes; U+F3B4
+ itunes-note; U+F3B5
+ java; U+F4E4
+ jedi-order; U+F50E
+ jenkins; U+F3B6
+ jira; U+F7B1
+ joget; U+F3B7
+ joomla; U+F1AA
+ js; U+F3B8
+ js-square; U+F3B9
+ jsfiddle; U+F1CC
+ kaggle; U+F5FA
+ keybase; U+F4F5
+ keycdn; U+F3BA
+ kickstarter; U+F3BB
+ kickstarter-k; U+F3BC
+ korvue; U+F42F
+ laravel; U+F3BD
+ lastfm; U+F202
+ lastfm-square; U+F203
+ leanpub; U+F212
+ less; U+F41D
+ line; U+F3C0
+ linkedin; U+F08C
+ linkedin-in; U+F0E1
+ linode; U+F2B8
+ linux; U+F17C
+ lyft; U+F3C3
+ magento; U+F3C4
+ mailchimp; U+F59E
+ mandalorian; U+F50F
+ markdown; U+F60F
+ mastodon; U+F4F6
+ maxcdn; U+F136
+ medapps; U+F3C6
+ medium; U+F23A
+ medium-m; U+F3C7
+ medrt; U+F3C8
+ meetup; U+F2E0
+ megaport; U+F5A3
+ mendeley; U+F7B3
+ microsoft; U+F3CA
+ mix; U+F3CB
+ mixcloud; U+F289
+ mizuni; U+F3CC
+ modx; U+F285
+ monero; U+F3D0
+ napster; U+F3D2
+ neos; U+F612
+ nimblr; U+F5A8
+ nintendo-switch; U+F418
+ node; U+F419
+ node-js; U+F3D3
+ npm; U+F3D4
+ ns8; U+F3D5
+ nutritionix; U+F3D6
+ odnoklassniki; U+F263
+ odnoklassniki-square; U+F264
+ old-republic; U+F510
+ opencart; U+F23D
+ openid; U+F19B
+ opera; U+F26A
+ optin-monster; U+F23C
+ osi; U+F41A
+ page4; U+F3D7
+ pagelines; U+F18C
+ palfed; U+F3D8
+ patreon; U+F3D9
+ paypal; U+F1ED
+ penny-arcade; U+F704
+ periscope; U+F3DA
+ phabricator; U+F3DB
+ phoenix-framework; U+F3DC
+ phoenix-squadron; U+F511
+ php; U+F457
+ pied-piper; U+F2AE
+ pied-piper-alt; U+F1A8
+ pied-piper-hat; U+F4E5
+ pied-piper-pp; U+F1A7
+ pinterest; U+F0D2
+ pinterest-p; U+F231
+ pinterest-square; U+F0D3
+ playstation; U+F3DF
+ product-hunt; U+F288
+ pushed; U+F3E1
+ python; U+F3E2
+ qq; U+F1D6
+ quinscape; U+F459
+ quora; U+F2C4
+ r-project; U+F4F7
+ raspberry-pi; U+F7BB
+ ravelry; U+F2D9
+ react; U+F41B
+ reacteurope; U+F75D
+ readme; U+F4D5
+ rebel; U+F1D0
+ red-river; U+F3E3
+ reddit; U+F1A1
+ reddit-alien; U+F281
+ reddit-square; U+F1A2
+ redhat; U+F7BC
+ renren; U+F18B
+ replyd; U+F3E6
+ researchgate; U+F4F8
+ resolving; U+F3E7
+ rev; U+F5B2
+ rocketchat; U+F3E8
+ rockrms; U+F3E9
+ safari; U+F267
+ sass; U+F41E
+ schlix; U+F3EA
+ scribd; U+F28A
+ searchengin; U+F3EB
+ sellcast; U+F2DA
+ sellsy; U+F213
+ servicestack; U+F3EC
+ shirtsinbulk; U+F214
+ shopware; U+F5B5
+ simplybuilt; U+F215
+ sistrix; U+F3EE
+ sith; U+F512
+ sketch; U+F7C6
+ skyatlas; U+F216
+ skype; U+F17E
+ slack; U+F198
+ slack-hash; U+F3EF
+ slideshare; U+F1E7
+ snapchat; U+F2AB
+ snapchat-ghost; U+F2AC
+ snapchat-square; U+F2AD
+ soundcloud; U+F1BE
+ sourcetree; U+F7D3
+ speakap; U+F3F3
+ spotify; U+F1BC
+ squarespace; U+F5BE
+ stack-exchange; U+F18D
+ stack-overflow; U+F16C
+ staylinked; U+F3F5
+ steam; U+F1B6
+ steam-square; U+F1B7
+ steam-symbol; U+F3F6
+ sticker-mule; U+F3F7
+ strava; U+F428
+ stripe; U+F429
+ stripe-s; U+F42A
+ studiovinari; U+F3F8
+ stumbleupon; U+F1A4
+ stumbleupon-circle; U+F1A3
+ superpowers; U+F2DD
+ supple; U+F3F9
+ suse; U+F7D6
+ teamspeak; U+F4F9
+ telegram; U+F2C6
+ telegram-plane; U+F3FE
+ tencent-weibo; U+F1D5
+ the-red-yeti; U+F69D
+ themeco; U+F5C6
+ themeisle; U+F2B2
+ think-peaks; U+F731
+ trade-federation; U+F513
+ trello; U+F181
+ tripadvisor; U+F262
+ tumblr; U+F173
+ tumblr-square; U+F174
+ twitch; U+F1E8
+ twitter; U+F099
+ twitter-square; U+F081
+ typo3; U+F42B
+ uber; U+F402
+ ubuntu; U+F7DF
+ uikit; U+F403
+ uniregistry; U+F404
+ untappd; U+F405
+ ups; U+F7E0
+ usb; U+F287
+ usps; U+F7E1
+ ussunnah; U+F407
+ vaadin; U+F408
+ viacoin; U+F237
+ viadeo; U+F2A9
+ viadeo-square; U+F2AA
+ viber; U+F409
+ vimeo; U+F40A
+ vimeo-square; U+F194
+ vimeo-v; U+F27D
+ vine; U+F1CA
+ vk; U+F189
+ vnv; U+F40B
+ vuejs; U+F41F
+ weebly; U+F5CC
+ weibo; U+F18A
+ weixin; U+F1D7
+ whatsapp; U+F232
+ whatsapp-square; U+F40C
+ whmcs; U+F40D
+ wikipedia-w; U+F266
+ windows; U+F17A
+ wix; U+F5CF
+ wizards-of-the-coast; U+F730
+ wolf-pack-battalion; U+F514
+ wordpress; U+F19A
+ wordpress-simple; U+F411
+ wpbeginner; U+F297
+ wpexplorer; U+F2DE
+ wpforms; U+F298
+ wpressr; U+F3E4
+ xbox; U+F412
+ xing; U+F168
+ xing-square; U+F169
+ y-combinator; U+F23B
+ yahoo; U+F19E
+ yandex; U+F413
+ yandex-international; U+F414
+ yarn; U+F7E3
+ yelp; U+F1E9
+ yoast; U+F2B1
+ youtube; U+F167
+ youtube-square; U+F431
+ zhihu; U+F63F
+
diff --git a/skel/.config/polybar/master.conf b/skel/.config/polybar/master.conf
new file mode 100644 (file)
index 0000000..d32467e
--- /dev/null
@@ -0,0 +1,137 @@
+;=====================================================
+;     Colors & Settings
+;=====================================================
+
+[theme]
+white = #DDDDDD
+
+gray1 = #888888
+gray2 = #666666
+gray3 = #555555
+gray4 = #2F2F2F
+gray5 = #282828
+
+blue-night = #2B293F
+
+
+red-dark = aa0000
+red-darker = #B90004
+red-darkest = #820003
+
+blue = #2D9BD2
+orange = #FF8900
+orange-dark = #C56B01
+yellow = #FFE300
+yellow-dark = #F5AF26
+red = #FF0000
+
+[unit]
+launcher = ${theme.red-dark}
+switcher =  ${theme.blue}
+clock = ${theme.blue}
+pkg = ${theme.blue}
+lan = ${theme.blue}
+wlan = ${theme.blue}
+mem = ${theme.blue}
+cpu = ${theme.blue}
+
+[level]
+load_0 = ${theme.gray1}
+load_1 = ${theme.gray3}
+load_2 = ${theme.blue}
+load_3 = ${theme.orange}
+load_4 = ${theme.yellow}
+load_5 = ${theme.red}
+
+cpu_cold = ${theme.blue}
+cpu_normal = ${theme.orange}
+cpu_warm = ${theme.yellow}
+cpu_hot = ${theme.red}
+
+vol_0 = ${theme.gray2}
+vol_1 = ${theme.blue}
+vol_2 = ${theme.orange}
+vol_3 = ${theme.yellow}
+vol_4 = ${theme.red}
+
+
+; -------------------------------
+
+[colors]
+active = ${theme.yellow}
+foreground = ${theme.white}
+background = ${theme.gray5}
+border = ${theme.blue-night}
+
+launcher = ${theme.launcher}
+
+moderate = ${theme.yellow}
+occupied = ${theme.red-darker}
+urgent = ${theme.orange}
+
+trim = ${theme.blue-night}
+
+;blue = #8fa1b3
+;pink = #bf616a
+;orange = #ebcb8b
+;purple = #b48ead
+;yellow = #ebcb8b
+
+
+[settings]
+throttle-output = 5
+throttle-output-for = 10
+throttle-input-for = 30
+compositing-background = source
+compositing-foreground = source
+compositing-overline = source
+compositing-underline = source
+compositing-border = source
+screenchange-reload = true
+format-foreground = ${colors.foreground}
+format-background = ${colors.background}
+
+;=====================================================
+;     Network interfaces
+;=====================================================
+; use nmcli to list your devices - restart polybar
+; nmcli | grep -e en -e wl
+[nic]
+lan = enp0s25
+wlan = wlp3s0
+
+;=====================================================
+;    Master Bar
+;=====================================================
+
+[bar/master]
+border-color = ${colors.border}
+background = ${colors.background}
+foreground = ${colors.foreground}
+margin-bottom = 3
+module-margin = 0
+padding-right = 1
+padding-left = 1
+separator =
+width = 99.5%
+height = 36
+border-size = 0
+border-top-size = 0
+border-bottom-size = 1
+radius-top = 5
+;radius = 5
+bottom = false
+line-size = 1
+tray-maxsize = 20
+font-0 = "DejaVu Sans Mono:size=12:antialias=false;2"
+font-1 = "font\-logos:size=20:antialias=true;1"
+font-2 = "MaterialIcons:size=12:antialias=false;2"
+font-3 = "icomoon:size=12:antialias=false;2"
+font-4 = "Ubuntu Nerd Font:size=12:antialias=false;2"
+offset-x = 5
+offset-y = 3
+fixed-center = true
+scroll-up = pamixer -i 2
+scroll-down = pamixer -d 2
+double-click-left = networkmanager_dmenu
+double-click-right = pavucontrol &
\ No newline at end of file
diff --git a/skel/.config/polybar/modules.conf b/skel/.config/polybar/modules.conf
new file mode 100644 (file)
index 0000000..f44a854
--- /dev/null
@@ -0,0 +1,89 @@
+;=====================================================
+;     Modules
+;=====================================================
+
+
+;=====================================================
+;     CLOCK
+;=====================================================
+
+include-file = $HOME/.config/polybar/modules/clock.conf
+
+;=====================================================
+;     LAUNCHER
+;=====================================================
+
+include-file = $HOME/.config/polybar/modules/jgmenu.conf
+
+;=====================================================
+;     NETWORK
+;=====================================================
+
+; check-network script module
+;include-file = $HOME/.config/polybar/modules/check-network.conf
+
+; wired network module
+include-file = $HOME/.config/polybar/modules/wired-network.conf
+
+; wireless network module
+include-file = $HOME/.config/polybar/modules/wireless-network.conf
+
+;=====================================================
+;     SOUND
+;=====================================================
+; alsa module
+include-file = $HOME/.config/polybar/modules/alsa.conf
+
+; pulse audio module
+include-file = $HOME/.config/polybar/modules/pulseaudio.conf
+
+; media player daemon module
+;include-file = $HOME/.config/polybar/modules/mpd.conf
+
+;=====================================================
+;     SENSORS
+;=====================================================
+; battery module
+include-file = $HOME/.config/polybar/modules/battery.conf
+
+; Uncomment for cpu use module
+include-file = $HOME/.config/polybar/modules/coreuse.conf
+
+; keyboard module
+include-file = $HOME/.config/polybar/modules/keyboard.conf
+
+; memory module
+include-file = $HOME/.config/polybar/modules/memory.conf
+
+; Thermal zones
+include-file = $HOME/.config/polybar/modules/thermalzone0.conf
+include-file = $HOME/.config/polybar/modules/thermalzone1.conf
+include-file = $HOME/.config/polybar/modules/thermalzone2.conf
+
+;=====================================================
+;     FILESYSTEM
+;=====================================================
+
+; filesystem inf module
+include-file = $HOME/.config/polybar/modules/filesystem.conf
+
+;=====================================================
+;     UPDATES
+;=====================================================
+
+; package status module
+include-file = $HOME/.config/polybar/modules/pkg.conf
+
+;=====================================================
+;     WINDOW SWITCHER
+;=====================================================
+
+; window switcher module
+include-file = $HOME/.config/polybar/modules/window_switch.conf
+
+;=====================================================
+;     WORKSPACES
+;=====================================================
+
+; workspaces module
+include-file = $HOME/.config/polybar/modules/workspaces.conf
diff --git a/skel/.config/polybar/modules/alsa.conf b/skel/.config/polybar/modules/alsa.conf
new file mode 100644 (file)
index 0000000..b8b1db4
--- /dev/null
@@ -0,0 +1,14 @@
+[module/alsa]
+type = internal/alsa
+
+; Soundcard to be used
+; Usually in the format hw:#
+; You can find the different card numbers in `/proc/asound/cards`
+master-soundcard = default
+speaker-soundcard = default
+headphone-soundcard = default
+
+master-mixer = Master
+label-volume = %{A3:pavucontrol & disown:}%percentage%% %{A}
+
+include-file = $HOME/.config/polybar/modules/volumes.conf
diff --git a/skel/.config/polybar/modules/battery.conf b/skel/.config/polybar/modules/battery.conf
new file mode 100644 (file)
index 0000000..4942cb4
--- /dev/null
@@ -0,0 +1,30 @@
+[module/battery]
+type = internal/battery
+; Use $ ls -1 /sys/class/power_supply/
+battery = BAT0
+adapter = AC
+full-at = 98
+poll-interval = 5
+time-format = %H:%M
+
+format-charging    = <animation-charging> <label-charging>
+format-discharging = <ramp-capacity> <label-discharging>
+format-full        = <ramp-capacity> <label-full>
+;    
+ramp-capacity-0 = 
+ramp-capacity-1 = 
+ramp-capacity-2 = 
+ramp-capacity-3 = 
+ramp-capacity-4 = 
+ramp-capacity-0-foreground = ${colors.urgent}
+ramp-capacity-1-foreground = #ffa900
+ramp-capacity-foreground   = ${colors.blue}
+
+bar-capacity-width = 10
+animation-charging-0 = " "
+animation-charging-1 = " "
+animation-charging-2 = " "
+animation-charging-3 = " "
+animation-charging-4 = " "
+animation-charging-framerate = 750
+
diff --git a/skel/.config/polybar/modules/clock.conf b/skel/.config/polybar/modules/clock.conf
new file mode 100644 (file)
index 0000000..457e15d
--- /dev/null
@@ -0,0 +1,13 @@
+[module/clock]
+type = internal/date
+date = %F
+time = %R
+date-alt = %Y-%d-%m
+time-alt = %I:%M %p
+format = %{A1:gsimplecal & disown:}%{A}<label>
+format-foreground = ${unit.clock}
+label-foreground = ${theme.white}
+label-padding = 1
+interval = 5
+label =  %date% %time%
+
diff --git a/skel/.config/polybar/modules/coreuse.conf b/skel/.config/polybar/modules/coreuse.conf
new file mode 100644 (file)
index 0000000..ba0554d
--- /dev/null
@@ -0,0 +1,21 @@
+[module/coreuse]
+type = internal/cpu
+interval = 1
+format-padding = 1
+format-foreground = ${unit.cpu}
+label-foreground = ${theme.white}
+format =  <label><ramp-coreload>
+label = %{A1:termite --exec=htop & disown:}%percentage%% %{A}
+ramp-coreload-0 = ▂
+ramp-coreload-1 = ▃
+ramp-coreload-2 = ▄
+ramp-coreload-3 = ▅
+ramp-coreload-4 = ▆
+ramp-coreload-5 = ▇
+ramp-coreload-0-foreground = ${level.load_0}
+ramp-coreload-1-foreground = ${level.load_1}
+ramp-coreload-2-foreground = ${level.load_2}
+ramp-coreload-3-foreground = ${level.load_3}
+ramp-coreload-4-foreground = ${level.load_4}
+ramp-coreload-5-foreground = ${level.load_5}
+
diff --git a/skel/.config/polybar/modules/filesystem.conf b/skel/.config/polybar/modules/filesystem.conf
new file mode 100644 (file)
index 0000000..a853c1a
--- /dev/null
@@ -0,0 +1,10 @@
+[module/filesystem]
+type = internal/fs
+format-mounted = <label-mounted>
+label-mounted = %mountpoint% : %percentage_free%%
+mount-0 = /
+interval = 1200
+fixed-values = false
+spacing = 2
+label-mounted-foreground = ${colors.yellow}
+
diff --git a/skel/.config/polybar/modules/jgmenu.conf b/skel/.config/polybar/modules/jgmenu.conf
new file mode 100644 (file)
index 0000000..680b164
--- /dev/null
@@ -0,0 +1,15 @@
+[module/jgmenu]
+type = custom/script
+format = <label>
+label-padding = 1
+label-foreground = ${unit.launcher}
+;label = 
+;label = %output%
+; 
+exec = echo ""
+;click-left = rofr.sh -m &
+;click-right = rofr.sh -m &
+click-left = "jgmenu_run >/dev/null 2>&1 &"
+;click-right = exo-open $HOME/.config/jgmenu/jgmenurc
+;click-left = "sgtk-menu >/dev/null 2>&1 &"
+
diff --git a/skel/.config/polybar/modules/keyboard.conf b/skel/.config/polybar/modules/keyboard.conf
new file mode 100644 (file)
index 0000000..bb5d49f
--- /dev/null
@@ -0,0 +1,8 @@
+[module/keyboard]
+type = internal/xkeyboard
+blacklist-0 = num lock
+blacklist-1 = scroll lock
+format = <label-layout>
+format-padding = 1
+label-layout = %{A1:xfce4-keyboard-settings & disown:} %{A3:xfce4-keyboard-settings & disown:} %layout%%{A} %{A}
+
diff --git a/skel/.config/polybar/modules/memory.conf b/skel/.config/polybar/modules/memory.conf
new file mode 100644 (file)
index 0000000..741f383
--- /dev/null
@@ -0,0 +1,9 @@
+[module/memory]
+type = internal/memory
+interval = 3
+format = <label>
+format-padding = 1
+format-foreground = ${unit.mem}
+label-foreground = ${theme.white}
+label-padding = 1
+label = %{A1:termite --exec=htop & disown:}%percentage_used%%%{A}
diff --git a/skel/.config/polybar/modules/mpd.conf b/skel/.config/polybar/modules/mpd.conf
new file mode 100644 (file)
index 0000000..5afb763
--- /dev/null
@@ -0,0 +1,27 @@
+[module/mpd]
+type = internal/mpd
+format-online = <bar-progress>  <icon-prev> <icon-stop> <toggle> <icon-next>  <label-song>
+format-offline = <label-offline>
+bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
+label-offline = mpd is off
+format-online-prefix = " "
+icon-play = 
+icon-pause = 
+icon-stop = 
+icon-prev = 
+icon-next = 
+icon-random = 
+icon-repeat = 
+toggle-on-foreground =
+toggle-off-foreground = #55
+bar-progress-width = 35
+bar-progress-indicator = █
+bar-progress-fill = █
+bar-progress-empty = ▒
+bar-progress-empty-font = 2
+bar-progress-indicator-font = 2
+bar-progress-fill-font = 2
+bar-progress-fill-foreground = #bb
+bar-progress-empty-foreground = #44
+bar-progress-indicator-foreground = #A85659
+
diff --git a/skel/.config/polybar/modules/pkg.conf b/skel/.config/polybar/modules/pkg.conf
new file mode 100644 (file)
index 0000000..10edf25
--- /dev/null
@@ -0,0 +1,11 @@
+[module/pkg]
+type = custom/script
+exec = updates.sh
+exec-if = "ping -q -w 2 -c 1 repo.manjaro.org > /dev/null"
+format-padding = 1
+format =  <label>
+format-foreground = ${unit.pkg}
+label-foreground = ${theme.white}
+label = %{A1:pamac-manager & disown:} %{A3:pamac-updater & disown:}%output%%{A} %{A}
+tail = true
+
diff --git a/skel/.config/polybar/modules/pulseaudio.conf b/skel/.config/polybar/modules/pulseaudio.conf
new file mode 100644 (file)
index 0000000..c992ad4
--- /dev/null
@@ -0,0 +1,10 @@
+[module/pulseaudio]
+type = internal/pulseaudio
+
+;;pacmd list-sources | grep -e 'index:' -e device.string -e 'name:'
+sink = alsa_output.pci-0000_00_03.0.hdmi-stereo-extra.monitor
+
+label-volume = %{A3:pavucontrol & disown:}%percentage%% %{A}
+
+include-file = $HOME/.config/polybar/modules/volumes.conf
+
diff --git a/skel/.config/polybar/modules/redshift.conf b/skel/.config/polybar/modules/redshift.conf
new file mode 100644 (file)
index 0000000..beb756b
--- /dev/null
@@ -0,0 +1,7 @@
+[module/redshift]
+type = custom/script
+tail = true
+exec = toggle.sh -r
+label = %output%
+click-left = toggle.sh -r -tg &
+
diff --git a/skel/.config/polybar/modules/thermalzone0.conf b/skel/.config/polybar/modules/thermalzone0.conf
new file mode 100644 (file)
index 0000000..ca4ab4a
--- /dev/null
@@ -0,0 +1,21 @@
+[module/thermal0]
+type = internal/temperature
+interval = 3
+thermal-zone = 0
+warn-temperature = 70
+format = <ramp><label>
+format-padding = 1
+label = %{A1:termite --exec='watch sensors' & disown:} %temperature-c%%{A}
+ramp-0 = ""
+ramp-1 = ""
+ramp-2 = ""
+ramp-3 = ""
+ramp-0-foreground = ${level.cpu_cold}
+ramp-1-foreground = ${level.cpu_normal}
+ramp-2-foreground = ${level.cpu_warm}
+ramp-3-foreground = ${level.cpu_hot}
+format-warn = <label-warn>
+label-warn = " %temperature-c%"
+label-warn-padding = 1
+label-warn-foreground = ${level.cpu_warm}
+
diff --git a/skel/.config/polybar/modules/thermalzone1.conf b/skel/.config/polybar/modules/thermalzone1.conf
new file mode 100644 (file)
index 0000000..951109a
--- /dev/null
@@ -0,0 +1,21 @@
+[module/thermal1]
+type = internal/temperature
+interval = 3
+thermal-zone = 1
+warn-temperature = 70
+format = <ramp><label>
+format-padding = 1
+label = %{A1:termite --exec='watch sensors' & disown:} %temperature-c%%{A}
+ramp-0 = ""
+ramp-1 = ""
+ramp-2 = ""
+ramp-3 = ""
+ramp-0-foreground = ${level.cpu_cold}
+ramp-1-foreground = ${level.cpu_normal}
+ramp-2-foreground = ${level.cpu_warm}
+ramp-3-foreground = ${level.cpu_hot}
+format-warn = <label-warn>
+label-warn = " %temperature-c%"
+label-warn-padding = 1
+label-warn-foreground = ${level.cpu_warm}
+
diff --git a/skel/.config/polybar/modules/thermalzone2.conf b/skel/.config/polybar/modules/thermalzone2.conf
new file mode 100644 (file)
index 0000000..1a23a10
--- /dev/null
@@ -0,0 +1,21 @@
+[module/thermal2]
+type = internal/temperature
+interval = 3
+thermal-zone = 2
+warn-temperature = 70
+format = <ramp><label>
+format-padding = 1
+label = %{A1:termite --exec='watch sensors' & disown:} %temperature-c%%{A}
+ramp-0 = ""
+ramp-1 = ""
+ramp-2 = ""
+ramp-3 = ""
+ramp-0-foreground = ${level.cpu_cold}
+ramp-1-foreground = ${level.cpu_normal}
+ramp-2-foreground = ${level.cpu_warm}
+ramp-3-foreground = ${level.cpu_hot}
+format-warn = <label-warn>
+label-warn = " %temperature-c%"
+label-warn-padding = 1
+label-warn-foreground = ${level.cpu_warm}
+
diff --git a/skel/.config/polybar/modules/volumes.conf b/skel/.config/polybar/modules/volumes.conf
new file mode 100644 (file)
index 0000000..c9abcb3
--- /dev/null
@@ -0,0 +1,24 @@
+;
+; this file defines volume display
+; included from
+; - alsa.conf
+; - pulseaudio.conf
+; colors defined in master.conf
+;
+
+format-volume-padding = 1
+label-volume-foreground = ${colors.foreground}
+format-volume = <ramp-volume> <label-volume>
+
+label-muted = " muted "
+label-muted-foreground = ${level.vol_0}
+
+ramp-volume-0 = 
+ramp-volume-1 = 
+ramp-volume-2 = 
+ramp-volume-3 = 
+
+ramp-volume-0-foreground = ${level.vol_1}
+ramp-volume-1-foreground = ${level.vol_2}
+ramp-volume-2-foreground = ${level.vol_3}
+ramp-volume-3-foreground = ${level.vol_4}
diff --git a/skel/.config/polybar/modules/window_switch.conf b/skel/.config/polybar/modules/window_switch.conf
new file mode 100644 (file)
index 0000000..dd9d773
--- /dev/null
@@ -0,0 +1,10 @@
+[module/window_switch]
+type = custom/script
+interval = 5
+label = %output%
+label-foreground = ${unit.switcher}
+click-left = skippy-xd --activate-window-picker
+click-right = skippy-xd --activate-window-picker
+exec = echo "  "
+format = <label>
+
diff --git a/skel/.config/polybar/modules/wired-network.conf b/skel/.config/polybar/modules/wired-network.conf
new file mode 100644 (file)
index 0000000..3317895
--- /dev/null
@@ -0,0 +1,17 @@
+[module/wired_network]
+type = internal/network
+; find your interface with: $ nmcli | grep -e en
+; set the interface here or on master.conf
+interface = ${nic.lan}
+interval = 3.0
+label-padding = 1
+label = ""
+format-connected = " <label-connected>"
+format-connected-foreground = ${unit.lan}
+label-connected-foreground = ${theme.white}
+;label-connected = "%linkspeed% %local_ip% "
+label-connected = "%local_ip% "
+
+format-disconnected = <label-disconnected>
+format-disconnected-foreground = ${theme.gray3}
+label-disconnected = not connected
diff --git a/skel/.config/polybar/modules/wireless-network.conf b/skel/.config/polybar/modules/wireless-network.conf
new file mode 100644 (file)
index 0000000..1b94a6b
--- /dev/null
@@ -0,0 +1,31 @@
+[module/wireless_network]
+type = internal/network
+; find your interface with: $ nmcli | grep -e wl
+; set the interface here or on master.conf
+interface = ${nic.wlan}
+format-padding = 1
+format-connected = <ramp-signal><label-connected>
+format-connected-foreground = ${unit.wlan}
+format-packetloss = <animation-packetloss>
+; connection speed sample
+;label-connected = " UP%downspeed:9% DN%upspeed:9% "
+label-connected = " %local_ip% "
+label-connected-foreground = ${theme.white}
+;
+ramp-signal-0 = 
+ramp-signal-1 = 
+ramp-signal-2 = 
+ramp-signal-3 = 
+ramp-signal-4 = 
+ramp-signal-5 = 
+ramp-signal-0-foreground = ${level.load_0}
+ramp-signal-1-foreground = ${level.load_1}
+ramp-signal-2-foreground = ${level.load_2}
+ramp-signal-3-foreground = ${level.load_3}
+ramp-signal-4-foreground = ${level.load_4}
+ramp-signal-5-foreground = ${level.load_5}
+animation-packetloss-0 = ⚠
+animation-packetloss-1 = 📶
+animation-packetloss-0-foreground = #ffa64c
+animation-packetloss-1-foreground = #000000
+animation-packetloss-framerate = 500
\ No newline at end of file
diff --git a/skel/.config/polybar/modules/workspaces.conf b/skel/.config/polybar/modules/workspaces.conf
new file mode 100644 (file)
index 0000000..24263ee
--- /dev/null
@@ -0,0 +1,42 @@
+[module/workspaces]
+type = internal/xworkspaces
+pin-workspaces = false
+enable-click = true
+enable-scroll = true
+format-padding = 0
+icon-0 = Home;
+icon-1 = Web;
+icon-2 = Files;
+icon-3 = Pictures;
+icon-4 = Documents;
+icon-5 = Develop;
+icon-6 = Terminal;
+;icon-7 = 8;
+;icon-6 = 8;
+;icon-9 = 10;
+;icon-default = ♟
+format = <label-state>
+
+; active
+label-active = %icon%
+label-active-padding = 1
+label-active-foreground = ${colors.active}
+label-active-underline = ${colors.occupied}
+
+; occupied
+label-occupied = %icon%
+label-occupied-padding = 1
+label-occupied-foreground = ${colors.occupied}
+label-occupied-underline = ${colors.active}
+
+; urgent
+label-urgent = %icon%
+label-urgent-padding = 1
+label-urgent-foreground = ${colors.urgent}
+label-urgent-underline = ${colors.active}
+
+; empty
+label-empty = %icon%
+label-empty-padding = 1
+label-empty-foreground = ${colors.foreground}
+
diff --git a/skel/.config/qt5ct/qt5ct.conf b/skel/.config/qt5ct/qt5ct.conf
new file mode 100755 (executable)
index 0000000..df989ba
--- /dev/null
@@ -0,0 +1,31 @@
+[Appearance]
+color_scheme_path=/usr/share/qt5ct/colors/darker.conf
+custom_palette=false
+icon_theme=gnome
+standard_dialogs=gtk3
+style=kvantum-dark
+
+[Fonts]
+fixed=@Variant(\0\0\0@\0\0\0 \0\x44\0\x65\0j\0\x61\0V\0u\0 \0S\0\x61\0n\0s\0 \0M\0o\0n\0o@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
+general=@Variant(\0\0\0@\0\0\0\f\0R\0o\0\x62\0o\0t\0o@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10)
+
+[Interface]
+activate_item_on_single_click=1
+buttonbox_layout=3
+cursor_flash_time=1000
+dialog_buttons_have_icons=1
+double_click_interval=400
+gui_effects=@Invalid()
+keyboard_scheme=2
+menus_have_icons=true
+show_shortcuts_in_context_menus=true
+stylesheets=@Invalid()
+toolbutton_style=4
+underline_shortcut=1
+wheel_scroll_lines=3
+
+[QSSEditor]
+geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x4z\0\0\x1\xad\0\0\a\0\0\0\x3\xc6\0\0\x4|\0\0\x1\xcc\0\0\x6\xfe\0\0\x3\xbe\0\0\0\0\0\0\0\0\a\x80\0\0\x4|\0\0\x1\xcc\0\0\x6\xfe\0\0\x3\xbe)
+
+[SettingsWindow]
+geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\b\v\0\0\0\xd8\0\0\n\xed\0\0\x3\x8c\0\0\b\r\0\0\0\xf7\0\0\n\xeb\0\0\x3\x84\0\0\0\x1\0\0\0\0\a\x80\0\0\b\r\0\0\0\xf7\0\0\n\xeb\0\0\x3\x84)
diff --git a/skel/.config/rofi/config b/skel/.config/rofi/config
new file mode 100644 (file)
index 0000000..15e7e0e
--- /dev/null
@@ -0,0 +1 @@
+rofi.theme: ~/.config/rofi/pacbang.rasi
\ No newline at end of file
diff --git a/skel/.config/rofi/pacbang.rasi b/skel/.config/rofi/pacbang.rasi
new file mode 100644 (file)
index 0000000..f55244c
--- /dev/null
@@ -0,0 +1,161 @@
+/*******************************************************************************
+ * PacBang
+ * User: fhdk
+ * Copyright: fhdk
+ *******************************************************************************/
+
+* {
+
+       gray:            rgb(  85,  85,  85, 100%);
+       dark-gray:       rgb(  47,  47,  47, 100%);
+       night-gray:      rgb(  40,  40,  40, 100%);
+       yellow:          rgb( 245, 175,  38, 100%);
+       orange:          rgb( 197, 107,   1, 100%);
+       red-select:      rgb( 185,   0,   4, 100%);
+       red:             rgb( 130,   0,   3, 100%);
+       white:           rgb( 221, 221, 221,  50%);
+       blue:            rgb(   0,   2,  85, 100%);
+    border:          rgb( 245, 175,  38,  25%);
+    text:            rgb( 221, 221, 221, 75%);
+
+    foreground:                  @orange;
+    background:                  @night-gray;
+    lightfg:                     @yellow;
+    lightbg:                     @gray;
+    bordercolor:                 @border;
+    border-color:                @border;
+    separatorcolor:              @border;
+    background-color:            @background;
+
+    active-foreground:           @red;
+    selected-active-foreground:  @yellow;
+    alternate-active-foreground: @active-foreground;
+
+    normal-foreground:           @text;
+    alternate-normal-foreground: @text;
+    selected-normal-foreground:  @yellow;
+
+    normal-background:           @night-gray;
+    selected-normal-background:  @red;
+    alternate-normal-background: @background;
+
+    active-background:           @red-select;
+    alternate-active-background: @gray;
+    selected-active-background:  @active-background;
+
+    urgent-foreground:           @yellow;
+    selected-urgent-foreground:  @yellow;
+    alternate-urgent-foreground: @urgent-foreground;
+
+    urgent-background:           @orange;
+    selected-urgent-background:  @yellow;
+    alternate-urgent-background: @urgent-background;
+
+    spacing:                     2;
+
+}
+#window {
+    background-color: @background;
+    border:           1;
+    padding:          5;
+}
+#mainbox {
+    border:  0;
+    padding: 0;
+}
+#message {
+    border:       1px dash 0px 0px ;
+    border-color: @separatorcolor;
+    padding:      1px ;
+}
+#textbox {
+    text-color: @foreground;
+}
+#listview {
+    fixed-height: 0;
+    border:       2px dash 0px 0px ;
+    border-color: @separatorcolor;
+    spacing:      2px ;
+    scrollbar:    true;
+    padding:      2px 0px 0px ;
+}
+#element {
+    border:  0;
+    padding: 1px ;
+}
+#element.normal.normal {
+    background-color: @normal-background;
+    text-color:       @normal-foreground;
+}
+#element.normal.urgent {
+    background-color: @urgent-background;
+    text-color:       @urgent-foreground;
+}
+#element.normal.active {
+    background-color: @active-background;
+    text-color:       @active-foreground;
+}
+#element.selected.normal {
+    background-color: @selected-normal-background;
+    text-color:       @selected-normal-foreground;
+}
+#element.selected.urgent {
+    background-color: @selected-urgent-background;
+    text-color:       @selected-urgent-foreground;
+}
+#element.selected.active {
+    background-color: @selected-active-background;
+    text-color:       @selected-active-foreground;
+}
+#element.alternate.normal {
+    background-color: @alternate-normal-background;
+    text-color:       @alternate-normal-foreground;
+}
+#element.alternate.urgent {
+    background-color: @alternate-urgent-background;
+    text-color:       @alternate-urgent-foreground;
+}
+#element.alternate.active {
+    background-color: @alternate-active-background;
+    text-color:       @alternate-active-foreground;
+}
+#scrollbar {
+    width:        4px ;
+    border:       0;
+    handle-width: 8px ;
+    padding:      0;
+}
+#sidebar {
+    border:       2px dash 0px 0px ;
+    border-color: @separatorcolor;
+}
+#button.selected {
+    background-color: @selected-normal-background;
+    text-color:       @selected-normal-foreground;
+}
+#inputbar {
+    spacing:    0;
+    text-color: @normal-foreground;
+    padding:    1px ;
+}
+#case-indicator {
+    spacing:    0;
+    text-color: @normal-foreground;
+}
+#entry {
+    spacing:    0;
+    text-color: @normal-foreground;
+}
+#prompt {
+    spacing:    0;
+    text-color: @normal-foreground;
+}
+#inputbar {
+    children:   [ prompt,textbox-prompt-colon,entry,case-indicator ];
+}
+#textbox-prompt-colon {
+    expand:     false;
+    str:        ":";
+    margin:     0px 0.3em 0em 0em ;
+    text-color: @normal-foreground;
+}
diff --git a/skel/.config/skippy-xd/skippy-xd.rc b/skel/.config/skippy-xd/skippy-xd.rc
new file mode 100644 (file)
index 0000000..e065266
--- /dev/null
@@ -0,0 +1,54 @@
+[general]
+distance = 30
+useNetWMFullscreen = true
+ignoreSkipTaskbar = true
+updateFreq = 10.0
+lazyTrans = false
+pipePath = /tmp/skippy-xd-fifo
+movePointerOnStart = true
+movePointerOnSelect = true
+movePointerOnRaise = true
+switchDesktopOnActivate = true
+useNameWindowPixmap = false
+forceNameWindowPixmap = false
+includeFrame = true
+allowUpscale = true
+showAllDesktops = true
+showUnmapped = true
+preferredIconSize = 32
+clientDisplayModes = thumbnail icon filled none
+iconFillSpec = orig mid mid #383838
+fillSpec = orig mid mid #EFF0F1
+background =
+
+[xinerama]
+showAll = true
+
+[normal]
+tint = #000000
+tintOpacity = 60
+opacity = 250
+
+[highlight]
+tint = #000000
+tintOpacity = 0
+opacity = 250
+
+[tooltip]
+show = true
+followsMouse = true
+offsetX = 20
+offsetY = 20
+align = left
+border = #EFF0F1
+#background = #212121
+background = #29353B
+opacity = 240
+text = #EFF0F1
+textShadow = none
+font = Roboto Regular 12
+
+[bindings]
+miwMouse1 = focus
+miwMouse2 = close-ewmh
+miwMouse3 = iconify
diff --git a/skel/.config/termite/config b/skel/.config/termite/config
new file mode 100644 (file)
index 0000000..6ec2d7b
--- /dev/null
@@ -0,0 +1,54 @@
+[options]
+scroll_on_output = false
+scroll_on_keystroke = true
+audible_bell = false
+mouse_autohide = false
+allow_bold = true
+dynamic_title = true
+urgent_on_bell = true
+clickable_url = true
+font = DejaVu Sans Mono Book 10
+scrollback_lines = 10000
+search_wrap = true
+icon_name = utilities-terminal
+clickable_url = true
+cursor_blink = system
+cursor_shape = block
+browser = exo-open
+filter_unmatched_urls = true
+
+# *************************
+[colors]
+background = rgba(41,47,52,0.90)
+foreground = #d8d8d8
+foreground_bold = #d8d8d8
+
+# Black, Gray, Silver, White
+color0 = #292f34
+color7 = #d8d8d8
+color8 = #0a6355
+color15 = #f8f8f8
+
+# Red
+color1 = #ab4642
+color9 = #ab4642
+
+# Green
+color2 = #99cc99
+color10 = #99cc99
+
+# Yellow
+color3 = #f7ca88
+color11 = #f7ca88
+
+# Blue
+color4 = #006a78
+color12 = #006a78
+
+# Purple
+color5 = #b48ead
+color13 = #b48ead
+
+# Teal
+color6 = #1abb9b
+color14 = #1abb9b
\ No newline at end of file
diff --git a/skel/.config/tint2/default.tint2rc b/skel/.config/tint2/default.tint2rc
new file mode 100755 (executable)
index 0000000..143b829
--- /dev/null
@@ -0,0 +1,237 @@
+#-------------------------------------
+# Gradients
+#-------------------------------------
+# Backgrounds
+# Background 1: Active task
+rounded = 0
+border_width = 3
+border_sides = T
+background_color = #29353B 0
+border_color = #1793d1 100
+background_color_hover = #29353B 20
+border_color_hover = #1793d1 100
+background_color_pressed = #29353B 20
+border_color_pressed = #1793d1 100
+
+# Background 2: Default task, Iconified task
+rounded = 0
+border_width = 0
+border_sides = TBLR
+background_color = #000000 0
+border_color = #000000 0
+background_color_hover = #29353B 20
+border_color_hover = #29353B 20
+background_color_pressed = #29353B 20
+border_color_pressed = #29353B 20
+
+# Background 3: Urgent task
+rounded = 0
+border_width = 3
+border_sides = T
+background_color = #29353B 0
+border_color = #e64141 100
+background_color_hover = #29353B 20
+border_color_hover = #e64141 100
+background_color_pressed = #29353B 20
+border_color_pressed = #e64141 100
+
+# Background 4: Inactive desktop name, Inactive taskbar
+rounded = 0
+border_width = 0
+border_sides = LR
+background_color = #2b303b 80
+border_color = #000000 0
+background_color_hover = #29353B 20
+border_color_hover = #000000 0
+background_color_pressed = #29353B 20
+border_color_pressed = #000000 0
+
+# Background 5: Active desktop name, Active taskbar, Battery, Button, Clock, Launcher, Systray
+rounded = 0
+border_width = 0
+border_sides = LR
+background_color = #2b303b 90
+border_color = #d8d8d8 0
+background_color_hover = #d8d8d8 0
+border_color_hover = #d8d8d8 0
+background_color_pressed = #d8d8d8 0
+border_color_pressed = #d8d8d8 0
+
+# Background 6: Tooltip
+rounded = 0
+border_width = 0
+border_sides = TBLR
+background_color = #2b303b 100
+border_color = #222222 90
+background_color_hover = #2b303b 100
+border_color_hover = #222222 90
+background_color_pressed = #2b303b 100
+border_color_pressed = #222222 90
+
+#-------------------------------------
+# Panel
+panel_items = PLTC
+panel_size = 100% 30
+panel_margin = 0 0
+panel_padding = 0 0 0
+panel_background_id = 0
+wm_menu = 1
+panel_dock = 0
+panel_position = top center horizontal
+panel_layer = bottom
+panel_monitor = all
+panel_shrink = 0
+autohide = 0
+autohide_show_timeout = 0.3
+autohide_hide_timeout = 1.5
+autohide_height = 6
+strut_policy = follow_size
+panel_window_name = tint2
+disable_transparency = 0
+mouse_effects = 1
+font_shadow = 0
+mouse_hover_icon_asb = 100 0 10
+mouse_pressed_icon_asb = 100 0 0
+
+#-------------------------------------
+# Taskbar
+taskbar_mode = multi_desktop
+taskbar_hide_if_empty = 1
+taskbar_padding = 0 0 0
+taskbar_background_id = 4
+taskbar_active_background_id = 5
+taskbar_name = 0
+taskbar_hide_inactive_tasks = 0
+taskbar_hide_different_monitor = 1
+taskbar_hide_different_desktop = 0
+taskbar_always_show_all_desktop_tasks = 0
+taskbar_name_padding = 4 4
+taskbar_name_background_id = 0
+taskbar_name_active_background_id = 0
+taskbar_name_font = Ubuntu 10
+taskbar_name_font_color = #828282 100
+taskbar_name_active_font_color = #a0a0bd 100
+taskbar_distribute_size = 0
+taskbar_sort_order = none
+task_align = left
+
+#-------------------------------------
+# Task
+task_text = 0
+task_icon = 1
+task_centered = 1
+urgent_nb_of_blink = 20
+task_maximum_size = 36 30
+task_padding = 6 2 4
+task_font = Ubuntu 10
+task_tooltip = 1
+task_font_color = #828282 60
+task_active_font_color = #828282 100
+task_urgent_font_color = #ffffff 100
+task_iconified_font_color = #d8d8d8 60
+task_icon_asb = 80 0 0
+task_active_icon_asb = 100 0 0
+task_urgent_icon_asb = 100 0 0
+task_iconified_icon_asb = 80 0 0
+task_background_id = 2
+task_active_background_id = 1
+task_urgent_background_id = 3
+task_iconified_background_id = 2
+mouse_left = toggle_iconify
+mouse_middle = close
+mouse_right = none
+mouse_scroll_up = toggle
+mouse_scroll_down = iconify
+
+#-------------------------------------
+# System tray (notification area)
+systray_padding = 8 2 4
+systray_background_id = 5
+systray_sort = right2left
+systray_icon_size = 16
+systray_icon_asb = 100 0 0
+systray_monitor = 1
+systray_name_filter =
+
+#-------------------------------------
+# Launcher
+launcher_padding = 5 0 5
+launcher_background_id = 5
+launcher_icon_background_id = 0
+launcher_icon_size = 24
+launcher_icon_asb = 100 0 0
+launcher_icon_theme_override = 0
+startup_notifications = 1
+launcher_tooltip = 1
+launcher_item_app = /usr/share/applications/exo-file-manager.desktop
+launcher_item_app = /usr/share/applications/exo-terminal-emulator.desktop
+launcher_item_app = /usr/share/applications/geany.desktop
+launcher_item_app = /usr/share/applications/l3afpad.desktop
+launcher_item_app = /usr/share/applications/exo-web-browser.desktop
+
+#-------------------------------------
+# Clock
+time1_format = %H:%M
+time2_format =
+time1_font = Source Code Pro 12
+time1_timezone =
+time2_timezone =
+time2_font = Source Code Pro Ligt 10
+clock_font_color = #ffffff 100
+clock_padding = 10 4
+clock_background_id = 5
+clock_tooltip =
+clock_tooltip_timezone =
+clock_lclick_command = gsimplecal
+clock_rclick_command = gsimplecal
+clock_mclick_command =
+clock_uwheel_command =
+clock_dwheel_command =
+
+#-------------------------------------
+# Battery
+battery_tooltip = 1
+battery_low_status = 20
+battery_low_cmd = notify-send "Battery Low"
+battery_full_cmd =
+bat1_font = Source Code Pro 11
+bat2_font = Source Code Pro 10
+battery_font_color = #b5b5b5 100
+bat1_format =
+bat2_format =
+battery_padding = 4 2
+battery_background_id = 5
+battery_hide = 101
+battery_lclick_command = xfce4-power-manager-settings
+battery_rclick_command = xfce4-power-manager-settings
+battery_mclick_command =
+battery_uwheel_command =
+battery_dwheel_command =
+ac_connected_cmd =
+ac_disconnected_cmd =
+
+#-------------------------------------
+# Button 1
+button = new
+button_icon = /usr/share/icons/manjaro/maia/32x32.png
+button_text =
+button_lclick_command= rofr.sh -m
+button_rclick_command= rofr.sh -m
+button_mclick_command=
+button_uwheel_command=
+button_dwheel_command=
+button_font_color = #000000 100
+button_padding = 8 2
+button_background_id = 5
+button_centered = 1
+button_max_icon_size = 22
+
+#-------------------------------------
+# Tooltip
+tooltip_show_timeout = 0
+tooltip_hide_timeout = 0
+tooltip_padding = 10 6
+tooltip_background_id = 6
+tooltip_font_color = #d8d8d8 100
+tooltip_font = Source Code Pro 10
+
diff --git a/skel/.config/tint2/manjaro-matrix.tint2rc b/skel/.config/tint2/manjaro-matrix.tint2rc
new file mode 100644 (file)
index 0000000..0549e28
--- /dev/null
@@ -0,0 +1,248 @@
+#---- Generated by tint2conf 5e26 ----
+# See https://gitlab.com/o9000/tint2/wikis/Configure for 
+# full documentation of the configuration options.
+#-------------------------------------
+# Gradients
+#-------------------------------------
+# Backgrounds
+# Background 1: Panel
+rounded = 0
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 0
+border_color = #bbbbbb 10
+background_color_hover = #eeeeee 0
+border_color_hover = #bbbbbb 10
+background_color_pressed = #eeeeee 0
+border_color_pressed = #bbbbbb 10
+
+# Background 2: Default task, Iconified task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 44
+background_color_hover = #eeeeee 22
+border_color_hover = #eaeaea 44
+background_color_pressed = #dddddd 4
+border_color_pressed = #eaeaea 44
+
+# Background 3: Active task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #dddddd 4
+border_color = #999999 100
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 100
+
+# Background 4: Urgent task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #aa4400 100
+border_color = #aa7733 100
+background_color_hover = #aa4400 100
+border_color_hover = #aa7733 100
+background_color_pressed = #aa4400 100
+border_color_pressed = #aa7733 100
+
+# Background 5: Tooltip
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #ffffaa 100
+border_color = #999999 100
+background_color_hover = #ffffaa 100
+border_color_hover = #999999 100
+background_color_pressed = #ffffaa 100
+border_color_pressed = #999999 100
+
+# Background 6: Inactive desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 30
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 30
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 30
+
+# Background 7: Active desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #1b251d 0
+border_color = #999999 100
+background_color_hover = #dddddd 3
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 3
+border_color_pressed = #999999 100
+
+#-------------------------------------
+# Panel
+panel_items = TS
+panel_size = 100% 32
+panel_margin = 0 0
+panel_padding = 4 2 4
+panel_background_id = 1
+wm_menu = 0
+panel_dock = 0
+panel_position = bottom center horizontal
+panel_layer = bottom
+panel_monitor = all
+panel_shrink = 0
+autohide = 0
+autohide_show_timeout = 0
+autohide_hide_timeout = 0.5
+autohide_height = 2
+strut_policy = none
+panel_window_name = tint2
+disable_transparency = 0
+mouse_effects = 1
+font_shadow = 0
+mouse_hover_icon_asb = 0 0 9
+mouse_pressed_icon_asb = 0 0 0
+scale_relative_to_dpi = 0
+scale_relative_to_screen_height = 0
+
+#-------------------------------------
+# Taskbar
+taskbar_mode = multi_desktop
+taskbar_hide_if_empty = 1
+taskbar_padding = 0 0 2
+taskbar_background_id = 0
+taskbar_active_background_id = 0
+taskbar_name = 1
+taskbar_hide_inactive_tasks = 0
+taskbar_hide_different_monitor = 0
+taskbar_hide_different_desktop = 0
+taskbar_always_show_all_desktop_tasks = 1
+taskbar_name_padding = 6 3
+taskbar_name_background_id = 6
+taskbar_name_active_background_id = 7
+taskbar_name_font = sans bold 9
+taskbar_name_font_color = #ffffff 100
+taskbar_name_active_font_color = #ffffff 100
+taskbar_distribute_size = 1
+taskbar_sort_order = none
+task_align = center
+
+#-------------------------------------
+# Task
+task_text = 1
+task_icon = 1
+task_centered = 1
+urgent_nb_of_blink = 100000
+task_maximum_size = 140 35
+task_padding = 4 3 4
+task_font = sans 8
+task_tooltip = 1
+task_thumbnail = 0
+task_thumbnail_size = 210
+task_font_color = #ffffff 100
+task_icon_asb = 100 0 0
+task_background_id = 2
+task_active_background_id = 3
+task_urgent_background_id = 4
+task_iconified_background_id = 2
+mouse_left = toggle_iconify
+mouse_middle = none
+mouse_right = close
+mouse_scroll_up = prev_task
+mouse_scroll_down = next_task
+
+#-------------------------------------
+# System tray (notification area)
+systray_padding = 4 0 2
+systray_background_id = 0
+systray_sort = ascending
+systray_icon_size = 22
+systray_icon_asb = 100 0 0
+systray_monitor = 1
+systray_name_filter = 
+
+#-------------------------------------
+# Launcher
+launcher_padding = 0 0 2
+launcher_background_id = 0
+launcher_icon_background_id = 0
+launcher_icon_size = 22
+launcher_icon_asb = 100 0 0
+launcher_icon_theme_override = 0
+startup_notifications = 1
+launcher_tooltip = 1
+launcher_item_app = tint2conf.desktop
+launcher_item_app = firefox.desktop
+launcher_item_app = iceweasel.desktop
+launcher_item_app = chromium-browser.desktop
+launcher_item_app = google-chrome.desktop
+launcher_item_app = x-terminal-emulator.desktop
+
+#-------------------------------------
+# Clock
+time1_format = %H:%M
+time2_format = %A %d %B
+time1_font = sans bold 8
+time1_timezone = 
+time2_timezone = 
+time2_font = sans 7
+clock_font_color = #ffffff 100
+clock_padding = 1 0
+clock_background_id = 0
+clock_tooltip = 
+clock_tooltip_timezone = 
+clock_lclick_command = zenity --calendar --text ""
+clock_rclick_command = orage
+clock_mclick_command = 
+clock_uwheel_command = 
+clock_dwheel_command = 
+
+#-------------------------------------
+# Battery
+battery_tooltip = 1
+battery_low_status = 10
+battery_low_cmd = notify-send "battery low"
+battery_full_cmd = 
+bat1_font = sans 8
+bat2_font = sans 6
+battery_font_color = #ffffff 100
+bat1_format = 
+bat2_format = 
+battery_padding = 1 0
+battery_background_id = 0
+battery_hide = 101
+battery_lclick_command = 
+battery_rclick_command = 
+battery_mclick_command = 
+battery_uwheel_command = 
+battery_dwheel_command = 
+ac_connected_cmd = 
+ac_disconnected_cmd = 
+
+#-------------------------------------
+# Tooltip
+tooltip_show_timeout = 0.5
+tooltip_hide_timeout = 0.1
+tooltip_padding = 2 2
+tooltip_background_id = 5
+tooltip_font_color = #222222 100
+tooltip_font = sans 9
+
diff --git a/skel/.config/tint2/manjaro-openbox.tint2rc b/skel/.config/tint2/manjaro-openbox.tint2rc
new file mode 100755 (executable)
index 0000000..7d6e0c7
--- /dev/null
@@ -0,0 +1,249 @@
+#---- Generated by tint2conf e74f ----
+# See https://gitlab.com/o9000/tint2/wikis/Configure for 
+# full documentation of the configuration options.
+#-------------------------------------
+# Gradients
+#-------------------------------------
+# Backgrounds
+# Background 1: Panel
+rounded = 0
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 0
+border_color = #bbbbbb 10
+background_color_hover = #eeeeee 0
+border_color_hover = #bbbbbb 10
+background_color_pressed = #eeeeee 0
+border_color_pressed = #bbbbbb 10
+
+# Background 2: Default task, Iconified task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 44
+background_color_hover = #eeeeee 22
+border_color_hover = #eaeaea 44
+background_color_pressed = #dddddd 4
+border_color_pressed = #eaeaea 44
+
+# Background 3: Active task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #dddddd 4
+border_color = #999999 100
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 100
+
+# Background 4: Urgent task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #aa4400 100
+border_color = #aa7733 100
+background_color_hover = #aa4400 100
+border_color_hover = #aa7733 100
+background_color_pressed = #aa4400 100
+border_color_pressed = #aa7733 100
+
+# Background 5: Tooltip
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #ffffaa 100
+border_color = #999999 100
+background_color_hover = #ffffaa 100
+border_color_hover = #999999 100
+background_color_pressed = #ffffaa 100
+border_color_pressed = #999999 100
+
+# Background 6: Inactive desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 30
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 30
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 30
+
+# Background 7: Active desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #dddddd 3
+border_color = #999999 100
+background_color_hover = #dddddd 3
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 3
+border_color_pressed = #999999 100
+
+#-------------------------------------
+# Panel
+panel_items = TS
+panel_size = 100% 32
+panel_margin = 0 0
+panel_padding = 4 2 4
+panel_background_id = 1
+wm_menu = 0
+panel_dock = 0
+panel_pivot_struts = 0
+panel_position = bottom center horizontal
+panel_layer = bottom
+panel_monitor = all
+panel_shrink = 0
+autohide = 0
+autohide_show_timeout = 0
+autohide_hide_timeout = 0.5
+autohide_height = 2
+strut_policy = none
+panel_window_name = tint2
+disable_transparency = 0
+mouse_effects = 1
+font_shadow = 0
+mouse_hover_icon_asb = 0 0 9
+mouse_pressed_icon_asb = 0 0 0
+scale_relative_to_dpi = 0
+scale_relative_to_screen_height = 0
+
+#-------------------------------------
+# Taskbar
+taskbar_mode = multi_desktop
+taskbar_hide_if_empty = 1
+taskbar_padding = 0 0 2
+taskbar_background_id = 0
+taskbar_active_background_id = 0
+taskbar_name = 1
+taskbar_hide_inactive_tasks = 0
+taskbar_hide_different_monitor = 0
+taskbar_hide_different_desktop = 0
+taskbar_always_show_all_desktop_tasks = 1
+taskbar_name_padding = 6 3
+taskbar_name_background_id = 6
+taskbar_name_active_background_id = 7
+taskbar_name_font = sans bold 9
+taskbar_name_font_color = #ffffff 100
+taskbar_name_active_font_color = #ffffff 100
+taskbar_distribute_size = 1
+taskbar_sort_order = none
+task_align = center
+
+#-------------------------------------
+# Task
+task_text = 1
+task_icon = 1
+task_centered = 1
+urgent_nb_of_blink = 100000
+task_maximum_size = 140 35
+task_padding = 4 3 4
+task_font = sans 8
+task_tooltip = 1
+task_thumbnail = 0
+task_thumbnail_size = 210
+task_font_color = #ffffff 100
+task_icon_asb = 100 0 0
+task_background_id = 2
+task_active_background_id = 3
+task_urgent_background_id = 4
+task_iconified_background_id = 2
+mouse_left = toggle_iconify
+mouse_middle = none
+mouse_right = close
+mouse_scroll_up = prev_task
+mouse_scroll_down = next_task
+
+#-------------------------------------
+# System tray (notification area)
+systray_padding = 4 0 2
+systray_background_id = 0
+systray_sort = ascending
+systray_icon_size = 22
+systray_icon_asb = 100 0 0
+systray_monitor = 1
+systray_name_filter = 
+
+#-------------------------------------
+# Launcher
+launcher_padding = 0 0 2
+launcher_background_id = 0
+launcher_icon_background_id = 0
+launcher_icon_size = 22
+launcher_icon_asb = 100 0 0
+launcher_icon_theme_override = 0
+startup_notifications = 1
+launcher_tooltip = 1
+launcher_item_app = tint2conf.desktop
+launcher_item_app = firefox.desktop
+launcher_item_app = iceweasel.desktop
+launcher_item_app = chromium-browser.desktop
+launcher_item_app = google-chrome.desktop
+launcher_item_app = x-terminal-emulator.desktop
+
+#-------------------------------------
+# Clock
+time1_format = %H:%M
+time2_format = %A %d %B
+time1_font = sans bold 8
+time1_timezone = 
+time2_timezone = 
+time2_font = sans 7
+clock_font_color = #ffffff 100
+clock_padding = 1 0
+clock_background_id = 0
+clock_tooltip = 
+clock_tooltip_timezone = 
+clock_lclick_command = zenity --calendar --text ""
+clock_rclick_command = orage
+clock_mclick_command = 
+clock_uwheel_command = 
+clock_dwheel_command = 
+
+#-------------------------------------
+# Battery
+battery_tooltip = 1
+battery_low_status = 10
+battery_low_cmd = notify-send "battery low"
+battery_full_cmd = 
+bat1_font = sans 8
+bat2_font = sans 6
+battery_font_color = #ffffff 100
+bat1_format = 
+bat2_format = 
+battery_padding = 1 0
+battery_background_id = 0
+battery_hide = 101
+battery_lclick_command = 
+battery_rclick_command = 
+battery_mclick_command = 
+battery_uwheel_command = 
+battery_dwheel_command = 
+ac_connected_cmd = 
+ac_disconnected_cmd = 
+
+#-------------------------------------
+# Tooltip
+tooltip_show_timeout = 0.5
+tooltip_hide_timeout = 0.1
+tooltip_padding = 2 2
+tooltip_background_id = 5
+tooltip_font_color = #222222 100
+tooltip_font = sans 9
+
diff --git a/skel/.config/tint2/matrix.tint2rc b/skel/.config/tint2/matrix.tint2rc
new file mode 100755 (executable)
index 0000000..0549e28
--- /dev/null
@@ -0,0 +1,248 @@
+#---- Generated by tint2conf 5e26 ----
+# See https://gitlab.com/o9000/tint2/wikis/Configure for 
+# full documentation of the configuration options.
+#-------------------------------------
+# Gradients
+#-------------------------------------
+# Backgrounds
+# Background 1: Panel
+rounded = 0
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 0
+border_color = #bbbbbb 10
+background_color_hover = #eeeeee 0
+border_color_hover = #bbbbbb 10
+background_color_pressed = #eeeeee 0
+border_color_pressed = #bbbbbb 10
+
+# Background 2: Default task, Iconified task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 44
+background_color_hover = #eeeeee 22
+border_color_hover = #eaeaea 44
+background_color_pressed = #dddddd 4
+border_color_pressed = #eaeaea 44
+
+# Background 3: Active task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #dddddd 4
+border_color = #999999 100
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 100
+
+# Background 4: Urgent task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #aa4400 100
+border_color = #aa7733 100
+background_color_hover = #aa4400 100
+border_color_hover = #aa7733 100
+background_color_pressed = #aa4400 100
+border_color_pressed = #aa7733 100
+
+# Background 5: Tooltip
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #ffffaa 100
+border_color = #999999 100
+background_color_hover = #ffffaa 100
+border_color_hover = #999999 100
+background_color_pressed = #ffffaa 100
+border_color_pressed = #999999 100
+
+# Background 6: Inactive desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 30
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 30
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 30
+
+# Background 7: Active desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #1b251d 0
+border_color = #999999 100
+background_color_hover = #dddddd 3
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 3
+border_color_pressed = #999999 100
+
+#-------------------------------------
+# Panel
+panel_items = TS
+panel_size = 100% 32
+panel_margin = 0 0
+panel_padding = 4 2 4
+panel_background_id = 1
+wm_menu = 0
+panel_dock = 0
+panel_position = bottom center horizontal
+panel_layer = bottom
+panel_monitor = all
+panel_shrink = 0
+autohide = 0
+autohide_show_timeout = 0
+autohide_hide_timeout = 0.5
+autohide_height = 2
+strut_policy = none
+panel_window_name = tint2
+disable_transparency = 0
+mouse_effects = 1
+font_shadow = 0
+mouse_hover_icon_asb = 0 0 9
+mouse_pressed_icon_asb = 0 0 0
+scale_relative_to_dpi = 0
+scale_relative_to_screen_height = 0
+
+#-------------------------------------
+# Taskbar
+taskbar_mode = multi_desktop
+taskbar_hide_if_empty = 1
+taskbar_padding = 0 0 2
+taskbar_background_id = 0
+taskbar_active_background_id = 0
+taskbar_name = 1
+taskbar_hide_inactive_tasks = 0
+taskbar_hide_different_monitor = 0
+taskbar_hide_different_desktop = 0
+taskbar_always_show_all_desktop_tasks = 1
+taskbar_name_padding = 6 3
+taskbar_name_background_id = 6
+taskbar_name_active_background_id = 7
+taskbar_name_font = sans bold 9
+taskbar_name_font_color = #ffffff 100
+taskbar_name_active_font_color = #ffffff 100
+taskbar_distribute_size = 1
+taskbar_sort_order = none
+task_align = center
+
+#-------------------------------------
+# Task
+task_text = 1
+task_icon = 1
+task_centered = 1
+urgent_nb_of_blink = 100000
+task_maximum_size = 140 35
+task_padding = 4 3 4
+task_font = sans 8
+task_tooltip = 1
+task_thumbnail = 0
+task_thumbnail_size = 210
+task_font_color = #ffffff 100
+task_icon_asb = 100 0 0
+task_background_id = 2
+task_active_background_id = 3
+task_urgent_background_id = 4
+task_iconified_background_id = 2
+mouse_left = toggle_iconify
+mouse_middle = none
+mouse_right = close
+mouse_scroll_up = prev_task
+mouse_scroll_down = next_task
+
+#-------------------------------------
+# System tray (notification area)
+systray_padding = 4 0 2
+systray_background_id = 0
+systray_sort = ascending
+systray_icon_size = 22
+systray_icon_asb = 100 0 0
+systray_monitor = 1
+systray_name_filter = 
+
+#-------------------------------------
+# Launcher
+launcher_padding = 0 0 2
+launcher_background_id = 0
+launcher_icon_background_id = 0
+launcher_icon_size = 22
+launcher_icon_asb = 100 0 0
+launcher_icon_theme_override = 0
+startup_notifications = 1
+launcher_tooltip = 1
+launcher_item_app = tint2conf.desktop
+launcher_item_app = firefox.desktop
+launcher_item_app = iceweasel.desktop
+launcher_item_app = chromium-browser.desktop
+launcher_item_app = google-chrome.desktop
+launcher_item_app = x-terminal-emulator.desktop
+
+#-------------------------------------
+# Clock
+time1_format = %H:%M
+time2_format = %A %d %B
+time1_font = sans bold 8
+time1_timezone = 
+time2_timezone = 
+time2_font = sans 7
+clock_font_color = #ffffff 100
+clock_padding = 1 0
+clock_background_id = 0
+clock_tooltip = 
+clock_tooltip_timezone = 
+clock_lclick_command = zenity --calendar --text ""
+clock_rclick_command = orage
+clock_mclick_command = 
+clock_uwheel_command = 
+clock_dwheel_command = 
+
+#-------------------------------------
+# Battery
+battery_tooltip = 1
+battery_low_status = 10
+battery_low_cmd = notify-send "battery low"
+battery_full_cmd = 
+bat1_font = sans 8
+bat2_font = sans 6
+battery_font_color = #ffffff 100
+bat1_format = 
+bat2_format = 
+battery_padding = 1 0
+battery_background_id = 0
+battery_hide = 101
+battery_lclick_command = 
+battery_rclick_command = 
+battery_mclick_command = 
+battery_uwheel_command = 
+battery_dwheel_command = 
+ac_connected_cmd = 
+ac_disconnected_cmd = 
+
+#-------------------------------------
+# Tooltip
+tooltip_show_timeout = 0.5
+tooltip_hide_timeout = 0.1
+tooltip_padding = 2 2
+tooltip_background_id = 5
+tooltip_font_color = #222222 100
+tooltip_font = sans 9
+
diff --git a/skel/.config/tint2/sessions/openbox-sessionfile b/skel/.config/tint2/sessions/openbox-sessionfile
new file mode 100755 (executable)
index 0000000..651bfc9
--- /dev/null
@@ -0,0 +1,8 @@
+# Tint2 openbox Sessionfile
+# DO NO edit this file, it will be overwritten by manjaro-tint2zen
+# Make a custom sessionfile instead and use -z or --session FILE option
+# To load session at startup use the following line
+
+# manjaro-tint2-session &
+
+/home/fh/.config/tint2/tint2rc
diff --git a/skel/.config/tint2/tint2rc b/skel/.config/tint2/tint2rc
new file mode 100755 (executable)
index 0000000..7d6e0c7
--- /dev/null
@@ -0,0 +1,249 @@
+#---- Generated by tint2conf e74f ----
+# See https://gitlab.com/o9000/tint2/wikis/Configure for 
+# full documentation of the configuration options.
+#-------------------------------------
+# Gradients
+#-------------------------------------
+# Backgrounds
+# Background 1: Panel
+rounded = 0
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 0
+border_color = #bbbbbb 10
+background_color_hover = #eeeeee 0
+border_color_hover = #bbbbbb 10
+background_color_pressed = #eeeeee 0
+border_color_pressed = #bbbbbb 10
+
+# Background 2: Default task, Iconified task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 44
+background_color_hover = #eeeeee 22
+border_color_hover = #eaeaea 44
+background_color_pressed = #dddddd 4
+border_color_pressed = #eaeaea 44
+
+# Background 3: Active task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #dddddd 4
+border_color = #999999 100
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 100
+
+# Background 4: Urgent task
+rounded = 5
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #aa4400 100
+border_color = #aa7733 100
+background_color_hover = #aa4400 100
+border_color_hover = #aa7733 100
+background_color_pressed = #aa4400 100
+border_color_pressed = #aa7733 100
+
+# Background 5: Tooltip
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #ffffaa 100
+border_color = #999999 100
+background_color_hover = #ffffaa 100
+border_color_hover = #999999 100
+background_color_pressed = #ffffaa 100
+border_color_pressed = #999999 100
+
+# Background 6: Inactive desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #eeeeee 4
+border_color = #cccccc 30
+background_color_hover = #eeeeee 22
+border_color_hover = #999999 30
+background_color_pressed = #dddddd 4
+border_color_pressed = #999999 30
+
+# Background 7: Active desktop name
+rounded = 2
+border_width = 1
+border_sides = TBLR
+border_content_tint_weight = 0
+background_content_tint_weight = 0
+background_color = #dddddd 3
+border_color = #999999 100
+background_color_hover = #dddddd 3
+border_color_hover = #999999 100
+background_color_pressed = #dddddd 3
+border_color_pressed = #999999 100
+
+#-------------------------------------
+# Panel
+panel_items = TS
+panel_size = 100% 32
+panel_margin = 0 0
+panel_padding = 4 2 4
+panel_background_id = 1
+wm_menu = 0
+panel_dock = 0
+panel_pivot_struts = 0
+panel_position = bottom center horizontal
+panel_layer = bottom
+panel_monitor = all
+panel_shrink = 0
+autohide = 0
+autohide_show_timeout = 0
+autohide_hide_timeout = 0.5
+autohide_height = 2
+strut_policy = none
+panel_window_name = tint2
+disable_transparency = 0
+mouse_effects = 1
+font_shadow = 0
+mouse_hover_icon_asb = 0 0 9
+mouse_pressed_icon_asb = 0 0 0
+scale_relative_to_dpi = 0
+scale_relative_to_screen_height = 0
+
+#-------------------------------------
+# Taskbar
+taskbar_mode = multi_desktop
+taskbar_hide_if_empty = 1
+taskbar_padding = 0 0 2
+taskbar_background_id = 0
+taskbar_active_background_id = 0
+taskbar_name = 1
+taskbar_hide_inactive_tasks = 0
+taskbar_hide_different_monitor = 0
+taskbar_hide_different_desktop = 0
+taskbar_always_show_all_desktop_tasks = 1
+taskbar_name_padding = 6 3
+taskbar_name_background_id = 6
+taskbar_name_active_background_id = 7
+taskbar_name_font = sans bold 9
+taskbar_name_font_color = #ffffff 100
+taskbar_name_active_font_color = #ffffff 100
+taskbar_distribute_size = 1
+taskbar_sort_order = none
+task_align = center
+
+#-------------------------------------
+# Task
+task_text = 1
+task_icon = 1
+task_centered = 1
+urgent_nb_of_blink = 100000
+task_maximum_size = 140 35
+task_padding = 4 3 4
+task_font = sans 8
+task_tooltip = 1
+task_thumbnail = 0
+task_thumbnail_size = 210
+task_font_color = #ffffff 100
+task_icon_asb = 100 0 0
+task_background_id = 2
+task_active_background_id = 3
+task_urgent_background_id = 4
+task_iconified_background_id = 2
+mouse_left = toggle_iconify
+mouse_middle = none
+mouse_right = close
+mouse_scroll_up = prev_task
+mouse_scroll_down = next_task
+
+#-------------------------------------
+# System tray (notification area)
+systray_padding = 4 0 2
+systray_background_id = 0
+systray_sort = ascending
+systray_icon_size = 22
+systray_icon_asb = 100 0 0
+systray_monitor = 1
+systray_name_filter = 
+
+#-------------------------------------
+# Launcher
+launcher_padding = 0 0 2
+launcher_background_id = 0
+launcher_icon_background_id = 0
+launcher_icon_size = 22
+launcher_icon_asb = 100 0 0
+launcher_icon_theme_override = 0
+startup_notifications = 1
+launcher_tooltip = 1
+launcher_item_app = tint2conf.desktop
+launcher_item_app = firefox.desktop
+launcher_item_app = iceweasel.desktop
+launcher_item_app = chromium-browser.desktop
+launcher_item_app = google-chrome.desktop
+launcher_item_app = x-terminal-emulator.desktop
+
+#-------------------------------------
+# Clock
+time1_format = %H:%M
+time2_format = %A %d %B
+time1_font = sans bold 8
+time1_timezone = 
+time2_timezone = 
+time2_font = sans 7
+clock_font_color = #ffffff 100
+clock_padding = 1 0
+clock_background_id = 0
+clock_tooltip = 
+clock_tooltip_timezone = 
+clock_lclick_command = zenity --calendar --text ""
+clock_rclick_command = orage
+clock_mclick_command = 
+clock_uwheel_command = 
+clock_dwheel_command = 
+
+#-------------------------------------
+# Battery
+battery_tooltip = 1
+battery_low_status = 10
+battery_low_cmd = notify-send "battery low"
+battery_full_cmd = 
+bat1_font = sans 8
+bat2_font = sans 6
+battery_font_color = #ffffff 100
+bat1_format = 
+bat2_format = 
+battery_padding = 1 0
+battery_background_id = 0
+battery_hide = 101
+battery_lclick_command = 
+battery_rclick_command = 
+battery_mclick_command = 
+battery_uwheel_command = 
+battery_dwheel_command = 
+ac_connected_cmd = 
+ac_disconnected_cmd = 
+
+#-------------------------------------
+# Tooltip
+tooltip_show_timeout = 0.5
+tooltip_hide_timeout = 0.1
+tooltip_padding = 2 2
+tooltip_background_id = 5
+tooltip_font_color = #222222 100
+tooltip_font = sans 9
+
diff --git a/skel/.config/volumeicon/volumeicon b/skel/.config/volumeicon/volumeicon
new file mode 100644 (file)
index 0000000..97d3c3d
--- /dev/null
@@ -0,0 +1,25 @@
+[Alsa]
+card=default
+
+[Notification]
+show_notification=true
+notification_type=0
+
+[StatusIcon]
+stepsize=5
+onclick=pavucontrol
+theme=Default
+use_panel_specific_icons=false
+lmb_slider=false
+mmb_mute=false
+use_horizontal_slider=false
+show_sound_level=false
+use_transparent_background=false
+
+[Hotkeys]
+up_enabled=false
+down_enabled=false
+mute_enabled=false
+up=XF86AudioRaiseVolume
+down=XF86AudioLowerVolume
+mute=XF86AudioMute
diff --git a/skel/.config/xfce4/helpers.rc b/skel/.config/xfce4/helpers.rc
new file mode 100644 (file)
index 0000000..fdf066e
--- /dev/null
@@ -0,0 +1,5 @@
+TerminalEmulator=custom-TerminalEmulator
+WebBrowser=firefox
+MailReader=thunderbird
+FileManager=Thunar
+
diff --git a/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml b/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
new file mode 100644 (file)
index 0000000..3ab0102
--- /dev/null
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<channel name="xfce4-keyboard-shortcuts" version="1.0">
+  <property name="commands" type="empty">
+    <property name="default" type="empty">
+      <property name="&lt;Alt&gt;F1" type="empty"/>
+      <property name="&lt;Alt&gt;F2" type="empty">
+        <property name="startup-notify" type="empty"/>
+      </property>
+      <property name="&lt;Alt&gt;F3" type="empty">
+        <property name="startup-notify" type="empty"/>
+      </property>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;l" type="empty"/>
+      <property name="XF86Display" type="empty"/>
+      <property name="&lt;Super&gt;p" type="empty"/>
+      <property name="&lt;Primary&gt;Escape" type="empty"/>
+      <property name="XF86WWW" type="empty"/>
+      <property name="XF86Mail" type="empty"/>
+    </property>
+    <property name="custom" type="empty">
+      <property name="XF86Mail" type="string" value="exo-open --launch MailReader"/>
+      <property name="XF86Display" type="string" value="xfce4-display-settings --minimal"/>
+      <property name="XF86WWW" type="string" value="exo-open --launch WebBrowser"/>
+      <property name="&lt;Super&gt;p" type="string" value="xfce4-display-settings --minimal"/>
+      <property name="override" type="bool" value="true"/>
+      <property name="&lt;Alt&gt;F2" type="string" value="rofr.sh -r">
+        <property name="startup-notify" type="bool" value="true"/>
+      </property>
+      <property name="&lt;Alt&gt;F3" type="string" value="rofr.sh -r">
+        <property name="startup-notify" type="bool" value="true"/>
+      </property>
+      <property name="&lt;Alt&gt;F1" type="string" value="jgmenu_run"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;Delete" type="string" value="rofr.sh -l"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;l" type="string" value="lockscreen -- scrot"/>
+    </property>
+  </property>
+  <property name="xfwm4" type="empty">
+    <property name="default" type="empty">
+      <property name="&lt;Alt&gt;Insert" type="empty"/>
+      <property name="Escape" type="empty"/>
+      <property name="Left" type="empty"/>
+      <property name="Right" type="empty"/>
+      <property name="Up" type="empty"/>
+      <property name="Down" type="empty"/>
+      <property name="&lt;Alt&gt;Tab" type="empty"/>
+      <property name="&lt;Alt&gt;&lt;Shift&gt;Tab" type="empty"/>
+      <property name="&lt;Alt&gt;Delete" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;Down" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;Left" type="empty"/>
+      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Down" type="empty"/>
+      <property name="&lt;Alt&gt;F4" type="empty"/>
+      <property name="&lt;Alt&gt;F6" type="empty"/>
+      <property name="&lt;Alt&gt;F7" type="empty"/>
+      <property name="&lt;Alt&gt;F8" type="empty"/>
+      <property name="&lt;Alt&gt;F9" type="empty"/>
+      <property name="&lt;Alt&gt;F10" type="empty"/>
+      <property name="&lt;Alt&gt;F11" type="empty"/>
+      <property name="&lt;Alt&gt;F12" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Left" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;End" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;Home" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Right" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Shift&gt;&lt;Alt&gt;Up" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_1" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_2" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_3" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_4" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_5" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_6" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_7" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_8" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;KP_9" type="empty"/>
+      <property name="&lt;Alt&gt;space" type="empty"/>
+      <property name="&lt;Shift&gt;&lt;Alt&gt;Page_Up" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;Right" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;d" type="empty"/>
+      <property name="&lt;Primary&gt;&lt;Alt&gt;Up" type="empty"/>
+      <property name="&lt;Super&gt;Tab" type="empty"/>
+      <property name="&lt;Primary&gt;F1" type="empty"/>
+      <property name="&lt;Primary&gt;F2" type="empty"/>
+      <property name="&lt;Primary&gt;F3" type="empty"/>
+      <property name="&lt;Primary&gt;F4" type="empty"/>
+      <property name="&lt;Primary&gt;F5" type="empty"/>
+      <property name="&lt;Primary&gt;F6" type="empty"/>
+      <property name="&lt;Primary&gt;F7" type="empty"/>
+      <property name="&lt;Primary&gt;F8" type="empty"/>
+      <property name="&lt;Primary&gt;F9" type="empty"/>
+      <property name="&lt;Primary&gt;F10" type="empty"/>
+      <property name="&lt;Primary&gt;F11" type="empty"/>
+      <property name="&lt;Primary&gt;F12" type="empty"/>
+    </property>
+  </property>
+  <property name="providers" type="array">
+    <value type="string" value="commands"/>
+  </property>
+</channel>
diff --git a/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/skel/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
new file mode 100644 (file)
index 0000000..9fc2b25
--- /dev/null
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<channel name="xsettings" version="1.0">
+  <property name="Net" type="empty">
+    <property name="ThemeName" type="string" value="PacBang"/>
+    <property name="IconThemeName" type="string" value="gnome"/>
+    <property name="DoubleClickTime" type="empty"/>
+    <property name="DoubleClickDistance" type="empty"/>
+    <property name="DndDragThreshold" type="empty"/>
+    <property name="CursorBlink" type="empty"/>
+    <property name="CursorBlinkTime" type="empty"/>
+    <property name="SoundThemeName" type="empty"/>
+    <property name="EnableEventSounds" type="empty"/>
+    <property name="EnableInputFeedbackSounds" type="empty"/>
+  </property>
+  <property name="Xft" type="empty">
+    <property name="DPI" type="empty"/>
+    <property name="Antialias" type="empty"/>
+    <property name="Hinting" type="empty"/>
+    <property name="HintStyle" type="empty"/>
+    <property name="RGBA" type="string" value="rgb"/>
+  </property>
+  <property name="Gtk" type="empty">
+    <property name="CanChangeAccels" type="empty"/>
+    <property name="ColorPalette" type="empty"/>
+    <property name="FontName" type="string" value="Roboto 10"/>
+    <property name="MonospaceFontName" type="string" value="DejaVu Sans Mono 11"/>
+    <property name="IconSizes" type="empty"/>
+    <property name="KeyThemeName" type="empty"/>
+    <property name="ToolbarStyle" type="empty"/>
+    <property name="ToolbarIconSize" type="empty"/>
+    <property name="MenuImages" type="empty"/>
+    <property name="ButtonImages" type="empty"/>
+    <property name="MenuBarAccel" type="empty"/>
+    <property name="CursorThemeName" type="string" value="Vanilla-DMZ"/>
+    <property name="CursorThemeSize" type="int" value="24"/>
+    <property name="DecorationLayout" type="empty"/>
+  </property>
+  <property name="Gdk" type="empty">
+    <property name="WindowScalingFactor" type="empty"/>
+  </property>
+</channel>
diff --git a/skel/.fonts/Radio_Space.ttf b/skel/.fonts/Radio_Space.ttf
new file mode 100644 (file)
index 0000000..1750f02
Binary files /dev/null and b/skel/.fonts/Radio_Space.ttf differ
diff --git a/skel/.fonts/Radio_Space_Bold.ttf b/skel/.fonts/Radio_Space_Bold.ttf
new file mode 100644 (file)
index 0000000..d42d532
Binary files /dev/null and b/skel/.fonts/Radio_Space_Bold.ttf differ
diff --git a/skel/.fonts/Radio_Space_Bold_Italic.ttf b/skel/.fonts/Radio_Space_Bold_Italic.ttf
new file mode 100644 (file)
index 0000000..013ee59
Binary files /dev/null and b/skel/.fonts/Radio_Space_Bold_Italic.ttf differ
diff --git a/skel/.fonts/Radio_Space_Condensed.ttf b/skel/.fonts/Radio_Space_Condensed.ttf
new file mode 100644 (file)
index 0000000..d6cda85
Binary files /dev/null and b/skel/.fonts/Radio_Space_Condensed.ttf differ
diff --git a/skel/.fonts/Radio_Space_Italic.ttf b/skel/.fonts/Radio_Space_Italic.ttf
new file mode 100644 (file)
index 0000000..f4a9019
Binary files /dev/null and b/skel/.fonts/Radio_Space_Italic.ttf differ
diff --git a/skel/.fonts/conkyweather.ttf b/skel/.fonts/conkyweather.ttf
new file mode 100644 (file)
index 0000000..469d8ec
Binary files /dev/null and b/skel/.fonts/conkyweather.ttf differ
diff --git a/skel/.gtkrc-2.0 b/skel/.gtkrc-2.0
new file mode 100644 (file)
index 0000000..15b787b
--- /dev/null
@@ -0,0 +1,19 @@
+# DO NOT EDIT! This file will be overwritten by LXAppearance.
+# Any customization should be done in ~/.gtkrc-2.0.mine instead.
+
+
+gtk-theme-name="PacBang"
+gtk-icon-theme-name="gnome"
+gtk-font-name="Roboto 10"
+gtk-cursor-theme-name="Vanilla-DMZ"
+gtk-cursor-theme-size=24
+gtk-toolbar-style=GTK_TOOLBAR_ICONS
+gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
+gtk-button-images=1
+gtk-menu-images=1
+gtk-enable-event-sounds=0
+gtk-enable-input-feedback-sounds=0
+gtk-xft-antialias=1
+gtk-xft-hinting=1
+gtk-xft-hintstyle="hintfull"
+gtk-xft-rgba="rgb"
diff --git a/skel/.icons/default/index.theme b/skel/.icons/default/index.theme
new file mode 100644 (file)
index 0000000..6652f01
--- /dev/null
@@ -0,0 +1,5 @@
+# This file is written by LXAppearance. Do not edit.
+[Icon Theme]
+Name=Default
+Comment=Default Cursor Theme
+Inherits=Vanilla-DMZ
diff --git a/skel/.local/bin/README b/skel/.local/bin/README
new file mode 100644 (file)
index 0000000..72c99eb
--- /dev/null
@@ -0,0 +1 @@
+Place scripts in this folder.
\ No newline at end of file
diff --git a/skel/.local/bin/format-usb b/skel/.local/bin/format-usb
new file mode 100755 (executable)
index 0000000..82d10cf
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/bash
+# ensure a device is given
+DEVICE="$1"
+if [[ -z ${DEVICE} ]]; then
+    echo "No device specified ..."
+    exit 1
+fi
+# Get user confirmation
+read -r -p "Confirm reformat of $1 [y/N] " resp
+if [[ "$resp" =~ ^([yY][eE][sS]|[yY])$ ]]; then
+    echo "Formatting ${DEVICE} ..."
+    printf 'o\ny\nn\n\n\n\n0700\nw\ny\n' | sudo gdisk $DEVICE && sudo mkexfatfs "$DEVICE"1
+else
+    echo "Formatting aborted"
+fi
diff --git a/skel/.local/bin/myip b/skel/.local/bin/myip
new file mode 100755 (executable)
index 0000000..a6ba0bb
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+IP=$(curl -s https://get.geojs.io/v1/ip)
+echo ${IP}
+notify-send --urgency=normal --expire-time=5000 "Public IP " "\nYour public IP address is $IP\n"
+#yad --title="Public IP" --text="Your public IP is '"$IP"'" --button=OK --center --width=300 --height=100
+#zenity --info --text "Your public IP is '"$IP"'" --no-wrap
\ No newline at end of file
diff --git a/skel/.local/share/xfce4/helpers/custom-TerminalEmulator.desktop b/skel/.local/share/xfce4/helpers/custom-TerminalEmulator.desktop
new file mode 100755 (executable)
index 0000000..fc3cd3f
--- /dev/null
@@ -0,0 +1,11 @@
+[Desktop Entry]
+NoDisplay=true
+Version=1.0
+Encoding=UTF-8
+Type=X-XFCE-Helper
+X-XFCE-Category=TerminalEmulator
+X-XFCE-CommandsWithParameter=termite "%s"
+Icon=utilities-terminal
+Name=Termite
+X-XFCE-Commands=termite
+GenericName=Termite
diff --git a/skel/.nanorc b/skel/.nanorc
new file mode 100644 (file)
index 0000000..3898596
--- /dev/null
@@ -0,0 +1,2 @@
+include /usr/share/nano/*.nanorc
+include ~/.config/nano/*.nanorc
diff --git a/skel/.profile b/skel/.profile
new file mode 100644 (file)
index 0000000..e787c27
--- /dev/null
@@ -0,0 +1,6 @@
+# set PATH so it includes user's private bin if it exists
+export QT_QPA_PLATFORMTHEME="qt5ct"
+export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
+
+export EDITOR=/usr/bin/nano
+export VISUAL=/usr/bin/nano
diff --git a/skel/.xinitrc b/skel/.xinitrc
new file mode 100755 (executable)
index 0000000..24781ee
--- /dev/null
@@ -0,0 +1,75 @@
+#!/bin/sh
+#
+# ~/.xinitrc
+#
+# Executed by startx (run your window manager from here)
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -f $sysresources ]; then
+    xrdb -merge $sysresources
+fi
+
+if [ -f $sysmodmap ]; then
+    xmodmap $sysmodmap
+fi
+
+if [ -f "$userresources" ]; then
+    xrdb -merge "$userresources"
+fi
+
+if [ -f "$usermodmap" ]; then
+    xmodmap "$usermodmap"
+fi
+
+# start some nice programs
+
+if [ -d /etc/X11/xinit/xinitrc.d ] ; then
+    for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
+        [ -x "$f" ] && . "$f"
+    done
+    unset f
+fi
+
+if [ -f ~/.xprofile ]; then
+    . ~/.xprofile
+fi
+
+# Keyring daemon
+gnome-keyring-daemon --start --components=pkcs11 &
+
+kbdrate -d 400 -r 50
+xset r rate 400 50
+xset s 3600 3600
+
+get_session(){
+       local dbus_args=(--sh-syntax --exit-with-session)
+       case $1 in
+               awesome) dbus_args+=(awesome) ;;
+               bspwm) dbus_args+=(bspwm-session) ;;
+               budgie) dbus_args+=(budgie-desktop) ;;
+               cinnamon) dbus_args+=(cinnamon-session) ;;
+               deepin) dbus_args+=(startdde) ;;
+               enlightenment) dbus_args+=(enlightenment_start) ;;
+               fluxbox) dbus_args+=(startfluxbox) ;;
+               gnome) dbus_args+=(gnome-session) ;;
+               i3|i3wm) dbus_args+=(i3 --shmlog-size 0) ;;
+               jwm) dbus_args+=(jwm) ;;
+               kde) dbus_args+=(startkde) ;;
+               lxde) dbus_args+=(startlxde) ;;
+               lxqt) dbus_args+=(lxqt-session) ;;
+               mate) dbus_args+=(mate-session) ;;
+               xfce) dbus_args+=(xfce4-session) ;;
+               openbox) dbus_args+=(openbox-session) ;;
+               *) dbus_args+=($DEFAULT_SESSION) ;;
+       esac
+
+       echo "dbus-launch ${dbus_args[*]}"
+}
+
+exec $(get_session)
diff --git a/skel/.xprofile b/skel/.xprofile
new file mode 100644 (file)
index 0000000..ff97722
--- /dev/null
@@ -0,0 +1,10 @@
+# .xprofile
+# vim:ft=sh
+# lightdm sources this file at boot
+# as well as our own xinitrc with startx
+
+export XDG_CONFIG_HOME=$HOME/.config
+
+if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
+    eval "$(dbus-launch --sh-syntax --exit-with-session)"
+fi