Clean up, update configs to be actually useful now...
parent
68d016d03e
commit
c93f5d7caa
Binary file not shown.
|
@ -1,44 +0,0 @@
|
|||
background_opacity: 0.7
|
||||
font:
|
||||
normal:
|
||||
family: Source Code Pro
|
||||
style: Regular
|
||||
|
||||
bold:
|
||||
family: Source Code Pro
|
||||
style: Bold
|
||||
|
||||
italic:
|
||||
family: Source Code Pro
|
||||
style: Italic
|
||||
|
||||
bold_italic:
|
||||
family: Source Code Pro
|
||||
style: Bold Italic
|
||||
|
||||
size: 11
|
||||
#
|
||||
# Colors (One Dark - https://github.com/atom/atom/tree/master/packages/one-dark-syntax)
|
||||
colors:
|
||||
primary:
|
||||
background: '#282c34'
|
||||
foreground: '#abb2bf'
|
||||
cursor:
|
||||
text: CellBackground
|
||||
cursor: '#528bff' # syntax-cursor-color
|
||||
selection:
|
||||
text: CellForeground
|
||||
background: '#3e4451' # syntax-selection-color
|
||||
normal:
|
||||
black: '#5c6370' # mono-3
|
||||
red: '#e06c75' # red 1
|
||||
green: '#98c379'
|
||||
yellow: '#e5c07b' # orange 2
|
||||
blue: '#61afef'
|
||||
magenta: '#c678dd'
|
||||
cyan: '#56b6c2'
|
||||
white: '#828997' # mono-2
|
||||
search:
|
||||
bar:
|
||||
foreground: '#abb2bf'
|
||||
background: '#282c34'
|
|
@ -1,5 +0,0 @@
|
|||
[FileDialog]
|
||||
history=@Invalid()
|
||||
lastVisited=file:///home/adriel
|
||||
qtVersion=5.15.2
|
||||
viewMode=Detail
|
|
@ -1,68 +0,0 @@
|
|||
[General]
|
||||
frontendId=org.albert.frontend.widgetboxmodel
|
||||
hotkey=Meta+Shift+G
|
||||
incrementalSort=false
|
||||
showTray=true
|
||||
terminal=alacritty -e
|
||||
|
||||
[org.albert.extension.applications]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.calculator]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.chromium]
|
||||
enabled=true
|
||||
fuzzy=false
|
||||
|
||||
[org.albert.extension.files]
|
||||
enabled=false
|
||||
|
||||
[org.albert.extension.hashgenerator]
|
||||
enabled=false
|
||||
|
||||
[org.albert.extension.mpris]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.python]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.snippets]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.ssh]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.system]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.terminal]
|
||||
enabled=true
|
||||
|
||||
[org.albert.extension.virtualbox]
|
||||
enabled=false
|
||||
|
||||
[org.albert.extension.websearch]
|
||||
enabled=true
|
||||
|
||||
[org.albert.frontend.qmlboxmodel]
|
||||
alwaysOnTop=true
|
||||
clearOnHide=false
|
||||
hideOnClose=false
|
||||
hideOnFocusLoss=true
|
||||
showCentered=false
|
||||
stylePath=/usr/share/albert/org.albert.frontend.qmlboxmodel/styles/BoxModel/MainComponent.qml
|
||||
windowPosition=@Point(760 523)
|
||||
|
||||
[org.albert.frontend.widgetboxmodel]
|
||||
alwaysOnTop=true
|
||||
clearOnHide=false
|
||||
displayIcons=true
|
||||
displayScrollbar=false
|
||||
displayShadow=true
|
||||
hideOnClose=false
|
||||
hideOnFocusLoss=true
|
||||
itemCount=10
|
||||
showCentered=true
|
||||
theme=Spotlight Dark
|
||||
windowPosition=@Point(620 283)
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
0.17.2
|
Binary file not shown.
|
@ -1,32 +0,0 @@
|
|||
[
|
||||
{
|
||||
"iconPath": ":duckduckgo",
|
||||
"name": "DuckDuckGo",
|
||||
"trigger": "dd ",
|
||||
"url": "https://duckduckgo.com/?q=%s"
|
||||
},
|
||||
{
|
||||
"iconPath": "/home/adriel/.config/albert/org.albert.extension.websearch/{d7c7cd85-d4b4-4a25-ad3d-94026469ef9f}.",
|
||||
"name": "YewTube",
|
||||
"trigger": "yt ",
|
||||
"url": "https://yewtu.be/results?search_query=%s"
|
||||
},
|
||||
{
|
||||
"iconPath": ":github",
|
||||
"name": "GitHub",
|
||||
"trigger": "gh ",
|
||||
"url": "https://github.com/search?utf8=✓&q=%s"
|
||||
},
|
||||
{
|
||||
"iconPath": ":amazon",
|
||||
"name": "Amazon",
|
||||
"trigger": "ama ",
|
||||
"url": "http://www.amazon.com/s/?field-keywords=%s"
|
||||
},
|
||||
{
|
||||
"iconPath": ":wolfram",
|
||||
"name": "Wolfram Alpha",
|
||||
"trigger": "=",
|
||||
"url": "https://www.wolframalpha.com/input/?i=%s"
|
||||
}
|
||||
]
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 25 KiB |
|
@ -1,25 +0,0 @@
|
|||
[BoxModel]
|
||||
animation_duration=200
|
||||
background_color="@Variant(\0\0\0\x43\x1\xa7\xa7\x32\x32\x37\x37;;\0\0)"
|
||||
border_color=@Variant(\0\0\0\x43\x1\xff\xffUU\x95\x95\xdf\xdf\0\0)
|
||||
border_size=0
|
||||
cursor_color=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0)
|
||||
font_name=Google Sans
|
||||
foreground_color=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0)
|
||||
highlight_color=@Variant(\0\0\0\x43\x1\xff\xff\x61\x61\xab\xab\xff\xff\0\0)
|
||||
icon_size=15
|
||||
input_color=@Variant(\0\0\0\x43\x1\xff\xff\xff\xff\xff\xff\xff\xff\0\0)
|
||||
input_fontsize=24
|
||||
item_description_fontsize=12
|
||||
item_title_fontsize=16
|
||||
max_items=8
|
||||
padding=4
|
||||
radius=7
|
||||
selection_color=@Variant(\0\0\0\x43\x1\xff\xff\xc0\xc0\xc0\xc0\xc0\xc0\0\0)
|
||||
settingsbutton_color=@Variant(\0\0\0\x43\x1\xff\xff\"\"&&))\0\0)
|
||||
settingsbutton_hover_color=@Variant(\0\0\0\x43\x1\xff\xffUU\x95\x95\xdf\xdf\0\0)
|
||||
settingsbutton_size=15
|
||||
shadow_color=@Variant(\0\0\0\x43\x1\0\0\0\0\0\0\0\0\0\0)
|
||||
shadow_size=0
|
||||
spacing=6
|
||||
window_width=400
|
Binary file not shown.
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
--enable-features=UseOzonePlatform --ozone-platform=wayland
|
|
@ -0,0 +1,280 @@
|
|||
# Theme file for CliFM
|
||||
# Theme name: clifm (256 colors version)
|
||||
# Author: L. Abramovich
|
||||
# License: GPL3
|
||||
|
||||
### How do we define colors?
|
||||
#
|
||||
# FiletypeColors, InterfaceColors, and ExtColors use the same format used
|
||||
# by the LS_COLORS environment variable. Thus, "di=01;34" means that (non-empty)
|
||||
# directories will be printed in bold blue.
|
||||
#
|
||||
# Color codes are just traditional ANSI escape sequences less the escape char
|
||||
# and the final 'm'.
|
||||
# 4-bit (16 colors), 8-bit (256 colors), and 24-bit (RGB/HEX) colors are supported.
|
||||
# Example:
|
||||
# 31 4-bit
|
||||
# 38;5;160 8-bit
|
||||
# 38;2;255;0;0 24-bit (RGB)
|
||||
# #ff0000 24-bit (HEX)
|
||||
#
|
||||
# One attribute can be used for hex colors using a dash and an attribute
|
||||
# number (RRGGBB-[1-9]), where 1-9 is:
|
||||
#
|
||||
# 1: Bold or increased intensity
|
||||
# 2: Faint, decreased intensity or dim
|
||||
# 3: Italic (Not widely supported)
|
||||
# 4: Underline
|
||||
# 5: Slow blink
|
||||
# 6: Rapid blink
|
||||
# 7: Reverse video or invert
|
||||
# 8: Conceal or hide (Not widely supported)
|
||||
# 9: Crossed-out or strike
|
||||
#
|
||||
# For example, to print bold red color, the hex code is #ff0000-1
|
||||
|
||||
### Use some variables to hold your color codes
|
||||
#
|
||||
# The 'define' keyword allows you to define up to 128 custom color variables.
|
||||
# They can be used for:
|
||||
# FiletypeColors
|
||||
# InterfaceColors
|
||||
# ExtColors
|
||||
# DirIconColor
|
||||
#
|
||||
# For example, if 'M' is defined as "00;01;36", we can use this color for
|
||||
# ELN's as follows: "el=M" (see below)
|
||||
|
||||
define D=0 # Default terminal color
|
||||
define BD=1 # Bold
|
||||
define DIM=2 # Dimmed
|
||||
|
||||
define DR=2;38;5;197 # Dimmed red
|
||||
define R8=31 # Red (4-bit)
|
||||
define BR8=1;31 # Bold red (4-bit)
|
||||
define UR8=4;31 # Underlined red (4-bit)
|
||||
define UDR8=4;2;31 # Underlined dimmed red (4-bit)
|
||||
define DR8=2;31 # Dimmed red (4-bit)
|
||||
|
||||
define G=38;5;76 # Green
|
||||
define G8=32 # Green (4-bit)
|
||||
define BG8=1;32 # Bold green (4-bit)
|
||||
define DG8=2;32 # Dimmed green (4-bit)
|
||||
|
||||
define Y=38;5;228 # Yellow
|
||||
define BY=1;38;5;229 # Bold yellow
|
||||
define LY=38;5;185 # Light yellow
|
||||
define DY8=2;33 # Dimmed yellow (4-bit)
|
||||
define BY8=1;33 # Bold yellow (4-bit)
|
||||
|
||||
define BB8=1;34 # Bold blue (4-bit)
|
||||
define DB8=2;34 # Dimmed blue (4-bit)
|
||||
|
||||
define M=38;5;170 # Magenta
|
||||
define M8=35 # Magenta (4-bit)
|
||||
define BM8=1;35 # Bold magenta (4-bit)
|
||||
define DM8=2;35 # Dimmed magenta (4-bit)
|
||||
define UM8=4;35 # Underlined magenta (4-bit)
|
||||
define UDM8=4;2;35 # Underlined dimmed magenta (4-bit)
|
||||
|
||||
define C=38;5;43 # Cyan
|
||||
define C8=36 # Cyan (4-bit)
|
||||
define BC8=1;36 # Bold cyan (4-bit)
|
||||
define DC8=2;36 # Dimmed cyan (4-bit)
|
||||
define BDC8=1;2;36 # Bold dimmed cyan (4-bit)
|
||||
define RC8=7;36 # Reverse cyan (4-bit)
|
||||
define UDC8=4;2;36 # Underlined dimmed cyan (4-bit)
|
||||
|
||||
define DW=38;5;246 # Dimmed white
|
||||
define DW8=2;37 # Dimmed white (4-bit)
|
||||
define UDW8=4;2;37 # Underlined dimmed white (4-bit)
|
||||
|
||||
# Foreground-background combinations
|
||||
define URW=4;31;47 # Red foreground, white background
|
||||
define WR=37;41 # White foreground, red background
|
||||
# K stands for black (B is used for Blue)
|
||||
define KY=30;43 # Black foreground, yellow background
|
||||
define KR=30;41 # Black foreground, red background
|
||||
define KG=30;42 # Black foreground, green background
|
||||
# BG is already used for bold green
|
||||
define BlGr=34;42 # Blue foreground, green background
|
||||
define WB=37;44 # white foreground, blue background
|
||||
|
||||
define O=38;5;214 # Orange
|
||||
define BO=1;38;5;214 # Bold orange
|
||||
|
||||
# File groups (used for file extensions)
|
||||
define DOC=38;5;228 # Yellow
|
||||
define VIDEO=1;35 # Bold magenta (4-bit)
|
||||
define IMAGE=35 # Magenta (4-bit)
|
||||
define SOUND=38;5;214 # Orange
|
||||
define CODE=1;38;5;247 # Bold gray
|
||||
define ARCHIVE=1;31 # Bold red (4-bit)
|
||||
define BOOK=38;5;223 # Salmon
|
||||
define MARKUP=38;5;85 # Aqua
|
||||
define TEMP=38;5;247 # Dimmed white
|
||||
|
||||
### To know what are we applying colors to, we use the following codes:
|
||||
|
||||
## File types
|
||||
# bd = Block device
|
||||
# ca = File with capabilities
|
||||
# cd = Char device
|
||||
# ed = Empty directory
|
||||
# ee = Empty executable file
|
||||
# ex = Executable file
|
||||
# ef = Empty regular file
|
||||
# fi = Regular file
|
||||
# di = Directory
|
||||
# ln = Symbolic link
|
||||
# mh = Multi-hardlink file
|
||||
# nd = Directory with no read permission
|
||||
# ne = Empty directory with no read permission
|
||||
# nf = Regular file with no read permission
|
||||
# no = Unknown
|
||||
# or = Broken symlink
|
||||
# ow = Other-writable
|
||||
# pi = FIFO/pipe
|
||||
# sg = SGID file
|
||||
# so = Socket
|
||||
# st = Sticky (not other-writable)
|
||||
# su = SUID file
|
||||
# tw = Sticky and other-writable
|
||||
# uf = Non-'stat'able file
|
||||
|
||||
## Interface
|
||||
# bm = Bookmarked directory
|
||||
# fc = Files counter
|
||||
# df = Default color
|
||||
# dl = Dividing line
|
||||
# el = ELN color
|
||||
# mi = Misc indicators
|
||||
# ts = TAB completion suffix
|
||||
# tt = Tilde for trimmed files
|
||||
# wc = Welcome message
|
||||
# wp = Warning prompt
|
||||
|
||||
## Auto-suggestions
|
||||
# sb = Shell builtins
|
||||
# sc = External commands and aliases
|
||||
# sd = Internal commands description
|
||||
# sf = File names
|
||||
# sh = History
|
||||
# sx = Internal commands and parameters
|
||||
# sp = BAEJ suggestions pointer
|
||||
# sz = File names (fuzzy)
|
||||
|
||||
## Syntax highlighting
|
||||
# hb = Brackets () [] {}
|
||||
# hc = Comments
|
||||
# hd = Paths (slashes)
|
||||
# he = Expansion operators: * ~
|
||||
# hn = Numbers
|
||||
# hp = Parameters: -
|
||||
# hq = Quoted strings
|
||||
# hr = Redirection >
|
||||
# hs = Process separators | & ; */
|
||||
# hv = Variables $ */
|
||||
# hw = Wrong, non-existent command name
|
||||
|
||||
## File properties
|
||||
# dd = Date (1)
|
||||
# dg = UID, GID
|
||||
# dn = dash (none)
|
||||
# do = Permissions in octal notation
|
||||
# dp = Special files (SUID, SGID, etc)
|
||||
# dr = Read
|
||||
# dw = Write
|
||||
# dxd = Execute (dirs)
|
||||
# dxr = Execute (reg files)
|
||||
# dz = Size (1)
|
||||
|
||||
# (1) If unset, gradient colors will be used (default)
|
||||
|
||||
## Workspaces
|
||||
# wsN = Workspace number N
|
||||
|
||||
## Prompt notifications
|
||||
# em = Errors
|
||||
# li = Selected files indicator
|
||||
# nm = Notices
|
||||
# ti = Trash indicator
|
||||
# tx = Command line text
|
||||
# si = Stealth mode indicator
|
||||
# wm = Warnings
|
||||
# xs = Exit code: success
|
||||
# xf = Exit code: failure
|
||||
|
||||
# NOTE: Whenever a code is unset, the default value is used
|
||||
|
||||
# FiletypeColors defines the color used for file names when listing files,
|
||||
# just as InterfaceColors defines colors for CliFM's interface.
|
||||
FiletypeColors="bd=BY:ca=KR:cd=BO:di=BB8:ed=DB8:ee=G8:ef=DIM:ex=BG8:fi=D:ln=BC8:mh=RC8:nd=UBR8:ne=UDR8:nf=UDR8:no=URW:or=UDC8:ow=BlGr:pi=M:sg=KY:so=BM8:st=WB:su=WR:tw=KG:uf=UDW8:"
|
||||
|
||||
InterfaceColors="bm=BG8:dd=:df=D:dg=:dl=DW8:dn=DW8:do=C:dp=:dr=:dw=:dxd=G:dxr=C:dz=:el=C8:em=BR8:fc=DW:hb=C8:hc=DW8:hd=C8:he=C8:hn=:hp=C8:hq=LY:hr=R8:hs=G8:hv=G8:li=BG8:mi=BC8:nm=BG8:si=BB8:sb=DY8:sc=DC8:sd=DW8:sf=UDC8:sh=DM8:sp=DR8:sx=DG8:sz=UDM8:ti=BC8:ts=UM8:tt=BDC8:tx=D:wc=BC8:wm=BY8:wp=DR8:ws1=B8:ws2=R8:ws3=Y:ws4=G8:ws5=C:ws6=O:ws7=M:ws8=DW:xf=BR8:xs=G8:"
|
||||
|
||||
# Colors for specific file extensions (case insensitive)
|
||||
ExtColors="*.tar=ARCHIVE:*.tgz=ARCHIVE:*.arc=ARCHIVE:*.arj=ARCHIVE:*.taz=ARCHIVE:*.lha=ARCHIVE:*.lz4=ARCHIVE:*.lzh=ARCHIVE:*.lzma=ARCHIVE:*.tlz=ARCHIVE:*.txz=ARCHIVE:*.tzo=ARCHIVE:*.t7z=ARCHIVE:*.zip=ARCHIVE:*.z=ARCHIVE:*.dz=ARCHIVE:*.gz=ARCHIVE:*.lrz=ARCHIVE:*.lz=ARCHIVE:*.lzo=ARCHIVE:*.xz=ARCHIVE:*.zst=ARCHIVE:*.tzst=ARCHIVE:*.bz2=ARCHIVE:*.bz=ARCHIVE:*.tbz=ARCHIVE:*.tbz2=ARCHIVE:*.tz=ARCHIVE:*.deb=ARCHIVE:*.rpm=ARCHIVE:*.jar=ARCHIVE:*.war=ARCHIVE:*.ear=ARCHIVE:*.sar=ARCHIVE:*.rar=ARCHIVE:*.alz=ARCHIVE:*.ace=ARCHIVE:*.zoo=ARCHIVE:*.cpio=ARCHIVE:*.7z=ARCHIVE:*.rz=ARCHIVE:*.cab=ARCHIVE:*.wim=ARCHIVE:*.swm=ARCHIVE:*.dwm=ARCHIVE:*.esd=ARCHIVE:*.apk=ARCHIVE:*.iso=ARCHIVE:*.img=ARCHIVE:*.avif=IMAGE:*.jpg=IMAGE:*.jpeg=IMAGE:*.jxl=IMAGE:*.mjpg=IMAGE:*.mjpeg=IMAGE:*.gif=IMAGE:*.bmp=IMAGE:*.xbm=IMAGE:*.xpm=IMAGE:*.png=IMAGE:*.svg=IMAGE:*.svgz=IMAGE:*.pcx=IMAGE:*.pbm=IMAGE:*.pgm=IMAGE:*.ppm=IMAGE:*.tga=IMAGE:*.tif=IMAGE:*.tiff=IMAGE:*.mng=IMAGE:*.mov=VIDEO:*.mpg=VIDEO:*.mpeg=VIDEO:*.m2v=VIDEO:*.mkv=VIDEO:*.webm=VIDEO:*.webp=VIDEO:*.ogm=VIDEO:*.mp4=VIDEO:*.m4v=VIDEO:*.mp4v=VIDEO:*.vob=VIDEO:*.qt=VIDEO:*.nuv=VIDEO:*.wmv=VIDEO:*.asf=VIDEO:*.rm=VIDEO:*.rmvb=VIDEO:*.flc=VIDEO:*.avi=VIDEO:*.fli=VIDEO:*.flv=VIDEO:*.gl=VIDEO:*.dl=VIDEO:*.xcf=VIDEO:*.xwd=VIDEO:*.yuv=VIDEO:*.cgm=VIDEO:*.emf=VIDEO:*.ogv=VIDEO:*.ogx=VIDEO:*.mov=VIDEO:*.mpg=VIDEO:*.mpeg=VIDEO:*.m2v=VIDEO:*.mkv=VIDEO:*.webm=VIDEO:*.webp=VIDEO:*.ogm=VIDEO:*.ogv=VIDEO:*.ogx=VIDEO:*.mp4=VIDEO:*.m4v=VIDEO:*.mp4v=VIDEO:*.vob=VIDEO:*.qt=VIDEO:*.nuv=VIDEO:*.wmv=VIDEO:*.flc=VIDEO:*.avi=VIDEO:*.fli=VIDEO:*.flv=VIDEO:*.asf=VIDEO:*.rm=VIDEO:*.rmvb=VIDEO:*.gl=VIDEO:*.dl=VIDEO:*.xcf=VIDEO:*.xwd=VIDEO:*.yuv=VIDEO:*.cgm=VIDEO:*.emf=VIDEO:*.aac=SOUND:*.au=SOUND:*.m4a=SOUND:*.mid=SOUND:*.midi=SOUND:*.mp3=SOUND:*.mka=SOUND:*.ogg=SOUND:*.opus=SOUND:*.spx=SOUND:*.wma=SOUND:*.wv=SOUND:*.wav=SOUND:*.flac=SOUND:*.aif=SOUND:*.pdf=BOOK:*.djvu=BOOK:*.epub=BOOK:*.mobi=BOOK:*.cbr=BOOK:*.cbz=BOOK:*.ps=DOC:*.sxw=DOC:*.doc=DOC:*.docx=DOC:*.xls=DOC:*.xlsx=DOC:*.xlr=DOC:*.sxi=DOC:*.ppt=DOC:*.pptx=DOC:*.odt=DOC:*.ods=DOC:*.odp=DOC:*.rtf=DOC:*.c=CODE:*.c++=CODE:*.cc=CODE:*.cpp=CODE:*.h=CODE:*.h++=CODE:*.hh=CODE:*.go=CODE:*.java=CODE:*.js=CODE:*.lua=CODE:*.php=CODE:*.rb=CODE:*.rs=CODE:*.kt=CODE:*.kts=CODE:*.hs=CODE:*.pl=CODE:*.vb=CODE:*.html=MARKUP:*.htm=MARKUP:*.shtml=MARKUP:xhtml=MARKUP:*.xml=MARKUP:*.css=MARKUP:*.tex=MARKUP:*.ltx=MARKUP:*.md=MARKUP:*.cache=TEMP:*.tmp=TEMP:*.temp=TEMP:*.log=TEMP:*.bak=TEMP:*.bk=TEMP:*.in=TEMP:*.out=TEMP:*.part=TEMP:*.aux=TEMP:*.old=TEMP:*.orig=TEMP:*.rej=TEMP:*.swp=TEMP:*.pid=TEMP:"
|
||||
|
||||
# The series of color shades used to print timestamps
|
||||
# The format is: "COLOR-TYPE,ERROR,SHADE1,SHADE2,SHADE3,SHADE4,SHADE5"
|
||||
#
|
||||
# COLOR-TYPE is one of: 1 (4-bit: 8 colors), 2 (8-bit: 256 colors), 3 (24-bit: truecolor)
|
||||
# ERROR is the color used to print bad values
|
||||
# SHADEn is the color used for the shade N
|
||||
#
|
||||
# For 4-bit colors (1), valid colors are in the range 30-37
|
||||
# For 8-bit colors (2), valid colors are in the range 0-255
|
||||
# For 24-bit colors (3), valid colors have this format: #RRGGBB
|
||||
#
|
||||
# An attribute (0-9) can be added to any color (either ERROR or SHADE) using a dash.
|
||||
# For example:
|
||||
# "34-1" -> "bold blue" (4-bit colors notation)
|
||||
# "226-2" -> "dimmed yellow" (8-bit colors notation)
|
||||
# "#ffaff00-4" -> "underlined orange" (24-bit colors notation)
|
||||
|
||||
#DateShades="1,31-2,36-1,36,36-2"
|
||||
#DateShades="2,196-2,231,253,250,247,244"
|
||||
#DateShades="3,#ff0000-2,#ffffff,#dadada,#bcbcbc,#9e9e9e,#808080"
|
||||
|
||||
#NOTE: For DateShades to work, the 'dd' color code (solid color for dates) needs to be unset (default)
|
||||
|
||||
# Same as DateShades, but for file sizes
|
||||
#SizeShades="1,31-2,32,33,31"
|
||||
#SizeShades="2,196-2,43,76,227,214,202"
|
||||
#SizeShades="3,#ff0000-2,#00d7af,#87d700,#ffff5f,#ffaf00,#ff5f00"
|
||||
|
||||
#NOTE: For SizeShades to work, the 'dz' color code (solid color for sizes) needs to be unset (default)
|
||||
|
||||
# If icons are enabled, use this color for directories icon (only for icons-in-terminal and Nerd-fonts)
|
||||
DirIconColor="Y"
|
||||
|
||||
# The prompt used by CliFM. Use the 'prompt' command to check for available
|
||||
# prompts. Enter 'prompt --help' for more information
|
||||
# You can use here either prompt codes (see the prompts.clifm file for details)
|
||||
# or a prompt name defined in the prompts file
|
||||
Prompt="clifm"
|
||||
#Prompt=curves
|
||||
# Override prompt values (as defined in the prompts file)
|
||||
#Prompt=""
|
||||
#Notifications=
|
||||
#EnableWarningPrompt=
|
||||
#WarningPrompt=""
|
||||
|
||||
# The string used to construct the line dividing the list of files and
|
||||
# the prompt (Unicode is supported). Possible values:
|
||||
# "0": Print just an empty line
|
||||
# "C": C is a single char. This char is printed up to the end of the screen
|
||||
# "CCC": 3 or more chars. Only these chars (no more) will be printed
|
||||
# "": Print a special line drawn with box-drawing characters (not
|
||||
# supported by all terminals/consoles)
|
||||
# The color of this line is controlled by the 'dl' code in InterfaceColors
|
||||
DividingLine="-"
|
||||
|
||||
# If the fzf TAB completion mode is enabled, pass these options to fzf(1):
|
||||
FzfTabOptions="--color='16,prompt:6,fg+:-1,pointer:4,hl:2,hl+:2,gutter:-1,marker:2,border:7:dim' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
|
||||
|
||||
# Same options, but colorless
|
||||
#FzfTabOptions="--color='bw' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
|
||||
|
||||
# For more information consult fzf(1)
|
|
@ -0,0 +1,271 @@
|
|||
# Theme file for CliFM
|
||||
# Theme name: clifm (16 colors version). Check 'default-256' for a 256 colors version
|
||||
# Author: L. Abramovich
|
||||
# License: GPL3
|
||||
|
||||
### How do we define colors?
|
||||
#
|
||||
# FiletypeColors, InterfaceColors, and ExtColors use the same format used
|
||||
# by the LS_COLORS environment variable. Thus, "di=01;34" means that (non-empty)
|
||||
# directories will be printed in bold blue.
|
||||
#
|
||||
# Color codes are just traditional ANSI escape sequences less the escape char
|
||||
# and the final 'm'.
|
||||
# 4-bit (16 colors), 8-bit (256 colors), and 24-bit (RGB/HEX) colors are supported.
|
||||
# Example:
|
||||
# 31 4-bit
|
||||
# 38;5;160 8-bit
|
||||
# 38;2;255;0;0 24-bit (RGB)
|
||||
# #ff0000 24-bit (HEX)
|
||||
#
|
||||
# One attribute can be used for hex colors using a dash and an attribute
|
||||
# number (RRGGBB-[1-9]), where 1-9 is:
|
||||
#
|
||||
# 1: Bold or increased intensity
|
||||
# 2: Faint, decreased intensity or dim
|
||||
# 3: Italic (Not widely supported)
|
||||
# 4: Underline
|
||||
# 5: Slow blink
|
||||
# 6: Rapid blink
|
||||
# 7: Reverse video or invert
|
||||
# 8: Conceal or hide (Not widely supported)
|
||||
# 9: Crossed-out or strike
|
||||
#
|
||||
# For example, to print bold red color, the hex code is #ff0000-1
|
||||
|
||||
### Use some variables to hold your color codes
|
||||
#
|
||||
# The 'define' keyword allows you to define up to 128 custom color variables.
|
||||
# They can be used for:
|
||||
# FiletypeColors
|
||||
# InterfaceColors
|
||||
# ExtColors
|
||||
# DirIconColor
|
||||
#
|
||||
# For example, if 'M' is defined as "00;01;36", we can use this color for
|
||||
# ELN's as follows: "el=M" (see below)
|
||||
|
||||
define D=0 # Default terminal color
|
||||
define BD=1 # Bold
|
||||
define DIM=2 # Dimmed
|
||||
|
||||
define R=31 # Red
|
||||
define BR=1;31 # Bold red
|
||||
define DR=2;31 # Dimmed red
|
||||
define UDR=4;2;31 # Underlined dimmed red
|
||||
define UBR=4;1;31 # Underlined bold red
|
||||
|
||||
define G=32 # Green
|
||||
define BG=1;32 # Bold green
|
||||
define DG=2;32 # Dimmed green
|
||||
|
||||
define Y=33 # Yellow
|
||||
define BY=1;33 # Bold yellow
|
||||
define DY=2;33 # Dimmed yellow
|
||||
|
||||
define B=34 # Blue
|
||||
define BB=1;34 # Bold blue
|
||||
define DB=2;34 # Dimmed blue
|
||||
|
||||
define M=35 # Magenta
|
||||
define BM=1;35 # Bold Magenta
|
||||
define DM=2;35 # Dimmed magenta
|
||||
define UM=4;35 # Underlined magenta
|
||||
define UDM=4;2;35 # Underlined dimmed magenta
|
||||
|
||||
define C=36 # Cyan
|
||||
define BC=1;36 # Bold cyan
|
||||
define DC=2;36 # Dimmed cyan
|
||||
define RC=7;36 # Reverse cyan
|
||||
define UDC=4;2;36 # Underlined dimmed cyan
|
||||
define BDC=1;2;36 # Bold dimmed cyan
|
||||
|
||||
define DW=2;37 # Dimmed white
|
||||
define UDW=4;2;37 # Underlined dimmed white
|
||||
|
||||
# Foreground-background combinations
|
||||
define URW=4;31;47 # Red foreground, white background
|
||||
define WR=37;41 # White foreground, red background
|
||||
# K stands for black (B is used for Blue)
|
||||
define KY=30;43 # Black foreground, yellow background
|
||||
define KR=30;41 # Black foreground, red background
|
||||
define KG=30;42 # Black foreground, green background
|
||||
# BG is already used for bold green
|
||||
define BlGr=34;42 # Blue foreground, green background
|
||||
define WB=37;44 # white foreground, blue background
|
||||
|
||||
# File groups (used for file extensions)
|
||||
define DOC=1 # Bold
|
||||
define VIDEO=1;35 # Bold magenta
|
||||
define IMAGE=35 # Magenta
|
||||
define SOUND=36 # Cyan
|
||||
define CODE=1;33 # Bold yellow
|
||||
define ARCHIVE=1;31 # Bold red
|
||||
define TEMP=2;37 # Dimmed white
|
||||
define BOOK=1 # Bold
|
||||
define MARKUP=1;33 # Same as CODE
|
||||
|
||||
### To know what are we applying colors to, we use the following codes:
|
||||
|
||||
## File types
|
||||
# bd = Block device
|
||||
# ca = File with capabilities
|
||||
# cd = Char device
|
||||
# ed = Empty directory
|
||||
# ee = Empty executable file
|
||||
# ex = Executable file
|
||||
# ef = Empty regular file
|
||||
# fi = Regular file
|
||||
# di = Directory
|
||||
# ln = Symbolic link
|
||||
# mh = Multi-hardlink file
|
||||
# nd = Directory with no read permission
|
||||
# ne = Empty directory with no read permission
|
||||
# nf = Regular file with no read permission
|
||||
# no = Unknown
|
||||
# or = Broken symlink
|
||||
# ow = Other-writable
|
||||
# pi = FIFO/pipe
|
||||
# sg = SGID file
|
||||
# so = Socket
|
||||
# st = Sticky (not other-writable)
|
||||
# su = SUID file
|
||||
# tw = Sticky and other-writable
|
||||
# uf = Non-'stat'able file
|
||||
|
||||
## Interface
|
||||
# bm = Bookmarked directory
|
||||
# fc = Files counter
|
||||
# df = Default color
|
||||
# dl = Dividing line
|
||||
# el = ELN color
|
||||
# mi = Misc indicators
|
||||
# ts = TAB completion suffix
|
||||
# tt = Tilde for trimmed files
|
||||
# wc = Welcome message
|
||||
# wp = Warning prompt
|
||||
|
||||
## Auto-suggestions
|
||||
# sb = Shell builtins
|
||||
# sc = External commands and aliases
|
||||
# sd = Internal commands description
|
||||
# sf = File names
|
||||
# sh = History
|
||||
# sx = Internal commands and parameters
|
||||
# sp = BAEJ suggestions pointer
|
||||
# sz = File names (fuzzy)
|
||||
|
||||
## Syntax highlighting
|
||||
# hb = Brackets () [] {}
|
||||
# hc = Comments
|
||||
# hd = Paths (slashes)
|
||||
# he = Expansion operators: * ~
|
||||
# hn = Numbers
|
||||
# hp = Parameters: -
|
||||
# hq = Quoted strings
|
||||
# hr = Redirection >
|
||||
# hs = Process separators | & ; */
|
||||
# hv = Variables $ */
|
||||
# hw = Wrong, non-existent command name
|
||||
|
||||
## File properties
|
||||
# dd = Date (1)
|
||||
# dg = UID, GID
|
||||
# dn = dash (none)
|
||||
# do = Permissions in octal notation
|
||||
# dp = Special files (SUID, SGID, etc)
|
||||
# dr = Read
|
||||
# dw = Write
|
||||
# dxd = Execute (dirs)
|
||||
# dxr = Execute (reg files)
|
||||
# dz = Size (1)
|
||||
|
||||
# (1) If unset, gradient colors will be used (default)
|
||||
|
||||
## Workspaces
|
||||
# wsN = Workspace number N
|
||||
|
||||
## Prompt notifications
|
||||
# em = Errors
|
||||
# li = Selected files indicator
|
||||
# nm = Notices
|
||||
# ti = Trash indicator
|
||||
# tx = Command line text
|
||||
# si = Stealth mode indicator
|
||||
# wm = Warnings
|
||||
# xs = Exit code: success
|
||||
# xf = Exit code: failure
|
||||
|
||||
# NOTE: Whenever a code is unset, the default value is used
|
||||
|
||||
# FiletypeColors defines the color used for file names when listing files,
|
||||
# just as InterfaceColors defines colors for CliFM's interface.
|
||||
FiletypeColors="bd=BY:ca=KR:cd=BD:di=BB:ed=DB:ee=G:ef=DIM:ex=BG:fi=D:ln=BC:mh=RC:nd=UBR:ne=UDR:nf=UDR:no=URW:or=UDC:ow=BlGr:pi=M:sg=KY:so=BM:st=WB:su=WR:tw=KG:uf=UDW:"
|
||||
|
||||
InterfaceColors="bm=BG:dd=:df=D:dg=:dl=DW:dn=DW:do=C:dp=:dr=:dw=:dxd=:dxr=:dz=:el=C:em=BR:fc=DW:hb=C:hc=DW:hd=C:he=C:hn=:hp=C:hq=Y:hr=R:hs=G:hv=G:li=BG:mi=BC:nm=BG:si=BB:sb=DY:sc=DC:sd=DW:sf=UDC:sh=DM:sp=DR:sx=DG:sz=UDM:ti=BC:ts=UM:tt=BDC:tx=D:wc=BC:wm=BY:wp=DR:ws1=B:ws2=R:ws3=Y:ws4=G:ws5=C:ws6=C:ws7=C:ws8=C:xf=BR:xs=G:"
|
||||
|
||||
# Colors for specific file extensions (case insensitive)
|
||||
ExtColors="*.tar=ARCHIVE:*.tgz=ARCHIVE:*.arc=ARCHIVE:*.arj=ARCHIVE:*.taz=ARCHIVE:*.lha=ARCHIVE:*.lz4=ARCHIVE:*.lzh=ARCHIVE:*.lzma=ARCHIVE:*.tlz=ARCHIVE:*.txz=ARCHIVE:*.tzo=ARCHIVE:*.t7z=ARCHIVE:*.zip=ARCHIVE:*.z=ARCHIVE:*.dz=ARCHIVE:*.gz=ARCHIVE:*.lrz=ARCHIVE:*.lz=ARCHIVE:*.lzo=ARCHIVE:*.xz=ARCHIVE:*.zst=ARCHIVE:*.tzst=ARCHIVE:*.bz2=ARCHIVE:*.bz=ARCHIVE:*.tbz=ARCHIVE:*.tbz2=ARCHIVE:*.tz=ARCHIVE:*.deb=ARCHIVE:*.rpm=ARCHIVE:*.jar=ARCHIVE:*.war=ARCHIVE:*.ear=ARCHIVE:*.sar=ARCHIVE:*.rar=ARCHIVE:*.alz=ARCHIVE:*.ace=ARCHIVE:*.zoo=ARCHIVE:*.cpio=ARCHIVE:*.7z=ARCHIVE:*.rz=ARCHIVE:*.cab=ARCHIVE:*.wim=ARCHIVE:*.swm=ARCHIVE:*.dwm=ARCHIVE:*.esd=ARCHIVE:*.apk=ARCHIVE:*.iso=ARCHIVE:*.img=ARCHIVE:*.avif=IMAGE:*.jpg=IMAGE:*.jpeg=IMAGE:*.jxl=IMAGE:*.mjpg=IMAGE:*.mjpeg=IMAGE:*.gif=IMAGE:*.bmp=IMAGE:*.xbm=IMAGE:*.xpm=IMAGE:*.png=IMAGE:*.svg=IMAGE:*.svgz=IMAGE:*.pcx=IMAGE:*.pbm=IMAGE:*.pgm=IMAGE:*.ppm=IMAGE:*.tga=IMAGE:*.tif=IMAGE:*.tiff=IMAGE:*.mng=IMAGE:*.mov=VIDEO:*.mpg=VIDEO:*.mpeg=VIDEO:*.m2v=VIDEO:*.mkv=VIDEO:*.webm=VIDEO:*.webp=VIDEO:*.ogm=VIDEO:*.mp4=VIDEO:*.m4v=VIDEO:*.mp4v=VIDEO:*.vob=VIDEO:*.qt=VIDEO:*.nuv=VIDEO:*.wmv=VIDEO:*.asf=VIDEO:*.rm=VIDEO:*.rmvb=VIDEO:*.flc=VIDEO:*.avi=VIDEO:*.fli=VIDEO:*.flv=VIDEO:*.gl=VIDEO:*.dl=VIDEO:*.xcf=VIDEO:*.xwd=VIDEO:*.yuv=VIDEO:*.cgm=VIDEO:*.emf=VIDEO:*.ogv=VIDEO:*.ogx=VIDEO:*.mov=VIDEO:*.mpg=VIDEO:*.mpeg=VIDEO:*.m2v=VIDEO:*.mkv=VIDEO:*.webm=VIDEO:*.webp=VIDEO:*.ogm=VIDEO:*.ogv=VIDEO:*.ogx=VIDEO:*.mp4=VIDEO:*.m4v=VIDEO:*.mp4v=VIDEO:*.vob=VIDEO:*.qt=VIDEO:*.nuv=VIDEO:*.wmv=VIDEO:*.flc=VIDEO:*.avi=VIDEO:*.fli=VIDEO:*.flv=VIDEO:*.asf=VIDEO:*.rm=VIDEO:*.rmvb=VIDEO:*.gl=VIDEO:*.dl=VIDEO:*.xcf=VIDEO:*.xwd=VIDEO:*.yuv=VIDEO:*.cgm=VIDEO:*.emf=VIDEO:*.aac=SOUND:*.au=SOUND:*.m4a=SOUND:*.mid=SOUND:*.midi=SOUND:*.mp3=SOUND:*.mka=SOUND:*.ogg=SOUND:*.opus=SOUND:*.spx=SOUND:*.wma=SOUND:*.wv=SOUND:*.wav=SOUND:*.flac=SOUND:*.aif=SOUND:*.pdf=BOOK:*.djvu=BOOK:*.epub=BOOK:*.mobi=BOOK:*.cbr=BOOK:*.cbz=BOOK:*.ps=DOC:*.sxw=DOC:*.doc=DOC:*.docx=DOC:*.xls=DOC:*.xlsx=DOC:*.xlr=DOC:*.sxi=DOC:*.ppt=DOC:*.pptx=DOC:*.odt=DOC:*.ods=DOC:*.odp=DOC:*.rtf=DOC:*.c=CODE:*.c++=CODE:*.cc=CODE:*.cpp=CODE:*.h=CODE:*.h++=CODE:*.hh=CODE:*.go=CODE:*.java=CODE:*.js=CODE:*.lua=CODE:*.php=CODE:*.rb=CODE:*.rs=CODE:*.kt=CODE:*.kts=CODE:*.hs=CODE:*.pl=CODE:*.vb=CODE:*.html=MARKUP:*.htm=MARKUP:*.shtml=MARKUP:xhtml=MARKUP:*.xml=MARKUP:*.css=MARKUP:*.tex=MARKUP:*.ltx=MARKUP:*.md=MARKUP:*.cache=TEMP:*.tmp=TEMP:*.temp=TEMP:*.log=TEMP:*.bak=TEMP:*.bk=TEMP:*.in=TEMP:*.out=TEMP:*.part=TEMP:*.aux=TEMP:*.old=TEMP:*.orig=TEMP:*.rej=TEMP:*.swp=TEMP:*.pid=TEMP:"
|
||||
|
||||
# The series of color shades used to print timestamps
|
||||
# The format is: "COLOR-TYPE,ERROR,SHADE1,SHADE2,SHADE3,SHADE4,SHADE5"
|
||||
#
|
||||
# COLOR-TYPE is one of: 1 (4-bit: 8 colors), 2 (8-bit: 256 colors), 3 (24-bit: truecolor)
|
||||
# ERROR is the color used to print bad values
|
||||
# SHADEn is the color used for the shade N
|
||||
#
|
||||
# For 4-bit colors (1), valid colors are in the range 30-37
|
||||
# For 8-bit colors (2), valid colors are in the range 0-255
|
||||
# For 24-bit colors (3), valid colors have this format: #RRGGBB
|
||||
#
|
||||
# An attribute (0-9) can be added to any color (either ERROR or SHADE) using a dash.
|
||||
# For example:
|
||||
# "34-1" -> "bold blue" (4-bit colors notation)
|
||||
# "226-2" -> "dimmed yellow" (8-bit colors notation)
|
||||
# "#ffaff00-4" -> "underlined orange" (24-bit colors notation)
|
||||
|
||||
#DateShades="1,31-2,36-1,36,36-2"
|
||||
#DateShades="2,196-2,231,253,250,247,244"
|
||||
#DateShades="3,#ff0000-2,#ffffff,#dadada,#bcbcbc,#9e9e9e,#808080"
|
||||
|
||||
#NOTE: For DateShades to work, the 'dd' color code (solid color for dates) needs to be unset (default)
|
||||
|
||||
# Same as DateShades, but for file sizes
|
||||
#SizeShades="1,31-2,32,33,31"
|
||||
#SizeShades="2,196-2,43,112,227,214,202"
|
||||
#SizeShades="3,#ff0000-2,#00d7af,#87d700,#ffff5f,#ffaf00,#ff5f00"
|
||||
|
||||
#NOTE: For SizeShades to work, the 'dz' color code (solid color for sizes) needs to be unset (default)
|
||||
|
||||
# If icons are enabled, use this color for directories icon (only for icons-in-terminal and Nerd-fonts)
|
||||
DirIconColor="Y"
|
||||
|
||||
# The prompt used by CliFM. Use the 'prompt' command to check for available
|
||||
# prompts. Enter 'prompt --help' for more information
|
||||
# You can use here either prompt codes (see the prompts.clifm file for details)
|
||||
# or a prompt name defined in the prompts file
|
||||
Prompt="clifm"
|
||||
|
||||
# Override prompt values (as defined in the prompts file)
|
||||
#Prompt=""
|
||||
#Notifications=
|
||||
#EnableWarningPrompt=
|
||||
#WarningPrompt=""
|
||||
|
||||
# The string used to construct the line dividing the list of files and
|
||||
# the prompt (Unicode is supported). Possible values:
|
||||
# "0": Print just an empty line
|
||||
# "C": C is a single char. This char is printed up to the end of the screen
|
||||
# "CCC": 3 or more chars. Only these chars (no more) will be printed
|
||||
# "": Print a special line drawn with box-drawing characters (not
|
||||
# supported by all terminals/consoles)
|
||||
# The color of this line is controlled by the 'dl' code in InterfaceColors
|
||||
DividingLine="-"
|
||||
|
||||
# If the fzf TAB completion mode is enabled, pass these options to fzf(1):
|
||||
FzfTabOptions="--color='16,prompt:6,fg+:-1,pointer:4,hl:2,hl+:2,gutter:-1,marker:2,border:7:dim' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
|
||||
|
||||
# Same options, but colorless
|
||||
#FzfTabOptions="--color='bw' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
|
||||
|
||||
# For more information consult fzf(1)
|
|
@ -0,0 +1,149 @@
|
|||
# Keybindings file for CliFM
|
||||
|
||||
# Emacs style key escapes are the simplest way of setting your
|
||||
# keybindings. For example, use "action:\C-t" to bind the action name
|
||||
# 'action' to Ctrl-t
|
||||
# Note: available action names are defined below
|
||||
|
||||
# If you need some more control, hex, octal, and decimal notation is
|
||||
# also supported (this is needed for example for function keys). For
|
||||
# the sake of simplicity, CliFM provides a plugin to easily get the
|
||||
# adequate codes.
|
||||
# Use the 'kbgen' plugin (compile it first: gcc -o kbgen kbgen.c) to
|
||||
# find out the escape code for the key o key sequence you want. Use
|
||||
# either octal, hexadecimal codes or symbols.
|
||||
# Ex: For Alt-/ (in rxvt terminals) 'kbgen' will print the following
|
||||
# lines:
|
||||
# Hex | Oct | Symbol
|
||||
# ---- | ---- | ------
|
||||
# \x1b | \033 | ESC (\e)
|
||||
# \x2f | \057 | /
|
||||
# In this case, the keybinding, if using symbols, is: "\e/:function"
|
||||
# In case you prefer the hex codes it would be: \x1b\x2f:function.
|
||||
# GNU emacs escape sequences are also allowed (ex: "\M-a", Alt-a
|
||||
# in most keyboards, or "\C-r" for Ctrl-r).
|
||||
# Some codes, especially those involving keys like Ctrl or the arrow
|
||||
# keys, vary depending on the terminal emulator and the system settings.
|
||||
# These keybindings should be set up thus on a per terminal basis.
|
||||
# You can also consult the terminfo database via the infocmp command.
|
||||
# See terminfo(5) and infocmp(1).
|
||||
|
||||
# Alt-j
|
||||
previous-dir:\M-j
|
||||
# Shift-left (rxvt)
|
||||
previous-dir2:\e[d
|
||||
# Shift-left (xterm)
|
||||
previous-dir3:\e[2D
|
||||
# Shift-left (others)
|
||||
previous-dir4:\e[1;2D
|
||||
|
||||
# Alt-k
|
||||
next-dir:\M-k
|
||||
# Shift-right (rxvt)
|
||||
next-dir2:\e[c
|
||||
# Shift-right (xterm)
|
||||
next-dir3:\e[2C
|
||||
# Shift-right (others)
|
||||
next-dir4:\e[1;2C
|
||||
|
||||
first-dir:\C-\M-j
|
||||
last-dir:\C-\M-k
|
||||
|
||||
# Alt-u
|
||||
parent-dir:\M-u
|
||||
# Shift-up (rxvt)
|
||||
parent-dir2:\e[a
|
||||
# Shift-up (xterm)
|
||||
parent-dir3:\e[2A
|
||||
# Shift-up (others)
|
||||
parent-dir4:\e[1;2A
|
||||
|
||||
# Alt-e
|
||||
home-dir:\M-e
|
||||
# Home key (rxvt)
|
||||
#home-dir2:\e[7~
|
||||
# Home key (xterm)
|
||||
#home-dir3:\e[H
|
||||
# Home key (Emacs term)
|
||||
#home-dir4:\e[1~
|
||||
|
||||
# Alt-r
|
||||
root-dir:\M-r
|
||||
# Alt-/ (rxvt)
|
||||
root-dir2:\e/
|
||||
#root-dir3:
|
||||
|
||||
pinned-dir:\M-p
|
||||
workspace1:\M-1
|
||||
workspace2:\M-2
|
||||
workspace3:\M-3
|
||||
workspace4:\M-4
|
||||
|
||||
# Help
|
||||
# F1-3
|
||||
show-cmds:\eOQ
|
||||
show-cmds2:\e[12~
|
||||
show-kbinds:\eOR
|
||||
show-kbinds2:\e[13~
|
||||
show-manpage:\eOP
|
||||
show-manpage2:\e[11~
|
||||
|
||||
archive-sel:\C-\M-a
|
||||
bookmark-sel:\C-\M-b
|
||||
bookmarks:\M-b
|
||||
clear-line:\M-c
|
||||
clear-msgs:\M-t
|
||||
create-file:\M-n
|
||||
deselect-all:\M-d
|
||||
dirs-first:\M-g
|
||||
export-sel:\C-\M-e
|
||||
launch-view:\M--
|
||||
lock:\M-o
|
||||
mountpoints:\M-m
|
||||
move-sel:\C-\M-n
|
||||
new-instance:\C-x
|
||||
next-profile:\C-\M-p
|
||||
only-dirs:\M-,
|
||||
open-sel:\C-\M-g
|
||||
paste-sel:\C-\M-v
|
||||
prepend-sudo:\M-v
|
||||
previous-profile:\C-\M-o
|
||||
rename-sel:\C-\M-r
|
||||
remove-sel:\C-\M-d
|
||||
refresh-screen:\C-r
|
||||
selbox:\M-s
|
||||
select-all:\M-a
|
||||
show-dirhist:\M-h
|
||||
sort-previous:\M-z
|
||||
sort-next:\M-x
|
||||
toggle-hidden:\M-i
|
||||
toggle-hidden2:\M-.
|
||||
toggle-light:\M-y
|
||||
toggle-long:\M-l
|
||||
toggle-max-name-len:\C-\M-l
|
||||
toggle-disk-usage:\C-\M-i
|
||||
toggle-virtualdir-full-paths:\M-w
|
||||
trash-sel:\C-\M-t
|
||||
untrash-all:\C-\M-u
|
||||
|
||||
# F6-12
|
||||
edit-color-scheme:\e[19~
|
||||
open-bookmarks:\e[23~
|
||||
open-config:\e[21~
|
||||
#open-jump-db:\e[18~
|
||||
open-keybinds:\e[20~
|
||||
open-mime:\e[17~
|
||||
open-preview:\e[18~
|
||||
quit:\e[24~
|
||||
|
||||
# Plugins
|
||||
# 1) Make sure your plugin is in the plugins directory (or use any of the
|
||||
# plugins in there)
|
||||
# 2) Link pluginx to your plugin using the 'actions edit' command. Ex:
|
||||
# "plugin1=myplugin.sh"
|
||||
# 3) Set a keybinding here for pluginx. Ex: "plugin1:\M-7"
|
||||
|
||||
#plugin1:
|
||||
#plugin2:
|
||||
#plugin3:
|
||||
#plugin4:
|
|
@ -0,0 +1 @@
|
|||
*0:/Users/asand/clone/dotfiles/.config
|
|
@ -0,0 +1,41 @@
|
|||
######################
|
||||
# CliFM actions file #
|
||||
######################
|
||||
|
||||
# Define here your custom actions. Actions are custom command names
|
||||
# bound to a executable file located either in DATADIR/clifm/plugins
|
||||
# (usually /usr/share/clifm/plugins) or in $XDG_CONFIG_HOME/clifm/plugins.
|
||||
# Actions can be executed directly from CliFM command line, as if they
|
||||
# were any other command, and the associated file will be executed
|
||||
# instead. All parameters passed to the action command will be passed
|
||||
# to the corresponding plugin as well.
|
||||
|
||||
+=finder.sh
|
||||
++=jumper.sh
|
||||
-=fzfnav.sh
|
||||
*=fzfsel.sh
|
||||
**=fzfdesel.sh
|
||||
//=rgfind.sh
|
||||
_=fzcd.sh
|
||||
bcp=batch_copy.sh
|
||||
bmi=bm_import.sh
|
||||
bn=batch_create.sh
|
||||
clip=clip.sh
|
||||
cr=cprm.sh
|
||||
da=disk_analyzer.sh
|
||||
dr=dragondrop.sh
|
||||
fdups=fdups.sh
|
||||
gg=pager.sh
|
||||
h=fzfhist.sh
|
||||
i=img_viewer.sh
|
||||
ih=ihelp.sh
|
||||
kbgen=kbgen
|
||||
kd=decrypt.sh
|
||||
ke=encrypt.sh
|
||||
ml=mime_list.sh
|
||||
music=music_player.sh
|
||||
ptot=pdf_viewer.sh
|
||||
rrm=recur_rm.sh
|
||||
update=update.sh
|
||||
vid=vid_viewer.sh
|
||||
wall=wallpaper_setter.sh
|
|
@ -0,0 +1,10 @@
|
|||
### This is the bookmarks file for clifm ###
|
||||
|
||||
# Empty and commented lines are ommited
|
||||
# Make your changes, save, and exit
|
||||
# To remove a bookmark, delete the corresponding line, save, and exit
|
||||
# Changes are applied automatically at exit (to cancel just quit the editor).
|
||||
|
||||
# The bookmarks syntax is: [shortcut]name:path
|
||||
# Example:
|
||||
[c]clifm:/Users/asand/.config/clifm/profiles/default
|
|
@ -0,0 +1,432 @@
|
|||
###########################################
|
||||
# CLIFM #
|
||||
# The command line file manager #
|
||||
###########################################
|
||||
|
||||
# This is CliFM's main configuration file
|
||||
|
||||
# Lines starting with either '#' or ';' are commented (ignored).
|
||||
# Options starting with a ';' hold the default value, but are commented.
|
||||
# To override a default value, uncomment the corresponding option.
|
||||
|
||||
|
||||
#=====================================#
|
||||
# 1. INTERFACE #
|
||||
#=====================================#
|
||||
|
||||
# Show hidden files (i.e. files starting with a dot)?
|
||||
;ShowHiddenFiles=false
|
||||
|
||||
# Use a regular expression to filter files from the files list.
|
||||
# Example: "!.*~$" to exclude backup files (ending with ~), or "^\." to
|
||||
# list only hidden files. File type filters are also supported. Example:
|
||||
# "=d" to list directories only, or "!=l" to exclude symlinks.
|
||||
# Run 'help file-filters' for more information.
|
||||
;Filter=""
|
||||
|
||||
# List directories first?
|
||||
;ListDirsFirst=true
|
||||
|
||||
# The amount of files contained by a directory is informed next
|
||||
# to the directory name. However, this feature might slow things down
|
||||
# when, for example, listing files on a remote server. The files counter
|
||||
# can be disabled here, via the --no-files-counter option, or using the
|
||||
# 'fc' command while in the program itself.
|
||||
# Note: Classify (see below) must be set to true.
|
||||
;FilesCounter=true
|
||||
|
||||
# Mas, the files list pager. Possible values are:
|
||||
# 0/false: Disable the pager
|
||||
# 1/true: Run the pager whenever the list of files does not fit on the screen
|
||||
# >1: Run the pager whenever the amount of files in the current directory is
|
||||
# greater than or equal to this value (say, 1000)
|
||||
;Pager=false
|
||||
|
||||
# If running with colors, append directory indicator to directories. If
|
||||
# running without colors (via the --no-color option), append file type
|
||||
# indicator at the end of file names:
|
||||
# '/' for directories
|
||||
# '@' for symbolic links
|
||||
# '=' for sockets
|
||||
# '|' for FIFO/pipes
|
||||
# '*' for for executable files
|
||||
# '?' for unknown file types
|
||||
# Bear in mind that when running in light mode the check for executable
|
||||
# files won't be performed, and thereby no indicator will be added to
|
||||
# executable files.
|
||||
# Note: Setting this option to false disables the files counter.
|
||||
;Classify=true
|
||||
|
||||
# How to list files: 0 = vertically (like ls(1) would), 1 = horizontally
|
||||
;ListingMode=0
|
||||
|
||||
# Choose sorting method: 0 = none, 1 = name, 2 = size, 3 = atime
|
||||
# 4 = btime (ctime if not available), 5 = ctime, 6 = mtime, 7 = version
|
||||
# (name if not available) 8 = extension, 9 = inode, 10 = owner-ID, and
|
||||
# 11 = group-ID
|
||||
;Sort=7
|
||||
|
||||
# By default, CliFM sorts files from less to more (ex: from 'a' to 'z' if
|
||||
# using the "name" method). To invert this ordering, set SortReverse to
|
||||
# true (you can also use the --sort-reverse option or the 'st' command)
|
||||
;SortReverse=false
|
||||
|
||||
# List files properties next to file names instead of just file names
|
||||
;LongViewMode=false
|
||||
|
||||
# Properties fields to be printed for each file name in long view mode
|
||||
# f: files counter (for directories)
|
||||
# d: inode number
|
||||
# p|n = permissions: either symbolic (p) or numeric/octal (n)
|
||||
# i = user/group IDs
|
||||
# a|m|c = last (a)ccess, (m)odification, or status (c)hange time (YYYY-MM-DD HH:MM:SS)
|
||||
# s|S = size (either human readable (s) or bytes (S))
|
||||
# x = extended attributes (marked as '@')
|
||||
# A single dash ("-") disables all fields
|
||||
# Example: print only permissions (numeric) and size (human readable):
|
||||
#PropFields="ns"
|
||||
;PropFields="fpims"
|
||||
|
||||
# Format used to display timestamps in long view mode.
|
||||
# Consult strftime(3) for information about time format specifiers.
|
||||
# Defaults to "%b %e %H:%M" for recent files (< 6 months) and "%b %e %Y"
|
||||
# for older files.
|
||||
# Examples:
|
||||
## ISO
|
||||
;TimeStyle="%Y-%m-%d"
|
||||
## Long ISO
|
||||
;TimeStyle="%Y-%m-%d %H:%M"
|
||||
## Full ISO
|
||||
;TimeStyle="%Y-%m-%d %H:%M:%S %z"
|
||||
## Legacy style (old versions)
|
||||
;TimeStyle="%F %T"
|
||||
## Relative time
|
||||
;TimeStyle=relative
|
||||
|
||||
# If running in long view, print directories full size (including contents)
|
||||
;FullDirSize=false
|
||||
|
||||
# Print files apparent size instead of actual device usage
|
||||
# Note that on non-Linux or POSIX-compliant systems, du(1), used by clifm
|
||||
# to get full directories size, has no option to display files apparent
|
||||
# sizes, so that actual device usage is always used instead.
|
||||
;ApparentSize=true
|
||||
|
||||
# In light mode, extra file type checks (except those provided by
|
||||
# the d_type field of the dirent structure (see readdir(3))
|
||||
# are disabled to speed up the listing process. stat(3) and access(3)
|
||||
# are not executed at all, so that we cannot know in advance if a file
|
||||
# is readable by the current user, if it is executable, SUID, SGID, if a
|
||||
# symlink is broken, and so on. The file extension check is ignored as
|
||||
# well, so that the color per extension feature is disabled.
|
||||
;LightMode=false
|
||||
|
||||
# If set to true, clear the screen before listing files
|
||||
;ClearScreen=true
|
||||
|
||||
# Maximum file name length for listed files. Names larger than
|
||||
# MAXFILENAMELEN will be truncated at MAXFILENAMELEN using a tilde
|
||||
# Set it to -1 (or empty) to remove this limit
|
||||
# When running in long mode, this setting is overriden by MinFilenameTrim
|
||||
;MaxFilenameLen=20
|
||||
|
||||
# Minimum length at which a file name can be trimmed in long view mode
|
||||
# (including ELN length and spaces). When running in long mode, this
|
||||
# setting overrides MaxFilenameLen whenever MAXFILENAMELEN is smaller
|
||||
# than MINFILENAMETRIM.
|
||||
;MinFilenameTrim=20
|
||||
|
||||
# A comma separated list of workspace names in the form NUM=NAME
|
||||
# Example: "1=MAIN,2=EXTRA,3=GIT" or "1=α,2=β,3=γ"
|
||||
;WorkspaceNames=""
|
||||
|
||||
# If set to true, settings changed in the current workspace (only via
|
||||
# the command line or keyboard shortcuts) are kept private to that
|
||||
# workspace and made persistent (for the current session only), even
|
||||
# when switching workspaces.
|
||||
;PrivateWorkspaceSettings=false
|
||||
|
||||
# Print the disk usage of the file system the current directory belongs to
|
||||
# in the form FREE/TOTAL
|
||||
;DiskUsage=false
|
||||
|
||||
# If set to true, print a map of the current position in the directory
|
||||
# history list, showing previous, current, and next entries
|
||||
;DirhistMap=false
|
||||
|
||||
# If set to true, always print the list of selected files. Since this
|
||||
# list could become quite extensive, you can limit the number of printed
|
||||
# entries using the MaxPrintSelfiles option below
|
||||
;PrintSelfiles=false
|
||||
|
||||
# Maximum amount of selected files to be printed if PrinSelFiles is set
|
||||
# to true. Possible values: -1 = no limit, 0 = auto (never print more
|
||||
# than half terminal height), or any positive value
|
||||
;MaxPrintSelfiles=0
|
||||
|
||||
# Color schemes (or just themes) are stored in the colors directory
|
||||
# ($XDG_DATA_DIRS/clifm/colors, usually /usr/local/share/clifm/colors
|
||||
# or /usr/share/clifm/colors). You can place your custom themes in
|
||||
# $HOME/.config/clifm/colors
|
||||
#
|
||||
# Use the 'cs' command or the '--color-scheme' command line option to set
|
||||
# a theme
|
||||
#
|
||||
# Run 'cs edit' to edit the current theme
|
||||
#
|
||||
# Each theme includes color definitions, just as definitions for the
|
||||
# prompt, the warning prompt, the dividing line, and the FZF window
|
||||
#
|
||||
# Use TAB to list available themes: 'cs TAB'
|
||||
#
|
||||
# Visit https://github.com/leo-arch/clifm-colors to get some extra themes
|
||||
#
|
||||
# Defaults to 'default-256', or 'default' (16 colors) if 256 colors support
|
||||
# is not detected
|
||||
;ColorScheme=one-dark
|
||||
|
||||
# Enable/disable icons.
|
||||
# By default, emojis (widely available today) are used as icons.
|
||||
# Nerd-fonts and icons-in-terminal are supported as well, though clifm
|
||||
# needs to be recompiled in order to enable support. Consult our Wiki
|
||||
# (https://github.com/leo-arch/clifm/wiki) for more information.
|
||||
;Icons=true
|
||||
|
||||
|
||||
#=====================================#
|
||||
# 2. COMMAND LINE #
|
||||
#=====================================#
|
||||
|
||||
# Enable fuzzy matching for filename/path completions and suggestions
|
||||
;FuzzyMatching=false
|
||||
|
||||
# Fuzzy algorithm. Available options are:
|
||||
# 1 = faster, not Unicode aware
|
||||
# 2 = slower, Unicode aware
|
||||
;FuzzyAlgorithm=2
|
||||
|
||||
# TAB completion mode: 'standard', 'fzf', 'fzy' or 'smenu'. Defaults
|
||||
# to 'fzf' if the binary is found in PATH. Othwerwise, the standard
|
||||
# mode is used
|
||||
;TabCompletionMode=
|
||||
|
||||
# File previews for TAB completion (fzf mode only). Possible values:
|
||||
# 'true', 'false', 'hidden' (enabled, but hidden; toggle with Alt-p)
|
||||
;FzfPreview=true
|
||||
|
||||
# If set to true, enable auto-suggestions
|
||||
;AutoSuggestions=true
|
||||
|
||||
# The following checks will be performed in the order specified
|
||||
# by SuggestionStrategy. Available checks:
|
||||
# a = Aliases names\n\
|
||||
# b = Bookmarks names (deprecated since v1.9.9)\n\
|
||||
# c = Path completion\n\
|
||||
# e = ELN's
|
||||
# f = File names in current directory\n\
|
||||
# h = Commands history\n\
|
||||
# j = Jump database\n\
|
||||
# Use a dash (-) to skip a check. Ex: 'ehfj-ac' to skip the bookmarks
|
||||
# check
|
||||
;SuggestionStrategy=ehfj-ac
|
||||
|
||||
# If set to true, suggest file names using the corresponding file type
|
||||
# color (set via the color scheme file)
|
||||
;SuggestFiletypeColor=false
|
||||
|
||||
# Suggest a brief description for internal commands
|
||||
;SuggestCmdDesc=true
|
||||
|
||||
# Enable syntax highlighting?
|
||||
;SyntaxHighlighting=true
|
||||
|
||||
# Should CliFM be allowed to run external, shell commands?
|
||||
;ExternalCommands=true
|
||||
|
||||
|
||||
#=====================================#
|
||||
# 3. COMMANDS #
|
||||
#=====================================#
|
||||
|
||||
# List files automatically after changing current directory
|
||||
;AutoLs=true
|
||||
|
||||
# If set to true, a command name that is the name of a directory or a
|
||||
# file is executed as if it were the argument to the the 'cd' or the
|
||||
# 'open' commands respectivelly: 'cd DIR' works the same as just 'DIR'
|
||||
# and 'open FILE' works the same as just 'FILE'.
|
||||
;Autocd=true
|
||||
;AutoOpen=true
|
||||
|
||||
# If set to true, the 'r' command executes 'trash' instead of rm(1).
|
||||
;TrashAsRm=false
|
||||
|
||||
# Set the default copy command. Available options are:
|
||||
# 0 = 'cp -iRp', 1 = 'cp -Rp', 2 = 'advcp -giRp', 3 = 'advcp -gRp',
|
||||
# 4 = 'wcp', and 5 = 'rsync -avP'
|
||||
# 2-5 include a progress bar
|
||||
# Only 0 and 2 will prompt before overwrite
|
||||
;cpCmd=0
|
||||
|
||||
# Set the default move command. Available options are:
|
||||
# 0 = 'mv -i', 1 = 'mv', 2 = 'advmv -gi', and 3 = 'advmv -g'
|
||||
# 2 and 3 include a progress bar
|
||||
# Only 0 and 2 will prompt before overwrite
|
||||
;mvCmd=0
|
||||
|
||||
# If set to true, the 'r' command will never prompt before removals.
|
||||
# Note: rm(1) is invoked with the -f flag
|
||||
;rmForce=false
|
||||
|
||||
# Choose the resource opener to open files with their default associated
|
||||
# application (e.g. Ranger's rifle or xdg-open). If not set, 'lira',
|
||||
# CliFM's built-in opener, is used instead.
|
||||
;Opener=
|
||||
|
||||
# Only used when opening a directory via a new CliFM instance (with the
|
||||
# 'x' command), this option specifies the command to be used to launch a
|
||||
# terminal emulator to run CliFM on it.
|
||||
;TerminalCmd="xterm -e"
|
||||
|
||||
# We have three search strategies: 0 = glob-only, 1 = regex-only,
|
||||
# and 2 = glob-regex. Used by the quick search function
|
||||
;SearchStrategy=2
|
||||
|
||||
# When a directory rank in the jump database is below MinJumpRank, it
|
||||
# will be removed. If set to 0, directories are kept indefinitely
|
||||
;MinJumpRank=10
|
||||
|
||||
# When the sum of all ranks in the jump database reaches MaxJumpTotalRank,
|
||||
# all ranks will be reduced using a dynamic factor so that the total sum falls
|
||||
# below MaxJumpTotalRank again. Those entries falling below MinJumpRank will
|
||||
# be deleted
|
||||
;MaxJumpTotalRank=100000
|
||||
|
||||
# Automatically purge the jump database from non-existing directories at
|
||||
# startup. Note that this will remove paths pointing to unmounted removable
|
||||
# devices and remote file systems
|
||||
;PurgeJumpDB=false
|
||||
|
||||
|
||||
#=====================================#
|
||||
# 4. LOGS AND HISTORY #
|
||||
#=====================================#
|
||||
|
||||
# Send errors, warnings, and notices to the notification daemon?
|
||||
;DesktopNotifications=false
|
||||
|
||||
# Keep track of errors and warnings
|
||||
;Logs=false
|
||||
# Keep a record of external commands and internal commands able to modify the
|
||||
# files system (e.g. 'r', 'c', 'm', and so on). Logs must be set to true.
|
||||
;LogCmds=false
|
||||
# Keep only the last N lines of the log file
|
||||
;MaxLog=1000
|
||||
|
||||
# Limit the size of the commands history file to N entries
|
||||
;MaxHistory=1000
|
||||
# Limit the size of the directory history file to N entries
|
||||
;MaxDirhist=100
|
||||
|
||||
|
||||
#=====================================#
|
||||
# 5. MISC #
|
||||
#=====================================#
|
||||
|
||||
# Enable case sensitive listing for files in the current directory
|
||||
;CaseSensitiveList=false
|
||||
|
||||
# Enable case sensitive lookup for the directory jumper function (via
|
||||
# the 'j' command)
|
||||
;CaseSensitiveDirJump=false
|
||||
|
||||
# Enable case sensitive completion for file names
|
||||
;CaseSensitivePathComp=false
|
||||
|
||||
# Enable case sensitive search
|
||||
;CaseSensitiveSearch=false
|
||||
|
||||
# Whether to be Unicode aware or not. If using a 100% ASCII setup
|
||||
# (e.g. English), you can turn this off
|
||||
;Unicode=true
|
||||
|
||||
# CliFM's starting path. If not specified, it defaults to the current
|
||||
# working directory. If set, it overrides RestoreLastPath.
|
||||
;StartingPath=
|
||||
|
||||
# If set to true, start CliFM in the last visited directory (and in the
|
||||
# last used workspace). This option is overriden by StartingPath (if set).
|
||||
;RestoreLastPath=true
|
||||
|
||||
# MaxPath is only used for the /p option of the prompt: the current
|
||||
# working directory will be abbreviated to its basename (everything after
|
||||
# the last slash) whenever the current path is longer than MaxPath.
|
||||
;MaxPath=40
|
||||
|
||||
# Set readline editing mode: 0 for vi and 1 for emacs (default).
|
||||
;RlEditMode=1
|
||||
|
||||
# Write the last visited directory to $XDG_CONFIG_HOME/clifm/.last to be
|
||||
# later accessed by the corresponding shell function at program exit.
|
||||
# To enable this feature consult the manpage.
|
||||
;CdOnQuit=false
|
||||
|
||||
# Should the Selection Box be shared among different profiles?
|
||||
;ShareSelbox=false
|
||||
|
||||
# Print a usage tip at startup
|
||||
;Tips=true
|
||||
|
||||
# Just a kind welcome message at startup
|
||||
;WelcomeMessage=true
|
||||
|
||||
# Set a custom welcome message
|
||||
;WelcomeMessageStr=""
|
||||
|
||||
# Print CliFM's logo screen at startup
|
||||
;SplashScreen=false
|
||||
|
||||
|
||||
#=====================================#
|
||||
# 6. ALIASES #
|
||||
#=====================================#
|
||||
|
||||
# Bind '?' to the interactive help plugin. Run 'actions' to print the
|
||||
# list of available plugins
|
||||
#alias ?='ih'
|
||||
# Bind 'b' to the directory history navigation plugin
|
||||
#alias b='dh'
|
||||
# Replace the standard deselect command (ds) by the fzfdesel plugin
|
||||
#alias ds='**'
|
||||
# You can use this alias to quickly change to the current virtual directory
|
||||
#alias vtd='cd $CLIFM_VIRTUAL_DIR'
|
||||
# Replace the built-in bulk rename function (br) by vidir(1)
|
||||
#br='vidir'
|
||||
|
||||
#=====================================#
|
||||
# 7. PROMPT COMMANDS #
|
||||
#=====================================#
|
||||
|
||||
# Write below the commands you want to be executed before each prompt. Ex:
|
||||
#promptcmd /usr/local/share/clifm/plugins/git_status.sh
|
||||
#promptcmd date | awk '{print $1", "$2,$3", "$4}'
|
||||
|
||||
#=====================================#
|
||||
# 8. AUTOCOMMANDS #
|
||||
#=====================================#
|
||||
|
||||
# Control CliFM's settings on a per directory basis. For more information
|
||||
# consult the manpage
|
||||
|
||||
# Remote file systems are slow: let's speed this up by enabling the light
|
||||
# mode and disabling the files counter
|
||||
#autocmd /media/remotes/** lm=1,fc=0
|
||||
|
||||
# Just a friendly reminder
|
||||
#autocmd ~/important !printf "Keep your fingers outta here!\n" && read -n1
|
||||
|
||||
# Plenty of images and vids? Launch the files previewer plugin
|
||||
#autocmd ~/Downloads !/usr/local/share/clifm/plugins/fzfnav.sh
|
||||
|
||||
# I want files in the third workspace to be listed in long view
|
||||
#autocmd @ws3 lv=1
|
|
@ -0,0 +1,8 @@
|
|||
[2023-04-27T15:34:59-0700] /Users/asand/Documents/02 - Personal/03 - Classes/Socials 10:log off
|
||||
[2023-04-28T06:44:03-0700] /Users/asand/Documents/02 - Personal/03 - Classes/English 10:log off
|
||||
[2023-04-28T08:17:10-0700] /Users/asand/Documents/02 - Personal/03 - Classes/English 10:log off
|
||||
[2023-04-28T13:38:26-0700] /Users/asand/Documents/02 - Personal/03 - Classes/Socials 10:log off
|
||||
[2023-04-28T13:38:52-0700] /Users/asand/Documents/02 - Personal/03 - Classes/Socials 10:log off
|
||||
[2023-04-28T13:38:59-0700] /Users/asand/Documents/02 - Personal/03 - Classes/Socials 10:log off
|
||||
[2023-04-28T13:40:48-0700] /Users/asand/Documents/02 - Personal/03 - Classes/Socials 10:log off
|
||||
[2023-05-09T16:03:13-0700] /Users/asand/Documents/02 - Personal/03 - Classes/Bible 10:log off
|
|
@ -0,0 +1,89 @@
|
|||
/Users/asand/Documents/02 - Personal/03 - Classes/English 10
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes/Socials 10
|
||||
/Users/asand
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes/Socials 10
|
||||
/Users/asand
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes/English 10
|
||||
/Users/asand
|
||||
/Users/asand/.config
|
||||
/Users/asand/.config/yabai
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes/Socials 10
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes/English 10
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes/Bible 10
|
||||
/Users/asand
|
||||
/Users/asand/.config
|
||||
/Users/asand/.config/yabai
|
||||
/Users/asand/Documents/02 - Personal/03 - Classes/Bible 10
|
||||
/Users/asand/.config/sketchybar
|
||||
/Users/asand/.config/sketchybar/items
|
||||
/Users/asand
|
||||
/Users/asand/Documents
|
||||
/Users/asand/Documents/05 - Saved Content
|
||||
/Users/asand/Documents/05 - Saved Content/000 - YouTube
|
||||
/Users/asand
|
||||
/Users/asand/Documents
|
||||
/Users/asand/Documents/01 - Projects
|
||||
/Users/asand/Documents
|
||||
/Users/asand/Documents/02 - Personal
|
||||
/Users/asand/Documents/02 - Personal/00 - Me
|
||||
/Users/asand/Documents/02 - Personal/00 - Me/09 - Keys
|
||||
/Users/asand
|
||||
/Users/asand/Downloads
|
||||
/Users/asand/Downloads/fullstack-hy2020.github.io-source
|
||||
/Users/asand
|
||||
/Users/asand/Documents
|
||||
/Users/asand/Documents/01 - Projects
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules/howler
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules/howler/dist
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules/howler
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Forte
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/forte
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/forte/client
|
||||
/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website
|
||||
/Users/asand
|
||||
/Users/asand/Documents
|
||||
/Users/asand/Documents/05 - Saved Content
|
||||
/Users/asand/Documents/05 - Saved Content/000 - YouTube
|
||||
/Users/asand/Documents/05 - Saved Content/000 - YouTube/004 Spoken Gospel
|
||||
/Users/asand/Documents/05 - Saved Content/000 - YouTube
|
||||
/Users/asand/Documents/05 - Saved Content
|
||||
/Users/asand/Documents/05 - Saved Content/000 - Music
|
||||
/Users/asand/Documents/05 - Saved Content/000 - Music/1 - Audio
|
||||
/Users/asand/Documents/05 - Saved Content/000 - Music/1 - Audio/Daniel Camporee
|
||||
/Users/asand
|
||||
/Users/asand/Music
|
||||
/Users/asand/Music/StemRoller
|
||||
/Users/asand/Music/StemRoller/Once Again (Finale) [bAO53Jhju2M]-156e91a2749716dd
|
||||
/Users/asand
|
||||
/Users/asand/clone
|
||||
/Users/asand
|
||||
/Users/asand/server
|
||||
/Users/asand/server/matrix-docker-ansible-deploy
|
||||
/Users/asand/clone/dotfiles
|
||||
/Users/asand/clone/dotfiles/.config
|
||||
/Users/asand/clone/dotfiles
|
||||
/Users/asand/clone/dotfiles/.git
|
||||
/Users/asand/clone/dotfiles
|
||||
/Users/asand/clone/dotfiles/.local
|
||||
/Users/asand/clone/dotfiles/.local/share
|
||||
/Users/asand/clone/dotfiles/.local/share/applications
|
||||
/Users/asand/clone/dotfiles/.local/share
|
||||
/Users/asand/clone/dotfiles/.local/share/gnome-shell
|
||||
/Users/asand/clone/dotfiles/.local/share
|
||||
/Users/asand/clone/dotfiles/.local
|
||||
/Users/asand/clone/dotfiles
|
||||
/Users/asand/clone/dotfiles/scripts
|
||||
/Users/asand/clone/dotfiles
|
||||
/Users/asand/clone/dotfiles/scripts
|
||||
/Users/asand/clone/dotfiles
|
||||
/Users/asand/clone/dotfiles/.config
|
|
@ -0,0 +1,293 @@
|
|||
edit
|
||||
#1682624541
|
||||
help
|
||||
#1682624819
|
||||
l
|
||||
#1682624822
|
||||
ls
|
||||
#1682624869
|
||||
cs theme
|
||||
#1682624874
|
||||
cs
|
||||
#1682624878
|
||||
cs one-dark
|
||||
#1682624902
|
||||
config
|
||||
#1682624964
|
||||
icons
|
||||
#1682624966
|
||||
icons on
|
||||
#1682624971
|
||||
config
|
||||
#1682634899
|
||||
v "009 - Women Advances in Status.txt"
|
||||
#1682634913
|
||||
nvim "009 - Women Advances in Status.txt"
|
||||
#1682652899
|
||||
cd
|
||||
#1682652903
|
||||
j Socials
|
||||
#1682652907
|
||||
cd
|
||||
#1682653264
|
||||
edit
|
||||
#1682689439
|
||||
j Englis
|
||||
#1682689443
|
||||
v 6
|
||||
#1682689446
|
||||
nvim 6
|
||||
#1682694901
|
||||
.config
|
||||
#1682694915
|
||||
Library
|
||||
#1682694937
|
||||
Application\ Support/
|
||||
#1682694973
|
||||
~
|
||||
#1682694982
|
||||
j Engl
|
||||
#1682694994
|
||||
nvim 6
|
||||
#1682695030
|
||||
m 6 003\ -\ Nature\ Lesson.md
|
||||
#1682695037
|
||||
nvim 6
|
||||
#1682697335
|
||||
~
|
||||
#1682697337
|
||||
.config/
|
||||
#1682697349
|
||||
t 1 2
|
||||
#1682697370
|
||||
/Users/asand/Documents/02\ -\ Personal/03\ -\ Classes/English\ 10/
|
||||
#1682708555
|
||||
~
|
||||
#1682708558
|
||||
.config
|
||||
#1682708572
|
||||
mkdir yabai
|
||||
#1682708605
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Unload the macOS WindowManager process
|
||||
launchctl unload -F /System/Library/LaunchAgents/com.apple.WindowManager.plist > /dev/null 2>&1 &
|
||||
|
||||
sudo yabai --load-sa
|
||||
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
|
||||
yabai -m signal --add event=window_focused action="sketchybar --trigger window_focus"
|
||||
yabai -m signal --add event=display_added action="sleep 2 && $HOME/.config/yabai/create_spaces.sh"
|
||||
yabai -m signal --add event=display_removed action="sleep 1 && $HOME/.config/yabai/create_spaces.sh"
|
||||
yabai -m signal --add event=window_created action="sketchybar --trigger windows_on_spaces"
|
||||
yabai -m signal --add event=window_destroyed action="sketchybar --trigger windows_on_spaces"
|
||||
|
||||
$HOME/.config/yabai/create_spaces.sh
|
||||
|
||||
yabai -m config external_bar all:49:0 \
|
||||
window_border on \
|
||||
mouse_follows_focus off \
|
||||
focus_follows_mouse off \
|
||||
window_zoom_persist off \
|
||||
window_placement second_child \
|
||||
window_topmost off \
|
||||
window_shadow float \
|
||||
window_opacity on \
|
||||
window_opacity_duration 0.15 \
|
||||
active_window_opacity 1.0 \
|
||||
normal_window_opacity 0.95 \
|
||||
window_border_width 2 \
|
||||
window_border_hidpi off \
|
||||
window_border_radius 11 \
|
||||
window_animation_duration 0.22 \
|
||||
active_window_border_color 0xffe1e3e4 \
|
||||
normal_window_border_color 0xff2a2f38 \
|
||||
insert_feedback_color 0xff9dd274 \
|
||||
split_ratio 0.50 \
|
||||
auto_balance off \
|
||||
mouse_modifier fn \
|
||||
mouse_action1 move \
|
||||
mouse_action2 resize \
|
||||
mouse_drop_action swap \
|
||||
\
|
||||
top_padding 10 \
|
||||
bottom_padding 10 \
|
||||
left_padding 10 \
|
||||
right_padding 10 \
|
||||
window_gap 8
|
||||
|
||||
# Exclude problematic apps from being managed:
|
||||
yabai -m rule --add app="^(LuLu|Vimac|Calculator|Software Update|Dictionary|VLC|System Preferences|System Settings|zoom.us|Photo Booth|Archive Utility|Python|LibreOffice|App Store|Steam|Alfred|Activity Monitor)$" manage=off
|
||||
yabai -m rule --add label="Finder" app="^Finder$" title="(Co(py|nnect)|Move|Info|Pref)" manage=off
|
||||
yabai -m rule --add label="Safari" app="^Safari$" title="^(General|(Tab|Password|Website|Extension)s|AutoFill|Se(arch|curity)|Privacy|Advance)$" manage=off
|
||||
yabai -m rule --add label="About This Mac" app="System Information" title="About This Mac" manage=off
|
||||
yabai -m rule --add label="Select file to save to" app="^Inkscape$" title="Select file to save to" manage=off
|
||||
|
||||
yabai -m config layout bsp
|
||||
|
||||
echo "yabai configuration loaded..":qQ:q
|
||||
#1682708615
|
||||
nvim
|
||||
#1682708627
|
||||
nvim yabairc
|
||||
#1682708670
|
||||
fish
|
||||
#1682712011
|
||||
j Socia
|
||||
#1682714306
|
||||
n 010 - Women
|
||||
#1682714323
|
||||
ls -la
|
||||
#1682714332
|
||||
r 24
|
||||
#1682714339
|
||||
r 4
|
||||
#1682714448
|
||||
n "010 - Canada Emerging Autonomy"
|
||||
#1682893493
|
||||
~
|
||||
#1682893498
|
||||
.config
|
||||
#1682893519
|
||||
nvim 4
|
||||
#1682893575
|
||||
nvim calendar.sh
|
||||
#1682893607
|
||||
lf
|
||||
#1682893779
|
||||
nvim 10
|
||||
#1682973972
|
||||
j Eng
|
||||
#1683673327
|
||||
j Bible
|
||||
#1683673393
|
||||
n "P03 - Consecration Notes.md"
|
||||
#1683758231
|
||||
~
|
||||
#1683758233
|
||||
.config
|
||||
#1684368577
|
||||
j Bible
|
||||
#1684450455
|
||||
open 20
|
||||
#1684500183
|
||||
stats
|
||||
#1684500209
|
||||
tips
|
||||
#1684899268
|
||||
nvim 3
|
||||
#1685306423
|
||||
~
|
||||
#1685306489
|
||||
mpv 20
|
||||
#1685306922
|
||||
mpv 18
|
||||
#1685306945
|
||||
mpv 6
|
||||
#1685307380
|
||||
mpv 11
|
||||
#1686890148
|
||||
~
|
||||
#1686890170
|
||||
gpg --import 2
|
||||
#1686890368
|
||||
gpg --import 4
|
||||
#1686890495
|
||||
gpg --import 2
|
||||
#1687120864
|
||||
~
|
||||
#1687120866
|
||||
Down
|
||||
#1687120882
|
||||
npm install -g gatsby-cli
|
||||
#1687120889
|
||||
sudo npm install -g gatsby-cli
|
||||
#1687120927
|
||||
npm install
|
||||
#1688546303
|
||||
http-server .
|
||||
#1688546367
|
||||
http-server
|
||||
#1688985027
|
||||
npm install howler
|
||||
#1688985032
|
||||
cd node_modules/
|
||||
#1688985215
|
||||
http-server
|
||||
#1689008127
|
||||
mkdir Forte
|
||||
#1689008135
|
||||
t 1
|
||||
#1689008147
|
||||
git clone 'https://github.com/kaangiray26/forte'
|
||||
#1689008168
|
||||
npm run build
|
||||
#1689008205
|
||||
brew install vite
|
||||
#1689008344
|
||||
npm run build
|
||||
#1689008354
|
||||
brew remove vite
|
||||
#1689008360
|
||||
npm install vite
|
||||
#1689008403
|
||||
npm run build
|
||||
#1689008407
|
||||
npm help
|
||||
#1689008413
|
||||
npm install
|
||||
#1689008420
|
||||
fish
|
||||
#1700142747
|
||||
~
|
||||
#1700142765
|
||||
ls
|
||||
#1700142770
|
||||
ls -la
|
||||
#1700142785
|
||||
fish
|
||||
#1700263351
|
||||
../..
|
||||
#1700263373
|
||||
ffmpeg -i 46 jesus-strong-and-kind.wav
|
||||
#1700541724
|
||||
mkdir Daniel\ Camporee
|
||||
#1700541735
|
||||
ytmd 'https://www.youtube.com/watch?v=KdLD7XMhVE8&list=OLAK5uy_kyjcPYNwqyrpgsiPSfwE88IlLnJLWl3KA&index=4'
|
||||
#1700716933
|
||||
~
|
||||
#1700716960
|
||||
fish
|
||||
#1702946294
|
||||
~
|
||||
#1704306253
|
||||
hh
|
||||
#1704306302
|
||||
t 1
|
||||
#1704306314
|
||||
t 2
|
||||
#1704306317
|
||||
t 4
|
||||
#1704306362
|
||||
t 3
|
||||
#1704306370
|
||||
t 1
|
||||
#1704306372
|
||||
v 1
|
||||
#1704306377
|
||||
nvim 1
|
||||
#1704306428
|
||||
t 2 3
|
||||
#1704306447
|
||||
t 2
|
||||
#1704306465
|
||||
./net_test
|
||||
#1704306485
|
||||
hh
|
||||
#1704306638
|
||||
t 3
|
||||
#1704306666
|
||||
t 4
|
||||
#1704306861
|
||||
t 5
|
||||
#1704308565
|
||||
hh
|
|
@ -0,0 +1,46 @@
|
|||
1:1704306013:1704306013:/Users/asand/Music/StemRoller/Once Again (Finale) [bAO53Jhju2M]-156e91a2749716dd
|
||||
1:1704306013:1704306013:/Users/asand/Music/StemRoller
|
||||
1:1704306013:1704306013:/Users/asand/Music
|
||||
1:1704306013:1704306013:/Users/asand/Documents/05 - Saved Content/000 - Music/1 - Audio/Daniel Camporee
|
||||
1:1704306013:1704306013:/Users/asand/Documents/05 - Saved Content/000 - Music/1 - Audio
|
||||
1:1704306013:1704306013:/Users/asand/Documents/05 - Saved Content/000 - Music
|
||||
1:1704306013:1704306013:/Users/asand/Documents/05 - Saved Content
|
||||
1:1704306013:1704306013:/Users/asand/Documents/05 - Saved Content/000 - YouTube
|
||||
1:1704306013:1704306013:/Users/asand/Documents
|
||||
1:1704306013:1704306013:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website
|
||||
1:1704306013:1704306013:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs
|
||||
1:1704306013:1704306013:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules
|
||||
1:1704306013:1704306013:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules/howler
|
||||
1:1704306013:1704306013:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Website/node_modules/howler/dist
|
||||
1:1704306013:1704306013:/Users/asand/Documents/01 - Projects/2 - Progress
|
||||
1:1704306013:1704306013:/Users/asand/Downloads/fullstack-hy2020.github.io-source
|
||||
1:1704306013:1704306013:/Users/asand/Downloads
|
||||
1:1704306013:1704306013:/Users/asand/Documents/02 - Personal/00 - Me/09 - Keys
|
||||
1:1704306013:1704306013:/Users/asand/Documents/02 - Personal/00 - Me
|
||||
1:1704306013:1704306013:/Users/asand/Documents/02 - Personal
|
||||
1:1704306013:1704306013:/Users/asand/.config/sketchybar/items
|
||||
1:1704306013:1704306013:/Users/asand/.config/sketchybar
|
||||
1:1704306013:1704306013:/Users/asand/Documents/02 - Personal/03 - Classes/Bible 10
|
||||
1:1704306013:1704306013:/Users/asand/.config/yabai
|
||||
1:1704306013:1704306013:/Users/asand/.config
|
||||
1:1704306013:1704306013:/Users/asand/Documents/02 - Personal/03 - Classes
|
||||
1:1704306013:1704306013:/Users/asand/Documents/02 - Personal/03 - Classes/English 10
|
||||
1:1704306013:1704306013:/Users/asand/Documents/02 - Personal/03 - Classes/Socials 10
|
||||
3:1704306025:1704306815:/Users/asand/clone/dotfiles
|
||||
1:1704306025:1704306025:/Users/asand/server
|
||||
1:1704306025:1704306025:/Users/asand
|
||||
1:1704306025:1704306025:/Users/asand/clone
|
||||
1:1704306025:1704306025:/Users/asand/Documents/05 - Saved Content/000 - YouTube/004 Spoken Gospel
|
||||
1:1704306025:1704306025:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/forte/client
|
||||
1:1704306025:1704306025:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/forte
|
||||
1:1704306025:1704306025:/Users/asand/Documents/01 - Projects/2 - Progress/023 - Scripture Songs/Forte
|
||||
1:1704306025:1704306025:/Users/asand/Documents/01 - Projects
|
||||
2:1704306481:1704306488:/Users/asand/clone/dotfiles/scripts
|
||||
1:1704306481:1704306481:/Users/asand/clone/dotfiles/.local
|
||||
1:1704306481:1704306481:/Users/asand/clone/dotfiles/.local/share
|
||||
1:1704306481:1704306481:/Users/asand/clone/dotfiles/.local/share/gnome-shell
|
||||
1:1704306481:1704306481:/Users/asand/clone/dotfiles/.local/share/applications
|
||||
1:1704306481:1704306481:/Users/asand/clone/dotfiles/.git
|
||||
2:1704306481:1704308569:/Users/asand/clone/dotfiles/.config
|
||||
1:1704306481:1704306481:/Users/asand/server/matrix-docker-ansible-deploy
|
||||
@39500
|
|
@ -0,0 +1,138 @@
|
|||
###################################
|
||||
# Configuration file for Lira #
|
||||
# CliFM's resource opener #
|
||||
###################################
|
||||
|
||||
# Commented and blank lines are omitted
|
||||
|
||||
# The below settings cover the most common filetypes
|
||||
# It is recommended to edit this file placing your prefered applications
|
||||
# at the beginning of the apps list to speed up the opening process
|
||||
|
||||
# The file is read top to bottom and left to right; the first existent
|
||||
# application found will be used
|
||||
|
||||
# Applications defined here are NOT desktop files, but commands (arguments
|
||||
# could be used as well). Bear in mind that these commands will be executed
|
||||
# directly without shell intervention, so that no shell goodies (like pipes,
|
||||
# conditions, loops, etc) are available. In case you need something more
|
||||
# complex than a single command (including shell capabilities) write your
|
||||
# own script and place the path to the script in place of the command.
|
||||
# For example: X:^text/.*:~/scripts/my_cool_script.sh
|
||||
|
||||
# Applications defined here are NOT desktop files, but commands (arguments
|
||||
# could be used as well). Write you own handmade scripts to open specific
|
||||
# files if necessary. Ex: X:^text/.*:~/scripts/my_cool_script.sh
|
||||
|
||||
# Use 'X' to specify a GUI environment and '!X' for non-GUI environments,
|
||||
# like the kernel built-in console or a remote SSH session.
|
||||
|
||||
# Use 'N' to match file names instead of MIME types.
|
||||
|
||||
# Regular expressions are allowed for both file types and file names.
|
||||
|
||||
# Use the %f placeholder to specify the position of the file name to be
|
||||
# opened in the command. Example:
|
||||
# 'mpv %f --terminal=no' -> 'mpv FILE --terminal=no'
|
||||
# If %f is not specified, the file name will be added to the end of the
|
||||
# command. Ex: 'mpv --terminal=no' -> 'mpv --terminal=no FILE'
|
||||
|
||||
# Running the opening application in the background:
|
||||
# For GUI applications:
|
||||
# APP %f &
|
||||
# For terminal applications:
|
||||
# TERM -e APP %f &
|
||||
# Replace 'TERM' and 'APP' by the corresponding values. The -e option
|
||||
# might vary depending on the terminal emulator used (TERM)
|
||||
|
||||
# Note on graphical applications: If the opening application is already
|
||||
# running, the file will be opened, usually in a new tab, and CliFM won't
|
||||
# wait for the file to be closed (because the procecss already returned).
|
||||
# To avoid this, instruct the application to run a new instance. For example:
|
||||
# geany -i, gedit -s, kate -n, pluma --new-window, and so on.
|
||||
|
||||
# To silence STDERR and/or STDOUT use !E and !O respectivelly (they could
|
||||
# be used together). Examples:
|
||||
# Silence STDERR only and run in the foreground:
|
||||
# mpv %f !E
|
||||
# Silence both (STDERR and STDOUT) and run in the background:
|
||||
# mpv %f !EO &
|
||||
# or
|
||||
# mpv %f !E !O &
|
||||
|
||||
# Environment variables could be used as well. Example:
|
||||
# X:text/plain=$EDITOR %f &;$VISUAL;nano;vi
|
||||
|
||||
# Use Ranger's rifle (or whatever opener you prefer) to open all files
|
||||
#.*=rifle
|
||||
|
||||
###########################
|
||||
# File names/extensions #
|
||||
###########################
|
||||
|
||||
# Match a full file name
|
||||
#X:N:some_filename=cmd
|
||||
|
||||
# Match all file names starting with 'str'
|
||||
#X:N:^str.*=cmd
|
||||
|
||||
# Match files with extension 'ext'
|
||||
#X:N:.*\.ext$=cmd
|
||||
|
||||
X:N:.*\.djvu$=djview;zathura;xreader;evince;atril
|
||||
X:N:.*\.epub$=mupdf;zathura;xreader;ebook-viewer;FBReader;foliate
|
||||
X:N:.*\.mobi$=ebook-viewer;FBReader;foliate
|
||||
X:N:.*\.(cbr|cbz)$=mcomix;xreader;YACReader;qcomicbook;zathura;foliate
|
||||
X:N:(.*\.clifm$|clifmrc)=$EDITOR;$VISUAL;kak;micro;nvim;vim;vi;mg;emacs;ed;nano;mili;leafpad;mousepad;featherpad;gedit -s;kate -n;pluma --new-window
|
||||
!X:N:(.*\.clifm$|clifmrc)=$EDITOR;$VISUAL;kak;micro;nvim;vim;vi;mg;emacs;ed;nano
|
||||
|
||||
##################
|
||||
# MIME types #
|
||||
##################
|
||||
|
||||
# Directories - only for the open-with command (ow) and the --open command
|
||||
# line option
|
||||
# In graphical environments directories will be opened in a new window
|
||||
X:inode/directory=xterm -e clifm %f &;xterm -e vifm %f &;pcmanfm %f &;thunar %f &;xterm -e ncdu %f &
|
||||
!X:inode/directory=vifm;ranger;nnn;ncdu
|
||||
|
||||
# Web content
|
||||
X:^text/html$=$BROWSER;surf;vimprobable;vimprobable2;qutebrowser;dwb;jumanji;luakit;uzbl;uzbl-tabbed;uzbl-browser;uzbl-core;iceweasel;midori;opera;firefox;seamonkey;brave;chromium-browser;chromium;google-chrome;epiphany;konqueror;elinks;links2;links;lynx;w3m
|
||||
!X:^text/html$=$BROWSER;elinks;links2;links;lynx;w3m
|
||||
|
||||
# Text
|
||||
#X:^text/x-(c|shellscript|perl|script.python|makefile|fortran|java-source|javascript|pascal)$=geany
|
||||
X:^text/rtf$=libreoffice;soffice;ooffice
|
||||
X:(^text/.*|application/json|inode/x-empty)=$EDITOR;$VISUAL;kak;micro;dte;nvim;vim;vi;mg;emacs;ed;nano;mili;leafpad;mousepad;featherpad;nedit;kate;gedit;pluma;io.elementary.code;liri-text;xed;atom;nota;gobby;kwrite;xedit
|
||||
!X:(^text/.*|application/json|inode/x-empty)=$EDITOR;$VISUAL;kak;micro;dte;nvim;vim;vi;mg;emacs;ed;nano
|
||||
|
||||
# Office documents
|
||||
X:^application/.*(open|office)document.*=libreoffice;soffice;ooffice
|
||||
|
||||
# Archives
|
||||
# Note: 'ad' is CliFM's built-in archives utility (based on atool). Remove it if you
|
||||
# prefer another application
|
||||
X:^application/(zip|gzip|zstd|x-7z-compressed|x-xz|x-bzip*|x-tar|x-iso9660-image)=ad;xarchiver %f &;lxqt-archiver %f &;ark %f &
|
||||
!X:^application/(zip|gzip|zstd|x-7z-compressed|x-xz|x-bzip*|x-tar|x-iso9660-image)=ad
|
||||
|
||||
# PDF
|
||||
X:.*/pdf$=mupdf;sioyek;llpp;lpdf;zathura;mupdf-x11;apvlv;xpdf;xreader;evince;atril;okular;epdfview;qpdfview
|
||||
|
||||
# Images
|
||||
X:^image/gif$=animate;pqiv;sxiv -a;nsxiv -a
|
||||
X:^image/svg=display;inkscape
|
||||
X:^image/.*=sxiv;nsxiv;pqiv;gpicview;qview;qimgv;mirage;ristretto;eog;eom;xviewer;viewnior;nomacs;geeqie;gwenview;gthumb;gimp
|
||||
!X:^image/.*=fim;img2txt;cacaview;fbi;fbv
|
||||
|
||||
# Video and audio
|
||||
X:^video/.*=ffplay;mplayer;mplayer2;mpv;vlc;gmplayer;smplayer;celluloid;qmplayer2;haruna;totem
|
||||
X:^audio/.*=ffplay -nodisp -autoexit;mplayer;mplayer2;mpv;vlc;gmplayer;smplayer;totem
|
||||
|
||||
# Fonts
|
||||
X:^font/.*=fontforge;fontpreview
|
||||
|
||||
# Torrent:
|
||||
X:application/x-bittorrent=rtorrent;transimission-gtk;transmission-qt;deluge-gtk;ktorrent
|
||||
|
||||
# Fallback to another resource opener as last resource
|
||||
.*=xdg-open;mimeo;mimeopen -n;whippet -m;open;linopen;
|
|
@ -0,0 +1,62 @@
|
|||
#####################################
|
||||
# Remotes management file for CliFM #
|
||||
#####################################
|
||||
|
||||
# Blank and commented lines are omitted
|
||||
|
||||
# The syntax is as follows:
|
||||
|
||||
# A name for this remote. It will be used by the 'net' command
|
||||
# and will be available for TAB completion
|
||||
#[work_smb]
|
||||
|
||||
# Comment=My work samba server
|
||||
#Mountpoint=/home/user/.config/clifm/mounts/work_smb
|
||||
|
||||
# Use %m as a placeholder for Mountpoint
|
||||
#MountCmd=mount.cifs //WORK_IP/shared %m -o OPTIONS
|
||||
#UnmountCmd=umount %m
|
||||
|
||||
# Automatically mount this remote at startup
|
||||
#AutoMount=true
|
||||
|
||||
# Automatically unmount this remote at exit
|
||||
#AutoUnmount=true
|
||||
|
||||
# A few examples
|
||||
|
||||
# A. Samba share
|
||||
#[samba_share]
|
||||
#Comment=my samba share
|
||||
#Mountpoint="~/.config/clifm/mounts/samba_share"
|
||||
#MountCmd=sudo mount.cifs //192.168.0.26/resource_name %m -o mapchars,credentials=/etc/samba/credentials/samba_share
|
||||
#UnmountCmd=sudo umount %m
|
||||
#AutoUnmount=false
|
||||
#AutoMount=false
|
||||
|
||||
# B. SSH file system (sshfs)
|
||||
#[my_ssh]
|
||||
#Comment=my ssh
|
||||
#Mountpoint="/media/ssh"
|
||||
#MountCmd=sshfs user@192.168.0.12: %m -C -p 22
|
||||
#UnmountCmd=fusermount3 -u %m
|
||||
#AutoUnmount=false
|
||||
#AutoMount=false
|
||||
|
||||
# C. Mounting a local file system
|
||||
#[local]
|
||||
#Comment=Local filesystem
|
||||
#Mountpoint="/media/extra"
|
||||
#MountCmd=sudo mount -U 1232dsd761278... %m
|
||||
#UnmountCmd=sudo umount %m
|
||||
#AutoUnmount=false
|
||||
#AutoMount=true
|
||||
|
||||
# D. Mounting a removable device
|
||||
#[USB]
|
||||
#Comment=My USB drive
|
||||
#Mountpoint="/media/usb"
|
||||
#MountCmd=sudo mount -o gid=1000,fmask=113,dmask=002 -U 5647-1... %m
|
||||
#UnmountCmd=sudo umount %m
|
||||
#AutoUnmount=true
|
||||
#AutoMount=false
|
|
@ -0,0 +1,57 @@
|
|||
######################################
|
||||
# Configuration file for Shotgun #
|
||||
# CliFM's file previewer #
|
||||
######################################
|
||||
|
||||
# Commented and blank lines are omitted
|
||||
|
||||
# It is recommended to edit this file setting your preferred applications
|
||||
# first: the previewing process will be smoother and faster this way
|
||||
# You can even remove whatever applications you don't use
|
||||
|
||||
# For syntax details consult the mimelist.clifm file
|
||||
|
||||
# Uncomment this line to use pistol (or any other previewing program)
|
||||
#.*=pistol
|
||||
|
||||
# Uncomment and edit this line to use Ranger's scope script:
|
||||
#.*=/home/USER/.config/ranger/scope.sh %f 120 80 /tmp/clifm/ True
|
||||
|
||||
# Directories
|
||||
inode/directory=exa -a --tree --level=1 --;lsd -A --tree --depth=1 --color=always;tree -a -L 1;ls -Ap --color=always --indicator-style=none;
|
||||
|
||||
# Web content
|
||||
^text/html$=w3m -dump;lynx -dump --;elinks -dump;pandoc -s -t markdown --;
|
||||
|
||||
# Text
|
||||
^text/rtf=catdoc --;
|
||||
N:.*\.json$=jq --color-output . ;python -m json.tool --;
|
||||
N:.*\.md$=glow -s dark --;mdcat --;
|
||||
^text/.*=highlight -f --out-format=xterm256 --force --;bat --style=plain --color=always --;cat --;
|
||||
|
||||
# Office documents
|
||||
N:.*\.xlsx$=xlsx2csv --;file -b --;
|
||||
N:.*\.(odt|ods|odp|sxw)$=odt2txt;pandoc -s -t markdown --;
|
||||
^application/(.*wordprocessingml.document|.*epub+zip|x-fictionbook+xml)=pandoc -s -t markdown --;
|
||||
^application/msword=catdoc --;file -b --;
|
||||
^application/ms-excel=xls2csv --;file -b --;
|
||||
|
||||
# Archives
|
||||
N:.*\.rar=unrar lt -p- --;
|
||||
application/zstd=file -b --;true
|
||||
application/(zip|gzip|x-7z-compressed|x-xz|x-bzip*|x-tar)=atool --list --;bsdtar --list --file;
|
||||
|
||||
# PDF
|
||||
^application/pdf$=pdftotext -l 10 -nopgbrk -q -- %f -;mutool draw -F txt -i --;exiftool;
|
||||
|
||||
# Image, video, and audio
|
||||
^image/vnd.djvu=djvutxt;exiftool;
|
||||
^image/.*=exiftool;
|
||||
^video/.*=mediainfo;exiftool;
|
||||
^audio/.*=mediainfo;exiftool;
|
||||
|
||||
# Torrent:
|
||||
application/x-bittorrent=transmission-show --;
|
||||
|
||||
# Fallback
|
||||
.*=file -b --;true;
|
|
@ -0,0 +1,9 @@
|
|||
# This is CliFM's profile file
|
||||
#
|
||||
# Write here the commands you want to be executed at startup
|
||||
# Ex:
|
||||
#echo "CliFM, the command line file manager"; read -r
|
||||
#
|
||||
# Uncommented, non-empty lines are executed line by line. If you
|
||||
# want a multi-line command, just write a script for it:
|
||||
#sh /path/to/my/script.sh
|
|
@ -0,0 +1,170 @@
|
|||
# This file is part of CliFM
|
||||
|
||||
# Prompts for CliFM
|
||||
|
||||
# Do not edit this file directly: use the 'prompt' command instead
|
||||
|
||||
# The regular prompt (just as the warning one, a secondary prompt used
|
||||
# to highlight invalid/non-existent command names) is built using command
|
||||
# substitution ($(cmd)), string literals and/or one or more of the
|
||||
# following escape sequences:
|
||||
|
||||
# The prompt line is build using command substitution ($(cmd)), string
|
||||
# literals and/or the following escape sequences:
|
||||
#
|
||||
# \e: Escape character
|
||||
# \u: The username
|
||||
# \H: The full hostname
|
||||
# \h: The hostname, up to the first dot (.)
|
||||
# \s: The name of the shell (everything after the last slash) currently
|
||||
# used by CliFM
|
||||
# \S: Current workspace number (colored according to wsx code in the color
|
||||
# scheme file)
|
||||
# \l: Print an L if running in light mode
|
||||
# \P: The current profile name
|
||||
# \n: A newline character
|
||||
# \r: A carriage return
|
||||
# \a: A bell character
|
||||
# \d: The date, in abbreviated form (ex: Tue May 26)
|
||||
# \t: The time, in 24-hour HH:MM:SS format
|
||||
# \T: The time, in 12-hour HH:MM:SS format
|
||||
# \@: The time, in 12-hour am/pm format
|
||||
# \A: The time, in 24-hour HH:MM format
|
||||
# \w: The full current working directory, with $HOME abbreviated with a
|
||||
# tilde
|
||||
# \W: The basename of $PWD, with $HOME abbreviated with a tilde
|
||||
# \p: A mix of the two above, it abbreviates the current working directory
|
||||
# only if longer than PathMax (a value defined in the configuration
|
||||
# file).
|
||||
# \z: Exit code of the last executed command (printed in green in case of
|
||||
# success and in bold red in case of error)
|
||||
# \$: #, if the effective user ID is 0 (root), and $ otherwise
|
||||
# \nnn: The character whose ASCII code is the octal value nnn
|
||||
# \\: A literal backslash
|
||||
# \[: Begin a sequence of non-printing characters. This is mostly used to
|
||||
# add color to the prompt line (using full ANSI escape sequences)
|
||||
# \]: End a sequence of non-printing characters
|
||||
#
|
||||
# The following files statistics escape sequences are available as well:
|
||||
#
|
||||
# \D: Amount of sub-directories in the current directory
|
||||
# \R: Amount of regular files in the current directory
|
||||
# \X: Amount of executable files in the current directory
|
||||
# \.: Amount of hidden files in the current directory
|
||||
# \U: Amount of SUID files in the current directory
|
||||
# \G: Amount of SGID files in the current directory
|
||||
# \F: Amount of FIFO/pipe files in the current directory
|
||||
# \K: Amount of socket files in the current directory
|
||||
# \B: Amount of block device files in the current directory
|
||||
# \C: Amount of character device files in the current directory
|
||||
# \x: Amount of files with capabilities in the current directory
|
||||
# \L: Amount of symbolic links in the current directory
|
||||
# \o: Amount of broken symbolic links in the current directory
|
||||
# \M: Amount of multi-link files in the current directory
|
||||
# \E: Amount of files with extended attributes in the current directory
|
||||
# \O: Amount of other-writable files in the current directory
|
||||
# \": Amount of files with the sticky bit set in the current directory
|
||||
# \?: Amount of files of unknown file type in the current directory
|
||||
# \!: Amount of unstatable files in the current directory
|
||||
|
||||
# Escape codes to control prompt notifications:
|
||||
#
|
||||
# \*: An asterisk + amount of selected files (e.g. *12)
|
||||
# \%: 'T' + amount of trashed files (e.g. T3)
|
||||
# \#: Print an 'R' if running as root
|
||||
# \(: 'E' + amount of error messages (e.g. E2)
|
||||
# \): 'W' + amount of warning messages (e.g. W2)
|
||||
# \=: 'N' + amount of notice messages (e.g. N1)
|
||||
#
|
||||
# NOTE: Except in the case of \#, nothing is printed if the corresponding
|
||||
# number is zero (no selected files, no trashed files, and so on)
|
||||
|
||||
# Unicode characters could be inserted by directly pasting the
|
||||
# corresponding char, or by inserting its hex code:
|
||||
# echo -ne "paste_your_char" | hexdump -C
|
||||
|
||||
# Set Notifications to false to prevent the automatic insertion of
|
||||
# root, trash, messages (error, warning, and notice), and selected files
|
||||
# indicators at the left of the prompt, in which case the prompt code
|
||||
# should handle itself this data using the appropriate escape codes
|
||||
|
||||
# To permanetly set any of the below prompts edit your color scheme file
|
||||
# (via the 'cs edit' command), set Prompt to either the prompt code or
|
||||
# the prompt name you want (e.g. Prompt="classic"), and comment out the
|
||||
# remaining prompt lines
|
||||
#
|
||||
# NOTE: Since the below prompts have been designed for CliFM's default
|
||||
# color scheme, you might need to edit the one you choose manually to
|
||||
# make it fit your current color scheme. For example, the last color
|
||||
# used in the warning prompt should match the 'wp' color defined in your
|
||||
# color scheme file
|
||||
|
||||
[clifm]
|
||||
Notifications=true
|
||||
RegularPrompt="\[\e[0m\][\[\e[0;36m\]\S\[\e[0m\]]\l \A \u:\H \[\e[0;36m\]\w\n\[\e[0m\]<\z\[\e[0m\]> \[\e[0;34m\]\$ \[\e[0m\]"
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[00;02;31m\](!) > "
|
||||
|
||||
#[clifm-colorless]
|
||||
#Notifications=true
|
||||
#RegularPrompt="\[\e[0m\][\S]\l \A \u:\H \w\n<\z\[\e[0m\]> \$ "
|
||||
#EnableWarningPrompt=true
|
||||
#WarningPrompt="(!) > "
|
||||
|
||||
[clifm-box-drawing]
|
||||
# The box drawing set isn't supported by all terminals
|
||||
Notifications=false
|
||||
RegularPrompt="\[\e[0m\]\[\e[0;36m\]\[\e(0\]lq\[\e(B\]\[\e[0;31m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[0m\][\S\[\e[0m\]]\l \A \u:\H \[\e[0;36m\]\w\n\[\e[0;36m\]\[\e(0\]mq\[\e(B\]\[\e[0m\]<\z\[\e[0m\]> \[\e[0;34m\]\$ \[\e[0m\]"
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[0;36m\]\[\e(0\]mq\[\e(B\]\[\e[0m\]<\z\[\e[0m\]> \[\e[1;31m\]\! \[\e[00;02;31m\]"
|
||||
|
||||
[classic]
|
||||
Notifications=true
|
||||
RegularPrompt="\[\e[1;32m\][\u@\H] \[\e[1;34m\]\w \[\e[0m\]\$ "
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[1;32m\][\u@\H] \[\e[1;34m\]\w \[\e[1;31m\]! \[\e[00;02;31m\]"
|
||||
|
||||
[security-scanner]
|
||||
# Print file statistics about the current directory (-:-:-:-) in this order:
|
||||
# SUID, SGID, other-writable, and executable files
|
||||
Notifications=true
|
||||
RegularPrompt="\[\e[0m\][\[\e[0;36m\]\S\[\e[0m\]]\l \[\e[0m\]\[\e[1;31m\]\U\[\e[0m\]:\[\e[1;33m\]\G\[\e[0m\]:\[\e[1;34m\]\O\[\e[0m\]:\[\e[1;32m\]\X\[\e[0m\] \A \[\e[0;36m\]\w\n\[\e[0m\]<\z\[\e[0m\]> \[\e[0;34m\]\$ \[\e[0m\]"
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[00;02;31m\](!) > "
|
||||
|
||||
[curves]
|
||||
Notifications=false
|
||||
RegularPrompt="\[\e[00;01;32m\]╭─\[\e[0m\]\[\e[1;32m\]\*\[\e[1;36m\]\%\[\e[1;31m\]\(\[\e[1;33m\]\)\[\e[1;32m\]\=\[\e[0m\][\S\[\e[0m\]]\[\e[01;32m\]─\[\e[0m\](\u:\H)\[\e[01;32m\]─\[\e[0m\][\[\e[00;36m\]\w\[\e[0m\]]\n\[\e[01;32m\]╰─\[\e[1;0m\]<\z\[\e[0m\]> \[\e[34m\]λ\[\e[0m\] "
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[0m\]\[\e[01;32m\]╰─\[\e[1;0m\]<\z\[\e[0m\]> \[\e[0;31m\]λ\[\e[00;02;31m\] "
|
||||
|
||||
# The prompts below require a patched Nerdfont
|
||||
[firestarter]
|
||||
Notifications=false
|
||||
RegularPrompt="\[\e[01;38;5;124m\]╭─\[\e[38;5;124m\]\[\e[37;48;5;124m\]\[\e[1;37m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[37m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[00;37;48;5;124m\][\S\[\e[37;48;5;124m\]] \[\e[0;48;5;124m\]\A \[\e[00;38;5;124;43m\]\[\e[00;30;43m\] \u:\H \[\e[00;33;48;5;124m\]\[\e[00;37;48;5;124m\] \w \[\e[00;38;5;124m\]\[\e[0m\]\n\[\e[01;38;5;124m\]╰─▶ \[\e[0m\]"
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[00;01;38;5;124m\]╰─\[\e[0;38;5;124m\]▶ \[\e[00;02;31m\]"
|
||||
|
||||
[cold-winter]
|
||||
Notifications=false
|
||||
RegularPrompt="\[\e[00;37;100m\]\[\e[1;31m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[0;37;100m\][\S\[\e[00;37;100m\]] \A \[\e[00;90;46m\] \[\e[0;30;46m\]\u:\H \[\e[0;36;100m\] \[\e[00;37;100m\]\w \[\e[00;90;40m\] \n \[\e[1;90m\]\[\e[0m\] "
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt=" \[\e[0m\]\[\e[1;2;31m\] \[\e[00;02;31m\]"
|
||||
|
||||
[spot]
|
||||
Notifications=false
|
||||
RegularPrompt="\[\e[00;38;5;0;48;5;53m\] \[\e[31m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[34m\]\)\[\e[32m\]\=\[\e[00;37;48;5;53m\][\S\[\e[37m\]] \[\e[38;5;53;48;5;178m\] \[\e[00;38;5;0;48;5;178m\]\A \u:\H \w \[\e[00;38;5;178;48;5;0m\]\[\e[0;40m\]\n\[\e[0;38;5;254;48;5;53m\] \$ \[\e[0;38;5;53;48;5;0m\] \[\e[0m\] "
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\n\[\e[0;37;48;5;124m\] \x \[\e[0;38;5;124;48;5;0m\] \[\e[00;02;31m\] "
|
||||
|
||||
[artic-particles]
|
||||
Notifications=false
|
||||
RegularPrompt="\[\e[00;37;48;5;18m\] \A \[\e[00;38;5;18;47m\] \u:\H \[\e[00;37;48;5;18m\] \w \[\e[00;38;5;18;40m\] \n\[\e[00;37;48;5;18m\] \$ \[\e[00;38;5;18;40m\] "
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[00;02;31;47m\] \$ \[\e[00;37;0m\] \[\e[00;02;31m\]"
|
||||
|
||||
[green-beret]
|
||||
Notifications=false
|
||||
RegularPrompt="╭─\[\e[0;38;5;239;48;5;0m\]\[\e[0;38;5;15;48;5;239m\]\[\e[31m\]\#\[\e[38;5;76m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[38;5;15m\][\S\[\e[38;5;15m\]] \A \[\e[0;38;5;239;48;5;70m\]\[\e[0;38;5;0;48;5;70m\] \w \[\e[0;38;5;70;48;5;0m\]\n\[\e[0;40m\]╰─\[\e[0;38;5;70;48;5;0m\]▶\[\e[0;40m\] "
|
||||
EnableWarningPrompt=true
|
||||
WarningPrompt="\[\e[0;40m\]╰─\[\e[0;38;5;9;48;5;0m\]▶ \[\e[00;02;31m\]"
|
|
@ -0,0 +1,77 @@
|
|||
# Readline keybindings for CliFM
|
||||
|
||||
# For the complete list of Readline options see:
|
||||
# https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html#Readline-Init-File-Syntax
|
||||
|
||||
#$include /etc/inputrc
|
||||
|
||||
# Color files by types
|
||||
set colored-stats on
|
||||
# Append char to indicate type
|
||||
set visible-stats on
|
||||
# Mark symlinked directories
|
||||
set mark-symlinked-directories on
|
||||
# Color the common prefix
|
||||
set colored-completion-prefix on
|
||||
# Color the common prefix in menu-complete
|
||||
set menu-complete-display-prefix on
|
||||
# Disable paste protection
|
||||
set enable-bracketed-paste on
|
||||
|
||||
set show-all-if-ambiguous on
|
||||
set completion-ignore-case on
|
||||
|
||||
set meta-flag on
|
||||
set input-meta on
|
||||
set output-meta on
|
||||
|
||||
$if mode=emacs
|
||||
|
||||
# For linux console and RH/Debian xterm
|
||||
"\e[5C": forward-word
|
||||
"\e[5D": backward-word
|
||||
"\e\e[C": forward-word
|
||||
"\e\e[D": backward-word
|
||||
"\e[1;5C": forward-word
|
||||
"\e[1;5D": backward-word
|
||||
|
||||
# For rxvt
|
||||
"\x1b\x4f\x64": backward-word
|
||||
"\x1b\x4f\x63": forward-word
|
||||
|
||||
# A few keybinds to avoid conflicts with CliFM specific keybinds
|
||||
"\C-d":
|
||||
"\e\e":
|
||||
"\C-r\C-r": re-read-init-file
|
||||
"\C-zA": do-lowercase-version
|
||||
"\C-zB": do-lowercase-version
|
||||
"\C-zC": do-lowercase-version
|
||||
"\C-zD": do-lowercase-version
|
||||
"\C-zE": do-lowercase-version
|
||||
"\C-zF": do-lowercase-version
|
||||
"\C-zG": do-lowercase-version
|
||||
"\C-zH": do-lowercase-version
|
||||
"\C-zI": do-lowercase-version
|
||||
"\C-zJ": do-lowercase-version
|
||||
"\C-zK": do-lowercase-version
|
||||
"\C-zL": do-lowercase-version
|
||||
"\C-zM": do-lowercase-version
|
||||
"\C-zN": do-lowercase-version
|
||||
"\C-zO": do-lowercase-version
|
||||
"\C-zP": do-lowercase-version
|
||||
"\C-zQ": do-lowercase-version
|
||||
"\C-zR": do-lowercase-version
|
||||
"\C-zS": do-lowercase-version
|
||||
"\C-zT": do-lowercase-version
|
||||
"\C-zU": do-lowercase-version
|
||||
"\C-zV": do-lowercase-version
|
||||
"\C-zW": do-lowercase-version
|
||||
"\C-zX": do-lowercase-version
|
||||
"\C-zY": do-lowercase-version
|
||||
"\C-zZ": do-lowercase-version
|
||||
|
||||
# History completion based on prefix
|
||||
#"\e[A": history-search-backward
|
||||
#"\e[B": history-search-forward
|
||||
|
||||
$endif
|
Binary file not shown.
|
@ -1 +0,0 @@
|
|||
brave-flags.conf
|
|
@ -1,10 +1,8 @@
|
|||
# MacOS
|
||||
# export PATH=$HOME/Library/Python/3.8/bin:/opt/homebrew/bin:/usr/local/bin:/usr/local/sbin:$HOME/bin:/usr/local/git/bin:$PATH
|
||||
alias l="exa"
|
||||
alias v="nvim"
|
||||
cowspeak -bbl=o -f=/usr/share/cowspeak/arts/cow.art -t="$(quote)"
|
||||
set ANSIBLE_NOCOWS 1
|
||||
if status is-interactive
|
||||
# Commands to run in interactive sessions can go here
|
||||
|
||||
end
|
||||
|
||||
fish_add_path /Users/asand/.cargo/bin
|
||||
fish_add_path /Users/asand/scripts
|
||||
alias v=nvim
|
||||
alias c=clifm
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:4c566a
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_cancel:\x2d\x2dreverse
|
||||
SETUVAR fish_color_command:81a1c1
|
||||
SETUVAR fish_color_comment:434c5e
|
||||
SETUVAR fish_color_cwd:green
|
||||
|
@ -12,10 +12,12 @@ SETUVAR fish_color_error:ebcb8b
|
|||
SETUVAR fish_color_escape:00a6b2
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_host_remote:\x1d
|
||||
SETUVAR fish_color_keyword:\x1d
|
||||
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:00a6b2
|
||||
SETUVAR fish_color_option:\x1d
|
||||
SETUVAR fish_color_param:eceff4
|
||||
SETUVAR fish_color_quote:a3be8c
|
||||
SETUVAR fish_color_redirection:b48ead
|
||||
|
@ -26,8 +28,17 @@ SETUVAR fish_color_user:brgreen
|
|||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_background:\x1d
|
||||
SETUVAR fish_pager_color_completion:normal
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||
SETUVAR fish_pager_color_description:B3A06D
|
||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
SETUVAR fish_pager_color_secondary_background:\x1d
|
||||
SETUVAR fish_pager_color_secondary_completion:\x1d
|
||||
SETUVAR fish_pager_color_secondary_description:\x1d
|
||||
SETUVAR fish_pager_color_secondary_prefix:\x1d
|
||||
SETUVAR fish_pager_color_selected_background:\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_pager_color_selected_completion:\x1d
|
||||
SETUVAR fish_pager_color_selected_description:\x1d
|
||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||
SETUVAR fish_user_paths:/Users/asand/\x2ecargo/bin\x1e/Users/asand/scripts
|
||||
|
|
|
@ -60,7 +60,7 @@ function fish_prompt
|
|||
set_color -o white
|
||||
echo -n @
|
||||
|
||||
if [ -z "$SSH_CLIENT" ]
|
||||
if test -z "$SSH_CLIENT"
|
||||
set_color -o blue
|
||||
else
|
||||
set_color -o cyan
|
||||
|
@ -115,7 +115,7 @@ function fish_prompt
|
|||
# Battery status
|
||||
type -q acpi
|
||||
and test (acpi -a 2> /dev/null | string match -r off)
|
||||
and _nim_prompt_wrapper $retc B (acpi -b | cut -d' ' -f 4- | tail -n 1)
|
||||
and _nim_prompt_wrapper $retc B (acpi -b | cut -d' ' -f 4-)
|
||||
|
||||
# New line
|
||||
echo
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<cphistory>
|
||||
<operations />
|
||||
<params />
|
||||
</cphistory>
|
|
@ -1,21 +0,0 @@
|
|||
[Windows]
|
||||
Count=1
|
||||
|
||||
[Window0Column0]
|
||||
Notebook0Dialogs=216;210;209;
|
||||
Notebook1Dialogs=230;
|
||||
NotebookCount=2
|
||||
BeforeCanvas=false
|
||||
|
||||
[Window0]
|
||||
ColumnCount=1
|
||||
Floating=false
|
||||
|
||||
[transient]
|
||||
state1=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=208;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=45\ny=29\nwidth=924\nheight=765\n
|
||||
dialogs1=208;
|
||||
state2=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=233;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=45\ny=29\nwidth=364\nheight=520\n
|
||||
dialogs2=233;
|
||||
state3=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=236;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=45\ny=29\nwidth=433\nheight=520\n
|
||||
dialogs3=236;
|
||||
count=3
|
|
@ -1,12 +0,0 @@
|
|||
Extension "XFIG Input" failed to load because a dependency was not met.
|
||||
Dependency:
|
||||
type: executable
|
||||
location: path
|
||||
string: fig2dev
|
||||
|
||||
Extension "Export to PDF via Scribus" failed to load because a dependency was not met.
|
||||
Dependency:
|
||||
type: executable
|
||||
location: path
|
||||
string: scribus
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<keys
|
||||
name="User Shortcuts">
|
||||
<bind
|
||||
key="Up"
|
||||
modifiers="Ctrl"
|
||||
action="SelectionRaise"
|
||||
display="true" />
|
||||
<bind
|
||||
key="Down"
|
||||
modifiers="Ctrl"
|
||||
action="SelectionLower"
|
||||
display="true" />
|
||||
</keys>
|
|
@ -1,77 +0,0 @@
|
|||
#Inkscape page sizes
|
||||
#NAME, WIDTH, HEIGHT, UNIT
|
||||
A4, 210, 297, mm
|
||||
US Letter, 8.5, 11, in
|
||||
US Legal, 8.5, 14, in
|
||||
US Executive, 7.25, 10.5, in
|
||||
US Ledger/Tabloid, 11, 17, in
|
||||
A0, 841, 1189, mm
|
||||
A1, 594, 841, mm
|
||||
A2, 420, 594, mm
|
||||
A3, 297, 420, mm
|
||||
A5, 148, 210, mm
|
||||
A6, 105, 148, mm
|
||||
A7, 74, 105, mm
|
||||
A8, 52, 74, mm
|
||||
A9, 37, 52, mm
|
||||
A10, 26, 37, mm
|
||||
B0, 1000, 1414, mm
|
||||
B1, 707, 1000, mm
|
||||
B2, 500, 707, mm
|
||||
B3, 353, 500, mm
|
||||
B4, 250, 353, mm
|
||||
B5, 176, 250, mm
|
||||
B6, 125, 176, mm
|
||||
B7, 88, 125, mm
|
||||
B8, 62, 88, mm
|
||||
B9, 44, 62, mm
|
||||
B10, 31, 44, mm
|
||||
C0, 917, 1297, mm
|
||||
C1, 648, 917, mm
|
||||
C2, 458, 648, mm
|
||||
C3, 324, 458, mm
|
||||
C4, 229, 324, mm
|
||||
C5, 162, 229, mm
|
||||
C6, 114, 162, mm
|
||||
C7, 81, 114, mm
|
||||
C8, 57, 81, mm
|
||||
C9, 40, 57, mm
|
||||
C10, 28, 40, mm
|
||||
D1, 545, 771, mm
|
||||
D2, 385, 545, mm
|
||||
D3, 272, 385, mm
|
||||
D4, 192, 272, mm
|
||||
D5, 136, 192, mm
|
||||
D6, 96, 136, mm
|
||||
D7, 68, 96, mm
|
||||
E3, 400, 560, mm
|
||||
E4, 280, 400, mm
|
||||
E5, 200, 280, mm
|
||||
E6, 140, 200, mm
|
||||
CSE, 462, 649, pt
|
||||
US #10 Envelope, 9.5, 4.125, in
|
||||
DL Envelope, 220, 110, mm
|
||||
Banner 468x60, 468, 60, px
|
||||
Icon 16x16, 16, 16, px
|
||||
Icon 32x32, 32, 32, px
|
||||
Icon 48x48, 48, 48, px
|
||||
ID Card (ISO 7810), 85.60, 53.98, mm
|
||||
Business Card (US), 3.5, 2, in
|
||||
Business Card (Europe), 85, 55, mm
|
||||
Business Card (AU/NZ), 90, 55, mm
|
||||
Arch A, 9, 12, in
|
||||
Arch B, 12, 18, in
|
||||
Arch C, 18, 24, in
|
||||
Arch D, 24, 36, in
|
||||
Arch E, 36, 48, in
|
||||
Arch E1, 30, 42, in
|
||||
Video SD / PAL, 768, 576, px
|
||||
Video SD-Widescreen / PAL, 1024, 576, px
|
||||
Video SD / NTSC, 544, 480, px
|
||||
Video SD-Widescreen / NTSC, 872, 486, px
|
||||
Video HD 720p, 1280, 720, px
|
||||
Video HD 1080p, 1920, 1080, px
|
||||
Video DCI 2k (Full Frame), 2048, 1080, px
|
||||
Video UHD 4k, 3840, 2160, px
|
||||
Video DCI 4k (Full Frame), 4096, 2160, px
|
||||
Video UHD 8k, 7680, 4320, px
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1 @@
|
|||
save-position-on-quit
|
|
@ -1,43 +0,0 @@
|
|||
{
|
||||
"float": [
|
||||
{
|
||||
"class": "pop-shell-example",
|
||||
"title": "pop-shell-example"
|
||||
},
|
||||
{
|
||||
"class": "albert",
|
||||
"title": "albert — Albert"
|
||||
},
|
||||
{
|
||||
"class": "wofi",
|
||||
"title": "drun"
|
||||
},
|
||||
{
|
||||
"class": "VirtualBox Manager"
|
||||
},
|
||||
{
|
||||
"class": "obs",
|
||||
"title": "Windowed Projector (Preview)"
|
||||
},
|
||||
{
|
||||
"class": "X32-Edit"
|
||||
},
|
||||
{
|
||||
"class": "pensela"
|
||||
},
|
||||
{
|
||||
"class": "lmms"
|
||||
},
|
||||
{
|
||||
"class": "wofi"
|
||||
},
|
||||
{
|
||||
"class": "wofi",
|
||||
"title": "dmenu"
|
||||
}
|
||||
],
|
||||
"skiptaskbarhidden": [],
|
||||
"log_on_focus": false,
|
||||
"move_pointer_on_switch": false,
|
||||
"default_pointer_position": "TOP_LEFT"
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Color Palette
|
||||
export BLACK=0xff181926
|
||||
export WHITE=0xffcad3f5
|
||||
export RED=0xffed8796
|
||||
export GREEN=0xffa6da95
|
||||
export BLUE=0xff8aadf4
|
||||
export YELLOW=0xffeed49f
|
||||
export ORANGE=0xfff5a97f
|
||||
export MAGENTA=0xffc6a0f6
|
||||
export GREY=0xff939ab7
|
||||
export TRANSPARENT=0x00000000
|
||||
|
||||
# General bar colors
|
||||
export BAR_COLOR=0xff1e1e2e
|
||||
export BAR_BORDER_COLOR=0xff494d64 #0xa024273a
|
||||
export ICON_COLOR=$WHITE # Color of all icons
|
||||
export LABEL_COLOR=$WHITE # Color of all labels
|
||||
export BACKGROUND_1=0x603c3e4f
|
||||
export BACKGROUND_2=0x60494d64
|
||||
|
||||
export POPUP_BACKGROUND_COLOR=0xff1e1e2e
|
||||
export POPUP_BORDER_COLOR=$WHITE
|
||||
|
||||
export SHADOW_COLOR=$BLACK
|
|
@ -0,0 +1,122 @@
|
|||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <mach/mach.h>
|
||||
#include <stdbool.h>
|
||||
#include <time.h>
|
||||
|
||||
#define MAX_TOPPROC_LEN 28
|
||||
|
||||
static const char TOPPROC[] = { "/bin/ps -Aceo pid,pcpu,comm -r" };
|
||||
static const char FILTER_PATTERN[] = { "com.apple." };
|
||||
|
||||
struct cpu {
|
||||
host_t host;
|
||||
mach_msg_type_number_t count;
|
||||
host_cpu_load_info_data_t load;
|
||||
host_cpu_load_info_data_t prev_load;
|
||||
bool has_prev_load;
|
||||
|
||||
char command[256];
|
||||
};
|
||||
|
||||
static inline void cpu_init(struct cpu* cpu) {
|
||||
cpu->host = mach_host_self();
|
||||
cpu->count = HOST_CPU_LOAD_INFO_COUNT;
|
||||
cpu->has_prev_load = false;
|
||||
snprintf(cpu->command, 100, "");
|
||||
}
|
||||
|
||||
static inline void cpu_update(struct cpu* cpu) {
|
||||
kern_return_t error = host_statistics(cpu->host,
|
||||
HOST_CPU_LOAD_INFO,
|
||||
(host_info_t)&cpu->load,
|
||||
&cpu->count );
|
||||
|
||||
if (error != KERN_SUCCESS) {
|
||||
printf("Error: Could not read cpu host statistics.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (cpu->has_prev_load) {
|
||||
uint32_t delta_user = cpu->load.cpu_ticks[CPU_STATE_USER]
|
||||
- cpu->prev_load.cpu_ticks[CPU_STATE_USER];
|
||||
|
||||
uint32_t delta_system = cpu->load.cpu_ticks[CPU_STATE_SYSTEM]
|
||||
- cpu->prev_load.cpu_ticks[CPU_STATE_SYSTEM];
|
||||
|
||||
uint32_t delta_idle = cpu->load.cpu_ticks[CPU_STATE_IDLE]
|
||||
- cpu->prev_load.cpu_ticks[CPU_STATE_IDLE];
|
||||
|
||||
double user_perc = (double)delta_user / (double)(delta_system
|
||||
+ delta_user
|
||||
+ delta_idle);
|
||||
|
||||
double sys_perc = (double)delta_system / (double)(delta_system
|
||||
+ delta_user
|
||||
+ delta_idle);
|
||||
|
||||
double total_perc = user_perc + sys_perc;
|
||||
|
||||
FILE* file;
|
||||
char line[1024];
|
||||
|
||||
file = popen(TOPPROC, "r");
|
||||
if (!file) {
|
||||
printf("Error: TOPPROC command errored out...\n" );
|
||||
return;
|
||||
}
|
||||
|
||||
fgets(line, sizeof(line), file);
|
||||
fgets(line, sizeof(line), file);
|
||||
|
||||
char* start = strstr(line, FILTER_PATTERN);
|
||||
char topproc[MAX_TOPPROC_LEN + 4];
|
||||
uint32_t caret = 0;
|
||||
for (int i = 0; i < sizeof(line); i++) {
|
||||
if (start && i == start - line) {
|
||||
i+=9;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (caret >= MAX_TOPPROC_LEN && caret <= MAX_TOPPROC_LEN + 2) {
|
||||
topproc[caret++] = '.';
|
||||
continue;
|
||||
}
|
||||
if (caret > MAX_TOPPROC_LEN + 2) break;
|
||||
topproc[caret++] = line[i];
|
||||
if (line[i] == '\0') break;
|
||||
}
|
||||
|
||||
topproc[MAX_TOPPROC_LEN + 3] = '\0';
|
||||
|
||||
pclose(file);
|
||||
|
||||
char color[16];
|
||||
if (total_perc >= .7) {
|
||||
snprintf(color, 16, "%s", getenv("RED"));
|
||||
} else if (total_perc >= .3) {
|
||||
snprintf(color, 16, "%s", getenv("ORANGE"));
|
||||
} else if (total_perc >= .1) {
|
||||
snprintf(color, 16, "%s", getenv("YELLOW"));
|
||||
} else {
|
||||
snprintf(color, 16, "%s", getenv("LABEL_COLOR"));
|
||||
}
|
||||
|
||||
snprintf(cpu->command, 256, "--push cpu.sys %.2f "
|
||||
"--push cpu.user %.2f "
|
||||
"--set cpu.top label='%s' "
|
||||
"--set cpu.percent label=%.0f%% label.color=%s ",
|
||||
sys_perc,
|
||||
user_perc,
|
||||
topproc,
|
||||
total_perc*100.,
|
||||
color );
|
||||
}
|
||||
else {
|
||||
snprintf(cpu->command, 256, "");
|
||||
}
|
||||
|
||||
cpu->prev_load = cpu->load;
|
||||
cpu->has_prev_load = true;
|
||||
}
|
Binary file not shown.
|
@ -0,0 +1,31 @@
|
|||
#include "cpu.h"
|
||||
#include "sketchybar.h"
|
||||
|
||||
struct cpu g_cpu;
|
||||
|
||||
void handler(env env) {
|
||||
// Environment variables passed from sketchybar can be accessed as seen below
|
||||
char* name = env_get_value_for_key(env, "NAME");
|
||||
char* sender = env_get_value_for_key(env, "SENDER");
|
||||
char* info = env_get_value_for_key(env, "INFO");
|
||||
char* selected = env_get_value_for_key(env, "SELECTED");
|
||||
|
||||
if ((strcmp(name, "cpu.percent") == 0)) {
|
||||
// CPU graph updates
|
||||
cpu_update(&g_cpu);
|
||||
|
||||
if (strlen(g_cpu.command) > 0) sketchybar(g_cpu.command);
|
||||
}
|
||||
}
|
||||
|
||||
int main (int argc, char** argv) {
|
||||
cpu_init(&g_cpu);
|
||||
|
||||
if (argc < 2) {
|
||||
printf("Usage: helper \"<bootstrap name>\"\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
event_server_begin(handler, argv[1]);
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
|
||||
helper: helper.c cpu.h sketchybar.h
|
||||
clang -std=c99 -O3 helper.c -o helper
|
|
@ -0,0 +1,227 @@
|
|||
#pragma once
|
||||
|
||||
#include <mach/mach.h>
|
||||
#include <mach/message.h>
|
||||
#include <bootstrap.h>
|
||||
#include <stdlib.h>
|
||||
#include <pthread.h>
|
||||
#include <stdio.h>
|
||||
|
||||
typedef char* env;
|
||||
|
||||
#define MACH_HANDLER(name) void name(env env)
|
||||
typedef MACH_HANDLER(mach_handler);
|
||||
|
||||
struct mach_message {
|
||||
mach_msg_header_t header;
|
||||
mach_msg_size_t msgh_descriptor_count;
|
||||
mach_msg_ool_descriptor_t descriptor;
|
||||
};
|
||||
|
||||
struct mach_buffer {
|
||||
struct mach_message message;
|
||||
mach_msg_trailer_t trailer;
|
||||
};
|
||||
|
||||
struct mach_server {
|
||||
bool is_running;
|
||||
mach_port_name_t task;
|
||||
mach_port_t port;
|
||||
mach_port_t bs_port;
|
||||
|
||||
pthread_t thread;
|
||||
mach_handler* handler;
|
||||
};
|
||||
|
||||
static struct mach_server g_mach_server;
|
||||
static mach_port_t g_mach_port = 0;
|
||||
|
||||
static inline char* env_get_value_for_key(env env, char* key) {
|
||||
uint32_t caret = 0;
|
||||
for(;;) {
|
||||
if (!env[caret]) break;
|
||||
if (strcmp(&env[caret], key) == 0)
|
||||
return &env[caret + strlen(&env[caret]) + 1];
|
||||
|
||||
caret += strlen(&env[caret])
|
||||
+ strlen(&env[caret + strlen(&env[caret]) + 1])
|
||||
+ 2;
|
||||
}
|
||||
return (char*)"";
|
||||
}
|
||||
|
||||
static inline mach_port_t mach_get_bs_port() {
|
||||
mach_port_name_t task = mach_task_self();
|
||||
|
||||
mach_port_t bs_port;
|
||||
if (task_get_special_port(task,
|
||||
TASK_BOOTSTRAP_PORT,
|
||||
&bs_port ) != KERN_SUCCESS) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
mach_port_t port;
|
||||
if (bootstrap_look_up(bs_port,
|
||||
"git.felix.sketchybar",
|
||||
&port ) != KERN_SUCCESS) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
return port;
|
||||
}
|
||||
|
||||
static inline void mach_receive_message(mach_port_t port, struct mach_buffer* buffer, bool timeout) {
|
||||
*buffer = (struct mach_buffer) { 0 };
|
||||
mach_msg_return_t msg_return;
|
||||
if (timeout)
|
||||
msg_return = mach_msg(&buffer->message.header,
|
||||
MACH_RCV_MSG | MACH_RCV_TIMEOUT,
|
||||
0,
|
||||
sizeof(struct mach_buffer),
|
||||
port,
|
||||
100,
|
||||
MACH_PORT_NULL );
|
||||
else
|
||||
msg_return = mach_msg(&buffer->message.header,
|
||||
MACH_RCV_MSG,
|
||||
0,
|
||||
sizeof(struct mach_buffer),
|
||||
port,
|
||||
MACH_MSG_TIMEOUT_NONE,
|
||||
MACH_PORT_NULL );
|
||||
|
||||
if (msg_return != MACH_MSG_SUCCESS) {
|
||||
buffer->message.descriptor.address = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
static inline char* mach_send_message(mach_port_t port, char* message, uint32_t len) {
|
||||
if (!message || !port) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
mach_port_t response_port;
|
||||
mach_port_name_t task = mach_task_self();
|
||||
if (mach_port_allocate(task, MACH_PORT_RIGHT_RECEIVE,
|
||||
&response_port ) != KERN_SUCCESS) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (mach_port_insert_right(task, response_port,
|
||||
response_port,
|
||||
MACH_MSG_TYPE_MAKE_SEND)!= KERN_SUCCESS) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct mach_message msg = { 0 };
|
||||
msg.header.msgh_remote_port = port;
|
||||
msg.header.msgh_local_port = response_port;
|
||||
msg.header.msgh_id = response_port;
|
||||
msg.header.msgh_bits = MACH_MSGH_BITS_SET(MACH_MSG_TYPE_COPY_SEND,
|
||||
MACH_MSG_TYPE_MAKE_SEND,
|
||||
0,
|
||||
MACH_MSGH_BITS_COMPLEX );
|
||||
|
||||
msg.header.msgh_size = sizeof(struct mach_message);
|
||||
msg.msgh_descriptor_count = 1;
|
||||
msg.descriptor.address = message;
|
||||
msg.descriptor.size = len * sizeof(char);
|
||||
msg.descriptor.copy = MACH_MSG_VIRTUAL_COPY;
|
||||
msg.descriptor.deallocate = false;
|
||||
msg.descriptor.type = MACH_MSG_OOL_DESCRIPTOR;
|
||||
|
||||
mach_msg(&msg.header,
|
||||
MACH_SEND_MSG,
|
||||
sizeof(struct mach_message),
|
||||
0,
|
||||
MACH_PORT_NULL,
|
||||
MACH_MSG_TIMEOUT_NONE,
|
||||
MACH_PORT_NULL );
|
||||
|
||||
struct mach_buffer buffer = { 0 };
|
||||
mach_receive_message(response_port, &buffer, true);
|
||||
if (buffer.message.descriptor.address)
|
||||
return (char*)buffer.message.descriptor.address;
|
||||
mach_msg_destroy(&buffer.message.header);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#pragma clang diagnostic push
|
||||
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
|
||||
static inline bool mach_server_begin(struct mach_server* mach_server, mach_handler handler, char* bootstrap_name) {
|
||||
mach_server->task = mach_task_self();
|
||||
|
||||
if (mach_port_allocate(mach_server->task,
|
||||
MACH_PORT_RIGHT_RECEIVE,
|
||||
&mach_server->port ) != KERN_SUCCESS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (mach_port_insert_right(mach_server->task,
|
||||
mach_server->port,
|
||||
mach_server->port,
|
||||
MACH_MSG_TYPE_MAKE_SEND) != KERN_SUCCESS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (task_get_special_port(mach_server->task,
|
||||
TASK_BOOTSTRAP_PORT,
|
||||
&mach_server->bs_port) != KERN_SUCCESS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (bootstrap_register(mach_server->bs_port,
|
||||
bootstrap_name,
|
||||
mach_server->port ) != KERN_SUCCESS) {
|
||||
return false;
|
||||
}
|
||||
|
||||
mach_server->handler = handler;
|
||||
mach_server->is_running = true;
|
||||
struct mach_buffer buffer;
|
||||
while (mach_server->is_running) {
|
||||
mach_receive_message(mach_server->port, &buffer, false);
|
||||
mach_server->handler((env)buffer.message.descriptor.address);
|
||||
mach_msg_destroy(&buffer.message.header);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
#pragma clang diagnostic pop
|
||||
|
||||
static inline char* sketchybar(char* message) {
|
||||
uint32_t message_length = strlen(message) + 1;
|
||||
char formatted_message[message_length + 1];
|
||||
|
||||
char quote = '\0';
|
||||
uint32_t caret = 0;
|
||||
for (int i = 0; i < message_length; ++i) {
|
||||
if (message[i] == '"' || message[i] == '\'') {
|
||||
if (quote == message[i]) quote = '\0';
|
||||
else quote = message[i];
|
||||
continue;
|
||||
}
|
||||
formatted_message[caret] = message[i];
|
||||
if (message[i] == ' ' && !quote) formatted_message[caret] = '\0';
|
||||
caret++;
|
||||
}
|
||||
|
||||
if (caret > 0 && formatted_message[caret] == '\0'
|
||||
&& formatted_message[caret - 1] == '\0') {
|
||||
caret--;
|
||||
}
|
||||
|
||||
formatted_message[caret] = '\0';
|
||||
if (!g_mach_port) g_mach_port = mach_get_bs_port();
|
||||
char* response = mach_send_message(g_mach_port,
|
||||
formatted_message,
|
||||
caret + 1 );
|
||||
|
||||
if (response) return response;
|
||||
else return (char*)"";
|
||||
}
|
||||
|
||||
static inline void event_server_begin(mach_handler event_handler, char* bootstrap_name) {
|
||||
mach_server_begin(&g_mach_server, event_handler, bootstrap_name);
|
||||
}
|
|
@ -0,0 +1,46 @@
|
|||
#!/bin/bash
|
||||
|
||||
# General Icons
|
||||
LOADING=
|
||||
APPLE=
|
||||
PREFERENCES=
|
||||
ACTIVITY=
|
||||
LOCK=
|
||||
BELL=
|
||||
BELL_DOT=
|
||||
|
||||
# Git Icons
|
||||
GIT_ISSUE=
|
||||
GIT_DISCUSSION=
|
||||
GIT_PULL_REQUEST=
|
||||
GIT_COMMIT=
|
||||
GIT_INDICATOR=
|
||||
|
||||
# Spotify Icons
|
||||
SPOTIFY_BACK=
|
||||
SPOTIFY_PLAY_PAUSE=
|
||||
SPOTIFY_NEXT=
|
||||
SPOTIFY_SHUFFLE=
|
||||
SPOTIFY_REPEAT=
|
||||
|
||||
# Yabai Icons
|
||||
YABAI_STACK=
|
||||
YABAI_FULLSCREEN_ZOOM=
|
||||
YABAI_PARENT_ZOOM=
|
||||
YABAI_FLOAT=
|
||||
YABAI_GRID=
|
||||
|
||||
# Battery Icons
|
||||
BATTERY_100=
|
||||
BATTERY_75=
|
||||
BATTERY_50=
|
||||
BATTERY_25=
|
||||
BATTERY_0=
|
||||
BATTERY_CHARGING=
|
||||
|
||||
# Volume Icons
|
||||
VOLUME_100=
|
||||
VOLUME_66=
|
||||
VOLUME_33=
|
||||
VOLUME_10=
|
||||
VOLUME_0=
|
|
@ -0,0 +1,44 @@
|
|||
#!/bin/bash
|
||||
|
||||
POPUP_OFF='sketchybar --set apple.logo popup.drawing=off'
|
||||
POPUP_CLICK_SCRIPT='sketchybar --set $NAME popup.drawing=toggle'
|
||||
|
||||
apple_logo=(
|
||||
icon=$APPLE
|
||||
icon.font="$FONT:Black:16.0"
|
||||
icon.color=$GREEN
|
||||
padding_right=15
|
||||
label.drawing=off
|
||||
click_script="$POPUP_CLICK_SCRIPT"
|
||||
popup.height=35
|
||||
)
|
||||
|
||||
apple_prefs=(
|
||||
icon=$PREFERENCES
|
||||
label="Preferences"
|
||||
click_script="open -a 'System Preferences'; $POPUP_OFF"
|
||||
)
|
||||
|
||||
apple_activity=(
|
||||
icon=$ACTIVITY
|
||||
label="Activity"
|
||||
click_script="open -a 'Activity Monitor'; $POPUP_OFF"
|
||||
)
|
||||
|
||||
apple_lock=(
|
||||
icon=$LOCK
|
||||
label="Lock Screen"
|
||||
click_script="pmset displaysleepnow; $POPUP_OFF"
|
||||
)
|
||||
|
||||
sketchybar --add item apple.logo left \
|
||||
--set apple.logo "${apple_logo[@]}" \
|
||||
\
|
||||
--add item apple.prefs popup.apple.logo \
|
||||
--set apple.prefs "${apple_prefs[@]}" \
|
||||
\
|
||||
--add item apple.activity popup.apple.logo \
|
||||
--set apple.activity "${apple_activity[@]}" \
|
||||
\
|
||||
--add item apple.lock popup.apple.logo \
|
||||
--set apple.lock "${apple_lock[@]}"
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
battery=(
|
||||
script="$PLUGIN_DIR/battery.sh"
|
||||
icon.font="$FONT:Regular:19.0"
|
||||
padding_right=5
|
||||
padding_left=0
|
||||
label.drawing=off
|
||||
update_freq=120
|
||||
updates=on
|
||||
)
|
||||
|
||||
sketchybar --add item battery right \
|
||||
--set battery "${battery[@]}" \
|
||||
--subscribe battery power_source_change system_woke
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Trigger the brew_udpate event when brew update or upgrade is run from cmdline
|
||||
# e.g. via function in .zshrc
|
||||
|
||||
brew=(
|
||||
icon=
|
||||
label=?
|
||||
padding_right=10
|
||||
script="$PLUGIN_DIR/brew.sh"
|
||||
)
|
||||
|
||||
sketchybar --add event brew_update \
|
||||
--add item brew right \
|
||||
--set brew "${brew[@]}" \
|
||||
--subscribe brew brew_update
|
||||
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
calendar=(
|
||||
icon=cal
|
||||
icon.font="$FONT:Black:12.0"
|
||||
icon.padding_right=0
|
||||
label.width=45
|
||||
label.align=right
|
||||
padding_left=15
|
||||
update_freq=30
|
||||
script="$PLUGIN_DIR/calendar.sh"
|
||||
click_script="$PLUGIN_DIR/zen.sh"
|
||||
)
|
||||
|
||||
sketchybar --add item calendar right \
|
||||
--set calendar "${calendar[@]}" \
|
||||
--subscribe calendar system_woke
|
|
@ -0,0 +1,53 @@
|
|||
#!/bin/bash
|
||||
|
||||
cpu_top=(
|
||||
label.font="$FONT:Semibold:7"
|
||||
label=CPU
|
||||
icon.drawing=off
|
||||
width=0
|
||||
padding_right=15
|
||||
y_offset=6
|
||||
)
|
||||
|
||||
cpu_percent=(
|
||||
label.font="$FONT:Heavy:12"
|
||||
label=CPU
|
||||
y_offset=-4
|
||||
padding_right=15
|
||||
width=55
|
||||
icon.drawing=off
|
||||
update_freq=4
|
||||
mach_helper="$HELPER"
|
||||
)
|
||||
|
||||
cpu_sys=(
|
||||
width=0
|
||||
graph.color=$RED
|
||||
graph.fill_color=$RED
|
||||
label.drawing=off
|
||||
icon.drawing=off
|
||||
background.height=30
|
||||
background.drawing=on
|
||||
background.color=$TRANSPARENT
|
||||
)
|
||||
|
||||
cpu_user=(
|
||||
graph.color=$BLUE
|
||||
label.drawing=off
|
||||
icon.drawing=off
|
||||
background.height=30
|
||||
background.drawing=on
|
||||
background.color=$TRANSPARENT
|
||||
)
|
||||
|
||||
sketchybar --add item cpu.top right \
|
||||
--set cpu.top "${cpu_top[@]}" \
|
||||
\
|
||||
--add item cpu.percent right \
|
||||
--set cpu.percent "${cpu_percent[@]}" \
|
||||
\
|
||||
--add graph cpu.sys right 75 \
|
||||
--set cpu.sys "${cpu_sys[@]}" \
|
||||
\
|
||||
--add graph cpu.user right 75 \
|
||||
--set cpu.user "${cpu_user[@]}"
|
|
@ -0,0 +1,30 @@
|
|||
#!/bin/bash
|
||||
|
||||
FRONT_APP_SCRIPT='sketchybar --set $NAME label="$INFO"'
|
||||
|
||||
yabai=(
|
||||
icon.width=0
|
||||
label.width=0
|
||||
script="$PLUGIN_DIR/yabai.sh"
|
||||
icon.font="$FONT:Bold:16.0"
|
||||
associated_display=active
|
||||
)
|
||||
|
||||
front_app=(
|
||||
icon.drawing=off
|
||||
label.font="$FONT:Black:12.0"
|
||||
associated_display=active
|
||||
script="$FRONT_APP_SCRIPT"
|
||||
)
|
||||
|
||||
sketchybar --add event window_focus \
|
||||
--add event windows_on_spaces \
|
||||
--add item yabai left \
|
||||
--set yabai "${yabai[@]}" \
|
||||
--subscribe yabai window_focus \
|
||||
windows_on_spaces \
|
||||
mouse.clicked \
|
||||
\
|
||||
--add item front_app left \
|
||||
--set front_app "${front_app[@]}" \
|
||||
--subscribe front_app front_app_switched
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
POPUP_CLICK_SCRIPT="sketchybar --set \$NAME popup.drawing=toggle"
|
||||
|
||||
github_bell=(
|
||||
update_freq=180
|
||||
icon=$BELL
|
||||
icon.font="$FONT:Bold:15.0"
|
||||
icon.color=$BLUE
|
||||
label=$LOADING
|
||||
label.highlight_color=$BLUE
|
||||
popup.align=right
|
||||
script="$PLUGIN_DIR/github.sh"
|
||||
click_script="$POPUP_CLICK_SCRIPT"
|
||||
)
|
||||
|
||||
github_template=(
|
||||
drawing=off
|
||||
background.corner_radius=12
|
||||
padding_left=7
|
||||
padding_right=7
|
||||
icon.background.height=2
|
||||
icon.background.y_offset=-12
|
||||
)
|
||||
|
||||
sketchybar --add item github.bell right \
|
||||
--set github.bell "${github_bell[@]}" \
|
||||
--subscribe github.bell mouse.entered \
|
||||
mouse.exited \
|
||||
mouse.exited.global \
|
||||
\
|
||||
--add item github.template popup.github.bell \
|
||||
--set github.template "${github_template[@]}"
|
|
@ -0,0 +1,59 @@
|
|||
#!/bin/bash
|
||||
|
||||
SPACE_ICONS=("1" "2" "3" "4" "5" "6" "7" "8" "9" "10" "11" "12" "13" "14" "15")
|
||||
|
||||
# Destroy space on right click, focus space on left click.
|
||||
# New space by left clicking separator (>)
|
||||
|
||||
sid=0
|
||||
spaces=()
|
||||
for i in "${!SPACE_ICONS[@]}"
|
||||
do
|
||||
sid=$(($i+1))
|
||||
|
||||
space=(
|
||||
associated_space=$sid
|
||||
icon="${SPACE_ICONS[i]}"
|
||||
icon.padding_left=10
|
||||
icon.padding_right=10
|
||||
padding_left=2
|
||||
padding_right=2
|
||||
label.padding_right=20
|
||||
icon.highlight_color=$RED
|
||||
label.color=$GREY
|
||||
label.highlight_color=$WHITE
|
||||
label.font="sketchybar-app-font:Regular:16.0"
|
||||
label.y_offset=-1
|
||||
background.color=$BACKGROUND_1
|
||||
background.border_color=$BACKGROUND_2
|
||||
background.drawing=off
|
||||
label.drawing=off
|
||||
script="$PLUGIN_DIR/space.sh"
|
||||
)
|
||||
|
||||
sketchybar --add space space.$sid left \
|
||||
--set space.$sid "${space[@]}" \
|
||||
--subscribe space.$sid mouse.clicked
|
||||
done
|
||||
|
||||
spaces_bracket=(
|
||||
background.color=$BACKGROUND_1
|
||||
background.border_color=$BACKGROUND_2
|
||||
)
|
||||
|
||||
separator=(
|
||||
icon=
|
||||
icon.font="$FONT:Heavy:16.0"
|
||||
padding_left=10
|
||||
padding_right=8
|
||||
label.drawing=off
|
||||
associated_display=active
|
||||
click_script='yabai -m space --create && sketchybar --trigger space_change'
|
||||
icon.color=$WHITE
|
||||
)
|
||||
|
||||
sketchybar --add bracket spaces_bracket '/space\..*/' \
|
||||
--set spaces_bracket "${spaces_bracket[@]}" \
|
||||
\
|
||||
--add item separator left \
|
||||
--set separator "${separator[@]}"
|
|
@ -0,0 +1,197 @@
|
|||
#!/bin/bash
|
||||
|
||||
SPOTIFY_EVENT="com.spotify.client.PlaybackStateChanged"
|
||||
POPUP_SCRIPT="sketchybar -m --set spotify.anchor popup.drawing=toggle"
|
||||
|
||||
spotify_anchor=(
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
click_script="$POPUP_SCRIPT"
|
||||
popup.horizontal=on
|
||||
popup.align=center
|
||||
popup.height=150
|
||||
icon=
|
||||
icon.font="$FONT:Regular:25.0"
|
||||
label.drawing=off
|
||||
drawing=off
|
||||
y_offset=2
|
||||
)
|
||||
|
||||
spotify_cover=(
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
click_script="open -a 'Spotify'; $POPUP_SCRIPT"
|
||||
label.drawing=off
|
||||
icon.drawing=off
|
||||
padding_left=12
|
||||
padding_right=10
|
||||
background.image.scale=0.2
|
||||
background.image.drawing=on
|
||||
background.drawing=on
|
||||
)
|
||||
|
||||
spotify_title=(
|
||||
icon.drawing=off
|
||||
padding_left=0
|
||||
padding_right=0
|
||||
width=0
|
||||
label.font="$FONT:Heavy:15.0"
|
||||
y_offset=55
|
||||
)
|
||||
|
||||
spotify_artist=(
|
||||
icon.drawing=off
|
||||
y_offset=30
|
||||
padding_left=0
|
||||
padding_right=0
|
||||
width=0
|
||||
)
|
||||
|
||||
spotify_album=(
|
||||
icon.drawing=off
|
||||
padding_left=0
|
||||
padding_right=0
|
||||
y_offset=15
|
||||
width=0
|
||||
)
|
||||
|
||||
spotify_state=(
|
||||
icon.drawing=on
|
||||
icon.font="$FONT:Light Italic:10.0"
|
||||
icon.width=35
|
||||
icon="00:00"
|
||||
label.drawing=on
|
||||
label.font="$FONT:Light Italic:10.0"
|
||||
label.width=35
|
||||
label="00:00"
|
||||
padding_left=0
|
||||
padding_right=0
|
||||
y_offset=-15
|
||||
width=0
|
||||
slider.background.height=6
|
||||
slider.background.corner_radius=1
|
||||
slider.background.color=$GREY
|
||||
slider.highlight_color=$GREEN
|
||||
slider.percentage=40
|
||||
slider.width=115
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
update_freq=1
|
||||
updates=when_shown
|
||||
)
|
||||
|
||||
spotify_shuffle=(
|
||||
icon=
|
||||
icon.padding_left=5
|
||||
icon.padding_right=5
|
||||
icon.color=$BLACK
|
||||
icon.highlight_color=$GREY
|
||||
label.drawing=off
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
y_offset=-45
|
||||
)
|
||||
|
||||
spotify_back=(
|
||||
icon=
|
||||
icon.padding_left=5
|
||||
icon.padding_right=5
|
||||
icon.color=$BLACK
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
label.drawing=off
|
||||
y_offset=-45
|
||||
)
|
||||
|
||||
spotify_play=(
|
||||
icon=
|
||||
background.height=40
|
||||
background.corner_radius=20
|
||||
width=40
|
||||
align=center
|
||||
background.color=$POPUP_BACKGROUND_COLOR
|
||||
background.border_color=$WHITE
|
||||
background.border_width=0
|
||||
background.drawing=on
|
||||
icon.padding_left=4
|
||||
icon.padding_right=5
|
||||
updates=on
|
||||
label.drawing=off
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
y_offset=-45
|
||||
)
|
||||
|
||||
spotify_next=(
|
||||
icon=
|
||||
icon.padding_left=5
|
||||
icon.padding_right=5
|
||||
icon.color=$BLACK
|
||||
label.drawing=off
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
y_offset=-45
|
||||
)
|
||||
|
||||
spotify_repeat=(
|
||||
icon=
|
||||
icon.highlight_color=$GREY
|
||||
icon.padding_left=5
|
||||
icon.padding_right=10
|
||||
icon.color=$BLACK
|
||||
label.drawing=off
|
||||
script="$PLUGIN_DIR/spotify.sh"
|
||||
y_offset=-45
|
||||
)
|
||||
|
||||
spotify_controls=(
|
||||
background.color=$GREEN
|
||||
background.corner_radius=11
|
||||
background.drawing=on
|
||||
y_offset=-45
|
||||
)
|
||||
|
||||
sketchybar --add event spotify_change $SPOTIFY_EVENT \
|
||||
--add item spotify.anchor center \
|
||||
--set spotify.anchor "${spotify_anchor[@]}" \
|
||||
--subscribe spotify.anchor mouse.entered mouse.exited \
|
||||
mouse.exited.global \
|
||||
\
|
||||
--add item spotify.cover popup.spotify.anchor \
|
||||
--set spotify.cover "${spotify_cover[@]}" \
|
||||
\
|
||||
--add item spotify.title popup.spotify.anchor \
|
||||
--set spotify.title "${spotify_title[@]}" \
|
||||
\
|
||||
--add item spotify.artist popup.spotify.anchor \
|
||||
--set spotify.artist "${spotify_artist[@]}" \
|
||||
\
|
||||
--add item spotify.album popup.spotify.anchor \
|
||||
--set spotify.album "${spotify_album[@]}" \
|
||||
\
|
||||
--add slider spotify.state popup.spotify.anchor \
|
||||
--set spotify.state "${spotify_state[@]}" \
|
||||
--subscribe spotify.state mouse.clicked \
|
||||
\
|
||||
--add item spotify.shuffle popup.spotify.anchor \
|
||||
--set spotify.shuffle "${spotify_shuffle[@]}" \
|
||||
--subscribe spotify.shuffle mouse.clicked \
|
||||
\
|
||||
--add item spotify.back popup.spotify.anchor \
|
||||
--set spotify.back "${spotify_back[@]}" \
|
||||
--subscribe spotify.back mouse.clicked \
|
||||
\
|
||||
--add item spotify.play popup.spotify.anchor \
|
||||
--set spotify.play "${spotify_play[@]}" \
|
||||
--subscribe spotify.play mouse.clicked spotify_change \
|
||||
\
|
||||
--add item spotify.next popup.spotify.anchor \
|
||||
--set spotify.next "${spotify_next[@]}" \
|
||||
--subscribe spotify.next mouse.clicked \
|
||||
\
|
||||
--add item spotify.repeat popup.spotify.anchor \
|
||||
--set spotify.repeat "${spotify_repeat[@]}" \
|
||||
--subscribe spotify.repeat mouse.clicked \
|
||||
\
|
||||
--add item spotify.spacer popup.spotify.anchor \
|
||||
--set spotify.spacer width=5 \
|
||||
\
|
||||
--add bracket spotify.controls spotify.shuffle \
|
||||
spotify.back \
|
||||
spotify.play \
|
||||
spotify.next \
|
||||
spotify.repeat \
|
||||
--set spotify.controls "${spotify_controls[@]}" \
|
|
@ -0,0 +1,45 @@
|
|||
#!/bin/bash
|
||||
|
||||
volume_slider=(
|
||||
script="$PLUGIN_DIR/volume.sh"
|
||||
updates=on
|
||||
label.drawing=off
|
||||
icon.drawing=off
|
||||
slider.highlight_color=$BLUE
|
||||
slider.background.height=5
|
||||
slider.background.corner_radius=3
|
||||
slider.background.color=$BACKGROUND_2
|
||||
slider.knob=
|
||||
slider.knob.drawing=off
|
||||
)
|
||||
|
||||
volume_icon=(
|
||||
click_script="$PLUGIN_DIR/volume_click.sh"
|
||||
padding_left=10
|
||||
icon=$VOLUME_100
|
||||
icon.width=0
|
||||
icon.align=left
|
||||
icon.color=$GREY
|
||||
icon.font="$FONT:Regular:14.0"
|
||||
label.width=25
|
||||
label.align=left
|
||||
label.font="$FONT:Regular:14.0"
|
||||
)
|
||||
|
||||
status_bracket=(
|
||||
background.color=$BACKGROUND_1
|
||||
background.border_color=$BACKGROUND_2
|
||||
)
|
||||
|
||||
sketchybar --add slider volume right \
|
||||
--set volume "${volume_slider[@]}" \
|
||||
--subscribe volume volume_change \
|
||||
mouse.clicked \
|
||||
mouse.entered \
|
||||
mouse.exited \
|
||||
\
|
||||
--add item volume_icon right \
|
||||
--set volume_icon "${volume_icon[@]}"
|
||||
|
||||
sketchybar --add bracket status brew github.bell volume_icon \
|
||||
--set status "${status_bracket[@]}"
|
|
@ -0,0 +1,33 @@
|
|||
#!/bin/bash
|
||||
|
||||
source "$CONFIG_DIR/icons.sh"
|
||||
source "$CONFIG_DIR/colors.sh"
|
||||
|
||||
BATTERY_INFO="$(pmset -g batt)"
|
||||
PERCENTAGE=$(echo "$BATTERY_INFO" | grep -Eo "\d+%" | cut -d% -f1)
|
||||
CHARGING=$(echo "$BATTERY_INFO" | grep 'AC Power')
|
||||
|
||||
if [ $PERCENTAGE = "" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
DRAWING=on
|
||||
COLOR=$WHITE
|
||||
case ${PERCENTAGE} in
|
||||
9[0-9]|100) ICON=$BATTERY_100; DRAWING=off
|
||||
;;
|
||||
[6-8][0-9]) ICON=$BATTERY_75; DRAWING=off
|
||||
;;
|
||||
[3-5][0-9]) ICON=$BATTERY_50
|
||||
;;
|
||||
[1-2][0-9]) ICON=$BATTERY_25; COLOR=$ORANGE
|
||||
;;
|
||||
*) ICON=$BATTERY_0; COLOR=$RED
|
||||
esac
|
||||
|
||||
if [[ $CHARGING != "" ]]; then
|
||||
ICON=$BATTERY_CHARGING
|
||||
DRAWING=off
|
||||
fi
|
||||
|
||||
sketchybar --set $NAME drawing=$DRAWING icon="$ICON" icon.color=$COLOR
|
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
|
||||
source "$CONFIG_DIR/colors.sh"
|
||||
|
||||
COUNT=$(brew outdated | wc -l | tr -d ' ')
|
||||
|
||||
COLOR=$RED
|
||||
|
||||
case "$COUNT" in
|
||||
[3-5][0-9]) COLOR=$ORANGE
|
||||
;;
|
||||
[1-2][0-9]) COLOR=$YELLOW
|
||||
;;
|
||||
[1-9]) COLOR=$WHITE
|
||||
;;
|
||||
0) COLOR=$GREEN
|
||||
COUNT=
|
||||
;;
|
||||
esac
|
||||
|
||||
sketchybar --set $NAME label=$COUNT icon.color=$COLOR
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
sketchybar --set $NAME icon="$(date '+%a, %d %b')" label="$(date '+%H:%M')"
|
|
@ -0,0 +1,90 @@
|
|||
#!/bin/bash
|
||||
|
||||
update() {
|
||||
source "$CONFIG_DIR/colors.sh"
|
||||
source "$CONFIG_DIR/icons.sh"
|
||||
|
||||
NOTIFICATIONS="$(gh api notifications)"
|
||||
COUNT="$(echo "$NOTIFICATIONS" | jq 'length')"
|
||||
args=()
|
||||
if [ "$NOTIFICATIONS" = "[]" ]; then
|
||||
args+=(--set $NAME icon=$BELL label="0")
|
||||
else
|
||||
args+=(--set $NAME icon=$BELL_DOT label="$COUNT")
|
||||
fi
|
||||
|
||||
PREV_COUNT=$(sketchybar --query github.bell | jq -r .label.value)
|
||||
# For sound to play around with:
|
||||
# afplay /System/Library/Sounds/Morse.aiff
|
||||
|
||||
args+=(--remove '/github.notification\.*/')
|
||||
|
||||
COUNTER=0
|
||||
COLOR=$BLUE
|
||||
args+=(--set github.bell icon.color=$COLOR)
|
||||
|
||||
while read -r repo url type title
|
||||
do
|
||||
COUNTER=$((COUNTER + 1))
|
||||
IMPORTANT="$(echo "$title" | egrep -i "(deprecat|break|broke)")"
|
||||
COLOR=$BLUE
|
||||
PADDING=0
|
||||
|
||||
if [ "${repo}" = "" ] && [ "${title}" = "" ]; then
|
||||
repo="Note"
|
||||
title="No new notifications"
|
||||
fi
|
||||
case "${type}" in
|
||||
"'Issue'") COLOR=$GREEN; ICON=$GIT_ISSUE; URL="$(gh api "$(echo "${url}" | sed -e "s/^'//" -e "s/'$//")" | jq .html_url)"
|
||||
;;
|
||||
"'Discussion'") COLOR=$WHITE; ICON=$GIT_DISCUSSION; URL="https://www.github.com/notifications"
|
||||
;;
|
||||
"'PullRequest'") COLOR=$MAGENTA; ICON=$GIT_PULL_REQUEST; URL="$(gh api "$(echo "${url}" | sed -e "s/^'//" -e "s/'$//")" | jq .html_url)"
|
||||
;;
|
||||
"'Commit'") COLOR=$WHITE; ICON=$GIT_COMMIT; URL="$(gh api "$(echo "${url}" | sed -e "s/^'//" -e "s/'$//")" | jq .html_url)"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$IMPORTANT" != "" ]; then
|
||||
COLOR=$RED
|
||||
ICON=
|
||||
args+=(--set github.bell icon.color=$COLOR)
|
||||
fi
|
||||
|
||||
notification=(
|
||||
label="$(echo "$title" | sed -e "s/^'//" -e "s/'$//")"
|
||||
icon="$ICON $(echo "$repo" | sed -e "s/^'//" -e "s/'$//"):"
|
||||
icon.padding_left="$PADDING"
|
||||
label.padding_right="$PADDING"
|
||||
icon.color=$COLOR
|
||||
position=popup.github.bell
|
||||
icon.background.color=$COLOR
|
||||
drawing=on
|
||||
click_script="open $URL; sketchybar --set github.bell popup.drawing=off"
|
||||
)
|
||||
|
||||
args+=(--clone github.notification.$COUNTER github.template \
|
||||
--set github.notification.$COUNTER "${notification[@]}")
|
||||
done <<< "$(echo "$NOTIFICATIONS" | jq -r '.[] | [.repository.name, .subject.latest_comment_url, .subject.type, .subject.title] | @sh')"
|
||||
|
||||
sketchybar -m "${args[@]}" > /dev/null
|
||||
|
||||
if [ $COUNT -gt $PREV_COUNT ] 2>/dev/null || [ "$SENDER" = "forced" ]; then
|
||||
sketchybar --animate tanh 15 --set github.bell label.y_offset=5 label.y_offset=0
|
||||
fi
|
||||
}
|
||||
|
||||
popup() {
|
||||
sketchybar --set $NAME popup.drawing=$1
|
||||
}
|
||||
|
||||
case "$SENDER" in
|
||||
"routine"|"forced") update
|
||||
;;
|
||||
"mouse.entered") popup on
|
||||
;;
|
||||
"mouse.exited"|"mouse.exited.global") popup off
|
||||
;;
|
||||
"mouse.clicked") popup toggle
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,384 @@
|
|||
case $@ in
|
||||
"Brave Browser")
|
||||
icon_result=":brave_browser:"
|
||||
;;
|
||||
"Keyboard Maestro")
|
||||
icon_result=":keyboard_maestro:"
|
||||
;;
|
||||
"Min")
|
||||
icon_result=":min_browser:"
|
||||
;;
|
||||
"Final Cut Pro")
|
||||
icon_result=":final_cut_pro:"
|
||||
;;
|
||||
"FaceTime")
|
||||
icon_result=":face_time:"
|
||||
;;
|
||||
"Affinity Publisher")
|
||||
icon_result=":affinity_publisher:"
|
||||
;;
|
||||
"Messages" | "Nachrichten")
|
||||
icon_result=":messages:"
|
||||
;;
|
||||
"Tweetbot" | "Twitter")
|
||||
icon_result=":twitter:"
|
||||
;;
|
||||
"ClickUp")
|
||||
icon_result=":click_up:"
|
||||
;;
|
||||
"KeePassXC")
|
||||
icon_result=":kee_pass_x_c:"
|
||||
;;
|
||||
"Microsoft Edge")
|
||||
icon_result=":microsoft_edge:"
|
||||
;;
|
||||
"VLC")
|
||||
icon_result=":vlc:"
|
||||
;;
|
||||
"Emacs")
|
||||
icon_result=":emacs:"
|
||||
;;
|
||||
"Thunderbird")
|
||||
icon_result=":thunderbird:"
|
||||
;;
|
||||
"Notes")
|
||||
icon_result=":notes:"
|
||||
;;
|
||||
"Caprine")
|
||||
icon_result=":caprine:"
|
||||
;;
|
||||
"Zulip")
|
||||
icon_result=":zulip:"
|
||||
;;
|
||||
"Spark")
|
||||
icon_result=":spark:"
|
||||
;;
|
||||
"Microsoft To Do" | "Things")
|
||||
icon_result=":things:"
|
||||
;;
|
||||
"DEVONthink 3")
|
||||
icon_result=":devonthink3:"
|
||||
;;
|
||||
"GitHub Desktop")
|
||||
icon_result=":git_hub:"
|
||||
;;
|
||||
"App Store")
|
||||
icon_result=":app_store:"
|
||||
;;
|
||||
"Chromium" | "Google Chrome" | "Google Chrome Canary")
|
||||
icon_result=":google_chrome:"
|
||||
;;
|
||||
"zoom.us")
|
||||
icon_result=":zoom:"
|
||||
;;
|
||||
"MoneyMoney")
|
||||
icon_result=":bank:"
|
||||
;;
|
||||
"Color Picker")
|
||||
icon_result=":color_picker:"
|
||||
;;
|
||||
"Microsoft Word")
|
||||
icon_result=":microsoft_word:"
|
||||
;;
|
||||
"Microsoft Teams")
|
||||
icon_result=":microsoft_teams:"
|
||||
;;
|
||||
"Iris")
|
||||
icon_result=":iris:"
|
||||
;;
|
||||
"WebStorm")
|
||||
icon_result=":web_storm:"
|
||||
;;
|
||||
"Neovide" | "MacVim" | "Vim" | "VimR")
|
||||
icon_result=":vim:"
|
||||
;;
|
||||
"Sublime Text")
|
||||
icon_result=":sublime_text:"
|
||||
;;
|
||||
"PomoDone App")
|
||||
icon_result=":pomodone:"
|
||||
;;
|
||||
"Setapp")
|
||||
icon_result=":setapp:"
|
||||
;;
|
||||
"qutebrowser")
|
||||
icon_result=":qute_browser:"
|
||||
;;
|
||||
"Mattermost")
|
||||
icon_result=":mattermost:"
|
||||
;;
|
||||
"Notability")
|
||||
icon_result=":notability:"
|
||||
;;
|
||||
"WhatsApp")
|
||||
icon_result=":whats_app:"
|
||||
;;
|
||||
"OBS")
|
||||
icon_result=":obsstudio:"
|
||||
;;
|
||||
"Parallels Desktop")
|
||||
icon_result=":parallels:"
|
||||
;;
|
||||
"VMware Fusion")
|
||||
icon_result=":vmware_fusion:"
|
||||
;;
|
||||
"Pine")
|
||||
icon_result=":pine:"
|
||||
;;
|
||||
"Microsoft Excel")
|
||||
icon_result=":microsoft_excel:"
|
||||
;;
|
||||
"Microsoft PowerPoint")
|
||||
icon_result=":microsoft_power_point:"
|
||||
;;
|
||||
"Matlab")
|
||||
icon_result=":matlab:"
|
||||
;;
|
||||
"Numbers")
|
||||
icon_result=":numbers:"
|
||||
;;
|
||||
"Default")
|
||||
icon_result=":default:"
|
||||
;;
|
||||
"Element")
|
||||
icon_result=":element:"
|
||||
;;
|
||||
"Bear")
|
||||
icon_result=":bear:"
|
||||
;;
|
||||
"TeamSpeak 3")
|
||||
icon_result=":team_speak:"
|
||||
;;
|
||||
"Airmail")
|
||||
icon_result=":airmail:"
|
||||
;;
|
||||
"Firefox Developer Edition" | "Firefox Nightly")
|
||||
icon_result=":firefox_developer_edition:"
|
||||
;;
|
||||
"Trello")
|
||||
icon_result=":trello:"
|
||||
;;
|
||||
"TickTick")
|
||||
icon_result=":tick_tick:"
|
||||
;;
|
||||
"Notion")
|
||||
icon_result=":notion:"
|
||||
;;
|
||||
"Live")
|
||||
icon_result=":ableton:"
|
||||
;;
|
||||
"Evernote Legacy")
|
||||
icon_result=":evernote_legacy:"
|
||||
;;
|
||||
"Calendar" | "Fantastical")
|
||||
icon_result=":calendar:"
|
||||
;;
|
||||
"Android Studio")
|
||||
icon_result=":android_studio:"
|
||||
;;
|
||||
"Xcode")
|
||||
icon_result=":xcode:"
|
||||
;;
|
||||
"Slack")
|
||||
icon_result=":slack:"
|
||||
;;
|
||||
"Sequel Pro")
|
||||
icon_result=":sequel_pro:"
|
||||
;;
|
||||
"Bitwarden")
|
||||
icon_result=":bit_warden:"
|
||||
;;
|
||||
"System Preferences" | "System Settings")
|
||||
icon_result=":gear:"
|
||||
;;
|
||||
"Discord" | "Discord Canary" | "Discord PTB")
|
||||
icon_result=":discord:"
|
||||
;;
|
||||
"Vivaldi")
|
||||
icon_result=":vivaldi:"
|
||||
;;
|
||||
"Firefox")
|
||||
icon_result=":firefox:"
|
||||
;;
|
||||
"Skype")
|
||||
icon_result=":skype:"
|
||||
;;
|
||||
"Dropbox")
|
||||
icon_result=":dropbox:"
|
||||
;;
|
||||
"微信")
|
||||
icon_result=":wechat:"
|
||||
;;
|
||||
"Typora")
|
||||
icon_result=":text:"
|
||||
;;
|
||||
"Blender")
|
||||
icon_result=":blender:"
|
||||
;;
|
||||
"Canary Mail" | "HEY" | "Mail" | "Mailspring" | "MailMate" | "邮件" | "Outlook")
|
||||
icon_result=":mail:"
|
||||
;;
|
||||
"Safari" | "Safari Technology Preview")
|
||||
icon_result=":safari:"
|
||||
;;
|
||||
"Telegram")
|
||||
icon_result=":telegram:"
|
||||
;;
|
||||
"Keynote")
|
||||
icon_result=":keynote:"
|
||||
;;
|
||||
"Reeder")
|
||||
icon_result=":reeder5:"
|
||||
;;
|
||||
"Spotify")
|
||||
icon_result=":spotify:"
|
||||
;;
|
||||
"MAMP" | "MAMP PRO")
|
||||
icon_result=":mamp:"
|
||||
;;
|
||||
"Figma")
|
||||
icon_result=":figma:"
|
||||
;;
|
||||
"Joplin")
|
||||
icon_result=":joplin:"
|
||||
;;
|
||||
"Spotlight")
|
||||
icon_result=":spotlight:"
|
||||
;;
|
||||
"Music")
|
||||
icon_result=":music:"
|
||||
;;
|
||||
"Insomnia")
|
||||
icon_result=":insomnia:"
|
||||
;;
|
||||
"TIDAL")
|
||||
icon_result=":tidal:"
|
||||
;;
|
||||
"Alfred")
|
||||
icon_result=":alfred:"
|
||||
;;
|
||||
"Pages")
|
||||
icon_result=":pages:"
|
||||
;;
|
||||
"Folx")
|
||||
icon_result=":folx:"
|
||||
;;
|
||||
"Android Messages")
|
||||
icon_result=":android_messages:"
|
||||
;;
|
||||
"mpv")
|
||||
icon_result=":mpv:"
|
||||
;;
|
||||
"网易云音乐")
|
||||
icon_result=":netease_music:"
|
||||
;;
|
||||
"Transmit")
|
||||
icon_result=":transmit:"
|
||||
;;
|
||||
"Pi-hole Remote")
|
||||
icon_result=":pihole:"
|
||||
;;
|
||||
"Nova")
|
||||
icon_result=":nova:"
|
||||
;;
|
||||
"Affinity Designer")
|
||||
icon_result=":affinity_designer:"
|
||||
;;
|
||||
"IntelliJ IDEA")
|
||||
icon_result=":idea:"
|
||||
;;
|
||||
"Drafts")
|
||||
icon_result=":drafts:"
|
||||
;;
|
||||
"Audacity")
|
||||
icon_result=":audacity:"
|
||||
;;
|
||||
"Affinity Photo")
|
||||
icon_result=":affinity_photo:"
|
||||
;;
|
||||
"Atom")
|
||||
icon_result=":atom:"
|
||||
;;
|
||||
"Obsidian")
|
||||
icon_result=":obsidian:"
|
||||
;;
|
||||
"CleanMyMac X")
|
||||
icon_result=":desktop:"
|
||||
;;
|
||||
"Zotero")
|
||||
icon_result=":zotero:"
|
||||
;;
|
||||
"Todoist")
|
||||
icon_result=":todoist:"
|
||||
;;
|
||||
"LibreWolf")
|
||||
icon_result=":libre_wolf:"
|
||||
;;
|
||||
"Grammarly Editor")
|
||||
icon_result=":grammarly:"
|
||||
;;
|
||||
"OmniFocus")
|
||||
icon_result=":omni_focus:"
|
||||
;;
|
||||
"Reminders")
|
||||
icon_result=":reminders:"
|
||||
;;
|
||||
"Preview" | "Skim" | "zathura")
|
||||
icon_result=":pdf:"
|
||||
;;
|
||||
"1Password 7")
|
||||
icon_result=":one_password:"
|
||||
;;
|
||||
"Code" | "Code - Insiders")
|
||||
icon_result=":code:"
|
||||
;;
|
||||
"VSCodium")
|
||||
icon_result=":vscodium:"
|
||||
;;
|
||||
"Tower")
|
||||
icon_result=":tower:"
|
||||
;;
|
||||
"Calibre")
|
||||
icon_result=":book:"
|
||||
;;
|
||||
"Finder" | "访达")
|
||||
icon_result=":finder:"
|
||||
;;
|
||||
"Linear")
|
||||
icon_result=":linear:"
|
||||
;;
|
||||
"League of Legends")
|
||||
icon_result=":league_of_legends:"
|
||||
;;
|
||||
"Zeplin")
|
||||
icon_result=":zeplin:"
|
||||
;;
|
||||
"Signal")
|
||||
icon_result=":signal:"
|
||||
;;
|
||||
"Podcasts")
|
||||
icon_result=":podcasts:"
|
||||
;;
|
||||
"Alacritty" | "Hyper" | "iTerm2" | "kitty" | "Terminal" | "WezTerm")
|
||||
icon_result=":terminal:"
|
||||
;;
|
||||
"Tor Browser")
|
||||
icon_result=":tor_browser:"
|
||||
;;
|
||||
"Kakoune")
|
||||
icon_result=":kakoune:"
|
||||
;;
|
||||
"GrandTotal" | "Receipts")
|
||||
icon_result=":dollar:"
|
||||
;;
|
||||
"Sketch")
|
||||
icon_result=":sketch:"
|
||||
;;
|
||||
"Sequel Ace")
|
||||
icon_result=":sequel_ace:"
|
||||
;;
|
||||
*)
|
||||
icon_result=":default:"
|
||||
;;
|
||||
esac
|
||||
echo $icon_result
|
|
@ -0,0 +1,28 @@
|
|||
#!/bin/bash
|
||||
|
||||
update() {
|
||||
source "$CONFIG_DIR/colors.sh"
|
||||
COLOR=$BACKGROUND_2
|
||||
if [ "$SELECTED" = "true" ]; then
|
||||
COLOR=$GREY
|
||||
fi
|
||||
sketchybar --set $NAME icon.highlight=$SELECTED \
|
||||
label.highlight=$SELECTED \
|
||||
background.border_color=$COLOR
|
||||
}
|
||||
|
||||
mouse_clicked() {
|
||||
if [ "$BUTTON" = "right" ]; then
|
||||
yabai -m space --destroy $SID
|
||||
sketchybar --trigger windows_on_spaces --trigger space_change
|
||||
else
|
||||
yabai -m space --focus $SID 2>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
case "$SENDER" in
|
||||
"mouse.clicked") mouse_clicked
|
||||
;;
|
||||
*) update
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,147 @@
|
|||
#!/bin/bash
|
||||
|
||||
next ()
|
||||
{
|
||||
osascript -e 'tell application "Spotify" to play next track'
|
||||
}
|
||||
|
||||
back ()
|
||||
{
|
||||
osascript -e 'tell application "Spotify" to play previous track'
|
||||
}
|
||||
|
||||
play ()
|
||||
{
|
||||
osascript -e 'tell application "Spotify" to playpause'
|
||||
}
|
||||
|
||||
repeat ()
|
||||
{
|
||||
REPEAT=$(osascript -e 'tell application "Spotify" to get repeating')
|
||||
if [ "$REPEAT" = "false" ]; then
|
||||
sketchybar -m --set spotify.repeat icon.highlight=on
|
||||
osascript -e 'tell application "Spotify" to set repeating to true'
|
||||
else
|
||||
sketchybar -m --set spotify.repeat icon.highlight=off
|
||||
osascript -e 'tell application "Spotify" to set repeating to false'
|
||||
fi
|
||||
}
|
||||
|
||||
shuffle ()
|
||||
{
|
||||
SHUFFLE=$(osascript -e 'tell application "Spotify" to get shuffling')
|
||||
if [ "$SHUFFLE" = "false" ]; then
|
||||
sketchybar -m --set spotify.shuffle icon.highlight=on
|
||||
osascript -e 'tell application "Spotify" to set shuffling to true'
|
||||
else
|
||||
sketchybar -m --set spotify.shuffle icon.highlight=off
|
||||
osascript -e 'tell application "Spotify" to set shuffling to false'
|
||||
fi
|
||||
}
|
||||
|
||||
update ()
|
||||
{
|
||||
PLAYING=1
|
||||
if [ "$(echo "$INFO" | jq -r '.["Player State"]')" = "Playing" ]; then
|
||||
PLAYING=0
|
||||
TRACK="$(echo "$INFO" | jq -r .Name | sed 's/\(.\{20\}\).*/\1.../')"
|
||||
ARTIST="$(echo "$INFO" | jq -r .Artist | sed 's/\(.\{20\}\).*/\1.../')"
|
||||
ALBUM="$(echo "$INFO" | jq -r .Album | sed 's/\(.\{25\}\).*/\1.../')"
|
||||
SHUFFLE=$(osascript -e 'tell application "Spotify" to get shuffling')
|
||||
REPEAT=$(osascript -e 'tell application "Spotify" to get repeating')
|
||||
COVER=$(osascript -e 'tell application "Spotify" to get artwork url of current track')
|
||||
fi
|
||||
|
||||
args=()
|
||||
if [ $PLAYING -eq 0 ]; then
|
||||
curl -s --max-time 20 "$COVER" -o /tmp/cover.jpg
|
||||
if [ "$ARTIST" == "" ]; then
|
||||
args+=(--set spotify.title label="$TRACK"
|
||||
--set spotify.album label="Podcast"
|
||||
--set spotify.artist label="$ALBUM" )
|
||||
else
|
||||
args+=(--set spotify.title label="$TRACK"
|
||||
--set spotify.album label="$ALBUM"
|
||||
--set spotify.artist label="$ARTIST")
|
||||
fi
|
||||
args+=(--set spotify.play icon=
|
||||
--set spotify.shuffle icon.highlight=$SHUFFLE
|
||||
--set spotify.repeat icon.highlight=$REPEAT
|
||||
--set spotify.cover background.image="/tmp/cover.jpg"
|
||||
background.color=0x00000000
|
||||
--set spotify.anchor drawing=on )
|
||||
else
|
||||
args+=(--set spotify.anchor drawing=off popup.drawing=off
|
||||
--set spotify.play icon= )
|
||||
fi
|
||||
sketchybar -m "${args[@]}"
|
||||
}
|
||||
|
||||
scrubbing() {
|
||||
DURATION_MS=$(osascript -e 'tell application "Spotify" to get duration of current track')
|
||||
DURATION=$((DURATION_MS/1000))
|
||||
|
||||
TARGET=$((DURATION*PERCENTAGE/100))
|
||||
osascript -e "tell application \"Spotify\" to set player position to $TARGET"
|
||||
sketchybar --set spotify.state slider.percentage=$PERCENTAGE
|
||||
}
|
||||
|
||||
scroll() {
|
||||
DURATION_MS=$(osascript -e 'tell application "Spotify" to get duration of current track')
|
||||
DURATION=$((DURATION_MS/1000))
|
||||
|
||||
FLOAT="$(osascript -e 'tell application "Spotify" to get player position')"
|
||||
TIME=${FLOAT%.*}
|
||||
|
||||
sketchybar --animate linear 10 \
|
||||
--set spotify.state slider.percentage="$((TIME*100/DURATION))" \
|
||||
icon="$(date -r $TIME +'%M:%S')" \
|
||||
label="$(date -r $DURATION +'%M:%S')"
|
||||
}
|
||||
|
||||
mouse_clicked () {
|
||||
case "$NAME" in
|
||||
"spotify.next") next
|
||||
;;
|
||||
"spotify.back") back
|
||||
;;
|
||||
"spotify.play") play
|
||||
;;
|
||||
"spotify.shuffle") shuffle
|
||||
;;
|
||||
"spotify.repeat") repeat
|
||||
;;
|
||||
"spotify.state") scrubbing
|
||||
;;
|
||||
*) exit
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
popup () {
|
||||
sketchybar --set spotify.anchor popup.drawing=$1
|
||||
}
|
||||
|
||||
routine() {
|
||||
case "$NAME" in
|
||||
"spotify.state") scroll
|
||||
;;
|
||||
*) update
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
case "$SENDER" in
|
||||
"mouse.clicked") mouse_clicked
|
||||
;;
|
||||
"mouse.entered") popup on
|
||||
;;
|
||||
"mouse.exited"|"mouse.exited.global") popup off
|
||||
;;
|
||||
"routine") routine
|
||||
;;
|
||||
"forced") exit 0
|
||||
;;
|
||||
*) update
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,56 @@
|
|||
#!/bin/bash
|
||||
|
||||
WIDTH=100
|
||||
|
||||
volume_change() {
|
||||
source "$CONFIG_DIR/icons.sh"
|
||||
case $INFO in
|
||||
[6-9][0-9]|100) ICON=$VOLUME_100
|
||||
;;
|
||||
[3-5][0-9]) ICON=$VOLUME_66
|
||||
;;
|
||||
[1-2][0-9]) ICON=$VOLUME_33
|
||||
;;
|
||||
[1-9]) ICON=$VOLUME_10
|
||||
;;
|
||||
0) ICON=$VOLUME_0
|
||||
;;
|
||||
*) ICON=$VOLUME_100
|
||||
esac
|
||||
|
||||
sketchybar --set volume_icon label=$ICON
|
||||
|
||||
sketchybar --set $NAME slider.percentage=$INFO \
|
||||
--animate tanh 30 --set $NAME slider.width=$WIDTH
|
||||
|
||||
sleep 2
|
||||
|
||||
# Check wether the volume was changed another time while sleeping
|
||||
FINAL_PERCENTAGE=$(sketchybar --query $NAME | jq -r ".slider.percentage")
|
||||
if [ "$FINAL_PERCENTAGE" -eq "$INFO" ]; then
|
||||
sketchybar --animate tanh 30 --set $NAME slider.width=0
|
||||
fi
|
||||
}
|
||||
|
||||
mouse_clicked() {
|
||||
osascript -e "set volume output volume $PERCENTAGE"
|
||||
}
|
||||
|
||||
mouse_entered() {
|
||||
sketchybar --set $NAME slider.knob.drawing=on
|
||||
}
|
||||
|
||||
mouse_exited() {
|
||||
sketchybar --set $NAME slider.knob.drawing=off
|
||||
}
|
||||
|
||||
case "$SENDER" in
|
||||
"volume_change") volume_change
|
||||
;;
|
||||
"mouse.clicked") mouse_clicked
|
||||
;;
|
||||
"mouse.entered") mouse_entered
|
||||
;;
|
||||
"mouse.exited") mouse_exited
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,48 @@
|
|||
#!/bin/bash
|
||||
|
||||
WIDTH=100
|
||||
|
||||
detail_on() {
|
||||
sketchybar --animate tanh 30 --set volume slider.width=$WIDTH
|
||||
}
|
||||
|
||||
detail_off() {
|
||||
sketchybar --animate tanh 30 --set volume slider.width=0
|
||||
}
|
||||
|
||||
toggle_detail() {
|
||||
INITIAL_WIDTH=$(sketchybar --query volume | jq -r ".slider.width")
|
||||
if [ "$INITIAL_WIDTH" -eq "0" ]; then
|
||||
detail_on
|
||||
else
|
||||
detail_off
|
||||
fi
|
||||
}
|
||||
|
||||
toggle_devices() {
|
||||
which SwitchAudioSource >/dev/null || exit 0
|
||||
source "$CONFIG_DIR/colors.sh"
|
||||
|
||||
args=(--remove '/volume.device\.*/' --set "$NAME" popup.drawing=toggle)
|
||||
COUNTER=0
|
||||
CURRENT="$(SwitchAudioSource -t output -c)"
|
||||
while IFS= read -r device; do
|
||||
COLOR=$GREY
|
||||
if [ "${device}" = "$CURRENT" ]; then
|
||||
COLOR=$WHITE
|
||||
fi
|
||||
args+=(--add item volume.device.$COUNTER popup."$NAME" \
|
||||
--set volume.device.$COUNTER label="${device}" \
|
||||
label.color="$COLOR" \
|
||||
click_script="SwitchAudioSource -s \"${device}\" && sketchybar --set /volume.device\.*/ label.color=$GREY --set \$NAME label.color=$WHITE --set $NAME popup.drawing=off")
|
||||
COUNTER=$((COUNTER+1))
|
||||
done <<< "$(SwitchAudioSource -a -t output)"
|
||||
|
||||
sketchybar -m "${args[@]}" > /dev/null
|
||||
}
|
||||
|
||||
if [ "$BUTTON" = "right" ] || [ "$MODIFIER" = "shift" ]; then
|
||||
toggle_devices
|
||||
else
|
||||
toggle_detail
|
||||
fi
|
|
@ -0,0 +1,80 @@
|
|||
#!/bin/bash
|
||||
|
||||
window_state() {
|
||||
source "$CONFIG_DIR/colors.sh"
|
||||
source "$CONFIG_DIR/icons.sh"
|
||||
|
||||
WINDOW=$(yabai -m query --windows --window)
|
||||
STACK_INDEX=$(echo "$WINDOW" | jq '.["stack-index"]')
|
||||
|
||||
COLOR=$BAR_BORDER_COLOR
|
||||
ICON=""
|
||||
|
||||
if [ "$(echo "$WINDOW" | jq '.["is-floating"]')" = "true" ]; then
|
||||
ICON+=$YABAI_FLOAT
|
||||
COLOR=$MAGENTA
|
||||
elif [ "$(echo "$WINDOW" | jq '.["has-fullscreen-zoom"]')" = "true" ]; then
|
||||
ICON+=$YABAI_FULLSCREEN_ZOOM
|
||||
COLOR=$GREEN
|
||||
elif [ "$(echo "$WINDOW" | jq '.["has-parent-zoom"]')" = "true" ]; then
|
||||
ICON+=$YABAI_PARENT_ZOOM
|
||||
COLOR=$BLUE
|
||||
elif [[ $STACK_INDEX -gt 0 ]]; then
|
||||
LAST_STACK_INDEX=$(yabai -m query --windows --window stack.last | jq '.["stack-index"]')
|
||||
ICON+=$YABAI_STACK
|
||||
LABEL="$(printf "[%s/%s]" "$STACK_INDEX" "$LAST_STACK_INDEX")"
|
||||
COLOR=$RED
|
||||
fi
|
||||
|
||||
args=(--animate sin 10 --bar border_color=$COLOR
|
||||
--set $NAME icon.color=$COLOR)
|
||||
|
||||
[ -z "$LABEL" ] && args+=(label.width=0) \
|
||||
|| args+=(label="$LABEL" label.width=40)
|
||||
|
||||
[ -z "$ICON" ] && args+=(icon.width=0) \
|
||||
|| args+=(icon="$ICON" icon.width=30)
|
||||
|
||||
sketchybar -m "${args[@]}"
|
||||
}
|
||||
|
||||
windows_on_spaces () {
|
||||
CURRENT_SPACES="$(yabai -m query --displays | jq -r '.[].spaces | @sh')"
|
||||
|
||||
args=(--set spaces_bracket drawing=off
|
||||
--set '/space\..*/' background.drawing=on
|
||||
--animate sin 10)
|
||||
|
||||
while read -r line
|
||||
do
|
||||
for space in $line
|
||||
do
|
||||
icon_strip=" "
|
||||
apps=$(yabai -m query --windows --space $space | jq -r ".[].app")
|
||||
if [ "$apps" != "" ]; then
|
||||
while IFS= read -r app; do
|
||||
icon_strip+=" $($CONFIG_DIR/plugins/icon_map.sh "$app")"
|
||||
done <<< "$apps"
|
||||
fi
|
||||
args+=(--set space.$space label="$icon_strip" label.drawing=on)
|
||||
done
|
||||
done <<< "$CURRENT_SPACES"
|
||||
|
||||
sketchybar -m "${args[@]}"
|
||||
}
|
||||
|
||||
mouse_clicked() {
|
||||
yabai -m window --toggle float
|
||||
window_state
|
||||
}
|
||||
|
||||
case "$SENDER" in
|
||||
"mouse.clicked") mouse_clicked
|
||||
;;
|
||||
"forced") exit 0
|
||||
;;
|
||||
"window_focus") window_state
|
||||
;;
|
||||
"windows_on_spaces") windows_on_spaces
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,39 @@
|
|||
#!/bin/bash
|
||||
|
||||
zen_on() {
|
||||
sketchybar --set github.bell drawing=off \
|
||||
--set apple.logo drawing=off \
|
||||
--set '/cpu.*/' drawing=off \
|
||||
--set calendar icon.drawing=off \
|
||||
--set separator drawing=off \
|
||||
--set front_app drawing=off \
|
||||
--set volume_icon drawing=off \
|
||||
--set spotify.anchor drawing=off \
|
||||
--set spotify.play updates=off \
|
||||
--set brew drawing=off
|
||||
}
|
||||
|
||||
zen_off() {
|
||||
sketchybar --set github.bell drawing=on \
|
||||
--set apple.logo drawing=on \
|
||||
--set '/cpu.*/' drawing=on \
|
||||
--set calendar icon.drawing=on \
|
||||
--set separator drawing=on \
|
||||
--set front_app drawing=on \
|
||||
--set volume_icon drawing=on \
|
||||
--set spotify.play updates=on \
|
||||
--set brew drawing=on
|
||||
}
|
||||
|
||||
if [ "$1" = "on" ]; then
|
||||
zen_on
|
||||
elif [ "$1" = "off" ]; then
|
||||
zen_off
|
||||
else
|
||||
if [ "$(sketchybar --query apple.logo | jq -r ".geometry.drawing")" = "on" ]; then
|
||||
zen_on
|
||||
else
|
||||
zen_off
|
||||
fi
|
||||
fi
|
||||
|
|
@ -0,0 +1,83 @@
|
|||
#!/bin/bash
|
||||
|
||||
source "$CONFIG_DIR/colors.sh" # Loads all defined colors
|
||||
source "$CONFIG_DIR/icons.sh" # Loads all defined icons
|
||||
|
||||
ITEM_DIR="$CONFIG_DIR/items" # Directory where the items are configured
|
||||
PLUGIN_DIR="$CONFIG_DIR/plugins" # Directory where all the plugin scripts are stored
|
||||
|
||||
FONT="SF Pro" # Needs to have Regular, Bold, Semibold, Heavy and Black variants
|
||||
PADDINGS=3 # All paddings use this value (icon, label, background)
|
||||
|
||||
# Setting up and starting the helper process
|
||||
HELPER=git.felix.helper
|
||||
killall helper
|
||||
(cd $CONFIG_DIR/helper && make)
|
||||
$CONFIG_DIR/helper/helper $HELPER > /dev/null 2>&1 &
|
||||
|
||||
# Unload the macOS on screen indicator overlay for volume change
|
||||
launchctl unload -F /System/Library/LaunchAgents/com.apple.OSDUIHelper.plist > /dev/null 2>&1 &
|
||||
|
||||
# Setting up the general bar appearance of the bar
|
||||
bar=(
|
||||
height=45
|
||||
color=$BAR_COLOR
|
||||
border_width=2
|
||||
border_color=$BAR_BORDER_COLOR
|
||||
shadow=off
|
||||
position=top
|
||||
sticky=on
|
||||
padding_right=10
|
||||
padding_left=10
|
||||
y_offset=-5
|
||||
margin=-2
|
||||
)
|
||||
|
||||
sketchybar --bar "${bar[@]}"
|
||||
|
||||
# Setting up default values
|
||||
defaults=(
|
||||
updates=when_shown
|
||||
icon.font="$FONT:Bold:14.0"
|
||||
icon.color=$ICON_COLOR
|
||||
icon.padding_left=$PADDINGS
|
||||
icon.padding_right=$PADDINGS
|
||||
label.font="$FONT:Semibold:13.0"
|
||||
label.color=$LABEL_COLOR
|
||||
label.padding_left=$PADDINGS
|
||||
label.padding_right=$PADDINGS
|
||||
padding_right=$PADDINGS
|
||||
padding_left=$PADDINGS
|
||||
background.height=26
|
||||
background.corner_radius=9
|
||||
background.border_width=2
|
||||
popup.background.border_width=2
|
||||
popup.background.corner_radius=9
|
||||
popup.background.border_color=$POPUP_BORDER_COLOR
|
||||
popup.background.color=$POPUP_BACKGROUND_COLOR
|
||||
popup.blur_radius=20
|
||||
popup.background.shadow.drawing=on
|
||||
)
|
||||
|
||||
sketchybar --default "${defaults[@]}"
|
||||
|
||||
# Left
|
||||
source $ITEM_DIR/apple.sh
|
||||
source $ITEM_DIR/spaces.sh
|
||||
source $ITEM_DIR/front_app.sh
|
||||
|
||||
# Center
|
||||
source "$ITEM_DIR/spotify.sh"
|
||||
|
||||
# Right
|
||||
source "$ITEM_DIR/calendar.sh"
|
||||
source "$ITEM_DIR/brew.sh"
|
||||
source "$ITEM_DIR/github.sh"
|
||||
source "$ITEM_DIR/battery.sh"
|
||||
source "$ITEM_DIR/volume.sh"
|
||||
source "$ITEM_DIR/cpu.sh"
|
||||
|
||||
# Forcing all item scripts to run (never do this outside of sketchybarrc)
|
||||
sketchybar --update
|
||||
|
||||
echo "sketchybar configuation loaded.."
|
|
@ -0,0 +1,59 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# Unload the macOS WindowManager process
|
||||
launchctl unload -F /System/Library/LaunchAgents/com.apple.WindowManager.plist > /dev/null 2>&1 &
|
||||
|
||||
sudo yabai --load-sa
|
||||
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
|
||||
yabai -m signal --add event=window_focused action="sketchybar --trigger window_focus"
|
||||
yabai -m signal --add event=display_added action="sleep 2 && $HOME/.config/yabai/create_spaces.sh"
|
||||
yabai -m signal --add event=display_removed action="sleep 1 && $HOME/.config/yabai/create_spaces.sh"
|
||||
yabai -m signal --add event=window_created action="sketchybar --trigger windows_on_spaces"
|
||||
yabai -m signal --add event=window_destroyed action="sketchybar --trigger windows_on_spaces"
|
||||
|
||||
$HOME/.config/yabai/create_spaces.sh
|
||||
|
||||
yabai -m config external_bar all:40:0 \
|
||||
window_border on \
|
||||
mouse_follows_focus off \
|
||||
focus_follows_mouse autofocus \
|
||||
window_zoom_persist off \
|
||||
window_placement second_child \
|
||||
window_topmost off \
|
||||
window_shadow float \
|
||||
window_opacity on \
|
||||
window_opacity_duration 0.15 \
|
||||
active_window_opacity 1.0 \
|
||||
normal_window_opacity 0.95 \
|
||||
window_border_width 2 \
|
||||
window_border_hidpi off \
|
||||
window_border_radius 11 \
|
||||
window_animation_duration 0.22 \
|
||||
active_window_border_color 0xffe1e3e4 \
|
||||
normal_window_border_color 0xff2a2f38 \
|
||||
insert_feedback_color 0xff9dd274 \
|
||||
split_ratio 0.50 \
|
||||
auto_balance off \
|
||||
mouse_modifier fn \
|
||||
mouse_action1 move \
|
||||
mouse_action2 resize \
|
||||
mouse_drop_action swap \
|
||||
\
|
||||
top_padding 10 \
|
||||
bottom_padding 10 \
|
||||
left_padding 10 \
|
||||
right_padding 10 \
|
||||
window_gap 8 \
|
||||
window_border_blur off
|
||||
|
||||
# Exclude problematic apps from being managed:
|
||||
yabai -m rule --add app="^(LuLu|Vimac|Calculator|Software Update|Dictionary|VLC|System Preferences|System Settings|zoom.us|Photo Booth|Archive Utility|Python|LibreOffice|App Store|Steam|Alfred|Activity Monitor|Cerebro)$" manage=off
|
||||
yabai -m rule --add label="Finder" app="^Finder$" title="(Co(py|nnect)|Move|Info|Pref)" manage=off
|
||||
yabai -m rule --add label="Safari" app="^Safari$" title="^(General|(Tab|Password|Website|Extension)s|AutoFill|Se(arch|curity)|Privacy|Advance)$" manage=off
|
||||
yabai -m rule --add label="About This Mac" app="System Information" title="About This Mac" manage=off
|
||||
yabai -m rule --add label="Select file to save to" app="^Inkscape$" title="Select file to save to" manage=off
|
||||
yabai -m rule --add label="Little Arc" app="^Arc$" title="Little Arc.*"
|
||||
|
||||
yabai -m config layout bsp
|
||||
|
||||
echo "yabai configuration loaded.."
|
|
@ -1,8 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Name=Albert Starter
|
||||
Comment=time to start albert
|
||||
Exec=/home/adriel/scripts/albert-start
|
||||
Terminal=false
|
||||
X-Desktop-File-Install-Version=0.26
|
|
@ -1,46 +0,0 @@
|
|||
// Copyright (C) 2011-2017 R M Yorston
|
||||
// Licence: GPLv2+
|
||||
|
||||
const Main = imports.ui.main;
|
||||
const SessionMode = imports.ui.sessionMode;
|
||||
|
||||
function init() {
|
||||
}
|
||||
|
||||
function enable() {
|
||||
// do nothing if the clock isn't centred in this mode
|
||||
if ( Main.sessionMode.panel.center.indexOf('dateMenu') == -1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
let centerBox = Main.panel._centerBox;
|
||||
let rightBox = Main.panel._rightBox;
|
||||
let dateMenu = Main.panel.statusArea['dateMenu'];
|
||||
let children = centerBox.get_children();
|
||||
|
||||
// only move the clock if it's in the centre box
|
||||
if ( children.indexOf(dateMenu.container) != -1 ) {
|
||||
centerBox.remove_actor(dateMenu.container);
|
||||
|
||||
children = rightBox.get_children();
|
||||
rightBox.insert_child_at_index(dateMenu.container, children.length-1);
|
||||
}
|
||||
}
|
||||
|
||||
function disable() {
|
||||
// do nothing if the clock isn't centred in this mode
|
||||
if ( Main.sessionMode.panel.center.indexOf('dateMenu') == -1 ) {
|
||||
return;
|
||||
}
|
||||
|
||||
let centerBox = Main.panel._centerBox;
|
||||
let rightBox = Main.panel._rightBox;
|
||||
let dateMenu = Main.panel.statusArea['dateMenu'];
|
||||
let children = rightBox.get_children();
|
||||
|
||||
// only move the clock back if it's in the right box
|
||||
if ( children.indexOf(dateMenu.container) != -1 ) {
|
||||
rightBox.remove_actor(dateMenu.container);
|
||||
centerBox.add_actor(dateMenu.container);
|
||||
}
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"_generated": "Generated by SweetTooth, do not edit",
|
||||
"description": "Move clock to left of status menu button",
|
||||
"name": "Frippery Move Clock",
|
||||
"shell-version": [
|
||||
"40",
|
||||
"41"
|
||||
],
|
||||
"url": "http://frippery.org/extensions",
|
||||
"uuid": "Move_Clock@rmy.pobox.com",
|
||||
"version": 25
|
||||
}
|
|
@ -1,674 +0,0 @@
|
|||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
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/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
@ -1,212 +0,0 @@
|
|||
# arch-update
|
||||
Update indicator for Arch Linux and GNOME Shell
|
||||
|
||||
## Features
|
||||
- Uses pacman's «checkupdates» by default and thus does not need root access
|
||||
- Optional update count display on panel
|
||||
- Optional notification on new updates (defaults to off)
|
||||
- Launcher for your favorite update command
|
||||
- Comes in English, French, Czech, German, Spanish, Brazilian Portuguese, Italian, Polish, Romanian, Arabic, Slovak, Chinese, Serbian, Swedish, Norwegian Bokmal, Russian, Persian, Turkish, Esperanto, Finnish, Dutch, Ukrainian, Korean languages. (Thanks translators !)
|
||||
|
||||
## Requirements
|
||||
If you use the default "checkupdates" way you will need to install "pacman-contrib".
|
||||
|
||||
## One-click install
|
||||
It's on extensions.gnome.org :
|
||||
https://extensions.gnome.org/extension/1010/archlinux-updates-indicator/
|
||||
|
||||
## Install from AUR
|
||||
Thanks to michiwend you can install it from Arch Linux User Repository : gnome-shell-extension-arch-update
|
||||
https://aur.archlinux.org/packages/gnome-shell-extension-arch-update/
|
||||
|
||||
## Manual install
|
||||
To install, simply download as zip and unzip contents in ~/.local/share/gnome-shell/extensions/arch-update@RaphaelRochet
|
||||
|
||||
## Changes
|
||||
|
||||
### v45
|
||||
- Fixed an error on unloading introduced in v44
|
||||
|
||||
### v44
|
||||
- Minor refactoring
|
||||
|
||||
### v43
|
||||
- Gnome 41
|
||||
- New translations : Dutch, Korean, Ukrainian
|
||||
- Updated translations : Simplified Chinese, Russian
|
||||
|
||||
### v42
|
||||
- Updated translation : German
|
||||
|
||||
### v41
|
||||
- Fixed metadata for extensions website
|
||||
|
||||
### v40
|
||||
- Gnome 40 only
|
||||
- Updated translation : Russian
|
||||
|
||||
### v39
|
||||
- Fixed update list empty after suspend
|
||||
- Fixed update list not fully visible when lots of updates
|
||||
- Updated translations : Chinese and Spanish
|
||||
|
||||
### v38
|
||||
- Fixed crash about Gtk.IconTheme.get_defaults
|
||||
- Added indicator position setting
|
||||
|
||||
### v37
|
||||
- Theme support is back ! Also an option to force built-in icons if needed.
|
||||
|
||||
### v36
|
||||
- Gnome 3.36.1 only
|
||||
- Fixed open prefs from menu
|
||||
|
||||
### v35
|
||||
- Gnome 3.36 only
|
||||
- Fixed a warning about absolete call
|
||||
|
||||
### v34
|
||||
- Gnome 3.36
|
||||
- New translation : Swedish
|
||||
- Updated translations : Italian, German
|
||||
|
||||
### v33
|
||||
- Removed deprecated code
|
||||
- Removed support for older GS
|
||||
|
||||
### v32
|
||||
- Gnome 3.34
|
||||
|
||||
### v31
|
||||
- Updated translation : Turkish
|
||||
|
||||
### v30
|
||||
- Gnome 3.32
|
||||
|
||||
### v29
|
||||
- Update translation : Romanian
|
||||
- Applied French translation to all French
|
||||
|
||||
### v28
|
||||
- Gnome 3.30
|
||||
- New translation : Esperanto
|
||||
- New translation : Finnish
|
||||
- Updated translation : Brazilian
|
||||
- Fix indicator alignment
|
||||
- Fix some errors that could quickly fill log
|
||||
|
||||
### v27
|
||||
- Added info about pacman-contrib for checkupdates script
|
||||
- New translation : Estonian
|
||||
- Updated translation : Romanian
|
||||
|
||||
### v26
|
||||
- Gnome 3.28
|
||||
- New translation : Hebrew
|
||||
- Update translation : Spanish
|
||||
|
||||
### v25
|
||||
- Added optional package manager menu entry
|
||||
- Added requirements in readme
|
||||
- Updated Slovak translation
|
||||
- Updated Italian translation
|
||||
- Fixed a JS Warning
|
||||
- Fixed a bug that crashes Gnome-SHELL on update
|
||||
|
||||
### v24
|
||||
- Gnome 3.26
|
||||
- Updated Romanian translation
|
||||
|
||||
### v23
|
||||
- Updated translation : Arabic
|
||||
|
||||
### v22
|
||||
- Updated translation : Serbian
|
||||
- New translation : Turkish
|
||||
|
||||
### v21
|
||||
- Gnome 3.24
|
||||
- New translation : Persian
|
||||
|
||||
### v20
|
||||
- Translations updates (German, Spanish)
|
||||
|
||||
### v19
|
||||
- Ability to cancel checking
|
||||
- New translation : Catalan
|
||||
- Updated translations : Spanish, Brazilian
|
||||
|
||||
### v18
|
||||
- Gnome 3.22
|
||||
- New preferences window
|
||||
- Cleaner translations (some text are not translated yet)
|
||||
- Menu does not close when updating
|
||||
|
||||
### v17
|
||||
- New translation : Russian
|
||||
- Updated translation : Czech
|
||||
|
||||
### v16
|
||||
- Add vertical scroll bar on preferences window
|
||||
|
||||
### v15
|
||||
- New feature : auto-expand update list
|
||||
- New translation : Norwegian Bokmal
|
||||
- Updated translation : Brazilian Portuguese
|
||||
|
||||
### v14
|
||||
- Gnome 3.20 compatibility
|
||||
|
||||
### v13
|
||||
- New translation : Serbian (sr and sr@latin)
|
||||
- Updated translation : Spanish
|
||||
- Minor bug fix
|
||||
|
||||
### v12
|
||||
- New translation : Chinese
|
||||
- Updated translation : Czech
|
||||
|
||||
### v11
|
||||
- New option to strip out version numbers
|
||||
- New translations : Slovak and Arabic
|
||||
- Updated translations : Brazilian Portuguese, German
|
||||
|
||||
### v10
|
||||
- Licence added : GNU GPL v3
|
||||
- Updated translations : Polish and Brazilian portuguese
|
||||
|
||||
### v9
|
||||
- Added option to change command used to check for updates (for advanced users)
|
||||
- Added Romanian and Polish translations
|
||||
|
||||
### v8
|
||||
- Added Italian language
|
||||
|
||||
### v7
|
||||
- Added Brazilian Portuguese translation
|
||||
|
||||
### v6
|
||||
- Added Spanish language
|
||||
|
||||
### v5
|
||||
- Option to have permanent notifications
|
||||
- Asynchronous checking - No more 1 sec Shell freeze during updates check !
|
||||
- 'Updates pending' menu item can now be expanded to show updates list
|
||||
- Option to only list new updates in notifications
|
||||
- Aded "Update Now" action button on notifications
|
||||
|
||||
### v4
|
||||
- Run update command from indicator
|
||||
- Autodetect when updates are done
|
||||
- Prefs dialog reworked
|
||||
|
||||
### v3
|
||||
- Notification option
|
||||
- Czech and German languages added
|
||||
|
||||
## Credits
|
||||
All icons are based on Thayer Williams' Archer logo, winner of Arch Linux logo contest.
|
||||
|
||||
Some portions of the extension were inspired from Touchad Indicator and Lock keys.
|
||||
https://github.com/orangeshirt/gnome-shell-extension-touchpad-indicator
|
||||
https://github.com/kazysmaster/gnome-shell-extension-lockkeys
|
|
@ -1,509 +0,0 @@
|
|||
/*
|
||||
This file is part of Arch Linux Updates Indicator
|
||||
|
||||
Arch Linux Updates Indicator 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.
|
||||
|
||||
Arch Linux Updates Indicator 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 Arch Linux Updates Indicator. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Copyright 2016 Raphaël Rochet
|
||||
*/
|
||||
|
||||
const Clutter = imports.gi.Clutter;
|
||||
|
||||
const St = imports.gi.St;
|
||||
const GObject = imports.gi.GObject;
|
||||
const GLib = imports.gi.GLib;
|
||||
const Gio = imports.gi.Gio;
|
||||
const Gtk = imports.gi.Gtk;
|
||||
|
||||
const Main = imports.ui.main;
|
||||
const Panel = imports.ui.panel;
|
||||
const PanelMenu = imports.ui.panelMenu;
|
||||
const PopupMenu = imports.ui.popupMenu;
|
||||
const MessageTray = imports.ui.messageTray;
|
||||
|
||||
const Util = imports.misc.util;
|
||||
const ExtensionUtils = imports.misc.extensionUtils;
|
||||
const ExtensionManager = imports.ui.main.extensionManager;
|
||||
const Me = ExtensionUtils.getCurrentExtension();
|
||||
|
||||
const Format = imports.format;
|
||||
const Gettext = imports.gettext.domain('arch-update');
|
||||
const _ = Gettext.gettext;
|
||||
|
||||
/* Options */
|
||||
let ALWAYS_VISIBLE = true;
|
||||
let USE_BUILDIN_ICONS = true;
|
||||
let SHOW_COUNT = true;
|
||||
let BOOT_WAIT = 15; // 15s
|
||||
let CHECK_INTERVAL = 60*60; // 1h
|
||||
let NOTIFY = false;
|
||||
let HOWMUCH = 0;
|
||||
let TRANSIENT = true;
|
||||
let UPDATE_CMD = "gnome-terminal -e 'sh -c \"sudo pacman -Syu ; echo Done - Press enter to exit; read _\" '";
|
||||
let CHECK_CMD = "/usr/bin/checkupdates";
|
||||
let MANAGER_CMD = "";
|
||||
let PACMAN_DIR = "/var/lib/pacman/local";
|
||||
let STRIP_VERSIONS = true;
|
||||
let AUTO_EXPAND_LIST = 0;
|
||||
|
||||
/* Variables we want to keep when extension is disabled (eg during screen lock) */
|
||||
let FIRST_BOOT = 1;
|
||||
let UPDATES_PENDING = -1;
|
||||
let UPDATES_LIST = [];
|
||||
|
||||
|
||||
function init() {
|
||||
String.prototype.format = Format.format;
|
||||
ExtensionUtils.initTranslations("arch-update");
|
||||
}
|
||||
|
||||
const ArchUpdateIndicator = GObject.registerClass(
|
||||
{
|
||||
_TimeoutId: null,
|
||||
_FirstTimeoutId: null,
|
||||
_updateProcess_sourceId: null,
|
||||
_updateProcess_stream: null,
|
||||
_updateProcess_pid: null,
|
||||
_updateList: [],
|
||||
},
|
||||
class ArchUpdateIndicator extends PanelMenu.Button {
|
||||
|
||||
_init() {
|
||||
super._init(0);
|
||||
this.updateIcon = new St.Icon({gicon: this._getCustIcon('arch-unknown-symbolic'), style_class: 'system-status-icon'});
|
||||
|
||||
let box = new St.BoxLayout({ vertical: false, style_class: 'panel-status-menu-box' });
|
||||
this.label = new St.Label({ text: '',
|
||||
y_expand: true,
|
||||
y_align: Clutter.ActorAlign.CENTER });
|
||||
|
||||
box.add_child(this.updateIcon);
|
||||
box.add_child(this.label);
|
||||
this.add_child(box);
|
||||
|
||||
// Prepare the special menu : a submenu for updates list that will look like a regular menu item when disabled
|
||||
// Scrollability will also be taken care of by the popupmenu
|
||||
this.menuExpander = new PopupMenu.PopupSubMenuMenuItem('');
|
||||
this.menuExpander.menu.box.style_class = 'arch-updates-list';
|
||||
|
||||
// Other standard menu items
|
||||
let settingsMenuItem = new PopupMenu.PopupMenuItem(_('Settings'));
|
||||
this.updateNowMenuItem = new PopupMenu.PopupMenuItem(_('Update now'));
|
||||
this.managerMenuItem = new PopupMenu.PopupMenuItem(_('Open package manager'));
|
||||
|
||||
// A special "Checking" menu item with a stop button
|
||||
this.checkingMenuItem = new PopupMenu.PopupBaseMenuItem( {reactive:false} );
|
||||
let checkingLabel = new St.Label({ text: _('Checking') + " …" });
|
||||
let cancelButton = new St.Button({
|
||||
child: new St.Icon({ icon_name: 'process-stop-symbolic' }),
|
||||
style_class: 'system-menu-action arch-updates-menubutton',
|
||||
x_expand: true
|
||||
});
|
||||
cancelButton.set_x_align(Clutter.ActorAlign.END);
|
||||
this.checkingMenuItem.actor.add_actor( checkingLabel );
|
||||
this.checkingMenuItem.actor.add_actor( cancelButton );
|
||||
|
||||
// A little trick on "check now" menuitem to keep menu opened
|
||||
this.checkNowMenuItem = new PopupMenu.PopupMenuItem( _('Check now') );
|
||||
this.checkNowMenuContainer = new PopupMenu.PopupMenuSection();
|
||||
this.checkNowMenuContainer.actor.add_actor(this.checkNowMenuItem.actor);
|
||||
|
||||
// Assemble all menu items into the popup menu
|
||||
this.menu.addMenuItem(this.menuExpander);
|
||||
this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
|
||||
this.menu.addMenuItem(this.updateNowMenuItem);
|
||||
this.menu.addMenuItem(this.checkingMenuItem);
|
||||
this.menu.addMenuItem(this.checkNowMenuContainer);
|
||||
this.menu.addMenuItem(this.managerMenuItem);
|
||||
this.menu.addMenuItem(settingsMenuItem);
|
||||
|
||||
// Bind some events
|
||||
this.menu.connect('open-state-changed', this._onMenuOpened.bind(this));
|
||||
this.checkNowMenuItem.connect('activate', this._checkUpdates.bind(this));
|
||||
cancelButton.connect('clicked', this._cancelCheck.bind(this));
|
||||
settingsMenuItem.connect('activate', this._openSettings.bind(this));
|
||||
this.updateNowMenuItem.connect('activate', this._updateNow.bind(this));
|
||||
this.managerMenuItem.connect('activate', this._openManager.bind(this));
|
||||
|
||||
// Some initial status display
|
||||
this._showChecking(false);
|
||||
this._updateMenuExpander(false, _('Waiting first check'));
|
||||
|
||||
// Restore previous updates list if any
|
||||
this._updateList = UPDATES_LIST;
|
||||
|
||||
// Load settings
|
||||
this._settings = ExtensionUtils.getSettings('org.gnome.shell.extensions.arch-update');
|
||||
this._settings.connect('changed', this._positionChanged.bind(this));
|
||||
this._settingsChangedId = this._settings.connect('changed', this._applySettings.bind(this));
|
||||
this._applySettings();
|
||||
|
||||
// Start monitoring external changes
|
||||
this._startFolderMonitor();
|
||||
|
||||
if (FIRST_BOOT) {
|
||||
// Schedule first check only if this is the first extension load
|
||||
// This won't be run again if extension is disabled/enabled (like when screen is locked)
|
||||
let that = this;
|
||||
this._FirstTimeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, BOOT_WAIT, function () {
|
||||
that._checkUpdates();
|
||||
that._FirstTimeoutId = null;
|
||||
FIRST_BOOT = 0;
|
||||
return false; // Run once
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
_getCustIcon(icon_name) {
|
||||
// I did not find a way to lookup icon via Gio, so use Gtk
|
||||
// I couldn't find why, but get_default is sometimes null, hence this additional test
|
||||
if (!USE_BUILDIN_ICONS && Gtk.IconTheme.get_default()) {
|
||||
if (Gtk.IconTheme.get_default().has_icon(icon_name)) {
|
||||
return Gio.icon_new_for_string( icon_name );
|
||||
}
|
||||
}
|
||||
// Icon not available in theme, or user prefers built in icon
|
||||
return Gio.icon_new_for_string( Me.dir.get_child('icons').get_path() + "/" + icon_name + ".svg" );
|
||||
}
|
||||
|
||||
_positionChanged(){
|
||||
this.container.get_parent().remove_actor(this.container);
|
||||
let boxes = {
|
||||
0: Main.panel._leftBox,
|
||||
1: Main.panel._centerBox,
|
||||
2: Main.panel._rightBox
|
||||
};
|
||||
let p = this._settings.get_int('position');
|
||||
let i = this._settings.get_int('position-number');
|
||||
boxes[p].insert_child_at_index(this.container, i);
|
||||
}
|
||||
|
||||
_openSettings() {
|
||||
Gio.DBus.session.call(
|
||||
'org.gnome.Shell.Extensions',
|
||||
'/org/gnome/Shell/Extensions',
|
||||
'org.gnome.Shell.Extensions',
|
||||
'OpenExtensionPrefs',
|
||||
new GLib.Variant('(ssa{sv})', [Me.uuid, '', {}]),
|
||||
null,
|
||||
Gio.DBusCallFlags.NONE,
|
||||
-1,
|
||||
null);
|
||||
}
|
||||
|
||||
_openManager() {
|
||||
Util.spawnCommandLine(MANAGER_CMD);
|
||||
}
|
||||
|
||||
_updateNow() {
|
||||
Util.spawnCommandLine(UPDATE_CMD);
|
||||
}
|
||||
|
||||
_applySettings() {
|
||||
ALWAYS_VISIBLE = this._settings.get_boolean('always-visible');
|
||||
USE_BUILDIN_ICONS = this._settings.get_boolean('use-buildin-icons');
|
||||
SHOW_COUNT = this._settings.get_boolean('show-count');
|
||||
BOOT_WAIT = this._settings.get_int('boot-wait');
|
||||
CHECK_INTERVAL = 60 * this._settings.get_int('check-interval');
|
||||
NOTIFY = this._settings.get_boolean('notify');
|
||||
HOWMUCH = this._settings.get_int('howmuch');
|
||||
TRANSIENT = this._settings.get_boolean('transient');
|
||||
UPDATE_CMD = this._settings.get_string('update-cmd');
|
||||
CHECK_CMD = this._settings.get_string('check-cmd');
|
||||
MANAGER_CMD = this._settings.get_string('package-manager');
|
||||
PACMAN_DIR = this._settings.get_string('pacman-dir');
|
||||
STRIP_VERSIONS = this._settings.get_boolean('strip-versions');
|
||||
AUTO_EXPAND_LIST = this._settings.get_int('auto-expand-list');
|
||||
this.managerMenuItem.actor.visible = ( MANAGER_CMD != "" );
|
||||
this._checkShowHide();
|
||||
this._updateStatus();
|
||||
let that = this;
|
||||
if (this._TimeoutId) GLib.source_remove(this._TimeoutId);
|
||||
this._TimeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, CHECK_INTERVAL, function () {
|
||||
that._checkUpdates();
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
destroy() {
|
||||
this._settings.disconnect( this._settingsChangedId );
|
||||
if (this._notifSource) {
|
||||
// Delete the notification source, which lay still have a notification shown
|
||||
this._notifSource.destroy();
|
||||
this._notifSource = null;
|
||||
};
|
||||
if (this.monitor) {
|
||||
// Stop spying on pacman local dir
|
||||
this.monitor.cancel();
|
||||
this.monitor = null;
|
||||
}
|
||||
if (this._updateProcess_sourceId) {
|
||||
// We leave the checkupdate process end by itself but undef handles to avoid zombies
|
||||
GLib.source_remove(this._updateProcess_sourceId);
|
||||
this._updateProcess_sourceId = null;
|
||||
this._updateProcess_stream = null;
|
||||
}
|
||||
if (this._FirstTimeoutId) {
|
||||
GLib.source_remove(this._FirstTimeoutId);
|
||||
this._FirstTimeoutId = null;
|
||||
}
|
||||
if (this._TimeoutId) {
|
||||
GLib.source_remove(this._TimeoutId);
|
||||
this._TimeoutId = null;
|
||||
}
|
||||
super.destroy();
|
||||
}
|
||||
|
||||
_checkShowHide() {
|
||||
if ( UPDATES_PENDING == -3 ) {
|
||||
// Do not apply visibility change while checking for updates
|
||||
return;
|
||||
}
|
||||
if (!ALWAYS_VISIBLE && UPDATES_PENDING < 1) {
|
||||
this.visible = false;
|
||||
} else {
|
||||
this.visible = true;
|
||||
}
|
||||
this.label.visible = SHOW_COUNT && UPDATES_PENDING > 0;
|
||||
}
|
||||
|
||||
_onMenuOpened() {
|
||||
// This event is fired when menu is shown or hidden
|
||||
// Only open the submenu if the menu is being opened and there is something to show
|
||||
this._checkAutoExpandList();
|
||||
}
|
||||
|
||||
_checkAutoExpandList() {
|
||||
if (this.menu.isOpen && UPDATES_PENDING > 0 && UPDATES_PENDING <= AUTO_EXPAND_LIST) {
|
||||
this.menuExpander.setSubmenuShown(true);
|
||||
} else {
|
||||
this.menuExpander.setSubmenuShown(false);
|
||||
}
|
||||
}
|
||||
|
||||
_startFolderMonitor() {
|
||||
if (PACMAN_DIR) {
|
||||
this.pacman_dir = Gio.file_new_for_path(PACMAN_DIR);
|
||||
this.monitor = this.pacman_dir.monitor_directory(0, null);
|
||||
this.monitor.connect('changed', this._onFolderChanged.bind(this));
|
||||
}
|
||||
}
|
||||
|
||||
_onFolderChanged() {
|
||||
// Folder have changed ! Let's schedule a check in a few seconds
|
||||
let that = this;
|
||||
if (this._FirstTimeoutId) GLib.source_remove(this._FirstTimeoutId);
|
||||
this._FirstTimeoutId = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT, 5, function () {
|
||||
that._checkUpdates();
|
||||
that._FirstTimeoutId = null;
|
||||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
_showChecking(isChecking) {
|
||||
if (isChecking == true) {
|
||||
this.updateIcon.set_gicon( this._getCustIcon('arch-unknown-symbolic') );
|
||||
this.checkNowMenuContainer.actor.visible = false;
|
||||
this.checkingMenuItem.actor.visible = true;;
|
||||
} else {
|
||||
this.checkNowMenuContainer.actor.visible = true;;
|
||||
this.checkingMenuItem.actor.visible = false;;
|
||||
}
|
||||
}
|
||||
|
||||
_updateStatus(updatesCount) {
|
||||
updatesCount = typeof updatesCount === 'number' ? updatesCount : UPDATES_PENDING;
|
||||
if (updatesCount > 0) {
|
||||
// Updates pending
|
||||
this.updateIcon.set_gicon( this._getCustIcon('arch-updates-symbolic') );
|
||||
this._updateMenuExpander( true, Gettext.ngettext( "%d update pending", "%d updates pending", updatesCount ).format(updatesCount) );
|
||||
this.label.set_text(updatesCount.toString());
|
||||
if (NOTIFY && UPDATES_PENDING < updatesCount) {
|
||||
if (HOWMUCH > 0) {
|
||||
let updateList = [];
|
||||
if (HOWMUCH > 1) {
|
||||
updateList = this._updateList;
|
||||
} else {
|
||||
// Keep only packets that was not in the previous notification
|
||||
updateList = this._updateList.filter(function(pkg) { return UPDATES_LIST.indexOf(pkg) < 0 });
|
||||
}
|
||||
if (updateList.length > 0) {
|
||||
// Show notification only if there's new updates
|
||||
this._showNotification(
|
||||
Gettext.ngettext( "New Arch Linux Update", "New Arch Linux Updates", updateList.length ),
|
||||
updateList.join(', ')
|
||||
);
|
||||
}
|
||||
} else {
|
||||
this._showNotification(
|
||||
Gettext.ngettext( "New Arch Linux Update", "New Arch Linux Updates", updatesCount ),
|
||||
Gettext.ngettext( "There is %d update pending", "There are %d updates pending", updatesCount ).format(updatesCount)
|
||||
);
|
||||
}
|
||||
}
|
||||
// Store the new list
|
||||
UPDATES_LIST = this._updateList;
|
||||
} else {
|
||||
this.label.set_text('');
|
||||
if (updatesCount == -1) {
|
||||
// Unknown
|
||||
this.updateIcon.set_gicon( this._getCustIcon('arch-unknown-symbolic') );
|
||||
this._updateMenuExpander( false, '' );
|
||||
} else if (updatesCount == -2) {
|
||||
// Error
|
||||
this.updateIcon.set_gicon( this._getCustIcon('arch-error-symbolic') );
|
||||
if ( this.lastUnknowErrorString.indexOf("/usr/bin/checkupdates") > 0 ) {
|
||||
// We do a special change here due to checkupdates moved to pacman-contrib
|
||||
this._updateMenuExpander( false, _("Note : you have to install pacman-contrib to use the 'checkupdates' script.") );
|
||||
} else {
|
||||
this._updateMenuExpander( false, _('Error') + "\n" + this.lastUnknowErrorString );
|
||||
}
|
||||
} else {
|
||||
// Up to date
|
||||
this.updateIcon.set_gicon( this._getCustIcon('arch-uptodate-symbolic') );
|
||||
this._updateMenuExpander( false, _('Up to date :)') );
|
||||
UPDATES_LIST = []; // Reset stored list
|
||||
}
|
||||
}
|
||||
UPDATES_PENDING = updatesCount;
|
||||
this._checkAutoExpandList();
|
||||
this._checkShowHide();
|
||||
}
|
||||
|
||||
_updateMenuExpander(enabled, label) {
|
||||
this.menuExpander.menu.box.destroy_all_children();
|
||||
if (label == "") {
|
||||
// No text, hide the menuitem
|
||||
this.menuExpander.actor.visible = false;
|
||||
} else {
|
||||
// We make our expander look like a regular menu label if disabled
|
||||
this.menuExpander.actor.reactive = enabled;
|
||||
this.menuExpander._triangle.visible = enabled;
|
||||
this.menuExpander.label.set_text(label);
|
||||
this.menuExpander.actor.visible = true;
|
||||
if (enabled && this._updateList.length > 0) {
|
||||
this._updateList.forEach( item => {
|
||||
this.menuExpander.menu.box.add( new St.Label({ text: item }) );
|
||||
} );
|
||||
}
|
||||
}
|
||||
|
||||
// 'Update now' visibility is linked so let's save a few lines and set it here
|
||||
this.updateNowMenuItem.actor.reactive = enabled;
|
||||
}
|
||||
|
||||
_checkUpdates() {
|
||||
if(this._updateProcess_sourceId) {
|
||||
// A check is already running ! Maybe we should kill it and run another one ?
|
||||
return;
|
||||
}
|
||||
// Run asynchronously, to avoid shell freeze - even for a 1s check
|
||||
this._showChecking(true);
|
||||
try {
|
||||
// Parse check command line
|
||||
let [parseok, argvp] = GLib.shell_parse_argv( CHECK_CMD );
|
||||
if (!parseok) { throw 'Parse error' };
|
||||
let [res, pid, in_fd, out_fd, err_fd] = GLib.spawn_async_with_pipes(null, argvp, null, GLib.SpawnFlags.DO_NOT_REAP_CHILD, null);
|
||||
// Let's buffer the command's output - that's a input for us !
|
||||
this._updateProcess_stream = new Gio.DataInputStream({
|
||||
base_stream: new Gio.UnixInputStream({fd: out_fd})
|
||||
});
|
||||
// We will process the output at once when it's done
|
||||
this._updateProcess_sourceId = GLib.child_watch_add(0, pid, () => {this._checkUpdatesRead()} );
|
||||
this._updateProcess_pid = pid;
|
||||
} catch (err) {
|
||||
this._showChecking(false);
|
||||
this.lastUnknowErrorString = err.message.toString();
|
||||
this._updateStatus(-2);
|
||||
}
|
||||
}
|
||||
|
||||
_cancelCheck() {
|
||||
if (this._updateProcess_pid == null) { return; };
|
||||
Util.spawnCommandLine( "kill " + this._updateProcess_pid );
|
||||
this._updateProcess_pid = null; // Prevent double kill
|
||||
this._checkUpdatesEnd();
|
||||
}
|
||||
|
||||
_checkUpdatesRead() {
|
||||
// Read the buffered output
|
||||
let updateList = [];
|
||||
let out, size;
|
||||
do {
|
||||
[out, size] = this._updateProcess_stream.read_line_utf8(null);
|
||||
if (out) updateList.push(out);
|
||||
} while (out);
|
||||
// If version numbers should be stripped, do it
|
||||
if (STRIP_VERSIONS == true) {
|
||||
updateList = updateList.map(function(p) {
|
||||
// Try to keep only what's before the first space
|
||||
var chunks = p.split(" ",2);
|
||||
return chunks[0];
|
||||
});
|
||||
}
|
||||
this._updateList = updateList;
|
||||
this._checkUpdatesEnd();
|
||||
}
|
||||
|
||||
_checkUpdatesEnd() {
|
||||
// Free resources
|
||||
this._updateProcess_stream.close(null);
|
||||
this._updateProcess_stream = null;
|
||||
GLib.source_remove(this._updateProcess_sourceId);
|
||||
this._updateProcess_sourceId = null;
|
||||
this._updateProcess_pid = null;
|
||||
// Update indicator
|
||||
this._showChecking(false);
|
||||
this._updateStatus(this._updateList.length);
|
||||
}
|
||||
|
||||
_showNotification(title, message) {
|
||||
if (this._notifSource == null) {
|
||||
// We have to prepare this only once
|
||||
this._notifSource = new MessageTray.SystemNotificationSource();
|
||||
this._notifSource.createIcon = function() {
|
||||
let gicon = Gio.icon_new_for_string( Me.dir.get_child('icons').get_path() + "/arch-lit-symbolic.svg" );
|
||||
return new St.Icon({ gicon: gicon });
|
||||
};
|
||||
// Take care of note leaving unneeded sources
|
||||
this._notifSource.connect('destroy', ()=>{this._notifSource = null;});
|
||||
Main.messageTray.add(this._notifSource);
|
||||
}
|
||||
let notification = null;
|
||||
// We do not want to have multiple notifications stacked
|
||||
// instead we will update previous
|
||||
if (this._notifSource.notifications.length == 0) {
|
||||
notification = new MessageTray.Notification(this._notifSource, title, message);
|
||||
notification.addAction( _('Update now') , ()=>{this._updateNow();} );
|
||||
} else {
|
||||
notification = this._notifSource.notifications[0];
|
||||
notification.update( title, message, { clear: true });
|
||||
}
|
||||
notification.setTransient(TRANSIENT);
|
||||
this._notifSource.showNotification(notification);
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
let archupdateindicator;
|
||||
|
||||
function enable() {
|
||||
archupdateindicator = new ArchUpdateIndicator();
|
||||
Main.panel.addToStatusArea('ArchUpdateIndicator', archupdateindicator);
|
||||
archupdateindicator._positionChanged();
|
||||
}
|
||||
|
||||
function disable() {
|
||||
archupdateindicator.destroy();
|
||||
}
|
|
@ -1,233 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="32"
|
||||
height="32"
|
||||
id="svg2424"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.91 r13725"
|
||||
version="1.0"
|
||||
sodipodi:docname="arch-error-symbolic.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/thayer/archlinux-logo-contest/archer-full-detail.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs2426">
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="path1082_2_"
|
||||
y2="129.3468"
|
||||
x2="112.49853"
|
||||
y1="6.1372099"
|
||||
x1="112.49854"
|
||||
gradientTransform="translate(287,-83)">
|
||||
<stop
|
||||
id="stop193"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:0" />
|
||||
<stop
|
||||
id="stop195"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0.27450982;" />
|
||||
<midPointStop
|
||||
id="midPointStop197"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0" />
|
||||
<midPointStop
|
||||
id="midPointStop199"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0.5" />
|
||||
<midPointStop
|
||||
id="midPointStop201"
|
||||
style="stop-color:#000000"
|
||||
offset="1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3388">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="0"
|
||||
id="stop3390" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0.37113401;"
|
||||
offset="1"
|
||||
id="stop3392" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4346">
|
||||
<stop
|
||||
style="stop-color:#00bdec;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4348" />
|
||||
<stop
|
||||
style="stop-color:#40bfde;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4350" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4352"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5323">
|
||||
<stop
|
||||
style="stop-color:#6e6e6e;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop5325" />
|
||||
<stop
|
||||
style="stop-color:#4d4d4d;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop5327" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient5329"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient2216"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4175"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4177"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4179"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4178"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4180"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4182"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="19.099013"
|
||||
inkscape:cx="11.847391"
|
||||
inkscape:cy="16.110398"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="g2210"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1016"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
showgrid="false"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata2429">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-309.51781,-259.60123)">
|
||||
<g
|
||||
id="g2424"
|
||||
transform="matrix(1.3473684,0,0,1.3473684,-632.88236,-513.34366)">
|
||||
<g
|
||||
id="g2210"
|
||||
transform="matrix(0.125,0,0,0.125,615.71887,519.21715)">
|
||||
<path
|
||||
style="opacity:0.5;fill:#bebebe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 16 0 C 14.575648 3.4921313 13.874892 5.5315986 12.289062 8.9199219 C 13.261376 9.9505728 14.292283 11.394438 16.230469 12.75 C 14.559075 12.634776 12.56221 11.364015 11.5 10.470703 C 9.4704421 14.705691 6.4527056 20.405799 0 32 C 5.0703376 29.072805 9.0009501 27.26729 12.664062 26.578125 C 12.507343 25.90258 12.423624 25.168434 12.429688 24.40625 L 12.433594 24.246094 C 12.514069 20.996846 14.204761 18.498315 16.207031 18.667969 C 18.2093 18.837623 19.767973 21.610127 19.6875 24.859375 C 19.672342 25.471402 19.601188 26.059478 19.480469 26.605469 C 20.527588 26.810387 21.602418 27.117186 22.714844 27.503906 C 22.851836 27.372798 22.997836 27.24113 23.111328 27.109375 C 22.958469 26.467866 22.131057 26.19908 21.730469 25.691406 C 20.938452 24.658507 21.493008 23.2149 21.326172 22.017578 C 21.359051 20.985811 22.680604 21.341489 23.332031 21.359375 C 24.776304 20.867515 26.037158 22.051146 26.765625 23.154297 C 26.914257 23.176727 27.047294 23.14314 27.169922 23.076172 C 19.505866 8.7444787 18.822618 6.6238807 16 0 z "
|
||||
transform="matrix(5.9375001,0,0,5.9375001,669.75014,435.62316)"
|
||||
id="path2518-5" />
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
d="m 800.37514,566.24816 16.32812,0 13.35938,12.98828 12.98828,-12.98828 16.69922,0 0,17.4414 -12.98828,12.61718 12.98828,12.6172 0,16.69922 -17.07032,0 -12.61718,-12.6172 -12.6172,12.6172 -17.0703,0 0,-16.69922 12.61718,-12.6172 -12.61718,-12.61718 0,-17.4414 z"
|
||||
id="path3761-2-3-5-4-8-9-8-0-9-3"
|
||||
sodipodi:nodetypes="ccccccccccccccccc"
|
||||
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 8.2 KiB |
|
@ -1,171 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="32"
|
||||
height="32"
|
||||
id="svg2424"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.91 r13725"
|
||||
version="1.0"
|
||||
sodipodi:docname="arch-lit.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/thayer/archlinux-logo-contest/archer-full-detail.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs2426">
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="path1082_2_"
|
||||
y2="129.3468"
|
||||
x2="112.49853"
|
||||
y1="6.1372099"
|
||||
x1="112.49854"
|
||||
gradientTransform="translate(287,-83)">
|
||||
<stop
|
||||
id="stop193"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:0" />
|
||||
<stop
|
||||
id="stop195"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0.27450982;" />
|
||||
<midPointStop
|
||||
id="midPointStop197"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0" />
|
||||
<midPointStop
|
||||
id="midPointStop199"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0.5" />
|
||||
<midPointStop
|
||||
id="midPointStop201"
|
||||
style="stop-color:#000000"
|
||||
offset="1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3388">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="0"
|
||||
id="stop3390" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0.37113401;"
|
||||
offset="1"
|
||||
id="stop3392" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4346">
|
||||
<stop
|
||||
style="stop-color:#00bdec;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4348" />
|
||||
<stop
|
||||
style="stop-color:#40bfde;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4350" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4352"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5323">
|
||||
<stop
|
||||
style="stop-color:#6e6e6e;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop5325" />
|
||||
<stop
|
||||
style="stop-color:#4d4d4d;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop5327" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient5329"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient2216"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="13.046875"
|
||||
inkscape:cx="33.011995"
|
||||
inkscape:cy="10.162738"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="g2210"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1016"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
showgrid="false"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata2429">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-309.51781,-259.60123)">
|
||||
<g
|
||||
id="g2424"
|
||||
transform="matrix(1.3473684,0,0,1.3473684,-632.88236,-513.34366)">
|
||||
<g
|
||||
id="g2210"
|
||||
transform="matrix(0.125,0,0,0.125,615.71887,519.21715)">
|
||||
<path
|
||||
style="fill:#bebebe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;opacity:1"
|
||||
d="M 764.75015,435.62318 C 756.29306,456.35771 752.13752,468.47084 742.72166,488.58901 C 748.49477,494.7085 754.61058,503.27765 766.11856,511.3263 C 756.19466,510.64216 744.33307,503.09582 738.0262,497.79178 C 725.9757,522.93702 708.06309,556.78261 669.75015,625.62318 C 699.85528,608.24296 723.19329,597.52272 744.94302,593.4308 C 744.0125,589.41975 743.51542,585.06076 743.55142,580.53529 L 743.57461,579.58436 C 744.05243,560.29195 754.09092,545.45692 765.9794,546.46424 C 777.86787,547.47156 787.12249,563.93331 786.64468,583.22572 C 786.55468,586.85963 786.1322,590.35133 785.41543,593.59315 C 806.9311,597.8037 830.04901,608.47618 859.75015,625.62318 C 853.89286,614.83948 848.64665,607.08273 843.65396,597.82475 C 835.78967,591.72939 829.54943,586.24762 810.85855,573.25257 C 822.35934,576.24095 829.13312,577.24831 835.55168,581.10212 C 784.78965,486.59209 782.15758,476.47346 764.75015,435.62318 z "
|
||||
id="path2518"
|
||||
sodipodi:nodetypes="ccccccccsscccccc" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 5.8 KiB |
|
@ -1,395 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="32"
|
||||
height="32"
|
||||
id="svg2424"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.91 r13725"
|
||||
version="1.0"
|
||||
sodipodi:docname="arch-unknown-symbolic.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/thayer/archlinux-logo-contest/archer-full-detail.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs2426">
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="path1082_2_"
|
||||
y2="129.3468"
|
||||
x2="112.49853"
|
||||
y1="6.1372099"
|
||||
x1="112.49854"
|
||||
gradientTransform="translate(287,-83)">
|
||||
<stop
|
||||
id="stop193"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:0" />
|
||||
<stop
|
||||
id="stop195"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0.27450982;" />
|
||||
<midPointStop
|
||||
id="midPointStop197"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0" />
|
||||
<midPointStop
|
||||
id="midPointStop199"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0.5" />
|
||||
<midPointStop
|
||||
id="midPointStop201"
|
||||
style="stop-color:#000000"
|
||||
offset="1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3388">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="0"
|
||||
id="stop3390" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0.37113401;"
|
||||
offset="1"
|
||||
id="stop3392" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4346">
|
||||
<stop
|
||||
style="stop-color:#00bdec;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4348" />
|
||||
<stop
|
||||
style="stop-color:#40bfde;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4350" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4352"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5323">
|
||||
<stop
|
||||
style="stop-color:#6e6e6e;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop5325" />
|
||||
<stop
|
||||
style="stop-color:#4d4d4d;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop5327" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient5329"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient2216"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4175"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4177"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4179"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4178"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4180"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4182"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4227"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4229"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4231"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4327"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4329"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4331"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4333"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient4335"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient4337"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4339"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient4341"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient4343"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="8.5075898"
|
||||
inkscape:cx="12.914257"
|
||||
inkscape:cy="21.540601"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="g2210"
|
||||
inkscape:window-width="1120"
|
||||
inkscape:window-height="758"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="39"
|
||||
showgrid="false"
|
||||
inkscape:window-maximized="0" />
|
||||
<metadata
|
||||
id="metadata2429">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-309.51781,-259.60123)">
|
||||
<g
|
||||
id="g2424"
|
||||
transform="matrix(1.3473684,0,0,1.3473684,-632.88236,-513.34366)">
|
||||
<g
|
||||
id="g2210"
|
||||
transform="matrix(0.125,0,0,0.125,615.71887,519.21715)">
|
||||
<path
|
||||
style="opacity:0.5;fill:#bebebe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="m 764.75014,435.62316 c -8.45709,20.73453 -12.61783,32.84387 -22.03369,52.96204 5.77311,6.11949 11.89412,14.69244 23.4021,22.74109 -9.9239,-0.68415 -21.78029,-8.22929 -28.08716,-13.53333 -3.61224,7.5375 -8.08174,16.38763 -13.13904,26.1969 l 80.50415,0 c -22.84531,-44.40456 -27.61856,-57.79418 -40.64636,-88.3667 z m -73.52295,151.15112 c -6.46252,11.76494 -13.29555,24.14838 -21.47705,38.84888 30.10513,-17.38022 53.44314,-28.10046 75.19287,-32.19238 -0.49369,-2.12807 -0.8437,-4.35965 -1.07849,-6.6565 l -52.63733,0 z m 95.16235,0 c -0.20484,2.35415 -0.49575,4.6553 -0.97411,6.81885 21.51566,4.21055 44.63357,14.88303 74.33471,32.03003 -5.85729,-10.7837 -11.1035,-18.53926 -16.09619,-27.79724 -4.34787,-3.36989 -8.41445,-6.6835 -14.14795,-11.05164 l -43.11646,0 z"
|
||||
id="path2518"
|
||||
inkscape:connector-curvature="0" />
|
||||
<g
|
||||
id="layer10"
|
||||
inkscape:label="devices"
|
||||
style="display:inline"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<g
|
||||
id="layer11"
|
||||
inkscape:label="apps"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<g
|
||||
id="layer13"
|
||||
inkscape:label="places"
|
||||
style="display:inline"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<g
|
||||
id="layer14"
|
||||
inkscape:label="mimetypes"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<g
|
||||
id="layer15"
|
||||
inkscape:label="emblems"
|
||||
style="display:inline"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<g
|
||||
id="g71291"
|
||||
inkscape:label="emotes"
|
||||
style="display:inline"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<g
|
||||
id="g4953"
|
||||
inkscape:label="categories"
|
||||
style="display:inline"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<g
|
||||
id="layer12"
|
||||
inkscape:label="actions"
|
||||
style="display:inline"
|
||||
transform="matrix(5.9375001,0,0,5.9375001,-91.994072,-882.16528)" />
|
||||
<circle
|
||||
style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
|
||||
id="path4955-3"
|
||||
cx="713.86914"
|
||||
cy="555.5733"
|
||||
r="19.028032" />
|
||||
<circle
|
||||
style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
|
||||
id="path4957-3"
|
||||
cx="764.6106"
|
||||
cy="555.5733"
|
||||
r="19.028032" />
|
||||
<circle
|
||||
style="display:inline;fill:#bebebe;fill-opacity:1;stroke:none"
|
||||
id="path4959-7"
|
||||
cx="815.35138"
|
||||
cy="555.5733"
|
||||
r="19.028032" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 12 KiB |
|
@ -1,316 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="32"
|
||||
height="32"
|
||||
id="svg2424"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.91 r13725"
|
||||
version="1.0"
|
||||
sodipodi:docname="arch-updates-symbolic.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/thayer/archlinux-logo-contest/archer-full-detail.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs2426">
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="path1082_2_"
|
||||
y2="129.3468"
|
||||
x2="112.49853"
|
||||
y1="6.1372099"
|
||||
x1="112.49854"
|
||||
gradientTransform="translate(287,-83)">
|
||||
<stop
|
||||
id="stop193"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:0" />
|
||||
<stop
|
||||
id="stop195"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0.27450982;" />
|
||||
<midPointStop
|
||||
id="midPointStop197"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0" />
|
||||
<midPointStop
|
||||
id="midPointStop199"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0.5" />
|
||||
<midPointStop
|
||||
id="midPointStop201"
|
||||
style="stop-color:#000000"
|
||||
offset="1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3388">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="0"
|
||||
id="stop3390" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0.37113401;"
|
||||
offset="1"
|
||||
id="stop3392" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4346">
|
||||
<stop
|
||||
style="stop-color:#00bdec;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4348" />
|
||||
<stop
|
||||
style="stop-color:#40bfde;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4350" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4352"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5323">
|
||||
<stop
|
||||
style="stop-color:#6e6e6e;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop5325" />
|
||||
<stop
|
||||
style="stop-color:#4d4d4d;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop5327" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient5329"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient2216"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4175"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4177"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4179"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4178"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4180"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4182"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="666.97791"
|
||||
x2="616.48553"
|
||||
y1="634.15063"
|
||||
x1="400.6142"
|
||||
id="linearGradient4218"
|
||||
xlink:href="#linearGradient4346"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
y2="348.96875"
|
||||
x2="650.81366"
|
||||
y1="238.08237"
|
||||
x1="291.83591"
|
||||
id="linearGradient4220"
|
||||
xlink:href="#linearGradient5323"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
y2="303.14029"
|
||||
x2="606.91248"
|
||||
y1="104.50665"
|
||||
x1="541.33502"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="linearGradient4222"
|
||||
xlink:href="#path1082_2_"
|
||||
inkscape:collect="always" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4224"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient4226"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient4228"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4230"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient4232"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient4234"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="15.334304"
|
||||
inkscape:cx="25.157108"
|
||||
inkscape:cy="16.538462"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="g2210"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1016"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
showgrid="false"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata2429">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-309.51781,-259.60123)">
|
||||
<g
|
||||
id="g2424"
|
||||
transform="matrix(1.3473684,0,0,1.3473684,-632.88236,-513.34366)">
|
||||
<g
|
||||
id="g2210"
|
||||
transform="matrix(0.125,0,0,0.125,615.71887,519.21715)">
|
||||
<path
|
||||
style="opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1"
|
||||
d="M 16 0 C 14.575648 3.4921313 13.874892 5.5315986 12.289062 8.9199219 C 13.261376 9.9505728 14.292283 11.394438 16.230469 12.75 C 14.559075 12.634776 12.56221 11.364015 11.5 10.470703 C 9.4704421 14.705691 6.4527056 20.405799 0 32 C 5.0703376 29.072805 9.0009501 27.26729 12.664062 26.578125 C 12.507343 25.90258 12.423624 25.168434 12.429688 24.40625 L 12.433594 24.246094 C 12.514069 20.996846 14.204761 18.498315 16.207031 18.667969 C 16.481435 18.691219 16.74729 18.767263 17.001953 18.882812 C 18.450106 16.938038 20.657331 15.557946 23.095703 15.357422 C 19.073949 7.5647648 18.231889 5.2376076 16 0 z M 30.580078 29.544922 C 30.256528 29.935888 29.898689 30.29783 29.515625 30.628906 C 30.326189 31.06681 31.126252 31.49557 32 32 C 31.502931 31.08486 31.032591 30.298758 30.580078 29.544922 z "
|
||||
transform="matrix(5.9375001,0,0,5.9375001,669.75014,435.62316)"
|
||||
id="path2518-4" />
|
||||
<path
|
||||
style="opacity:1;fill:#bebebe;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.36800003;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
||||
d="m 812.26174,530.61156 a 47.50333,47.50333 0 0 0 -47.5116,47.50001 47.50333,47.50333 0 0 0 47.5116,47.51159 47.50333,47.50333 0 0 0 47.5,-47.51159 47.50333,47.50333 0 0 0 -47.5,-47.50001 z m -0.0232,6.6333 8.24524,7.88575 22.94983,22.94982 c 2.5654,2.59246 3.79833,6.42955 3.22388,10.03114 l 0,9.68322 -10.04273,0 -12.9071,0.0464 0,31.14868 -22.93823,0 0,-31.14868 -11.48072,-0.0464 -1.78588,0 -9.68324,0 0,-8.96424 c -0.0194,-0.35793 -0.0194,-0.72053 0,-1.07848 -0.45987,-3.49008 0.76128,-7.15559 3.22388,-9.67164 l 22.94983,-22.94982 8.24524,-7.88575 z"
|
||||
id="path4241"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 11 KiB |
|
@ -1,171 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="32"
|
||||
height="32"
|
||||
id="svg2424"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.91 r13725"
|
||||
version="1.0"
|
||||
sodipodi:docname="arch-fade.svg"
|
||||
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
||||
inkscape:export-filename="/home/thayer/archlinux-logo-contest/archer-full-detail.png"
|
||||
inkscape:export-xdpi="90"
|
||||
inkscape:export-ydpi="90">
|
||||
<defs
|
||||
id="defs2426">
|
||||
<linearGradient
|
||||
gradientUnits="userSpaceOnUse"
|
||||
id="path1082_2_"
|
||||
y2="129.3468"
|
||||
x2="112.49853"
|
||||
y1="6.1372099"
|
||||
x1="112.49854"
|
||||
gradientTransform="translate(287,-83)">
|
||||
<stop
|
||||
id="stop193"
|
||||
offset="0"
|
||||
style="stop-color:#ffffff;stop-opacity:0" />
|
||||
<stop
|
||||
id="stop195"
|
||||
offset="1"
|
||||
style="stop-color:#ffffff;stop-opacity:0.27450982;" />
|
||||
<midPointStop
|
||||
id="midPointStop197"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0" />
|
||||
<midPointStop
|
||||
id="midPointStop199"
|
||||
style="stop-color:#FFFFFF"
|
||||
offset="0.5" />
|
||||
<midPointStop
|
||||
id="midPointStop201"
|
||||
style="stop-color:#000000"
|
||||
offset="1" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
id="linearGradient3388">
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0;"
|
||||
offset="0"
|
||||
id="stop3390" />
|
||||
<stop
|
||||
style="stop-color:#000000;stop-opacity:0.37113401;"
|
||||
offset="1"
|
||||
id="stop3392" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient4346">
|
||||
<stop
|
||||
style="stop-color:#00bdec;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop4348" />
|
||||
<stop
|
||||
style="stop-color:#40bfde;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop4350" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient4346"
|
||||
id="linearGradient4352"
|
||||
x1="400.6142"
|
||||
y1="634.15063"
|
||||
x2="616.48553"
|
||||
y2="666.97791"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
id="linearGradient5323">
|
||||
<stop
|
||||
style="stop-color:#6e6e6e;stop-opacity:1"
|
||||
offset="0"
|
||||
id="stop5325" />
|
||||
<stop
|
||||
style="stop-color:#4d4d4d;stop-opacity:1"
|
||||
offset="1"
|
||||
id="stop5327" />
|
||||
</linearGradient>
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#linearGradient5323"
|
||||
id="linearGradient5329"
|
||||
x1="291.83591"
|
||||
y1="238.08237"
|
||||
x2="650.81366"
|
||||
y2="348.96875"
|
||||
gradientUnits="userSpaceOnUse" />
|
||||
<linearGradient
|
||||
inkscape:collect="always"
|
||||
xlink:href="#path1082_2_"
|
||||
id="linearGradient2216"
|
||||
gradientUnits="userSpaceOnUse"
|
||||
gradientTransform="matrix(-0.3937741,0,0,0.393752,978.34967,416.9815)"
|
||||
x1="541.33502"
|
||||
y1="104.50665"
|
||||
x2="606.91248"
|
||||
y2="303.14029" />
|
||||
</defs>
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
gridtolerance="10000"
|
||||
guidetolerance="10"
|
||||
objecttolerance="10"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="13.046875"
|
||||
inkscape:cx="33.011995"
|
||||
inkscape:cy="10.162738"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="g2210"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1016"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="27"
|
||||
showgrid="false"
|
||||
inkscape:window-maximized="1" />
|
||||
<metadata
|
||||
id="metadata2429">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1"
|
||||
transform="translate(-309.51781,-259.60123)">
|
||||
<g
|
||||
id="g2424"
|
||||
transform="matrix(1.3473684,0,0,1.3473684,-632.88236,-513.34366)">
|
||||
<g
|
||||
id="g2210"
|
||||
transform="matrix(0.125,0,0,0.125,615.71887,519.21715)">
|
||||
<path
|
||||
style="fill:#bebebe;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;opacity:0.35"
|
||||
d="M 764.75015,435.62318 C 756.29306,456.35771 752.13752,468.47084 742.72166,488.58901 C 748.49477,494.7085 754.61058,503.27765 766.11856,511.3263 C 756.19466,510.64216 744.33307,503.09582 738.0262,497.79178 C 725.9757,522.93702 708.06309,556.78261 669.75015,625.62318 C 699.85528,608.24296 723.19329,597.52272 744.94302,593.4308 C 744.0125,589.41975 743.51542,585.06076 743.55142,580.53529 L 743.57461,579.58436 C 744.05243,560.29195 754.09092,545.45692 765.9794,546.46424 C 777.86787,547.47156 787.12249,563.93331 786.64468,583.22572 C 786.55468,586.85963 786.1322,590.35133 785.41543,593.59315 C 806.9311,597.8037 830.04901,608.47618 859.75015,625.62318 C 853.89286,614.83948 848.64665,607.08273 843.65396,597.82475 C 835.78967,591.72939 829.54943,586.24762 810.85855,573.25257 C 822.35934,576.24095 829.13312,577.24831 835.55168,581.10212 C 784.78965,486.59209 782.15758,476.47346 764.75015,435.62318 z "
|
||||
id="path2518"
|
||||
sodipodi:nodetypes="ccccccccsscccccc" />
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
Before Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue