From 0fd3fb5eb258bb1bbf08ffd11bc43bde7722f06a Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 6 Jan 2016 19:23:48 +0800 Subject: Rename .config => _config --- .config/openbox/autostart.sh | 19 - .config/openbox/lxde-rc.xml | 779 ----------------------- .config/openbox/menu.xml | 236 ------- .config/openbox/pipemenus/obpipemenu-places | 102 --- .config/openbox/rc.xml | 937 ---------------------------- .config/openbox/scripts/xcompmgr.sh | 25 - .config/openbox/scripts/xdg-menu | 49 -- 7 files changed, 2147 deletions(-) delete mode 100755 .config/openbox/autostart.sh delete mode 100644 .config/openbox/lxde-rc.xml delete mode 100644 .config/openbox/menu.xml delete mode 100755 .config/openbox/pipemenus/obpipemenu-places delete mode 100644 .config/openbox/rc.xml delete mode 100755 .config/openbox/scripts/xcompmgr.sh delete mode 100755 .config/openbox/scripts/xdg-menu (limited to '.config/openbox') diff --git a/.config/openbox/autostart.sh b/.config/openbox/autostart.sh deleted file mode 100755 index ea10b93..0000000 --- a/.config/openbox/autostart.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -feh --bg-fill '/home/ly/pictures/wallpapers/.current' & -#nitrogen --restore & -#ibus-daemon -d -x -pgrep fcitx || fcitx & -pkill tint2 -tint2 & -#xcompmgr -CfF & -pgrep xcompmgr || xcompmgr & -pgrep xscreensaver || xscreensaver -no-splash & -#wicd-client & -#scrolling.sh & -#xfce4-volumed -#xmms2-launcher -#mpd & -#parcellite & -pgrep urxvtd || urxvtd -q -f -o & -#/usr/bin/conky -q & -#xfce4-power-manager & diff --git a/.config/openbox/lxde-rc.xml b/.config/openbox/lxde-rc.xml deleted file mode 100644 index 6b52056..0000000 --- a/.config/openbox/lxde-rc.xml +++ /dev/null @@ -1,779 +0,0 @@ - - - - - 10 - 20 - - - yes - - yes - - yes - - no - - 200 - - no - - - - Smart - -
yes
- - Any - - -
- - Litestyle-Mint - NLIMC - - yes - yes - - sans - 10 - - bold - - normal - - - - sans - 10 - - bold - - normal - - - - sans - 10 - - normal - - normal - - - - sans - 10 - - normal - - normal - - - - - - - Sans - 8 - - - - - - - 2 - 1 - - - - 875 - - - - yes - Nonpixel - - Center - - - - 10 - - 10 - - - - - - 0 - 0 - 0 - 0 - - - TopLeft - - 0 - 0 - no - Above - - Vertical - - no - 300 - - 300 - - Middle - - - - C-g - - - - no - no - - - - - no - no - - - - - no - no - - - - - no - no - - - - - no - no - - - - - no - no - - - - - no - no - - - - - no - no - - - - - 1 - - - - - 2 - - - - - 3 - - - - - 4 - - - - - - - - - - - - - - - - - - - - client-menu - - - - - - - - - - - - yes - yes - - - - - - - true - PCManFM - - pcmanfm - - - - - - lxpanelctl run - - - - - lxpanelctl run - - - - - lxpanelctl menu - - - - - - - - - lxsession-logout - - - - - - scrot 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/pictures/screenshots' - - - - - scrot -bud 3 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/pictures/screenshots' - - - - - ~/bin/dmenu.sh - - - - - urxvt - - yes - URxvt - - - - - - firefox - - yes - Firefox Web Browser - - - - - - - mixer vol -5:-5 - - - - - mixer vol +5:+5 - - - - - - xscreensaver-command -lock - - - - - 8 - - 200 - - 400 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-menu - - - - - - - - - - - - top - - - - - - - - - - - left - - - - - - - - - - - right - - - - - - - - - - - bottom - - - - - - - - - - - - client-menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-menu - - - - - - - client-menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-list-combined-menu - - - - - root-menu - - - - - - - - - - - - - - - - - - - - - - /usr/local/share/lxde/openbox/menu.xml - 200 - - no - - 100 - - yes - - yes - - - - - -
diff --git a/.config/openbox/menu.xml b/.config/openbox/menu.xml deleted file mode 100644 index c6fd3a7..0000000 --- a/.config/openbox/menu.xml +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - dmenu.sh - - - - - - - - urxvtc - - - - - - - firefox - - - - - - - thunar - - - - - - - leafpad - - - - - - - - - xarchiver - - - - - - - gvim - - - - - - - leafpad - - - - - - - lxterminal - - - - - - - - scrot 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/ & geeqie ~/$f' - - - - - - - scrot -d 3 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/ & geeqie ~/$f' - - - - - - - scrot -d 10 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/ & geeqie ~/$f' - - - - - - - scrot -s 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/ & geeqie ~/$f' - - - - - - - scrot -bud 3 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/ & geeqie ~/$f' - - - - - - - - - - - - - - - ~/.config/openbox/scripts/xcompmgr.sh unset - - - - - - - ~/.config/openbox/scripts/xcompmgr.sh set - - - - - - - ~/.config/openbox/scripts/xcompmgr.sh setshaded - - - - - - - ~/.config/openbox/scripts/xcompmgr.sh setshadowshade - - - - - - - - - gvim ~/.config/openbox/menu.xml - - - - - - - gvim ~/.config/openbox/rc.xml - - - - - - - gvim ~/.config/openbox/autostart.sh - - - - - - - - obconf - - - - - - - - gvim ~/.config/tint2/tint2rc - - - - - - - lxappearance - - - - - - - - - - - - - - - - - - - diff --git a/.config/openbox/pipemenus/obpipemenu-places b/.config/openbox/pipemenus/obpipemenu-places deleted file mode 100755 index 3b73618..0000000 --- a/.config/openbox/pipemenus/obpipemenu-places +++ /dev/null @@ -1,102 +0,0 @@ -#!/usr/bin/perl -# Recursively browse filesystem through openbox3 pipe menus -#### Usage: add -# -# to your .config/openbox/menu.xml -#### CAVEAT #### -# This script was hacked on exclusively in stints between the hours of -# 4 and 5 in the morning. Quality may have suffered. -#### -# Script by dircha from ob list on 05/17/04 -# suggested improvements by John Russell on 05/17/04 implemented -# a year later by Kacper Wysocki. -# 05/30/05 - Kacper Wysocki -# - opens files with 'rox', which launches appropriate file handler -# - hidden directories now stay hidden -# - spaces, ampersands in dir- and filenames are escaped -# - newlines at each entry to make output a little readable -# 06/04/05 - Kacper Wysocki -# - use $0 for scriptname -# - use $ENV{'HOME'} as default path -# - now follows symlinks - -use strict; - -# Command to lauch files with -my $cmd = "thunar"; - -my $path = $ARGV[0]; -$path = "$ENV{'HOME'}" if $path eq ""; -my @files = split /\n/, `ls -1p '$path'`; -mk_menu_element($path, @files); - -sub mk_menu_element { - my ($path, @files) = @_; - - print "\n"; - - # "Browse here..." lauches this dir - print "". - "\n\t". - "\n\t\t$cmd '$path'". - "\n\t". - "\n\n". - ""; - - foreach $_ (@files) { - my $length = length $_; - my $last_c = substr $_, $length - 1, 1; - - if ($last_c eq "/") { - print mk_dir_element($path, substr $_, 0, $length - 1); - } elsif ($last_c eq "@") { - print mk_sym_element($path, substr $_, 0, $length - 1); - } else { - print mk_file_element($path, $_); - } - } - print "\n"; -} - -sub mk_dir_element { - my ($path, $name) = @_; - # escape ampersand and space in pathnames - $path =~ s/&/&/g; - $name =~ s/&/&/g; - $path =~ s/ /\\ /g; - $name =~ s/ /\\ /g; - - return "\n"; -} - -sub mk_sym_element { - my ($path, $name) = @_; - # escape ampersand in pathnames - $path =~ s/&/&/g; - $name =~ s/&/&/g; - - # Follow symlinks instead of opening links in rox. - return "\n"; -=cut - return "". - "\n\t". - "\n\t\t$cmd '$path/$name'". - "\n\t" - . "\n\n"; -=cut -} - -sub mk_file_element { - my ($path, $name) = @_; - my $label = $name; - # escape ampersand in pathnames - $path =~ s/&/&/g; - $name =~ s/&/&/g; - - return "". - "\n\t". - "\n\t\t$cmd '$path/$name'". - "\n\t" - . "\n\n"; -} - diff --git a/.config/openbox/rc.xml b/.config/openbox/rc.xml deleted file mode 100644 index aad1450..0000000 --- a/.config/openbox/rc.xml +++ /dev/null @@ -1,937 +0,0 @@ - - - - 10 - 20 - - - yes - - yes - - yes - - no - - 200 - - no - - - - Smart - -
yes
- - Any - -
- - Litestyle-Mint - DSLIMC - - yes - yes - - Sans - 9 - - Bold - - Normal - - - - Sans - 9 - - Normal - - Normal - - - - Sans - 9 - - Normal - - Normal - - - - Sans - 9 - - Normal - - Normal - - - - - - - Sans - 8 - - - - - - - 2 - 1 - - MAIN - MISC - 3 - 4 - - 150 - - - - yes - NonPixel - - Center - - - 0 - 0 - - - - - 0 - 0 - 0 - 0 - - - Top - - 0 - 0 - no - Above - - Horizontal - - no - 300 - - 300 - - Middle - - - - C-g - - - no - - - - - no - - - - - no - - - - - no - - - - - no - - - - - no - - - - - no - - - - - no - - - - - - - - 2 - - - - - 3 - - - - - 4 - - - - - - - - - - - - - - - - client-menu - - - - - - - - - - - yes - yes - - - - - scrot 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/pictures/screenshots' - - - - - scrot -bud 3 'ly_%Y%m%d_$wx$h.png' -e 'mv $f ~/pictures/screenshots' - - - - - gmrun - - yes - gmrun - - - - - - ~/bin/dmenu.sh - - yes - dmenu - - - - - - root-menu - - - - - client-list-combined-menu - - - - - ~/bin/blank-screen.sh - - - - - catfish - - yes - Catfish - - - - - - epdfview - - yes - PDF - - - - - - thunar - - yes - Thunar - - - - - - gimp - - yes - GIMP - - - - - - xkill - - yes - Xkill - - - - - - leafpad - - yes - Editor - - - - - - smplayer - - yes - Mediaplayer - - - - - - openfetion - - yes - OpenFetion - - - - - - pidgin - - yes - Pidgin - - - - - - urxvtc - - yes - Terminal - - - - - - firefox - - yes - Web Browser - - - - - - oblogout - - yes - Openbox Logout - - - - - - - mpc toggle - - yes - MPD - - - - - - mpc prev - - yes - MPD Prev - - - - - - mpc next - - yes - MPD Next - - - - - - mpc stop - - yes - MPD Stopped - - - - - - mpc toggle - - - - - mpc prev - - - - - mpc next - - - - - mpc stop - - - - - - - mixer vol -5:-5 - - - - - mixer vol +5:+5 - - - - - - xscreensaver-command -lock - - - - - xscreensaver-command -lock - - - - - 8 - - 200 - - 400 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-menu - - - - - - transset-df -p --inc 0.2 - - - - - transset-df -p --min 0.2 --dec 0.2 - - - - - - - - - - - - top - - - - - - - - - - - left - - - - - - - - - - - right - - - - - - - - - - - bottom - - - - - - - - - - - - client-menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-menu - - - - - - - client-menu - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - client-list-combined-menu - - - - - root-menu - - - - - - - - - - - - - - - - - - - - - - - menu.xml - 200 - no - 100 - yes - - - - - no - no - yes - yes - no - no - - - no - no - yes - no - no - above - - - - above - yes - yes - - -
diff --git a/.config/openbox/scripts/xcompmgr.sh b/.config/openbox/scripts/xcompmgr.sh deleted file mode 100755 index e59eb6a..0000000 --- a/.config/openbox/scripts/xcompmgr.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -case "$1" in - set) - killall xcompmgr - sed -i 's/#xcompmgr.*$/xcompmgr \&/g' ~/.config/openbox/autostart.sh - xcompmgr & - ;; - unset) - sed -i 's/^xcompmgr.*$/#xcompmgr \&/g' ~/.config/openbox/autostart.sh - killall xcompmgr - ;; - setshaded) - killall xcompmgr - sed -i 's/#xcompmgr.*$/xcompmgr -CfF \&/g' ~/.config/openbox/autostart.sh - xcompmgr -CfF & - ;; - setshadowshade) - killall xcompmgr - sed -i 's/#xcompmgr.*$/xcompmgr -CcfF \&/g' ~/.config/openbox/autostart.sh - xcompmgr -CcfF & - ;; - *) - echo "This script accepts the following arguments : set, setshaded, setshadowshade, unset" -esac diff --git a/.config/openbox/scripts/xdg-menu b/.config/openbox/scripts/xdg-menu deleted file mode 100755 index 05d6cec..0000000 --- a/.config/openbox/scripts/xdg-menu +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env python -# -# Copyright (C) 2008 Red Hat, Inc. -# -# 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 2 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 . -# -# Author(s): Luke Macken -# Miroslav Lichvar - - -import gmenu, re, sys -from xml.sax.saxutils import escape - -def walk_menu(entry): - if entry.get_type() == gmenu.TYPE_DIRECTORY: - print '' \ - % (escape(entry.menu_id), escape(entry.get_name())) - map(walk_menu, entry.get_contents()) - print '' - elif entry.get_type() == gmenu.TYPE_ENTRY and not entry.is_excluded: - print ' ' % escape(entry.get_name()) - command = re.sub(' [^ ]*%[fFuUdDnNickvm]', '', entry.get_exec()) - if entry.launch_in_terminal: - command = 'xterm -title "%s" -e %s' % \ - (entry.get_name(), command) - print ' ' + \ - '%s' % escape(command) - print ' ' - -if len(sys.argv) > 1: - menu = sys.argv[1] + '.menu' -else: - menu = 'applications.menu' - -print '' -print '' -map(walk_menu, gmenu.lookup_tree(menu).root.get_contents()) -print '' -- cgit v1.2.2