first commit
This commit is contained in:
commit
3a06751bb8
1
README.md
Normal file
1
README.md
Normal file
@ -0,0 +1 @@
|
||||
sudo ansible-playbook -i inventory --vault-password-file ~/.pass local.yml
|
215
group_vars/all.yml
Normal file
215
group_vars/all.yml
Normal file
@ -0,0 +1,215 @@
|
||||
main_user:
|
||||
name: fs
|
||||
|
||||
ssh_pub: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
66653837363432653965336536613163613862383837633234363466663038303062346232656165
|
||||
6566663330643338613762646561313861363361353338340a363938323933666262303961623530
|
||||
32323833643361356261393436653062626134666665656262313938373634366333636135666565
|
||||
3338343837626433620a373563346166626233613134386666613462316563383933366162353732
|
||||
33623635313164346337303964376163356631373035323537666166303565363165393865616530
|
||||
35623237656666616639363237626565663532376239316636323536653637316665373439636366
|
||||
30363535353465616362636630643064323731306135613431636464383634613039303034306439
|
||||
66316136313262396635636163623037343638353331383762646339646662653464666265393638
|
||||
30633736623338323638663730373537366137343664653938633866343261363464396530353239
|
||||
32633265393239353036653635303731626162346232386231333335333632646433326330623466
|
||||
39343234626134653964643662636638383835303831363934363833636438623262643237656130
|
||||
33373762323437383264313032343764313236326431646233373731633635623934306232663461
|
||||
66636238326238636136646434626361303632393936336663666433363765323261636539333131
|
||||
36626366383230306465613339376265303838386333383163383237643638663538396535613932
|
||||
31626365316362376232376132663635353534613861613832333334356536633237326539633063
|
||||
61323238613432393333316139363330626430656538616435623732663235613033313530643839
|
||||
61653461323863353535393734393630376465313139663432393737643233393063366165343864
|
||||
38663364396338373830313239363432636237613663333530303362333833653839626365336232
|
||||
37626230323666373861656334316630613232363764353231663363343132353439386664336636
|
||||
35393032636438356338326661396166663736343436636130643966363237623538323162323138
|
||||
65643565666362313234613433653733366636623266333539343430623938373333333335623437
|
||||
36313435633665303030623936353065343132303732386563646534326632363865306566643135
|
||||
66666537646239633762333630326264373338303731323433333762626130653962653163663537
|
||||
31363534656230363935373838666433363366356364363631353433323835336461363735373437
|
||||
33383961383162396664333233646432316666626563623234663737666539356437666361303362
|
||||
38623238643563633131633832393339626465626364343762653938626238366463323634626435
|
||||
33373833613036393135366632336231323664663531353038623630343139316663376565663538
|
||||
61373434323837663231613362383330383430666333613662643336363934386665663137386565
|
||||
32666636343566656461663265386137316633626136353633313065656532353030303234306134
|
||||
61643039633536373131383935363436633266326634616635636436663832613232616166633538
|
||||
64663766386662636162666334343935343165663139363330623539323235313439356263666561
|
||||
38616631616563633035343736333937636437633139393737313536663530353331353735373166
|
||||
3435
|
||||
|
||||
ssh_private: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
37643364396263626663383037343863666638303535643463616438663665303137396637366435
|
||||
6465343866373132663564623765653838303738373038620a303732663832343863623739663438
|
||||
35383438306364313839653637656532336463336433333962376538636137373733623361383866
|
||||
3236643632663361310a383730346364366561656639363561653333316333373237613139666561
|
||||
62623965623534633138353361316166326363386262656630356665376239303861633663653638
|
||||
61623334303635666239306439633338376330343066653462613261363333333735346136313034
|
||||
32343135306232333439396633313137366231326436356133306137333534306430353766313966
|
||||
33313063626138663238313964373966346663626531653035303761393665336132393633343032
|
||||
32393932323662613563393264326137353564306433616536346464313839646537303239313537
|
||||
36373561306337313763643034303263363064343135616635306239303361666562363439623665
|
||||
34343164343365313937383831323665383136663538366232363964643637616639353062323436
|
||||
33636231343961663165666165393536353964373865656333376430363038636336306562613333
|
||||
37316234393836396635363265646136663231313138666161383435653239343461336633343837
|
||||
64363737383636666639313435653464633239353962353139656434623563373863633366343333
|
||||
35356362383562326230386635623063663337393231366434633165336434363339303235626433
|
||||
35666233666366393730656537653734326333343034343166653739326265333933663362613334
|
||||
64393435643661396665303565363735633061356464366663376531656139393736313330356366
|
||||
39303036333639386263393438346137323433383565353431623838313634396231313332303961
|
||||
36316234353034386437356161613439393631353731383631323337316233626232316135396439
|
||||
62373737353439306363656637396231313163333262633830623866653464353165343537393563
|
||||
31386264626365326265316361353262363636633635636361303363313830393631613266323865
|
||||
33663238626361623837383833353761343964363338356634663738643635313637313730396266
|
||||
39356362393264326466353166383964663261373233333165353662383338373963343237386166
|
||||
38663364363635626433396132333437313161386237656165363763643138626535393937633835
|
||||
39363763643834646262623066613039643564666232356566663530383464616231363433636538
|
||||
64316263356635633364303863376435363437653764343962396361656631623232666664383732
|
||||
34336262653733353738393733323265353535636133653638626334326235653364363537373461
|
||||
33336330656137376431396235343265393066353231353531306237393335613565633935316165
|
||||
36363935653738386664626238613138333765353761306237333733613164613539306636383638
|
||||
32303965356331316265393831366261333865633863633035343935636630393065373664313362
|
||||
33353039363139343165323732666434663839393165363732626665656330633737636330363931
|
||||
32656364353731303037373133366434663234663862343139383362333032383530643963353363
|
||||
30643238303839643163363737663235326534393166373164363730306439616130626265393032
|
||||
33316661613932333137303337343065636537303538623032336332353539346236613031666233
|
||||
34336563353332316133663763353138386562373332626461366466653630656561653765333339
|
||||
30386562353631623363616637643462383038386134376162393861383538623535636566646565
|
||||
39343136353133303232393832316163356635653933613465376432616565356361353839636235
|
||||
62363361383137376365313165613366386435636332373564353939623338666235303037303830
|
||||
32663136653862646130636666323363636638666362613231383465373833333435383166393733
|
||||
32616462303165633537393663333531363761643236333062353263333365656233343064613061
|
||||
33376333396165633932343739343530396237303263383962353232396436623632666331363132
|
||||
61326462363233363561313531643734626235643762393136613334383966383637366632633837
|
||||
37323161333534333634313565373632343361643237393631643836616461303261323462663030
|
||||
33303634356632353739633834336130396330633465353437663366366138323363356431626530
|
||||
31613931663866383436373931336539303165343330313430336138646365383130623230373033
|
||||
33303730626230643466643638323565646631636661356238643435653463343030303264613335
|
||||
63353634333932633535646433313161643131333133363738316366366562313230626632343261
|
||||
38353161393263326463643466643934356631386264656365613363303666376338323637343636
|
||||
62346637383834303235656366613664343464333334323930613334323062643938333130633038
|
||||
62396563313662306464336662643865323231613331616265653538646162323834643532383562
|
||||
35393861313233323930333636356235643938316232343037363764653934613138306661656562
|
||||
31643932663532323333613739333830316138353238383739626666313765643434303161653763
|
||||
64313336363733353338313630383832393636323335313339373438343533393438376332626262
|
||||
63643133656664313463623163633961613636343463326536363564356264353866313063386533
|
||||
36323864663365613434333836616231366230643465383132303163386238323461613665636562
|
||||
30333235646531303239383361633964393039663561623934353632613865373231663039656262
|
||||
35653931333134343137653133393261316264353833373738346138633364316333656139613065
|
||||
37613862366438633534633761336434343432373830653630326433343762356632623363383861
|
||||
36306233363534356634373634303166636439656631633836613030623764323330643730313333
|
||||
39383836323862643739613265633436333936373338356535643065343932383762303365373062
|
||||
65326366653162643636663932393238356539643038376439616130353737626564653432366536
|
||||
63366563653234666134626665396131303539386333336231386232346563393130383236376530
|
||||
31353134666138386538643261323564323831373336303735383531383932343461336636616134
|
||||
32633633313132333061343435343966323464626663656266356632646139353735643134303966
|
||||
35373937643165313065393235313561303636326165636335373836613637396462616561323032
|
||||
35383135346465366138333237666535656633373236383461343532636334363461323939316131
|
||||
33353230373939393630663165653735313835303662306535623236353665353236323132306163
|
||||
31353038626161636630623963653032376161353038663938363539303130303135316361326539
|
||||
36386331306365323661386466636638336366653637303033333936376664346339316133306531
|
||||
62626233336537636564396637323236633132383432316263656163653731663332373230626636
|
||||
31356566653262643765323836353661626162336362333065616662316266306235356634313937
|
||||
34323430306164386533613365303232373938323236666262666630303664633937633430323239
|
||||
39336662666234643333653565383939623030333839393339653839313938343935393833326363
|
||||
36363562643638633634663339326138656536626633656532633236613130313933393433613332
|
||||
35353763643461663463383032646234653939363765666335646438636536623539656261613566
|
||||
32376663333932346664643438383431373564623537656266333666623263346432636362316464
|
||||
32633434363830623435393961643063613865323363326436326135303739383263393465376538
|
||||
31653236613565386139343633386137316265623831643333663835666139373062306439626530
|
||||
62633030663962313534313061383365613561326565376431313537653136396666663833393439
|
||||
33616361323232376562613264636230646362666564386539336336366566626164323031333964
|
||||
37336638383863366561623663373364366138666431656430326635316364643635633864313737
|
||||
32616636363635626239663734623431353430323130386633346335336239616635666235346339
|
||||
34353239383465653232666437326131313965333564353066363038343534323165326232653933
|
||||
66343738393033623730366333303931666635316130346365396330336338346238613636633937
|
||||
65346666313336303563366266393238643863376339376431613437366633373731346332353166
|
||||
30343666333434663339333737326230663765346435343936323365303632313336623064353937
|
||||
38613639646565313364636538663262393333363631303232633533376662616534633664623732
|
||||
32353130323834626563653335613764616335326666303330616562613933376336616132323362
|
||||
63656437356232363238633533633265376634336333366663396530386162393363633861623965
|
||||
65343937663039333566333265356239383466393562636662353738633337373838393132643266
|
||||
61633336353432336330333165613861336461326365636533383962383365643166613536393937
|
||||
63393061356334383837643636376266363034333833386465323364643334386562356536323965
|
||||
30313961643038343734366436656663643930376637396666383131306333633566366665316439
|
||||
65666564663962356164306530393562303061336533646136323261346137316532646338373630
|
||||
36616536633938633136396666326561323164623865306330653736663837323232366564626566
|
||||
34613730363265343964343632633735383539393436613932333235326431356638353066356361
|
||||
34316434306536653030626564346237653136333161346638656434396262643430316231363264
|
||||
39333237383162623732356661623238333338353534333138326664616530613939313032643837
|
||||
36613832346262386538393638393738626163393632353833323439393162393034653632643932
|
||||
66616363303961306461343837383861323838303739666530323834363464343138653465333530
|
||||
34396534346133393432663466386430326266653861366662393734656336663633383537313838
|
||||
37316232313362373061346434376431393565646137306264323361333438376239323438633237
|
||||
37346164306138633235346136396236356634653964383835353063656230363262373764396235
|
||||
34396239613339626262376130623361643237363064353336643565623633396362323563623535
|
||||
33623336656431653364656361623630373938343762373538353930656162363331353132366532
|
||||
36633736326662373532323130313037303231356261383330313537336666303935303130613732
|
||||
63633565343538396562393335306635336161396137633435346639333133636533643431313233
|
||||
64623931373439336131383161303732396464623261393365663661666438376437666139643033
|
||||
38363532363065613830356535346439386265626630396564626632386233633464356365653366
|
||||
32396566306239393038356562343539613765356265333965666136346130653135393132633435
|
||||
32656231363466656632336132656464376262623535323861333463643035393038363538663734
|
||||
35353739633236373934326632376536333532663362393934396238396334316539366261376235
|
||||
66366633343461343665396530656338396266623032333833366137343261633237643432366166
|
||||
36633434623738366632643765353432613938336337356637386631303836333361613531653638
|
||||
61353736343637613934376263343032353363383338323636363537636166653535653636396437
|
||||
37653531303464336363303263643166396134376432636365663737363139356264343934393437
|
||||
61313732323964616266336136313537373238313536336336313434303563383638333937303130
|
||||
33626436636333323461303534306533373135656463373531363463663039336238346632346335
|
||||
35303439353738366266393434356536646338366130333732303631613064636230316235643439
|
||||
38383264396363646536336465333836306364386239636564393739393661356237333562333138
|
||||
36616561626530653132646530356462616230356464643732306135373732356161323037633665
|
||||
61636566393863303434343965666664383363663432323538663632353964383430336630373333
|
||||
65366236393663336163396362336362333531663763623939353861643036313036353330393034
|
||||
66383931636631393937663833366266303937646464323761303539646233646563363466343437
|
||||
35633664303165623138323864373165636535333462643663336166346461636434326166633036
|
||||
34363863373338376630613363636162383334626333333461366263393630303831643731383266
|
||||
66383135353934656336643430393433373533303131613531343662303231393435373538626264
|
||||
66393163656638363535663365306231303634616463306632313530303833373238623866343734
|
||||
31626364333735643736666437653038343139613862333965636432363434323437656432376166
|
||||
66333437316439663439626231343966336638373262373133323436363166613664643831396331
|
||||
62616566306531383539643139646632333136303135326433643636336330383038363235646530
|
||||
65366466616365616432663961383136363039623738376237663439353363313734643165376437
|
||||
38323864353436373835313033346562666134373532316539373838656539356531
|
||||
|
||||
ssh_vpn_private: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
63336265303234636366636531623433643432653131393430343064653133313763613865366163
|
||||
6362306439613032303562386531613338613262633437380a653962323532623833363231616564
|
||||
36313939373236303066376636656130393633653437353930356564623133663364663339376537
|
||||
6665313766393865620a343965333932333866356465353364363265346632656436633132393334
|
||||
65386232383337663835653433663961373466366462313862383430303836313931363064623666
|
||||
66363330313861616534353561646664643966333634626530386634303661666363646433663237
|
||||
65383266663933373638373035343065643632306663666633623361383834393333626132643534
|
||||
37383563623363346638646234363635363336336462626235386566316131626135386666356564
|
||||
31343263396339636234353830353035313839366463343764653931616162633531363464646530
|
||||
39633132393531326537373234336164643638396633666133306266336538313961333735396538
|
||||
30366335303837326265346266343965623566383064656130393163663635666239646631643535
|
||||
65373434343430616662663930363738373962373765326637653230356563343634323038643536
|
||||
30366234643734326162626131653039653730303564633738333963626263623037303864363966
|
||||
38333264636539393538633836396665623531396261323563396466616562656161353664646438
|
||||
37643566356139316565353562323630363135356432393232633534643064356135623961316463
|
||||
38376632336261373763376238666530326436393763666130316430633732303331356566643533
|
||||
38323631626661623037623461383161626635613132633863316561313936323237303564373262
|
||||
65343261326132636639333232383962336235353664336138313730363464373531613938653064
|
||||
39306262646234333663306161653533396266383164643063363463386532306238313935326430
|
||||
39643062313536393936613730616339343332363562636237366365346532333665326161336132
|
||||
62306263303231383364393433386637303435656365336137333562386630383833623636383338
|
||||
66613365303836323838366461643230633965643462633932323634636438343866386533613364
|
||||
31613639653531646632626334633031383431346238306635633135343031323138366337393165
|
||||
65306336353261626563373166373539623035353861633736343036646330653637383363353963
|
||||
37353463613230616361613461646635303139306561656437636464636432653238633861396565
|
||||
3763656561343064373430643035386635326434653862353435
|
||||
|
||||
ssh_vpn_pub: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
38666634666465353066356538393831396532666462333637653336633439623031666263313862
|
||||
3965303035666432373633363632326235656462333033630a386264643263336333303466306138
|
||||
64623531656336353735383238666665316566623934623230666232356263626437616139353265
|
||||
3630396239316661340a346238623234346464646234666263303637613631306136353733336233
|
||||
31386537353465316264333131643464643235663835613234396335373765633261666530393864
|
||||
35323761373661383133653135653230373937616364353239623737626661333633626537636138
|
||||
62646364376438626432623865616338333366326265353462623963393561386332633662356230
|
||||
32646663346261613631333833313166396665663435333236646462666131643439313639306635
|
||||
6137
|
5
inventory
Normal file
5
inventory
Normal file
@ -0,0 +1,5 @@
|
||||
[local]
|
||||
localhost
|
||||
|
||||
[local:vars]
|
||||
display_server=wayland
|
201
library/aur
Normal file
201
library/aur
Normal file
@ -0,0 +1,201 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
# The MIT License (MIT)
|
||||
#
|
||||
# Copyright (c) 2014 Austin Hyde
|
||||
#
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
# in the Software without restriction, including without limitation the rights
|
||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
# copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
#
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
#
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
|
||||
import os
|
||||
import pwd
|
||||
import platform
|
||||
|
||||
|
||||
def cower_in_path(module):
|
||||
"""
|
||||
Determine if cower is available.
|
||||
"""
|
||||
rc, stdout, stderr = module.run_command('which cower', check_rc=False)
|
||||
return rc == 0
|
||||
|
||||
|
||||
def pacman_in_path(module):
|
||||
"""
|
||||
Determine if pacman is available.
|
||||
"""
|
||||
rc, stdout, stderr = module.run_command('which pacman', check_rc=False)
|
||||
return rc == 0
|
||||
|
||||
|
||||
def package_installed(module, pkg):
|
||||
"""
|
||||
Determine if a package is already installed.
|
||||
"""
|
||||
rc, stdout, stderr = module.run_command('pacman -Q %s' % pkg, check_rc=False)
|
||||
return rc == 0
|
||||
|
||||
|
||||
def check_packages(module, pkgs):
|
||||
"""
|
||||
Inform the user what would change if the module were run.
|
||||
"""
|
||||
would_be_changed = []
|
||||
|
||||
for pkg in pkgs:
|
||||
installed = package_installed(module, pkg)
|
||||
if not installed:
|
||||
would_be_changed.append(pkg)
|
||||
|
||||
if would_be_changed:
|
||||
module.exit_json(changed=True, msg='%s package(s) would be installed' % (len(would_be_changed)))
|
||||
else:
|
||||
module.exit_json(changed=False, msg='all packages are already installed')
|
||||
|
||||
|
||||
def download_packages(module, pkgs, dir, user):
|
||||
"""
|
||||
Download the specified packages.
|
||||
"""
|
||||
# Use cower, if available.
|
||||
if cower_in_path(module):
|
||||
cmds = ['sudo -u %s cower -dqf %s', ]
|
||||
# Otherwise, fall back to cURL
|
||||
else:
|
||||
cmds = ['sudo -u %s curl -O https://aur.archlinux.org/cgit/aur.git/snapshot/%s.tar.gz',
|
||||
'sudo -u %s tar xzf %s.tar.gz']
|
||||
for pkg in pkgs:
|
||||
# If the package is already installed, skip the download.
|
||||
if package_installed(module, pkg):
|
||||
continue
|
||||
# Change into the specified directory for download.
|
||||
os.chdir(dir)
|
||||
# Attempt to install the package.
|
||||
for cmd in cmds:
|
||||
rc, stdout, stderr = module.run_command(cmd % (user, pkg), check_rc=False)
|
||||
if rc != 0:
|
||||
module.fail_json(msg='failed to download package %s, because: %s' % (pkg,stderr))
|
||||
|
||||
|
||||
def install_packages(module, pkgs, dir, user, virtual):
|
||||
"""
|
||||
Install the specified packages via makepkg.
|
||||
"""
|
||||
num_installed = 0
|
||||
|
||||
if platform.machine().startswith('arm') or platform.machine().startswith('aarch64'):
|
||||
makepkg_args = '-Acsrf'
|
||||
else:
|
||||
makepkg_args = '-csrf'
|
||||
cmd = 'sudo -u %s PKGEXT=".pkg.tar" makepkg %s --noconfirm --needed --noprogressbar' % (user, makepkg_args)
|
||||
if module.params['skip_pgp']:
|
||||
cmd += ' --skippgpcheck'
|
||||
for pkg in pkgs:
|
||||
# If the package is already installed, skip the install.
|
||||
if package_installed(module, pkg):
|
||||
continue
|
||||
|
||||
# Change into the package directory.
|
||||
# Check if the package is a virtual package
|
||||
if virtual:
|
||||
os.chdir(os.path.join(dir, virtual))
|
||||
else:
|
||||
os.chdir(os.path.join(dir, pkg))
|
||||
|
||||
# Attempt to build the directory.
|
||||
rc, stdout, stderr = module.run_command(cmd, check_rc=False)
|
||||
if rc != 0:
|
||||
module.fail_json(msg='failed to build package %s, because: %s' % (pkg,stderr))
|
||||
|
||||
# If the package was succesfully built, install it.
|
||||
rc, stdout, stderr = module.run_command('pacman -U --noconfirm *.pkg.tar*', check_rc=False, use_unsafe_shell=True)
|
||||
if rc != 0:
|
||||
module.fail_json(msg='failed to install package %s, because: %s' % (pkg,stderr))
|
||||
else:
|
||||
num_installed += 1
|
||||
|
||||
# Exit with the number of packages succesfully installed.
|
||||
if num_installed > 0:
|
||||
module.exit_json(changed=True, msg='installed %s package(s)' % num_installed)
|
||||
else:
|
||||
module.exit_json(changed=False, msg='all packages were already installed')
|
||||
|
||||
|
||||
def main():
|
||||
module = AnsibleModule(
|
||||
argument_spec = dict(
|
||||
name = dict(required=True, type='list'),
|
||||
user = dict(required=True),
|
||||
dir = dict(),
|
||||
skip_pgp = dict(default=False, type='bool'),
|
||||
virtual = dict(),
|
||||
),
|
||||
supports_check_mode = True
|
||||
)
|
||||
|
||||
# Fail of pacman is not available.
|
||||
if not pacman_in_path(module):
|
||||
module.fail_json(msg="could not locate pacman executable")
|
||||
|
||||
p = module.params
|
||||
|
||||
# Get all the requested package names.
|
||||
pkgs = p['name']
|
||||
|
||||
# Fail if the specified user does not exist.
|
||||
try:
|
||||
pwd.getpwnam(p['user'])
|
||||
except KeyError:
|
||||
module.fail_json(msg="user %s does not exist" % p['user'])
|
||||
else:
|
||||
user = p['user']
|
||||
|
||||
# If no directory was given, assume the packages should be downloaded to
|
||||
# ~user/aur.
|
||||
if not p['dir']:
|
||||
home = os.path.expanduser('~%s' % user)
|
||||
if not os.path.exists(home):
|
||||
module.fail_json(msg="%s's home directory %s does not exist" % (user, home))
|
||||
|
||||
dir = os.path.join(home, 'aur')
|
||||
if not os.path.exists(dir):
|
||||
os.makedirs(dir)
|
||||
uid = pwd.getpwnam(user).pw_uid
|
||||
os.chown(dir, uid, -1)
|
||||
else:
|
||||
dir = os.path.expanduser(p['dir'])
|
||||
|
||||
# Fail if the specified directory does not exist.
|
||||
if not os.path.exists(dir):
|
||||
module.fail_json(msg="directory %s does not exist" % dir)
|
||||
|
||||
if module.check_mode:
|
||||
check_packages(module, pkgs)
|
||||
|
||||
download_packages(module, pkgs, dir, user)
|
||||
# Check if the package is virtual
|
||||
if p['virtual']:
|
||||
virtual = p['virtual']
|
||||
else:
|
||||
virtual = False
|
||||
|
||||
install_packages(module, pkgs, dir, user, virtual)
|
||||
|
||||
|
||||
from ansible.module_utils.basic import *
|
||||
main()
|
8
local.yml
Normal file
8
local.yml
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
connection: local
|
||||
become: true
|
||||
|
||||
roles:
|
||||
# - dots
|
||||
- packages
|
22
roles/dots/files/config/kitty/ayu.conf
Normal file
22
roles/dots/files/config/kitty/ayu.conf
Normal file
@ -0,0 +1,22 @@
|
||||
#background #0F1419
|
||||
background #000000
|
||||
foreground #e5e1cf
|
||||
cursor #f19618
|
||||
selection_background #243340
|
||||
color0 #000000
|
||||
color8 #323232
|
||||
color1 #ff3333
|
||||
color9 #ff6565
|
||||
color2 #b8cc52
|
||||
color10 #e9fe83
|
||||
color3 #e6c446
|
||||
color11 #fff778
|
||||
color4 #36a3d9
|
||||
color12 #68d4ff
|
||||
color5 #f07078
|
||||
color13 #ffa3aa
|
||||
color6 #95e5cb
|
||||
color14 #c7fffc
|
||||
color7 #ffffff
|
||||
color15 #ffffff
|
||||
selection_foreground #0e1419
|
32
roles/dots/files/config/kitty/black-metal.conf
Normal file
32
roles/dots/files/config/kitty/black-metal.conf
Normal file
@ -0,0 +1,32 @@
|
||||
# BlackMetal by metalelf0, https://github.com/metalelf0
|
||||
# This schemes are available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
||||
|
||||
selection_foreground #000000
|
||||
selection_background #ffffff
|
||||
|
||||
foreground #ffffff
|
||||
background #000000
|
||||
|
||||
color0 #000000
|
||||
color1 #5f8787
|
||||
color2 #dd9999
|
||||
color3 #a06666
|
||||
color4 #888888
|
||||
color5 #999999
|
||||
color6 #aaaaaa
|
||||
color7 #c1c1c1
|
||||
color8 #333333
|
||||
color9 #5f8787
|
||||
color10 #dd9999
|
||||
color11 #a06666
|
||||
color12 #888888
|
||||
color13 #999999
|
||||
color14 #aaaaaa
|
||||
color15 #c1c1c1
|
||||
|
||||
active_tab_foreground #ffffff
|
||||
active_tab_background #000000
|
||||
inactive_tab_foreground #666666
|
||||
inactive_tab_background #000000
|
||||
|
||||
active_border_color #ffffff
|
32
roles/dots/files/config/kitty/black_metal.conf
Normal file
32
roles/dots/files/config/kitty/black_metal.conf
Normal file
@ -0,0 +1,32 @@
|
||||
# BlackMetal by metalelf0, https://github.com/metalelf0
|
||||
# This schemes are available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
||||
|
||||
selection_foreground #000000
|
||||
selection_background #ffffff
|
||||
|
||||
foreground #ffffff
|
||||
background #000000
|
||||
|
||||
color0 #000000
|
||||
color1 #5f8787
|
||||
color2 #dd9999
|
||||
color3 #a06666
|
||||
color4 #888888
|
||||
color5 #999999
|
||||
color6 #aaaaaa
|
||||
color7 #c1c1c1
|
||||
color8 #333333
|
||||
color9 #5f8787
|
||||
color10 #dd9999
|
||||
color11 #a06666
|
||||
color12 #888888
|
||||
color13 #999999
|
||||
color14 #aaaaaa
|
||||
color15 #c1c1c1
|
||||
|
||||
active_tab_foreground #ffffff
|
||||
active_tab_background #000000
|
||||
inactive_tab_foreground #666666
|
||||
inactive_tab_background #000000
|
||||
|
||||
active_border_color #ffffff
|
33
roles/dots/files/config/kitty/current-theme.conf
Normal file
33
roles/dots/files/config/kitty/current-theme.conf
Normal file
@ -0,0 +1,33 @@
|
||||
## name: Gruvbox Light
|
||||
## author: Pavel Pertsev
|
||||
## license: MIT/X11
|
||||
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-light.conf
|
||||
|
||||
|
||||
selection_foreground #3c3836
|
||||
selection_background #d65d0e
|
||||
|
||||
background #fbf1c7
|
||||
foreground #3c3836
|
||||
|
||||
color0 #ebdbb2
|
||||
color1 #cc241d
|
||||
color2 #98971a
|
||||
color3 #d79921
|
||||
color4 #458588
|
||||
color5 #b16286
|
||||
color6 #689d6a
|
||||
color7 #7c6f64
|
||||
color8 #928374
|
||||
color9 #9d0006
|
||||
color10 #79740e
|
||||
color11 #b57614
|
||||
color12 #076678
|
||||
color13 #8f3f71
|
||||
color14 #427b58
|
||||
color15 #282828
|
||||
|
||||
cursor #665c54
|
||||
cursor_text_color #bdae93
|
||||
|
||||
url_color #458588
|
36
roles/dots/files/config/kitty/dracula.conf
Normal file
36
roles/dots/files/config/kitty/dracula.conf
Normal file
@ -0,0 +1,36 @@
|
||||
# vim:ft=kitty
|
||||
## name: Dracula
|
||||
## author: Keegan Carruthers-Smith
|
||||
## license: MIT
|
||||
## upstream: https://raw.githubusercontent.com/dracula/kitty/master/dracula.conf
|
||||
|
||||
foreground #f8f8f2
|
||||
# background #282a36
|
||||
background #292A35
|
||||
selection_foreground #ffffff
|
||||
selection_background #44475a
|
||||
url_color #8be9fd
|
||||
color0 #21222c
|
||||
color8 #6272a4
|
||||
color1 #ff5555
|
||||
color9 #ff6e6e
|
||||
color2 #50fa7b
|
||||
color10 #69ff94
|
||||
color3 #f1fa8c
|
||||
color11 #ffffa5
|
||||
color4 #bd93f9
|
||||
color12 #d6acff
|
||||
color5 #ff79c6
|
||||
color13 #ff92df
|
||||
color6 #8be9fd
|
||||
color14 #a4ffff
|
||||
color7 #f8f8f2
|
||||
color15 #ffffff
|
||||
cursor #f8f8f2
|
||||
cursor_text_color background
|
||||
active_tab_foreground #282a36
|
||||
active_tab_background #f8f8f2
|
||||
inactive_tab_foreground #282a36
|
||||
inactive_tab_background #6272a4
|
||||
mark1_foreground #282a36
|
||||
mark1_background #ff5555
|
70
roles/dots/files/config/kitty/everforset-theme.conf
Normal file
70
roles/dots/files/config/kitty/everforset-theme.conf
Normal file
@ -0,0 +1,70 @@
|
||||
# vim:ft=kitty
|
||||
## name: Everforest Dark Hard
|
||||
## author: Sainnhe Park
|
||||
## license: MIT
|
||||
## upstream: https://github.com/ewal/kitty-everforest/blob/master/themes/everforest_dark_hard.conf
|
||||
## blurb: A green based color scheme designed to be warm and soft
|
||||
|
||||
foreground #d3c6aa
|
||||
background #272e33
|
||||
selection_foreground #9da9a0
|
||||
selection_background #4c3743
|
||||
|
||||
cursor #d3c6aa
|
||||
cursor_text_color #2e383c
|
||||
|
||||
url_color #7fbbb3
|
||||
|
||||
active_border_color #a7c080
|
||||
inactive_border_color #4f5b58
|
||||
bell_border_color #e69875
|
||||
visual_bell_color none
|
||||
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
active_tab_background #272e33
|
||||
active_tab_foreground #d3c6aa
|
||||
inactive_tab_background #374145
|
||||
inactive_tab_foreground #9da9a0
|
||||
tab_bar_background #2e383c
|
||||
tab_bar_margin_color none
|
||||
|
||||
mark1_foreground #272e33
|
||||
mark1_background #7fbbb3
|
||||
mark2_foreground #272e33
|
||||
mark2_background #d3c6aa
|
||||
mark3_foreground #272e33
|
||||
mark3_background #d699b6
|
||||
|
||||
#: black
|
||||
color0 #343f44
|
||||
color8 #3d484d
|
||||
|
||||
#: red
|
||||
color1 #e67e80
|
||||
color9 #e67e80
|
||||
|
||||
#: green
|
||||
color2 #a7c080
|
||||
color10 #a7c080
|
||||
|
||||
#: yellow
|
||||
color3 #dbbc7f
|
||||
color11 #dbbc7f
|
||||
|
||||
#: blue
|
||||
color4 #7fbbb3
|
||||
color12 #7fbbb3
|
||||
|
||||
#: magenta
|
||||
color5 #d699b6
|
||||
color13 #d699b6
|
||||
|
||||
#: cyan
|
||||
color6 #83c092
|
||||
color14 #83c092
|
||||
|
||||
#: white
|
||||
color7 #859289
|
||||
color15 #9da9a0
|
32
roles/dots/files/config/kitty/gruvbox.conf
Normal file
32
roles/dots/files/config/kitty/gruvbox.conf
Normal file
@ -0,0 +1,32 @@
|
||||
## name: Gruvbox Dark
|
||||
## author: Pavel Pertsev
|
||||
## license: MIT/X11
|
||||
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-dark.conf
|
||||
|
||||
selection_foreground #ebdbb2
|
||||
selection_background #d65d0e
|
||||
|
||||
background #282828
|
||||
foreground #ebdbb2
|
||||
|
||||
color0 #3c3836
|
||||
color1 #cc241d
|
||||
color2 #98971a
|
||||
color3 #d79921
|
||||
color4 #458588
|
||||
color5 #b16286
|
||||
color6 #689d6a
|
||||
color7 #a89984
|
||||
color8 #928374
|
||||
color9 #fb4934
|
||||
color10 #b8bb26
|
||||
color11 #fabd2f
|
||||
color12 #83a598
|
||||
color13 #d3869b
|
||||
color14 #8ec07c
|
||||
color15 #fbf1c7
|
||||
|
||||
cursor #bdae93
|
||||
cursor_text_color #665c54
|
||||
|
||||
url_color #458588
|
33
roles/dots/files/config/kitty/gruvbox_light.conf
Normal file
33
roles/dots/files/config/kitty/gruvbox_light.conf
Normal file
@ -0,0 +1,33 @@
|
||||
## name: Gruvbox Light
|
||||
## author: Pavel Pertsev
|
||||
## license: MIT/X11
|
||||
## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-light.conf
|
||||
|
||||
|
||||
selection_foreground #3c3836
|
||||
selection_background #d65d0e
|
||||
|
||||
background #fbf1c7
|
||||
foreground #3c3836
|
||||
|
||||
color0 #ebdbb2
|
||||
color1 #cc241d
|
||||
color2 #98971a
|
||||
color3 #d79921
|
||||
color4 #458588
|
||||
color5 #b16286
|
||||
color6 #689d6a
|
||||
color7 #7c6f64
|
||||
color8 #928374
|
||||
color9 #9d0006
|
||||
color10 #79740e
|
||||
color11 #b57614
|
||||
color12 #076678
|
||||
color13 #8f3f71
|
||||
color14 #427b58
|
||||
color15 #282828
|
||||
|
||||
cursor #665c54
|
||||
cursor_text_color #bdae93
|
||||
|
||||
url_color #458588
|
33
roles/dots/files/config/kitty/kitty.conf
Normal file
33
roles/dots/files/config/kitty/kitty.conf
Normal file
@ -0,0 +1,33 @@
|
||||
font_size 12
|
||||
font_family JetBrainsMonoNl Nerd Font Mono
|
||||
# font_family Firacode Nerd Font
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
# brackground_opacity 1
|
||||
background_opacity 0.91
|
||||
window_padding_width 15
|
||||
allow_remote_control yes
|
||||
enable_audio_bell no
|
||||
url_style single
|
||||
tab_bar_style powerline
|
||||
hide_window_decorations yes
|
||||
|
||||
map ctrl+o copy_to_clipboard
|
||||
map ctrl+m paste_from_clipboard
|
||||
# map ctrl+K cancel
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Gruvbox Light
|
||||
# include current-theme.conf
|
||||
# include solarized_light.conf
|
||||
# include ayu.conf
|
||||
# iinclude tomorrow-night.conf
|
||||
include gruvbox.conf
|
||||
# include everforset-theme.conf
|
||||
# include nord.conf
|
||||
# include everforset-theme.conf
|
||||
# include solarized_light.conf
|
||||
# END_KITTY_THEME
|
25
roles/dots/files/config/kitty/kitty.conf.bak
Normal file
25
roles/dots/files/config/kitty/kitty.conf.bak
Normal file
@ -0,0 +1,25 @@
|
||||
font_size 16
|
||||
font_family JetBrainsMonoNl Nerd Font Mono
|
||||
# font_family Firacode Nerd Font
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
||||
# background_opacity 0.9
|
||||
background_opacity 1
|
||||
window_padding_width 15
|
||||
allow_remote_control yes
|
||||
enable_audio_bell no
|
||||
url_style single
|
||||
tab_bar_style powerline
|
||||
hide_window_decorations yes
|
||||
|
||||
map ctrl+o copy_to_clipboard
|
||||
map ctrl+m paste_from_clipboard
|
||||
# map ctrl+K cancel
|
||||
|
||||
|
||||
# BEGIN_KITTY_THEME
|
||||
# Solarized Light
|
||||
include current-theme.conf
|
||||
# END_KITTY_THEME
|
2
roles/dots/files/config/kitty/kitty_note
Normal file
2
roles/dots/files/config/kitty/kitty_note
Normal file
@ -0,0 +1,2 @@
|
||||
# set theme
|
||||
kitty +kitten themes --reload-in=all Nord
|
50
roles/dots/files/config/kitty/nord-theme.conf
Normal file
50
roles/dots/files/config/kitty/nord-theme.conf
Normal file
@ -0,0 +1,50 @@
|
||||
# vim:ft=kitty
|
||||
## name: Nord
|
||||
## author: Connor Holyday
|
||||
## license: MIT
|
||||
## upstream: https://raw.githubusercontent.com/connorholyday/nord-kitty/master/nord.conf
|
||||
## blurb: An arctic, north-bluish clean and elegant Kitty theme.
|
||||
|
||||
# Nord Colorscheme for Kitty
|
||||
# Based on:
|
||||
# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192
|
||||
# - https://github.com/arcticicestudio/nord-hyper
|
||||
|
||||
foreground #D8DEE9
|
||||
background #2E3440
|
||||
selection_foreground #000000
|
||||
selection_background #FFFACD
|
||||
url_color #0087BD
|
||||
cursor #81A1C1
|
||||
|
||||
# black
|
||||
color0 #3B4252
|
||||
color8 #4C566A
|
||||
|
||||
# red
|
||||
color1 #BF616A
|
||||
color9 #BF616A
|
||||
|
||||
# green
|
||||
color2 #A3BE8C
|
||||
color10 #A3BE8C
|
||||
|
||||
# yellow
|
||||
color3 #EBCB8B
|
||||
color11 #EBCB8B
|
||||
|
||||
# blue
|
||||
color4 #81A1C1
|
||||
color12 #81A1C1
|
||||
|
||||
# magenta
|
||||
color5 #B48EAD
|
||||
color13 #B48EAD
|
||||
|
||||
# cyan
|
||||
color6 #88C0D0
|
||||
color14 #8FBCBB
|
||||
|
||||
# white
|
||||
color7 #E5E9F0
|
||||
color15 #ECEFF4
|
50
roles/dots/files/config/kitty/nord.conf
Normal file
50
roles/dots/files/config/kitty/nord.conf
Normal file
@ -0,0 +1,50 @@
|
||||
# vim:ft=kitty
|
||||
## name: Nord
|
||||
## author: Connor Holyday
|
||||
## license: MIT
|
||||
## upstream: https://raw.githubusercontent.com/connorholyday/nord-kitty/master/nord.conf
|
||||
## blurb: An arctic, north-bluish clean and elegant Kitty theme.
|
||||
|
||||
# Nord Colorscheme for Kitty
|
||||
# Based on:
|
||||
# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192
|
||||
# - https://github.com/arcticicestudio/nord-hyper
|
||||
|
||||
foreground #D8DEE9
|
||||
background #2E3440
|
||||
selection_foreground #000000
|
||||
selection_background #FFFACD
|
||||
url_color #0087BD
|
||||
cursor #81A1C1
|
||||
|
||||
# black
|
||||
color0 #3B4252
|
||||
color8 #4C566A
|
||||
|
||||
# red
|
||||
color1 #BF616A
|
||||
color9 #BF616A
|
||||
|
||||
# green
|
||||
color2 #A3BE8C
|
||||
color10 #A3BE8C
|
||||
|
||||
# yellow
|
||||
color3 #EBCB8B
|
||||
color11 #EBCB8B
|
||||
|
||||
# blue
|
||||
color4 #81A1C1
|
||||
color12 #81A1C1
|
||||
|
||||
# magenta
|
||||
color5 #B48EAD
|
||||
color13 #B48EAD
|
||||
|
||||
# cyan
|
||||
color6 #88C0D0
|
||||
color14 #8FBCBB
|
||||
|
||||
# white
|
||||
color7 #E5E9F0
|
||||
color15 #ECEFF4
|
32
roles/dots/files/config/kitty/one-dark.conf
Normal file
32
roles/dots/files/config/kitty/one-dark.conf
Normal file
@ -0,0 +1,32 @@
|
||||
# One Dark by Giuseppe Cesarano, https://github.com/GiuseppeCesarano
|
||||
# This work is licensed under the terms of the GPL-2.0 license.
|
||||
# For a copy, see https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html.
|
||||
|
||||
# Colors
|
||||
|
||||
foreground #979eab
|
||||
background #282c34
|
||||
|
||||
color0 #282c34
|
||||
color1 #e06c75
|
||||
color2 #98c379
|
||||
color3 #e5c07b
|
||||
color4 #61afef
|
||||
color5 #be5046
|
||||
color6 #56b6c2
|
||||
color7 #979eab
|
||||
color8 #393e48
|
||||
color9 #d19a66
|
||||
color10 #56b6c2
|
||||
color11 #e5c07b
|
||||
color12 #61afef
|
||||
color13 #be5046
|
||||
color14 #56b6c2
|
||||
color15 #abb2bf
|
||||
|
||||
# Tab Bar
|
||||
|
||||
active_tab_foreground #282c34
|
||||
active_tab_background #979eab
|
||||
inactive_tab_foreground #abb2bf
|
||||
inactive_tab_background #282c34
|
59
roles/dots/files/config/kitty/solarized_light.conf
Normal file
59
roles/dots/files/config/kitty/solarized_light.conf
Normal file
@ -0,0 +1,59 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Solarized Light
|
||||
## author: Ethan Schoonover
|
||||
## license: MIT
|
||||
## blurb: Precision colors for machines and people
|
||||
|
||||
# The basic colors
|
||||
foreground #657b83
|
||||
background #fdf6e3
|
||||
selection_foreground #586e75
|
||||
selection_background #eee8d5
|
||||
|
||||
# Cursor colors
|
||||
cursor #657b83
|
||||
cursor_text_color #fdf6e3
|
||||
|
||||
# kitty window border colors
|
||||
active_border_color #cb4b16
|
||||
inactive_border_color #93a1a1
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_background #fdf6e3
|
||||
active_tab_foreground #657b83
|
||||
inactive_tab_background #93a1a1
|
||||
inactive_tab_foreground #fdf6e3
|
||||
|
||||
# The basic 16 colors
|
||||
# black
|
||||
color0 #073642
|
||||
color8 #93a1a1
|
||||
|
||||
# red
|
||||
color1 #dc322f
|
||||
color9 #cb4b16
|
||||
|
||||
# green
|
||||
color2 #859900
|
||||
color10 #586e75
|
||||
|
||||
# yellow
|
||||
color3 #b58900
|
||||
color11 #657b83
|
||||
|
||||
# blue
|
||||
color4 #268bd2
|
||||
color12 #839496
|
||||
|
||||
# magenta
|
||||
color5 #d33682
|
||||
color13 #6c71c4
|
||||
|
||||
# cyan
|
||||
color6 #2aa198
|
||||
color14 #93a1a1
|
||||
|
||||
# white
|
||||
color7 #eee8d5
|
||||
color15 #fdf6e3
|
21
roles/dots/files/config/kitty/space_grey.conf
Normal file
21
roles/dots/files/config/kitty/space_grey.conf
Normal file
@ -0,0 +1,21 @@
|
||||
background #20232c
|
||||
foreground #b2b8c2
|
||||
cursor #b2b8c2
|
||||
selection_background #15171e
|
||||
color0 #000000
|
||||
color8 #000000
|
||||
color1 #af4b57
|
||||
color9 #af4b57
|
||||
color2 #87b279
|
||||
color10 #87b279
|
||||
color3 #e5c078
|
||||
color11 #e5c078
|
||||
color4 #7c8fa3
|
||||
color12 #7c8fa3
|
||||
color5 #a37996
|
||||
color13 #a37996
|
||||
color6 #84a6a4
|
||||
color14 #84a6a4
|
||||
color7 #b2b8c2
|
||||
color15 #fffefe
|
||||
selection_foreground #20232c
|
37
roles/dots/files/config/kitty/tokyo_night.conf
Normal file
37
roles/dots/files/config/kitty/tokyo_night.conf
Normal file
@ -0,0 +1,37 @@
|
||||
background #1a1b26
|
||||
foreground #c0caf5
|
||||
selection_background #33467C
|
||||
selection_foreground #c0caf5
|
||||
url_color #73daca
|
||||
cursor #c0caf5
|
||||
|
||||
# Tabs
|
||||
active_tab_background #7aa2f7
|
||||
active_tab_foreground #1f2335
|
||||
inactive_tab_background #292e42
|
||||
inactive_tab_foreground #545c7e
|
||||
#tab_bar_background #15161E
|
||||
|
||||
# normal
|
||||
color0 #15161E
|
||||
color1 #f7768e
|
||||
color2 #9ece6a
|
||||
color3 #e0af68
|
||||
color4 #7aa2f7
|
||||
color5 #bb9af7
|
||||
color6 #7dcfff
|
||||
color7 #a9b1d6
|
||||
|
||||
# bright
|
||||
color8 #414868
|
||||
color9 #f7768e
|
||||
color10 #9ece6a
|
||||
color11 #e0af68
|
||||
color12 #7aa2f7
|
||||
color13 #bb9af7
|
||||
color14 #7dcfff
|
||||
color15 #c0caf5
|
||||
|
||||
# extended colors
|
||||
color16 #ff9e64
|
||||
color17 #db4b4b
|
22
roles/dots/files/config/kitty/tomorrow-night.conf
Normal file
22
roles/dots/files/config/kitty/tomorrow-night.conf
Normal file
@ -0,0 +1,22 @@
|
||||
# background #1d1f21
|
||||
background #000000
|
||||
foreground #c4c8c5
|
||||
cursor #c4c8c5
|
||||
selection_background #363a41
|
||||
color0 #000000
|
||||
color8 #000000
|
||||
color1 #cc6666
|
||||
color9 #cc6666
|
||||
color2 #b5bd68
|
||||
color10 #b5bd68
|
||||
color3 #f0c574
|
||||
color11 #f0c574
|
||||
color4 #80a1bd
|
||||
color12 #80a1bd
|
||||
color5 #b294ba
|
||||
color13 #b294ba
|
||||
color6 #8abdb6
|
||||
color14 #8abdb6
|
||||
color7 #fffefe
|
||||
color15 #fffefe
|
||||
selection_foreground #1d1f21
|
0
roles/dots/files/config/nvim/.projectile
Normal file
0
roles/dots/files/config/nvim/.projectile
Normal file
1
roles/dots/files/config/nvim/init.lua
Normal file
1
roles/dots/files/config/nvim/init.lua
Normal file
@ -0,0 +1 @@
|
||||
require('some')
|
24
roles/dots/files/config/nvim/lua/some/common.lua
Executable file
24
roles/dots/files/config/nvim/lua/some/common.lua
Executable file
@ -0,0 +1,24 @@
|
||||
local set = vim.opt
|
||||
local g = vim.g
|
||||
|
||||
set.encoding = 'UTF-8'
|
||||
set.number = true
|
||||
set.relativenumber = true
|
||||
set.tabstop = 8
|
||||
set.softtabstop = 0
|
||||
set.shiftwidth = 4
|
||||
set.expandtab = true
|
||||
set.smarttab = true
|
||||
set.cursorline = true
|
||||
set.clipboard = 'unnamed,unnamedplus'
|
||||
|
||||
|
||||
set.list = true
|
||||
-- set.lcs='space:·'
|
||||
g.mapleader='\\'
|
||||
|
||||
vim.o.termguicolors = true
|
||||
|
||||
set.keymap='russian-jcukenwin'
|
||||
set.iminsert=0
|
||||
set.imsearch=0
|
5
roles/dots/files/config/nvim/lua/some/init.lua
Executable file
5
roles/dots/files/config/nvim/lua/some/init.lua
Executable file
@ -0,0 +1,5 @@
|
||||
require("some.common")
|
||||
require("some.packer")
|
||||
require("some.packer_setting")
|
||||
require("some.scripts")
|
||||
|
86
roles/dots/files/config/nvim/lua/some/packer.lua
Executable file
86
roles/dots/files/config/nvim/lua/some/packer.lua
Executable file
@ -0,0 +1,86 @@
|
||||
vim.cmd [[packadd packer.nvim]]
|
||||
|
||||
return require('packer').startup(function(use)
|
||||
use 'wbthomason/packer.nvim'
|
||||
-- theme
|
||||
use 'navarasu/onedark.nvim'
|
||||
use 'folke/tokyonight.nvim'
|
||||
use 'shaunsingh/nord.nvim'
|
||||
use 'morhetz/gruvbox'
|
||||
use 'ellisonleao/gruvbox.nvim'
|
||||
use 'Mofiqul/dracula.nvim'
|
||||
use 'sainnhe/everforest'
|
||||
use 'catppuccin/nvim'
|
||||
use 'bluz71/vim-nightfly-colors'
|
||||
use 'NTBBloodbath/doom-one.nvim'
|
||||
use 'metalelf0/base16-black-metal-scheme'
|
||||
use 'EdenEast/nightfox.nvim'
|
||||
use 'ayu-theme/ayu-vim'
|
||||
use 'Shatur/neovim-ayu'
|
||||
use 'lunacookies/vim-colors-xcode'
|
||||
use 'chriskempson/vim-tomorrow-theme'
|
||||
use 'maxmx03/solarized.nvim'
|
||||
use 'antonk52/lake.nvim'
|
||||
|
||||
-- auto save
|
||||
use 'pocco81/auto-save.nvim'
|
||||
|
||||
-- nerd tree
|
||||
use 'preservim/nerdtree'
|
||||
use 'Xuyuanp/nerdtree-git-plugin'
|
||||
|
||||
-- git
|
||||
use 'tpope/vim-fugitive'
|
||||
use 'airblade/vim-gitgutter'
|
||||
|
||||
-- decorations
|
||||
use 'ryanoasis/vim-devicons'
|
||||
use 'nvim-tree/nvim-web-devicons'
|
||||
use {"shortcuts/no-neck-pain.nvim", tag = "*" }
|
||||
use {
|
||||
'phaazon/hop.nvim',
|
||||
branch = 'v2',
|
||||
config = function()
|
||||
require'hop'.setup { keys = 'etovxqpdygfblzhckisuran' }
|
||||
end
|
||||
}
|
||||
-- func
|
||||
use 'windwp/nvim-autopairs'
|
||||
|
||||
-- telescope
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
tag = '0.1.4',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
}
|
||||
use 'nvim-telescope/telescope-file-browser.nvim'
|
||||
use 'ThePrimeagen/harpoon'
|
||||
use {
|
||||
'nvim-lualine/lualine.nvim',
|
||||
requires = { 'kyazdani42/nvim-web-devicons', opt = true }
|
||||
}
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = ':TSUpdate',
|
||||
}
|
||||
use 'dense-analysis/ale'
|
||||
|
||||
-- lsp
|
||||
use {
|
||||
'VonHeikemen/lsp-zero.nvim',
|
||||
branch = 'v3.x',
|
||||
requires = {
|
||||
{'williamboman/mason.nvim'},
|
||||
{'williamboman/mason-lspconfig.nvim'},
|
||||
|
||||
{'neovim/nvim-lspconfig'},
|
||||
{'hrsh7th/nvim-cmp'},
|
||||
{'hrsh7th/cmp-nvim-lsp'},
|
||||
{'L3MON4D3/LuaSnip'},
|
||||
}
|
||||
}
|
||||
-- snippet
|
||||
use 'honza/vim-snippets'
|
||||
end)
|
||||
|
||||
|
252
roles/dots/files/config/nvim/lua/some/packer_setting.lua
Executable file
252
roles/dots/files/config/nvim/lua/some/packer_setting.lua
Executable file
@ -0,0 +1,252 @@
|
||||
vim.o.background = 'dark' -- 'dark' or 'light'
|
||||
vim.g.everforest_background = 'hard'
|
||||
-- vim.cmd('colorscheme everforest')
|
||||
-- vim.cmd('colorscheme nord')
|
||||
-- vim.cmd('colorscheme base16-black-metal')
|
||||
-- vim.cmd('colorscheme doom-one')
|
||||
-- vim.cmd('colorscheme dracula')
|
||||
-- vim.cmd('colorscheme onedark')
|
||||
-- vim.cmd('colorscheme nightfox')
|
||||
-- vim.cmd('colorscheme Tomorrow-Night-Bright')
|
||||
-- vim.cmd('colorscheme doom-one')
|
||||
-- vim.cmd('colorscheme dracula-soft')
|
||||
-- vim.cmd('colorscheme solarized')
|
||||
vim.cmd('colorscheme gruvbox')
|
||||
-- vim.cmd('colorscheme lake')
|
||||
-- vim.cmd('highlight Normal guibg=#000000 ctermbg=black')
|
||||
vim.api.nvim_set_hl(0, 'CursorLine', { underline = true })
|
||||
-- vim.cmd('highlight Normal guibg=none')
|
||||
|
||||
-- цвет номеров строк
|
||||
-- vim.cmd('hi linenr guifg=white')
|
||||
vim.cmd('hi linenr guifg=#D3C6AA')
|
||||
-- telescope
|
||||
local builtin = require('telescope.builtin')
|
||||
|
||||
-- lualine
|
||||
vim.o.showtabline = 2
|
||||
require('lualine').setup()
|
||||
|
||||
-- nerdtree
|
||||
vim.cmd('autocmd FileType nerdtree setlocal relativenumber')
|
||||
-- Open the existing NERDTree on each new tab.
|
||||
vim.cmd("autocmd BufWinEnter * if getcmdwintype() == '' | silent NERDTreeMirror | endif")
|
||||
-- Close the tab if NERDTree is the only window remaining in it.
|
||||
vim.cmd("autocmd BufEnter * if winnr('$') == 1 && exists('b:NERDTree') && b:NERDTree.isTabTree() | quit | endif")
|
||||
-- Open the existing NERDTree on each new tab.
|
||||
|
||||
vim.g['NERDTreeShowHidden'] = 1
|
||||
vim.g['NERDTreeWinSize'] = 50
|
||||
|
||||
|
||||
-- # nvim-treesitter
|
||||
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
configs.setup({
|
||||
ensure_installed = {"python", "lua", "http", "json"},
|
||||
ignore_install = { "" }, -- List of parsers to ignore installing
|
||||
sync_install = true,
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true, -- false will disable the whole extension
|
||||
disable = {}, -- list of language that will be disabled
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
autopairs = {
|
||||
enable = true,
|
||||
},
|
||||
indent = { enable = true, disable = {} },
|
||||
})
|
||||
|
||||
|
||||
-- hob
|
||||
local hop = require('hop')
|
||||
hop.setup()
|
||||
local directions = require('hop.hint').HintDirection
|
||||
vim.keymap.set('', 'f', function()
|
||||
hop.hint_char1({ direction = directions.AFTER_CURSOR, current_line_only = true })
|
||||
end, {remap=true})
|
||||
vim.keymap.set('', 'F', function()
|
||||
hop.hint_char1({ direction = directions.BEFORE_CURSOR, current_line_only = true })
|
||||
end, {remap=true})
|
||||
|
||||
-- auto pairs
|
||||
-- Настройка символов, для которых будет автоматически вставляться закрывающая скобка
|
||||
require('nvim-autopairs').setup{}
|
||||
require("no-neck-pain").setup({ width = 150 })
|
||||
|
||||
-- harpoon
|
||||
print(vim.api.nvim_win_get_width(0))
|
||||
require("harpoon").setup({
|
||||
menu = {
|
||||
-- width = vim.api.nvim_win_get_width(0) - 4,
|
||||
width = 90
|
||||
}
|
||||
})
|
||||
|
||||
-- ----------------------
|
||||
-- lsp
|
||||
-- ----------------------
|
||||
local lsp_zero = require('lsp-zero')
|
||||
lsp_zero.preset({
|
||||
name = 'minimal',
|
||||
set_lsp_keymaps = true,
|
||||
manage_nvim_cmp = true,
|
||||
suggest_lsp_servers = false,
|
||||
})
|
||||
|
||||
|
||||
lsp_zero.on_attach(function(client, bufnr)
|
||||
-- see :help lsp-zero-keybindings
|
||||
-- to learn the available actions
|
||||
lsp_zero.default_keymaps({buffer = bufnr})
|
||||
end)
|
||||
|
||||
|
||||
-- cmp
|
||||
local cmp = require('cmp')
|
||||
local cmp_action = require('lsp-zero').cmp_action()
|
||||
local cmp_format = require('lsp-zero').cmp_format({details = true})
|
||||
|
||||
require('luasnip.loaders.from_vscode').lazy_load()
|
||||
|
||||
cmp.setup({
|
||||
sources = {
|
||||
{name = 'nvim_lsp'},
|
||||
{name = 'luasnip'},
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<cr>'] = cmp.mapping.confirm({select = true}),
|
||||
}),
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
require('luasnip').lsp_expand(args.body)
|
||||
end,
|
||||
},
|
||||
formatting = cmp_format,
|
||||
})
|
||||
|
||||
|
||||
-- to learn how to use mason.nvim
|
||||
-- read this: https://github.com/VonHeikemen/lsp-zero.nvim/blob/v3.x/doc/md/guide/integrate-with-mason-nvim.md
|
||||
require('mason').setup({})
|
||||
require('mason-lspconfig').setup({
|
||||
ensure_installed = {},
|
||||
handlers = {
|
||||
function(server_name)
|
||||
require('lspconfig')[server_name].setup({})
|
||||
end,
|
||||
},
|
||||
})
|
||||
|
||||
-- ----------------------
|
||||
-- Syntax CHeck
|
||||
-- ----------------------
|
||||
vim.g.ale_echo_msg_error_str = 'E'
|
||||
vim.g.ale_echo_msg_warning_str = 'W'
|
||||
vim.g.ale_echo_msg_format = '[%linter%] %s [%severity%]'
|
||||
|
||||
-- ----------------------
|
||||
-- SHORTCUTS
|
||||
-- ----------------------
|
||||
|
||||
-- vim.keymap.set('n','y','"+y')
|
||||
-- vim.keymap.set('n','yy','"+yy')
|
||||
-- vim.keymap.set('n','Y','"+Y')
|
||||
-- vim.keymap.set('x','y','"+y')
|
||||
-- vim.keymap.set('x','Y','"+Y')
|
||||
|
||||
vim.keymap.set('n','yy','"gg+yy')
|
||||
vim.keymap.set('n','Y','"gg+yG')
|
||||
vim.keymap.set('x','y','"+y')
|
||||
vim.keymap.set('x','Y','"+Y')
|
||||
|
||||
vim.api.nvim_set_keymap('n', '<Space>v', 'p', { noremap = true, silent = true })
|
||||
-- vim.api.nvim_set_keymap('i', '<Space>v', '<Esc>pa', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap('c', '<Space>v', '<C-r>"<CR>', { noremap = true, silent = true })
|
||||
|
||||
vim.keymap.set('n', '<Space>cc', ':NoNeckPain<CR>')
|
||||
|
||||
vim.keymap.set('n', '<M-d>', '<C-d>zz')
|
||||
vim.keymap.set('n', '<M-u>', '<C-u>zz')
|
||||
vim.keymap.set('n', '<M-y>', '<C-y>kzz')
|
||||
vim.keymap.set('n', '<M-e>', '<C-e>jzz')
|
||||
|
||||
vim.keymap.set('i', 'jk', '<esc>')
|
||||
vim.keymap.set('n', '<M-c>', '<esc>', { silent=true })
|
||||
|
||||
vim.keymap.set('n', '<C-n>', ':bn<CR>')
|
||||
vim.keymap.set('n', '<C-p>', ':bp<CR>')
|
||||
|
||||
vim.keymap.set('v', 'p', 'P')
|
||||
vim.keymap.set('n', '"', ':noh<CR>', { silent=true })
|
||||
|
||||
vim.keymap.set('n', '<S-j>', ':vertical resize +5<cr>')
|
||||
vim.keymap.set('n', '<S-k>', ':vertical resize -5<cr>')
|
||||
vim.keymap.set('n', '<S-h>', ':resize +5<cr>')
|
||||
vim.keymap.set('n', '<S-l>', ':resize -5<cr>')
|
||||
|
||||
vim.keymap.set('n', '<C-J>', '<C-W><C-J>')
|
||||
vim.keymap.set('n', '<C-K>', '<C-W><C-K>')
|
||||
vim.keymap.set('n', '<C-L>', '<C-W><C-L>')
|
||||
vim.keymap.set('n', '<C-H>', '<C-W><C-H>')
|
||||
|
||||
vim.keymap.set('n', '<Space>ll', 'zz')
|
||||
|
||||
vim.keymap.set('n', '<C-g>', '<esc>')
|
||||
vim.keymap.set('i', '<C-g>', '<esc>')
|
||||
vim.keymap.set('v', '<C-g>', '<esc>')
|
||||
|
||||
-- nerd tree
|
||||
vim.keymap.set('n', '<C-f>', ':NERDTreeFind<CR>')
|
||||
vim.keymap.set('n', '<C-t>', ':NERDTreeToggle<CR>')
|
||||
|
||||
-- save
|
||||
vim.keymap.set('n', '<Space>8', ':w<CR>')
|
||||
vim.keymap.set('n', '<Space>2', ':q<CR>')
|
||||
-- exit without save
|
||||
vim.keymap.set('n', '<Space>6', ':q!<CR>')
|
||||
|
||||
-- copy
|
||||
vim.api.nvim_set_keymap('n', '<Space>vl', ':normal!_v$y <CR>', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap('v', '<CR>', 'y', {})
|
||||
|
||||
-- move
|
||||
vim.keymap.set('n', '<Space>7', '_')
|
||||
vim.keymap.set('n', '<Space>9', '$')
|
||||
|
||||
vim.keymap.set('v', '<Space>7', '_')
|
||||
vim.keymap.set('v', '<Space>9', '$h')
|
||||
|
||||
vim.keymap.set('n', '.', '<C-d>zz<CR>')
|
||||
vim.keymap.set('n', ',', '<C-u>zz<CR>')
|
||||
|
||||
vim.keymap.set('v', '.', '<C-d>zz<CR>')
|
||||
vim.keymap.set('v', ',', '<C-u>zz<CR>')
|
||||
|
||||
-- split
|
||||
vim.keymap.set('n', '<Space>sh', ':vs<CR>')
|
||||
vim.keymap.set('n', '<Space>sv', ':sp<CR>')
|
||||
|
||||
-- telescope
|
||||
vim.keymap.set('n', '<Space><Space>', builtin.find_files, {})
|
||||
vim.keymap.set('n', '<Space>pg', builtin.live_grep, {})
|
||||
vim.keymap.set('n', '<Space>bb', builtin.buffers, {})
|
||||
vim.keymap.set('n', '<Space>m', builtin.marks, {})
|
||||
|
||||
-- harpoon
|
||||
vim.api.nvim_set_keymap("n", "<Space>ha", "<cmd>lua require('harpoon.mark').add_file()<cr>", { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<Space>hl", "<cmd>lua require('harpoon.ui').toggle_quick_menu()<cr>", { noremap = true, silent = true })
|
||||
|
||||
vim.api.nvim_set_keymap("n", "<Space>hn", '<cmd>lua require("harpoon.ui").nav_next()<cr>', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<Space>hp", '<cmd>lua require("harpoon.ui").nav_prev()<cr>', { noremap = true, silent = true })
|
||||
|
||||
vim.api.nvim_set_keymap("n", "<Space>h1", '<cmd>lua require("harpoon.ui").nav_file(1)<cr>', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<Space>h2", '<cmd>lua require("harpoon.ui").nav_file(2)<cr>', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<Space>h3", '<cmd>lua require("harpoon.ui").nav_file(3)<cr>', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<Space>h4", '<cmd>lua require("harpoon.ui").nav_file(4)<cr>', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<Space>h5", '<cmd>lua require("harpoon.ui").nav_file(5)<cr>', { noremap = true, silent = true })
|
||||
vim.api.nvim_set_keymap("n", "<Space>h6", '<cmd>lua require("harpoon.ui").nav_file(6)<cr>', { noremap = true, silent = true })
|
78
roles/dots/files/config/nvim/lua/some/scripts.lua
Executable file
78
roles/dots/files/config/nvim/lua/some/scripts.lua
Executable file
@ -0,0 +1,78 @@
|
||||
-- {"pylint", "flake8", "jedi", "pynvim"}
|
||||
|
||||
-- for httpie
|
||||
function string.starts(String,Start)
|
||||
return string.sub(String,1,string.len(Start))==Start
|
||||
end
|
||||
|
||||
function getPath(str)
|
||||
-- get dir path from file path
|
||||
-- /home/tmp/test/foo.json --> /home/tmp/test
|
||||
return str:match("(.*[/\\])")
|
||||
end
|
||||
|
||||
function close_window_with_response()
|
||||
local current_tab = vim.api.nvim_get_current_tabpage()
|
||||
local windows = vim.api.nvim_tabpage_list_wins(current_tab)
|
||||
|
||||
if #windows > 1 then
|
||||
local current_window = vim.api.nvim_get_current_win()
|
||||
local prev_window = nil
|
||||
for i = #windows, 1, -1 do
|
||||
local win = windows[i]
|
||||
if win == current_window then
|
||||
vim.api.nvim_win_close(prev_window, true)
|
||||
else
|
||||
prev_window = win
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function rest()
|
||||
vim.api.nvim_command('w')
|
||||
|
||||
local absolute_current_file = vim.api.nvim_buf_get_name(0)
|
||||
local neovim_open_path = vim.fn.getcwd()
|
||||
|
||||
local pyhttp = 'python ~/bin/easy_http.py ' .. absolute_current_file .. ' ' .. neovim_open_path
|
||||
pyhttp_exec = io.popen(pyhttp)
|
||||
|
||||
close_window_with_response()
|
||||
|
||||
local win = vim.api.nvim_get_current_win()
|
||||
local current_buf = vim.api.nvim_get_current_buf()
|
||||
vim.cmd('vsplit')
|
||||
local buf = vim.api.nvim_create_buf(true, true)
|
||||
|
||||
|
||||
vim.api.nvim_win_set_buf(win, buf)
|
||||
vim.api.nvim_buf_set_option(buf, 'buftype', 'nofile')
|
||||
|
||||
http_result = {}
|
||||
|
||||
for line in pyhttp_exec:lines() do
|
||||
table.insert(http_result, line)
|
||||
end
|
||||
|
||||
pyhttp_exec.close()
|
||||
|
||||
vim.api.nvim_buf_set_option(buf, 'modifiable', true)
|
||||
vim.api.nvim_buf_set_lines(buf, 0, 0, true, http_result)
|
||||
vim.api.nvim_buf_set_option(buf, "ft", "http")
|
||||
vim.api.nvim_buf_set_option(current_buf, "ft", "http")
|
||||
end
|
||||
|
||||
vim.cmd("au! BufRead,BufNewFile *.http setfiletype http")
|
||||
|
||||
vim.api.nvim_set_keymap('v', '<Space>j', ':\'<,\'>!jq . <CR>', { noremap = true, silent = true })
|
||||
|
||||
vim.api.nvim_create_user_command('Test', close_window_with_response, {})
|
||||
|
||||
vim.api.nvim_create_user_command('R', rest, {})
|
||||
vim.api.nvim_set_keymap("n", "<Space>rs", ':R<CR>', { noremap = true, silent = true })
|
||||
|
||||
-- custom commands
|
||||
vim.api.nvim_create_user_command('Ga', 'Git add %', {})
|
||||
vim.api.nvim_create_user_command('Gl', 'Git log -p %', {})
|
||||
vim.api.nvim_create_user_command('Gd', 'Git diff %', {})
|
94
roles/dots/files/config/rofi/themes/launchpad.rasi
Normal file
94
roles/dots/files/config/rofi/themes/launchpad.rasi
Normal file
@ -0,0 +1,94 @@
|
||||
/*******************************************************************************
|
||||
* MACOS LAUNCHPAD LIKE THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "Montserrat 9";
|
||||
|
||||
bg0: #24242480;
|
||||
bg1: #363636;
|
||||
bg2: #f5f5f520;
|
||||
bg3: #f5f5f540;
|
||||
bg4: #0860f2E6;
|
||||
|
||||
fg0: #f5f5f5;
|
||||
fg1: #f5f5f580;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
fullscreen: true;
|
||||
padding: 1em;
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @bg2;
|
||||
|
||||
margin: 0px calc( 50% - 120px );
|
||||
padding: 2px 4px;
|
||||
spacing: 4px;
|
||||
|
||||
border: 1px;
|
||||
border-radius: 2px;
|
||||
border-color: @bg3;
|
||||
|
||||
children: [icon-search,entry];
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: false;
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand: false;
|
||||
filename: "search";
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
placeholder-color: @bg2;
|
||||
}
|
||||
|
||||
listview {
|
||||
margin: 48px calc( 50% - 560px );
|
||||
spacing: 48px;
|
||||
columns: 6;
|
||||
fixed-columns: true;
|
||||
}
|
||||
|
||||
element, element-text, element-icon {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 4px;
|
||||
|
||||
orientation: vertical;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @bg4;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 4em;
|
||||
horizontal-align: 0.5;
|
||||
}
|
||||
|
||||
element-text {
|
||||
horizontal-align: 0.5;
|
||||
}
|
106
roles/dots/files/config/rofi/themes/nord-oneline.rasi
Normal file
106
roles/dots/files/config/rofi/themes/nord-oneline.rasi
Normal file
@ -0,0 +1,106 @@
|
||||
/*******************************************************************************
|
||||
* ROFI ONELINE THEME USING THE NORD COLOR PALETTE
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
* Nord Project Repo : https://github.com/arcticicestudio/nord
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "Fira Code 10";
|
||||
|
||||
nord0: #2e3440;
|
||||
nord1: #3b4252;
|
||||
nord2: #434c5e;
|
||||
nord3: #4c566a;
|
||||
|
||||
nord4: #d8dee9;
|
||||
nord5: #e5e9f0;
|
||||
nord6: #eceff4;
|
||||
|
||||
nord7: #8fbcbb;
|
||||
nord8: #88c0d0;
|
||||
nord9: #81a1c1;
|
||||
nord10: #5e81ac;
|
||||
nord11: #bf616a;
|
||||
|
||||
nord12: #d08770;
|
||||
nord13: #ebcb8b;
|
||||
nord14: #a3be8c;
|
||||
nord15: #b48ead;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @nord4;
|
||||
accent-color: @nord8;
|
||||
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
location: north;
|
||||
width: 100%;
|
||||
background-color: @nord0;
|
||||
children: [ mainbox,message ];
|
||||
}
|
||||
|
||||
mainbox {
|
||||
orientation: horizontal;
|
||||
children: [ inputbar,listview ];
|
||||
}
|
||||
|
||||
inputbar {
|
||||
width: 25%;
|
||||
padding: 1px 8px;
|
||||
spacing: 8px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt, entry, element-text, element-icon {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
listview {
|
||||
layout: horizontal;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 1px 8px;
|
||||
spacing: 4px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @nord13;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @nord0;
|
||||
}
|
||||
|
||||
element selected normal {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @nord13;
|
||||
}
|
||||
|
||||
element selected active {
|
||||
background-color: @nord8;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.75em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
101
roles/dots/files/config/rofi/themes/nord-twoLines.rasi
Normal file
101
roles/dots/files/config/rofi/themes/nord-twoLines.rasi
Normal file
@ -0,0 +1,101 @@
|
||||
/*******************************************************************************
|
||||
* ROFI TWO LINES THEME USING THE NORD COLOR PALETTE
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
* Nord Project Repo : https://github.com/arcticicestudio/nord
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "Fira Code 10";
|
||||
|
||||
nord0: #2e3440;
|
||||
nord1: #3b4252;
|
||||
nord2: #434c5e;
|
||||
nord3: #4c566a;
|
||||
|
||||
nord4: #d8dee9;
|
||||
nord5: #e5e9f0;
|
||||
nord6: #eceff4;
|
||||
|
||||
nord7: #8fbcbb;
|
||||
nord8: #88c0d0;
|
||||
nord9: #81a1c1;
|
||||
nord10: #5e81ac;
|
||||
nord11: #bf616a;
|
||||
|
||||
nord12: #d08770;
|
||||
nord13: #ebcb8b;
|
||||
nord14: #a3be8c;
|
||||
nord15: #b48ead;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @nord4;
|
||||
accent-color: @nord8;
|
||||
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: @nord0;
|
||||
|
||||
location: north;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 2px 8px;
|
||||
spacing: 8px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt, entry, element-text, element-icon {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 1;
|
||||
columns: 4;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 1px 8px;
|
||||
spacing: 4px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @nord13;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @nord0;
|
||||
}
|
||||
|
||||
element selected normal {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @nord13;
|
||||
}
|
||||
|
||||
element selected active {
|
||||
background-color: @nord8;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.75em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
105
roles/dots/files/config/rofi/themes/nord.rasi
Normal file
105
roles/dots/files/config/rofi/themes/nord.rasi
Normal file
@ -0,0 +1,105 @@
|
||||
/*******************************************************************************
|
||||
* ROFI VERTICAL THEME USING THE NORD COLOR PALETTE
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
* Nord Project Repo : https://github.com/arcticicestudio/nord
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "IBM Plex Mono 12";
|
||||
|
||||
nord0: #2e3440;
|
||||
nord1: #3b4252;
|
||||
nord2: #434c5e;
|
||||
nord3: #4c566a;
|
||||
|
||||
nord4: #d8dee9;
|
||||
nord5: #e5e9f0;
|
||||
nord6: #eceff4;
|
||||
|
||||
nord7: #8fbcbb;
|
||||
nord8: #88c0d0;
|
||||
nord9: #81a1c1;
|
||||
nord10: #5e81ac;
|
||||
nord11: #bf616a;
|
||||
|
||||
nord12: #d08770;
|
||||
nord13: #ebcb8b;
|
||||
nord14: #a3be8c;
|
||||
nord15: #b48ead;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @nord4;
|
||||
accent-color: @nord8;
|
||||
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: @nord0;
|
||||
border-color: @accent-color;
|
||||
|
||||
location: center;
|
||||
width: 480px;
|
||||
border: 1px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding: 8px 12px;
|
||||
spacing: 12px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt, entry, element-text, element-icon {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @nord13;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @nord0;
|
||||
}
|
||||
|
||||
element selected normal {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @nord13;
|
||||
}
|
||||
|
||||
element selected active {
|
||||
background-color: @nord8;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.75em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
18
roles/dots/files/config/rofi/themes/rounded-blue-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-blue-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #1A73E8F2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
93
roles/dots/files/config/rofi/themes/rounded-common.rasi
Normal file
93
roles/dots/files/config/rofi/themes/rounded-common.rasi
Normal file
@ -0,0 +1,93 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "Roboto 12";
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
spacing: 0px;
|
||||
}
|
||||
|
||||
window {
|
||||
location: center;
|
||||
width: 480;
|
||||
border-radius: 24px;
|
||||
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
background-color: @bg1;
|
||||
border-color: @bg3;
|
||||
|
||||
border: 2px;
|
||||
border-radius: 16px;
|
||||
|
||||
padding: 8px 16px;
|
||||
spacing: 8px;
|
||||
children: [ prompt, entry ];
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @fg2;
|
||||
}
|
||||
|
||||
entry {
|
||||
placeholder: "Search";
|
||||
placeholder-color: @fg3;
|
||||
}
|
||||
|
||||
message {
|
||||
margin: 12px 0 0;
|
||||
border-radius: 16px;
|
||||
border-color: @bg2;
|
||||
background-color: @bg2;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px 24px;
|
||||
}
|
||||
|
||||
listview {
|
||||
background-color: transparent;
|
||||
|
||||
margin: 12px 0 0;
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px 16px;
|
||||
spacing: 8px;
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @bg3;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @bg3;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 1em;
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
18
roles/dots/files/config/rofi/themes/rounded-gray-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-gray-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #616161F2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
18
roles/dots/files/config/rofi/themes/rounded-green-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-green-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #4CAF50F2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
22
roles/dots/files/config/rofi/themes/rounded-nord-dark.rasi
Normal file
22
roles/dots/files/config/rofi/themes/rounded-nord-dark.rasi
Normal file
@ -0,0 +1,22 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #2E3440F2;
|
||||
bg1: #3B4252;
|
||||
bg2: #4C566A80;
|
||||
bg3: #88C0D0F2;
|
||||
fg0: #D8DEE9;
|
||||
fg1: #ECEFF4;
|
||||
fg2: #D8DEE9;
|
||||
fg3: #4C566A;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
||||
|
||||
element selected {
|
||||
text-color: @bg1;
|
||||
}
|
18
roles/dots/files/config/rofi/themes/rounded-orange-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-orange-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #F57C00F2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
18
roles/dots/files/config/rofi/themes/rounded-pink-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-pink-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #EC407AF2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
18
roles/dots/files/config/rofi/themes/rounded-purple-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-purple-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #AB47BCF2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
18
roles/dots/files/config/rofi/themes/rounded-red-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-red-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #E53935F2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
18
roles/dots/files/config/rofi/themes/rounded-yellow-dark.rasi
Normal file
18
roles/dots/files/config/rofi/themes/rounded-yellow-dark.rasi
Normal file
@ -0,0 +1,18 @@
|
||||
/*******************************************************************************
|
||||
* ROUNDED THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
bg0: #212121F2;
|
||||
bg1: #2A2A2A;
|
||||
bg2: #3D3D3D80;
|
||||
bg3: #FBC02DF2;
|
||||
fg0: #E6E6E6;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #969696;
|
||||
fg3: #3D3D3D;
|
||||
}
|
||||
|
||||
@import "rounded-common.rasi"
|
111
roles/dots/files/config/rofi/themes/simple-tokyonight.rasi
Normal file
111
roles/dots/files/config/rofi/themes/simple-tokyonight.rasi
Normal file
@ -0,0 +1,111 @@
|
||||
* {
|
||||
font: "Iosevka Nerd Font Medium 11";
|
||||
|
||||
bg0 : #1a1b26;
|
||||
bg1 : #1f2335;
|
||||
bg2 : #24283b;
|
||||
bg3 : #414868;
|
||||
fg0 : #c0caf5;
|
||||
fg1 : #a9b1d6;
|
||||
fg2 : #737aa2;
|
||||
red : #f7768e;
|
||||
green : #9ece6a;
|
||||
yellow : #e0af68;
|
||||
blue : #7aa2f7;
|
||||
magenta : #9a7ecc;
|
||||
cyan : #4abaaf;
|
||||
|
||||
accent: @red;
|
||||
urgent: @yellow;
|
||||
|
||||
background-color : transparent;
|
||||
text-color : @fg0;
|
||||
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
spacing : 0;
|
||||
}
|
||||
|
||||
element-icon, element-text, scrollbar {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
window {
|
||||
location : northwest;
|
||||
width : 280px;
|
||||
x-offset : 4px;
|
||||
y-offset : 26px;
|
||||
|
||||
background-color: @bg1;
|
||||
border: 1px;
|
||||
border-color: @bg3;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
spacing : 8px;
|
||||
padding : 4px 8px;
|
||||
children : [ icon-search, entry ];
|
||||
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
icon-search, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand : false;
|
||||
filename : "search-symbolic";
|
||||
size : 14px;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding : 4px 8px;
|
||||
background-color : @bg2;
|
||||
}
|
||||
|
||||
listview {
|
||||
padding : 4px 0px;
|
||||
lines : 12;
|
||||
columns : 1;
|
||||
scrollbar : true;
|
||||
fixed-height : false;
|
||||
dynamic : true;
|
||||
}
|
||||
|
||||
element {
|
||||
padding : 4px 8px;
|
||||
spacing : 8px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color : @bg1;
|
||||
background-color : @accent;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.8em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
||||
|
||||
scrollbar {
|
||||
handle-width : 4px;
|
||||
handle-color : @fg2;
|
||||
padding : 0 4px;
|
||||
}
|
98
roles/dots/files/config/rofi/themes/spotlight-dark.rasi
Normal file
98
roles/dots/files/config/rofi/themes/spotlight-dark.rasi
Normal file
@ -0,0 +1,98 @@
|
||||
/*******************************************************************************
|
||||
* MACOS SPOTLIGHT LIKE DARK THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "Montserrat 12";
|
||||
|
||||
bg0: #242424E6;
|
||||
bg1: #7E7E7E80;
|
||||
bg2: #0860f2E6;
|
||||
|
||||
fg0: #DEDEDE;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #DEDEDE80;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: @bg0;
|
||||
|
||||
location: center;
|
||||
width: 640;
|
||||
border-radius: 8;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
font: "Montserrat 20";
|
||||
padding: 12px;
|
||||
spacing: 12px;
|
||||
children: [ icon-search, entry ];
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand: false;
|
||||
filename: "search";
|
||||
size: 28px;
|
||||
}
|
||||
|
||||
icon-search, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
entry {
|
||||
font: inherit;
|
||||
|
||||
placeholder : "Search";
|
||||
placeholder-color : @fg2;
|
||||
}
|
||||
|
||||
message {
|
||||
border: 2px 0 0;
|
||||
border-color: @bg1;
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px 24px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 10;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
border: 1px 0 0;
|
||||
border-color: @bg1;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px 16px;
|
||||
spacing: 16px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @bg2;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @bg2;
|
||||
text-color: @fg1;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 1em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
98
roles/dots/files/config/rofi/themes/spotlight.rasi
Normal file
98
roles/dots/files/config/rofi/themes/spotlight.rasi
Normal file
@ -0,0 +1,98 @@
|
||||
/*******************************************************************************
|
||||
* MACOS SPOTLIGHT LIKE THEME FOR ROFI
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "Montserrat 12";
|
||||
|
||||
bg0: #F5F5F5BF;
|
||||
bg1: #7E7E7E80;
|
||||
bg2: #0860F2E6;
|
||||
|
||||
fg0: #242424;
|
||||
fg1: #FFFFFF;
|
||||
fg2: #24242480;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
background-color: @bg0;
|
||||
|
||||
location: center;
|
||||
width: 640;
|
||||
border-radius: 8;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
font: "Montserrat 20";
|
||||
padding: 12px;
|
||||
spacing: 12px;
|
||||
children: [ icon-search, entry ];
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand: false;
|
||||
filename: "search";
|
||||
size: 28px;
|
||||
}
|
||||
|
||||
icon-search, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
entry {
|
||||
font: inherit;
|
||||
|
||||
placeholder : "Search";
|
||||
placeholder-color : @fg2;
|
||||
}
|
||||
|
||||
message {
|
||||
border: 2px 0 0;
|
||||
border-color: @bg1;
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px 24px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 10;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
border: 1px 0 0;
|
||||
border-color: @bg1;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px 16px;
|
||||
spacing: 16px;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @bg2;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @bg2;
|
||||
text-color: @fg1;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 1em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
95
roles/dots/files/config/rofi/themes/squared-everforest.rasi
Normal file
95
roles/dots/files/config/rofi/themes/squared-everforest.rasi
Normal file
@ -0,0 +1,95 @@
|
||||
/*******************************************************************************
|
||||
* ROFI SQUARED THEME USING THE EVERFOREST PALETTE
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "FiraCode Nerd Font Medium 12";
|
||||
|
||||
bg0: #2B3339;
|
||||
bg1: #323D43;
|
||||
fg0: #D3C6AA;
|
||||
|
||||
accent-color: #A7C080;
|
||||
urgent-color: #DBBC7F;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
location: center;
|
||||
width: 480;
|
||||
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
spacing: 8px;
|
||||
padding: 8px;
|
||||
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
prompt, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px;
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
listview {
|
||||
padding: 4px 0;
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
element normal normal {
|
||||
text-color: @fg0;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent-color;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @bg0;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent-color;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.8em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
@ -0,0 +1,95 @@
|
||||
/*******************************************************************************
|
||||
* ROFI SQUARED THEME USING THE MATERIAL DARKER PALETTE
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "FiraCode Nerd Font Medium 12";
|
||||
|
||||
bg0: #212121;
|
||||
bg1: #404040;
|
||||
fg0: #eeffff;
|
||||
|
||||
accent-color: #f07178;
|
||||
urgent-color: #ffcb6b;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
location: center;
|
||||
width: 480;
|
||||
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
spacing: 8px;
|
||||
padding: 8px;
|
||||
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
prompt, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px;
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
listview {
|
||||
padding: 4px 0;
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
element normal normal {
|
||||
text-color: @fg0;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent-color;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @bg0;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent-color;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.8em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
95
roles/dots/files/config/rofi/themes/squared-nord.rasi
Normal file
95
roles/dots/files/config/rofi/themes/squared-nord.rasi
Normal file
@ -0,0 +1,95 @@
|
||||
/*******************************************************************************
|
||||
* ROFI SQUARED THEME USING THE NORD PALETTE
|
||||
* User : LR-Tech
|
||||
* Theme Repo : https://github.com/lr-tech/rofi-themes-collection
|
||||
*******************************************************************************/
|
||||
|
||||
* {
|
||||
font: "FiraCode Nerd Font Medium 12";
|
||||
|
||||
bg0: #2E3440;
|
||||
bg1: #3B4252;
|
||||
fg0: #D8DEE9;
|
||||
|
||||
accent-color: #88C0D0;
|
||||
urgent-color: #EBCB8B;
|
||||
|
||||
background-color: transparent;
|
||||
text-color: @fg0;
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
spacing: 0;
|
||||
}
|
||||
|
||||
window {
|
||||
location: center;
|
||||
width: 480;
|
||||
|
||||
background-color: @bg0;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
spacing: 8px;
|
||||
padding: 8px;
|
||||
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
prompt, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
prompt {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding: 8px;
|
||||
background-color: @bg1;
|
||||
}
|
||||
|
||||
listview {
|
||||
padding: 4px 0;
|
||||
lines: 8;
|
||||
columns: 1;
|
||||
|
||||
fixed-height: false;
|
||||
}
|
||||
|
||||
element {
|
||||
padding: 8px;
|
||||
spacing: 8px;
|
||||
}
|
||||
|
||||
element normal normal {
|
||||
text-color: @fg0;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent-color;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected {
|
||||
text-color: @bg0;
|
||||
}
|
||||
|
||||
element selected normal, element selected active {
|
||||
background-color: @accent-color;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent-color;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 0.8em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
108
roles/dots/files/config/rofi/themes/windows11-grid-dark.rasi
Normal file
108
roles/dots/files/config/rofi/themes/windows11-grid-dark.rasi
Normal file
@ -0,0 +1,108 @@
|
||||
* {
|
||||
font: "Roboto 10";
|
||||
|
||||
bg0 : #1f1f1f80;
|
||||
bg1 : #202020bf;
|
||||
bg2 : #2c2c2c;
|
||||
bg3 : #393939bf;
|
||||
fg0 : #ffffff;
|
||||
fg1 : #cecece;
|
||||
accent : #60cdff;
|
||||
urgent : @accent;
|
||||
|
||||
background-color : transparent;
|
||||
text-color : @fg0;
|
||||
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
spacing : 0;
|
||||
}
|
||||
|
||||
element-icon, element-text, scrollbar {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
window {
|
||||
location : south;
|
||||
width : 600px;
|
||||
height : 600px;
|
||||
y-offset : -4px;
|
||||
|
||||
background-color : @bg1;
|
||||
border-radius : 8px;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding : 24px;
|
||||
spacing : 24px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding : 8px;
|
||||
spacing : 4px;
|
||||
children : [ icon-search, entry ];
|
||||
border : 0 0 2px 0 solid;
|
||||
border-color : @accent;
|
||||
border-radius : 2px;
|
||||
background-color : @bg0;
|
||||
}
|
||||
|
||||
icon-search, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand : false;
|
||||
filename : "search-symbolic";
|
||||
size : 24px;
|
||||
}
|
||||
|
||||
entry {
|
||||
font : "Roboto 12";
|
||||
placeholder : "Type here to search";
|
||||
placeholder-color : @fg1;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding : 4px 8px;
|
||||
background-color : @bg2;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns : 6;
|
||||
spacing : 8px;
|
||||
fixed-height : true;
|
||||
fixed-columns : true;
|
||||
}
|
||||
|
||||
element {
|
||||
orientation : vertical;
|
||||
spacing : 4px;
|
||||
padding : 8px;
|
||||
border-radius : 2px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @bg3;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 2em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color : inherit;
|
||||
horizontal-align : 0.5;
|
||||
}
|
108
roles/dots/files/config/rofi/themes/windows11-grid-light.rasi
Normal file
108
roles/dots/files/config/rofi/themes/windows11-grid-light.rasi
Normal file
@ -0,0 +1,108 @@
|
||||
* {
|
||||
font: "Roboto 10";
|
||||
|
||||
bg0 : #ffffff80;
|
||||
bg1 : #f9f9f9bf;
|
||||
bg2 : #f7f7f7;
|
||||
bg3 : #fefefebf;
|
||||
fg0 : #1a1a1a;
|
||||
fg1 : #5f5f5f;
|
||||
accent : #005fb8;
|
||||
urgent : @accent;
|
||||
|
||||
background-color : transparent;
|
||||
text-color : @fg0;
|
||||
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
spacing : 0;
|
||||
}
|
||||
|
||||
element-icon, element-text, scrollbar {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
window {
|
||||
location : south;
|
||||
width : 600px;
|
||||
height : 600px;
|
||||
y-offset : -4px;
|
||||
|
||||
background-color : @bg1;
|
||||
border-radius : 8px;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding : 24px;
|
||||
spacing : 24px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding : 8px;
|
||||
spacing : 4px;
|
||||
children : [ icon-search, entry ];
|
||||
border : 0 0 2px 0 solid;
|
||||
border-color : @accent;
|
||||
border-radius : 2px;
|
||||
background-color : @bg0;
|
||||
}
|
||||
|
||||
icon-search, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand : false;
|
||||
filename : "search-symbolic";
|
||||
size : 24px;
|
||||
}
|
||||
|
||||
entry {
|
||||
font : "Roboto 12";
|
||||
placeholder : "Type here to search";
|
||||
placeholder-color : @fg1;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding : 4px 8px;
|
||||
background-color : @bg2;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns : 6;
|
||||
spacing : 8px;
|
||||
fixed-height : true;
|
||||
fixed-columns : true;
|
||||
}
|
||||
|
||||
element {
|
||||
orientation : vertical;
|
||||
spacing : 4px;
|
||||
padding : 8px;
|
||||
border-radius : 2px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @bg3;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 2em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color : inherit;
|
||||
horizontal-align : 0.5;
|
||||
}
|
106
roles/dots/files/config/rofi/themes/windows11-list-dark.rasi
Normal file
106
roles/dots/files/config/rofi/themes/windows11-list-dark.rasi
Normal file
@ -0,0 +1,106 @@
|
||||
* {
|
||||
font: "Roboto 10";
|
||||
|
||||
bg0 : #1f1f1f80;
|
||||
bg1 : #202020bf;
|
||||
bg2 : #2c2c2c;
|
||||
bg3 : #393939bf;
|
||||
fg0 : #ffffff;
|
||||
fg1 : #cecece;
|
||||
accent : #60cdff;
|
||||
urgent : @accent;
|
||||
|
||||
background-color : transparent;
|
||||
text-color : @fg0;
|
||||
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
spacing : 0;
|
||||
}
|
||||
|
||||
element-icon, element-text, scrollbar {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
window {
|
||||
location : south;
|
||||
width : 600px;
|
||||
height : 600px;
|
||||
y-offset : -4px;
|
||||
|
||||
background-color : @bg1;
|
||||
border-radius : 8px;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding : 24px;
|
||||
spacing : 24px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding : 8px;
|
||||
spacing : 4px;
|
||||
children : [ icon-search, entry ];
|
||||
border : 0 0 2px 0 solid;
|
||||
border-color : @accent;
|
||||
border-radius : 2px;
|
||||
background-color : @bg0;
|
||||
}
|
||||
|
||||
icon-search, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand : false;
|
||||
filename : "search-symbolic";
|
||||
size : 24px;
|
||||
}
|
||||
|
||||
entry {
|
||||
font : "Roboto 12";
|
||||
placeholder : "Type here to search";
|
||||
placeholder-color : @fg1;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding : 4px 8px;
|
||||
background-color : @bg2;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns : 2;
|
||||
spacing : 8px;
|
||||
fixed-height : true;
|
||||
fixed-columns : true;
|
||||
}
|
||||
|
||||
element {
|
||||
spacing : 1em;
|
||||
padding : 8px;
|
||||
border-radius : 2px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @bg3;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 1.5em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
106
roles/dots/files/config/rofi/themes/windows11-list-light.rasi
Normal file
106
roles/dots/files/config/rofi/themes/windows11-list-light.rasi
Normal file
@ -0,0 +1,106 @@
|
||||
* {
|
||||
font: "Roboto 10";
|
||||
|
||||
bg0 : #ffffff80;
|
||||
bg1 : #f9f9f9bf;
|
||||
bg2 : #f7f7f7;
|
||||
bg3 : #fefefebf;
|
||||
fg0 : #1a1a1a;
|
||||
fg1 : #5f5f5f;
|
||||
accent : #005fb8;
|
||||
urgent : @accent;
|
||||
|
||||
background-color : transparent;
|
||||
text-color : @fg0;
|
||||
|
||||
margin : 0;
|
||||
padding : 0;
|
||||
spacing : 0;
|
||||
}
|
||||
|
||||
element-icon, element-text, scrollbar {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
window {
|
||||
location : south;
|
||||
width : 600px;
|
||||
height : 600px;
|
||||
y-offset : -4px;
|
||||
|
||||
background-color : @bg1;
|
||||
border-radius : 8px;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
padding : 24px;
|
||||
spacing : 24px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
padding : 8px;
|
||||
spacing : 4px;
|
||||
children : [ icon-search, entry ];
|
||||
border : 0 0 2px 0 solid;
|
||||
border-color : @accent;
|
||||
border-radius : 2px;
|
||||
background-color : @bg0;
|
||||
}
|
||||
|
||||
icon-search, entry, element-icon, element-text {
|
||||
vertical-align: 0.5;
|
||||
}
|
||||
|
||||
icon-search {
|
||||
expand : false;
|
||||
filename : "search-symbolic";
|
||||
size : 24px;
|
||||
}
|
||||
|
||||
entry {
|
||||
font : "Roboto 12";
|
||||
placeholder : "Type here to search";
|
||||
placeholder-color : @fg1;
|
||||
}
|
||||
|
||||
textbox {
|
||||
padding : 4px 8px;
|
||||
background-color : @bg2;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns : 2;
|
||||
spacing : 8px;
|
||||
fixed-height : true;
|
||||
fixed-columns : true;
|
||||
}
|
||||
|
||||
element {
|
||||
spacing : 1em;
|
||||
padding : 8px;
|
||||
border-radius : 2px;
|
||||
}
|
||||
|
||||
element normal urgent {
|
||||
text-color: @urgent;
|
||||
}
|
||||
|
||||
element normal active {
|
||||
text-color: @accent;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @bg3;
|
||||
}
|
||||
|
||||
element selected urgent {
|
||||
background-color: @urgent;
|
||||
}
|
||||
|
||||
element-icon {
|
||||
size: 1.5em;
|
||||
}
|
||||
|
||||
element-text {
|
||||
text-color: inherit;
|
||||
}
|
2
roles/dots/files/home/.Xresources
Normal file
2
roles/dots/files/home/.Xresources
Normal file
@ -0,0 +1,2 @@
|
||||
Xcursor.size: 24
|
||||
|
25
roles/dots/files/home/.alacritty.toml
Normal file
25
roles/dots/files/home/.alacritty.toml
Normal file
@ -0,0 +1,25 @@
|
||||
[font]
|
||||
size = 12.0
|
||||
|
||||
[font.bold]
|
||||
family = "JetBrainsMonoNl Nerd Font Mono"
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "JetBrainsMonoNl Nerd Font Mono"
|
||||
style = "Bold Italic"
|
||||
|
||||
[font.italic]
|
||||
family = "JetBrainsMonoNl Nerd Font Mono"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "JetBrainsMonoNl Nerd Font Mono"
|
||||
style = "Regular"
|
||||
|
||||
[window]
|
||||
padding = { x = 15, y = 15 }
|
||||
opacity = 0.8
|
||||
|
||||
[colors.primary]
|
||||
background = "#000000"
|
134
roles/dots/files/home/.bashrc
Normal file
134
roles/dots/files/home/.bashrc
Normal file
@ -0,0 +1,134 @@
|
||||
#
|
||||
# ~/.bashrc
|
||||
#
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
export PATH="$HOME/.config/emacs/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
alias ls='ls --color=auto'
|
||||
alias grep='grep --color=auto'
|
||||
|
||||
echo ""
|
||||
# PS1="[\w] ($(git branch 2>/dev/null | grep '^*' | colrm 1 2)) \n-> "
|
||||
PS1='[\w]$(git rev-parse --is-inside-work-tree &>/dev/null && echo " ($(git branch 2>/dev/null | grep '\''^\*'\'' | colrm 1 2))") \n-> '
|
||||
|
||||
export VISUAL=nvim
|
||||
export EDITOR="$VISUAL"
|
||||
|
||||
function tmux_create_session_with_FZF() {
|
||||
# tmux new session
|
||||
DIR=$(find /home/fs/Desktop/pet /home/fs/Desktop/tmp /home/fs/Desktop/work -maxdepth 2 -type d ! -readable -prune -o -print | fzf)
|
||||
|
||||
if [ -z "$DIR" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
DIR_NAME=$(basename "$DIR")
|
||||
CURRENT_DIR=$(echo "${DIR}" | awk -F'/' '{print $(NF-1)}')
|
||||
|
||||
SESSION_NAME="${CURRENT_DIR}/${DIR_NAME}"
|
||||
|
||||
if ! tmux has-session -t "$SESSION_NAME" 2>/dev/null; then
|
||||
tmux new-session -s "$SESSION_NAME" -c "$DIR"
|
||||
else
|
||||
tmux attach-session -t "$SESSION_NAME"
|
||||
fi
|
||||
}
|
||||
|
||||
function tmux_attach_session_FZF() {
|
||||
# tmux open exist session
|
||||
SESSION_NAME=$(tmux ls | awk '{print $1}' | sed s/:// | fzf)
|
||||
if [ -z "$SESSION_NAME" ]; then
|
||||
return
|
||||
fi
|
||||
|
||||
tmux attach-session -t "$SESSION_NAME"
|
||||
}
|
||||
|
||||
function cd_with_FZF() {
|
||||
cd $(find /home/fs/Desktop/pet /home/fs/Desktop/tmp /home/fs/Desktop/work -maxdepth 2 -type d ! -readable -prune -o -print | fzf)
|
||||
}
|
||||
|
||||
function git_checkout_FZF() {
|
||||
BRANCH_FZF_OUTPUT="$(git branch | fzf)"
|
||||
BRANCH_NAME="$(echo "$BRANCH_FZF_OUTPUT" | sed 's/ //g')"
|
||||
|
||||
git checkout "$BRANCH_NAME"
|
||||
}
|
||||
|
||||
function git_checkout_r_FZF() {
|
||||
BRANCH_FZF_OUTPUT="$(git branch -r | fzf)"
|
||||
BRANCH_NAME="$(echo "$BRANCH_FZF_OUTPUT" | sed 's/ //g')"
|
||||
NEW_BRANCH_NAME="$(echo "$BRANCH_NAME" | sed 's/origin\///g')"
|
||||
|
||||
git checkout -b "$NEW_BRANCH_NAME" "$BRANCH_NAME"
|
||||
}
|
||||
|
||||
function git_pull() {
|
||||
BRANCH_NAME="$(git branch | grep "*" | sed s/*// | sed s/\ //)"
|
||||
git pull origin "$BRANCH_NAME"
|
||||
}
|
||||
|
||||
set -o vi
|
||||
bind '"jk":"\e"'
|
||||
|
||||
# main
|
||||
alias v='nvim'
|
||||
alias s='exa -al --color=always --group-directories-first'
|
||||
alias c='clear'
|
||||
|
||||
# pyenv
|
||||
alias en='source ../../env/bin/activate'
|
||||
alias end='source env/bin/activate'
|
||||
|
||||
# docker
|
||||
alias dc='docker compose'
|
||||
alias db='docker compose exec backend bash'
|
||||
alias ds='docker compose exec backend sh'
|
||||
|
||||
# tmux
|
||||
alias tw="if ! tmux has-session -t work 2>/dev/null; then tmux new-session -s work; else tmux attach-session -t work; fi"
|
||||
alias some="if ! tmux has-session -t some 2>/dev/null; then tmux new-session -s some; else tmux attach-session -t some; fi"
|
||||
alias tn="tmux new-session -s"
|
||||
alias tl='tmux ls'
|
||||
alias tf=tmux_create_session_with_FZF
|
||||
alias ta=tmux_attach_session_FZF
|
||||
alias f=cd_with_FZF
|
||||
|
||||
# daily features
|
||||
alias fm="pcmanfm &"
|
||||
alias moc='mocp -T tty'
|
||||
alias ff3='/home/fs/Desktop/a79/env/bin/python3 /home/fs/Desktop/a79/ff3.py'
|
||||
alias bg='feh --bg-fil'
|
||||
alias em='emacsclient -t'
|
||||
alias wifi='/home/fs/bin/wifi.py'
|
||||
alias bgg='/home/fs/bin/gifwall.sh'
|
||||
|
||||
# git
|
||||
alias gdel='f() { git branch -D $(git branch | grep "$1"); }; f'
|
||||
alias gbl='git branch'
|
||||
alias gnew='git checkout -b $1'
|
||||
alias gs='git status'
|
||||
|
||||
alias gf="git fetch"
|
||||
alias gc=git_checkout_FZF
|
||||
alias gcr=git_checkout_r_FZF
|
||||
alias gpu=git_pull
|
||||
|
||||
alias gsl='git stash list'
|
||||
alias gss='git stash save'
|
||||
alias gsp='git stash pop'
|
||||
|
||||
# ============ CHEAT SHEET ============
|
||||
# Forward Tunnel: map port from remote machine/network on local machine
|
||||
# ssh -L $LOCAL_PORT:$REMOTE_IP:$REMOTE_PORT $USER@$SERVER
|
||||
|
||||
# Reverse Tunnel: make local port accessable to remote machine
|
||||
# ssh -R $REMOTE_PORT:$LOCAL_IP:$LOCAL_PORT $USER@$SERVER
|
||||
#
|
||||
|
||||
[ -f "/home/fs/.ghcup/env" ] && . "/home/fs/.ghcup/env" # ghcup-env
|
||||
|
1034
roles/dots/files/home/.emacs.d/config.org
Normal file
1034
roles/dots/files/home/.emacs.d/config.org
Normal file
File diff suppressed because it is too large
Load Diff
24
roles/dots/files/home/.emacs.d/init.el
Normal file
24
roles/dots/files/home/.emacs.d/init.el
Normal file
@ -0,0 +1,24 @@
|
||||
(org-babel-load-file
|
||||
(expand-file-name
|
||||
"config.org"
|
||||
user-emacs-directory))
|
||||
|
||||
; (custom-set-faces
|
||||
; ;; custom-set-faces was added by Custom.
|
||||
; ;; If you edit it by hand, you could mess it up, so be careful.
|
||||
; ;; Your init file should contain only one such instance.
|
||||
; ;; If there is more than one, they won't work right.
|
||||
(custom-set-variables
|
||||
;; custom-set-variables was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(custom-safe-themes
|
||||
'("3cdd0a96236a9db4e903c01cb45c0c111eb1492313a65790adb894f9f1a33b2d" "fa7caecc85dd0aaf60d4f74e42300a1a69f32efbad61fbd3ca26d0dcf6dfedd5" "88f7ee5594021c60a4a6a1c275614103de8c1435d6d08cc58882f920e0cec65e" "8d3ef5ff6273f2a552152c7febc40eabca26bae05bd12bc85062e2dc224cde9a" "9e1cf0f16477d0da814691c1b9add22d7cb34e0bb3334db7822424a449d20078" "9f297216c88ca3f47e5f10f8bd884ab24ac5bc9d884f0f23589b0a46a608fe14" "a44e2d1636a0114c5e407a748841f6723ed442dc3a0ed086542dc71b92a87aee" "e87fd8e24e82eb94d63b1a9c79abc8161d25de9f2f13b64014d3bf4b8db05e9a" "75b2a02e1e0313742f548d43003fcdc45106553af7283fb5fad74359e07fe0e2" "8f5b54bf6a36fe1c138219960dd324aad8ab1f62f543bed73ef5ad60956e36ae" "e3daa8f18440301f3e54f2093fe15f4fe951986a8628e98dcd781efbec7a46f2" "7e377879cbd60c66b88e51fad480b3ab18d60847f31c435f15f5df18bdb18184" default))
|
||||
'(package-selected-packages
|
||||
'(perfect-margin helm-swoop yaml-mode which-key websocket vterm use-package-hydra tree-sitter-langs toc-org telega sudo-edit smooth-scrolling scroll-on-jump ripgrep restclient-jq rainbow-mode projectile polymode persp-mode org-download org-bullets nyan-mode nordic-night-theme neotree magit key-chord ivy-rich helpful haskell-mode harpoon good-scroll git-gutter git-gutter+ general flycheck-pyflakes flycheck-pycheckers ewal-doom-themes evil-surround evil-snipe evil-easymotion evil-collection elpy dracula-theme doom-modeline diredfl dired-subtree dired-ranger diff-hl counsel centered-window centaur-tabs bm beacon anzu almost-mono-themes all-the-icons-dired)))
|
||||
(custom-set-faces
|
||||
;; custom-set-faces was added by Custom.
|
||||
;; If you edit it by hand, you could mess it up, so be careful.
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
48
roles/dots/files/home/.emacs.d/lan/go-cf.org
Normal file
48
roles/dots/files/home/.emacs.d/lan/go-cf.org
Normal file
@ -0,0 +1,48 @@
|
||||
gopls: официальный язык сервер для Go
|
||||
#+begin_quote
|
||||
go install golang.org/x/tools/gopls@latest
|
||||
#+end_quote
|
||||
|
||||
goimports: инструмент для автоматического форматирования и управления импортами
|
||||
#+begin_quote
|
||||
go install golang.org/x/tools/cmd/goimports@latest
|
||||
#+end_quote
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Установка и настройка lsp-mode
|
||||
(use-package lsp-mode
|
||||
:ensure t
|
||||
:commands (lsp lsp-deferred)
|
||||
:init
|
||||
(setq lsp-keymap-prefix "C-c l")
|
||||
:config
|
||||
(lsp-enable-which-key-integration t))
|
||||
|
||||
;; Установка lsp-ui для улучшенного интерфейса
|
||||
(use-package lsp-ui
|
||||
:ensure t
|
||||
:commands lsp-ui-mode)
|
||||
|
||||
;; Установка company-mode для автодополнения
|
||||
(use-package company
|
||||
:ensure t
|
||||
:config
|
||||
(setq company-minimum-prefix-length 1
|
||||
company-idle-delay 0.0)) ;; Опционально, для немедленного отображения
|
||||
|
||||
;; Настройка Go-mode
|
||||
(use-package go-mode
|
||||
:ensure t
|
||||
:hook ((go-mode . lsp-deferred)
|
||||
(before-save . lsp-format-buffer) ;; Форматирование перед сохранением
|
||||
(before-save . lsp-organize-imports)))
|
||||
|
||||
;; Форматирование кода с использованием goimports
|
||||
(setq gofmt-command "goimports")
|
||||
(add-hook 'before-save-hook 'gofmt-before-save)
|
||||
|
||||
(add-hook 'go-mode-hook #'lsp-deferred)
|
||||
|
||||
;; Дополнительные настройки для LSP с Go
|
||||
(setq lsp-go-use-gofumpt t) ;; Использовать gofumpt вместо gofmt
|
||||
#+end_src
|
27
roles/dots/files/home/.emacs.d/lan/python-cf.el
Normal file
27
roles/dots/files/home/.emacs.d/lan/python-cf.el
Normal file
@ -0,0 +1,27 @@
|
||||
(require 'use-package)
|
||||
(message "hello from python mode")
|
||||
|
||||
(add-hook 'python-mode-hook #'tree-sitter-mode +1)
|
||||
(add-hook 'python-mode-hook #'tree-sitter-hl-mode +1)
|
||||
|
||||
(use-package flycheck
|
||||
:ensure t
|
||||
:init
|
||||
(global-flycheck-mode)
|
||||
:config
|
||||
(setq-default flycheck-disabled-checkers '(lsp))
|
||||
(setq flycheck-python-flake8-executable "flake8")
|
||||
(setq flycheck-python-pylint-executable "pylint")
|
||||
(flycheck-add-next-checker 'python-flake8 'python-pylint)
|
||||
)
|
||||
|
||||
(use-package python
|
||||
:hook (python-mode . (lambda ()
|
||||
(flycheck-mode)
|
||||
)))
|
||||
|
||||
(use-package elpy
|
||||
:ensure t
|
||||
:init
|
||||
(elpy-enable))
|
||||
(add-hook 'elpy-mode-hook (lambda () (highlight-indentation-mode -1)))
|
43
roles/dots/files/home/.emacs.d/lan/python-cf.org
Normal file
43
roles/dots/files/home/.emacs.d/lan/python-cf.org
Normal file
@ -0,0 +1,43 @@
|
||||
* python
|
||||
** <s
|
||||
#+begin_src emacs-lisp
|
||||
(require 'use-package)
|
||||
(message "hello from python mode")
|
||||
#+end_src
|
||||
|
||||
|
||||
** tree-sitter
|
||||
#+begin_src emacs-lisp
|
||||
(add-hook 'python-mode-hook #'tree-sitter-mode +1)
|
||||
(add-hook 'python-mode-hook #'tree-sitter-hl-mode +1)
|
||||
#+end_src
|
||||
|
||||
** LINT
|
||||
#+begin_src emacs-lisp
|
||||
(use-package flycheck
|
||||
:ensure t
|
||||
:init
|
||||
(global-flycheck-mode)
|
||||
:config
|
||||
(setq-default flycheck-disabled-checkers '(lsp))
|
||||
(setq flycheck-python-flake8-executable "flake8")
|
||||
(setq flycheck-python-pylint-executable "pylint")
|
||||
(flycheck-add-next-checker 'python-flake8 'python-pylint)
|
||||
)
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package python
|
||||
:hook (python-mode . (lambda ()
|
||||
(flycheck-mode)
|
||||
)))
|
||||
#+end_src
|
||||
|
||||
** elpy
|
||||
#+begin_src emacs-lisp
|
||||
(use-package elpy
|
||||
:ensure t
|
||||
:init
|
||||
(elpy-enable))
|
||||
(add-hook 'elpy-mode-hook (lambda () (highlight-indentation-mode -1)))
|
||||
#+end_src
|
19
roles/dots/files/home/.gitconfig
Normal file
19
roles/dots/files/home/.gitconfig
Normal file
@ -0,0 +1,19 @@
|
||||
[user]
|
||||
email = mars6358@gmail.com
|
||||
name = Marat
|
||||
|
||||
[core]
|
||||
pager = delta
|
||||
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
|
||||
[delta]
|
||||
navigate = true # use n and N to move between diff sections
|
||||
light = false # set to true if you're in a terminal w/ a light background color (e.g. the default macOS terminal)
|
||||
|
||||
[merge]
|
||||
conflictstyle = diff3
|
||||
|
||||
[diff]
|
||||
colorMoved = default
|
690
roles/dots/files/home/.moc/config
Normal file
690
roles/dots/files/home/.moc/config
Normal file
@ -0,0 +1,690 @@
|
||||
# This is a configuration file for the MOC player. It should be named
|
||||
# 'config' and placed in the ~/.moc directory. As this file can specify
|
||||
# commands which invoke other applications, MOC will refuse to start if it
|
||||
# is not owned by either root or the current user, or if it is writable by
|
||||
# anyone other than its owner. All options are given with their default
|
||||
# values, and therefore commented.
|
||||
|
||||
# Comments begin with '#'.
|
||||
# You can use quotes and escape ('\') in parameters.
|
||||
#
|
||||
# You can have variable values substituted by enclosing the variable name
|
||||
# as "${...}". (This only applies to the portion of the option following
|
||||
# the '='.) Variables are substituted first from the environment then,
|
||||
# if not found, from the configuration options. (Note that the value of
|
||||
# a configuration option substituted is that which it has at the time the
|
||||
# substitution variable is encountered.) If there is a naming conflict
|
||||
# between an environment and configuration variable, you may be able to
|
||||
# resolve it by using lowercase as the environment variable matches are
|
||||
# case-sensitive whereas the configuration variables are not.
|
||||
#
|
||||
# You can also use the form "${...:-...}" where the value in the second
|
||||
# position will be substituted if the variable name given in the first
|
||||
# position is unset or null.
|
||||
#
|
||||
# So, for example:
|
||||
#
|
||||
# MusicDir = /music/${USER:-public}
|
||||
# Fastdir1 = ${MusicDir}/mp3/rock
|
||||
# Fastdir2 = ${MusicDir}/mp3/electronic
|
||||
# Fastdir3 = ${MusicDir}/mp3/rap
|
||||
# Fastdir4 = ${MusicDir}/mp3/etc
|
||||
#
|
||||
# Variable names are limited to those accepted by the BASH shell; that
|
||||
# is, those comprising the upper- and lowercase ASCII characters, digits
|
||||
# and the underscore.
|
||||
#
|
||||
# If you need to use the "${" sequence for any other purpose, write "$${"
|
||||
# and it will be replaced by "${" and not treated as a substitution.
|
||||
#
|
||||
# Some options take lists of strings as their values. The strings are
|
||||
# separated by colons. Additional strings can be appended to the list
|
||||
# using "+=" in place of a plain "=" to assign the value. For an example,
|
||||
# see the XTerms option.
|
||||
#
|
||||
# You can override any configuration option when you run MOC using the
|
||||
# '-O' command line option:
|
||||
#
|
||||
# mocp -O AutoNext=no -O messagelingertime=1 -O XTerms+=xxt:xwt
|
||||
#
|
||||
# This command line option can be repeated as many times as needed and
|
||||
# the configuration option name is not case sensitive. (Note that MOC
|
||||
# does not perform variable substitution on the value of such overridden
|
||||
# configuration options.) Most option values are set before the
|
||||
# configuration file is processed (which allows the new values to be
|
||||
# picked up by substitutions), however list-valued options are overridden
|
||||
# afterwards (which gives the choice of whether the configured values are
|
||||
# replaced or added to).
|
||||
|
||||
# Remember that the client and server are separate processes and the
|
||||
# server will retain the configuration values formed from the environment
|
||||
# within which it was originally started.
|
||||
|
||||
# Show file titles (title, author, album) instead of file names?
|
||||
#ReadTags = yes
|
||||
|
||||
# In which directory do you store your music files? If you specify it
|
||||
# you will be able to jump straight to this directory with the '-m'
|
||||
# parameter or the 'm' command. This can also point to a playlist.
|
||||
#
|
||||
# Example: MusicDir = "/home/joe/music"
|
||||
#
|
||||
#MusicDir =
|
||||
|
||||
# Start in the music directory by default? If set to 'no', start
|
||||
# in the current directory by default. A single directory on
|
||||
# the command line takes precedence.
|
||||
#StartInMusicDir = no
|
||||
|
||||
# How to sort? FileName is the option's only value for now.
|
||||
#Sort = FileName
|
||||
|
||||
# Show errors in the streams (for example, broken frames in MP3 files)?
|
||||
#ShowStreamErrors = no
|
||||
|
||||
# Ignore CRC errors in MP3 files? Most players do that, so the default
|
||||
# value is 'yes'.
|
||||
#MP3IgnoreCRCErrors = yes
|
||||
|
||||
# Set playback toggles.
|
||||
#Repeat = no
|
||||
#Shuffle = no
|
||||
#AutoNext = yes
|
||||
|
||||
# Default FormatString:
|
||||
#
|
||||
# %n - Track number
|
||||
# %a - Artist
|
||||
# %A - Album
|
||||
# %t - Title
|
||||
# %(X:TRUE:FALSE) - Ternary expression: if X exists, do TRUE,
|
||||
# otherwise FALSE. The escape character must
|
||||
# be doubled (i.e., '\\'). (See zshmisc
|
||||
# documentation for more information.)
|
||||
#
|
||||
#FormatString = "%(n:%n :)%(a:%a - :)%(t:%t:)%(A: \(%A\):)"
|
||||
|
||||
# Input and output buffer sizes (in kilobytes).
|
||||
#InputBuffer = 512 # Minimum value is 32KB
|
||||
#OutputBuffer = 512 # Minimum value is 128KB
|
||||
|
||||
# How much to fill the input buffer before playing (in kilobytes)?
|
||||
# This can't be greater than the value of InputBuffer. While this has
|
||||
# a positive effect for network streams, it also causes the broadcast
|
||||
# audio to be delayed.
|
||||
#Prebuffering = 64
|
||||
|
||||
# Use this HTTP proxy server for internet streams. If not set, the
|
||||
# environment variables http_proxy and ALL_PROXY will be used if present.
|
||||
#
|
||||
# Format: HTTPProxy = PROXY_NAME:PORT
|
||||
#
|
||||
#HTTPProxy =
|
||||
|
||||
# Sound driver - OSS, ALSA, JACK, SNDIO (on OpenBSD) or null (only for
|
||||
# debugging). You can enter more than one driver as a colon-separated
|
||||
# list. The first working driver will be used.
|
||||
#SoundDriver = JACK:ALSA:OSS
|
||||
|
||||
# Jack output settings.
|
||||
#JackClientName = "moc"
|
||||
#JackStartServer = no
|
||||
#JackOutLeft = "system:playback_1"
|
||||
#JackOutRight = "system:playback_2"
|
||||
|
||||
# OSS output settings.
|
||||
#OSSDevice = /dev/dsp
|
||||
#OSSMixerDevice = /dev/mixer
|
||||
#OSSMixerChannel1 = pcm # 'pcm', 'master' or 'speaker'
|
||||
#OSSMixerChannel2 = master # 'pcm', 'master' or 'speaker'
|
||||
|
||||
# ALSA output settings. If you need to dump the audio produced by MOC
|
||||
# to a file for diagnostic purposes, the following setting of 'ALSADevice'
|
||||
# should do that:
|
||||
#
|
||||
# ALSADevice=tee:hw,'/tmp/out.wav',wav
|
||||
#
|
||||
#ALSADevice = default
|
||||
#ALSAMixer1 = PCM
|
||||
#ALSAMixer2 = Master
|
||||
|
||||
# Under some circumstances on 32-bit systems, audio played continously
|
||||
# for long periods of time may begin to stutter. Setting this option to
|
||||
# 'yes' will force MOC to avoid ALSA's dmix resampling and prevent this
|
||||
# stutter. But it also has other implications:
|
||||
#
|
||||
# - You may experience unacceptably high CPU load.
|
||||
# - ALSA's resampler plug-ins will not be used.
|
||||
# - The resampling may be of lower quality than ALSA would provide.
|
||||
# - You may need to try different "ResampleMethod" option settings.
|
||||
# - The "ForceSampleRate" option may be ineffective.
|
||||
# - If libsamplerate is not configured, many audios may be unplayable.
|
||||
#
|
||||
#ALSAStutterDefeat = no
|
||||
|
||||
# Save software mixer state?
|
||||
# If enabled, a file 'softmixer' will be created in '~/.moc/' storing the
|
||||
# mixersetting set when the server is shut down.
|
||||
# Note that there is a "hidden" 'Amplification' setting in that file.
|
||||
# Amplification (0-200) is used to scale the mixer setting (0-100). This
|
||||
# results in a higher signal amplitude but may also produce clipping.
|
||||
#Softmixer_SaveState = yes
|
||||
|
||||
# Save equalizer state?
|
||||
# If enabled, a file 'equalizer' will be created in '~/.moc/' storing the
|
||||
# equalizer settings when the server is shut down.
|
||||
# Note that there is a "hidden" 'Mixin' setting in that file.
|
||||
# Mixin (0.0-1.0) is used to determine how much of the original signal is
|
||||
# used after equalizing. 0 means to only use the equalized sound, while 1
|
||||
# effectively disabled the mixer. The default is 0.25.
|
||||
#Equalizer_SaveState = yes
|
||||
|
||||
# Show files with dot at the beginning?
|
||||
#ShowHiddenFiles = no
|
||||
|
||||
# Hide file name extensions?
|
||||
#HideFileExtension = no
|
||||
|
||||
# Show file format in menu?
|
||||
#ShowFormat = yes
|
||||
|
||||
# Show file time in menu? Possible values: 'yes', 'no' and 'IfAvailable'
|
||||
# (meaning show the time only when it is already known, which often works
|
||||
# faster).
|
||||
#ShowTime = IfAvailable
|
||||
|
||||
# Show time played as a percentage in the time progress bar.
|
||||
#ShowTimePercent = no
|
||||
|
||||
# Values of the TERM environment variable which are deemed to be managed by
|
||||
# screen(1). If you are setting a specific terminal using screen(1)'s
|
||||
# '-T <term>' option, then you will need to add 'screen.<term>' to this list.
|
||||
# Note that this is only a partial test; the value of the WINDOW environment
|
||||
# variable must also be a number (which screen(1) sets).
|
||||
#ScreenTerms = screen:screen-w:vt100
|
||||
|
||||
# Values of the TERM environment variable which are deemed to be xterms. If
|
||||
# you are using MOC within screen(1) under an xterm, then add screen(1)'s
|
||||
# TERM setting here as well to cause MOC to update the xterm's title.
|
||||
#XTerms = xterm
|
||||
#XTerms += xterm-colour:xterm-color
|
||||
#XTerms += xterm-256colour:xterm-256color
|
||||
#XTerms += rxvt:rxvt-unicode
|
||||
#XTerms += rxvt-unicode-256colour:rxvt-unicode-256color
|
||||
#XTerms += eterm
|
||||
|
||||
# Theme file to use. This can be absolute path or relative to
|
||||
# /usr/share/moc/themes/ (depends on installation prefix) or
|
||||
# ~/.moc/themes/ .
|
||||
#
|
||||
# Example: Theme = laras_theme
|
||||
#
|
||||
#Theme =
|
||||
|
||||
# The theme used when running on an xterm.
|
||||
#
|
||||
# Example: XTermTheme = transparent-background
|
||||
#
|
||||
#XTermTheme =
|
||||
|
||||
# Should MOC try to autoload the default lyrics file for an audio? (The
|
||||
# default lyrics file is a text file with the same file name as the audio
|
||||
# file name with any trailing "extension" removed.)
|
||||
#AutoLoadLyrics = yes
|
||||
|
||||
# MOC directory (where pid file, socket and state files are stored).
|
||||
# You can use ~ at the beginning.
|
||||
#MOCDir = ~/.moc
|
||||
|
||||
# Use mmap() to read files. mmap() is much slower on NFS.
|
||||
#UseMMap = no
|
||||
|
||||
# Use MIME to identify audio files. This can make for slower loading
|
||||
# of playlists but is more accurate than using "extensions".
|
||||
#UseMimeMagic = no
|
||||
|
||||
# Assume this encoding for ID3 version 1/1.1 tags (MP3 files). Unlike
|
||||
# ID3v2, UTF-8 is not used here and MOC can't guess how tags are encoded.
|
||||
# Another solution is using librcc (see the next option). This option is
|
||||
# ignored if UseRCC is set to 'yes'.
|
||||
#ID3v1TagsEncoding = WINDOWS-1250
|
||||
|
||||
# Use librcc to fix ID3 version 1/1.1 tags encoding.
|
||||
#UseRCC = yes
|
||||
|
||||
# Use librcc to filenames and directory names encoding.
|
||||
#UseRCCForFilesystem = yes
|
||||
|
||||
# When this option is set the player assumes that if the encoding of
|
||||
# ID3v2 is set to ISO-8859-1 then the ID3v1TagsEncoding is actually
|
||||
# that and applies appropriate conversion.
|
||||
#EnforceTagsEncoding = no
|
||||
|
||||
# Enable the conversion of filenames from the local encoding to UTF-8.
|
||||
#FileNamesIconv = no
|
||||
|
||||
# Enable the conversion of the xterm title from UTF-8 to the local encoding.
|
||||
#NonUTFXterm = no
|
||||
|
||||
# Should MOC precache files to assist gapless playback?
|
||||
#Precache = yes
|
||||
|
||||
# Remember the playlist after exit?
|
||||
#SavePlaylist = yes
|
||||
|
||||
# When using more than one client (interface) at a time, do they share
|
||||
# the playlist?
|
||||
#SyncPlaylist = yes
|
||||
|
||||
# Choose a keymap file (relative to '~/.moc/' or using an absolute path).
|
||||
# An annotated example keymap file is included ('keymap.example').
|
||||
#
|
||||
# Example: Keymap = my_keymap
|
||||
#
|
||||
Keymap = keymap
|
||||
|
||||
# Use ASCII rather than graphic characters for drawing lines. This
|
||||
# helps on some terminals.
|
||||
#ASCIILines = no
|
||||
|
||||
# FastDirs, these allow you to jump directly to a directory, the key
|
||||
# bindings are in the keymap file.
|
||||
#
|
||||
# Examples: Fastdir1 = /mp3/rock
|
||||
# Fastdir2 = /mp3/electronic
|
||||
# Fastdir3 = /mp3/rap
|
||||
# Fastdir4 = /mp3/etc
|
||||
#
|
||||
#Fastdir1 =
|
||||
#Fastdir2 =
|
||||
#Fastdir3 =
|
||||
#Fastdir4 =
|
||||
#Fastdir5 =
|
||||
#Fastdir6 =
|
||||
#Fastdir7 =
|
||||
#Fastdir8 =
|
||||
#Fastdir9 =
|
||||
#Fastdir10 =
|
||||
|
||||
# How fast to seek (in number of seconds per keystroke). The first
|
||||
# option is for normal seek and the second for silent seek.
|
||||
#SeekTime = 1
|
||||
#SilentSeekTime = 5
|
||||
|
||||
# PreferredDecoders allows you to specify which decoder should be used
|
||||
# for any given audio format. It is a colon-separated list in which
|
||||
# each entry is of the general form 'code(decoders)', where 'code'
|
||||
# identifies the audio format and 'decoders' is a comma-separated list
|
||||
# of decoders in order of preference.
|
||||
#
|
||||
# The audio format identifier may be either a filename extension or a
|
||||
# MIME media type. If the latter, the format is 'type/subtype' (e.g.,
|
||||
# 'audio/flac'). Because different systems may give different MIME
|
||||
# media types, any 'x-' prefix of the subtype is ignored both here and
|
||||
# in the actual file MIME type (so all combinations of 'audio/flac' and
|
||||
# 'audio/x-flac' match each other).
|
||||
#
|
||||
# For Internet streams the matching is done on MIME media type and on
|
||||
# actual content. For files the matches are made on MIME media type
|
||||
# (if the 'UseMimeMagic' option is set) and on filename extension. The
|
||||
# MIME media type of a file is not determined until the first entry for
|
||||
# MIME is encountered in the list.
|
||||
#
|
||||
# The matching is done in the order of appearance in the list with any
|
||||
# entries added from the command line being matched before those listed
|
||||
# here. Therefore, if you place all filename extension entries before
|
||||
# all MIME entries you will speed up MOC's processing of directories
|
||||
# (which could be significant for remote file systems).
|
||||
#
|
||||
# The decoder list may be empty, in which case no decoders will be used
|
||||
# for files (and files with that audio format ignored) while Internet
|
||||
# streams will be assessed on the actual content. Any decoder position
|
||||
# may contain an asterisk, in which case any decoder not otherwise listed
|
||||
# which can handle the audio format will be used. It is not an error to
|
||||
# list the same decoder twice, but neither does it make sense to do so.
|
||||
#
|
||||
# If you have a mix of audio and non-audio files in your directories, you
|
||||
# may wish to include entries at top of the list which ignore non-audio
|
||||
# files by extension.
|
||||
#
|
||||
# In summary, the PreferredDecoders option provides fine control over the
|
||||
# type of matching which is performed (filename extension, MIME media
|
||||
# type and streamed media content) and which decoder(s) (if any) are used
|
||||
# based on the option's list entries and their ordering.
|
||||
#
|
||||
# Examples: aac(aac,ffmpeg) first try FAAD2 for AACs then FFmpeg
|
||||
# mp3() ignore MP3 files
|
||||
# wav(*,sndfile) use sndfile for WAV as a last resort
|
||||
# ogg(vorbis,*):flac(flac,*) try Xiph decoders first
|
||||
# ogg():audio/ogg() ignore OGG files, and
|
||||
# force Internet selection by content
|
||||
# gz():html() ignore some non-audio files
|
||||
#
|
||||
# Any unspecified audio formats default to trying all decoders.
|
||||
# Any unknown (or misspelt) drivers are ignored.
|
||||
# All names are case insensitive.
|
||||
# The default setting reflects the historical situation modified by
|
||||
# the experience of users.
|
||||
#
|
||||
#PreferredDecoders = aac(aac,ffmpeg):m4a(ffmpeg)
|
||||
#PreferredDecoders += mpc(musepack,*,ffmpeg):mpc8(musepack,*,ffmpeg)
|
||||
#PreferredDecoders += sid(sidplay2):mus(sidplay2)
|
||||
#PreferredDecoders += wav(sndfile,*,ffmpeg)
|
||||
#PreferredDecoders += wv(wavpack,*,ffmpeg)
|
||||
#PreferredDecoders += audio/aac(aac):audio/aacp(aac):audio/m4a(ffmpeg)
|
||||
#PreferredDecoders += audio/wav(sndfile,*)
|
||||
|
||||
# The following PreferredDecoders attempt to handle the ambiguity surrounding
|
||||
# container types such as OGG for files. The first two entries will force
|
||||
# a local file to the correct decoder (assuming the .ogg file contains Vorbis
|
||||
# audio), while the MIME media types will cause Internet audio streams to
|
||||
# be assessed on content (which may be either Vorbis or Speex).
|
||||
#
|
||||
#PreferredDecoders += ogg(vorbis,ffmpeg):oga(vorbis,ffmpeg):ogv(ffmpeg)
|
||||
#PreferredDecoders += opus(ffmpeg)
|
||||
#PreferredDecoders += spx(speex)
|
||||
#PreferredDecoders += application/ogg(vorbis):audio/ogg(vorbis)
|
||||
|
||||
# Which resampling method to use. There are a few methods of resampling
|
||||
# sound supported by libresamplerate. The default is 'Linear') which is
|
||||
# also the fastest. A better description can be found at:
|
||||
#
|
||||
# http://www.mega-nerd.com/libsamplerate/api_misc.html#Converters
|
||||
#
|
||||
# but briefly, the following methods are based on bandlimited interpolation
|
||||
# and are higher quality, but also slower:
|
||||
#
|
||||
# SincBestQuality - really slow (I know you probably have an xx GHz
|
||||
# processor, but it's still not enough to not see
|
||||
# this in the top output :) The worst case
|
||||
# Signal-to-Noise Ratio is 97dB.
|
||||
# SincMediumQuality - much faster.
|
||||
# SincFastest - the fastest bandlimited interpolation.
|
||||
#
|
||||
# And these are lower quality, but much faster methods:
|
||||
#
|
||||
# ZeroOrderHold - really poor quality, but it's really fast.
|
||||
# Linear - a bit better and a bit slower.
|
||||
#
|
||||
#ResampleMethod = Linear
|
||||
|
||||
# Always use this sample rate (in Hz) when opening the audio device (and
|
||||
# resample the sound if necessary). When set to 0 the device is opened
|
||||
# with the file's rate.
|
||||
#ForceSampleRate = 0
|
||||
|
||||
# By default, even if the sound card reports that it can output 24bit samples
|
||||
# MOC converts 24bit PCM to 16bit. Setting this option to 'yes' allows MOC
|
||||
# to use 24bit output. (The MP3 decoder, for example, uses this format.)
|
||||
# This is disabled by default because there were reports that it prevents
|
||||
# MP3 files from playing on some soundcards.
|
||||
#Allow24bitOutput = no
|
||||
|
||||
# Use realtime priority for output buffer thread. This will prevent gaps
|
||||
# while playing even with heavy load. The user who runs MOC must have
|
||||
# permissions to set such a priority. This could be dangerous, because it
|
||||
# is possible that a bug in MOC will freeze your computer.
|
||||
#UseRealtimePriority = no
|
||||
|
||||
# The number of audio files for which MOC will cache tags. When this limit
|
||||
# is reached, file tags are discarded on a least recently used basis (with
|
||||
# one second resolution). You can disable the cache by giving it a size of
|
||||
# zero. Note that if you decrease the cache size below the number of items
|
||||
# currently in the cache, the number will not decrease immediately (if at
|
||||
# all).
|
||||
#TagsCacheSize = 256
|
||||
|
||||
# Number items in the playlist.
|
||||
#PlaylistNumbering = yes
|
||||
|
||||
# Main window layouts can be configured. You can change the position and
|
||||
# size of the menus (directory and playlist). You have three layouts and
|
||||
# can switch between then using the 'l' key (standard mapping). By default,
|
||||
# only two layouts are configured.
|
||||
#
|
||||
# The format is as follows:
|
||||
#
|
||||
# - Each layout is described as a list of menu entries.
|
||||
# - Each menu entry is of the form:
|
||||
#
|
||||
# menu(position_x, position_y, width, height)
|
||||
#
|
||||
# where 'menu' is either 'directory' or 'playlist'.
|
||||
# - The parameters define position and size of the menu. They can
|
||||
# be absolute numbers (like 10) or a percentage of the screen size
|
||||
# (like 45%).
|
||||
# - 'width' and 'height' can have also value of 'FILL' which means
|
||||
# fill the screen from the menu's position to the border.
|
||||
# - Menus may overlap.
|
||||
#
|
||||
# You must describe at least one menu (default is to fill the whole window).
|
||||
# There must be at least one layout (Layout1) defined; others can be empty.
|
||||
#
|
||||
# Example: Layout1 = playlist(50%,50%,50%,50%)
|
||||
# Layout2 = ""
|
||||
# Layout3 = ""
|
||||
#
|
||||
# Just one layout, the directory will occupy the whole
|
||||
# screen, the playlist will have 1/4 of the screen size
|
||||
# and be positioned at lower right corner. (Note that
|
||||
# because the playlist will be hidden by the directory
|
||||
# you will have to use the TAB key to make the playlist
|
||||
# visible.)
|
||||
#
|
||||
# Example: Layout1 = playlist(0,0,100%,10):directory(0,10,100%,FILL)
|
||||
#
|
||||
# The screen is split into two parts: playlist at the top
|
||||
# and the directory menu at the bottom. Playlist will
|
||||
# occupy 10 lines and the directory menu the rest.
|
||||
#
|
||||
#Layout1 = directory(0,0,50%,100%):playlist(50%,0,FILL,100%)
|
||||
#Layout2 = directory(0,0,100%,100%):playlist(0,0,100%,100%)
|
||||
#Layout3 = ""
|
||||
|
||||
# When the song changes, should the menu be scrolled so that the currently
|
||||
# played file is visible?
|
||||
#FollowPlayedFile = yes
|
||||
|
||||
# What to do if the interface was started and the server is already playing
|
||||
# something from the playlist? If CanStartInPlaylist is set to 'yes', the
|
||||
# interface will switch to the playlist. When set to 'no' it will start
|
||||
# from the last directory.
|
||||
#CanStartInPlaylist = yes
|
||||
|
||||
# Executing external commands (1 - 10) invoked with key commands (F1 - F10
|
||||
# by default).
|
||||
#
|
||||
# Some arguments are substituted before executing:
|
||||
#
|
||||
# %f - file path
|
||||
# %i - title made from tags
|
||||
# %S - start block mark (in seconds)
|
||||
# %E - end block mark (in seconds)
|
||||
#
|
||||
# Data from tags can also be substituted:
|
||||
#
|
||||
# %t - title
|
||||
# %a - album
|
||||
# %r - artist
|
||||
# %n - track
|
||||
# %m - time of the file (in seconds)
|
||||
#
|
||||
# The parameters above apply to the currently selected file. If you change
|
||||
# them to capital letters, they are taken from the file currently playing.
|
||||
#
|
||||
# Programs are run using execv(), not a shell, so you can't do things like
|
||||
# redirecting the output to a file. The command string is split using blank
|
||||
# characters as separators; the first element is the command to be executed
|
||||
# and the rest are its parameters, so if you use "echo Playing: %I" we run
|
||||
# program 'echo' (from $PATH) with 2 parameters: the string 'Playing:' and
|
||||
# the title of the file currently playing. Even if the title contains
|
||||
# spaces, it's still one parameter and it's safe if it contains `rm -rf /`.
|
||||
#
|
||||
# Examples: ExecCommand1 = "cp %f /mnt/usb_drive"
|
||||
# ExecCommand2 = "/home/joe/now_playing %I"
|
||||
#
|
||||
#ExecCommand1 =
|
||||
#ExecCommand2 =
|
||||
#ExecCommand3 =
|
||||
#ExecCommand4 =
|
||||
#ExecCommand5 =
|
||||
#ExecCommand6 =
|
||||
#ExecCommand7 =
|
||||
#ExecCommand8 =
|
||||
#ExecCommand9 =
|
||||
#ExecCommand10 =
|
||||
|
||||
# Display the cursor in the line with the selected file. Some braille
|
||||
# readers (the Handy Tech modular series ZMU 737, for example) use the
|
||||
# cursor to focus and can make use of it to present the file line even
|
||||
# when other fields are changing.
|
||||
#UseCursorSelection = no
|
||||
|
||||
# Set the terminal title when running under xterm.
|
||||
#SetXtermTitle = yes
|
||||
|
||||
# Set the terminal title when running under screen(1). If MOC can detect
|
||||
# that it is running under screen(1), then it will set an appropriate
|
||||
# title (see description of ScreenTerms above). However, if multiple
|
||||
# levels of screen management are involved, detection might fail and this
|
||||
# could cause a screen upset. In that situation you can use this option
|
||||
# to force screen titles off.
|
||||
#SetScreenTitle = yes
|
||||
|
||||
# Display full paths instead of just file names in the playlist.
|
||||
#PlaylistFullPaths = yes
|
||||
|
||||
# The following setting describes how block markers are displayed in
|
||||
# the play time progress bar. Its value is a string of exactly three
|
||||
# characters. The first character is displayed in a position which
|
||||
# corresponds to the time marked as the start of a block and the last
|
||||
# character to the time marked as the end of the block. The middle
|
||||
# character is displayed instead if both the start and the end of the block
|
||||
# would fall in the same position (within the resolution of the interface).
|
||||
# You can turn off the displaying of these block marker positions by using
|
||||
# three space characters.
|
||||
#BlockDecorators = "`\"'"
|
||||
|
||||
# How long (in seconds) to leave a message displayed on the screen.
|
||||
# Setting this to a high value allows you to scroll through the messages
|
||||
# using the 'hide_message' key. Setting it to zero means you'll have to
|
||||
# be quick to see any message at all. Any new messages will be queued up
|
||||
# and displayed after the current message's linger time expires.
|
||||
#MessageLingerTime = 3
|
||||
|
||||
# Does MOC display a prefix on delayed messages indicating
|
||||
# the number of queued messages still to be displayed?
|
||||
#PrefixQueuedMessages = yes
|
||||
|
||||
# String to append to the queued message count if any
|
||||
# error messages are still waiting to be displayed.
|
||||
#ErrorMessagesQueued = "!"
|
||||
|
||||
# Self-describing ModPlug options (with 'yes' or 'no' values).
|
||||
#ModPlug_Oversampling = yes
|
||||
#ModPlug_NoiseReduction = yes
|
||||
#ModPlug_Reverb = no
|
||||
#ModPlug_MegaBass = no
|
||||
#ModPlug_Surround = no
|
||||
|
||||
# ModPlug resampling mode.
|
||||
# Valid values are:
|
||||
#
|
||||
# FIR - 8 tap fir filter (extremely high quality)
|
||||
# SPLINE - Cubic spline interpolation (high quality)
|
||||
# LINEAR - Linear interpolation (fast, good quality)
|
||||
# NEAREST - No interpolation (very fast, extremely bad sound quality)
|
||||
#
|
||||
#ModPlug_ResamplingMode = FIR
|
||||
|
||||
# Other self-describing ModPlug audio characteristic options.
|
||||
# (Note that the 32 bit sample size seems to be buggy.)
|
||||
#ModPlug_Channels = 2 # 1 or 2 channels
|
||||
#ModPlug_Bits = 16 # 8, 16 or 32 bits
|
||||
#ModPlug_Frequency = 44100 # 11025, 22050, 44100 or 48000 Hz
|
||||
#ModPlug_ReverbDepth = 0 # 0 (quiet) to 100 (loud)
|
||||
#ModPlug_ReverbDelay = 0 # Delay in ms (usually 40-200ms)
|
||||
#ModPlug_BassAmount = 0 # 0 (quiet) to 100 (loud).
|
||||
#ModPlug_BassRange = 10 # Cutoff in Hz (10-100).
|
||||
#ModPlug_SurroundDepth = 0 # Surround level 0(quiet)-100(heavy).
|
||||
#ModPlug_SurroundDelay = 0 # Surround delay in ms, usually 5-40ms.
|
||||
#ModPlug_LoopCount = 0 # 0 (never), n (times) or -1 (forever)
|
||||
|
||||
# Self-describing TiMidity audio characteristic options.
|
||||
#TiMidity_Rate = 44100 # Between 8000 and 48000
|
||||
#TiMidity_Bits = 16 # 8 or 16
|
||||
#TiMidity_Channels = 2 # 1 or 2
|
||||
#TiMidity_Volume = 100 # 0 to 800
|
||||
|
||||
# You can setup a TiMidity-Config-File here.
|
||||
# Leave it unset to use library defaults (/etc/timidity.cfg mostly).
|
||||
# Setting it to 'yes' also uses the library defaults.
|
||||
# Set it to 'no' if you don't have any configuration file.
|
||||
# Otherwise set it to the name of a specific file.
|
||||
#TiMidity_Config =
|
||||
|
||||
# Self-describing SidPlay2 audio characteristic options.
|
||||
#SidPlay2_DefaultSongLength = 180 # If not in database (in seconds)
|
||||
#SidPlay2_MinimumSongLength = 0 # Play at least n (in seconds)
|
||||
#SidPlay2_Frequency = 44100 # 4000 to 48000
|
||||
#SidPlay2_Bits = 16 # 8 or 16
|
||||
#SidPlay2_Optimisation = 0 # 0 (worst quality) to 2 (best quality)
|
||||
|
||||
# Set path to a HVSC-compatible database (if not set, database is disabled).
|
||||
#SidPlay2_Database =
|
||||
|
||||
# SidPlay2 playback Mode:
|
||||
#
|
||||
# "M": Mono (best for many SIDs)
|
||||
# "S": Stereo
|
||||
# "L"/"R": Left / Right
|
||||
#
|
||||
#SidPlay2_PlayMode = "M"
|
||||
|
||||
# Use start-song information from SID ('yes') or start at first song
|
||||
# ('no'). Songs before the start-song won't be played. (Note that this
|
||||
# option previously took the values 1 and 0; these are now deprecated
|
||||
# in favour of 'yes' and 'no'.)
|
||||
#SidPlay2_StartAtStart = yes
|
||||
|
||||
# Play sub-tunes. (Note that this option previously took the values 1
|
||||
# and 0; these are now deprecated in favour of 'yes' and 'no'.)
|
||||
#SidPlay2_PlaySubTunes = yes
|
||||
|
||||
# Run the OnSongChange command when a new song starts playing.
|
||||
# Specify the full path (i.e. no leading '~') of an executable to run.
|
||||
# Arguments will be passed, and you can use the following escapes:
|
||||
#
|
||||
# %a artist
|
||||
# %r album
|
||||
# %f filename
|
||||
# %t title
|
||||
# %n track
|
||||
# %d file duration in XX:YY form
|
||||
# %D file duration, number of seconds
|
||||
#
|
||||
# No pipes/redirects can be used directly, but writing a shell script
|
||||
# can do the job.
|
||||
#
|
||||
# Example: OnSongChange = "/home/jack/.moc/myscript %a %r"
|
||||
#
|
||||
#OnSongChange =
|
||||
|
||||
# If RepeatSongChange is 'yes' then MOC will execute the command every time
|
||||
# a song starts playing regardless of whether or not it is just repeating.
|
||||
# Otherwise the command will only be executed when a different song is
|
||||
# started.
|
||||
#RepeatSongChange = no
|
||||
|
||||
# Run the OnStop command (full path, no arguments) when MOC changes state
|
||||
# to stopped (i.e., when user stopped playing or changes a song).
|
||||
#OnStop = "/home/jack/.moc/myscript_on_stop"
|
||||
|
||||
# This option determines which song to play after finishing all the songs
|
||||
# in the queue. Setting this to 'yes' causes MOC to play the song which
|
||||
# follows the song being played before queue playing started. If set to
|
||||
# 'no', MOC will play the song following the last song in the queue if it
|
||||
# is in the playlist. The default is 'yes' because this is the way other
|
||||
# players usually behave. (Note that this option previously took the
|
||||
# values 1 and 0; these are now deprecated in favour of 'yes' and 'no'.)
|
||||
#QueueNextSongReturn = yes
|
2
roles/dots/files/home/.moc/equalizer
Normal file
2
roles/dots/files/home/.moc/equalizer
Normal file
@ -0,0 +1,2 @@
|
||||
Active: 1
|
||||
Mixin: 0.250000
|
188
roles/dots/files/home/.moc/keymap
Normal file
188
roles/dots/files/home/.moc/keymap
Normal file
@ -0,0 +1,188 @@
|
||||
# This is the example keymap file for MOC. You can define your own key
|
||||
# bindings for MOC commands by creating your own keymap file and setting
|
||||
# the 'Keymap' option in ~/.moc/config.
|
||||
#
|
||||
# The format of this file is:
|
||||
#
|
||||
# - Lines beginning with # are comments.
|
||||
# - Blank lines are ignored.
|
||||
# - Every other line is expected to be in one of the formats:
|
||||
#
|
||||
# COMMAND = [KEY ...]
|
||||
# COMMAND += KEY ...
|
||||
#
|
||||
# The KEY can be:
|
||||
#
|
||||
# - Just a char, like i, L, ", *
|
||||
# - CTRL-KEY sequence: ^k (CTRL-k), ^4
|
||||
# - ALT-KEY (meta) sequence: M-j (ALT-j), M-/
|
||||
# - Special keys: DOWN, UP
|
||||
# LEFT, RIGHT
|
||||
# HOME, END
|
||||
# BACKSPACE
|
||||
# INS, DEL
|
||||
# ENTER
|
||||
# PAGE_UP, PAGE_DOWN
|
||||
# SPACE, TAB
|
||||
# KEYPAD_CENTER
|
||||
# ESCAPE
|
||||
# F1 - F12
|
||||
#
|
||||
# Note that the use of a digit as a KEY is deprecated.
|
||||
#
|
||||
# Maximum number of KEYs for one COMMAND is 5.
|
||||
#
|
||||
# Omitting the KEY for a COMMAND will unbind all its default keys. They
|
||||
# will also be automatically unbound when you bind new KEYs to it. Individual
|
||||
# default KEYs will be automatically unbound when they are explicitly bound
|
||||
# to some other COMMAND.
|
||||
#
|
||||
# Using the '+=' form will cause the KEYs to be appended to any existing
|
||||
# (default or explicit) bindings for the COMMAND. Appending an existing
|
||||
# default binding for the same COMMAND will cause MOC to think of that KEY
|
||||
# as then being explicitly bound.
|
||||
#
|
||||
# Only one binding for any given COMMAND can appear in the keymap file. One
|
||||
# exception to this is that if the default keys for a COMMAND are explicitly
|
||||
# unbound then a subsequent binding may appear for it. A second exception
|
||||
# is that multiple appending bindings may appear.
|
||||
#
|
||||
# Meta-key detection is sensitive to the ESCDELAY environment variable (see
|
||||
# the manpage for ncurses(3)). In its absence, MOC resets the default
|
||||
# delay to 25ms. If you need to emulate meta-key sequences using the ESC
|
||||
# key, then you may need to set the value of ESCDELAY back to its ncurses
|
||||
# default of 1000ms (but doing so will make the response to the ESC key
|
||||
# sluggish).
|
||||
#
|
||||
# If MOC's keypresses are being filtered through some other program (in a
|
||||
# GUI environment, for example) which also does meta-key detection, then
|
||||
# MOC is at the mercy of the timings with which that program presents them.
|
||||
#
|
||||
# Default key configuration for MOC (and a list of all available commands):
|
||||
|
||||
# MOC control keys:
|
||||
quit_client = q
|
||||
quit = Q
|
||||
|
||||
# Menu and interface control keys:
|
||||
go = ENTER
|
||||
menu_down = j
|
||||
menu_up = k
|
||||
menu_page_down = ^d
|
||||
menu_page_up = ^u
|
||||
menu_first_item = HOME
|
||||
menu_last_item = END
|
||||
search_menu = g /
|
||||
toggle_read_tags = f
|
||||
toggle_show_time = ^t
|
||||
toggle_show_format = ^f
|
||||
toggle_menu = TAB
|
||||
toggle_layout = l
|
||||
toggle_hidden_files = H
|
||||
next_search = ^g ^n
|
||||
show_lyrics = L
|
||||
theme_menu = T
|
||||
help = h ?
|
||||
refresh = ^r
|
||||
reload = r
|
||||
|
||||
# Audio playing and positioning keys:
|
||||
seek_forward = RIGHT
|
||||
seek_backward = LEFT
|
||||
seek_forward_fast = ]
|
||||
seek_backward_fast = [
|
||||
pause = p SPACE
|
||||
stop = s
|
||||
next = n
|
||||
previous = b
|
||||
toggle_shuffle = S
|
||||
toggle_repeat = R
|
||||
toggle_auto_next = X
|
||||
toggle_mixer = x
|
||||
go_url = o
|
||||
|
||||
# Volume control keys:
|
||||
volume_down_1 =
|
||||
volume_up_1 =
|
||||
volume_down_5 =
|
||||
volume_up_5 =
|
||||
volume_10 =
|
||||
volume_20 =
|
||||
volume_30 =
|
||||
volume_40 =
|
||||
volume_50 =
|
||||
volume_60 =
|
||||
volume_70 =
|
||||
volume_80 =
|
||||
volume_90 =
|
||||
|
||||
# Directory navigation keys: defaults are Shift-number
|
||||
# (i.e., 'shift 1' -> '!' -> 'Fastdir1').
|
||||
go_to_a_directory = i
|
||||
go_to_music_directory = m
|
||||
go_to_fast_dir1 = !
|
||||
go_to_fast_dir2 = @
|
||||
go_to_fast_dir3 = #
|
||||
go_to_fast_dir4 = $
|
||||
go_to_fast_dir5 = %
|
||||
go_to_fast_dir6 = ^
|
||||
go_to_fast_dir7 = &
|
||||
go_to_fast_dir8 = *
|
||||
go_to_fast_dir9 = (
|
||||
go_to_fast_dir10 = )
|
||||
go_to_playing_file = G
|
||||
go_up = U
|
||||
|
||||
# Playlist specific keys:
|
||||
add_file = a
|
||||
add_directory = A
|
||||
plist_add_stream =
|
||||
delete_from_playlist = d
|
||||
playlist_full_paths =
|
||||
plist_move_up =
|
||||
plist_move_down =
|
||||
save_playlist = w
|
||||
remove_dead_entries =
|
||||
clear_playlist = D
|
||||
|
||||
# Queue manipulation keys:
|
||||
enqueue_file = z
|
||||
clear_queue = Z
|
||||
|
||||
# User interaction control:
|
||||
history_up =
|
||||
history_down =
|
||||
delete_to_start =
|
||||
delete_to_end =
|
||||
cancel =
|
||||
hide_message =
|
||||
|
||||
# Softmixer specific keys:
|
||||
toggle_softmixer =
|
||||
toggle_make_mono =
|
||||
|
||||
# Equalizer specific keys:
|
||||
toggle_equalizer =
|
||||
equalizer_refresh =
|
||||
equalizer_prev =
|
||||
equalizer_next =
|
||||
|
||||
# External commands:
|
||||
mark_start = '
|
||||
mark_end = "
|
||||
exec_command1 = F1
|
||||
exec_command2 = F2
|
||||
exec_command3 = F3
|
||||
exec_command4 = F4
|
||||
exec_command5 = F5
|
||||
exec_command6 = F6
|
||||
exec_command7 = F7
|
||||
exec_command8 = F8
|
||||
exec_command9 = F9
|
||||
exec_command10 = F10
|
||||
|
||||
# The following commands are available but not assigned to any keys by
|
||||
# default:
|
||||
#
|
||||
# toggle_percent Switch on/off play progress bar time percentage
|
||||
#
|
1
roles/dots/files/home/.moc/last_directory
Normal file
1
roles/dots/files/home/.moc/last_directory
Normal file
@ -0,0 +1 @@
|
||||
/home/fs/Music/8/anime_music
|
1
roles/dots/files/home/.moc/pid
Normal file
1
roles/dots/files/home/.moc/pid
Normal file
@ -0,0 +1 @@
|
||||
16111
|
40
roles/dots/files/home/.moc/playlist.m3u
Normal file
40
roles/dots/files/home/.moc/playlist.m3u
Normal file
@ -0,0 +1,40 @@
|
||||
#EXTM3U
|
||||
#MOCSERIAL: 1280
|
||||
#EXTINF:90,Cleo-chan feat. Blaze - Rapture (Juuni Taisen RUS OP)
|
||||
/home/fs/Music/8/anime_music/onsa_media+/Cleo-chan feat. Blaze - Rapture (Juuni Taisen RUS OP).mp3
|
||||
#EXTINF:318,/home/fs/Music/8/anime_music/onsa_media+/[Mobile Suit Gundam SEED на русском] Akatsuki no Kuruma [Onsa Media]-LmVyoxEbiZQ.m4a
|
||||
/home/fs/Music/8/anime_music/onsa_media+/[Mobile Suit Gundam SEED на русском] Akatsuki no Kuruma [Onsa Media]-LmVyoxEbiZQ.m4a
|
||||
#EXTINF:211,/home/fs/Music/8/anime_music/onsa_media+/[Natsuton на русском] Pre-Romance [Onsa Media] [Bqa3uj7IhuU].mp3
|
||||
/home/fs/Music/8/anime_music/onsa_media+/[Natsuton на русском] Pre-Romance [Onsa Media] [Bqa3uj7IhuU].mp3
|
||||
#EXTINF:297,/home/fs/Music/8/anime_music/onsa_media+/[Steins;Gate на русском] Yakusoku no Paradigm [Onsa Media]-HMrJ7mkgsM4.mp3.mp3
|
||||
/home/fs/Music/8/anime_music/onsa_media+/[Steins;Gate на русском] Yakusoku no Paradigm [Onsa Media]-HMrJ7mkgsM4.mp3.mp3
|
||||
#EXTINF:271,/home/fs/Music/8/anime_music/onsa_media+/[Summertime Render на русском] Natsuyume Noisy [Onsa Media]-Sl8GyTV49_M.m4a
|
||||
/home/fs/Music/8/anime_music/onsa_media+/[Summertime Render на русском] Natsuyume Noisy [Onsa Media]-Sl8GyTV49_M.m4a
|
||||
#EXTINF:314,/home/fs/Music/8/anime_music/onsa_media+/[Sword Art Online: Alicization на русском] unlasting [Onsa Media] [9jGCbtJlHxw].mp3
|
||||
/home/fs/Music/8/anime_music/onsa_media+/[Sword Art Online: Alicization на русском] unlasting [Onsa Media] [9jGCbtJlHxw].mp3
|
||||
#EXTINF:279,/home/fs/Music/8/anime_music/onsa_media+/[Оригинальная песня] Мой ангел [Onsa Media]-K70iJ3ep5kc.opus.mp3
|
||||
/home/fs/Music/8/anime_music/onsa_media+/[Оригинальная песня] Мой ангел [Onsa Media]-K70iJ3ep5kc.opus.mp3
|
||||
#EXTINF:208,/home/fs/Music/8/anime_music/Op-rus-cover/Arslan Senki Fuujin Ranbu OP Сказание об Арслане 2 опенинг 2 (Marie Bibika Russian Full-Version).mp3
|
||||
/home/fs/Music/8/anime_music/Op-rus-cover/Arslan Senki Fuujin Ranbu OP Сказание об Арслане 2 опенинг 2 (Marie Bibika Russian Full-Version).mp3
|
||||
#EXTINF:124,/home/fs/Music/8/anime_music/Op-rus-cover/D.Hray-man.mp3
|
||||
/home/fs/Music/8/anime_music/Op-rus-cover/D.Hray-man.mp3
|
||||
#EXTINF:388,/home/fs/Music/8/anime_music/sati/Harmony Team - [Cat] I'm glad you're evil too (RUS).mp3.mp3
|
||||
/home/fs/Music/8/anime_music/sati/Harmony Team - [Cat] I'm glad you're evil too (RUS).mp3.mp3
|
||||
#EXTINF:163,/home/fs/Music/8/anime_music/sati/[Shigatsu wa Kimi no Uso ED1 RUS] Kirameki (Cover by Sati Akura) [RoFNK2xl7z4].mp3.mp3
|
||||
/home/fs/Music/8/anime_music/sati/[Shigatsu wa Kimi no Uso ED1 RUS] Kirameki (Cover by Sati Akura) [RoFNK2xl7z4].mp3.mp3
|
||||
#EXTINF:352,/home/fs/Music/8/anime_music/sati/[Shigatsu wa Kimi no Uso ED2 FULL] orange (Cover by Sati Akura)-osXEe2F5dJw.mp3.mp3
|
||||
/home/fs/Music/8/anime_music/sati/[Shigatsu wa Kimi no Uso ED2 FULL] orange (Cover by Sati Akura)-osXEe2F5dJw.mp3.mp3
|
||||
#EXTINF:102,/home/fs/Music/8/anime_music/NEW/Another Infinity feat. Mayumi Morinaga - Glitter (Fairy Tail ED 11) rus cover by Sabi-tyan [YM24aDn5mcI].mp3
|
||||
/home/fs/Music/8/anime_music/NEW/Another Infinity feat. Mayumi Morinaga - Glitter (Fairy Tail ED 11) rus cover by Sabi-tyan [YM24aDn5mcI].mp3
|
||||
#EXTINF:304,/home/fs/Music/8/anime_music/NEW/[Gundam SEED на русском] Akatsuki no Kuruma [поет ElliMarshmallow] [rPeqxrrltBs].mp3
|
||||
/home/fs/Music/8/anime_music/NEW/[Gundam SEED на русском] Akatsuki no Kuruma [поет ElliMarshmallow] [rPeqxrrltBs].mp3
|
||||
#EXTINF:334,/home/fs/Music/8/anime_music/NEW/Gray and Blue - Soraru × Mafumafu [7y3DwuVxDq4].m4a
|
||||
/home/fs/Music/8/anime_music/NEW/Gray and Blue - Soraru × Mafumafu [7y3DwuVxDq4].m4a
|
||||
#EXTINF:95,/home/fs/Music/8/anime_music/NEW/[Hono] Hacking to the Gate {RUSSIAN cover by Radiant Records} ⧸ Steins;Gate [OhOCtITjUPs].mp3
|
||||
/home/fs/Music/8/anime_music/NEW/[Hono] Hacking to the Gate {RUSSIAN cover by Radiant Records} ⧸ Steins;Gate [OhOCtITjUPs].mp3
|
||||
#EXTINF:274,/home/fs/Music/8/anime_music/NEW/Rain · Fullmetal Alchemist Brotherhood на русском 【SleepingForest】 [9SoFpPtqrIE].mp3
|
||||
/home/fs/Music/8/anime_music/NEW/Rain · Fullmetal Alchemist Brotherhood на русском 【SleepingForest】 [9SoFpPtqrIE].mp3
|
||||
#EXTINF:218,/home/fs/Music/8/anime_music/Marie Bibika/Fairy Tail ED 18 [Don't let me down] русский кавер от Marie Bibika [8OOQzdztTXE].mp3
|
||||
/home/fs/Music/8/anime_music/Marie Bibika/Fairy Tail ED 18 [Don't let me down] русский кавер от Marie Bibika [8OOQzdztTXE].mp3
|
||||
#EXTINF:153,/home/fs/Music/8/anime_music/Marie Bibika/Kami no Tou ED [SLUMP] (Русский кавер от @MarieBibika ) [xqtA8FiXVK8].mp3
|
||||
/home/fs/Music/8/anime_music/Marie Bibika/Kami no Tou ED [SLUMP] (Русский кавер от @MarieBibika ) [xqtA8FiXVK8].mp3
|
4
roles/dots/files/home/.moc/softmixer
Normal file
4
roles/dots/files/home/.moc/softmixer
Normal file
@ -0,0 +1,4 @@
|
||||
Active: 0
|
||||
Amplification: 100
|
||||
Value: 100
|
||||
Mono: 0
|
41
roles/dots/files/home/.moc/themes/30equals
Normal file
41
roles/dots/files/home/.moc/themes/30equals
Normal file
@ -0,0 +1,41 @@
|
||||
##############################################################################
|
||||
#
|
||||
# 30equals
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default
|
||||
frame = default default
|
||||
window_title = default default
|
||||
directory = cyan default
|
||||
selected_directory = cyan default reverse
|
||||
playlist = default default
|
||||
selected_playlist = default default reverse
|
||||
file = default default
|
||||
selected_file = default default reverse
|
||||
marked_file = cyan default bold
|
||||
marked_selected_file = cyan default reverse
|
||||
info = default default
|
||||
selected_info = default default
|
||||
marked_info = cyan default bold
|
||||
marked_selected_info = cyan default bold
|
||||
status = default default
|
||||
title = cyan default bold
|
||||
state = default default
|
||||
current_time = default default
|
||||
time_left = default default
|
||||
total_time = default default
|
||||
time_total_frames = default default
|
||||
sound_parameters = default default
|
||||
legend = default default
|
||||
disabled = default default
|
||||
enabled = cyan default bold
|
||||
empty_mixer_bar = default default
|
||||
filled_mixer_bar = default default reverse
|
||||
empty_time_bar = default default
|
||||
filled_time_bar = default default reverse
|
||||
entry = default default
|
||||
entry_title = default default
|
||||
error = default default bold
|
||||
message = default default bold
|
||||
plist_time = default default
|
173
roles/dots/files/home/.moc/themes/README.md
Normal file
173
roles/dots/files/home/.moc/themes/README.md
Normal file
@ -0,0 +1,173 @@
|
||||
# mocp-themes
|
||||
My collection of themes for the music on console player
|
||||
|
||||
## 30equals
|
||||
|
||||
```
|
||||
mocp -T 30equals
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/30equals.png" alt="30equals"></p>
|
||||
|
||||
## alldefault
|
||||
|
||||
```
|
||||
mocp -T alldefault
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/alldefault.png" alt="alldefault"></p>
|
||||
|
||||
## alpha_green
|
||||
|
||||
```
|
||||
mocp -T alpha_green
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/alpha_green.png" alt="alpha_green"></p>
|
||||
|
||||
## black_orange
|
||||
|
||||
```
|
||||
mocp -T black_orange
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/black_orange.png" alt="black_orange"></p>
|
||||
|
||||
## black_red_white
|
||||
|
||||
```
|
||||
mocp -T black_red_white
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/black_red_white.png" alt="black_red_white"></p>
|
||||
|
||||
## deephouse
|
||||
|
||||
```
|
||||
mocp -T deephouse
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/deephouse.png" alt="deephouse"></p>
|
||||
|
||||
## dylanwh
|
||||
|
||||
```
|
||||
mocp -T dylanwh
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/dylanwh.png" alt="dylanwh"></p>
|
||||
|
||||
## hybrid
|
||||
|
||||
```
|
||||
mocp -T hybrid
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/hybrid.png" alt="hybrid"></p>
|
||||
|
||||
## hybrid-bright
|
||||
|
||||
```
|
||||
mocp -T hybrid-bright
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/hybrid-bright.png" alt="hybrid-bright"></p>
|
||||
|
||||
## lcd
|
||||
|
||||
```
|
||||
mocp -T lcd
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/lcd.png" alt="lcd"></p>
|
||||
|
||||
## mostly_green
|
||||
|
||||
```
|
||||
mocp -T mostly_green
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/mostly_green.png" alt="mostly_green"></p>
|
||||
|
||||
## nes
|
||||
|
||||
```
|
||||
mocp -T nes
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/nes.png" alt="nes"></p>
|
||||
|
||||
## nightly_enhanced
|
||||
|
||||
```
|
||||
mocp -T nightly_enhanced
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/nightly_enhanced.png" alt="nightly_enhanced"></p>
|
||||
|
||||
## nightshade
|
||||
|
||||
```
|
||||
mocp -T nightshade
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/nightshade.png" alt="nightshade"></p>
|
||||
|
||||
## orange
|
||||
|
||||
```
|
||||
mocp -T orange
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/orange.png" alt="orange"></p>
|
||||
|
||||
## orpheus
|
||||
|
||||
```
|
||||
mocp -T orpheus
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/orpheus.png" alt="orpheus"></p>
|
||||
|
||||
## paper_blue
|
||||
|
||||
```
|
||||
mocp -T paper_blue
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/paper_blue.png" alt="paper_blue"></p>
|
||||
|
||||
## paper_white
|
||||
|
||||
```
|
||||
mocp -T paper_white
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/paper_white.png" alt="paper_white"></p>
|
||||
|
||||
## rhowaldt
|
||||
|
||||
```
|
||||
mocp -T rhowaldt
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/rhowaldt.png" alt="rhowaldt"></p>
|
||||
|
||||
## rteff_theme
|
||||
|
||||
```
|
||||
mocp -T rteff_theme
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/rteff_theme.png" alt="rteff_theme"></p>
|
||||
|
||||
## solarized
|
||||
|
||||
```
|
||||
mocp -T solarized
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/solarized.png" alt="solarized"></p>
|
||||
|
||||
|
||||
## transparent-light
|
||||
|
||||
```
|
||||
mocp -T transparent-light
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/transparent-light.png" alt="transparent-light"></p>
|
||||
|
||||
## tty
|
||||
|
||||
```
|
||||
mocp -T tty
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/tty.png" alt="tty"></p>
|
||||
|
||||
## variant_red
|
||||
|
||||
```
|
||||
mocp -T variant_red
|
||||
```
|
||||
<p align="center"><img width="75%" src="./Screenshots/variant_red.png" alt="variant_red"></p>
|
||||
|
||||
|
43
roles/dots/files/home/.moc/themes/alldefault
Normal file
43
roles/dots/files/home/.moc/themes/alldefault
Normal file
@ -0,0 +1,43 @@
|
||||
##############################################################################
|
||||
#
|
||||
# alldefault theme by azhag <azhag@gazeta.pl>
|
||||
# this theme is modifiaction of
|
||||
# Black theme by Arn <arn.alduomacil@gmail.com>
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default
|
||||
frame = default default
|
||||
window_title = default default
|
||||
directory = default default
|
||||
selected_directory = default default reverse
|
||||
playlist = default default
|
||||
selected_playlist = default default reverse
|
||||
file = default default
|
||||
selected_file = default default reverse
|
||||
marked_file = default default bold
|
||||
marked_selected_file = default default bold,reverse
|
||||
info = default default
|
||||
selected_info = default default bold
|
||||
marked_info = default default bold
|
||||
marked_selected_info = default default bold
|
||||
status = default default
|
||||
title = default default bold
|
||||
state = default default
|
||||
current_time = default default bold
|
||||
time_left = default default bold
|
||||
total_time = default default bold
|
||||
time_total_frames = default default
|
||||
sound_parameters = default default bold
|
||||
legend = default default
|
||||
disabled = default default
|
||||
enabled = default default bold
|
||||
empty_mixer_bar = default default
|
||||
filled_mixer_bar = default default reverse
|
||||
empty_time_bar = default default
|
||||
filled_time_bar = default default reverse
|
||||
entry = default default
|
||||
entry_title = default default
|
||||
error = default default bold
|
||||
message = default default
|
||||
plist_time = default default
|
46
roles/dots/files/home/.moc/themes/alpha_green
Normal file
46
roles/dots/files/home/.moc/themes/alpha_green
Normal file
@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Alpha Green Theme
|
||||
# by SrFreak
|
||||
# Personal website http://juanjosalvador.github.io
|
||||
# Email juanjosalvador@openmailbox.org
|
||||
#
|
||||
# Element Color 1 Color 2
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default
|
||||
frame = white default
|
||||
window_title = white default
|
||||
directory = white default bold
|
||||
selected_directory = green black bold,reverse
|
||||
playlist = white green bold
|
||||
selected_playlist = white green bold
|
||||
file = white default
|
||||
selected_file = green default
|
||||
marked_file = blue default bold
|
||||
marked_selected_file = green default bold
|
||||
info = green default bold
|
||||
selected_info = green default bold
|
||||
marked_info = red default bold
|
||||
marked_selected_info = green default bold
|
||||
status = white default
|
||||
title = white default bold
|
||||
state = white default bold
|
||||
current_time = white default bold
|
||||
time_left = white default bold
|
||||
total_time = white default bold
|
||||
time_total_frames = white default
|
||||
sound_parameters = white default bold
|
||||
legend = white default
|
||||
disabled = green default bold
|
||||
enabled = white default bold
|
||||
empty_mixer_bar = white default
|
||||
filled_mixer_bar = black white
|
||||
empty_time_bar = white default
|
||||
filled_time_bar = black white
|
||||
entry = white default
|
||||
entry_title = black default
|
||||
error = red default bold
|
||||
message = green default bold
|
||||
plist_time = white default bold
|
42
roles/dots/files/home/.moc/themes/black_orange
Normal file
42
roles/dots/files/home/.moc/themes/black_orange
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# here's my theme for the great moc.
|
||||
# it's black/orange (on xterm it's black/yellow :-)
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = white black
|
||||
frame = yellow black
|
||||
window_title = white black
|
||||
directory = white black bold
|
||||
selected_directory = black yellow
|
||||
playlist = white black
|
||||
selected_playlist = black yellow
|
||||
file = white black
|
||||
selected_file = black yellow
|
||||
marked_file = yellow black
|
||||
marked_selected_file = yellow black bold,reverse
|
||||
info = yellow black
|
||||
selected_info = yellow black bold
|
||||
marked_info = yellow black bold
|
||||
marked_selected_info = yellow black bold,reverse
|
||||
status = white black
|
||||
title = yellow black
|
||||
state = yellow black
|
||||
current_time = white black bold
|
||||
time_left = white black bold
|
||||
total_time = white black bold
|
||||
time_total_frames = white black
|
||||
sound_parameters = white black bold
|
||||
legend = white black
|
||||
disabled = black black bold
|
||||
enabled = white black bold
|
||||
empty_mixer_bar = white black
|
||||
filled_mixer_bar = black yellow
|
||||
empty_time_bar = white black
|
||||
filled_time_bar = white yellow
|
||||
entry = white black
|
||||
entry_title = yellow black bold
|
||||
error = yellow black bold
|
||||
message = yellow black bold
|
||||
plist_time = white black
|
124
roles/dots/files/home/.moc/themes/black_red_white
Normal file
124
roles/dots/files/home/.moc/themes/black_red_white
Normal file
@ -0,0 +1,124 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Theme in black|red|white by Stefan Wimmer <wimstefan@gmail.com>
|
||||
#
|
||||
##############################################################################
|
||||
# The format of this file is:
|
||||
# Lines beginning with # are comments.
|
||||
# Blank lines are ignored.
|
||||
# Every other line is expected to be in format:
|
||||
#
|
||||
# ELEMENT = FOREGROUND_COLOR BACKGROUND_COLOR [ATTRIBUTE[,ATTRIBUTE,..]]
|
||||
#
|
||||
# or
|
||||
#
|
||||
# colordef COLOR = RED GREEN BLUE
|
||||
#
|
||||
# Where names are case insensitive.
|
||||
#
|
||||
# ELEMENT is an element of MOC interface. This can be:
|
||||
# background - default background for regions when nothing is displayed
|
||||
# frame - frames for windows
|
||||
# window_title - the title of the window (eg name of the current
|
||||
# directory)
|
||||
# directory - a directory in the menu
|
||||
# selected_directory - a directory that is selected using arrows
|
||||
# playlist - playlist file
|
||||
# selected_playlist - see selected directory
|
||||
# file - an ordinary file in the menu (mp3, ogg, ...)
|
||||
# selected_file - see selected directory
|
||||
# marked_file - a file that is currently being played
|
||||
# marked_selected_file - a file that is currently being played and is also
|
||||
# selected using arrows
|
||||
# info - information shown at the right side of files
|
||||
# selected_info - see selected directory
|
||||
# marked_info - a file (its time) that is currently being played
|
||||
# marked_selected_info - a file (its time) that is currently being played
|
||||
# and is also selected using arrows
|
||||
# status - the status line with a message
|
||||
# title - the title of the file that is currently being played
|
||||
# state - the state: play, stop, or paused (>, [], ||)
|
||||
# current_time - current time of playing
|
||||
# time_left - the time left to the end of playing the current file
|
||||
# total_time - the length of the currently played file
|
||||
# time_total_frames - the brackets outside the total time of a file ([10:13])
|
||||
# sound_parameters - the frequency and bitrate numbers
|
||||
# legend - "KHz" and "Kbps"
|
||||
# disabled - disabled element ([STEREO])
|
||||
# enabled - enabled element
|
||||
# empty_mixer_bar - "empty" part of the volume bar
|
||||
# filled_mixer_bar - "filled" part of the volume bar
|
||||
# empty_time_bar - "empty" part of the time bar
|
||||
# filled_time_bar - "filled" part of the time bar
|
||||
# entry - place wher user can type a search query or a file name
|
||||
# entry_title - the title of an entry
|
||||
# error - error message
|
||||
# message - information message
|
||||
# plist_time - total time of displayed items
|
||||
#
|
||||
# FOREGOUND_COLOR and BACKGROUND_COLOR can have one of the following values:
|
||||
# black, red, green, yellow, blue, magenta, cyan, white, default (can be
|
||||
# transparent), grey (not standard, but works)
|
||||
#
|
||||
# Optional ATTRIBUTE parameters can be (from ncurses manual):
|
||||
# normal - default (no highlight)
|
||||
# standout - best highlighting mode of the terminal
|
||||
# underline - underlining
|
||||
# reverse - reverse video
|
||||
# blink - blinking
|
||||
# dim - half bright
|
||||
# bold - extra bright or bold
|
||||
# protect - protected mode
|
||||
#
|
||||
# You can specify a list of attributes separated by commas: attr1,attr2,attr3.
|
||||
# Don't use spaces anywhere in such a list.
|
||||
#
|
||||
# With colordef you can change the definition of a color. It works only if
|
||||
# your terminal supports it, if not those lines will be silently ignored.
|
||||
# COLOR must be a valid color name and the RED GREEN and BLUE are numbers
|
||||
# from 0 to 1000. Example:
|
||||
#
|
||||
# colordef red = 1000 0 0
|
||||
#
|
||||
# HINT: you have only 8 colors, but combined with attributes bold and/or
|
||||
# reversed you actually get more colors.
|
||||
#
|
||||
# If you don't specify some elements, the default values will be used.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default
|
||||
frame = red default bold
|
||||
window_title = default default reverse
|
||||
directory = default default dim
|
||||
selected_directory = default default dim,reverse
|
||||
playlist = default default
|
||||
selected_playlist = default default reverse
|
||||
file = default default
|
||||
selected_file = default default reverse
|
||||
marked_file = default default bold
|
||||
marked_selected_file = default default bold,reverse
|
||||
info = default default
|
||||
selected_info = default default bold
|
||||
marked_info = red default bold
|
||||
marked_selected_info = red default bold,reverse
|
||||
status = default default
|
||||
title = default default bold,dim
|
||||
state = default default
|
||||
current_time = default default bold
|
||||
time_left = default default bold
|
||||
total_time = default default bold
|
||||
time_total_frames = default default
|
||||
sound_parameters = default default bold
|
||||
legend = default default
|
||||
disabled = default default
|
||||
enabled = red default bold
|
||||
empty_mixer_bar = default default
|
||||
filled_mixer_bar = default default reverse
|
||||
empty_time_bar = default default
|
||||
filled_time_bar = default default dim,reverse
|
||||
entry = default default
|
||||
entry_title = default default
|
||||
error = red default
|
||||
message = default default standout,reverse
|
||||
plist_time = default default bold
|
41
roles/dots/files/home/.moc/themes/deephouse
Normal file
41
roles/dots/files/home/.moc/themes/deephouse
Normal file
@ -0,0 +1,41 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Deephouse theme for dark console By Leodelacruz
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = yellow default
|
||||
frame = white default
|
||||
window_title = white default underline,dim
|
||||
directory = white default
|
||||
selected_directory = cyan default underline
|
||||
playlist = cyan default
|
||||
selected_playlist = cyan default
|
||||
file = cyan default
|
||||
selected_file = grey default bold
|
||||
marked_file = white default bold
|
||||
marked_selected_file = white default bold,underline
|
||||
info = white default
|
||||
selected_info = blue default bold
|
||||
marked_info = green default bold
|
||||
marked_selected_info = green default bold
|
||||
status = white default
|
||||
title = white default
|
||||
state = white default
|
||||
current_time = white default
|
||||
time_left = white default
|
||||
total_time = white default
|
||||
time_total_frames = white default
|
||||
sound_parameters = white default
|
||||
legend = white default
|
||||
disabled = white default dim
|
||||
enabled = white default bold
|
||||
empty_mixer_bar = default default
|
||||
filled_mixer_bar = black cyan
|
||||
empty_time_bar = white default
|
||||
filled_time_bar = default white
|
||||
entry = white default
|
||||
entry_title = white default bold
|
||||
error = yellow default
|
||||
message = white default
|
||||
plist_time = white default
|
121
roles/dots/files/home/.moc/themes/dylanwh
Normal file
121
roles/dots/files/home/.moc/themes/dylanwh
Normal file
@ -0,0 +1,121 @@
|
||||
##############################################################################
|
||||
#
|
||||
# The format of this file is:
|
||||
# Lines beginning with # are comments.
|
||||
# Blank lines are ignored.
|
||||
# Every other line is expected to be in format:
|
||||
#
|
||||
# ELEMENT = FOREGROUND_COLOR BACKGROUND_COLOR [ATTRIBUTE[,ATTRIBUTE,..]]
|
||||
#
|
||||
# or
|
||||
#
|
||||
# colordef COLOR = RED GREEN BLUE
|
||||
#
|
||||
# Where names are case insensitive.
|
||||
#
|
||||
# ELEMENT is an element of MOC interface. This can be:
|
||||
# background - default background for regions when nothing is displayed
|
||||
# frame - frames for windows
|
||||
# window_title - the title of the window (eg name of the current
|
||||
# directory)
|
||||
# directory - a directory in the menu
|
||||
# selected_directory - a directory that is selected using arrows
|
||||
# playlist - playlist file
|
||||
# selected_playlist - see selected directory
|
||||
# file - an ordinary file in the menu (mp3, ogg, ...)
|
||||
# selected_file - see selected directory
|
||||
# marked_file - a file that is currently being played
|
||||
# marked_selected_file - a file that is currently being played and is also
|
||||
# selected using arrows
|
||||
# info - information shown at the right side of files
|
||||
# selected_info - see selected directory
|
||||
# marked_info - a file (its time) that is currently being played
|
||||
# marked_selected_info - a file (its time) that is currently being played
|
||||
# and is also selected using arrows
|
||||
# status - the status line with a message
|
||||
# title - the title of the file that is currently being played
|
||||
# state - the state: play, stop, or paused (>, [], ||)
|
||||
# current_time - current time of playing
|
||||
# time_left - the time left to the end of playing the current file
|
||||
# total_time - the length of the currently played file
|
||||
# time_total_frames - the brackets outside the total time of a file ([10:13])
|
||||
# sound_parameters - the frequency and bitrate numbers
|
||||
# legend - "KHz" and "Kbps"
|
||||
# disabled - disabled element ([STEREO])
|
||||
# enabled - enabled element
|
||||
# empty_mixer_bar - "empty" part of the volume bar
|
||||
# filled_mixer_bar - "filled" part of the volume bar
|
||||
# empty_time_bar - "empty" part of the time bar
|
||||
# filled_time_bar - "filled" part of the time bar
|
||||
# entry - place wher user can type a search query or a file name
|
||||
# entry_title - the title of an entry
|
||||
# error - error message
|
||||
# message - information message
|
||||
# plist_time - total time of displayed items
|
||||
#
|
||||
# FOREGOUND_COLOR and BACKGROUND_COLOR can have one of the following values:
|
||||
# black, red, green, yellow, blue, magenta, cyan, white, default (can be
|
||||
# transparent), grey (not standard, but works)
|
||||
#
|
||||
# Optional ATTRIBUTE parameters can be (from ncurses manual):
|
||||
# normal - default (no highlight)
|
||||
# standout - best highlighting mode of the terminal
|
||||
# underline - underlining
|
||||
# reverse - reverse video
|
||||
# blink - blinking
|
||||
# dim - half bright
|
||||
# bold - extra bright or bold
|
||||
# protect - protected mode
|
||||
#
|
||||
# You can specify a list of attributes separated by commas: attr1,attr2,attr3.
|
||||
# Don't use spaces anywhere in such a list.
|
||||
#
|
||||
# With colordef you can change the definition of a color. It works only if
|
||||
# your terminal supports it, if not those lines will be silently ignored.
|
||||
# COLOR must be a valid color name and the RED GREEN and BLUE are numbers
|
||||
# from 0 to 1000. Example:
|
||||
#
|
||||
# colordef red = 1000 0 0
|
||||
#
|
||||
# HINT: you have only 8 colors, but combined with attributes bold and/or
|
||||
# reversed you actually get more colors.
|
||||
#
|
||||
# If you don't specify some elements, the default values will be used.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default
|
||||
frame = default default
|
||||
window_title = default default
|
||||
directory = blue default
|
||||
selected_directory = magenta black bold
|
||||
file = yellow default bold
|
||||
selected_file = white black
|
||||
marked_file = cyan default bold
|
||||
marked_selected_file = white black
|
||||
info = default default
|
||||
selected_info = default black bold
|
||||
marked_info = default default bold
|
||||
marked_selected_info = default black bold
|
||||
status = default default
|
||||
title = default default
|
||||
state = default default
|
||||
current_time = white default bold
|
||||
playlist = yellow default bold
|
||||
selected_playlist = white black
|
||||
time_left = white default bold
|
||||
total_time = white default bold
|
||||
time_total_frames = white default
|
||||
sound_parameters = white default bold
|
||||
legend = white default
|
||||
disabled = default default bold
|
||||
enabled = white default bold
|
||||
empty_mixer_bar = white default
|
||||
filled_mixer_bar = black yellow
|
||||
empty_time_bar = white default
|
||||
filled_time_bar = black yellow
|
||||
entry = white default
|
||||
entry_title = black cyan
|
||||
error = red default
|
||||
message = green default
|
||||
plist_time = white default
|
42
roles/dots/files/home/.moc/themes/hybrid
Normal file
42
roles/dots/files/home/.moc/themes/hybrid
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# based on hybrid
|
||||
# best viewed on shaded or black terminal
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = white black
|
||||
frame = blue default
|
||||
window_title = green default
|
||||
directory = red default
|
||||
selected_directory = blue default
|
||||
playlist = blue default
|
||||
selected_playlist = magenta default
|
||||
file = green default
|
||||
selected_file = cyan default
|
||||
marked_file = green default bold
|
||||
marked_selected_file = cyan default bold
|
||||
info = cyan default
|
||||
selected_info = blue default bold
|
||||
marked_info = green default bold
|
||||
marked_selected_info = green default bold
|
||||
status = magenta default
|
||||
title = green default
|
||||
state = magenta default
|
||||
current_time = magenta default
|
||||
time_left = cyan default
|
||||
total_time = cyan default
|
||||
time_total_frames = magenta default
|
||||
sound_parameters = cyan default
|
||||
legend = magenta default
|
||||
disabled = black default
|
||||
enabled = yellow default
|
||||
empty_mixer_bar = green default
|
||||
filled_mixer_bar = black green
|
||||
empty_time_bar = green default
|
||||
filled_time_bar = black green
|
||||
entry = yellow default
|
||||
entry_title = red default
|
||||
error = red default
|
||||
message = yellow default
|
||||
plist_time = magenta default
|
42
roles/dots/files/home/.moc/themes/hybrid-bright
Normal file
42
roles/dots/files/home/.moc/themes/hybrid-bright
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# based on hybrid
|
||||
# best viewed on shaded or black terminal
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = white black
|
||||
frame = yellow black bold
|
||||
window_title = yellow black bold
|
||||
directory = white black
|
||||
selected_directory = yellow black bold
|
||||
playlist = white black bold
|
||||
selected_playlist = green black bold
|
||||
file = white black
|
||||
selected_file = green black dim,underline
|
||||
marked_file = yellow black bold
|
||||
marked_selected_file = green black bold
|
||||
info = blue black bold
|
||||
selected_info = blue black bold
|
||||
marked_info = green black bold
|
||||
marked_selected_info = green black bold
|
||||
status = white black
|
||||
title = green black bold
|
||||
state = yellow black bold
|
||||
current_time = yellow black bold
|
||||
time_left = yellow black bold
|
||||
total_time = white black bold
|
||||
time_total_frames = yellow black bold
|
||||
sound_parameters = yellow black bold
|
||||
legend = white black
|
||||
disabled = blue black bold
|
||||
enabled = white black bold
|
||||
empty_mixer_bar = white black
|
||||
filled_mixer_bar = black blue
|
||||
empty_time_bar = white black
|
||||
filled_time_bar = black blue
|
||||
entry = white blue
|
||||
entry_title = yellow black bold
|
||||
error = red black bold
|
||||
message = green black bold
|
||||
plist_time = white black bold
|
42
roles/dots/files/home/.moc/themes/lcd
Normal file
42
roles/dots/files/home/.moc/themes/lcd
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# LCD theme for MOC by orveldv (version 2)
|
||||
# 06/May/2007
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = white white normal
|
||||
frame = white white bold
|
||||
window_title = white white bold
|
||||
directory = black white normal
|
||||
selected_directory = white black bold
|
||||
playlist = cyan default
|
||||
selected_playlist = white black bold
|
||||
file = black white normal
|
||||
selected_file = white black bold
|
||||
marked_file = white white bold
|
||||
marked_selected_file = cyan black bold
|
||||
info = cyan white bold
|
||||
selected_info = blue black bold
|
||||
marked_info = green white bold
|
||||
marked_selected_info = green white bold
|
||||
status = white cyan bold
|
||||
title = white white bold
|
||||
state = red white blink
|
||||
current_time = blue white normal
|
||||
time_left = cyan white bold
|
||||
total_time = black white bold
|
||||
time_total_frames = black white normal
|
||||
sound_parameters = white white bold
|
||||
legend = black white normal
|
||||
disabled = cyan white normal
|
||||
enabled = blue white bold
|
||||
empty_mixer_bar = black white bold
|
||||
filled_mixer_bar = black cyan bold
|
||||
empty_time_bar = white white normal
|
||||
filled_time_bar = black cyan bold
|
||||
entry = black white normal
|
||||
entry_title = black cyan normal
|
||||
error = red white normal
|
||||
message = magenta white normal
|
||||
plist_time = blue default
|
42
roles/dots/files/home/.moc/themes/mostly_green
Normal file
42
roles/dots/files/home/.moc/themes/mostly_green
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# mostly green theme by Jiri Golembiovsky <golemj@gmail.com>
|
||||
# best viewed on shaded or black terminal
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default
|
||||
frame = green default
|
||||
window_title = green default
|
||||
directory = green default
|
||||
selected_directory = black green
|
||||
playlist = green default
|
||||
selected_playlist = magenta green
|
||||
file = green default
|
||||
selected_file = black green
|
||||
marked_file = green default bold
|
||||
marked_selected_file = green default reverse,underline
|
||||
info = green default
|
||||
selected_info = green default bold
|
||||
marked_info = white default bold
|
||||
marked_selected_info = white default bold
|
||||
status = green default
|
||||
title = green default
|
||||
state = green default bold
|
||||
current_time = green default bold
|
||||
time_left = green default
|
||||
total_time = green default
|
||||
time_total_frames = green default
|
||||
sound_parameters = green default bold
|
||||
legend = green default
|
||||
disabled = green default
|
||||
enabled = black green
|
||||
empty_mixer_bar = green default
|
||||
filled_mixer_bar = black green
|
||||
empty_time_bar = green default
|
||||
filled_time_bar = black green
|
||||
entry = green default
|
||||
entry_title = green default bold
|
||||
error = red default bold
|
||||
message = yellow default bold
|
||||
plist_time = green default
|
41
roles/dots/files/home/.moc/themes/nes
Normal file
41
roles/dots/files/home/.moc/themes/nes
Normal file
@ -0,0 +1,41 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Theme inspired by the NES
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = white black
|
||||
frame = grey black bold
|
||||
window_title = red black
|
||||
directory = grey black bold
|
||||
selected_directory = red black bold
|
||||
playlist = grey black bold
|
||||
selected_playlist = red black bold
|
||||
file = white black
|
||||
selected_file = red black
|
||||
marked_file = red black bold
|
||||
marked_selected_file = red black reverse
|
||||
info = grey black bold
|
||||
selected_info = white black bold
|
||||
marked_info = blue black bold
|
||||
marked_selected_info = white black bold
|
||||
status = white black
|
||||
title = red black bold
|
||||
state = red black bold
|
||||
current_time = white black bold
|
||||
time_left = white black bold
|
||||
total_time = white black bold
|
||||
time_total_frames = white black
|
||||
sound_parameters = white black bold
|
||||
legend = white black
|
||||
disabled = red black bold
|
||||
enabled = white black bold
|
||||
empty_mixer_bar = red black
|
||||
filled_mixer_bar = black red
|
||||
empty_time_bar = white black
|
||||
filled_time_bar = black red
|
||||
entry = white black
|
||||
entry_title = grey black bold
|
||||
error = red black bold
|
||||
message = red black bold
|
||||
plist_time = grey black bold
|
42
roles/dots/files/home/.moc/themes/nightly_enhanced
Normal file
42
roles/dots/files/home/.moc/themes/nightly_enhanced
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# this is a modification of the
|
||||
# nightly theme by Wim Speekenbrink <w.speek@wanadoo.nl>
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = blue default
|
||||
frame = blue default bold
|
||||
window_title = blue default bold
|
||||
directory = blue default bold
|
||||
selected_directory = black magenta
|
||||
playlist = blue default bold
|
||||
selected_playlist = black magenta
|
||||
file = blue default bold
|
||||
selected_file = black magenta
|
||||
marked_file = green default bold
|
||||
marked_selected_file = magenta default bold
|
||||
info = green default bold
|
||||
selected_info = black magenta
|
||||
marked_info = green default bold
|
||||
marked_selected_info = green default bold
|
||||
status = blue default bold
|
||||
title = green default bold
|
||||
state = blue default bold
|
||||
current_time = magenta default bold
|
||||
time_left = magenta default bold
|
||||
total_time = magenta default bold
|
||||
time_total_frames = blue default bold
|
||||
sound_parameters = magenta default bold
|
||||
legend = blue default bold
|
||||
disabled = black default
|
||||
enabled = blue default bold
|
||||
empty_mixer_bar = blue default bold
|
||||
filled_mixer_bar = black magenta
|
||||
empty_time_bar = blue default bold
|
||||
filled_time_bar = black magenta
|
||||
entry = green default bold
|
||||
entry_title = green default bold
|
||||
error = red default bold
|
||||
message = green default bold
|
||||
plist_time = green default bold
|
41
roles/dots/files/home/.moc/themes/nightshade
Normal file
41
roles/dots/files/home/.moc/themes/nightshade
Normal file
@ -0,0 +1,41 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Nightshade theme (Version 6) by Dreyeth (dreyeth@openmailbox.org)
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = blue black normal
|
||||
frame = magenta black normal
|
||||
window_title = magenta black bold
|
||||
directory = blue black normal
|
||||
selected_directory = black magenta normal
|
||||
playlist = magenta black normal
|
||||
selected_playlist = black magenta normal
|
||||
file = blue black normal
|
||||
selected_file = black magenta normal
|
||||
marked_file = magenta black bold
|
||||
marked_selected_file = black magenta bold
|
||||
info = magenta black normal
|
||||
selected_info = black magenta normal
|
||||
marked_info = magenta black normal
|
||||
marked_selected_info = black magenta normal
|
||||
status = magenta black bold
|
||||
title = magenta black bold
|
||||
state = magenta black bold
|
||||
current_time = magenta black normal
|
||||
time_left = magenta black normal
|
||||
total_time = magenta black normal
|
||||
time_total_frames = magenta black normal
|
||||
sound_parameters = magenta black normal
|
||||
legend = blue black normal
|
||||
disabled = blue black normal
|
||||
enabled = magenta black normal
|
||||
empty_mixer_bar = black blue normal
|
||||
filled_mixer_bar = black magenta normal
|
||||
empty_time_bar = black blue normal
|
||||
filled_time_bar = black magenta normal
|
||||
entry = black blue normal
|
||||
entry_title = black magenta normal
|
||||
error = magenta black bold
|
||||
message = blue black bold
|
||||
plist_time = magenta black normal
|
124
roles/dots/files/home/.moc/themes/orange
Normal file
124
roles/dots/files/home/.moc/themes/orange
Normal file
@ -0,0 +1,124 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Theme in yellow|red by Stefan Wimmer <wimstefan@gmail.com>
|
||||
#
|
||||
##############################################################################
|
||||
# The format of this file is:
|
||||
# Lines beginning with # are comments.
|
||||
# Blank lines are ignored.
|
||||
# Every other line is expected to be in format:
|
||||
#
|
||||
# ELEMENT = FOREGROUND_COLOR BACKGROUND_COLOR [ATTRIBUTE[,ATTRIBUTE,..]]
|
||||
#
|
||||
# or
|
||||
#
|
||||
# colordef COLOR = RED GREEN BLUE
|
||||
#
|
||||
# Where names are case insensitive.
|
||||
#
|
||||
# ELEMENT is an element of MOC interface. This can be:
|
||||
# background - default background for regions when nothing is displayed
|
||||
# frame - frames for windows
|
||||
# window_title - the title of the window (eg name of the current
|
||||
# directory)
|
||||
# directory - a directory in the menu
|
||||
# selected_directory - a directory that is selected using arrows
|
||||
# playlist - playlist file
|
||||
# selected_playlist - see selected directory
|
||||
# file - an ordinary file in the menu (mp3, ogg, ...)
|
||||
# selected_file - see selected directory
|
||||
# marked_file - a file that is currently being played
|
||||
# marked_selected_file - a file that is currently being played and is also
|
||||
# selected using arrows
|
||||
# info - information shown at the right side of files
|
||||
# selected_info - see selected directory
|
||||
# marked_info - a file (its time) that is currently being played
|
||||
# marked_selected_info - a file (its time) that is currently being played
|
||||
# and is also selected using arrows
|
||||
# status - the status line with a message
|
||||
# title - the title of the file that is currently being played
|
||||
# state - the state: play, stop, or paused (>, [], ||)
|
||||
# current_time - current time of playing
|
||||
# time_left - the time left to the end of playing the current file
|
||||
# total_time - the length of the currently played file
|
||||
# time_total_frames - the brackets outside the total time of a file ([10:13])
|
||||
# sound_parameters - the frequency and bitrate numbers
|
||||
# legend - "KHz" and "Kbps"
|
||||
# disabled - disabled element ([STEREO])
|
||||
# enabled - enabled element
|
||||
# empty_mixer_bar - "empty" part of the volume bar
|
||||
# filled_mixer_bar - "filled" part of the volume bar
|
||||
# empty_time_bar - "empty" part of the time bar
|
||||
# filled_time_bar - "filled" part of the time bar
|
||||
# entry - place wher user can type a search query or a file name
|
||||
# entry_title - the title of an entry
|
||||
# error - error message
|
||||
# message - information message
|
||||
# plist_time - total time of displayed items
|
||||
#
|
||||
# FOREGOUND_COLOR and BACKGROUND_COLOR can have one of the following values:
|
||||
# black, red, green, yellow, blue, magenta, cyan, white, default (can be
|
||||
# transparent), grey (not standard, but works)
|
||||
#
|
||||
# Optional ATTRIBUTE parameters can be (from ncurses manual):
|
||||
# normal - default (no highlight)
|
||||
# standout - best highlighting mode of the terminal
|
||||
# underline - underlining
|
||||
# reverse - reverse video
|
||||
# blink - blinking
|
||||
# dim - half bright
|
||||
# bold - extra bright or bold
|
||||
# protect - protected mode
|
||||
#
|
||||
# You can specify a list of attributes separated by commas: attr1,attr2,attr3.
|
||||
# Don't use spaces anywhere in such a list.
|
||||
#
|
||||
# With colordef you can change the definition of a color. It works only if
|
||||
# your terminal supports it, if not those lines will be silently ignored.
|
||||
# COLOR must be a valid color name and the RED GREEN and BLUE are numbers
|
||||
# from 0 to 1000. Example:
|
||||
#
|
||||
# colordef red = 1000 0 0
|
||||
#
|
||||
# HINT: you have only 8 colors, but combined with attributes bold and/or
|
||||
# reversed you actually get more colors.
|
||||
#
|
||||
# If you don't specify some elements, the default values will be used.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = red default
|
||||
frame = red default
|
||||
window_title = red default
|
||||
directory = yellow default
|
||||
selected_directory = red default
|
||||
playlist = yellow default
|
||||
selected_playlist = yellow default
|
||||
file = yellow default
|
||||
selected_file = black yellow
|
||||
marked_file = red default
|
||||
marked_selected_file = red yellow
|
||||
info = yellow default
|
||||
selected_info = yellow default bold
|
||||
marked_info = yellow default bold,reverse
|
||||
marked_selected_info = red default bold
|
||||
status = yellow default
|
||||
title = yellow default
|
||||
state = yellow default
|
||||
current_time = yellow default
|
||||
time_left = yellow default
|
||||
total_time = yellow default
|
||||
time_total_frames = yellow default
|
||||
sound_parameters = yellow default
|
||||
legend = yellow default
|
||||
disabled = red default dim
|
||||
enabled = yellow default bold
|
||||
empty_mixer_bar = black red
|
||||
filled_mixer_bar = black yellow
|
||||
empty_time_bar = yellow default
|
||||
filled_time_bar = default yellow
|
||||
entry = yellow default
|
||||
entry_title = yellow default
|
||||
error = cyan default
|
||||
message = yellow default
|
||||
plist_time = yellow default
|
46
roles/dots/files/home/.moc/themes/orpheus
Normal file
46
roles/dots/files/home/.moc/themes/orpheus
Normal file
@ -0,0 +1,46 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Copy what's below and save it in ~/.moc/themes/moc-orpheus
|
||||
# moc-orpheus is the name of the file; don't give it an extension.
|
||||
# Also, create the themes folder if it doesn't exist.
|
||||
# I found this theme at this address:
|
||||
# http://nic-nac-project.org/~orveldv/wiki/doku.php?id=moc
|
||||
# A couple ather themes are also available there.
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = black black normal
|
||||
frame = blue black bold
|
||||
window_title = black black bold
|
||||
directory = cyan black normal
|
||||
selected_directory = cyan black bold
|
||||
playlist = white black normal
|
||||
selected_playlist = cyan black bold
|
||||
file = green black normal
|
||||
selected_file = green black bold
|
||||
marked_file = yellow black bold
|
||||
marked_selected_file = white black bold
|
||||
info = blue black bold
|
||||
selected_info = blue black bold
|
||||
marked_info = white black bold
|
||||
marked_selected_info = white black bold
|
||||
status = black white normal
|
||||
title = yellow black bold
|
||||
state = green black bold,blink
|
||||
current_time = white black normal
|
||||
time_left = black black bold
|
||||
total_time = green black normal
|
||||
time_total_frames = black black bold
|
||||
sound_parameters = white black normal
|
||||
legend = green black normal
|
||||
disabled = black black bold
|
||||
enabled = white black normal
|
||||
empty_mixer_bar = white black normal
|
||||
filled_mixer_bar = black white normal
|
||||
empty_time_bar = black black normal
|
||||
filled_time_bar = black white bold
|
||||
entry = white black normal
|
||||
entry_title = black white normal
|
||||
error = yellow black bold
|
||||
message = yellow black bold
|
||||
plist_time = blue black normal
|
42
roles/dots/files/home/.moc/themes/paper_blue
Normal file
42
roles/dots/files/home/.moc/themes/paper_blue
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# paper_blue theme for MOC by orveldv (version 2)
|
||||
# 06/May/2007
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = white white normal
|
||||
frame = white white bold
|
||||
window_title = white white bold
|
||||
directory = blue white normal
|
||||
selected_directory = white black bold
|
||||
playlist = cyan white bold
|
||||
selected_playlist = white black bold
|
||||
file = blue white normal
|
||||
selected_file = white black bold
|
||||
marked_file = white white bold
|
||||
marked_selected_file = cyan black bold
|
||||
info = cyan white bold
|
||||
selected_info = blue black bold
|
||||
marked_info = green black bold
|
||||
marked_selected_info = green black bold
|
||||
status = white cyan bold
|
||||
title = white white bold
|
||||
state = red white blink
|
||||
current_time = black white normal
|
||||
time_left = cyan white bold
|
||||
total_time = black white bold
|
||||
time_total_frames = black white normal
|
||||
sound_parameters = white white bold
|
||||
legend = blue white normal
|
||||
disabled = cyan white normal
|
||||
enabled = black white normal
|
||||
empty_mixer_bar = black white bold
|
||||
filled_mixer_bar = blue default bold
|
||||
empty_time_bar = white white normal
|
||||
filled_time_bar = white default bold
|
||||
entry = black white normal
|
||||
entry_title = black cyan normal
|
||||
error = red white normal
|
||||
message = magenta white normal
|
||||
plist_time = white cyan bold
|
42
roles/dots/files/home/.moc/themes/paper_white
Normal file
42
roles/dots/files/home/.moc/themes/paper_white
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# paper_white theme for MOC by orveldv (version 2)
|
||||
# 06/May/2007
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = white white normal
|
||||
frame = black white normal
|
||||
window_title = black white normal
|
||||
directory = white white bold
|
||||
selected_directory = white black bold
|
||||
playlist = cyan white bold
|
||||
selected_playlist = white black bold
|
||||
file = white white bold
|
||||
selected_file = white black bold
|
||||
marked_file = blue white normal
|
||||
marked_selected_file = cyan black bold
|
||||
info = cyan white bold
|
||||
selected_info = blue black bold
|
||||
marked_info = green black bold
|
||||
marked_selected_info = green black bold
|
||||
status = white cyan bold
|
||||
title = blue white normal
|
||||
state = red white blink
|
||||
current_time = white white bold
|
||||
time_left = cyan white bold
|
||||
total_time = black white bold
|
||||
time_total_frames = black white normal
|
||||
sound_parameters = black white normal
|
||||
legend = white white bold
|
||||
disabled = cyan white normal
|
||||
enabled = blue white bold
|
||||
empty_mixer_bar = black white bold
|
||||
filled_mixer_bar = cyan default bold
|
||||
empty_time_bar = white white normal
|
||||
filled_time_bar = white default bold
|
||||
entry = black white normal
|
||||
entry_title = black cyan normal
|
||||
error = red white normal
|
||||
message = magenta white normal
|
||||
plist_time = white cyan bold
|
123
roles/dots/files/home/.moc/themes/rhowaldt
Normal file
123
roles/dots/files/home/.moc/themes/rhowaldt
Normal file
@ -0,0 +1,123 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Thank you Gutterslob & pvsage from #! forums!
|
||||
#
|
||||
# The format of this file is:
|
||||
# Lines beginning with # are comments.
|
||||
# Blank lines are ignored.
|
||||
# Every other line is expected to be in format:
|
||||
#
|
||||
# ELEMENT = FOREGROUND_COLOR BACKGROUND_COLOR [ATTRIBUTE[,ATTRIBUTE,..]]
|
||||
#
|
||||
# or
|
||||
#
|
||||
# colordef COLOR = RED GREEN BLUE
|
||||
#
|
||||
# Where names are case insensitive.
|
||||
#
|
||||
# ELEMENT is an element of MOC interface. This can be:
|
||||
# background - default background for regions when nothing is displayed
|
||||
# frame - frames for windows
|
||||
# window_title - the title of the window (eg name of the current
|
||||
# directory)
|
||||
# directory - a directory in the menu
|
||||
# selected_directory - a directory that is selected using arrows
|
||||
# playlist - playlist file
|
||||
# selected_playlist - see selected directory
|
||||
# file - an ordinary file in the menu (mp3, ogg, ...)
|
||||
# selected_file - see selected directory
|
||||
# marked_file - a file that is currently being played
|
||||
# marked_selected_file - a file that is currently being played and is also
|
||||
# selected using arrows
|
||||
# info - information shown at the right side of files
|
||||
# selected_info - see selected directory
|
||||
# marked_info - a file (its time) that is currently being played
|
||||
# marked_selected_info - a file (its time) that is currently being played
|
||||
# and is also selected using arrows
|
||||
# status - the status line with a message
|
||||
# title - the title of the file that is currently being played
|
||||
# state - the state: play, stop, or paused (>, [], ||)
|
||||
# current_time - current time of playing
|
||||
# time_left - the time left to the end of playing the current file
|
||||
# total_time - the length of the currently played file
|
||||
# time_total_frames - the brackets outside the total time of a file ([10:13])
|
||||
# sound_parameters - the frequency and bitrate numbers
|
||||
# legend - "KHz" and "Kbps"
|
||||
# disabled - disabled element ([STEREO])
|
||||
# enabled - enabled element
|
||||
# empty_mixer_bar - "empty" part of the volume bar
|
||||
# filled_mixer_bar - "filled" part of the volume bar
|
||||
# empty_time_bar - "empty" part of the time bar
|
||||
# filled_time_bar - "filled" part of the time bar
|
||||
# entry - place wher user can type a search query or a file name
|
||||
# entry_title - the title of an entry
|
||||
# error - error message
|
||||
# message - information message
|
||||
# plist_time - total time of displayed items
|
||||
#
|
||||
# FOREGOUND_COLOR and BACKGROUND_COLOR can have one of the following values:
|
||||
# black, red, green, yellow, blue, magenta, cyan, white, default (can be
|
||||
# transparent), grey (not standard, but works)
|
||||
#
|
||||
# Optional ATTRIBUTE parameters can be (from ncurses manual):
|
||||
# normal - default (no highlight)
|
||||
# standout - best highlighting mode of the terminal
|
||||
# underline - underlining
|
||||
# reverse - reverse video
|
||||
# blink - blinking
|
||||
# dim - half bright
|
||||
# bold - extra bright or bold
|
||||
# protect - protected mode
|
||||
#
|
||||
# You can specify a list of attributes separated by commas: attr1,attr2,attr3.
|
||||
# Don't use spaces anywhere in such a list.
|
||||
#
|
||||
# With colordef you can change the definition of a color. It works only if
|
||||
# your terminal supports it, if not those lines will be silently ignored.
|
||||
# COLOR must be a valid color name and the RED GREEN and BLUE are numbers
|
||||
# from 0 to 1000. Example:
|
||||
#
|
||||
# colordef red = 1000 0 0
|
||||
#
|
||||
# HINT: you have only 8 colors, but combined with attributes bold and/or
|
||||
# reversed you actually get more colors.
|
||||
#
|
||||
# If you don't specify some elements, the default values will be used.
|
||||
##############################################################################
|
||||
#
|
||||
|
||||
background = default default
|
||||
frame = default default
|
||||
window_title = default default
|
||||
directory = blue default
|
||||
selected_directory = blue default reverse
|
||||
playlist = default default
|
||||
selected_playlist = default default reverse
|
||||
file = default default
|
||||
selected_file = default default reverse
|
||||
marked_file = blue default bold
|
||||
marked_selected_file = blue default reverse
|
||||
info = default default
|
||||
selected_info = default default
|
||||
marked_info = blue default bold
|
||||
marked_selected_info = blue default bold
|
||||
status = default default
|
||||
title = blue default bold
|
||||
state = default default
|
||||
current_time = default default
|
||||
time_left = default default
|
||||
total_time = default default
|
||||
time_total_frames = default default
|
||||
sound_parameters = default default
|
||||
legend = default default
|
||||
disabled = default default
|
||||
enabled = blue default bold
|
||||
empty_mixer_bar = default default
|
||||
filled_mixer_bar = default default reverse
|
||||
empty_time_bar = default default
|
||||
filled_time_bar = default default reverse
|
||||
entry = default default
|
||||
entry_title = default default
|
||||
error = default default bold
|
||||
message = default default bold
|
||||
plist_time = default default
|
41
roles/dots/files/home/.moc/themes/rteff_theme
Normal file
41
roles/dots/files/home/.moc/themes/rteff_theme
Normal file
@ -0,0 +1,41 @@
|
||||
###########################################################
|
||||
#
|
||||
# Rteff Theme
|
||||
#
|
||||
# Email rtefforg@gmail.com
|
||||
# GitHub https://github.com/rteff
|
||||
#
|
||||
##########################################################
|
||||
|
||||
background = black black
|
||||
frame = cyan black
|
||||
window_title = cyan black bold,underline
|
||||
directory = blue black bold
|
||||
selected_directory = cyan black bold,underline
|
||||
playlist = white black bold
|
||||
selected_playlist = cyan black bold,underline
|
||||
file = white black
|
||||
selected_file = cyan black bold,underline
|
||||
marked_file = grey black bold
|
||||
marked_selected_file = grey black bold,underline
|
||||
info = cyan black
|
||||
status = blue black
|
||||
title = blue black bold
|
||||
state = cyan black
|
||||
current_time = grey black
|
||||
time_left = red black
|
||||
total_time = white black
|
||||
time_total_frames = white black
|
||||
sound_parameters = grey black bold
|
||||
legend = white black bold
|
||||
disabled = red black
|
||||
enabled = grey black bold
|
||||
empty_mixer_bar = white black bold,underline
|
||||
filled_mixer_bar = cyan black underline
|
||||
empty_time_bar = white black underline
|
||||
filled_time_bar = cyan black underline
|
||||
entry = white black
|
||||
entry_title = white black
|
||||
error = red black bold,underline
|
||||
message = blue black bold
|
||||
plist_time = cyan black underline
|
42
roles/dots/files/home/.moc/themes/solarized
Normal file
42
roles/dots/files/home/.moc/themes/solarized
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# based on solarized
|
||||
# best viewed on shaded or black terminal
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default
|
||||
frame = black default
|
||||
window_title = green default
|
||||
directory = red default
|
||||
selected_directory = blue default
|
||||
playlist = blue default
|
||||
selected_playlist = magenta default
|
||||
file = green default
|
||||
selected_file = cyan default
|
||||
marked_file = green default bold
|
||||
marked_selected_file = cyan default bold
|
||||
info = cyan default
|
||||
selected_info = cyan default
|
||||
marked_info = green default bold
|
||||
marked_selected_info = cyan default bold
|
||||
status = magenta default
|
||||
title = green default
|
||||
state = magenta default
|
||||
current_time = magenta default
|
||||
time_left = cyan default
|
||||
total_time = cyan default
|
||||
time_total_frames = magenta default
|
||||
sound_parameters = cyan default
|
||||
legend = magenta default
|
||||
disabled = black default
|
||||
enabled = yellow default
|
||||
empty_mixer_bar = green default
|
||||
filled_mixer_bar = black green
|
||||
empty_time_bar = green default
|
||||
filled_time_bar = black green
|
||||
entry = yellow default
|
||||
entry_title = red default
|
||||
error = red default
|
||||
message = yellow default
|
||||
plist_time = magenta default
|
42
roles/dots/files/home/.moc/themes/transparent-light
Normal file
42
roles/dots/files/home/.moc/themes/transparent-light
Normal file
@ -0,0 +1,42 @@
|
||||
##############################################################################
|
||||
#
|
||||
# transparent_forlightbg theme for MOC by orveldv (version 2)
|
||||
# 06/May/2007
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default normal
|
||||
frame = blue default bold
|
||||
window_title = blue default bold
|
||||
directory = black default normal
|
||||
selected_directory = white black bold
|
||||
playlist = blue default normal
|
||||
selected_playlist = white black bold
|
||||
file = black default normal
|
||||
selected_file = white black bold
|
||||
marked_file = blue default bold
|
||||
marked_selected_file = cyan black bold
|
||||
info = cyan default normal
|
||||
selected_info = white black bold
|
||||
marked_info = blue default bold
|
||||
marked_selected_info = cyan black bold
|
||||
status = black cyan bold
|
||||
title = blue default normal
|
||||
state = red default bold,blink
|
||||
current_time = blue default bold
|
||||
time_left = cyan default normal
|
||||
total_time = black default bold
|
||||
time_total_frames = black default normal
|
||||
sound_parameters = black default bold
|
||||
legend = black default normal
|
||||
disabled = cyan default bold
|
||||
enabled = blue default bold
|
||||
empty_mixer_bar = blue default bold
|
||||
filled_mixer_bar = white cyan bold
|
||||
empty_time_bar = white default normal
|
||||
filled_time_bar = white cyan bold
|
||||
entry = black default normal
|
||||
entry_title = black cyan normal
|
||||
error = red default normal
|
||||
message = magenta default normal
|
||||
plist_time = white cyan bold
|
40
roles/dots/files/home/.moc/themes/tty
Normal file
40
roles/dots/files/home/.moc/themes/tty
Normal file
@ -0,0 +1,40 @@
|
||||
##############################################################################
|
||||
#
|
||||
# tty
|
||||
#
|
||||
##############################################################################
|
||||
background = default default
|
||||
frame = default default
|
||||
window_title = default default
|
||||
directory = default default
|
||||
selected_directory = default default reverse
|
||||
playlist = default default
|
||||
selected_playlist = default default reverse
|
||||
file = default default
|
||||
selected_file = default default reverse
|
||||
marked_file = green default bold
|
||||
marked_selected_file = green default reverse,bold
|
||||
info = default default
|
||||
selected_info = default default bold,reverse
|
||||
marked_info = green default bold
|
||||
marked_selected_info = green default bold,reverse
|
||||
status = default default
|
||||
title = default default bold
|
||||
state = default default
|
||||
current_time = default default bold
|
||||
time_left = default default bold
|
||||
total_time = default default bold
|
||||
time_total_frames = default default
|
||||
sound_parameters = default default bold
|
||||
legend = default default
|
||||
disabled = red default
|
||||
enabled = green default bold
|
||||
empty_mixer_bar = default default
|
||||
filled_mixer_bar = default default reverse
|
||||
empty_time_bar = default default
|
||||
filled_time_bar = default default reverse
|
||||
entry = default default
|
||||
entry_title = default default
|
||||
error = red default
|
||||
message = green default
|
||||
plist_time = default default
|
41
roles/dots/files/home/.moc/themes/variant_red
Normal file
41
roles/dots/files/home/.moc/themes/variant_red
Normal file
@ -0,0 +1,41 @@
|
||||
##############################################################################
|
||||
#
|
||||
# Variant Red Theme by centralkidede
|
||||
#
|
||||
##############################################################################
|
||||
|
||||
background = default default normal
|
||||
frame = white default normal
|
||||
window_title = white default normal
|
||||
directory = white default bold
|
||||
selected_directory = white red bold
|
||||
playlist = white default bold
|
||||
selected_playlist = white red bold
|
||||
file = white default normal
|
||||
selected_file = white red normal
|
||||
marked_file = red default bold
|
||||
marked_selected_file = white red bold
|
||||
info = red default bold
|
||||
selected_info = red default bold
|
||||
marked_info = red default bold
|
||||
marked_selected_info = white red bold
|
||||
status = black default normal
|
||||
title = black white bold
|
||||
state = black white bold
|
||||
current_time = black white bold
|
||||
time_left = black white bold
|
||||
total_time = black white bold
|
||||
time_total_frames = black white normal
|
||||
sound_parameters = black white bold
|
||||
legend = black white normal
|
||||
disabled = black default bold
|
||||
enabled = white default bold
|
||||
empty_mixer_bar = default red dim
|
||||
filled_mixer_bar = red default normal
|
||||
empty_time_bar = white default normal
|
||||
filled_time_bar = black red normal
|
||||
entry = white red normal
|
||||
entry_title = black red normal
|
||||
error = red default bold
|
||||
message = red default bold
|
||||
plist_time = default default bold
|
4
roles/dots/files/home/.pylintrc
Normal file
4
roles/dots/files/home/.pylintrc
Normal file
@ -0,0 +1,4 @@
|
||||
[MASTER]
|
||||
init-hook="from pylint.config import find_pylintrc; import os, sys; sys.path.append(os.path.dirname(find_pylintrc()))"
|
||||
disable=C0111
|
||||
max-line-length=120
|
53
roles/dots/files/home/.tmux.conf
Normal file
53
roles/dots/files/home/.tmux.conf
Normal file
@ -0,0 +1,53 @@
|
||||
set -g default-terminal "tmux-256color"
|
||||
set -ag terminal-overrides ",xterm-256color:RGB"
|
||||
set-option -g default-command bash
|
||||
set-option -g prefix C-w
|
||||
|
||||
bind-key -T copy-mode-vi 'C-c' send -X copy-pipe-and-cancel 'xclip -sel clip -i'
|
||||
|
||||
bind v split-window -c "#{pane_current_path}"
|
||||
bind w split-window -h -c "#{pane_current_path}"
|
||||
bind c new-window -c "#{pane_current_path}"
|
||||
|
||||
bind h select-pane -L
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
bind l select-pane -R
|
||||
|
||||
bind -r H resize-pane -L 10
|
||||
bind -r J resize-pane -D 10
|
||||
bind -r K resize-pane -U 10
|
||||
bind -r L resize-pane -R 10
|
||||
|
||||
bind-key T swap-window -t -1
|
||||
bind-key t swap-window -t 1
|
||||
|
||||
bind-key -r f run-shell "tmux neww ~/bin/tmux-sessionizer.sh"
|
||||
bind-key -r e run-shell "tmux neww sh ~/bin/tmux-sessionizer.sh -E"
|
||||
# bind f send-keys -t.- 'sh ~/bin/tmux-sessionizer.sh' Enter
|
||||
|
||||
set -g mode-keys vi
|
||||
|
||||
set -g status-style bg=default
|
||||
set -g status-fg white
|
||||
set-option -g status-right ""
|
||||
|
||||
## COLORSCHEME: gruvbox dark (medium)
|
||||
set-option -g status "on"
|
||||
|
||||
# default statusbar color
|
||||
set-option -g status-style bg=black,fg=black # bg=bg1, fg=fg1
|
||||
set-window-option -g window-status-current-style bg=white,fg=black # fg=bg1
|
||||
set -g status-left-length 60
|
||||
|
||||
# set-option -g status-left "#[bg=colour241,fg=colour248] #S #[bg=black,fg=colour241,nobold,noitalics,nounderscore]"
|
||||
# set-option -g status-right "#[bg=black,fg=colour239 nobold, nounderscore, noitalics]#[bg=colour239,fg=colour246] %Y-%m-%d %H:%M #[bg=colour239,fg=colour248,nobold,noitalics,nounderscore]#[bg=colour248,fg=colour237] #h "
|
||||
#
|
||||
# set-window-option -g window-status-current-format "#[bg=green,fg=black,nobold,noitalics,nounderscore]#[bg=green,fg=black] #I #[bg=green,fg=black,bold] #W#{?window_zoomed_flag,*Z,} #[bg=black,fg=green,nobold,noitalics,nounderscore]"
|
||||
# set-window-option -g window-status-format "#[bg=white,fg=black,noitalics]#[bg=white,fg=black] #I #[bg=white,fg=black,bold] #W #[bg=black,fg=white,noitalics]"
|
||||
|
||||
# index
|
||||
set -g base-index 1
|
||||
setw -g pane-base-index 1
|
||||
bind-key s choose-tree -ZsK '#{?#{e|<:#{line},9},#{e|+:1,#{line}},#{?#{e|<:#{line},35},M-#{a:#{e|+:97,#{e|-:#{line},9}}},}}'
|
||||
|
11
roles/dots/files/home/.xinitrc
Normal file
11
roles/dots/files/home/.xinitrc
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
xrandr --auto
|
||||
xrandr -r 60.00
|
||||
xrdb ~/.Xresources
|
||||
slstatus &
|
||||
picom &
|
||||
# emacs --daemon &
|
||||
# flameshot &
|
||||
# dunst &
|
||||
# exec ~/bin/startdwm
|
||||
exec dwm
|
13
roles/dots/files/home/bin/betterkeymap.sh
Executable file
13
roles/dots/files/home/bin/betterkeymap.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Проверяем, есть ли уже установленная опция
|
||||
current_options=$(setxkbmap -query | grep "options:")
|
||||
|
||||
# Если опции уже установлены, просто меняем раскладку
|
||||
if [[ -n "$current_options" ]]; then
|
||||
setxkbmap -layout us -option
|
||||
# Иначе, устанавливаем опцию ctrl:swapcaps
|
||||
else
|
||||
setxkbmap -layout us -option ctrl:swapcaps
|
||||
fi
|
||||
|
9
roles/dots/files/home/bin/change_layout.sh
Executable file
9
roles/dots/files/home/bin/change_layout.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
current_layout=$(setxkbmap -query | grep layout | awk '{print $2}')
|
||||
|
||||
if [[ "$current_layout" == "us" ]]; then
|
||||
setxkbmap ru
|
||||
else
|
||||
setxkbmap us
|
||||
fi
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user