예제 #1
0
def window_rules(text):
    "Window rules"
    return lines_starting_with("bspc rule ", text)
예제 #2
0
def theme(text):
    "Theme"
    return lines_starting_with("ZSH_THEME=", text)
예제 #3
0
def window_managers(text):
    "Window managers"
    return lines_starting_with("exec ", text)
예제 #4
0
파일: sxhkd.py 프로젝트: temcom/dotcommon
def commands(text):
    "Commands bound to keybinds"
    indented = lines_starting_with(" ", text)
    stripped = (line.strip() for line in indented if not line.isspace())
    return (line for line in stripped if line[0] != "#")
예제 #5
0
파일: bash.py 프로젝트: shalaby/dotcommon
def readline_macros(text):
    "Readline macros"
    return lines_starting_with("bind ", text)
예제 #6
0
def font(text):
    "Font"
    return lines_starting_with("font ", text)
예제 #7
0
파일: vim.py 프로젝트: temcom/dotcommon
def colorschemes(text):
    "Colorschemes"
    return lines_starting_with("colorscheme ", text)
예제 #8
0
파일: bash.py 프로젝트: shalaby/dotcommon
def ps1(text):
    "PS1"
    return lines_starting_with("PS1=", text)
예제 #9
0
def autostart(text):
    "exec"
    return lines_starting_with("exec --no-startup-id ", text)
예제 #10
0
def modkey(text):
    "Modkey"
    return lines_starting_with("set $mod ", text)
예제 #11
0
def outer_gaps(text):
    "Outer gaps"
    return lines_starting_with("gaps outer ", text)
예제 #12
0
def inner_gaps(text):
    "Inner gaps"
    return lines_starting_with("gaps inner ", text)
예제 #13
0
def modes(text):
    "Modes"
    return lines_starting_with("mode ", text)
예제 #14
0
def keybindings(text):
    "Keybindings"
    return lines_starting_with("bindkey ", text)
예제 #15
0
파일: vim.py 프로젝트: temcom/dotcommon
def vundle(text):
    "Vundle plugins"
    return lines_starting_with("Plugin ", text)
예제 #16
0
파일: bash.py 프로젝트: shalaby/dotcommon
def exports(text):
    "Exports"
    return lines_starting_with("export ", text)
예제 #17
0
파일: vim.py 프로젝트: temcom/dotcommon
def plug(text):
    "Vim-plug plugins"
    return lines_starting_with("Plug ", text)
예제 #18
0
파일: bash.py 프로젝트: shalaby/dotcommon
def ps2(text):
    "PS2"
    return lines_starting_with("PS2=", text)
예제 #19
0
파일: vim.py 프로젝트: temcom/dotcommon
def set_statements(text):
    "Set statements"
    return lines_starting_with("set ", text)
예제 #20
0
파일: bash.py 프로젝트: shalaby/dotcommon
def aliases(text):
    "Aliases"
    return lines_starting_with("alias ", text)
예제 #21
0
파일: termite.py 프로젝트: temcom/dotcommon
def font(text):
    "Font"
    fonts = lines_starting_with("font = ", text)
    return (font.lower() for font in fonts)