remove unused stuff
parent
0b11fb0177
commit
40f3a523a3
|
@ -1,19 +0,0 @@
|
||||||
#!/usr/bin/env fish
|
|
||||||
|
|
||||||
if not test "$DISPLAY"
|
|
||||||
exit 0
|
|
||||||
end
|
|
||||||
|
|
||||||
vdirsyncer sync
|
|
||||||
|
|
||||||
set content (khal list today tomorrow)
|
|
||||||
|
|
||||||
if test "$content" != "No events"
|
|
||||||
notify-send \
|
|
||||||
-a 'Calendar Reminder' \
|
|
||||||
-u critical \
|
|
||||||
-i dialog-information \
|
|
||||||
"$content"
|
|
||||||
end
|
|
||||||
|
|
||||||
## EOF
|
|
|
@ -1,8 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Run some crap
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
ExecStart=/usr/bin/env fish --command='$_agw_dir_rc/system/services/hourly'
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
|
@ -1,10 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=Run some crap every hour
|
|
||||||
|
|
||||||
[Timer]
|
|
||||||
OnBootSec=1h
|
|
||||||
OnUnitActiveSec=1h
|
|
||||||
Unit=marrub.service
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=timers.target
|
|
|
@ -1,9 +0,0 @@
|
||||||
[Unit]
|
|
||||||
Description=doo doo doot doot
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
User=root
|
|
||||||
ExecStart=/usr/bin/beep -f 293 -l 125 -n -f 293 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125 -n -f 261 -l 125 -n -f 261 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125 -n -f 246 -l 125 -n -f 246 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125 -n -f 233 -l 125 -n -f 233 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125 -n -f 293 -l 125 -n -f 293 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125 -n -f 261 -l 125 -n -f 261 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125 -n -f 246 -l 125 -n -f 246 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125 -n -f 233 -l 125 -n -f 233 -l 125 -n -f 587 -l 125 -D 125 -n -f 440 -l 125 -D 250 -n -f 415 -l 125 -D 125 -n -f 392 -l 125 -D 125 -n -f 349 -l 250 -n -f 293 -l 125 -n -f 349 -l 125 -n -f 392 -l 125
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=basic.target
|
|
|
@ -1,74 +0,0 @@
|
||||||
param([Parameter(Mandatory=$true)][string] $fname)
|
|
||||||
|
|
||||||
function make-ouf($ofn, $ofe)
|
|
||||||
{
|
|
||||||
new-object IO.FileInfo("output/$ofn.$ofe")
|
|
||||||
}
|
|
||||||
|
|
||||||
function log($text)
|
|
||||||
{
|
|
||||||
out-file -append log.txt -inputobject "$text`n" -encoding ascii -nonewline
|
|
||||||
echo "*** $text"
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!(test-path output)) {
|
|
||||||
mkdir output
|
|
||||||
}
|
|
||||||
|
|
||||||
$uagent = "Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0"
|
|
||||||
$progressPreference = "silentlyContinue"
|
|
||||||
$sums = @()
|
|
||||||
$numerrors = 0
|
|
||||||
$duplicates = 0
|
|
||||||
$newfiles = 0
|
|
||||||
|
|
||||||
if(test-path "hashes.txt") {
|
|
||||||
$sums = (get-content "hashes.txt") -split '\n'
|
|
||||||
} else {
|
|
||||||
log "WARNING: No hashes file. Duplicates will not be removed."
|
|
||||||
}
|
|
||||||
|
|
||||||
log "Started download at $(date)"
|
|
||||||
|
|
||||||
foreach($line in [IO.File]::ReadLines((resolve-path $fname))) {
|
|
||||||
$inf = $line.split('/')[-1].split(':')[0].split('.')
|
|
||||||
$ofn = $inf[0 .. ($inf.length - 2)] -join '.'
|
|
||||||
$ofe = $inf[-1]
|
|
||||||
$ouf = (make-ouf $ofn $ofe)
|
|
||||||
|
|
||||||
while($ouf.exists) {
|
|
||||||
$ofn += '_'
|
|
||||||
$ouf = (make-ouf $ofn $ofe)
|
|
||||||
}
|
|
||||||
|
|
||||||
echo ">>\ $line"
|
|
||||||
echo " | $ouf"
|
|
||||||
|
|
||||||
try {
|
|
||||||
$uri = [Uri]$line
|
|
||||||
$r = invoke-webrequest -useragent $uagent -header @{"Referer" = ('http://' + $uri.host) } -uri $line -sessionvariable ofp -erroraction stop -timeout 60 -outfile $ouf
|
|
||||||
$sum = ((xxhsum $ouf) -split " ")[0]
|
|
||||||
if($sums.contains($sum)) {
|
|
||||||
rm $ouf
|
|
||||||
$duplicates += 1
|
|
||||||
echo " / duplicate $sum"
|
|
||||||
} else {
|
|
||||||
$sums += $sum
|
|
||||||
$newfiles += 1
|
|
||||||
echo "<</ success $sum"
|
|
||||||
}
|
|
||||||
} catch {
|
|
||||||
echo "!!! error: " $error[0]
|
|
||||||
log "Failed: $line"
|
|
||||||
$numerrors += 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if($numerrors) {log "$numerrors errors"} else {log "No errors"}
|
|
||||||
if($duplicates) {log "$duplicates duplicates removed"} else {log "No duplicates"}
|
|
||||||
if($newfiles) {log "$newfiles new files"} else {log "No new files"}
|
|
||||||
|
|
||||||
copy-item hashes.txt hashes.old.txt
|
|
||||||
set-content -path hashes.txt -value $sums
|
|
||||||
|
|
||||||
log "Done."
|
|
|
@ -1,2 +0,0 @@
|
||||||
[Addon]
|
|
||||||
Enabled=False
|
|
|
@ -1,2 +0,0 @@
|
||||||
[Addon]
|
|
||||||
Enabled=False
|
|
|
@ -1,2 +0,0 @@
|
||||||
[Addon]
|
|
||||||
Enabled=False
|
|
|
@ -1,2 +0,0 @@
|
||||||
[Addon]
|
|
||||||
Enabled=False
|
|
|
@ -1,21 +0,0 @@
|
||||||
[Auto English]
|
|
||||||
# Choose key modifier
|
|
||||||
# Available Value:
|
|
||||||
# None
|
|
||||||
# Alt
|
|
||||||
# Ctrl
|
|
||||||
# Shift
|
|
||||||
#ChooseModifier=Alt
|
|
||||||
# Do not show spell hint
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#DisableSpell=False
|
|
||||||
# Maximum hint length
|
|
||||||
#MaximumHintLength=2
|
|
||||||
# Maximum words number kept in preedit
|
|
||||||
#MaximumKeep=3
|
|
||||||
# Add Extra space when selecting a candidate word
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#SelectAddSpace=True
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
[TraditionalChinese]
|
|
||||||
# Traditional Chinese Translate Engine
|
|
||||||
# Available Value:
|
|
||||||
# Native
|
|
||||||
# OpenCC
|
|
||||||
#TransEngine=OpenCC
|
|
||||||
# Toggle for enable or disable
|
|
||||||
#Hotkey=CTRL_SHIFT_F
|
|
||||||
# Enabled state for im
|
|
||||||
#EnabledForIM=
|
|
||||||
|
|
|
@ -1,31 +0,0 @@
|
||||||
[ClassicUI]
|
|
||||||
# Status Panel Position X
|
|
||||||
#MainWindowOffsetX=500
|
|
||||||
# Status Panel Position Y
|
|
||||||
#MainWindowOffsetY=40
|
|
||||||
# Font Size
|
|
||||||
#FontSize=0
|
|
||||||
# Font
|
|
||||||
Font=Sans Regular
|
|
||||||
# Menu Font
|
|
||||||
MenuFont=Sans Regular
|
|
||||||
# Font Locale to display
|
|
||||||
FontLocale=ja_JP.UTF-8
|
|
||||||
# Use System Tray Icon
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#UseTray=True
|
|
||||||
# Status Panel Hide Mode
|
|
||||||
# Available Value:
|
|
||||||
# Show
|
|
||||||
# Auto
|
|
||||||
# Hide when tray icon is available
|
|
||||||
# Hide
|
|
||||||
#MainWindowHideMode=Hide when tray icon is available
|
|
||||||
# Vertical Candidate Word List
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
VerticalList=True
|
|
||||||
# Skin Name
|
|
||||||
SkinType=dark
|
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
[Clipboard]
|
|
||||||
# Save Clipboard History To File
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#SaveHistoryToFile=True
|
|
||||||
# Length of Clipboard History to Save
|
|
||||||
#HistoryLength=5
|
|
||||||
# Maximum length of each candidate word
|
|
||||||
#CandidateMaxLength=43
|
|
||||||
# Trigger Key for Clipboard History List
|
|
||||||
#TriggerKey=CTRL_;
|
|
||||||
# Use Selection Text
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#UsePrimary=True
|
|
||||||
# Choose key modifier
|
|
||||||
# Available Value:
|
|
||||||
# None
|
|
||||||
# Alt
|
|
||||||
# Ctrl
|
|
||||||
# Shift
|
|
||||||
#ChooseModifier=None
|
|
||||||
# Ignore blank selections
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#IgnoreBlank=True
|
|
||||||
|
|
|
@ -1,48 +0,0 @@
|
||||||
[IMSelector]
|
|
||||||
# Local Input Method SelectKey
|
|
||||||
#LocalInputMethodSelectKey=
|
|
||||||
# Global Input Method SelectKey
|
|
||||||
#GlobalInputMethodSelectKey=
|
|
||||||
# Clear local Input Method
|
|
||||||
#ClearLocal=
|
|
||||||
|
|
||||||
[GlobalSelector]
|
|
||||||
# Switch to the First Input Method
|
|
||||||
#IM1=
|
|
||||||
# Switch to the Second Input Method
|
|
||||||
#IM2=
|
|
||||||
# Switch to the Third Input Method
|
|
||||||
#IM3=
|
|
||||||
# Switch to the Fourth Input Method
|
|
||||||
#IM4=
|
|
||||||
# Switch to the Fifth Input Method
|
|
||||||
#IM5=
|
|
||||||
# Switch to the Sixth Input Method
|
|
||||||
#IM6=
|
|
||||||
# Switch to the Seventh Input Method
|
|
||||||
#IM7=
|
|
||||||
# Switch to the Eighth Input Method
|
|
||||||
#IM8=
|
|
||||||
# Switch to the Ninth Input Method
|
|
||||||
#IM9=
|
|
||||||
|
|
||||||
[LocalSelector]
|
|
||||||
# Switch to the First Input Method
|
|
||||||
#IM1=
|
|
||||||
# Switch to the Second Input Method
|
|
||||||
#IM2=
|
|
||||||
# Switch to the Third Input Method
|
|
||||||
#IM3=
|
|
||||||
# Switch to the Fourth Input Method
|
|
||||||
#IM4=
|
|
||||||
# Switch to the Fifth Input Method
|
|
||||||
#IM5=
|
|
||||||
# Switch to the Sixth Input Method
|
|
||||||
#IM6=
|
|
||||||
# Switch to the Seventh Input Method
|
|
||||||
#IM7=
|
|
||||||
# Switch to the Eighth Input Method
|
|
||||||
#IM8=
|
|
||||||
# Switch to the Ninth Input Method
|
|
||||||
#IM9=
|
|
||||||
|
|
|
@ -1,25 +0,0 @@
|
||||||
[Keyboard]
|
|
||||||
# Commit with extra space when choose candidate word
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#CommitWithExtraSpace=False
|
|
||||||
# Choose key modifier
|
|
||||||
# Available Value:
|
|
||||||
# None
|
|
||||||
# Alt
|
|
||||||
# Ctrl
|
|
||||||
# Shift
|
|
||||||
#ChooseModifier=Alt
|
|
||||||
# Toggle the word hint
|
|
||||||
#HotkeyToggleWordHint=CTRL_ALT_H
|
|
||||||
# Minimum length to trigger word hint
|
|
||||||
#MinimumHintLength=1
|
|
||||||
# Maximum length of spell hint list
|
|
||||||
#MaximumHintLength=5
|
|
||||||
# Use enter to commit the existing string
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#UseEnterToCommit=False
|
|
||||||
# Add current input buffer to user dictionary
|
|
||||||
#HotkeyAddToUserDict=CTRL_ALT_N
|
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
[Notify/Notify]
|
|
||||||
HiddenNotify=
|
|
|
@ -1,28 +0,0 @@
|
||||||
[Pinyin Enhance]
|
|
||||||
# Treating abbreviated Pinyin as English
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#ShortAsEnglish=False
|
|
||||||
# Allow replacing the first candidate
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#AllowReplaceFirst=True
|
|
||||||
# Do not show spell hint
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#DisableSpell=False
|
|
||||||
# Maximum hint length
|
|
||||||
#MaximumHintLength=1
|
|
||||||
# Hotkey for Inputing Character From Phrase
|
|
||||||
#InputCharFromPhraseString=[]
|
|
||||||
# Hotkey for switching to Inputing Character From Phrase mode
|
|
||||||
#InputCharFromPhraseKey=
|
|
||||||
# Disable Pinyin Symbol
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#DisableSym=False
|
|
||||||
# Stroke input trigger length
|
|
||||||
#StrokeThresh=2
|
|
||||||
# Maximum results from stroke input.
|
|
||||||
#StrokeLimit=3
|
|
||||||
|
|
|
@ -1,23 +0,0 @@
|
||||||
[QuickPhrase]
|
|
||||||
# Trigger Key for QuickPhrase
|
|
||||||
# Available Value:
|
|
||||||
# None
|
|
||||||
# Semicolon
|
|
||||||
# Grave
|
|
||||||
#QuickPhraseTriggerKey=Semicolon
|
|
||||||
# Alternative Trigger Key for QuickPhrase
|
|
||||||
#AlternativeTriggerKey=
|
|
||||||
# Choose key modifier
|
|
||||||
# Available Value:
|
|
||||||
# None
|
|
||||||
# Alt
|
|
||||||
# Ctrl
|
|
||||||
# Shift
|
|
||||||
#ChooseModifier=None
|
|
||||||
# Do not show spell hint
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#DisableSpell=False
|
|
||||||
# Maximum hint length
|
|
||||||
#MaximumHintLength=2
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
[Spell Hint]
|
|
||||||
# Preferred Enchant provider
|
|
||||||
# Available Value:
|
|
||||||
# Default
|
|
||||||
# Aspell
|
|
||||||
# Myspell
|
|
||||||
#PreferredEnchantProvider=Myspell
|
|
||||||
# Default Spell Hint Backends Order
|
|
||||||
#HintProvidersOrder=presage,custom,enchant
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
[Unicode]
|
|
||||||
# Key
|
|
||||||
#Key=CTRL_ALT_SHIFT_U
|
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
[Xim]
|
|
||||||
# Use On The Spot Style for XIM (Cannot change during running)
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#UseOnTheSpotStyle=False
|
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
[X Keyboard]
|
|
||||||
# Allow to Override System XKB Settings
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
OverrideSystemXKBSettings=False
|
|
||||||
# Use the layout of first keyboard input method in list as default layout
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#UseFirstKeyboardIMAsDefaultLayout=True
|
|
||||||
# xmodmap command
|
|
||||||
#XModmapCommand=xmodmap
|
|
||||||
# Apply this custom xmodmap script after layout change
|
|
||||||
#CustomXModmapScript=
|
|
||||||
|
|
|
@ -1,147 +0,0 @@
|
||||||
[Hotkey]
|
|
||||||
# Trigger Input Method
|
|
||||||
TriggerKey=CTRL_SHIFT_SPACE
|
|
||||||
# Use extra trigger key only after using it to inactivate
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#UseExtraTriggerKeyOnlyWhenUseItToInactivate=True
|
|
||||||
# Extra key for trigger input method
|
|
||||||
# Available Value:
|
|
||||||
# R_CTRL
|
|
||||||
# R_SHIFT
|
|
||||||
# L_SHIFT
|
|
||||||
# L_CTRL
|
|
||||||
# ALT_L_SHIFT
|
|
||||||
# ALT_R_SHIFT
|
|
||||||
# CTRL Both
|
|
||||||
# SHIFT Both
|
|
||||||
# L_ALT
|
|
||||||
# R_ALT
|
|
||||||
# ALT Both
|
|
||||||
# Left Super
|
|
||||||
# Right Super
|
|
||||||
# Super Both
|
|
||||||
# Ctrl+Left Super
|
|
||||||
# Ctrl+Right Super
|
|
||||||
# Super+Left Ctrl
|
|
||||||
# Super+Right Ctrl
|
|
||||||
# Disabled
|
|
||||||
# Custom
|
|
||||||
#SwitchKey=L_SHIFT
|
|
||||||
# Custom switch key
|
|
||||||
#CustomSwitchKey=
|
|
||||||
# Activate input method
|
|
||||||
#ActivateKey=
|
|
||||||
# Inactivate Input Method
|
|
||||||
#InactivateKey=
|
|
||||||
# Enable Hotkey to scroll Between Input Method
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#IMSwitchKey=True
|
|
||||||
# Include Inactivate when scrolling between Input Method
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#IMSwitchIncludeInactive=False
|
|
||||||
# Scroll between Input Method
|
|
||||||
# Available Value:
|
|
||||||
# CTRL_SHIFT
|
|
||||||
# ALT_SHIFT
|
|
||||||
# CTRL_SUPER
|
|
||||||
# ALT_SUPER
|
|
||||||
#IMSwitchHotkey=CTRL_SHIFT
|
|
||||||
# Reload configuration
|
|
||||||
#ReloadConfig=CTRL_5
|
|
||||||
# Interval of Two Key Input
|
|
||||||
#TimeInterval=250
|
|
||||||
# Switching Virtual Keyboard
|
|
||||||
#VKSwitchKey=CTRL_ALT_B
|
|
||||||
# Switching Remind Mode
|
|
||||||
#RemindSwitchKey=
|
|
||||||
# Switching Full Width Character Mode
|
|
||||||
#FullWidthSwitchKey=
|
|
||||||
# Switch Full Width Punc Mode
|
|
||||||
#PuncSwitchKey=CTRL_.
|
|
||||||
# Prev Page
|
|
||||||
#PrevPageKey=- UP
|
|
||||||
# Next Page
|
|
||||||
#NextPageKey== DOWN
|
|
||||||
# Choose Second and Third Candidate Word
|
|
||||||
#SecondThirdCandWordKey=
|
|
||||||
# Saving All Config and Input History
|
|
||||||
#SaveAllKey=CTRL_ALT_S
|
|
||||||
# Switch Embedded Preedit
|
|
||||||
#SwitchPreedit=CTRL_ALT_P
|
|
||||||
# Previous Candidate Word
|
|
||||||
#PrevWord=SHIFT_TAB
|
|
||||||
# Next Candidate Word
|
|
||||||
#NextWord=TAB
|
|
||||||
|
|
||||||
[Program]
|
|
||||||
# Seconds sleep before fcitx really start
|
|
||||||
#DelayStart=0
|
|
||||||
# Share State Among Window
|
|
||||||
# Available Value:
|
|
||||||
# No
|
|
||||||
# All
|
|
||||||
# PerProgram
|
|
||||||
#ShareStateAmongWindow=No
|
|
||||||
# Default Input Method State
|
|
||||||
# Available Value:
|
|
||||||
# Inactive
|
|
||||||
# Active
|
|
||||||
#DefaultInputMethodState=Inactive
|
|
||||||
|
|
||||||
[Output]
|
|
||||||
# Type half width Punc After a Number
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#HalfPuncAfterNumber=True
|
|
||||||
# Disable Paging in Remind Mode
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#RemindModeDisablePaging=True
|
|
||||||
# Commit when toggle state
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#SendTextWhenSwitchEng=True
|
|
||||||
# Candidate Word Number
|
|
||||||
#CandidateWordNumber=5
|
|
||||||
# Give the tips of Phrase
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#PhraseTips=True
|
|
||||||
# Do not commit preedit text when unfocus a window
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#DontCommitPreeditWhenUnfocus=False
|
|
||||||
|
|
||||||
[Appearance]
|
|
||||||
# Show Input Method Hint After Input method changed
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#ShowInputWindowAfterTriggering=True
|
|
||||||
# Show Input Method Hint After Input method changed and Focus in
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#ShowInputWindowWhenFocusIn=False
|
|
||||||
# Input Method Hint will be only shown when state is active
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#ShowInputWindowOnlyWhenActive=True
|
|
||||||
# Show Input Speed
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#ShowInputSpeed=False
|
|
||||||
# Show Version
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#ShowVersion=False
|
|
||||||
# Do not show input window if there is only preedit string
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#HideInputWindowWhenOnlyPreeditString=False
|
|
||||||
# Do not show input window if there is only one candidate and preedit
|
|
||||||
# Available Value:
|
|
||||||
# True False
|
|
||||||
#HideInputWindowWhenOnlyOneCandidate=False
|
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
www.
|
|
||||||
ftp.
|
|
||||||
http:
|
|
||||||
mail.
|
|
||||||
blog
|
|
||||||
news
|
|
||||||
bbs.
|
|
||||||
forum.
|
|
||||||
https
|
|
||||||
ftp:
|
|
||||||
telnet:
|
|
||||||
mailto:
|
|
File diff suppressed because one or more lines are too long
|
@ -1,23 +0,0 @@
|
||||||
(input-method en progm)
|
|
||||||
(description "Programmer english")
|
|
||||||
(title "en")
|
|
||||||
|
|
||||||
(map
|
|
||||||
(trans
|
|
||||||
(":" "+")
|
|
||||||
("'" "@")
|
|
||||||
("\"" "`")
|
|
||||||
("@" "\"")
|
|
||||||
("^" "&")
|
|
||||||
("&" "'")
|
|
||||||
("*" "(")
|
|
||||||
("(" ")")
|
|
||||||
(")" "-")
|
|
||||||
("-" ":")
|
|
||||||
("_" "*")
|
|
||||||
("=" "_")
|
|
||||||
("+" "=")
|
|
||||||
("`" "^")
|
|
||||||
("/" "/")))
|
|
||||||
|
|
||||||
(state (init (trans)))
|
|
|
@ -1,126 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
cd "${0%/*}"
|
|
||||||
. ./rebuild_pkgs.sh
|
|
||||||
pkg_ver() {
|
|
||||||
sed '/^pkgver\=/!d;s/pkgver\=\(.*\)/\1/' PKGBUILD
|
|
||||||
}
|
|
||||||
exit_on_err() {
|
|
||||||
local res=$?
|
|
||||||
echo "error in rebuild, aborting"
|
|
||||||
exit "$res"
|
|
||||||
}
|
|
||||||
higan_make() {
|
|
||||||
make -j12 -C $@ uninstall
|
|
||||||
make -j12 -C $@ clean || exit_on_err
|
|
||||||
make -j12 -C $@ all || exit_on_err
|
|
||||||
make -j12 -C $@ install || exit_on_err
|
|
||||||
}
|
|
||||||
build_package() {
|
|
||||||
cd ~/bin || exit_on_err
|
|
||||||
|
|
||||||
local pkg=$1
|
|
||||||
shift
|
|
||||||
|
|
||||||
local special_handling="None"
|
|
||||||
local makepkg_args="-isrLcCf --noconfirm"
|
|
||||||
local pull_url="https://aur.archlinux.org/$pkg.git"
|
|
||||||
local branch
|
|
||||||
|
|
||||||
while (( $# ))
|
|
||||||
do
|
|
||||||
case $1 in
|
|
||||||
--handle)
|
|
||||||
special_handling=$2
|
|
||||||
shift 2
|
|
||||||
;;
|
|
||||||
--url)
|
|
||||||
pull_url=$2
|
|
||||||
shift 2
|
|
||||||
;;
|
|
||||||
--branch)
|
|
||||||
branch=-b "$2"
|
|
||||||
shift 2
|
|
||||||
;;
|
|
||||||
--asdeps|--skipinteg|-f)
|
|
||||||
makepkg_args+=" $1"
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "error in rebuild configuration ($1), aborting"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [[ ! -d ~/bin/$pkg ]]
|
|
||||||
then
|
|
||||||
git clone $branch "$pull_url" || exit_on_err
|
|
||||||
fi
|
|
||||||
|
|
||||||
cd "$pkg" || exit_on_err
|
|
||||||
git pull || exit_on_err
|
|
||||||
|
|
||||||
local new_tag
|
|
||||||
|
|
||||||
case $special_handling in
|
|
||||||
None)
|
|
||||||
;;
|
|
||||||
Higan)
|
|
||||||
new_tag=$(git describe --tags "$(git rev-list --tags --max-count=1)")
|
|
||||||
git fetch --tags
|
|
||||||
git checkout "$new_tag"
|
|
||||||
higan_make higan target=higan
|
|
||||||
higan_make icarus
|
|
||||||
make -j12 -C shaders install || exit_on_err
|
|
||||||
return
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "incorrect handler ($special_handling), aborting"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
makepkg $makepkg_args || exit_on_err
|
|
||||||
}
|
|
||||||
resume_from() {
|
|
||||||
local resume
|
|
||||||
|
|
||||||
for pkg in ${all_pkgs[*]}
|
|
||||||
do
|
|
||||||
[[ $pkg = "$1" ]] && resume=1
|
|
||||||
[[ $resume ]] && echo "$pkg"
|
|
||||||
done
|
|
||||||
}
|
|
||||||
main() {
|
|
||||||
local pkg
|
|
||||||
local pkgs
|
|
||||||
|
|
||||||
while (( $# ))
|
|
||||||
do
|
|
||||||
case $1 in
|
|
||||||
--resume-from)
|
|
||||||
pkgs+=" $(resume_from "$2")"
|
|
||||||
shift 2
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
pkgs+=" $1"
|
|
||||||
shift
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
|
||||||
if [[ ! $pkgs ]]
|
|
||||||
then
|
|
||||||
pkgs=${all_pkgs[*]}
|
|
||||||
fi
|
|
||||||
|
|
||||||
for pkg in $pkgs
|
|
||||||
do
|
|
||||||
build_package "$pkg" ${options[$pkg]}
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
main $@
|
|
||||||
|
|
||||||
## EOF
|
|
|
@ -1,68 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
m64pncp=mupen64plus-noncore-plugins-git
|
|
||||||
greyserv_git="https://git.greyserv.net/marrub"
|
|
||||||
all_pkgs=(
|
|
||||||
# deps
|
|
||||||
cef-standard
|
|
||||||
cereal
|
|
||||||
libsodium-git
|
|
||||||
vim-runtime-git
|
|
||||||
|
|
||||||
# packages
|
|
||||||
"$m64pncp"
|
|
||||||
chocolate-doom
|
|
||||||
desmume-git
|
|
||||||
dolphin-emu-git
|
|
||||||
eternity-engine-git
|
|
||||||
fceux-git
|
|
||||||
gdcc-git
|
|
||||||
godot
|
|
||||||
gopherus
|
|
||||||
gvim-git
|
|
||||||
gzdoom-legacy
|
|
||||||
higan
|
|
||||||
maxcso
|
|
||||||
mednaffe
|
|
||||||
megatools
|
|
||||||
mgba-git
|
|
||||||
minecraft-launcher
|
|
||||||
minecraft-server-fabric
|
|
||||||
motsognir
|
|
||||||
mupen64plus-git
|
|
||||||
mupen64plus-gui-git
|
|
||||||
nicotine-plus-git
|
|
||||||
obs-linuxbrowser-bin
|
|
||||||
obs-studio-git
|
|
||||||
pcsx2-git
|
|
||||||
plasma5-applets-mpdnowplaying
|
|
||||||
powershell-bin
|
|
||||||
ppsspp-git
|
|
||||||
prboom-plus
|
|
||||||
ripcord
|
|
||||||
rpcs3-git
|
|
||||||
sharenix-git
|
|
||||||
slade
|
|
||||||
squirrel-sql
|
|
||||||
teamviewer
|
|
||||||
ttf-twemoji-color
|
|
||||||
xf86-input-xwiimote-git
|
|
||||||
xwiimote-git
|
|
||||||
zdoom
|
|
||||||
)
|
|
||||||
declare -A options=(
|
|
||||||
[cef-standard]="--asdeps"
|
|
||||||
[cereal]="--asdeps"
|
|
||||||
[libsodium-git]="--asdeps"
|
|
||||||
[vim-runtime-git]="--asdeps"
|
|
||||||
|
|
||||||
[$m64pncp]="-f --url $greyserv_git/$m64pncp.git"
|
|
||||||
[gdcc-git]="--url $greyserv_git/gdcc-git.git"
|
|
||||||
[higan]="--handle Higan --url https://gitlab.com/higan/higan.git/"
|
|
||||||
[motsognir]="--url $greyserv_git/motsognir.git"
|
|
||||||
[ppsspp-git]="--url $greyserv_git/ppsspp-git.git"
|
|
||||||
[teamviewer]="--url $greyserv_git/teamviewer.git --branch nmfix"
|
|
||||||
[minecraft-server-fabric]="--url $greyserv_git/minecraft-server-fabric.git"
|
|
||||||
)
|
|
||||||
|
|
||||||
## EOF
|
|
|
@ -1,18 +0,0 @@
|
||||||
{
|
|
||||||
"alternate_base": "#252a3f",
|
|
||||||
"base": "#181b28",
|
|
||||||
"bright_text": "#ffffff",
|
|
||||||
"button": "#141820",
|
|
||||||
"chat_timestamp": "#494b4e",
|
|
||||||
"disabled_button": "#0a0a0c",
|
|
||||||
"disabled_icon": "#aaaaac",
|
|
||||||
"disabled_text": "#aaaaac",
|
|
||||||
"highlight": "#c50ed2",
|
|
||||||
"highlighted_text": "#dadadc",
|
|
||||||
"icon": "#aaaaac",
|
|
||||||
"shadow": "#000000",
|
|
||||||
"text": "#aaaaac",
|
|
||||||
"unread_badge": "#d0d1d4",
|
|
||||||
"unread_badge_text": "#2d2c27",
|
|
||||||
"window": "#161925"
|
|
||||||
}
|
|
29
unused/zshrc
29
unused/zshrc
|
@ -1,29 +0,0 @@
|
||||||
[[ -o interactive && ! -o login && -z $TMUX ]] &&
|
|
||||||
exec tmux new-session
|
|
||||||
|
|
||||||
HISTFILE=~/.zsh/hist
|
|
||||||
HISTSIZE=100000
|
|
||||||
SAVEHIST=10000
|
|
||||||
|
|
||||||
setopt appendhistory extendedglob nomatch prompt_subst correct
|
|
||||||
unsetopt autocd beep
|
|
||||||
|
|
||||||
bindkey -e
|
|
||||||
bindkey "${terminfo[khome]}" beginning-of-line
|
|
||||||
bindkey "${terminfo[kend]}" end-of-line
|
|
||||||
|
|
||||||
zstyle :compinstall filename '/home/marrub/.zshrc'
|
|
||||||
zstyle ':completion:*' format '[Completing %d]'
|
|
||||||
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'
|
|
||||||
autoload -Uz compinit
|
|
||||||
compinit
|
|
||||||
|
|
||||||
alias rebuild=$HOME/src/scripts/rebuild.sh
|
|
||||||
alias ls='ls --color=auto'
|
|
||||||
|
|
||||||
PROMPT='%#'
|
|
||||||
RPROMPT='%2~'
|
|
||||||
|
|
||||||
[[ -n $TMUX ]] &&
|
|
||||||
echo "Word of the moment: $(shuf -n1 /usr/share/dict/words)" |
|
|
||||||
awk -f ~/src/scripts/mid.awk col=$COLUMNS
|
|
Loading…
Reference in New Issue