This commit is contained in:
HeCodes2Much 2024-08-19 16:40:31 +01:00
parent 22e9dee680
commit 740cec820e
No known key found for this signature in database
GPG Key ID: 772B2F0F09B01DBE
3042 changed files with 86 additions and 102424 deletions

View File

@ -1 +0,0 @@
{"attributes":{"settings":{"Ceasefire":5,"CheatsEnabled":true,"DisableSpies":false,"DisableTreasures":true,"LastManStanding":true,"LockTeams":false,"RevealMap":true,"ExploreMap":true,"Name":"random","Size":512,"Nomad":false,"PlayerData":[{"AI":false,"Civ":"cart","Color":{"r":21,"g":55,"b":149},"Name":"Player 1","Team":-1},{"AI":"petra","AIDiff":"1","AIBehavior":"defensive","Civ":"random","Color":{"r":150,"g":20,"b":20},"Name":"Player 2","Team":-1}],"PopulationCap":300,"RegicideGarrison":false,"Seed":0,"AISeed":0,"StartingResources":3000,"TriggerScripts":["scripts/TriggerHelper.js","scripts/ConquestCommon.js","scripts/ConquestStructures.js"],"VictoryConditions":["conquest_structures"]},"gameSpeed":1,"map":"random","mapType":"random","mapPreview":"cropped:0.78125,0.5859375:session/icons/mappreview/nopreview.png","matchID":0,"guiData":{"mapFilter":"all"}},"engine_info":{"mods":[{"mod":"public","name":"0ad","version":"0.0.25","ignoreInCompatibilityChecks":false}],"engine_version":"0.0.25"}}

View File

@ -1 +0,0 @@
{"attributes":{"settings":{"Ceasefire":3,"CheatsEnabled":false,"CircularMap":true,"DisableSpies":false,"DisableTreasures":true,"LastManStanding":false,"LockTeams":true,"RevealMap":false,"ExploreMap":false,"Name":"Sahyadri Buttes (5)","PlayerData":[{"AI":false,"Civ":"athen","Color":{"r":160,"g":80,"b":200},"Name":"Player 1","Team":0},{"AI":"petra","AIDiff":3,"AIBehavior":"random","Civ":"athen","Color":{"r":150,"g":20,"b":20},"Name":"Player 2","Team":0},{"AI":"petra","AIDiff":3,"AIBehavior":"random","Civ":"random","Color":{"r":21,"g":55,"b":149},"Name":"Player 3","Team":1},{"AI":"petra","AIDiff":3,"AIBehavior":"random","Civ":"random","Color":{"r":86,"g":180,"b":31},"Name":"Player 4","Team":1},{"AI":"petra","AIDiff":3,"AIBehavior":"random","Civ":"random","Color":{"r":231,"g":200,"b":5},"Name":"Player 5","Team":1}],"WorldPopulation":true,"WorldPopulationCap":1200,"RegicideGarrison":false,"Seed":0,"AISeed":0,"StartingResources":500,"TriggerScripts":[],"VictoryConditions":[]},"gameSpeed":0.25,"map":"maps/skirmishes/sahyadri_buttes_5p","mapType":"skirmish","mapPreview":"cropped:0.78125,0.5859375:session/icons/mappreview/sahyadri_buttes_5p.png","matchID":0,"guiData":{"mapFilter":"all"}},"engine_info":{"mods":[{"mod":"public","name":"0ad","version":"0.0.25","ignoreInCompatibilityChecks":false}],"engine_version":"0.0.25"}}

View File

@ -1,22 +0,0 @@
gui.gamesetup.enabletips = "true"
gui.session.respoptooltipsort = "0"
gui.splashscreen.enable = "false"
gui.splashscreen.version = "1627421894"
lobby.login = "TheRepoClub"
lobby.password = "1C43F0747BF441848A66DD2FF1398C6274961A4C4384010D065EA5C0F9A72357"
lobby.privacy_policy = "b00f8ebe8ff92d10061f2934f0824376"
lobby.terms_of_service = "cd813281162778ab480e4804e9ea1762"
lobby.terms_of_use = "7ec8becf53dcfe438dced26936a4f39d"
max_actor_quality = "200"
modio.disclaimer = "3afe6d7d4ec92b87b757936664df4591"
multiplayerhosting.port = "20595"
playername.multiplayer = "TheRepoClub"
playername.singleplayer = "dt"
shadowquality = "2"
shadowscovermap = "true"
silhouettes = "true"
sound.mastergain = "2"
userreport.enabledversion = "1"
userreport.id = "0fc50f3e0ab06eb7"
userreport.terms = "42780012b25000ce5f11a07db5b95585"
variant_diversity = "full"

View File

@ -1,6 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Pyrogenesis Log</title>
<style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style>
<h2>0 A.D. (0.0.25) Main log (warnings and errors only)</h2>
<p>Engine exited successfully on 2022-03-30 at 19:04:48 with 449 message(s), 0 error(s) and 0 warning(s).</p>

View File

@ -1,455 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Pyrogenesis Log</title>
<style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style>
<h2>0 A.D. (0.0.25) Main log</h2>
<p>Loading config file "config/default.cfg"</p>
<p>Loaded config string "windowed" = "false"</p>
<p>Loaded config string "showdetailedtooltips" = "false"</p>
<p>Loaded config string "pauseonfocusloss" = "true"</p>
<p>Loaded config string "persistmatchsettings" = "true"</p>
<p>Loaded config string "multiplayerserver" = "127.0.0.1"</p>
<p>Loaded config string "xres" = "0"</p>
<p>Loaded config string "yres" = "0"</p>
<p>Loaded config string "bpp" = "0"</p>
<p>Loaded config string "display" = "0"</p>
<p>Loaded config string "hidpi" = "false"</p>
<p>Loaded config string "forceglversion" = "false"</p>
<p>Loaded config string "forceglprofile" = "compatibility"</p>
<p>Loaded config string "forceglmajorversion" = "3"</p>
<p>Loaded config string "forceglminorversion" = "3"</p>
<p>Loaded config string "screenshot.tiles" = "4"</p>
<p>Loaded config string "screenshot.tilewidth" = "480"</p>
<p>Loaded config string "screenshot.tileheight" = "270"</p>
<p>Loaded config string "macmouse" = "false"</p>
<p>Loaded config string "renderactors" = "true"</p>
<p>Loaded config string "watereffects" = "true"</p>
<p>Loaded config string "waterfancyeffects" = "false"</p>
<p>Loaded config string "waterrealdepth" = "true"</p>
<p>Loaded config string "waterrefraction" = "true"</p>
<p>Loaded config string "waterreflection" = "true"</p>
<p>Loaded config string "shadows" = "true"</p>
<p>Loaded config string "shadowquality" = "0"</p>
<p>Loaded config string "shadowpcf" = "true"</p>
<p>Loaded config string "shadowscascadecount" = "1"</p>
<p>Loaded config string "shadowscascadedistanceratio" = "1.7"</p>
<p>Loaded config string "shadowscutoffdistance" = "300.0"</p>
<p>Loaded config string "shadowscovermap" = "false"</p>
<p>Loaded config string "texturequality" = "5"</p>
<p>Loaded config string "vsync" = "false"</p>
<p>Loaded config string "particles" = "true"</p>
<p>Loaded config string "fog" = "true"</p>
<p>Loaded config string "silhouettes" = "true"</p>
<p>Loaded config string "showsky" = "true"</p>
<p>Loaded config string "gl.checkerrorafterswap" = "false"</p>
<p>Loaded config string "nohwcursor" = "false"</p>
<p>Loaded config string "renderpath" = "default"</p>
<p>Loaded config string "preferglsl" = "false"</p>
<p>Loaded config string "gpuskinning" = "false"</p>
<p>Loaded config string "smoothlos" = "false"</p>
<p>Loaded config string "postproc" = "false"</p>
<p>Loaded config string "antialiasing" = "disabled"</p>
<p>Loaded config string "sharpening" = "disabled"</p>
<p>Loaded config string "sharpness" = "0.3"</p>
<p>Loaded config string "max_actor_quality" = "200"</p>
<p>Loaded config string "variant_diversity" = "full"</p>
<p>Loaded config string "materialmgr.quality" = "2.0"</p>
<p>Loaded config string "materialmgr.PARALLAX_DIST.max" = "150"</p>
<p>Loaded config string "materialmgr.PARALLAX_HQ_DIST.max" = "75"</p>
<p>Loaded config string "materialmgr.PARALLAX_VHQ_DIST.max" = "0"</p>
<p>Loaded config string "forcealphatest" = "false"</p>
<p>Loaded config string "skycolor" = "0 0 0"</p>
<p>Found config header 'adaptivefps'</p>
<p>Loaded config string "adaptivefps.session" = "60"</p>
<p>Loaded config string "adaptivefps.menu" = "60"</p>
<p>Found config header 'profiler2'</p>
<p>Loaded config string "profiler2.server" = "127.0.0.1"</p>
<p>Loaded config string "profiler2.server.port" = "8000"</p>
<p>Loaded config string "profiler2.server.threads" = "6"</p>
<p>Found config header 'hotkey'</p>
<p>Loaded config string "hotkey.exit" = (empty)</p>
<p>Loaded config string "hotkey.cancel" = "Escape"</p>
<p>Loaded config string "hotkey.confirm" = "Return"</p>
<p>Loaded config string "hotkey.pause" = "Pause", "Shift+Space"</p>
<p>Loaded config string "hotkey.screenshot" = "F2"</p>
<p>Loaded config string "hotkey.bigscreenshot" = "Shift+F2"</p>
<p>Loaded config string "hotkey.togglefullscreen" = "Alt+Return"</p>
<p>Loaded config string "hotkey.screenshot.watermark" = "Alt+K"</p>
<p>Loaded config string "hotkey.wireframe" = "Alt+Shift+W"</p>
<p>Loaded config string "hotkey.silhouettes" = "Alt+Shift+S"</p>
<p>Loaded config string "hotkey.summary" = "Ctrl+Tab"</p>
<p>Loaded config string "hotkey.lobby" = "Alt+L"</p>
<p>Loaded config string "hotkey.structree" = "Alt+Shift+T"</p>
<p>Loaded config string "hotkey.civinfo" = "Alt+Shift+H"</p>
<p>Loaded config string "hotkey.copy" = "Ctrl+C"</p>
<p>Loaded config string "hotkey.paste" = "Ctrl+V"</p>
<p>Loaded config string "hotkey.cut" = "Ctrl+X"</p>
<p>Loaded config string "hotkey.console.toggle" = "BackQuote", "F9"</p>
<p>Loaded config string "hotkey.fps.toggle" = "Alt+F"</p>
<p>Loaded config string "hotkey.realtime.toggle" = "Alt+T"</p>
<p>Loaded config string "hotkey.timeelapsedcounter.toggle" = "F12"</p>
<p>Loaded config string "hotkey.ceasefirecounter.toggle" = (empty)</p>
<p>Loaded config string "hotkey.chat" = "Return"</p>
<p>Loaded config string "hotkey.teamchat" = "T"</p>
<p>Loaded config string "hotkey.privatechat" = "L"</p>
<p>Loaded config string "hotkey.quicksave" = "Shift+F5"</p>
<p>Loaded config string "hotkey.quickload" = "Shift+F8"</p>
<p>Found config header 'hotkey.camera'</p>
<p>Loaded config string "hotkey.camera.reset" = "R"</p>
<p>Loaded config string "hotkey.camera.follow" = "F"</p>
<p>Loaded config string "hotkey.camera.rallypointfocus" = (empty)</p>
<p>Loaded config string "hotkey.camera.lastattackfocus" = "Space"</p>
<p>Loaded config string "hotkey.camera.zoom.in" = "Plus", "NumPlus"</p>
<p>Loaded config string "hotkey.camera.zoom.out" = "Minus", "NumMinus"</p>
<p>Loaded config string "hotkey.camera.zoom.wheel.in" = "WheelUp"</p>
<p>Loaded config string "hotkey.camera.zoom.wheel.out" = "WheelDown"</p>
<p>Loaded config string "hotkey.camera.rotate.up" = "Ctrl+UpArrow", "Ctrl+W"</p>
<p>Loaded config string "hotkey.camera.rotate.down" = "Ctrl+DownArrow", "Ctrl+S"</p>
<p>Loaded config string "hotkey.camera.rotate.cw" = "Ctrl+LeftArrow", "Ctrl+A", "Q"</p>
<p>Loaded config string "hotkey.camera.rotate.ccw" = "Ctrl+RightArrow", "Ctrl+D", "E"</p>
<p>Loaded config string "hotkey.camera.rotate.wheel.cw" = "Shift+WheelUp", "MouseX1"</p>
<p>Loaded config string "hotkey.camera.rotate.wheel.ccw" = "Shift+WheelDown", "MouseX2"</p>
<p>Loaded config string "hotkey.camera.pan" = "MouseMiddle"</p>
<p>Loaded config string "hotkey.camera.left" = "A", "LeftArrow"</p>
<p>Loaded config string "hotkey.camera.right" = "D", "RightArrow"</p>
<p>Loaded config string "hotkey.camera.up" = "W", "UpArrow"</p>
<p>Loaded config string "hotkey.camera.down" = "S", "DownArrow"</p>
<p>Loaded config string "hotkey.camera.scroll.speed.increase" = "Ctrl+Shift+S"</p>
<p>Loaded config string "hotkey.camera.scroll.speed.decrease" = "Ctrl+Alt+S"</p>
<p>Loaded config string "hotkey.camera.rotate.speed.increase" = "Ctrl+Shift+R"</p>
<p>Loaded config string "hotkey.camera.rotate.speed.decrease" = "Ctrl+Alt+R"</p>
<p>Loaded config string "hotkey.camera.zoom.speed.increase" = "Ctrl+Shift+Z"</p>
<p>Loaded config string "hotkey.camera.zoom.speed.decrease" = "Ctrl+Alt+Z"</p>
<p>Found config header 'hotkey.camera.jump'</p>
<p>Loaded config string "hotkey.camera.jump.1" = "F5"</p>
<p>Loaded config string "hotkey.camera.jump.2" = "F6"</p>
<p>Loaded config string "hotkey.camera.jump.3" = "F7"</p>
<p>Loaded config string "hotkey.camera.jump.4" = "F8"</p>
<p>Found config header 'hotkey.camera.jump.set'</p>
<p>Loaded config string "hotkey.camera.jump.set.1" = "Ctrl+F5"</p>
<p>Loaded config string "hotkey.camera.jump.set.2" = "Ctrl+F6"</p>
<p>Loaded config string "hotkey.camera.jump.set.3" = "Ctrl+F7"</p>
<p>Loaded config string "hotkey.camera.jump.set.4" = "Ctrl+F8"</p>
<p>Found config header 'hotkey.profile'</p>
<p>Loaded config string "hotkey.profile.toggle" = "F11"</p>
<p>Loaded config string "hotkey.profile.save" = "Shift+F11"</p>
<p>Found config header 'hotkey.profile2'</p>
<p>Loaded config string "hotkey.profile2.toggle" = "Ctrl+F11"</p>
<p>Found config header 'hotkey.selection'</p>
<p>Loaded config string "hotkey.selection.cancel" = "Esc"</p>
<p>Loaded config string "hotkey.selection.add" = "Shift"</p>
<p>Loaded config string "hotkey.selection.militaryonly" = "Alt"</p>
<p>Loaded config string "hotkey.selection.nonmilitaryonly" = "Alt+Y"</p>
<p>Loaded config string "hotkey.selection.idleonly" = "I"</p>
<p>Loaded config string "hotkey.selection.woundedonly" = "O"</p>
<p>Loaded config string "hotkey.selection.remove" = "Ctrl"</p>
<p>Loaded config string "hotkey.selection.idlebuilder" = "Semicolon"</p>
<p>Loaded config string "hotkey.selection.idleworker" = "Period", "NumDecimal"</p>
<p>Loaded config string "hotkey.selection.idlewarrior" = "Slash", "NumDivide"</p>
<p>Loaded config string "hotkey.selection.idleunit" = "BackSlash"</p>
<p>Loaded config string "hotkey.selection.offscreen" = "Alt"</p>
<p>Found config header 'hotkey.selection.group.add'</p>
<p>Loaded config string "hotkey.selection.group.add.0" = "Shift+0", "Shift+Num0"</p>
<p>Loaded config string "hotkey.selection.group.add.1" = "Shift+1", "Shift+Num1"</p>
<p>Loaded config string "hotkey.selection.group.add.2" = "Shift+2", "Shift+Num2"</p>
<p>Loaded config string "hotkey.selection.group.add.3" = "Shift+3", "Shift+Num3"</p>
<p>Loaded config string "hotkey.selection.group.add.4" = "Shift+4", "Shift+Num4"</p>
<p>Loaded config string "hotkey.selection.group.add.5" = "Shift+5", "Shift+Num5"</p>
<p>Loaded config string "hotkey.selection.group.add.6" = "Shift+6", "Shift+Num6"</p>
<p>Loaded config string "hotkey.selection.group.add.7" = "Shift+7", "Shift+Num7"</p>
<p>Loaded config string "hotkey.selection.group.add.8" = "Shift+8", "Shift+Num8"</p>
<p>Loaded config string "hotkey.selection.group.add.9" = "Shift+9", "Shift+Num9"</p>
<p>Found config header 'hotkey.selection.group.save'</p>
<p>Loaded config string "hotkey.selection.group.save.0" = "Ctrl+0", "Ctrl+Num0"</p>
<p>Loaded config string "hotkey.selection.group.save.1" = "Ctrl+1", "Ctrl+Num1"</p>
<p>Loaded config string "hotkey.selection.group.save.2" = "Ctrl+2", "Ctrl+Num2"</p>
<p>Loaded config string "hotkey.selection.group.save.3" = "Ctrl+3", "Ctrl+Num3"</p>
<p>Loaded config string "hotkey.selection.group.save.4" = "Ctrl+4", "Ctrl+Num4"</p>
<p>Loaded config string "hotkey.selection.group.save.5" = "Ctrl+5", "Ctrl+Num5"</p>
<p>Loaded config string "hotkey.selection.group.save.6" = "Ctrl+6", "Ctrl+Num6"</p>
<p>Loaded config string "hotkey.selection.group.save.7" = "Ctrl+7", "Ctrl+Num7"</p>
<p>Loaded config string "hotkey.selection.group.save.8" = "Ctrl+8", "Ctrl+Num8"</p>
<p>Loaded config string "hotkey.selection.group.save.9" = "Ctrl+9", "Ctrl+Num9"</p>
<p>Found config header 'hotkey.selection.group.select'</p>
<p>Loaded config string "hotkey.selection.group.select.0" = "0", "Num0"</p>
<p>Loaded config string "hotkey.selection.group.select.1" = "1", "Num1"</p>
<p>Loaded config string "hotkey.selection.group.select.2" = "2", "Num2"</p>
<p>Loaded config string "hotkey.selection.group.select.3" = "3", "Num3"</p>
<p>Loaded config string "hotkey.selection.group.select.4" = "4", "Num4"</p>
<p>Loaded config string "hotkey.selection.group.select.5" = "5", "Num5"</p>
<p>Loaded config string "hotkey.selection.group.select.6" = "6", "Num6"</p>
<p>Loaded config string "hotkey.selection.group.select.7" = "7", "Num7"</p>
<p>Loaded config string "hotkey.selection.group.select.8" = "8", "Num8"</p>
<p>Loaded config string "hotkey.selection.group.select.9" = "9", "Num9"</p>
<p>Found config header 'hotkey.gamesetup'</p>
<p>Loaded config string "hotkey.gamesetup.mapbrowser.open" = "M"</p>
<p>Found config header 'hotkey.session'</p>
<p>Loaded config string "hotkey.session.kill" = "Delete", "Backspace"</p>
<p>Loaded config string "hotkey.session.stop" = "H"</p>
<p>Loaded config string "hotkey.session.backtowork" = "Y"</p>
<p>Loaded config string "hotkey.session.unload" = "U"</p>
<p>Loaded config string "hotkey.session.unloadturrets" = "U"</p>
<p>Loaded config string "hotkey.session.leaveturret" = "U"</p>
<p>Loaded config string "hotkey.session.move" = (empty)</p>
<p>Loaded config string "hotkey.session.attack" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.attackmove" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.attackmoveUnit" = "Ctrl+Q"</p>
<p>Loaded config string "hotkey.session.garrison" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.occupyturret" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.autorallypoint" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.guard" = "G"</p>
<p>Loaded config string "hotkey.session.patrol" = "P"</p>
<p>Loaded config string "hotkey.session.repair" = "J"</p>
<p>Loaded config string "hotkey.session.queue" = "Shift"</p>
<p>Loaded config string "hotkey.session.pushorderfront" = (empty)</p>
<p>Loaded config string "hotkey.session.orderone" = "Alt"</p>
<p>Loaded config string "hotkey.session.batchtrain" = "Shift"</p>
<p>Loaded config string "hotkey.session.massbarter" = "Shift"</p>
<p>Loaded config string "hotkey.session.masstribute" = "Shift"</p>
<p>Loaded config string "hotkey.session.noconfirmation" = "Shift"</p>
<p>Loaded config string "hotkey.session.fulltradeswap" = "Shift"</p>
<p>Loaded config string "hotkey.session.unloadtype" = "Shift"</p>
<p>Loaded config string "hotkey.session.deselectgroup" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.rotate.cw" = "RightBracket"</p>
<p>Loaded config string "hotkey.session.rotate.ccw" = "LeftBracket"</p>
<p>Loaded config string "hotkey.session.snaptoedges" = "Ctrl"</p>
<p>Loaded config string "hotkey.session.toggledefaultformation" = (empty)</p>
<p>Loaded config string "hotkey.session.flare" = "K"</p>
<p>Loaded config string "hotkey.session.flareactivate" = (empty)</p>
<p>Loaded config string "hotkey.session.showstatusbars" = "Tab"</p>
<p>Loaded config string "hotkey.session.devcommands.toggle" = "Alt+D"</p>
<p>Loaded config string "hotkey.session.highlightguarding" = "PageDown"</p>
<p>Loaded config string "hotkey.session.highlightguarded" = "PageUp"</p>
<p>Loaded config string "hotkey.session.diplomacycolors" = "Alt+X"</p>
<p>Loaded config string "hotkey.session.toggleattackrange" = "Alt+C"</p>
<p>Loaded config string "hotkey.session.toggleaurasrange" = "Alt+V"</p>
<p>Loaded config string "hotkey.session.togglehealrange" = "Alt+B"</p>
<p>Found config header 'hotkey.session.gui'</p>
<p>Loaded config string "hotkey.session.gui.toggle" = "Alt+G"</p>
<p>Loaded config string "hotkey.session.gui.menu.toggle" = "F10"</p>
<p>Loaded config string "hotkey.session.gui.diplomacy.toggle" = "Ctrl+H"</p>
<p>Loaded config string "hotkey.session.gui.barter.toggle" = "Ctrl+B"</p>
<p>Loaded config string "hotkey.session.gui.objectives.toggle" = "Ctrl+O"</p>
<p>Loaded config string "hotkey.session.gui.tutorial.toggle" = "Ctrl+P"</p>
<p>Found config header 'hotkey.session.savedgames'</p>
<p>Loaded config string "hotkey.session.savedgames.delete" = "Delete", "Backspace"</p>
<p>Loaded config string "hotkey.session.savedgames.noconfirmation" = "Shift"</p>
<p>Found config header 'hotkey.session.queueunit'</p>
<p>Loaded config string "hotkey.session.queueunit.1" = "Z"</p>
<p>Loaded config string "hotkey.session.queueunit.2" = "X"</p>
<p>Loaded config string "hotkey.session.queueunit.3" = "C"</p>
<p>Loaded config string "hotkey.session.queueunit.4" = "V"</p>
<p>Loaded config string "hotkey.session.queueunit.5" = "B"</p>
<p>Loaded config string "hotkey.session.queueunit.6" = "N"</p>
<p>Loaded config string "hotkey.session.queueunit.7" = "M"</p>
<p>Loaded config string "hotkey.session.queueunit.8" = "Comma"</p>
<p>Found config header 'hotkey.session.timewarp'</p>
<p>Loaded config string "hotkey.session.timewarp.fastforward" = "Ctrl+Space"</p>
<p>Loaded config string "hotkey.session.timewarp.rewind" = "Shift+Backspace"</p>
<p>Found config header 'hotkey.tab'</p>
<p>Loaded config string "hotkey.tab.next" = "Tab", "Alt+S"</p>
<p>Loaded config string "hotkey.tab.prev" = "Shift+Tab", "Alt+W"</p>
<p>Found config header 'hotkey.text'</p>
<p>Loaded config string "hotkey.text.delete.left" = "Ctrl+Backspace"</p>
<p>Loaded config string "hotkey.text.delete.right" = "Ctrl+Del"</p>
<p>Loaded config string "hotkey.text.move.left" = "Ctrl+LeftArrow"</p>
<p>Loaded config string "hotkey.text.move.right" = "Ctrl+RightArrow"</p>
<p>Found config header 'gui'</p>
<p>Loaded config string "gui.cursorblinkrate" = "0.5"</p>
<p>Loaded config string "gui.scale" = "1.0"</p>
<p>Found config header 'gui.gamesetup'</p>
<p>Loaded config string "gui.gamesetup.enabletips" = "true"</p>
<p>Loaded config string "gui.gamesetup.assignplayers" = "everyone"</p>
<p>Loaded config string "gui.gamesetup.aidifficulty" = "3"</p>
<p>Loaded config string "gui.gamesetup.aibehavior" = "random"</p>
<p>Loaded config string "gui.gamesetup.settingsslide" = "true"</p>
<p>Found config header 'gui.loadingscreen'</p>
<p>Loaded config string "gui.loadingscreen.progressdescription" = "false"</p>
<p>Found config header 'gui.session'</p>
<p>Loaded config string "gui.session.camerajump.threshold" = "40"</p>
<p>Loaded config string "gui.session.timeelapsedcounter" = "false"</p>
<p>Loaded config string "gui.session.ceasefirecounter" = "false"</p>
<p>Loaded config string "gui.session.batchtrainingsize" = "5"</p>
<p>Loaded config string "gui.session.scrollbatchratio" = "1"</p>
<p>Loaded config string "gui.session.flarelifetime" = "6"</p>
<p>Loaded config string "gui.session.woundedunithotkeythreshold" = "33"</p>
<p>Loaded config string "gui.session.attackrange" = "true"</p>
<p>Loaded config string "gui.session.aurasrange" = "true"</p>
<p>Loaded config string "gui.session.healrange" = "true"</p>
<p>Loaded config string "gui.session.rankabovestatusbar" = "true"</p>
<p>Loaded config string "gui.session.experiencestatusbar" = "true"</p>
<p>Loaded config string "gui.session.respoptooltipsort" = "0"</p>
<p>Loaded config string "gui.session.snaptoedges" = "disabled"</p>
<p>Loaded config string "gui.session.snaptoedgesdistancethreshold" = "15"</p>
<p>Loaded config string "gui.session.disjointcontrolgroups" = "true"</p>
<p>Loaded config string "gui.session.defaultformation" = "special/formations/box"</p>
<p>Loaded config string "gui.session.formationwalkonly" = "true"</p>
<p>Loaded config string "gui.session.howtoshownames" = "0"</p>
<p>Found config header 'gui.session.minimap'</p>
<p>Loaded config string "gui.session.minimap.blinkduration" = "1.7"</p>
<p>Loaded config string "gui.session.minimap.pingduration" = "50.0"</p>
<p>Found config header 'gui.session.notifications'</p>
<p>Loaded config string "gui.session.notifications.attack" = "true"</p>
<p>Loaded config string "gui.session.notifications.tribute" = "true"</p>
<p>Loaded config string "gui.session.notifications.barter" = "true"</p>
<p>Loaded config string "gui.session.notifications.phase" = "completed"</p>
<p>Found config header 'gui.splashscreen'</p>
<p>Loaded config string "gui.splashscreen.enable" = "true"</p>
<p>Loaded config string "gui.splashscreen.version" = "0"</p>
<p>Found config header 'gui.session.diplomacycolors'</p>
<p>Loaded config string "gui.session.diplomacycolors.self" = "21 55 149"</p>
<p>Loaded config string "gui.session.diplomacycolors.ally" = "86 180 31"</p>
<p>Loaded config string "gui.session.diplomacycolors.neutral" = "231 200 5"</p>
<p>Loaded config string "gui.session.diplomacycolors.enemy" = "150 20 20"</p>
<p>Found config header 'joystick'</p>
<p>Loaded config string "joystick.enable" = "false"</p>
<p>Loaded config string "joystick.deadzone" = "8192"</p>
<p>Found config header 'chat'</p>
<p>Loaded config string "chat.timestamp" = "true"</p>
<p>Found config header 'chat.session'</p>
<p>Loaded config string "chat.session.extended" = "true"</p>
<p>Found config header 'lobby'</p>
<p>Loaded config string "lobby.history" = "0"</p>
<p>Loaded config string "lobby.room" = "arena25"</p>
<p>Loaded config string "lobby.server" = "lobby.wildfiregames.com"</p>
<p>Loaded config string "lobby.tls" = "true"</p>
<p>Loaded config string "lobby.verify_certificate" = "false"</p>
<p>Loaded config string "lobby.terms_url" = "https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/prelobby/common/terms/"</p>
<p>Loaded config string "lobby.terms_of_service" = "0"</p>
<p>Loaded config string "lobby.terms_of_use" = "0"</p>
<p>Loaded config string "lobby.privacy_policy" = "0"</p>
<p>Loaded config string "lobby.xpartamupp" = "wfgbot25"</p>
<p>Loaded config string "lobby.echelon" = "echelon25"</p>
<p>Loaded config string "lobby.buddies"</p>
<p>Loaded config string "lobby.rememberpassword" = "true"</p>
<p>Found config header 'lobby.columns'</p>
<p>Loaded config string "lobby.columns.gamerating" = "false"</p>
<p>Found config header 'lobby.stun'</p>
<p>Loaded config string "lobby.stun.enabled" = "true"</p>
<p>Loaded config string "lobby.stun.server" = "lobby.wildfiregames.com"</p>
<p>Loaded config string "lobby.stun.port" = "3478"</p>
<p>Loaded config string "lobby.stun.delay" = "200"</p>
<p>Found config header 'mod'</p>
<p>Loaded config string "mod.enabledmods" = "mod public"</p>
<p>Found config header 'modio'</p>
<p>Loaded config string "modio.public_key" = "RWTVElEmCfAMGk/jtMc2I9/ElBvoJituKdbDWqqj6D69qz2cKexU4gv+"</p>
<p>Loaded config string "modio.disclaimer" = "0"</p>
<p>Found config header 'modio.v1'</p>
<p>Loaded config string "modio.v1.baseurl" = "https://api.mod.io/v1"</p>
<p>Loaded config string "modio.v1.api_key" = "23df258a71711ea6e4b50893acc1ba55"</p>
<p>Loaded config string "modio.v1.name_id" = "0ad"</p>
<p>Found config header 'network'</p>
<p>Loaded config string "network.duplicateplayernames" = "false"</p>
<p>Loaded config string "network.lateobservers" = "everyone"</p>
<p>Loaded config string "network.observerlimit" = "8"</p>
<p>Loaded config string "network.observermaxlag" = "10"</p>
<p>Loaded config string "network.autocatchup" = "true"</p>
<p>Found config header 'overlay'</p>
<p>Loaded config string "overlay.fps" = "false"</p>
<p>Loaded config string "overlay.realtime" = "false"</p>
<p>Loaded config string "overlay.netwarnings" = "true"</p>
<p>Found config header 'profiler2'</p>
<p>Loaded config string "profiler2.autoenable" = "false"</p>
<p>Loaded config string "profiler2.gpu.arb.enable" = "true"</p>
<p>Loaded config string "profiler2.gpu.ext.enable" = "true"</p>
<p>Loaded config string "profiler2.gpu.intel.enable" = "true"</p>
<p>Found config header 'rlinterface'</p>
<p>Loaded config string "rlinterface.address" = "127.0.0.1:6000"</p>
<p>Found config header 'sound'</p>
<p>Loaded config string "sound.mastergain" = "0.9"</p>
<p>Loaded config string "sound.musicgain" = "0.2"</p>
<p>Loaded config string "sound.ambientgain" = "0.6"</p>
<p>Loaded config string "sound.actiongain" = "0.7"</p>
<p>Loaded config string "sound.uigain" = "0.7"</p>
<p>Loaded config string "sound.mindistance" = "1"</p>
<p>Loaded config string "sound.maxdistance" = "350"</p>
<p>Loaded config string "sound.maxstereoangle" = "0.62"</p>
<p>Found config header 'sound.notify'</p>
<p>Loaded config string "sound.notify.nick" = "true"</p>
<p>Loaded config string "sound.notify.gamesetup.join" = "false"</p>
<p>Found config header 'tinygettext'</p>
<p>Loaded config string "tinygettext.debug" = "false"</p>
<p>Found config header 'userreport'</p>
<p>Loaded config string "userreport.url_upload" = "https://feedback.wildfiregames.com/report/upload/v1/"</p>
<p>Loaded config string "userreport.url_publication" = "https://feedback.wildfiregames.com/"</p>
<p>Loaded config string "userreport.url_terms" = "https://trac.wildfiregames.com/browser/ps/trunk/binaries/data/mods/public/gui/userreport/Terms_and_Conditions.txt"</p>
<p>Loaded config string "userreport.terms" = "0"</p>
<p>Found config header 'view'</p>
<p>Loaded config string "view.scroll.speed" = "120.0"</p>
<p>Loaded config string "view.scroll.speed.modifier" = "1.05"</p>
<p>Loaded config string "view.rotate.x.speed" = "1.2"</p>
<p>Loaded config string "view.rotate.x.min" = "28.0"</p>
<p>Loaded config string "view.rotate.x.max" = "60.0"</p>
<p>Loaded config string "view.rotate.x.default" = "35.0"</p>
<p>Loaded config string "view.rotate.y.speed" = "2.0"</p>
<p>Loaded config string "view.rotate.y.speed.wheel" = "0.45"</p>
<p>Loaded config string "view.rotate.y.default" = "0.0"</p>
<p>Loaded config string "view.rotate.speed.modifier" = "1.05"</p>
<p>Loaded config string "view.drag.speed" = "0.5"</p>
<p>Loaded config string "view.zoom.speed" = "256.0"</p>
<p>Loaded config string "view.zoom.speed.wheel" = "32.0"</p>
<p>Loaded config string "view.zoom.min" = "50.0"</p>
<p>Loaded config string "view.zoom.max" = "200.0"</p>
<p>Loaded config string "view.zoom.default" = "120.0"</p>
<p>Loaded config string "view.zoom.speed.modifier" = "1.05"</p>
<p>Loaded config string "view.pos.smoothness" = "0.1"</p>
<p>Loaded config string "view.zoom.smoothness" = "0.4"</p>
<p>Loaded config string "view.rotate.x.smoothness" = "0.5"</p>
<p>Loaded config string "view.rotate.y.smoothness" = "0.3"</p>
<p>Loaded config string "view.near" = "2.0"</p>
<p>Loaded config string "view.far" = "4096.0"</p>
<p>Loaded config string "view.fov" = "45.0"</p>
<p>Loaded config string "view.height.smoothness" = "0.5"</p>
<p>Loaded config string "view.height.min" = "16"</p>
<p>Cannot find config file "config/local.cfg" - ignoring</p>
<p>Loading config file "config/user.cfg"</p>
<p>Loaded config string "gui.gamesetup.enabletips" = "true"</p>
<p>Loaded config string "gui.session.respoptooltipsort" = "0"</p>
<p>Loaded config string "gui.splashscreen.enable" = "false"</p>
<p>Loaded config string "gui.splashscreen.version" = "1627421894"</p>
<p>Loaded config string "lobby.login" = "TheRepoClub"</p>
<p>Loaded config string "lobby.password"</p>
<p>Loaded config string "lobby.privacy_policy" = "b00f8ebe8ff92d10061f2934f0824376"</p>
<p>Loaded config string "lobby.terms_of_service" = "cd813281162778ab480e4804e9ea1762"</p>
<p>Loaded config string "lobby.terms_of_use" = "7ec8becf53dcfe438dced26936a4f39d"</p>
<p>Loaded config string "max_actor_quality" = "200"</p>
<p>Loaded config string "modio.disclaimer" = "3afe6d7d4ec92b87b757936664df4591"</p>
<p>Loaded config string "multiplayerhosting.port" = "20595"</p>
<p>Loaded config string "playername.multiplayer" = "TheRepoClub"</p>
<p>Loaded config string "playername.singleplayer" = "dt"</p>
<p>Loaded config string "shadowquality" = "2"</p>
<p>Loaded config string "shadowscovermap" = "true"</p>
<p>Loaded config string "silhouettes" = "true"</p>
<p>Loaded config string "sound.mastergain" = "2"</p>
<p>Loaded config string "userreport.enabledversion" = "1"</p>
<p>Loaded config string "userreport.id"</p>
<p>Loaded config string "userreport.terms" = "42780012b25000ce5f11a07db5b95585"</p>
<p>Loaded config string "variant_diversity" = "full"</p>
<p>CRenderer::Open: depth bits 24</p>
<p>CRenderer::Open: stencil bits 8</p>
<p>CRenderer::Open: alpha bits 0</p>
<p>Loading config file "config/user.cfg"</p>
<p>Loaded config string "gui.gamesetup.enabletips" = "true"</p>
<p>Loaded config string "gui.session.respoptooltipsort" = "0"</p>
<p>Loaded config string "gui.splashscreen.enable" = "false"</p>
<p>Loaded config string "gui.splashscreen.version" = "1627421894"</p>
<p>Loaded config string "lobby.login" = "TheRepoClub"</p>
<p>Loaded config string "lobby.password"</p>
<p>Loaded config string "lobby.privacy_policy" = "b00f8ebe8ff92d10061f2934f0824376"</p>
<p>Loaded config string "lobby.terms_of_service" = "cd813281162778ab480e4804e9ea1762"</p>
<p>Loaded config string "lobby.terms_of_use" = "7ec8becf53dcfe438dced26936a4f39d"</p>
<p>Loaded config string "max_actor_quality" = "200"</p>
<p>Loaded config string "modio.disclaimer" = "3afe6d7d4ec92b87b757936664df4591"</p>
<p>Loaded config string "multiplayerhosting.port" = "20595"</p>
<p>Loaded config string "playername.multiplayer" = "TheRepoClub"</p>
<p>Loaded config string "playername.singleplayer" = "dt"</p>
<p>Loaded config string "shadowquality" = "2"</p>
<p>Loaded config string "shadowscovermap" = "true"</p>
<p>Loaded config string "silhouettes" = "true"</p>
<p>Loaded config string "sound.mastergain" = "2"</p>
<p>Loaded config string "userreport.enabledversion" = "1"</p>
<p>Loaded config string "userreport.id"</p>
<p>Loaded config string "userreport.terms" = "42780012b25000ce5f11a07db5b95585"</p>
<p>Loaded config string "variant_diversity" = "full"</p>
<p>Shutting down profiler2 GPU mode</p>
<p>Engine exited successfully on 2022-03-30 at 19:04:48 with 449 message(s), 0 error(s) and 0 warning(s).</p>

View File

@ -1,318 +0,0 @@
(generated 2022-03-30 18:04:30 UTC)
OS : Linux 5.16.16-zen1-1-zen (#1 ZEN SMP PREEMPT Mon, 21 Mar 2022 22:59:42 +0000)
CPU : x86_64, Intel Core i5-10300H @ 2.50GHz (1x4x2), 2.50 GHz
Memory : 31844 MiB; 21247 MiB free
Graphics Card : Intel Mesa Intel(R) UHD Graphics (CML GT2)
OpenGL Drivers : 4.6 (Compatibility Profile) Mesa 21.3.7; OpenGL 4.6 (Compatibility Profile) Mesa 21.3.7
Video Mode : 1920x1080:24
Sound Card : JACK Default;
Sound Drivers : 1.1 ALSOFT 1.21.1
OpenGL Extensions:
GL_ARB_multisample
GL_EXT_abgr
GL_EXT_bgra
GL_EXT_blend_color
GL_EXT_blend_minmax
GL_EXT_blend_subtract
GL_EXT_copy_texture
GL_EXT_subtexture
GL_EXT_texture_object
GL_EXT_vertex_array
GL_EXT_compiled_vertex_array
GL_EXT_texture
GL_EXT_texture3D
GL_IBM_rasterpos_clip
GL_ARB_point_parameters
GL_EXT_draw_range_elements
GL_EXT_packed_pixels
GL_EXT_point_parameters
GL_EXT_rescale_normal
GL_EXT_separate_specular_color
GL_EXT_texture_edge_clamp
GL_SGIS_generate_mipmap
GL_SGIS_texture_border_clamp
GL_SGIS_texture_edge_clamp
GL_SGIS_texture_lod
GL_ARB_framebuffer_sRGB
GL_ARB_multitexture
GL_EXT_framebuffer_sRGB
GL_IBM_multimode_draw_arrays
GL_IBM_texture_mirrored_repeat
GL_3DFX_texture_compression_FXT1
GL_ARB_texture_cube_map
GL_ARB_texture_env_add
GL_ARB_transpose_matrix
GL_EXT_blend_func_separate
GL_EXT_fog_coord
GL_EXT_multi_draw_arrays
GL_EXT_secondary_color
GL_EXT_texture_env_add
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_lod_bias
GL_INGR_blend_func_separate
GL_NV_blend_square
GL_NV_light_max_exponent
GL_NV_texgen_reflection
GL_NV_texture_env_combine4
GL_S3_s3tc
GL_SUN_multi_draw_arrays
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
GL_EXT_framebuffer_object
GL_EXT_texture_compression_s3tc
GL_EXT_texture_env_combine
GL_EXT_texture_env_dot3
GL_MESA_window_pos
GL_NV_packed_depth_stencil
GL_NV_texture_rectangle
GL_ARB_depth_texture
GL_ARB_occlusion_query
GL_ARB_shadow
GL_ARB_texture_env_combine
GL_ARB_texture_env_crossbar
GL_ARB_texture_env_dot3
GL_ARB_texture_mirrored_repeat
GL_ARB_window_pos
GL_ATI_fragment_shader
GL_EXT_stencil_two_side
GL_EXT_texture_cube_map
GL_NV_copy_depth_to_color
GL_NV_depth_clamp
GL_NV_fog_distance
GL_NV_half_float
GL_APPLE_packed_pixels
GL_ARB_draw_buffers
GL_ARB_fragment_program
GL_ARB_fragment_shader
GL_ARB_shader_objects
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ATI_draw_buffers
GL_ATI_texture_env_combine3
GL_ATI_texture_float
GL_EXT_shadow_funcs
GL_EXT_stencil_wrap
GL_MESA_pack_invert
GL_NV_primitive_restart
GL_ARB_depth_clamp
GL_ARB_fragment_program_shadow
GL_ARB_half_float_pixel
GL_ARB_occlusion_query2
GL_ARB_point_sprite
GL_ARB_shading_language_100
GL_ARB_sync
GL_ARB_texture_non_power_of_two
GL_ARB_vertex_buffer_object
GL_ATI_blend_equation_separate
GL_EXT_blend_equation_separate
GL_OES_read_format
GL_ARB_color_buffer_float
GL_ARB_pixel_buffer_object
GL_ARB_texture_compression_rgtc
GL_ARB_texture_float
GL_ARB_texture_rectangle
GL_EXT_packed_float
GL_EXT_pixel_buffer_object
GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc
GL_EXT_texture_rectangle
GL_EXT_texture_sRGB
GL_EXT_texture_shared_exponent
GL_ARB_framebuffer_object
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_multisample
GL_EXT_packed_depth_stencil
GL_ARB_vertex_array_object
GL_ATI_separate_stencil
GL_EXT_draw_buffers2
GL_EXT_draw_instanced
GL_EXT_gpu_program_parameters
GL_EXT_gpu_shader4
GL_EXT_texture_array
GL_EXT_texture_integer
GL_EXT_texture_sRGB_decode
GL_EXT_timer_query
GL_OES_EGL_image
GL_AMD_performance_monitor
GL_EXT_texture_buffer_object
GL_AMD_texture_texture4
GL_ARB_copy_buffer
GL_ARB_depth_buffer_float
GL_ARB_draw_instanced
GL_ARB_half_float_vertex
GL_ARB_instanced_arrays
GL_ARB_map_buffer_range
GL_ARB_texture_buffer_object
GL_ARB_texture_rg
GL_ARB_texture_swizzle
GL_ARB_vertex_array_bgra
GL_EXT_texture_swizzle
GL_EXT_vertex_array_bgra
GL_NV_conditional_render
GL_AMD_conservative_depth
GL_AMD_depth_clamp_separate
GL_AMD_draw_buffers_blend
GL_AMD_seamless_cubemap_per_texture
GL_AMD_shader_stencil_export
GL_ARB_ES2_compatibility
GL_ARB_blend_func_extended
GL_ARB_compatibility
GL_ARB_debug_output
GL_ARB_draw_buffers_blend
GL_ARB_draw_elements_base_vertex
GL_ARB_explicit_attrib_location
GL_ARB_fragment_coord_conventions
GL_ARB_provoking_vertex
GL_ARB_sample_shading
GL_ARB_sampler_objects
GL_ARB_seamless_cube_map
GL_ARB_shader_stencil_export
GL_ARB_shader_texture_lod
GL_ARB_tessellation_shader
GL_ARB_texture_buffer_object_rgb32
GL_ARB_texture_cube_map_array
GL_ARB_texture_gather
GL_ARB_texture_multisample
GL_ARB_texture_query_lod
GL_ARB_texture_rgb10_a2ui
GL_ARB_uniform_buffer_object
GL_ARB_vertex_type_2_10_10_10_rev
GL_EXT_provoking_vertex
GL_EXT_texture_snorm
GL_MESA_texture_signed_rgba
GL_NV_copy_image
GL_NV_texture_barrier
GL_ARB_draw_indirect
GL_ARB_get_program_binary
GL_ARB_gpu_shader5
GL_ARB_gpu_shader_fp64
GL_ARB_robustness
GL_ARB_separate_shader_objects
GL_ARB_shader_bit_encoding
GL_ARB_shader_precision
GL_ARB_shader_subroutine
GL_ARB_texture_compression_bptc
GL_ARB_timer_query
GL_ARB_transform_feedback2
GL_ARB_transform_feedback3
GL_ARB_vertex_attrib_64bit
GL_ARB_viewport_array
GL_EXT_direct_state_access
GL_EXT_vertex_attrib_64bit
GL_AMD_multi_draw_indirect
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_ARB_base_instance
GL_ARB_compressed_texture_pixel_storage
GL_ARB_conservative_depth
GL_ARB_internalformat_query
GL_ARB_map_buffer_alignment
GL_ARB_shader_atomic_counters
GL_ARB_shader_image_load_store
GL_ARB_shading_language_420pack
GL_ARB_shading_language_packing
GL_ARB_texture_storage
GL_ARB_transform_feedback_instanced
GL_EXT_framebuffer_multisample_blit_scaled
GL_EXT_transform_feedback
GL_AMD_query_buffer_object
GL_AMD_shader_trinary_minmax
GL_AMD_vertex_shader_layer
GL_AMD_vertex_shader_viewport_index
GL_ARB_ES3_compatibility
GL_ARB_arrays_of_arrays
GL_ARB_clear_buffer_object
GL_ARB_compute_shader
GL_ARB_copy_image
GL_ARB_explicit_uniform_location
GL_ARB_fragment_layer_viewport
GL_ARB_framebuffer_no_attachments
GL_ARB_invalidate_subdata
GL_ARB_multi_draw_indirect
GL_ARB_program_interface_query
GL_ARB_robust_buffer_access_behavior
GL_ARB_shader_image_size
GL_ARB_shader_storage_buffer_object
GL_ARB_stencil_texturing
GL_ARB_texture_buffer_range
GL_ARB_texture_query_levels
GL_ARB_texture_storage_multisample
GL_ARB_texture_view
GL_ARB_vertex_attrib_binding
GL_KHR_debug
GL_KHR_robustness
GL_KHR_texture_compression_astc_ldr
GL_AMD_pinned_memory
GL_ARB_buffer_storage
GL_ARB_clear_texture
GL_ARB_compute_variable_group_size
GL_ARB_enhanced_layouts
GL_ARB_indirect_parameters
GL_ARB_internalformat_query2
GL_ARB_multi_bind
GL_ARB_query_buffer_object
GL_ARB_seamless_cubemap_per_texture
GL_ARB_shader_draw_parameters
GL_ARB_shader_group_vote
GL_ARB_shading_language_include
GL_ARB_texture_mirror_clamp_to_edge
GL_ARB_texture_stencil8
GL_ARB_vertex_type_10f_11f_11f_rev
GL_EXT_shader_framebuffer_fetch
GL_EXT_shader_integer_mix
GL_INTEL_performance_query
GL_ARB_ES3_1_compatibility
GL_ARB_clip_control
GL_ARB_conditional_render_inverted
GL_ARB_cull_distance
GL_ARB_derivative_control
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_pipeline_statistics_query
GL_ARB_shader_texture_image_samples
GL_ARB_texture_barrier
GL_ARB_transform_feedback_overflow_query
GL_EXT_polygon_offset_clamp
GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent
GL_KHR_context_flush_control
GL_KHR_robust_buffer_access_behavior
GL_ARB_ES3_2_compatibility
GL_ARB_fragment_shader_interlock
GL_ARB_gpu_shader_int64
GL_ARB_parallel_shader_compile
GL_ARB_post_depth_coverage
GL_ARB_shader_atomic_counter_ops
GL_ARB_shader_ballot
GL_ARB_shader_clock
GL_ARB_shader_viewport_layer_array
GL_EXT_shader_samples_identical
GL_EXT_texture_sRGB_R8
GL_KHR_no_error
GL_KHR_texture_compression_astc_sliced_3d
GL_NV_fragment_shader_interlock
GL_ARB_gl_spirv
GL_ARB_spirv_extensions
GL_MESA_shader_integer_functions
GL_ARB_polygon_offset_clamp
GL_ARB_texture_filter_anisotropic
GL_EXT_memory_object
GL_EXT_memory_object_fd
GL_EXT_semaphore
GL_EXT_semaphore_fd
GL_KHR_parallel_shader_compile
GL_EXT_EGL_image_storage
GL_EXT_shader_framebuffer_fetch_non_coherent
GL_EXT_texture_shadow_lod
GL_INTEL_blackhole_render
GL_INTEL_shader_atomic_float_minmax
GL_INTEL_shader_integer_functions2
GL_MESA_framebuffer_flip_y
GL_NV_compute_shader_derivatives
GL_EXT_EGL_sync
GL_EXT_demote_to_helper_invocation
SMBIOS:

File diff suppressed because one or more lines are too long

View File

@ -1,3 +0,0 @@
#!/bin/bash
echo "Setting DRI_PRIME=1"
env DRI_PRIME=1 java "$@"

View File

@ -49,3 +49,89 @@ Arch / Linux / AUR
</td>
</tr>
</table>
## Getting Started
To clone and manage your dotfiles using a bare Git repository, follow these steps:
### 1. Clone the Repository
Clone the repository into a `dotfiles` directory in your home directory:
```sh
git clone --bare git@github.com:HeCodes2Much/DotFiles_PacmanBase.git $HOME/.dotfiles
```
### 2. Define an Alias
Define an alias to simplify Git commands for managing your dotfiles:
```sh
alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'
```
### 3. Checkout the Repository
Checkout the actual content from the repository to your home directory:
```sh
dotfiles checkout
```
If you encounter errors because some files already exist, back them up or remove them before retrying the checkout command.
### 4. Configure Git to Ignore Untracked Files
Configure the repository to not show untracked files to keep your home directory clean:
```sh
dotfiles config --local status.showUntrackedFiles no
```
## Usage
With the alias defined, you can now manage your dotfiles using standard Git commands prefixed with `dotfiles`.
### Examples:
- Add a file:
```sh
dotfiles add .vimrc
```
- Commit changes:
```sh
dotfiles commit -m "Add vim configuration"
```
- Push changes:
```sh
dotfiles push
```
- Pull changes:
```sh
dotfiles pull
```
## Customization
You can customize this setup to include additional files or directories by adding them to the repository and committing the changes.
## Backup and Restore
To backup your dotfiles, simply push your changes to the remote repository. To restore them on a new machine, follow the cloning and checkout steps above.
## Additional Resources
- [Dotfiles Git Tutorial](https://www.atlassian.com/git/tutorials/dotfiles)
- [Managing Dotfiles with Git](https://www.anishathalye.com/2014/08/03/managing-your-dotfiles/)
## License
This repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.

View File

@ -1,72 +0,0 @@
[colors]
transparent_background_colors = true
[colors.bright]
black = "0x434c5e"
blue = "0xc5a6ff"
cyan = "0xa6fffc"
green = "0xa6ffa6"
magenta = "0xffa6fc"
red = "0xffa6a6"
white = "0xe5e9f0"
yellow = "0xffffa6"
[colors.cursor]
cursor = "0xe5e9f0"
text = "0x283036"
[colors.normal]
black = "0x283036"
blue = "0x9059ff"
cyan = "0x59fff9"
green = "0x59ff59"
magenta = "0xff59f9"
red = "0xff5959"
white = "0xe5e9f0"
yellow = "0xffff59"
[colors.primary]
background = "0x283036"
foreground = "0xe5e9f0"
[env]
TERM = "alacritty"
[font]
size = 7.0
[font.bold]
family = "Hack Nerd Font"
style = "Bold"
[font.bold_italic]
family = "Hack Nerd Font"
style = "Bold Italic"
[font.italic]
family = "Hack Nerd Font"
style = "Italic"
[font.normal]
family = "Hack Nerd Font"
style = "Regular"
[font.offset]
x = 0
y = 0
[shell]
program = "/bin/fish"
[window]
dynamic_padding = false
opacity = 0.85
title = "Alacritty"
[window.class]
general = "Alacritty"
instance = "Alacritty"
[window.padding]
x = 10
y = 10

View File

@ -1,42 +0,0 @@
# .ansiweatherrc example showing all available options
api_key:85a4e3c55b73909f42c6a23ec35b7147
fetch_cmd:curl -sf
location:Darlington,UK
units:metric
forecast:0
ansi:false
symbols:false
show_uvi:false
show_wind:false
show_humidity:false
show_pressure:false
show_daylight:false
dateformat:%a %b %d
timeformat:%b %d %r
# Text and Colors
background:\033[44m
text:\033[36;1m
data:\033[33;1m
delimiter:\033[35m:
dashes:\033[34m-
forecast_text:forecast
greeting_text:Weather in
humidity_text:Humidity
pressure_text:Pressure
sunrise_text:Sunrise
sunset_text:Sunset
wind_directions:N NNE NE ENE E ESE SE SSE S SSW SW WSW W WNW NW NNW
wind_text:Wind
# Icons
sun:\033[33;1m\xe2\x98\x80
moon:\033[36m\xe2\x98\xbd
clouds:\033[37;1m\xe2\x98\x81
rain:\033[37;1m\xe2\x98\x94
fog:\033[37;1m\xe2\x96\x92
mist:\033[34m\xe2\x96\x91
haze:\033[33m\xe2\x96\x91
snow:\033[37;1m\xe2\x9d\x84
thunderstorm:\033[33;1m\xe2\x9a\xa1

View File

@ -1,60 +0,0 @@
[GfxMode]
Maximized = false
Width = 1906
Height = 1014
Frame = 6 3 1908 1045
[general]
screen_scale = 2
timeline_layer_panel_width = 100
[color_bar]
box_size = 11
fg_color = rgb{255,255,255,255}
bg_color = rgb{0,0,0,255}
selector = 4
[updater]
inits = 2
exits = 2
wait_days = 0.200000
last_check = 1669838089
uuid = bd97af6e65652de885675d03910e3abdada8f3d1
current_version = 1.2.40
new_version =
new_url =
[selection]
transparent_color = mask
[grid]
snap = false
[layout:main_window]
color_bar_splitter = 66
palette_spectrum_splitter = 80
fg_color = 0
bg_color = 0
timeline_splitter = 75
[MiniEditor]
Enabled = true
[RecentFiles]
_ = true
[RecentPaths]
_ = true
[news]
cache_file = /tmp/Aseprite/http---blog.aseprite.org-rss

View File

@ -1,2 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<brushes />

View File

@ -1 +0,0 @@
PKGBUILD

View File

@ -1,19 +0,0 @@
output DP-1-0
off
output eDP-1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 3
mode 1920x1080
pos 1920x0
rate 59.94
x-prop-non_desktop 0

View File

@ -1,2 +0,0 @@
HDMI-1-0 00ffffffffffff004c2d520f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00184b1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020012a020334f04d611203130420221f105f605d5e23090707830100006d030c002000b83c20006001020367d85dc401788003e30f0104023a801871382d40582c4500b9882100001e023a80d072382d40102c4580b9882100001e04740030f2705a80b0588a00b9882100001e565e00a0a0a0295030203500b9882100001a00000090
eDP-1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -1,19 +0,0 @@
output DP-1-0
off
output eDP-1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 3
mode 1920x1080
pos 1920x0
rate 59.94
x-prop-non_desktop 0

View File

@ -1,2 +0,0 @@
HDMI-1-0 00ffffffffffff004c2d520f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010108e80030f2705a80b0588a00b9882100001e000000fd00184b1e873c000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020012a020334f04d611203130420221f105f605d5e23090707830100006d030c002000b83c20006001020367d85dc401788003e30f0104023a801871382d40582c4500b9882100001e023a80d072382d40102c4580b9882100001e04740030f2705a80b0588a00b9882100001e565e00a0a0a0295030203500b9882100001a00000090
eDP-1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -1,3 +0,0 @@
#!/usr/bin/env bash

View File

@ -1,19 +0,0 @@
output DP-1-0
off
output eDP-1
crtc 0
mode 1920x1080
pos 0x0
primary
rate 120.21
x-prop-broadcast_rgb Automatic
x-prop-colorspace Default
x-prop-max_bpc 12
x-prop-non_desktop 0
x-prop-scaling_mode Full aspect
output HDMI-1-0
crtc 3
mode 1920x1080
pos 1920x0
rate 60.00
x-prop-non_desktop 0

View File

@ -1,2 +0,0 @@
HDMI-1-0 00ffffffffffff004c2d330f334c5843101f0103804627782aaea5af4f42af260f5054bfef80714f810081c081809500a9c0b300010104740030f2705a80b0588a00b9882100001e000000fd00184b1e5a1e000a202020202020000000fc005533324a3539780a2020202020000000ff0048344c523430303937360a2020010c020326f04b5f10041f13031220225e5d23090707830100006d030c001000803c200060010203023a801871382d40582c4500b9882100001e023a80d072382d40102c4580b9882100001e04740030f2705a80b0588a00b9882100001e565e00a0a0a0295030203500b9882100001a0000000000000000000000000000000000fc
eDP-1 00ffffffffffff0006afedd100000000221d0104a52213780348358f575992291e505400000001010101010101010101010101010101546f809c70383e406c30aa0058c1100000180000000f0000000000000000000000000020000000fd003c788a8a1d010a202020202020000000fe004231353648414e31332e31200a00a9

View File

@ -1,15 +0,0 @@
[Desktop Entry]
Icon=/home/wayne/.local/share/JetBrains/Toolbox/toolbox.svg
Exec=/home/wayne/.local/share/JetBrains/Toolbox/bin/jetbrains-toolbox --minimize
Version=1.0
Type=Application
Categories=Development
Name=JetBrains Toolbox
StartupWMClass=jetbrains-toolbox
Terminal=false
MimeType=x-scheme-handler/jetbrains;
X-GNOME-Autostart-enabled=true
StartupNotify=false
X-GNOME-Autostart-Delay=10
X-MATE-Autostart-Delay=10
X-KDE-autostart-after=panel

View File

@ -1,24 +0,0 @@
#!/usr/bin/env bash
#-*-coding:utf-8 -*-
#Auto updated?
# Yes
#File:
# mongo-container.sh
#Author:
# The-Repo-Club [wayne6324@gmail.com]
#Github:
# https://github.com/The-Repo-Club/
#
#Created:
# Wed 20 September 2023, 10:16:50 AM [GMT+1]
#Modified:
# Wed 20 September 2023, 04:23:46 PM [GMT+1]
#
#Description:
# <Todo>
#
#Dependencies:
# <None>
#
docker start my-container-name

View File

@ -1,12 +0,0 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Name=PolicyKit Authentication Agent
Comment=PolicyKit Authentication Agent
Exec=/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
Terminal=false
Type=Application
NoDisplay=true
OnlyShowIn=GNOME;XFCE;Unity;
X-GNOME-AutoRestart=true
AutostartCondition=GNOME3 unless-session gnome
X-Ubuntu-Gettext-Domain=polkit-gnome-1

View File

@ -1,153 +0,0 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Exec=xdg-user-dirs-gtk-update
Name=User folders update
Name[an]=Esvielle d'as carpetas de l'usuario
Name[ar]=تحديث مجلدات المستخدم
Name[as]=
Name[ast]=Anovamientu de les carpetes del usuariu
Name[be]=Абнаўленне назваў карыстальніцкіх папак
Name[be@latin]=Aktualizacyja katalohaŭ karystalnika
Name[bg]=Превеждане на имената на стандартните папки
Name[bn_IN]=
Name[bs]=Ažuriranje korisničkih direktorija
Name[ca]=Actualització de les carpetes d'usuari
Name[crh]=Qullanıcı cilbentleriniñ yañartıluvı
Name[cs]=Aktualizace uživatelských složek
Name[csb]=Aktualizacëjô kataloga brëkòwnika
Name[da]=Opdatering af brugermapper
Name[de]=Aktualisierung der Ordner des Benutzers
Name[el]=Ενημέρωση φακέλων χρήστη
Name[en_GB]=User folders update
Name[eo]=Ĝisdatigo de uzantaj dosierujoj
Name[es]=Actualización de las carpetas del usuario
Name[et]=Kasutaja kataloogide uuendamine
Name[eu]=Erabiltzailearen karpeten eguneraketa
Name[fi]=Vakiokansioiden päivitys
Name[fr]=Mise à jour des dossiers utilisateur
Name[fur]=Inzornament cartelis utent
Name[gl]=Actualizar os cartafoles do usuario
Name[gu]=
Name[he]=עדכון תיקיות המשתמש
Name[hi]=
Name[hr]=Nadopuna korisnikovih mapa
Name[hu]=Felhasználói mappák frissítése
Name[id]=Pembaruan folder pengguna
Name[is]=Uppfæra möppur notanda
Name[it]=Aggiorna cartelle utente
Name[ja]=
Name[ka]=
Name[kg]=mu sekokae nta
Name[kk]=Пайдаланушы бумаларын жаңарту
Name[kn]=
Name[ko]=
Name[ku]=Rojanekirina peldankên bikarhênerê/î
Name[lt]=Naudotojo aplankų atnaujinimas
Name[lv]=Lietotāja mapju atjaunināšana
Name[ml]=ി ി
Name[mr]=
Name[nb]=Oppdatering av brukermapper
Name[nds]=Brukerverteeknisopfrischen
Name[nl]=Gebruikersmappen aanpassen
Name[or]= ି
Name[pa]=
Name[pl]=Aktualizacja katalogów użytkownika
Name[ps]=د کارن پوښېو اوسمهالونه
Name[pt]=Atualização de pastas do utilizador
Name[pt_BR]=Atualizar pastas de usuário
Name[ro]=Actualizare dosare utilizator
Name[ru]=Обновление папок пользователя
Name[si]=
Name[sk]=Aktualizácia používateľských priečinkov
Name[sl]=Uporabniška posodobitev map
Name[sq]=Përditëso kartelat e përdoruesit
Name[sr]=Преименовање фасцикли
Name[sr@latin]=Preimenovanje fascikli
Name[sv]=Uppdatera användarmappar
Name[ta]=
Name[te]=ిిి
Name[th]=
Name[tr]=Kullanıcı klasörlerinin güncelleştirilmesi
Name[uk]=Оновлення тек користувача
Name[vi]=Cp nht thư mc ngưi dùng
Name[zh_CN]=
Name[zh_HK]=使
Name[zh_TW]=使
Comment=Update common folders names to match current locale
Comment[af]=Dateer algemene gidsname op om te pas by die huidige lokaliteitsinstelling
Comment[an]=Esviellar os nombres d'as carpetas ta conincidir con a configuracion rechional actual
Comment[ar]=حدّث أسماء المجلدات المشتركة لتطابق المحلية الحالية
Comment[as]= ি
Comment[ast]=Anovar los nomes comunes de les carpetes pa que concasen cola configuración rexonal actual
Comment[be]=Абнаўленне назваў стандартных папак у адпаведнасці з актыўнымі настройкамі мясцовасці
Comment[be@latin]=Aktualizuj nazvy asnoŭnych katalohaŭ, kab adpaviadali dziejnaj lakalnaści
Comment[bg]=Превеждане на имената на стандартните папки към текущо ползвания език
Comment[bn_IN]= , ি ি
Comment[bs]=Promijeni imena često korišćenih direktorija na trenutni jezik
Comment[ca]=Actualitza els noms de les carpetes comunes per a coincidir amb l'idioma actual
Comment[crh]=Umumiy cilbentlerniñ isimlerini ağımdaki tilge uyğunlaştır
Comment[cs]=Aktualizovat názvy běžných složek podle aktuální lokalizace libc
Comment[csb]=Aktualizacëjô nowich mionów katalogów do aktualnegò nastôwù jãzëka
Comment[da]=Opdatér almindelige mappenavne, så de passer til det aktuelt valgte sprog
Comment[de]=Namen der Standardordner auf die momentan verwendete Sprache aktualisieren
Comment[el]=Ενημέρωση ονομάτων των συνηθισμένων φακέλων ώστε να ταιριάζουν στην τρέχουσα γλώσσα
Comment[en_GB]=Update common folders names to match current locale
Comment[eo]=Ĝisdatigi komunajn dosierujnomojn por tute kongrui aktualan lokan lingvon
Comment[es]=Actualizar los nombres comunes de las carpetas para coincidir con la configuración regional actual
Comment[et]=Standardkaustade nimede uuendamine, et need sobiksid valitud keelega
Comment[eu]=Eguneratu karpeta arrunten izenak uneko lokalearekin bat etortzeko
Comment[fi]=Päivitä vakiokansioiden nimet nykyisten kieliasetusten perusteella
Comment[fr]=Mettre à jour les noms des dossiers courants pour correspondre à la langue (« locale ») actuelle
Comment[fur]=Inzorne i nons des cartelis ordenaris in base ae lenghe in ûs
Comment[gl]=Actualizar nomes dos cartafoles comúns para coincidir co locale actual
Comment[gu]=
Comment[he]=עדכון שמות של תיקיות נפוצות כך שיתאימו לשפה הנוכחית
Comment[hi]= ि
Comment[hr]=Nadopuni nazive uobičajenih mapa kako bi odgovarali trenutnom jeziku
Comment[hu]=Általános mappanevek frissítése a jelenlegi területi beállításra
Comment[id]=Perbarui nama folder umum untuk disamakan dengan lokal saat ini
Comment[is]=Uppfæra möppur til að passa við núverandi tungumál
Comment[it]=Aggiorna i nomi di cartella comuni in base alla lingua in uso
Comment[ja]=
Comment[ka]=
Comment[kg]=bandula nta za lundombe mu ndingAku
Comment[kk]=Ағымдағы тілге сәйкес келуі үшін қалыпты бумалар атауларын жаңарту
Comment[kn]= () ಿ ಿಿ
Comment[ko]=
Comment[ku]=Navên peldankên zêde bikaranî rojane bike da ku lihevhatina bi localeya heyî re hebe.
Comment[lt]=Atnaujinti standartinių aplankų vardus pagal nustatytą lokalę
Comment[lv]=Atjaunināt vispārīgo mapju nosaukumus, lai tie sakristu ar izvēlēto lokāli
Comment[ml]= ി
Comment[mr]=
Comment[nb]=Oppdater navn på vanlige mapper til aktivt språk
Comment[nds]=Allgemeene Verteeknisnaamen in de neje Sprak opfrischen
Comment[nl]=Namen van standaardmappen aanpassen aan de huidige taalinstelling
Comment[or]=ି ି ି
Comment[pa]= ਿ
Comment[pl]=Aktualizowanie nazw katalogów do bieżących ustawień językowych
Comment[ps]=د ټولګړو پوښېو نومونه اوسمهالول چې د اوسنۍ ځاييزونې سره ساري شي
Comment[pt]=Atualizar os nomes de pastas comuns para corresponderem ao idioma atual
Comment[pt_BR]=Atualiza o nome de pastas comuns para se adequar à localização atual
Comment[ro]=Actualizați numele dosarelor uzuale pentru a se potrivi cu localizarea curentă
Comment[ru]=Обновить имена общих папок для соответствия текущему языку
Comment[sk]=Aktualizovať názvy bežných priečinkov, aby sa zhodovali so súčasným jazykom
Comment[sl]=Posodobi imena map na trenutno izbrani jezik
Comment[sq]=Përditëso emrat e kartelave të zakonshme në bazë të gjuhës në përdorim
Comment[sr]=Усклађује имена стандардних фасцикли са тренутним језиком
Comment[sr@latin]=Usklađuje imena standardnih fascikli sa trenutnim jezikom
Comment[sv]=Uppdatera vanliga mappnamn för att passa aktuell lokal
Comment[ta]= ி
Comment[te]=ి ిిి ి
Comment[th]=
Comment[tr]=Genel klasör adlarını geçerli dile uyumlu hale getirmek için güncelleştir
Comment[uk]=Оновити імена загальних тек для відповідності поточній локалі
Comment[vi]=Cp nht tên các thư mc thông dng cho khp vi ngôn ng bn đa
Comment[zh_CN]=
Comment[zh_HK]=
Comment[zh_TW]=
Terminal=false
OnlyShowIn=GNOME;LXDE;Unity;MATE;i3;
Type=Application
StartupNotify=false
X-KDE-autostart-after=panel

View File

@ -1,212 +0,0 @@
#? Config file for btop v. 1.2.13
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
color_theme = "/usr/share/btop/themes/dracula.theme"
#* If the theme set background should be shown, set to False if you want terminal background transparency.
theme_background = False
#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false.
truecolor = True
#* Set to true to force tty mode regardless if a real tty has been detected or not.
#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols.
force_tty = False
#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets.
#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box.
#* Use whitespace " " as separator between different presets.
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
vim_keys = False
#* Rounded corners on boxes, is ignored if TTY mode is ON.
rounded_corners = True
#* Default symbols to use for graph creation, "braille", "block" or "tty".
#* "braille" offers the highest resolution but might not be included in all fonts.
#* "block" has half the resolution of braille but uses more common characters.
#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY.
#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view.
graph_symbol = "braille"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_cpu = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_mem = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_net = "default"
# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty".
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
shown_boxes = "cpu net mem proc"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 500
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "cpu lazy"
#* Reverse sorting order, True or False.
proc_reversed = False
#* Show processes as a tree.
proc_tree = True
#* Use the cpu graph colors in the process list.
proc_colors = True
#* Use a darkening gradient in the process list.
proc_gradient = True
#* If process cpu usage should be of the core it's running on or usage of the total available cpu power.
proc_per_core = True
#* Show process memory as bytes instead of percent.
proc_mem_bytes = True
#* Show cpu graph for each process.
proc_cpu_graphs = True
#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate)
proc_info_smaps = False
#* Show proc box on left side of screen instead of right.
proc_left = False
#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop).
proc_filter_kernel = False
#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_upper = "total"
#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available.
#* Select from a list of detected attributes from the options menu.
cpu_graph_lower = "total"
#* Toggles if the lower CPU graph should be inverted.
cpu_invert_lower = True
#* Set to True to completely disable the lower CPU graph.
cpu_single_graph = False
#* Show cpu box at bottom of screen instead of top.
cpu_bottom = False
#* Shows the system uptime in the CPU box.
show_uptime = True
#* Show cpu temperature.
check_temp = True
#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors.
cpu_sensor = "Auto"
#* Show temperatures for cpu cores also if check_temp is True and sensors has been found.
show_coretemp = True
#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core.
#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine.
#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries.
#* Example: "4:0 5:1 6:3"
cpu_core_map = ""
#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine".
temp_scale = "celsius"
#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024.
base_10_sizes = True
#* Show CPU frequency.
show_cpu_freq = True
#* Draw a clock at top of screen, formatting according to strftime, empty string to disable.
#* Special formatting: /host = hostname | /user = username | /uptime = system uptime
clock_format = "%X"
#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort.
background_update = True
#* Custom cpu model name, empty string to disable.
custom_cpu_name = ""
#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ".
#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user".
disks_filter = ""
#* Show graphs instead of meters for memory values.
mem_graphs = True
#* Show mem box below net box instead of above.
mem_below_net = False
#* Count ZFS ARC in cached and available memory.
zfs_arc_cached = True
#* If swap memory should be shown in memory box.
show_swap = True
#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk.
swap_disk = True
#* If mem box should be split to also show disks info.
show_disks = True
#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar.
only_physical = True
#* Read disks list from /etc/fstab. This also disables only_physical.
use_fstab = True
#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool)
zfs_hide_datasets = False
#* Set to true to show available disk space for privileged users.
disk_free_priv = False
#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view.
show_io_stat = True
#* Toggles io mode for disks, showing big graphs for disk read/write speeds.
io_mode = False
#* Set to True to show combined read/write io graphs in io mode.
io_graph_combined = False
#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ".
#* Example: "/mnt/media:100 /:20 /boot:1".
io_graph_speeds = ""
#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False.
net_download = 100
net_upload = 100
#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest.
net_auto = True
#* Sync the auto scaling for download and upload to whichever currently has the highest scale.
net_sync = False
#* Starts with the Network Interface specified here.
net_iface = ""
#* Show battery stats in top right if battery is present.
show_battery = True
#* Which battery to use if multiple are present. "Auto" for auto detection.
selected_battery = "Auto"
#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG".
#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info.
log_level = "DISABLED"

View File

@ -1,25 +0,0 @@
2021/12/29 (23:54:45) | ===> btop++ v.1.1.4
2021/12/29 (23:54:45) | ERROR: Failed to get size of terminal!
2021/12/29 (23:54:53) | ===> btop++ v.1.1.4
2021/12/29 (23:54:53) | ERROR: Failed to get size of terminal!
2022/10/27 (18:48:11) | ===> btop++ v.1.2.12
2022/10/27 (18:48:11) | ERROR: No tty detected!
btop++ needs an interactive shell to run.
2023/08/18 (01:25:43) | ===> btop++ v.1.2.13
2023/08/18 (01:25:44) | ERROR: Stall in Runner thread, restarting!
2023/08/18 (01:26:18) | ERROR: Stall in Runner thread, restarting!
2023/08/18 (01:26:44) | ERROR: Stall in Runner thread, restarting!
2023/08/18 (01:26:59) | ERROR: Stall in Runner thread, restarting!
2023/08/18 (01:27:05) | ERROR: Stall in Runner thread, restarting!
2023/08/18 (01:27:17) | ERROR: Stall in Runner thread, restarting!
2023/08/18 (01:27:25) | ERROR: Stall in Runner thread, restarting!
2023/08/29 (20:08:43) | ===> btop++ v.1.2.13
2023/08/29 (20:08:43) | INFO: Logger set to INFO
2023/08/29 (20:08:43) | INFO: Logger set to DEBUG
2023/08/29 (20:08:46) | INFO: Logger set to INFO
2023/08/29 (20:08:47) | INFO: Logger set to DEBUG

View File

@ -1,6 +0,0 @@
{
"home": "20",
"root": "20",
"pacman": "10",
"mnt": "/mnt/500GB/.snapshots"
}

View File

@ -1,165 +0,0 @@
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
; mode = normal
# Accepts only non-negative values.
; framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. If autosens is enabled, this will only be the initial value.
# 200 means double height. Accepts only non-negative values.
; sensitivity = 100
# The number of bars (0-200). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
; bar_width = 2
; bar_spacing = 1
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
# Seconds with no input before cava goes to sleep mode. Cava will not perform FFT or drawing and
# only check for input once per second. Cava will wake up once input is detected. 0 = disable.
; sleep_timer = 0
[input]
# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem'
# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
; method = pulse
; source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
; sample_rate = 44100
; sample_bits = 16
; method = shmem
; source = /squeezelite-AA:BB:CC:DD:EE:FF
; method = portaudio
; source = auto
[output]
# Output method. Can be 'ncurses', 'noncurses' or 'raw'.
# 'noncurses' uses a custom framebuffer technique and draws only changes
# from frame to frame. 'ncurses' is default if supported
#
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
# stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
; method = ncurses
# Visual channels. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' outputs left to right lowest to highest frequencies.
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
; channels = stereo
; mono_option = average
# Raw output target. A fifo will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
[color]
# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow.
# Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires
# ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt.
# if supported, ncurses mode will be forced on if user defined colors are used.
# default is to keep current terminal color
; background = default
; foreground = default
# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported,
# background must also be defined in hex or remain commented out. 1 = on, 0 = off.
# You can define as many as 8 different colors. They range from bottom to top of screen
; gradient = 1
; gradient_count = 8
; gradient_color_1 = '#59cc33'
; gradient_color_2 = '#80cc33'
; gradient_color_3 = '#a6cc33'
; gradient_color_4 = '#cccc33'
; gradient_color_5 = '#cca633'
; gradient_color_6 = '#cc8033'
; gradient_color_7 = '#cc5933'
; gradient_color_8 = '#cc3333'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
; integral = 77
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
; monstercat = 0
; waves = 0
# Set gravity percentage for "drop off". Higher values means bars will drop faster.
# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off".
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.
; ignore = 0
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more then one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble

File diff suppressed because it is too large Load Diff

View File

@ -1,297 +0,0 @@
# Theme file for CliFM
# Theme name: clifm (256 colors version)
# Author: L. Abramovich
# License: GPL3
### How do we define colors?
#
# FiletypeColors, InterfaceColors, and ExtColors use the same format used
# by the LS_COLORS environment variable. Thus, "di=01;34" means that (non-empty)
# directories will be printed in bold blue.
#
# Color codes are just traditional ANSI escape sequences less the escape char
# and the final 'm'.
# 4-bit (16 colors), 8-bit (256 colors), and 24-bit (RGB/HEX) colors are supported.
# Example:
# 31 4-bit
# 38;5;160 8-bit
# 38;2;255;0;0 24-bit (RGB)
# #ff0000 24-bit (HEX)
#
# A single attribute can be used for hex colors using a dash and an attribute
# number (RRGGBB-[1-9]), where 1-9 is:
#
# 1: Bold or increased intensity
# 2: Faint, decreased intensity or dim
# 3: Italic (Not widely supported)
# 4: Underline
# 5: Slow blink
# 6: Rapid blink
# 7: Reverse video or invert
# 8: Conceal or hide (Not widely supported)
# 9: Crossed-out or strike
#
# For example, to print bold red color, the hex code is #ff0000-1
### Use some variables to hold your color codes
#
# The 'define' keyword allows you to define up to 128 custom color variables.
# They can be used for:
# FiletypeColors
# InterfaceColors
# ExtColors
# DirIconColor
#
# For example;
#
# define M=1;36
# el=M
#
# Here we define 'M' as "00;01;36", and then we use this color for ELN's,
# whose code is 'el' (see below).
### Xterm-like color names are also supported. Example:
#
# el=DarkSeaGreen1
#
# Or, as a definition:
#
# define Green=DarkSeaGreen1
# el=Green
#
# Just as with hex colors, a single attribute can be appended to color names.
# For example, 'DarkSeaGreen1-1' to get the bold version of this color.
#
# For the complete list of color names consult the manpage.
define D=0 # Default terminal color
define BD=1 # Bold
define DIM=2 # Dimmed
define R4=31 # Red (4-bit)
define BR4=1;31 # Bold red (4-bit)
define DR4=2;31 # Dimmed red (4-bit)
define G=38;5;76 # Green
define G4=32 # Green (4-bit)
define BG4=1;32 # Bold green (4-bit)
define DG4=2;32 # Dimmed green (4-bit)
define Y=38;5;228 # Yellow
define BY=1;38;5;229 # Bold yellow
define LY=38;5;185 # Light yellow
define DY4=2;33 # Dimmed yellow (4-bit)
define BY4=1;33 # Bold yellow (4-bit)
define B4=34 # Blue (4-bit)
define BB4=1;34 # Bold blue (4-bit)
define DB4=2;34 # Dimmed blue (4-bit)
define M=38;5;170 # Magenta
define BM4=1;35 # Bold magenta (4-bit)
define DM4=2;35 # Dimmed magenta (4-bit)
define UM4=4;35 # Underlined magenta (4-bit)
define UDM4=4;2;35 # Underlined dimmed magenta (4-bit)
define C=38;5;43 # Cyan
define C4=36 # Cyan (4-bit)
define BC4=1;36 # Bold cyan (4-bit)
define DC4=2;36 # Dimmed cyan (4-bit)
define BDC4=1;2;36 # Bold dimmed cyan (4-bit)
define RC4=7;36 # Reverse cyan (4-bit)
define UDC4=4;2;36 # Underlined dimmed cyan (4-bit)
define O=38;5;214 # Orange
define BO=1;38;5;214 # Bold orange
define P=38;5;140 # Purple
define DW=38;5;246 # Dimmed white
define DW4=2;37 # Dimmed white (4-bit)
define UDW4=4;2;37 # Underlined dimmed white (4-bit)
# Foreground-background combinations
define URW=4;31;47 # Red foreground, white background
define WR=37;41 # White foreground, red background
# K stands for black (B is used for Blue)
define KY=30;43 # Black foreground, yellow background
define KR=30;41 # Black foreground, red background
define KG=30;42 # Black foreground, green background
define BlGr=34;42 # Blue foreground, green background
define WB=37;44 # white foreground, blue background
# File groups (used for file extensions)
define DOC=38;5;228 # Yellow
define VIDEO=1;35 # Bold magenta (4-bit)
define IMAGE=35 # Magenta (4-bit)
define SOUND=38;5;214 # Orange
define CODE=1;38;5;247 # Bold gray
define ARCHIVE=1;31 # Bold red (4-bit)
define BOOK=38;5;223 # Salmon
define MARKUP=38;5;85 # Aqua
define TEMP=38;5;247 # Dimmed white
### To know what are we applying colors to, we use the following codes:
## File types
# bd = Block device
# ca = File with capabilities
# cd = Char device
# ed = Empty directory
# ee = Empty executable file
# ex = Executable file
# ef = Empty regular file
# fi = Regular file
# di = Directory
# ln = Symbolic link
# mh = Multi-hardlink file
# nd = Directory with no read permission
# ne = Empty directory with no read permission
# nf = Regular file with no read permission
# no = Unknown
# oo = Door (Solaris only)
# or = Broken symlink
# ow = Other-writable
# pi = FIFO/pipe
# sg = SGID file
# so = Socket
# st = Sticky (not other-writable)
# su = SUID file
# tw = Sticky and other-writable
# uf = Non-'stat'able file
## Interface
# bm = Bookmarked directory
# fc = Files counter
# df = Default color
# dl = Dividing line
# el = ELN color
# lc = Symlink indicator (for ColorLinksAsTarget only)
# mi = Misc indicators
# ts = TAB completion suffix
# tt = Tilde for trimmed files
# wc = Welcome message
## Auto-suggestions
# sb = Shell builtins
# sc = External commands and aliases
# sd = Internal commands description
# sf = File names
# sh = History
# sx = Internal commands and parameters
# sp = BAEJ suggestions pointer
# sz = File names (fuzzy)
## Syntax highlighting
# hb = Brackets () [] {}
# hc = Comments
# hd = Paths (slashes)
# he = Expansion operators: * ~
# hn = Numbers
# hp = Parameters: -
# hq = Quoted strings
# hr = Redirection >
# hs = Process separators | & ; */
# hv = Variables $ */
# hw = Wrong, non-existent command name
## File properties
# dd = Date (1)
# dg = UID, GID
# dn = dash (none)
# do = Permissions in octal notation
# dp = Special files (SUID, SGID, etc)
# dr = Read
# dw = Write
# dxd = Execute (dirs)
# dxr = Execute (reg files)
# dz = Size (1)
# (1) If unset, gradient colors will be used (default)
## Workspaces
# wsN = Workspace number N
## Prompt notifications
# em = Errors
# li = Selected files indicator
# nm = Notices
# ti = Trash indicator
# tx = Command line text
# si = Stealth mode indicator
# wm = Warnings
# xs = Exit code: success
# xf = Exit code: failure
# NOTE: Whenever a code is unset, the default value is used
# FiletypeColors defines the color used for file names when listing files,
# just as InterfaceColors defines colors for CliFM's interface.
FiletypeColors="bd=BY:ca=KR:cd=BO:di=BB4:ed=DB4:ee=G4:ef=DIM:ex=BG4:fi=D:ln=BC4:mh=RC4:nd=BR4:nf=DR4:no=URW:or=UDC4:ow=BlGr:pi=M:sg=KY:so=BM4:st=WB:su=WR:tw=KG:uf=UDW4:"
InterfaceColors="bm=BG4:dd=:df=D:dg=P:dl=DW4:dn=:do=:dp=:dr=:dw=:dxd=:dxr=:dz=:el=C4:em=BR4:fc=DW:hb=C4:hc=DW4:hd=C4:he=C4:hn=:hp=C4:hq=LY:hr=R4:hs=G4:hv=G4:lc=C:li=BG4:mi=BC4:nm=BG4:si=BB4:sb=DY4:sc=DC4:sd=DW4:sf=UDC4:sh=DM4:sp=DR4:sx=DG4:sz=UDM4:ti=BC4:ts=UM4:tt=BDC4:tx=D:wc=BC4:wm=Y:ws1=B4:ws2=R4:ws3=Y:ws4=G4:ws5=C:ws6=O:ws7=M:ws8=DW:xf=BR4:xs=G4:"
# Colors for specific file extensions (case insensitive)
ExtColors="*.tar=ARCHIVE:*.tgz=ARCHIVE:*.arc=ARCHIVE:*.arj=ARCHIVE:*.taz=ARCHIVE:*.lha=ARCHIVE:*.lz4=ARCHIVE:*.lzh=ARCHIVE:*.lzma=ARCHIVE:*.tlz=ARCHIVE:*.txz=ARCHIVE:*.tzo=ARCHIVE:*.t7z=ARCHIVE:*.zip=ARCHIVE:*.z=ARCHIVE:*.dz=ARCHIVE:*.gz=ARCHIVE:*.lrz=ARCHIVE:*.lz=ARCHIVE:*.lzo=ARCHIVE:*.xz=ARCHIVE:*.zst=ARCHIVE:*.tzst=ARCHIVE:*.bz2=ARCHIVE:*.bz=ARCHIVE:*.tbz=ARCHIVE:*.tbz2=ARCHIVE:*.tz=ARCHIVE:*.deb=ARCHIVE:*.rpm=ARCHIVE:*.jar=ARCHIVE:*.war=ARCHIVE:*.ear=ARCHIVE:*.sar=ARCHIVE:*.rar=ARCHIVE:*.alz=ARCHIVE:*.ace=ARCHIVE:*.zoo=ARCHIVE:*.cpio=ARCHIVE:*.7z=ARCHIVE:*.rz=ARCHIVE:*.cab=ARCHIVE:*.wim=ARCHIVE:*.swm=ARCHIVE:*.dwm=ARCHIVE:*.esd=ARCHIVE:*.apk=ARCHIVE:*.iso=ARCHIVE:*.img=ARCHIVE:*.avif=IMAGE:*.jpg=IMAGE:*.jpeg=IMAGE:*.jxl=IMAGE:*.mjpg=IMAGE:*.mjpeg=IMAGE:*.gif=IMAGE:*.bmp=IMAGE:*.xbm=IMAGE:*.xpm=IMAGE:*.png=IMAGE:*.svg=IMAGE:*.svgz=IMAGE:*.pcx=IMAGE:*.pbm=IMAGE:*.pgm=IMAGE:*.ppm=IMAGE:*.tga=IMAGE:*.tif=IMAGE:*.tiff=IMAGE:*.mng=IMAGE:*.mov=VIDEO:*.mpg=VIDEO:*.mpeg=VIDEO:*.m2v=VIDEO:*.mkv=VIDEO:*.webm=VIDEO:*.webp=VIDEO:*.ogm=VIDEO:*.mp4=VIDEO:*.m4v=VIDEO:*.mp4v=VIDEO:*.vob=VIDEO:*.qt=VIDEO:*.nuv=VIDEO:*.wmv=VIDEO:*.asf=VIDEO:*.rm=VIDEO:*.rmvb=VIDEO:*.flc=VIDEO:*.avi=VIDEO:*.fli=VIDEO:*.flv=VIDEO:*.gl=VIDEO:*.dl=VIDEO:*.xcf=VIDEO:*.xwd=VIDEO:*.yuv=VIDEO:*.cgm=VIDEO:*.emf=VIDEO:*.ogv=VIDEO:*.ogx=VIDEO:*.aac=SOUND:*.au=SOUND:*.m4a=SOUND:*.mid=SOUND:*.midi=SOUND:*.mp3=SOUND:*.mka=SOUND:*.ogg=SOUND:*.opus=SOUND:*.spx=SOUND:*.wma=SOUND:*.wv=SOUND:*.wav=SOUND:*.flac=SOUND:*.aif=SOUND:*.pdf=BOOK:*.djvu=BOOK:*.epub=BOOK:*.mobi=BOOK:*.cbr=BOOK:*.cbz=BOOK:*.ps=DOC:*.sxw=DOC:*.doc=DOC:*.docx=DOC:*.xls=DOC:*.xlsx=DOC:*.xlr=DOC:*.sxi=DOC:*.ppt=DOC:*.pptx=DOC:*.odt=DOC:*.ods=DOC:*.odp=DOC:*.odg=DOC:*.rtf=DOC:*.c=CODE:*.c++=CODE:*.cc=CODE:*.cpp=CODE:*.h=CODE:*.h++=CODE:*.hh=CODE:*.go=CODE:*.java=CODE:*.js=CODE:*.lua=CODE:*.php=CODE:*.py=CODE:*.rb=CODE:*.rs=CODE:*.kt=CODE:*.kts=CODE:*.hs=CODE:*.pl=CODE:*.vb=CODE:*.html=MARKUP:*.htm=MARKUP:*.shtml=MARKUP:*.xhtml=MARKUP:*.xml=MARKUP:*.rss=MARKUP:*.css=MARKUP:*.tex=MARKUP:*.ltx=MARKUP:*.md=MARKUP:*.opf=MARKUP:*.cache=TEMP:*.tmp=TEMP:*.temp=TEMP:*.log=TEMP:*.bak=TEMP:*.bk=TEMP:*.in=TEMP:*.out=TEMP:*.part=TEMP:*.aux=TEMP:*.old=TEMP:*.orig=TEMP:*.rej=TEMP:*.swp=TEMP:*.pid=TEMP:"
# The series of color shades used to print timestamps
# The format is: "COLOR-TYPE,ERROR,SHADE1,SHADE2,SHADE3,SHADE4,SHADE5"
#
# COLOR-TYPE is one of: 1 (4-bit: 8 colors), 2 (8-bit: 256 colors), 3 (24-bit: truecolor)
# ERROR is the color used to print bad values
# SHADEn is the color used for the shade N
#
# For 4-bit colors (1), valid colors are in the range 30-37
# For 8-bit colors (2), valid colors are in the range 0-255
# For 24-bit colors (3), valid colors have this format: #RRGGBB
#
# An attribute (0-9) can be added to any color (either ERROR or SHADE) using a dash.
# For example:
# "34-1" -> "bold blue" (4-bit colors notation)
# "226-2" -> "dimmed yellow" (8-bit colors notation)
# "#ffaff00-4" -> "underlined orange" (24-bit colors notation)
#DateShades="1,31-2,36-1,36,36-2"
DateShades="2,197-2,231,253,250,247,244"
#DateShades="3,#ff005f-2,#ffffff,#dadada,#bcbcbc,#9e9e9e,#808080"
#NOTE: For DateShades to work, the 'dd' color code (solid color for dates) needs to be unset (default)
# Same as DateShades, but for file sizes
#SizeShades="1,31-2,32,33,31"
SizeShades="2,197-2,79,77,228,215,203"
#SizeShades="3,#ff005f-2,#5fd7af,#5fd75f,#ffff87,#ffaf5f,#ff5f5f"
#NOTE: For SizeShades to work, the 'dz' color code (solid color for sizes) needs to be unset (default)
# If icons are enabled, use this color for directories icon (only for icons-in-terminal and Nerd-fonts)
DirIconColor="Y"
# The prompt used by CliFM. Use the 'prompt' command to check for available
# prompts. Enter 'prompt --help' for more information
# You can use here either prompt codes (see the prompts.clifm file for details)
# or a prompt name defined in the prompts file
Prompt="clifm"
# Override prompt values (as defined in the prompts file)
#Prompt=""
#Notifications=
#EnableWarningPrompt=
#WarningPrompt=""
# The string used to construct the line dividing the list of files and
# the prompt (Unicode is supported). Possible values:
# "0": Print just an empty line
# "C": C is a single char. This char is printed up to the end of the screen
# "CCC": 3 or more chars. Only these chars (no more) will be printed
# "": Print a special line drawn with box-drawing characters (not
# supported by all terminals/consoles)
# The color of this line is controlled by the 'dl' code in InterfaceColors
DividingLine="-"
# If the fzf TAB completion mode is enabled, pass these options to fzf(1):
FzfTabOptions="--color='16,prompt:6,fg+:-1,pointer:4,hl:2,hl+:2,gutter:-1,marker:2,border:7:dim' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
# Same options, but colorless
#FzfTabOptions="--color='bw' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
# For more information consult fzf(1)

View File

@ -1,223 +0,0 @@
# Theme file for CliFM
# Theme name: clifm
# Author: L. Abramovich
# License: GPL3
### How do we define colors?
#
# FiletypeColors, InterfaceColors, and ExtColors use the same format used
# by the LS_COLORS environment variable. Thus, "di=01;34" means that (non-empty)
# directories will be printed in bold blue.
#
# Color codes are just traditional ANSI escape sequences less the escape char
# and the final 'm'.
# 4-bit, 8-bit (256 colors), and 24-bit (RGB/HEX) colors are supported.
# Example:
# 31 4-bit
# 38;5;160 8-bit
# 38;2;255;0;0 24-bit (RGB)
# #ff0000 24-bit (HEX)
#
# One attribute can be used for hex colors using a dash and an attribute
# number (RRGGBB-[1-9]), where 1-9 is:
#
# 1: Bold or increased intensity
# 2: Faint, decreased intensity or dim
# 3: Italic (Not widely supported)
# 4: Underline
# 5: Slow blink
# 6: Rapid blink
# 7: Reverse video or invert
# 8: Conceal or hide (Not widely supported)
# 9: Crossed-out or strike
#
# For example, to print bold red color, the hex code is #ff0000-1
### Use some variables to hold your color codes
#
# The 'define' keyword allows you to define up to 64 custom color variables.
# They can be used for:
# FiletypeColors
# InterfaceColors
# ExtColors
# DirIconColor
#
# For example, if 'M' is defined as "00;01;36", we can use this color for
# ELN's as follows: "el=M" (see below)
define D=0 # Default terminal foreground color
#define BD=1 # Bold (keep current color)
define BD=0;1 # Bold (reset foreground color)
define R=31 # Red
define BR=1;31 # Bold red
define DR=2;31 # Dimmed red
define UDR=4;2;31 # Underlined dimmed red
define UBR=4;1;31 # Underlined bold red
define G=32 # Green
define BG=1;32 # Bold green
define DG=2;32 # Dimmed green
define Y=33 # Yellow
define BY=1;33 # Bold yellow
define DY=2;33 # Dimmed yellow
define B=34 # Blue
define BB=1;34 # Bold blue
define DB=2;34 # Dimmed blue
define M=35 # Magenta
define BM=1;35 # Bold Magenta
define DM=2;35 # Dimmed magenta
define UM=4;35 # Underlined magenta
define C=36 # Cyan
define BC=1;36 # Bold cyan
define DC=2;36 # Dimmed cyan
define RC=7;36 # Reverse cyan
define UDC=4;2;36 # Underlined dimmed cyan
define BDC=1;2;36 # Bold dimmed cyan
define DW=2;37 # Dimmed white
define UDW=4;2;37 # Underlined dimmed white
# Foreground-background combinations
define URW=4;31;47 # Red foreground, white background
define WR=37;41 # White foreground, red background
# K stands for black (B is used for Blue)
define KY=30;43 # Black foreground, yellow background
define KR=30;41 # Black foreground, red background
define KG=30;42 # Black foreground, green background
# BG is already used for bold green
define BlGr=34;42 # Blue foreground, green background
define WB=37;44 # white foreground, blue background
### To know what are we applying colors to, we use the following codes:
## File types
# bd = Block device
# ca = File with capabilities
# cd = Char device
# ed = Empty directory
# ee = Empty executable file
# ex = Executable file
# ef = Empty regular file
# fi = Regular file
# di = Directory
# ln = Symbolic link
# mh = Multi-hardlink file
# nd = Directory with no read permission
# ne = Empty directory with no read permission
# nf = Regular file with no read permission
# no = Unknown
# or = Broken symlink
# ow = Other-writable
# pi = FIFO/pipe
# sg = SGID file
# so = Socket
# st = Sticky (not other-writable)
# su = SUID file
# tw = Sticky and other-writable
# uf = Non-'stat'able file
## Interface
# bm = Bookmarked directory
# fc = Files counter
# df = Default color
# dl = Dividing line
# el = ELN color
# mi = Misc indicators
# ts = TAB completion suffix
# tt = Tilde for trimmed files
# wc = Welcome message
# wp = Warning prompt
## Auto-suggestions
# sb = Shell builtins
# sc = External commands and aliases
# sf = File names
# sh = History
# sx = Internal commands and parameters
# sp = BAEJ suggestions pointer
## Syntax highlighting
# hb = Brackets () [] {}
# hc = Comments
# hd = Paths (slashes)
# he = Expansion operators: * ~
# hn = Numbers
# hp = Parameters: -
# hq = Quoted strings
# hr = Redirection >
# hs = Process separators | & ; */
# hv = Variables $ */
# hw = Wrong, non-existent command name
## File properties
# dr = Read
# dw = Write
# dxd = Execute (dirs)
# dxr = Execute (reg files)
# dg = UID, GID
# dd = Date
# dz = Size (dirs)
# do = Permissions in octal notation
# dp = Special files (SUID, SGID, etc)
# dn = dash (none)
## Workspaces
# wsN = Workspace number N
## Prompt notifications
# em = Errors
# li = Selected files indicator
# nm = Notices
# ti = Trash indicator
# tx = Command line text
# si = Stealth mode indicator
# wm = Warnings
# xs = Exit code: success
# xf = Exit code: failure
# FiletypeColors defines the color used for file names when listing files,
# just as InterfaceColors defines colors for CliFM's interface.
FiletypeColors="bd=BY:ca=KR:cd=BD:di=BB:ed=DB:ee=G:ef=DY:ex=BG:fi=D:ln=BC:mh=RC:nd=UBR:ne=UDR:nf=UDR:no=URW:or=UDC:ow=BlGr:pi=M:sg=KY:so=BM:st=WB:su=WR:tw=KG:uf=UDW:"
InterfaceColors="bm=BG:dd=C:df=D:dg=Y:dl=DW:dn=DW:dr=Y:do=C:dp=M:dw=R:dxd=G:dxr=C:dz=G:el=C:em=BR:fc=DB:hb=C:hc=DR:hd=C:he=C:hn=M:hp=C:hq=Y:hr=R:hs=G:hv=G:li=BG:mi=BC:nm=BG:si=BB:sb=DY:sc=DC:sf=UDC:sh=DM:sp=DR:sx=DG:ti=BC:ts=UM:tt=BDC:tx=D:wc=BC:wm=BY:wp=DR:ws1=B:ws2=R:ws3=Y:ws4=G:ws5=C:ws6=C:ws7=C:ws8=C:xf=BR:xs=G:"
# Colors for specific file extensions
ExtColors="*.tar=BR:*.tgz=BR:*.taz=BR:*.lha=BR:*.lz4=BR:*.lzh=BR:*.lzma=BR:*.tlz=BR:*.txz=BR:*.tzo=BR:*.t7z=BR:*.zip=BR:*.z=BR:*.dz=BR:*.gz=BR:*.lrz=BR:*.lz=BR:*.lzo=BR:*.xz=BR:*.zst=BR:*.tzst=BR:*.bz2=BR:*.bz=BR:*.tbz=BR:*.tbz2=BR:*.tz=BR:*.deb=BR:*.rpm=BR:*.rar=BR:*.cpio=BR:*.7z=BR:*.rz=BR:*.cab=BR:*.jpg=BM:*.JPG=BM:*.jpeg=BM:*.mjpg=BM:*.mjpeg=BM:*.gif=BM:*.GIF=BM:*.bmp=BM:*.xbm=BM:*.xpm=BM:*.png=BM:*.PNG=BM:*.svg=BM:*.pcx=BM:*.mov=BM:*.mpg=BM:*.mpeg=BM:*.m2v=BM:*.mkv=BM:*.webm=BM:*.webp=BM:*.ogm=BM:*.mp4=BM:*.MP4=BM:*.m4v=BM:*.mp4v=BM:*.vob=BM:*.wmv=BM:*.flc=BM:*.avi=BM:*.flv=BM:*.m4a=BY:*.mid=BY:*.midi=BY:*.mp3=BY:*.MP3=BY:*.ogg=BY:*.wav=BY:*.pdf=BR:*.PDF=BR:*.doc=M:*.docx=M:*.xls=M:*.xlsx=M:*.ppt=M:*.pptx=M:*.odt=M:*.ods=M:*.odp=M:*.cache=DW:*.tmp=DW:*.temp=DW:*.log=DW:*.bak=DW:*.bk=DW:*.in=DW:*.out=DW:*.part=DW:*.aux=DW:*.c=BD:*.c++=BD:*.h=BD:*.cc=BD:*.cpp=BD:*.h=BD:*.h++=BD:*.hh=BD:*.go=BD:*.java=BD:*.js=BD:*.lua=BD:*.rb=BD:*.rs=BD:"
# If icons are enabled, use this color for directories icon
DirIconColor="Y"
# The prompt used by CliFM. Use the 'prompt' command to check for available
# prompts. Enter 'prompt --help' for more information
# You can use here either prompt codes (see the prompts.clifm file for details)
# or a prompt name defined in the prompts file
Prompt="clifm"
# Override prompt values (as defined in the prompts file)
#Prompt=""
#Notifications=
#EnableWarningPrompt=
#WarningPrompt=""
# The string used to construct the line dividing the list of files and
# the prompt (Unicode is supported). Possible values:
# "0": Print just an empty line
# "C": C is a single char. This char is printed up to the end of the screen
# "CCC": 3 or more chars. Only these chars (no more) will be printed
# "": Print a special line drawn with box-drawing characters (not
# supported by all terminals/consoles)
# The color of this line is controlled by the 'dl' code in InterfaceColors
DividingLine="-"
# If the fzf TAB completion mode is enabled, pass these options to fzf(1):
FzfTabOptions="--color='16,prompt:6,fg+:-1,pointer:4,hl:5,hl+:5,gutter:-1,marker:2,border:7:dim' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
# Same options, but colorless
#FzfTabOptions="--color='bw' --marker='*' --bind tab:accept,right:accept,left:abort,alt-p:toggle-preview,change:top,alt-up:preview-page-up,alt-down:preview-page-down --inline-info --layout=reverse-list --preview-window=wrap,border-left"
# For more information consult fzf(1)

View File

@ -1,147 +0,0 @@
# Keybindings file for CliFM
# Emacs style key escapes are the simplest way of setting your
# keybindings. For example, use "action:\C-t" to bind the action name
# 'action' to Ctrl-t
# Note: available action names are defined below
# If you need some more control, hex, octal, and decimal notation is
# also supported (this is needed for example for function keys). For
# the sake of simplicity, CliFM provides a plugin to easily get the
# adequate codes.
# Use the 'kbgen' plugin (compile it first: gcc -o kbgen kbgen.c) to
# find out the escape code for the key o key sequence you want. Use
# either octal, hexadecimal codes or symbols.
# Ex: For Alt-/ (in rxvt terminals) 'kbgen' will print the following
# lines:
# Hex | Oct | Symbol
# ---- | ---- | ------
# \x1b | \033 | ESC (\e)
# \x2f | \057 | /
# In this case, the keybinding, if using symbols, is: "\e/:function"
# In case you prefer the hex codes it would be: \x1b\x2f:function.
# GNU emacs escape sequences are also allowed (ex: "\M-a", Alt-a
# in most keyboards, or "\C-r" for Ctrl-r).
# Some codes, especially those involving keys like Ctrl or the arrow
# keys, vary depending on the terminal emulator and the system settings.
# These keybindings should be set up thus on a per terminal basis.
# You can also consult the terminfo database via the infocmp command.
# See terminfo(5) and infocmp(1).
# Alt-j
previous-dir:\M-j
# Shift-left (rxvt)
previous-dir2:\e[d
# Shift-left (xterm)
previous-dir3:\e[2D
# Shift-left (others)
previous-dir4:\e[1;2D
# Alt-k
next-dir:\M-k
# Shift-right (rxvt)
next-dir2:\e[c
# Shift-right (xterm)
next-dir3:\e[2C
# Shift-right (others)
next-dir4:\e[1;2C
first-dir:\C-\M-j
last-dir:\C-\M-k
# Alt-u
parent-dir:\M-u
# Shift-up (rxvt)
parent-dir2:\e[a
# Shift-up (xterm)
parent-dir3:\e[2A
# Shift-up (others)
parent-dir4:\e[1;2A
# Alt-e
home-dir:\M-e
# Home key (rxvt)
#home-dir2:\e[7~
# Home key (xterm)
#home-dir3:\e[H
# Home key (Emacs term)
#home-dir4:\e[1~
# Alt-r
root-dir:\M-r
# Alt-/ (rxvt)
root-dir2:\e/
#root-dir3:
pinned-dir:\M-p
workspace1:\M-1
workspace2:\M-2
workspace3:\M-3
workspace4:\M-4
# Help
# F1-3
show-manpage:\eOP
show-manpage2:\e[11~
show-cmds:\eOQ
show-cmds2:\e[12~
show-kbinds:\eOR
show-kbinds2:\e[13~
archive-sel:\C-\M-a
bookmark-sel:\C-\M-b
bookmarks:\M-b
clear-line:\M-c
clear-msgs:\M-t
create-file:\M-n
deselect-all:\M-d
export-sel:\C-\M-e
dirs-first:\M-g
lock:\M-o
mountpoints:\M-m
move-sel:\C-\M-n
new-instance:\C-x
next-profile:\C-\M-p
only-dirs:\M-,
open-sel:\C-\M-g
paste-sel:\C-\M-v
prepend-sudo:\M-v
previous-profile:\C-\M-o
rename-sel:\C-\M-r
remove-sel:\C-\M-d
refresh-screen:\C-r
selbox:\M-s
select-all:\M-a
show-dirhist:\M-h
sort-previous:\M-z
sort-next:\M-x
toggle-hidden:\M-i
toggle-hidden2:\M-.
toggle-light:\M-y
toggle-long:\M-l
toggle-max-name-len:\C-\M-l
toggle-disk-usage:\C-\M-i
toggle-virtualdir-full-paths:\M-w
trash-sel:\C-\M-t
untrash-all:\C-\M-u
# F6-12
open-mime:\e[17~
open-preview:\e[18~
#open-jump-db:\e[18~
edit-color-scheme:\e[19~
open-keybinds:\e[20~
open-config:\e[21~
open-bookmarks:\e[23~
quit:\e[24~
# Plugins
# 1) Make sure your plugin is in the plugins directory (or use any of the
# plugins in there)
# 2) Link pluginx to your plugin using the 'actions edit' command. Ex:
# "plugin1=myplugin.sh"
# 3) Set a keybinding here for pluginx. Ex: "plugin1:\M-7"
#plugin1:
#plugin2:
#plugin3:
#plugin4:

View File

@ -1 +0,0 @@
*0:/home/repo

View File

@ -1,39 +0,0 @@
######################
# CliFM actions file #
######################
# Define here your custom actions. Actions are custom command names
# bound to a executable file located either in DATADIR/clifm/plugins
# (usually /usr/share/clifm/plugins) or in $XDG_CONFIG_HOME/clifm/plugins.
# Actions can be executed directly from CliFM command line, as if they
# were any other command, and the associated file will be executed
# instead. All parameters passed to the action command will be passed
# to the corresponding plugin as well.
+=finder.sh
++=jumper.sh
-=fzfnav.sh
*=fzfsel.sh
**=fzfdesel.sh
//=rgfind.sh
_=fzcd.sh
bcp=batch_copy.sh
bn=batch_create.sh
cr=cprm.sh
da=disk_analyzer.sh
dh=fzfdirhist.sh
dr=dragondrop.sh
fdups=fdups.sh
gg=pager.sh
h=fzfhist.sh
i=img_viewer.sh
ih=ihelp.sh
kbgen=kbgen
kd=decrypt.sh
ke=encrypt.sh
music=music_player.sh
ptot=pdf_viewer.sh
rrm=recur_rm.sh
update=update.sh
vid=vid_viewer.sh
wall=wallpaper_setter.sh

View File

@ -1,6 +0,0 @@
### This is the bookmarks file for clifm ###
# Empty and commented lines are ommited
# The bookmarks syntax is: [shortcut]name:path
# Example:
[c]clifm:/home/repo/.config/clifm/profiles/default

View File

@ -1,366 +0,0 @@
###########################################
# CLIFM #
# The command line file manager #
###########################################
# This is CliFM's main configuration file
# Commented and empty lines are ignored
#=====================================#
# 1. INTERFACE #
#=====================================#
# Show hidden files (i.e. files starting with a dot)?
ShowHiddenFiles=false
# Use a regular expression to filter files from the files list.
# Example: "!.*~$" to exclude backup files (ending with ~), or "^\." to
# list only hidden files.
Filter=""
# List directories first?
ListDirsFirst=true
# The amount of files contained by a directory is informed next
# to the directory name. However, this feature might slow things down
# when, for example, listing files on a remote server. The files counter
# can be disabled here, via the --no-files-counter option, or using the
# 'fc' command while in the program itself.
# Note: Classify (see below) must be set to true.
FilesCounter=true
# If running with colors, append directory indicator to directories. If
# running without colors (via the --no-color option), append file type
# indicator at the end of file names:
# '/' for directories
# '@' for symbolic links
# '=' for sockets
# '|' for FIFO/pipes
# '*' for for executable files
# '?' for unknown file types
# Bear in mind that when running in light mode the check for executable
# files won't be performed, and thereby no indicator will be added to
# executable files.
# Note: Setting this option to false disables the files counter.
Classify=true
# How to list files: 0 = vertically (like ls(1) would), 1 = horizontally
ListingMode=0
# Choose sorting method: 0 = none, 1 = name, 2 = size, 3 = atime
# 4 = btime (ctime if not available), 5 = ctime, 6 = mtime, 7 = version
# (name if not available) 8 = extension, 9 = inode, 10 = owner,
# 11 = group
Sort=1
# By default, CliFM sorts files from less to more (ex: from 'a' to 'z' if
# using the "name" method). To invert this ordering, set SortReverse to
# true (you can also use the --sort-reverse option or the 'st' command)
SortReverse=false
# Enable Mas, the files list pager (executed whenever the list of files
# does not fit in the screen)
Pager=false
# List files properties next to file names instead of just file names
LongViewMode=false
# Properties fields to be printed for each file name in long view mode
# d: inode number
# p|n = permissions: either symbolic (p) or numeric/octal (n)
# i = user/group IDs
# a|m|c = last (a)ccess, (m)odification, or status (c)hange time (YYYY-MM-DD HH:MM)
# s = size
# Defaults to "pims" (symbolic notation and modification time)
# A single dash ("-") disables all fields
# Ex: print only permissions (numeric) and size:
#PropFields="ns"
PropFields="pims"
# If running in long view, print directories full size (including contents)
FullDirSize=false
# Print files apparent size instead of actual device usage (Linux only)
ApparentSize=false
# In light mode, extra file type checks (except those provided by
# the d_type field of the dirent structure (see readdir(3))
# are disabled to speed up the listing process. stat(3) and access(3)
# are not executed at all, so that we cannot know in advance if a file
# is readable by the current user, if it is executable, SUID, SGID, if a
# symlink is broken, and so on. The file extension check is ignored as
# well, so that the color per extension feature is disabled.
LightMode=false
# If set to true, clear the screen before listing files
ClearScreen=true
# Maximum file name length for listed files. Names larger than
# MAXFILENAMELEN will be truncated at MAXFILENAMELEN using a tilde
# Set it to -1 (or empty) to remove this limit
# When running in long mode, this setting is overriden by MinFilenameTrim
MaxFilenameLen=20
# Minimum length at which a file name can be trimmed in long view mode
# (including ELN length and spaces). When running in long mode, this
# setting overrides MaxFilenameLen.
MinFilenameTrim=20
# A comma separated list of workspace names in the form NUM=NAME
# Example: "1=MAIN,2=EXTRA,3=GIT" or "1=α,2=β,3=γ"
WorkspaceNames=""
# Print the disk usage of the file system the current directory belongs to
# in the form FREE/TOTAL
DiskUsage=false
# If set to true, print a map of the current position in the directory
# history list, showing previous, current, and next entries
DirhistMap=false
# If set to true, always print the list of selected files. Since this
# list could become quite extensive, you can limit the number of printed
# entries using the MaxPrintSelfiles option (-1 = no limit, 0 = auto
# (never print more than half terminal height), or any custom value)
PrintSelfiles=false
# Maximum amount of selected files to be printed if PrinSelFiles is set
# to true. Possible values: -1 = no limit, 0 = auto (never print more
# than half terminal height), or any custom value
MaxPrintSelfiles=0
# Color schemes (or just themes) are stored in the colors directory
# ($XDG_DATA_DIRS/clifm/colors, usually /usr/local/share/clifm/colors
# or /usr/share/clifm/colors). You can place your custom themes in
# $HOME/.config/clifm/colors
#
# Use the 'cs' command or the '--color-scheme' command line option to set
# a theme
#
# Run 'cs edit' to edit the current theme
#
# Each theme includes color definitions, just as definitions for the
# prompt, the warning prompt, the dividing line, and the FZF window
#
# Use TAB to list available themes: 'cs TAB'
#
# Visit https://github.com/leo-arch/clifm-colors to get some extra themes
ColorScheme=default
#=====================================#
# 2. COMMAND LINE #
#=====================================#
# TAB completion mode: 'standard', 'fzf', 'fzy' or 'smenu'. Defaults
# to 'fzf' if the binary is found in PATH. Othwerwise, the standard
# mode is used
TabCompletionMode=
# Preview files if using the fzf mode for TAB completion
FzfPreview=false
# If set to true, enable auto-suggestions
AutoSuggestions=true
# The following checks will be performed in the order specified
# by SuggestionStrategy. Available checks:
# a = Aliases names\n\
# b = Bookmarks names\n\
# c = Possible completions\n\
# e = ELN's
# f = File names in current directory\n\
# h = Commands history\n\
# j = Jump database\n\
# Use a dash (-) to skip a check. Ex: 'ehfj-ac' to skip the bookmarks
# check
SuggestionStrategy=ehfjbac
# If set to true, suggest file names using the corresponding file type
# color (set via the color scheme file)
SuggestFiletypeColor=false
# Enable syntax highlighting?
SyntaxHighlighting=true
# Should CliFM be allowed to run external, shell commands?
ExternalCommands=true
# If set to true, expand bookmark names into the corresponding bookmark
# path: if the bookmark is "name=/path", "name" will be interpreted
# as /path. TAB completion is available for bookmark names.
ExpandBookmarks=false
#=====================================#
# 3. COMMANDS #
#=====================================#
# List files automatically after changing current directory
AutoLs=true
# If set to true, a command name that is the name of a directory or a
# file is executed as if it were the argument to the the 'cd' or the
# 'open' commands respectivelly: 'cd DIR' works the same as just 'DIR'
# and 'open FILE' works the same as just 'FILE'.
Autocd=true
AutoOpen=true
# If set to true, the 'r' command executes 'trash' instead of 'rm'.
TrashAsRm=false
# Set the default copy command. Available options are: 0 = 'cp -iRp',
# 1 = 'cp -Rp', 2 = 'advcp -giRp', 3 = 'advcp -gRp', 4 = 'wcp', and
# 5 = 'rsync -avP'. Options 2-5 include a progress bar for the copy command.
cpCmd=0
# Set the default move command. Available options are: 0 = 'mv -i',
# 1 = 'mv', 2 = 'advmv -gi', and 3 = 'advmv -g'.
# Options 2 and 3 include a progress bar for the move command.
mvCmd=0
# If set to true, the 'r' command will never prompt before removals.
# rm(1) is invoked with the -f flag
rmForce=false
# Choose the resource opener to open files with their default associated
# application (e.g. Ranger's rifle or xdg-open). If not set, 'lira',
# CliFM's built-in opener, is used instead.
Opener=
# Only used when opening a directory via a new CliFM instance (with the
# 'x' command), this option specifies the command to be used to launch a
# terminal emulator to run CliFM on it.
TerminalCmd="xterm -e"
# We have three search strategies: 0 = glob-only, 1 = regex-only,
# and 2 = glob-regex. Used by the quick search function
SearchStrategy=2
# When a directory rank in the jump database is below MinJumpRank, it
# will be forgotten
MinJumpRank=10
# When the sum of all ranks in the jump database reaches MaxJumpTotalRank,
# all ranks will be reduced 10%, and those falling below MinJumpRank will
# be deleted
MaxJumpTotalRank=100000
# Automatically purge the jump database from non-existing directories at
# startup. Note that this will remove paths pointing to unmounted removable
# devices and remote file systems
PurgeJumpDB=false
#=====================================#
# 4. LOGS AND HISTORY #
#=====================================#
# Send errors, warnings, and notices to the notification daemon?
DesktopNotifications=false
# Keep track of errors and warnings
Logs=false
# Keep a record of external commands and internal commands able to modify the
# files system (e.g. 'r', 'c', 'm', and so on). Logs must be set to true.
LogCmds=false
# Keep only the last N lines of the log file
MaxLog=1000
# Limit the size of the commands history file to N entries
MaxHistory=1000
# Limit the size of the directory history file to N entries
MaxDirhist=100
#=====================================#
# 5. MISC #
#=====================================#
# Enable case sensitive listing for files in the current directory
CaseSensitiveList=false
# Enable case sensitive lookup for the directory jumper function (via
# the 'j' command)
CaseSensitiveDirJump=false
# Enable case sensitive completion for file names
CaseSensitivePathComp=false
# Enable case sensitive search
CaseSensitiveSearch=false
# Whether to be Unicode aware or not. If using a 100% ASCII setup
# (e.g. English), you can turn this off
Unicode=true
# CliFM's starting path. If not specified, it defaults to the current
# working directory
StartingPath=
# If set to true, start CliFM in the last visited directory (and in the
# last used workspace). This option overrides StartingPath.
RestoreLastPath=true
# MaxPath is only used for the /p option of the prompt: the current
# working directory will be abbreviated to its basename (everything after
# the last slash) whenever the current path is longer than MaxPath.
MaxPath=40
# Set readline editing mode: 0 for vi and 1 for emacs (default).
RlEditMode=1
# Write the last visited directory to $XDG_CONFIG_HOME/clifm/.last to be
# later accessed by the corresponding shell function at program exit.
# To enable this feature consult the manpage.
CdOnQuit=false
# Should the Selection Box be shared among different profiles?
ShareSelbox=false
# Print a usage tip at startup
Tips=true
# Just a kind welcome message at startup
WelcomeMessage=true
# Print CliFM's logo screen at startup
SplashScreen=false
#=====================================#
# 6. ALIASES #
#=====================================#
# Bind '?' to the interactive help plugin. Run 'actions' to print the # list of available plugins
#alias ?='ih'
# Bind 'b' to the directory history navigation plugin
#alias b='dh'
# Replace the standard deselect command (ds) by the fzfdesel plugin
#alias ds='**'
# You can use this alias to quickly change to the current virtual directory
#alias vtd='cd $CLIFM_VIRTUAL_DIR'
# Replace the built-in bulk rename function (br) by vidir(1)
#br='vidir'
#=====================================#
# 7. PROMPT COMMANDS #
#=====================================#
# Write below the commands you want to be executed before each prompt. Ex:
#promptcmd /usr/local/share/clifm/plugins/git_status.sh
#promptcmd date | awk '{print $1", "$2,$3", "$4}'
#=====================================#
# 8. AUTOCOMMANDS #
#=====================================#
# Control CliFM's settings on a per directory basis. For more information
# consult the manpage
# Remote file systems are slow: let's speed this up by enabling the light
# mode and disabling the files counter
#autocmd /media/remotes/** lm=1,fc=0
# Just a friendly reminder
#autocmd ~/important !printf "Keep your fingers outta here!\n" && read -n1
# Plenty of images and vids? Launch the files previewer plugin
#autocmd ~/Downloads !/usr/local/share/clifm/plugins/fzfnav.sh

View File

@ -1,5 +0,0 @@
/home/repo
/home/repo/Downloads/GiveMeDaBadge
/home/repo
/home/repo/.config/BetterDiscord/plugins
/home/repo

View File

@ -1,2 +0,0 @@
1:1666540776:1666540776:/home/repo
@700

View File

@ -1,138 +0,0 @@
###################################
# Configuration file for Lira #
# CliFM's resource opener #
###################################
# Commented and blank lines are omitted
# The below settings cover the most common filetypes
# It is recommended to edit this file placing your prefered applications
# at the beginning of the apps list to speed up the opening process
# The file is read top to bottom and left to right; the first existent
# application found will be used
# Applications defined here are NOT desktop files, but commands (arguments
# could be used as well). Bear in mind that these commands will be executed
# directly without shell intervention, so that no shell goodies (like pipes,
# conditions, loops, etc) are available. In case you need something more
# complex than a single command (including shell capabilities) write your
# own script and place the path to the script in place of the command.
# For example: X:^text/.*:~/scripts/my_cool_script.sh
# Applications defined here are NOT desktop files, but commands (arguments
# could be used as well). Write you own handmade scripts to open specific
# files if necessary. Ex: X:^text/.*:~/scripts/my_cool_script.sh
# Use 'X' to specify a GUI environment and '!X' for non-GUI environments,
# like the kernel built-in console or a remote SSH session.
# Use 'N' to match file names instead of MIME types.
# Regular expressions are allowed for both file types and file names.
# Use the %f placeholder to specify the position of the file name to be
# opened in the command. Example:
# 'mpv %f --terminal=no' -> 'mpv FILE --terminal=no'
# If %f is not specified, the file name will be added to the end of the
# command. Ex: 'mpv --terminal=no' -> 'mpv --terminal=no FILE'
# Running the opening application in the background:
# For GUI applications:
# APP %f &
# For terminal applications:
# TERM -e APP %f &
# Replace 'TERM' and 'APP' by the corresponding values. The -e option
# might vary depending on the terminal emulator used (TERM)
# Note on graphical applications: If the opening application is already
# running, the file will be opened, usually in a new tab, and CliFM won't
# wait for the file to be closed (because the procecss already returned).
# To avoid this, instruct the application to run a new instance. For example:
# geany -i, gedit -s, kate -n, pluma --new-window, and so on.
# To silence STDERR and/or STDOUT use !E and !O respectivelly (they could
# be used together). Examples:
# Silence STDERR only and run in the foreground:
# mpv %f !E
# Silence both (STDERR and STDOUT) and run in the background:
# mpv %f !EO &
# or
# mpv %f !E !O &
# Environment variables could be used as well. Example:
# X:text/plain=$EDITOR %f &;$VISUAL;nano;vi
# Use Ranger's rifle (or whatever opener you prefer) to open all files
#X:N:.*=rifle
#!X:N:.*=rifle
###########################
# File names/extensions #
###########################
# Match a full file name
#X:N:some_filename=cmd
# Match all file names starting with 'str'
#X:N:^str.*=cmd
# Match files with extension 'ext'
#X:N:.*\.ext$=cmd
X:N:.*\.djvu$=djview;zathura;evince;atril
X:N:.*\.epub$=mupdf;zathura;ebook-viewer
X:N:.*\.mobi$=ebook-viewer
X:N:.*\.(cbr|cbz)$=mcomix;YACReader;qcomicview;zathura
X:N:(.*\.clifm$|clifmrc)=$EDITOR;$VISUAL;kak;micro;nvim;vim;vi;mg;emacs;ed;nano;mili;leafpad;mousepad;featherpad;gedit -s;kate -n;pluma --new-window
!X:N:(.*\.clifm$|clifmrc)=$EDITOR;$VISUAL;kak;micro;nvim;vim;vi;mg;emacs;ed;nano
##################
# MIME types #
##################
# Directories - only for the open-with command (ow) and the --open command
# line option
# In graphical environments directories will be opened in a new window
X:inode/directory=xterm -e clifm %f &;xterm -e vifm %f &;pcmanfm %f &;thunar %f &;xterm -e ncdu %f &
!X:inode/directory=vifm;ranger;nnn;ncdu
# Web content
X:^text/html$=$BROWSER;surf;vimprobable;vimprobable2;qutebrowser;dwb;jumanji;luakit;uzbl;uzbl-tabbed;uzbl-browser;uzbl-core;iceweasel;midori;opera;firefox;seamonkey;brave;chromium-browser;chromium;google-chrome;epiphany;konqueror;elinks;links2;links;lynx;w3m
!X:^text/html$=$BROWSER;elinks;links2;links;lynx;w3m
# Text
#X:^text/x-(c|shellscript|perl|script.python|makefile|fortran|java-source|javascript|pascal)$=geany
X:(^text/.*|application/json|inode/x-empty)=$EDITOR;$VISUAL;kak;micro;dte;nvim;vim;vi;mg;emacs;ed;nano;mili;leafpad;mousepad;featherpad;nedit;kate;gedit;pluma;io.elementary.code;liri-text;xed;atom;nota;gobby;kwrite;xedit
!X:(^text/.*|application/json|inode/x-empty)=$EDITOR;$VISUAL;kak;micro;dte;nvim;vim;vi;mg;emacs;ed;nano
# Office documents
X:^application/.*(open|office)document.*=libreoffice;soffice;ooffice
# Archives
# Note: 'ad' is CliFM's built-in archives utility (based on atool). Remove it if you
# prefer another application
X:^application/(zip|gzip|zstd|x-7z-compressed|x-xz|x-bzip*|x-tar|x-iso9660-image)=ad;xarchiver %f &;lxqt-archiver %f &;ark %f &
!X:^application/(zip|gzip|zstd|x-7z-compressed|x-xz|x-bzip*|x-tar|x-iso9660-image)=ad
# PDF
X:.*/pdf$=mupdf;sioyek;llpp;lpdf;zathura;mupdf-x11;apvlv;xpdf;evince;atril;okular;epdfview;qpdfview
# Images
X:^image/gif$=animate;pqiv;sxiv -a;nsxiv -a
X:^image/svg=display;inkscape
X:^image/.*=fim;sxiv;nsxiv;pqiv;gpicview;qview;qimgv;mirage;ristretto;eog;eom;xviewer;viewnior;nomacs;geeqie;gwenview;gthumb;gimp
!X:^image/.*=fim;img2txt;cacaview;fbi;fbv
# Video and audio
X:^video/.*=ffplay;mplayer;mplayer2;mpv;vlc;gmplayer;smplayer;celluloid;qmplayer2;haruna;totem
X:^audio/.*=ffplay -nodisp -autoexit;mplayer;mplayer2;mpv;vlc;gmplayer;smplayer;totem
# Fonts
X:^font/.*=fontforge;fontpreview
# Torrent:
X:application/x-bittorrent=rtorrent;transimission-gtk;transmission-qt;deluge-gtk;ktorrent
# Fallback to another resource opener as last resource
.*=xdg-open;mimeo;mimeopen -n;whippet -m;open;linopen;

View File

@ -1,62 +0,0 @@
#####################################
# Remotes management file for CliFM #
#####################################
# Blank and commented lines are omitted
# The syntax is as follows:
# A name for this remote. It will be used by the 'net' command
# and will be available for TAB completion
# [work_smb]
# Comment=My work samba server
# Mountpoint=/home/user/.config/clifm/mounts/work_smb
# Use %m as a placeholder for Mountpoint
# MountCmd=mount.cifs //WORK_IP/shared %m -o OPTIONS
# UnmountCmd=umount %m
# Automatically mount this remote at startup
# AutoMount=true
# Automatically unmount this remote at exit
# AutoUnmount=true
# A few examples
# A. Samba share
#[samba_share]
#Comment=my samba share
#Mountpoint="~/.config/clifm/mounts/samba_share"
#MountCmd=sudo mount.cifs //192.168.0.26/resource_name %m -o mapchars,credentials=/etc/samba/credentials/samba_share
#UnmountCmd=sudo umount %m
#AutoUnmount=false
#AutoMount=false
# B. SSH file system (sshfs)
#[my_ssh]
#Comment=my ssh
#Mountpoint="/media/ssh"
#MountCmd=sshfs user@192.168.0.12: %m -C -p 22
#UnmountCmd=fusermount3 -u %m
#AutoUnmount=false
#AutoMount=false
# C. Mounting a local file system
#[local]
#Comment=Local filesystem
#Mountpoint="/media/extra"
#MountCmd=sudo mount -U 1232dsd761278... %m
#UnmountCmd=sudo umount %m
#AutoUnmount=false
#AutoMount=true
# D. Mounting a removable device
#[USB]
#Comment=My USB drive
#Mountpoint="/media/usb"
#MountCmd=sudo mount -o gid=1000,fmask=113,dmask=002 -U 5647-1... %m
#UnmountCmd=sudo umount %m
#AutoUnmount=true
#AutoMount=false

View File

@ -1,59 +0,0 @@
######################################
# Configuration file for Shotgun #
# CliFM's file previewer #
######################################
# Commented and blank lines are omitted
# It is recommended to edit this file setting your preferred applications
# first: the previewing process will be smoother and faster this way
# You can even remove whatever applications you don't use
# For syntax details consult the mimelist.clifm file
# Uncomment this line to use pistol (or any other previewing script)
#.*=pistol
# Uncomment and edit this line to use Ranger's scope script:
#.*=/home/USER/.config/ranger/scope.sh %f 120 80 /tmp/clifm/ True
# Directories
inode/directory=exa -a --tree --level=1 --;lsd -A --tree --depth=1 --color=always;tree -a -L 1;ls -Ap --color=always --indicator-style=none;
# Web content
^text/html$=w3m -dump;lynx -dump --;elinks -dump;pandoc -s -t markdown --;
# Text
^text/rtf=catdoc --;
N:.*\.json$=jq --color-output . ;python -m json.tool --;
N:.*\.md$=glow -s dark --;mdcat --;
^text/.*=highlight -f --out-format=xterm256 --force --;bat --style=plain --color=always --;cat --;
# Office documents
N:.*\.xlsx$=xlsx2csv --;file -b --;
N:.*\.(odt|ods|odp|sxw)$=odt2txt;pandoc -s -t markdown --;
^application/(.*wordprocessingml.document|.*epub+zip|x-fictionbook+xml)=pandoc -s -t markdown --;
^application/msword=catdoc --;file -b --;
^application/ms-excel=xls2csv --;file -b --;
# Archives
N:.*\.rar=unrar lt -p- --;
application/zstd=file -b --;true
application/(zip|gzip|x-7z-compressed|x-xz|x-bzip*|x-tar)=atool --list --;bsdtar --list --file;
# PDF
^application/pdf$=pdftotext -l 10 -nopgbrk -q -- %f -;mutool draw -F txt -i --;exiftool;
# Image, video, and audio
^image/vnd.djvu=djvutxt;exiftool;
^image/.*=exiftool;
^video/.*=mediainfo;exiftool;
^audio/.*=mediainfo;exiftool;
# Torrent:
application/x-bittorrent=transmission-show --;
# Fallback
.*=file -b --;
# Add true(1) to silence the 'no application found' warning
#.*=file -b --;true;

View File

@ -1,9 +0,0 @@
# This is CliFM's profile file
#
# Write here the commands you want to be executed at startup
# Ex:
#echo "CliFM, the command line file manager"; read -r
#
# Uncommented, non-empty lines are executed line by line. If you
# want a multi-line command, just write a script for it:
#sh /path/to/my/script.sh

View File

@ -1,170 +0,0 @@
# This file is part of CliFM
# Prompts for CliFM
# Do not edit this file directly: use the 'prompt' command instead
# The regular prompt (just as the warning one, a secondary prompt used
# to highlight invalid/non-existent command names) is built using command
# substitution ($(cmd)), string literals and/or one or more of the
# following escape sequences:
# The prompt line is build using command substitution ($(cmd)), string
# literals and/or the following escape sequences:
#
# \e: Escape character
# \u: The username
# \H: The full hostname
# \h: The hostname, up to the first dot (.)
# \s: The name of the shell (everything after the last slash) currently
# used by CliFM
# \S: Current workspace number (colored according to wsx code in the color
# scheme file)
# \l: Print an L if running in light mode
# \P: The current profile name
# \n: A newline character
# \r: A carriage return
# \a: A bell character
# \d: The date, in abbreviated form (ex: Tue May 26)
# \t: The time, in 24-hour HH:MM:SS format
# \T: The time, in 12-hour HH:MM:SS format
# \@: The time, in 12-hour am/pm format
# \A: The time, in 24-hour HH:MM format
# \w: The full current working directory, with $HOME abbreviated with a
# tilde
# \W: The basename of $PWD, with $HOME abbreviated with a tilde
# \p: A mix of the two above, it abbreviates the current working directory
# only if longer than PathMax (a value defined in the configuration
# file).
# \z: Exit code of the last executed command (printed in green in case of
# success and in bold red in case of error)
# \$: #, if the effective user ID is 0 (root), and $ otherwise
# \nnn: The character whose ASCII code is the octal value nnn
# \\: A literal backslash
# \[: Begin a sequence of non-printing characters. This is mostly used to
# add color to the prompt line (using full ANSI escape sequences)
# \]: End a sequence of non-printing characters
#
# The following files statistics escape sequences are available as well:
#
# \D: Amount of sub-directories in the current directory
# \R: Amount of regular files in the current directory
# \X: Amount of executable files in the current directory
# \.: Amount of hidden files in the current directory
# \U: Amount of SUID files in the current directory
# \G: Amount of SGID files in the current directory
# \F: Amount of FIFO/pipe files in the current directory
# \K: Amount of socket files in the current directory
# \B: Amount of block device files in the current directory
# \C: Amount of character device files in the current directory
# \x: Amount of files with capabilities in the current directory
# \L: Amount of symbolic links in the current directory
# \o: Amount of broken symbolic links in the current directory
# \M: Amount of multi-link files in the current directory
# \E: Amount of files with extended attributes in the current directory
# \O: Amount of other-writable files in the current directory
# \": Amount of files with the sticky bit set in the current directory
# \?: Amount of files of unknown file type in the current directory
# \!: Amount of unstatable files in the current directory
# Escape codes to control prompt notifications:
#
# \*: An asterisk + amount of selected files (e.g. *12)
# \%: 'T' + amount of trashed files (e.g. T3)
# \#: Print an 'R' if running as root
# \(: 'E' + amount of error messages (e.g. E2)
# \): 'W' + amount of warning messages (e.g. W2)
# \=: 'N' + amount of notice messages (e.g. N1)
#
# NOTE: Except in the case of \#, nothing is printed if the corresponding
# number is zero (no selected files, no trashed files, and so on)
# Unicode characters could be inserted by directly pasting the
# corresponding char, or by inserting its hex code:
# echo -ne "paste_your_char" | hexdump -C
# Set Notifications to false to prevent the automatic insertion of
# root, trash, messages (error, warning, and notice), and selected files
# indicators at the left of the prompt, in which case the prompt code
# should handle itself this data using the appropriate escape codes
# To permanetly set any of the below prompts edit your color scheme file
# (via the 'cs edit' command), set Prompt to either the prompt code or
# the prompt name you want (e.g. Prompt="classic"), and comment out the
# remaining prompt lines
#
# NOTE: Since the below prompts have been designed for CliFM's default
# color scheme, you might need to edit the one you choose manually to
# make it fit your current color scheme. For example, the last color
# used in the warning prompt should match the 'wp' color defined in your
# color scheme file
[clifm]
Notifications=true
RegularPrompt="\[\e[0m\][\[\e[0;36m\]\S\[\e[0m\]]\l \A \u:\H \[\e[0;36m\]\w\n\[\e[0m\]<\z\[\e[0m\]> \[\e[0;34m\]\$ \[\e[0m\]"
EnableWarningPrompt=true
WarningPrompt="\[\e[00;02;31m\](!) > "
#[clifm-colorless]
#Notifications=true
#RegularPrompt="\[\e[0m\][\S]\l \A \u:\H \w\n<\z\[\e[0m\]> \$ "
#EnableWarningPrompt=true
#WarningPrompt="(!) > "
[clifm-box-drawing]
# The box drawing set isn't supported by all terminals
Notifications=false
RegularPrompt="\[\e[0m\]\[\e[0;36m\]\[\e(0\]lq\[\e(B\]\[\e[0;31m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[0m\][\S\[\e[0m\]]\l \A \u:\H \[\e[0;36m\]\w\n\[\e[0;36m\]\[\e(0\]mq\[\e(B\]\[\e[0m\]<\z\[\e[0m\]> \[\e[0;34m\]\$ \[\e[0m\]"
EnableWarningPrompt=true
WarningPrompt="\[\e[0;36m\]\[\e(0\]mq\[\e(B\]\[\e[0m\]<\z\[\e[0m\]> \[\e[1;31m\]\! \[\e[00;02;31m\]"
[classic]
Notifications=true
RegularPrompt="\[\e[1;32m\][\u@\H] \[\e[1;34m\]\w \[\e[0m\]\$ "
EnableWarningPrompt=true
WarningPrompt="\[\e[1;32m\][\u@\H] \[\e[1;34m\]\w \[\e[1;31m\]! \[\e[00;02;31m\]"
[security-scanner]
# Print file statistics about the current directory (-:-:-:-) in this order:
# SUID, SGID, other-writable, and executable files
Notifications=true
RegularPrompt="\[\e[0m\][\[\e[0;36m\]\S\[\e[0m\]]\l \[\e[0m\]\[\e[1;31m\]\U\[\e[0m\]:\[\e[1;33m\]\G\[\e[0m\]:\[\e[1;34m\]\O\[\e[0m\]:\[\e[1;32m\]\X\[\e[0m\] \A \[\e[0;36m\]\w\n\[\e[0m\]<\z\[\e[0m\]> \[\e[0;34m\]\$ \[\e[0m\]"
EnableWarningPrompt=true
WarningPrompt="\[\e[00;02;31m\](!) > "
[curves]
Notifications=false
RegularPrompt="\[\e[00;01;32m\]╭─\[\e[0m\]\[\e[1;32m\]\*\[\e[1;36m\]\%\[\e[1;31m\]\(\[\e[1;33m\]\)\[\e[1;32m\]\=\[\e[0m\][\S\[\e[0m\]]\[\e[01;32m\]─\[\e[0m\](\u:\H)\[\e[01;32m\]─\[\e[0m\][\[\e[00;36m\]\w\[\e[0m\]]\n\[\e[01;32m\]╰─\[\e[1;0m\]<\z\[\e[0m\]> \[\e[34m\]λ\[\e[0m\] "
EnableWarningPrompt=true
WarningPrompt="\[\e[0m\]\[\e[01;32m\]╰─\[\e[1;0m\]<\z\[\e[0m\]> \[\e[0;31m\]λ\[\e[00;02;31m\] "
# The prompts below require a patched Nerdfont
[firestarter]
Notifications=false
RegularPrompt="\[\e[01;38;5;124m\]╭─\[\e[38;5;124m\]\[\e[37;48;5;124m\]\[\e[1;37m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[37m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[00;37;48;5;124m\][\S\[\e[37;48;5;124m\]] \[\e[0;48;5;124m\]\A \[\e[00;38;5;124;43m\]\[\e[00;30;43m\] \u:\H \[\e[00;33;48;5;124m\]\[\e[00;37;48;5;124m\] \w \[\e[00;38;5;124m\]\[\e[0m\]\n\[\e[01;38;5;124m\]╰─▶ \[\e[0m\]"
EnableWarningPrompt=true
WarningPrompt="\[\e[00;01;38;5;124m\]╰─\[\e[0;38;5;124m\]▶ \[\e[00;02;31m\]"
[cold-winter]
Notifications=false
RegularPrompt="\[\e[00;37;100m\]\[\e[1;31m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[0;37;100m\][\S\[\e[00;37;100m\]] \A \[\e[00;90;46m\] \[\e[0;30;46m\]\u:\H \[\e[0;36;100m\] \[\e[00;37;100m\]\w \[\e[00;90;40m\] \n \[\e[1;90m\]\[\e[0m\] "
EnableWarningPrompt=true
WarningPrompt=" \[\e[0m\]\[\e[1;2;31m\] \[\e[00;02;31m\]"
[spot]
Notifications=false
RegularPrompt="\[\e[00;38;5;0;48;5;53m\] \[\e[31m\]\#\[\e[32m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[34m\]\)\[\e[32m\]\=\[\e[00;37;48;5;53m\][\S\[\e[37m\]] \[\e[38;5;53;48;5;178m\] \[\e[00;38;5;0;48;5;178m\]\A \u:\H \w \[\e[00;38;5;178;48;5;0m\]\[\e[0;40m\]\n\[\e[0;38;5;254;48;5;53m\] \$ \[\e[0;38;5;53;48;5;0m\] \[\e[0m\] "
EnableWarningPrompt=true
WarningPrompt="\n\[\e[0;37;48;5;124m\] \x \[\e[0;38;5;124;48;5;0m\] \[\e[00;02;31m\] "
[artic-particles]
Notifications=false
RegularPrompt="\[\e[00;37;48;5;18m\] \A \[\e[00;38;5;18;47m\] \u:\H \[\e[00;37;48;5;18m\] \w \[\e[00;38;5;18;40m\] \n\[\e[00;37;48;5;18m\] \$ \[\e[00;38;5;18;40m\] "
EnableWarningPrompt=true
WarningPrompt="\[\e[00;02;31;47m\] \$ \[\e[00;37;0m\] \[\e[00;02;31m\]"
[green-beret]
Notifications=false
RegularPrompt="╭─\[\e[0;38;5;239;48;5;0m\]\[\e[0;38;5;15;48;5;239m\]\[\e[31m\]\#\[\e[38;5;76m\]\*\[\e[36m\]\%\[\e[31m\]\(\[\e[33m\]\)\[\e[32m\]\=\[\e[38;5;15m\][\S\[\e[38;5;15m\]]  \A \[\e[0;38;5;239;48;5;70m\]\[\e[0;38;5;0;48;5;70m\] \w \[\e[0;38;5;70;48;5;0m\]\n\[\e[0;40m\]╰─\[\e[0;38;5;70;48;5;0m\]▶\[\e[0;40m\] "
EnableWarningPrompt=true
WarningPrompt="\[\e[0;40m\]╰─\[\e[0;38;5;9;48;5;0m\]▶ \[\e[00;02;31m\]"

View File

@ -1,77 +0,0 @@
# Readline keybindings for CliFM
# For the complete list of Readline options see:
# https://www.gnu.org/software/bash/manual/html_node/Readline-Init-File-Syntax.html#Readline-Init-File-Syntax
#$include /etc/inputrc
# Color files by types
set colored-stats on
# Append char to indicate type
set visible-stats on
# Mark symlinked directories
set mark-symlinked-directories on
# Color the common prefix
set colored-completion-prefix on
# Color the common prefix in menu-complete
set menu-complete-display-prefix on
# Disable paste protection
set enable-bracketed-paste on
set show-all-if-ambiguous on
set completion-ignore-case on
set meta-flag on
set input-meta on
set output-meta on
$if mode=emacs
# For linux console and RH/Debian xterm
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word
"\e\e[D": backward-word
"\e[1;5C": forward-word
"\e[1;5D": backward-word
# For rxvt
"\x1b\x4f\x64": backward-word
"\x1b\x4f\x63": forward-word
# A few keybinds to avoid conflicts with CliFM specific keybinds
"\C-d":
"\e\e":
"\C-r\C-r": re-read-init-file
"\C-zA": do-lowercase-version
"\C-zB": do-lowercase-version
"\C-zC": do-lowercase-version
"\C-zD": do-lowercase-version
"\C-zE": do-lowercase-version
"\C-zF": do-lowercase-version
"\C-zG": do-lowercase-version
"\C-zH": do-lowercase-version
"\C-zI": do-lowercase-version
"\C-zJ": do-lowercase-version
"\C-zK": do-lowercase-version
"\C-zL": do-lowercase-version
"\C-zM": do-lowercase-version
"\C-zN": do-lowercase-version
"\C-zO": do-lowercase-version
"\C-zP": do-lowercase-version
"\C-zQ": do-lowercase-version
"\C-zR": do-lowercase-version
"\C-zS": do-lowercase-version
"\C-zT": do-lowercase-version
"\C-zU": do-lowercase-version
"\C-zV": do-lowercase-version
"\C-zW": do-lowercase-version
"\C-zX": do-lowercase-version
"\C-zY": do-lowercase-version
"\C-zZ": do-lowercase-version
# History completion based on prefix
#"\e[A": history-search-backward
#"\e[B": history-search-forward
$endif

View File

@ -1,56 +0,0 @@
# Configuration file for dleyna-renderer
#
#
#
# General configuration options
[general]
# true: Service always stay in memory running
# false: Service quit when the last client disconnects.
never-quit=false
# IPC connector name
connector-name=dbus
# Source port for SSDP messages
#port=4321
# Port for Push host fileserver
# If unset, a random available port will be used.
#push-host-port=5432
# Log configuration options
[log]
# Define the logging output method. 3 technologies are defined:
#
# 0=Syslog
# 1=GLib
# 2=File
log-type=1
# Comma-separated list of logging level.
# Log levels are: 1=critical, 2=error, 3=warning, 4=message, 5=info, 6=debug
#
# Allowed values for log-levels are
# 0 = disabled
# 7 = default (=1,2,5)
# 8 = all (=1,2,3,4,5,6)
# 1,..,6 = a comma separated list of log level
#
# IMPORTANT: This log level is a subset of the log level defined at compile time
# You can't enable levels disabled at compile time
# level=8 means all level flags defined at compile time.
log-level=7
# Network filtering
[netf]
# true: Enable the network filtering.
# false: Disable the network filtering.
netf-enabled=false
# Comma-separated list of interface name, SSID or IP address.
# If netf is enabled but the list is empty, it behaves as disabled.
netf-list=

View File

@ -1,41 +0,0 @@
<monitors version="2">
<configuration>
<logicalmonitor>
<x>1920</x>
<y>0</y>
<scale>1</scale>
<monitor>
<monitorspec>
<connector>HDMI-1-0</connector>
<vendor>SAM</vendor>
<product>U32J59x</product>
<serial>H4LR400976</serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1080</height>
<rate>60.000</rate>
</mode>
</monitor>
</logicalmonitor>
<logicalmonitor>
<x>0</x>
<y>0</y>
<scale>1</scale>
<primary>yes</primary>
<monitor>
<monitorspec>
<connector>eDP-1</connector>
<vendor>AUO</vendor>
<product>0xd1ed</product>
<serial>0x00000000</serial>
</monitorspec>
<mode>
<width>1920</width>
<height>1080</height>
<rate>120.213</rate>
</mode>
</monitor>
</logicalmonitor>
</configuration>
</monitors>

View File

@ -1,8 +0,0 @@
[window]
width=620
height=460
sinkInputType=1
sourceOutputType=1
sinkType=1
sourceType=1
showVolumeMeters=1

View File

@ -1,52 +0,0 @@
[sync]
alwaysshowpkgorigin = yes
develpkgsexpiration = 14
upgradesorting = repo
showdownloadsize = yes
ignoreoutofdateaurupgrades = no
[build]
keepbuilddir = no
keepdevbuilddir = yes
keepbuilddeps = no
gpgdir =
skipfailedbuild = no
ignorearch = no
dynamicusers = root
[review]
noedit = no
donteditbydefault = no
nodiff = no
gitdiffargs = --ignore-space-change,--ignore-all-space
diffpager = auto
hidedifffiles = .SRCINFO
[colors]
version = 10
versiondiffold = 11
versiondiffnew = 9
[ui]
requireenterconfirm = yes
printcommands = no
aursearchsorting = hottest
displaylastupdated = no
groupbyrepository = yes
reversesearchsorting = no
warnaboutpackageupdates =
[misc]
sudoloopinterval = 59
pacmanpath = pacman
privilegeescalationtool = sudo
privilegeescalationtarget = pikaur
userid = 0
[network]
aururl = https://aur.archlinux.org
newsurl = https://www.archlinux.org/feeds/news/
socks5proxy =
aurhttpproxy =
aurhttpsproxy =

View File

@ -1,15 +0,0 @@
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

View File

@ -1 +0,0 @@
en_GB

View File

@ -1,3 +0,0 @@
[General]
window_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x3\xc2\0\0\0 \0\0\ay\0\0\x4\x17\0\0\x3\xc3\0\0\0!\0\0\ax\0\0\x4\x16\0\0\0\0\0\0\0\0\a\x80\0\0\x3\xc3\0\0\0!\0\0\ax\0\0\x4\x16)
window_state=@ByteArray(\0\0\0\xff\0\0\0\0\xfd\0\0\0\0\0\0\x3\xb6\0\0\x3\xf6\0\0\0\x4\0\0\0\x4\0\0\0\b\0\0\0\b\xfc\0\0\0\x1\0\0\0\x2\0\0\0\x1\0\0\0\x14\0G\0u\0i\0T\0\x61\0\x62\0l\0i\0n\0\x65\0\0\0\0\0\xff\xff\xff\xff\0\0\0\0\0\0\0\0)

View File

@ -1,125 +0,0 @@
conky.config = {
--Various settings
background = true, -- forked to background
cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
net_avg_samples = 2, -- The number of samples to average for net data
no_buffers = true, -- Subtract (file system) buffers from used memory?
temperature_unit = 'celsius', -- fahrenheit or celsius
text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
update_interval = 1, -- update interval
imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
-- Placement
alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
gap_x = 1630, -- pixels between right or left border
gap_y = 70, -- pixels between bottom or top border
-- Size
minimum_height = 200, -- minimum height of window
minimum_width = 260, -- minimum width of window
maximum_width = 260, -- maximum width of window
--Graphical
border_inner_margin = 5, -- margin between border and text
border_outer_margin = 5, -- margin between border and edge of window
border_width = 2, -- border width in pixels
default_bar_width = 260, -- default is 0 - full width
default_bar_height = 10, -- default is 6
default_gauge_height = 25, -- default is 25
default_gauge_width =40, -- default is 40
default_graph_height = 40, -- default is 25
default_graph_width = 153, -- default is 0 - full width
default_shade_color = '#000000', -- default shading colour
default_outline_color = '#000000', -- default outline colour
draw_borders = false, -- draw borders around text
draw_graph_borders = true, -- draw borders around graphs
draw_shades = false, -- draw shades
draw_outline = false, -- draw outline
stippled_borders = 0, -- dashing the border
--Textual
format_human_readable = true, -- KiB, MiB rather then number of bytes
font = 'Source Code Pro:bold:size=10', -- the default font used
font2 = 'Raleway:bold:size=30', -- font for the time
font3 = 'Ubuntu:size=14', -- font for the date
font4 = 'Raleway:bold:size=9', -- font for the keybindings heading
max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
max_user_text = 16384, -- max text in conky default 16384
override_utf8_locale = true, -- force UTF8 requires xft
short_units = true, -- shorten units from KiB to k
top_name_width = 21, -- width for $top name value default 15
top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
uppercase = false, -- uppercase or not
use_spacer = 'none', -- adds spaces around certain objects to align - default none
use_xft = true, -- xft font - anti-aliased font
xftalpha = 1, -- alpha of the xft font - between 0-1
--Windows
own_window = true, -- create your own window to draw
own_window_argb_value = 255, -- real transparency - composite manager required 0-255
own_window_argb_visual = true, -- use ARGB - composite manager required
own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop
own_window_colour = '#283036', -- set colour if own_window_transparent no
own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
own_window_title = 'toggle_conky', -- set the name manually
own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel
own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
--Colors (Minimal-Mistakes)
color0 = '#c5a6ff',
color1 = '#e5e9f0',
color2 = '#a6fffc',
color2 = '#a6ffa6',
color3 = '#ffc9a6',
};
conky.text = [[
${alignc}${color0}${font2}${time %I:%M %p}${font}
${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color}
${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu%
${color2}${goto 12}${cpubar 8,254}
${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}%
${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}%
${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}%
${goto 12}${color1}${top name 4}$alignr$color${top cpu 4}%
${goto 12}${color1}${top name 5}$alignr$color${top cpu 5}%
${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax
${color2}${goto 12}${membar 8,254}${color}
${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1}
${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2}
${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3}
${goto 12}${color1}${top_mem name 4}$alignr$color${top_mem mem_res 4}
${goto 12}${color1}${top_mem name 5}$alignr$color${top_mem mem_res 5}
${color1}${hr}${color}
${voffset 18}${color1}${alignc}${font4}Key Cheat Sheet${font}${color}
${color1}${hr}${color}
${color1}[M]${alignr}${color2}MOD${color}
${color1}[A]${alignr}${color2}ALT${color}
${color1}[C]${alignr}${color2}CTRL${color}
${color1}[S]${alignr}${color2}SHIFT${color}
${color1}${hr}${color}
${voffset 18}${color1}${alignc}${font4}i3 Keybindings${font}${color}
${color1}${hr}${color}
${color1}[M]+q${alignr}${color2}close window${color}
${color1}[M]+j/k${alignr}${color2}move win focus${color}
${color1}[M]+[S]+hjkl${alignr}${color2}move window${color}
${color1}[M]+[1-9]${alignr}${color2}switch workspace${color}
${color1}[M]+[S]+[1-9]${alignr}${color2}send window${color}
${color1}[M]+h/l${alignr}${color2}shrink/expand${color}
${color1}${hr}${color}
${color1}[M]+Return${alignr}${color2}open terminal${color}
${color1}[M]+[C]+f${alignr}${color2}open firefox${color}
${color1}[M]+[C]+c${alignr}${color2}open vscode${color}
${color1}[A]+Return${alignr}${color2}open files${color}
${color1}${hr}${color}
${color1}[M]+[S]+r${alignr}${color2}restart i3${color}
${color1}[M]+[S]+q${alignr}${color2}quit i3${color}
${color1}${hr}${color}
${voffset 10}
]];

View File

@ -1,125 +0,0 @@
conky.config = {
--Various settings
background = true, -- forked to background
cpu_avg_samples = 2, -- The number of samples to average for CPU monitoring.
diskio_avg_samples = 10, -- The number of samples to average for disk I/O monitoring.
double_buffer = true, -- Use the Xdbe extension? (eliminates flicker)
if_up_strictness = 'address', -- how strict if testing interface is up - up, link or address
net_avg_samples = 2, -- The number of samples to average for net data
no_buffers = true, -- Subtract (file system) buffers from used memory?
temperature_unit = 'celsius', -- fahrenheit or celsius
text_buffer_size = 2048, -- size of buffer for display of content of large variables - default 256
update_interval = 1, -- update interval
imlib_cache_size = 0, -- disable image cache to get a new spotify cover per song
-- Placement
alignment = 'top_left', -- top_left,top_middle,top_right,bottom_left,bottom_middle,bottom_right,
gap_x = 3540, -- pixels between right or left border
gap_y = 70, -- pixels between bottom or top border
-- Size
minimum_height = 200, -- minimum height of window
minimum_width = 260, -- minimum width of window
maximum_width = 260, -- maximum width of window
--Graphical
border_inner_margin = 5, -- margin between border and text
border_outer_margin = 5, -- margin between border and edge of window
border_width = 2, -- border width in pixels
default_bar_width = 260, -- default is 0 - full width
default_bar_height = 10, -- default is 6
default_gauge_height = 25, -- default is 25
default_gauge_width =40, -- default is 40
default_graph_height = 40, -- default is 25
default_graph_width = 153, -- default is 0 - full width
default_shade_color = '#000000', -- default shading colour
default_outline_color = '#000000', -- default outline colour
draw_borders = false, -- draw borders around text
draw_graph_borders = true, -- draw borders around graphs
draw_shades = false, -- draw shades
draw_outline = false, -- draw outline
stippled_borders = 0, -- dashing the border
--Textual
format_human_readable = true, -- KiB, MiB rather then number of bytes
font = 'Source Code Pro:bold:size=10', -- the default font used
font2 = 'Raleway:bold:size=30', -- font for the time
font3 = 'Ubuntu:size=14', -- font for the date
font4 = 'Raleway:bold:size=9', -- font for the keybindings heading
max_text_width = 0, -- 0 will make sure line does not get broken if width too smal
max_user_text = 16384, -- max text in conky default 16384
override_utf8_locale = true, -- force UTF8 requires xft
short_units = true, -- shorten units from KiB to k
top_name_width = 21, -- width for $top name value default 15
top_name_verbose = false, -- If true, top name shows the full command line of each process - Default value is false.
uppercase = false, -- uppercase or not
use_spacer = 'none', -- adds spaces around certain objects to align - default none
use_xft = true, -- xft font - anti-aliased font
xftalpha = 1, -- alpha of the xft font - between 0-1
--Windows
own_window = true, -- create your own window to draw
own_window_argb_value = 255, -- real transparency - composite manager required 0-255
own_window_argb_visual = true, -- use ARGB - composite manager required
own_window_class = 'Conky', -- manually set the WM_CLASS name for use with xprop
own_window_colour = '#283036', -- set colour if own_window_transparent no
own_window_transparent = false, -- if own_window_argb_visual is true sets background opacity 0%
own_window_title = 'toggle_conky', -- set the name manually
own_window_type = 'override', -- if own_window true options are: normal/override/dock/desktop/panel
own_window_hints = 'undecorated,below,above,sticky,skip_taskbar,skip_pager', -- if own_window true - just hints - own_window_type sets it
--Colors (Minimal-Mistakes)
color0 = '#c5a6ff',
color1 = '#e5e9f0',
color2 = '#a6fffc',
color2 = '#a6ffa6',
color3 = '#ffc9a6',
};
conky.text = [[
${alignc}${color0}${font2}${time %I:%M %p}${font}
${voffset 6}${alignc}${color0}${font3}${time %b %d, %Y}${font}${color}
${voffset 18}${goto 12}${color3}CPU${goto 50}$cpu%
${color2}${goto 12}${cpubar 8,254}
${voffset 5}${goto 12}$font${color1}${top name 1}$alignr$color${top cpu 1}%
${goto 12}${color1}${top name 2}$alignr$color${top cpu 2}%
${goto 12}${color1}${top name 3}$alignr$color${top cpu 3}%
${goto 12}${color1}${top name 4}$alignr$color${top cpu 4}%
${goto 12}${color1}${top name 5}$alignr$color${top cpu 5}%
${voffset 14}${goto 12}${color3}RAM${goto 50}$mem/$memmax
${color2}${goto 12}${membar 8,254}${color}
${goto 12}${voffset 5}${color1}${top_mem name 1}$alignr$color${top_mem mem_res 1}
${goto 12}${color1}${top_mem name 2}$alignr$color${top_mem mem_res 2}
${goto 12}${color1}${top_mem name 3}$alignr$color${top_mem mem_res 3}
${goto 12}${color1}${top_mem name 4}$alignr$color${top_mem mem_res 4}
${goto 12}${color1}${top_mem name 5}$alignr$color${top_mem mem_res 5}
${color1}${hr}${color}
${voffset 18}${color1}${alignc}${font4}Key Cheat Sheet${font}${color}
${color1}${hr}${color}
${color1}[M]${alignr}${color2}MOD${color}
${color1}[A]${alignr}${color2}ALT${color}
${color1}[C]${alignr}${color2}CTRL${color}
${color1}[S]${alignr}${color2}SHIFT${color}
${color1}${hr}${color}
${voffset 18}${color1}${alignc}${font4}i3 Keybindings${font}${color}
${color1}${hr}${color}
${color1}[M]+q${alignr}${color2}close window${color}
${color1}[M]+j/k${alignr}${color2}move win focus${color}
${color1}[M]+[S]+hjkl${alignr}${color2}move window${color}
${color1}[M]+[1-9]${alignr}${color2}switch workspace${color}
${color1}[M]+[S]+[1-9]${alignr}${color2}send window${color}
${color1}[M]+h/l${alignr}${color2}shrink/expand${color}
${color1}${hr}${color}
${color1}[M]+Return${alignr}${color2}open terminal${color}
${color1}[M]+[C]+f${alignr}${color2}open firefox${color}
${color1}[M]+[C]+c${alignr}${color2}open vscode${color}
${color1}[A]+Return${alignr}${color2}open files${color}
${color1}${hr}${color}
${color1}[M]+[S]+r${alignr}${color2}restart i3${color}
${color1}[M]+[S]+q${alignr}${color2}quit i3${color}
${color1}${hr}${color}
${voffset 10}
]];

Binary file not shown.

Binary file not shown.

View File

@ -1,312 +0,0 @@
#!/usr/bin/env python
# # -*-coding:utf-8 -*-
# Auto updated?
# Yes
#File :
# DISCORD BOT
#Author:
# The-Repo-Club [wayne6324@gmail.com]
#Github:
# https://github.com/The-Repo-Club/
#
# Created:
# 19 January 2022, 14:15:12 GMT
# Modified:
# Fri 21 January 2022, 02:29:56 PM [GMT]
#
# Description:
# A cool botfor discord web hooks.
#
import sys, os
import requests
import json
import platform
from PySide6.QtWidgets import QDialog, QLabel, QLineEdit, QPlainTextEdit, QMenu
from PySide6.QtWidgets import QPushButton, QDialogButtonBox, QVBoxLayout, QSystemTrayIcon
from discord_webhook import DiscordWebhook, DiscordEmbed
from PySide6 import QtWidgets
from PySide6.QtGui import QIcon, QAction
from os.path import expanduser, isfile
from datetime import datetime
# for all params, see https://discordapp.com/developers/docs/resources/webhook#execute-webhook
# Discord webhook url:
url = "https://discord.com/api/webhooks/948360001288830997/DBtzzT3sxoFyxjhOmgsbGToaH1k9iDI23Q_QTCy9SltQXkiC3YN87fByd2pUvk8torp4"
avatar_url = "https://cdn.discordapp.com/icons/895523133975572510/6511420be1ad5c7e9cfba0e2214281c1.webp?size=96"
username = "LinkNSync Update"
path = os.path.dirname(os.path.realpath(__file__))
class MainWindow(QDialog):
def __init__(self):
QDialog.__init__(self)
self.hidden = False
tray_icon = QIcon(path+"/tray_icon.png")
self.tray = QSystemTrayIcon(self)
self.tray.setIcon(tray_icon)
self.tray.setToolTip("lol")
self.tray.setVisible(True)
self.menu = QMenu()
self.showHide = QAction("Show/Hide", self)
self.menu.addAction(self.showHide)
self.showHide.triggered.connect(self.showHideApp)
self.quit = QAction("Quit", self)
self.menu.addAction(self.quit)
self.quit.triggered.connect(self.quitApp)
self.menu.updatesEnabled()
self.menu.setUpdatesEnabled(True)
self.tray.setContextMenu(self.menu)
self.tray.show()
self.resize(620,900)
self.setWindowTitle("Discord Bot")
self.msg_id_text_label = QLabel(self)
self.msg_id_text_label.setText('Message ID:')
self.msg_id_text_label.move(10, 10)
self.msg_id_text_entry = QLineEdit(self)
self.msg_id_text_entry.move(110, 5)
self.msg_id_text_entry.resize(505, 25)
self.content_text_label = QLabel(self)
self.content_text_label.setText('Content:')
self.content_text_label.move(10, 40)
self.content_text_entry = QLineEdit(self)
self.content_text_entry.move(110, 35)
self.content_text_entry.resize(505, 25)
self.embed_text_label = QLabel(self)
self.embed_text_label.setText('Title:')
self.embed_text_label.move(10, 70)
self.embed_text_entry = QLineEdit(self)
self.embed_text_entry.move(110, 65)
self.embed_text_entry.resize(250, 25)
self.embed_url_entry = QLineEdit(self)
self.embed_url_entry.move(365, 65)
self.embed_url_entry.resize(250, 25)
self.embed_text_label = QLabel(self)
self.embed_text_label.setText('Footer:')
self.embed_text_label.move(10, 100)
self.embed_footer_entry = QLineEdit(self)
self.embed_footer_entry.move(110, 95)
self.embed_footer_entry.resize(505, 25)
self.embed_text_label = QLabel(self)
self.embed_text_label.setText('Image:')
self.embed_text_label.move(10, 130)
self.embed_image_entry = QLineEdit(self)
self.embed_image_entry.move(110, 125)
self.embed_image_entry.resize(505, 25)
self.msg_text_label = QLabel(self)
self.msg_text_label.setText('Message:')
self.msg_text_label.move(10, 160)
self.msg_text_entry = QPlainTextEdit(self)
self.msg_text_entry.move(110, 155)
self.msg_text_entry.resize(505, 300)
msg_text_button = QPushButton('Send message!', self)
msg_text_button.clicked.connect(self.send_msg)
msg_text_button.move(50, 465)
msg_text_button.resize(150,25)
json_text_button_exit = QPushButton('Get JSON', self)
json_text_button_exit.clicked.connect(self.getJson)
json_text_button_exit.move(280, 465)
json_text_button_exit.resize(100,25)
quit_text_button_exit = QPushButton('Quit', self)
quit_text_button_exit.clicked.connect(self.quitApp)
quit_text_button_exit.move(480, 465)
quit_text_button_exit.resize(100,25)
self.main_window_text_history = QPlainTextEdit(self)
self.main_window_text_history.setReadOnly(1)
self.main_window_text_history.move(10, 495)
self.main_window_text_history.resize(605, 400)
load_history_file(self)
def showHideApp(self):
hidden = self.hidden
if hidden == False:
mainWin.hide()
self.hidden = True
else:
mainWin.show()
self.hidden = False
def send_msg(self):
msg_id_text = self.msg_id_text_entry.text()
msg_text = self.msg_text_entry.document().toPlainText()
time_now = datetime.now()
current_time = time_now.strftime("%d/%m/%Y %H:%M:%S")
color_embed = QtWidgets.QColorDialog.getColor()
if color_embed.isValid():
color_ = int(color_embed.name().replace('#',''), 16)
else:
self.quitApp()
content_text = self.content_text_entry.text()
title_text = self.embed_text_entry.text()
title_url = self.embed_url_entry.text()
footer_text = self.embed_footer_entry.text()
embed_image = self.embed_image_entry.text()
if embed_image != "":
isURL = is_url(embed_image)
if isURL:
isImage = is_image(embed_image)
if not isImage:
self.dialog = noImageTypePopup()
self.dialog.show()
webhook = DiscordWebhook(url=url, content=content_text, avatar_url=avatar_url, username=username)
embed = DiscordEmbed(title=title_text, url=title_url, description=msg_text, color=color_)
embed.set_image(url=embed_image)
if footer_text == "":
footer_text = current_time
embed.set_footer(text=footer_text, icon_url=avatar_url)
# add embed object to webhook
webhook.add_embed(embed)
if msg_id_text is None:
response = webhook.execute()
else:
response = webhook.edit(msg_id_text)
jsonPost = json.dumps(response.json(), indent=4)
jsonGet = json.loads(jsonPost)
message_id = jsonGet['id']
msg_data = {
"username": username,
"avatar_url": avatar_url,
"content": content_text,
"embeds": [
{
"title": title_text,
"url": title_url,
"description": msg_text,
"color": color_,
"image": {
"url": embed_image,
},
"footer": {
"text": footer_text,
"icon_url": avatar_url,
}
}
]
}
json_object = json.dumps(msg_data, indent = 4)
self.main_window_text_history.appendPlainText(json_object + "\n\n")
save_history_file(self, message_id, json_object)
def quitApp(self):
sys.exit()
def getJson(self):
msg_id_text = self.msg_id_text_entry.text()
if msg_id_text is not None:
if platform.system() == 'Linux':
home = expanduser("~")
file = home+'/.cache/discord_history/'+msg_id_text+".json"
if isfile(file):
f = open(file)
data = json.load(f)
json_object = json.dumps(data, indent = 4)
self.content_text_entry.setText(data['content'])
self.embed_text_entry.setText(data['embeds'][0]['title'])
self.embed_url_entry.setText(data['embeds'][0]['url'])
self.embed_footer_entry.setText(data['embeds'][0]['footer']['text'])
self.embed_image_entry.setText(data['embeds'][0]['image']['url'])
self.msg_text_entry.setPlainText(data['embeds'][0]['description'])
self.main_window_text_history.setPlainText(json_object + "\n")
class noImageTypePopup(QDialog):
def __init__(self, parent=None):
super().__init__()
print("Opening a new popup window...")
self.setWindowTitle("Error!")
QBtn = QDialogButtonBox.Ok | QDialogButtonBox.Cancel
self.buttonBox = QDialogButtonBox(QBtn)
self.buttonBox.accepted.connect(self.accept)
self.buttonBox.rejected.connect(self.reject)
self.layout = QVBoxLayout()
message = QLabel("Something happened, please chack the url again?")
self.layout.addWidget(message)
self.layout.addWidget(self.buttonBox)
self.setLayout(self.layout)
def save_history_file(self, message_id, json_object):
if platform.system() == 'Linux':
home = expanduser("~")
discord_history = open(home+'/.cache/discord_history/'+message_id+".json",'w+')
discord_history.write(json_object+"\n")
def load_history_file(self):
if platform.system() == 'Linux':
home = expanduser("~")
if isfile(home+'/.cache/discord_history'):
discord_history = open(home+'/.cache/discord_history','r+')
lines = discord_history.readlines()
# Strips the newline character
for line in lines:
self.main_window_text_history.appendPlainText(line.replace('\n',''))
def is_url(url):
if not url:
raise ValueError("url is required")
try:
resp = requests.head(url)
return True if resp.status_code == 200 else False
except Exception as e:
return False
def is_image(image_url):
try:
image_formats = ("image/png", "image/jpeg", "image/jpg")
r = requests.head(image_url)
if r.headers["content-type"] in image_formats:
return True
return False
except Exception as e:
return False
def mkDirs():
if platform.system() == 'Linux':
home = expanduser("~")
path = home+"/.cache/discord_history/"
isExist = os.path.exists(path)
if not isExist:
os.mkdir(path)
if __name__ == "__main__":
mkDirs()
app = QtWidgets.QApplication(sys.argv)
mainWin = MainWindow()
mainWin.show()
sys.exit( app.exec() )

View File

@ -1,481 +0,0 @@
import logging
import json
import time
import datetime
import requests
from webhook_exceptions import *
logger = logging.getLogger(__name__)
class DiscordWebhook:
"""
Webhook for Discord
"""
def __init__(self, url=None, content=None, username=None, avatar_url=None, **kwargs):
"""
Init Webhook for Discord
---------
:param ``url``: your discord webhook url (type: str, list)\n
:keyword ``content:`` the message contents (type: str)\n
:keyword ``username:`` override the default username of the webhook\n
:keyword ``avatar_url:`` override the default avatar of the webhook\n
:keyword ``tts:`` true if this is a TTS message\n
:keyword ``file``: to apply file(s) with message
(For example: file=f.read() (here, f = variable that contain attachement path as "rb" mode))\n
:keyword ``filename:`` apply custom file name on attached file content(s)\n
:keyword ``embeds:`` list of embedded rich content\n
:keyword ``allowed_mentions:`` allowed mentions for the message\n
:keyword ``proxies:`` dict of proxies\n
:keyword ``timeout:`` (optional) amount of seconds to wait for a response from Discord
"""
self.url = url
self.content = content
self.username = username
self.avatar_url = avatar_url
self.tts = kwargs.get("tts", False)
self.files = kwargs.get("files", dict())
self.embeds = kwargs.get("embeds", [])
self.proxies = kwargs.get("proxies")
self.allowed_mentions = kwargs.get("allowed_mentions")
self.timeout = kwargs.get("timeout")
self.rate_limit_retry = kwargs.get("rate_limit_retry")
def add_file(self, file, filename):
"""
adds a file to the webhook
:param file: file content
:param filename: filename
:return:
"""
self.files["_{}".format(filename)] = (filename, file)
def add_embed(self, embed):
"""
adds an embedded rich content
:param embed: embed object or dict
"""
self.embeds.append(embed.__dict__ if isinstance(embed, DiscordEmbed) else embed)
def remove_embed(self, index):
"""
removes embedded rich content from `self.embeds`
:param index: index of embed in `self.embeds`
"""
self.embeds.pop(index)
def remove_file(self, filename):
"""
removes file from `self.files` using specified `filename` if it exists
:param filename: filename
"""
filename = "_{}".format(filename)
if filename in self.files:
del self.files[filename]
def get_embeds(self):
"""
gets all self.embeds as list
:return: self.embeds
"""
return self.embeds
def set_proxies(self, proxies):
"""
sets proxies
:param proxies: dict of proxies
:type proxies: dict
"""
self.proxies = proxies
def set_content(self, content):
"""
sets content
:param content: content string
:type content: string
"""
self.content = content
@property
def json(self):
"""
convert webhook data to json
:return webhook data as json:
"""
embeds = self.embeds
self.embeds = []
# convert DiscordEmbed to dict
for embed in embeds:
self.add_embed(embed)
data = {
key: value
for key, value in self.__dict__.items()
if value and key not in {"url", "files", "filename"}
}
embeds_empty = not any(data["embeds"]) if "embeds" in data else True
if embeds_empty and "content" not in data and bool(self.files) is False:
logger.error("webhook message is empty! set content or embed data")
return data
def remove_embeds(self):
"""
Sets `self.embeds` to empty `list`.
"""
self.embeds = []
def remove_files(self):
"""
Sets `self.files` to empty `dict`.
"""
self.files = {}
def api_post_request(self, url):
if bool(self.files) is False:
response = requests.post(url, json=self.json, proxies=self.proxies,
params={'wait': True},
timeout=self.timeout)
else:
self.files["payload_json"] = (None, json.dumps(self.json))
response = requests.post(url, files=self.files,
proxies=self.proxies,
timeout=self.timeout)
return response
def api_patch_request(self, url, message_id):
if bool(self.files) is False:
response = requests.patch(url+'/messages/'+str(message_id), json=self.json, proxies=self.proxies, params={'wait': True}, timeout=self.timeout)
else:
self.files["payload_json"] = (None, json.dumps(self.json))
response = requests.patch(url+'/messages/'+str(previous_sent_message_id), files=self.files, proxies=self.proxies, timeout=self.timeout)
return response
def execute(self, remove_embeds=False, remove_files=False):
"""
executes the Webhook
:param remove_embeds: if set to True, calls `self.remove_embeds()` to empty `self.embeds` after webhook is executed
:param remove_files: if set to True, calls `self.remove_files()` to empty `self.files` after webhook is executed
:return: Webhook response
"""
webhook_urls = self.url if isinstance(self.url, list) else [self.url]
urls_len = len(webhook_urls)
responses = []
for i, url in enumerate(webhook_urls):
response = self.api_post_request(url)
if response.status_code in [200, 204]:
logger.debug(
"[{index}/{length}] Webhook executed".format(
index=i+1, length=urls_len
)
)
elif response.status_code == 429 and self.rate_limit_retry:
while response.status_code == 429:
errors = json.loads(
response.content.decode('utf-8'))
wh_sleep = (int(errors['retry_after']) / 1000) + 0.15
time.sleep(wh_sleep)
logger.error(
"Webhook rate limited: sleeping for {wh_sleep} "
"seconds...".format(
wh_sleep=wh_sleep
)
)
response = self.api_post_request(url)
if response.status_code in [200, 204]:
logger.debug(
"[{index}/{length}] Webhook executed".format(
index=i + 1, length=urls_len
)
)
break
else:
logger.error(
"[{index}/{length}] Webhook status code {status_code}: {content}".format(
index=i+1,
length=urls_len,
status_code=response.status_code,
content=response.content.decode("utf-8"),
)
)
responses.append(response)
if remove_embeds:
self.remove_embeds()
if remove_files:
self.remove_files()
return responses[0] if len(responses) == 1 else responses
def edit(self, message_id , remove_embeds=False, remove_files=False):
"""
executes the Webhook
:param remove_embeds: if set to True, calls `self.remove_embeds()` to empty `self.embeds` after webhook is executed
:param remove_files: if set to True, calls `self.remove_files()` to empty `self.files` after webhook is executed
:return: Webhook response
"""
webhook_urls = self.url if isinstance(self.url, list) else [self.url]
urls_len = len(webhook_urls)
responses = []
for i, url in enumerate(webhook_urls):
response = self.api_patch_request(url, message_id)
if response.status_code in [200, 204]:
logger.debug(
"[{index}/{length}] Webhook executed".format(
index=i+1, length=urls_len
)
)
elif response.status_code == 429 and self.rate_limit_retry:
while response.status_code == 429:
errors = json.loads(
response.content.decode('utf-8'))
wh_sleep = (int(errors['retry_after']) / 1000) + 0.15
time.sleep(wh_sleep)
logger.error(
"Webhook rate limited: sleeping for {wh_sleep} "
"seconds...".format(
wh_sleep=wh_sleep
)
)
response = self.api_patch_request(url, message_id)
if response.status_code in [200, 204]:
logger.debug(
"[{index}/{length}] Webhook executed".format(
index=i + 1, length=urls_len
)
)
break
else:
logger.error(
"[{index}/{length}] Webhook status code {status_code}: {content}".format(
index=i+1,
length=urls_len,
status_code=response.status_code,
content=response.content.decode("utf-8"),
)
)
responses.append(response)
if remove_embeds:
self.remove_embeds()
if remove_files:
self.remove_files()
return responses[0] if len(responses) == 1 else responses
def delete(self, sent_webhook):
"""
deletes the webhook passed as a response
:param sent_webhook: webhook.execute() response
:return: Response
"""
sent_webhook = sent_webhook if isinstance(sent_webhook, list) else [sent_webhook]
webhook_len = len(sent_webhook)
responses = []
for i, webhook in enumerate(sent_webhook):
url = webhook.url.split('?')[0] # removes any query params
previous_sent_message_id = json.loads(webhook.content.decode('utf-8'))['id']
response = requests.delete(url+'/messages/'+str(previous_sent_message_id), proxies=self.proxies, timeout=self.timeout)
if response.status_code in [200, 204]:
logger.debug(
"[{index}/{length}] Webhook deleted".format(
index=i + 1,
length=webhook_len,
)
)
else:
logger.error(
"[{index}/{length}] Webhook status code {status_code}: {content}".format(
index=i + 1,
length=webhook_len,
status_code=response.status_code,
content=response.content.decode("utf-8"),
)
)
responses.append(response)
return responses[0] if len(responses) == 1 else responses
class DiscordEmbed:
"""
Discord Embed
"""
def __init__(self, title=None, description=None, hex_color='33ccff', **kwargs):
"""
Init Discord Embed
-----------
:keyword ``title:`` title of embed\n
:keyword ``description:`` description body of embed\n
:keyword ``url:`` add an url to make your embeded title a clickable link\n
:keyword ``timestamp:`` timestamp of embed content\n
:keyword ``color:`` color code of the embed as int\n
:keyword ``hex_color:`` color code of the embed as a hex string\n
:keyword ``footer:`` footer texts\n
:keyword ``image:`` your image url here\n
:keyword ``thumbnail:`` your thumbnail url here\n
:keyword ``video:`` to apply video with embeded, your video source url here\n
:keyword ``provider:`` provider information\n
:keyword ``author:`` author information\n
:keyword ``fields:`` fields information
"""
self.title = title
self.description = description
self.url = kwargs.get("url")
self.timestamp = kwargs.get("timestamp")
self.color = kwargs.get("color")
if self.color:
self.set_color(self.color)
self.hex_color = hex_color
self.footer = kwargs.get("footer")
self.image = kwargs.get("image")
self.thumbnail = kwargs.get("thumbnail")
self.video = kwargs.get("video")
self.provider = kwargs.get("provider")
self.author = kwargs.get("author")
self.fields = kwargs.get("fields", [])
def set_title(self, title):
"""
set title of embed
:param title: title of embed
"""
self.title = title
def set_description(self, description):
"""
set description of embed
:param description: description of embed
"""
self.description = description
def set_url(self, url):
"""
set url of embed
:param url: url of embed
"""
self.url = url
def set_timestamp(self, timestamp=None):
"""
set timestamp of embed content
:param timestamp: (optional) timestamp of embed content
"""
if timestamp is None:
timestamp = time.time()
self.timestamp = str(datetime.datetime.utcfromtimestamp(timestamp))
def set_color(self, color):
"""
set color code of the embed as decimal(int) or hex(string)
:param color: color code of the embed as decimal(int) or hex(string)
"""
self.color = int(color, 16) if isinstance(color, str) else color
if self.color not in range(16777216):
raise ColourNotInRangeException(color)
def set_footer(self, **kwargs):
"""
set footer information of embed
:keyword text: footer text
:keyword icon_url: url of footer icon (only supports http(s) and attachments)
:keyword proxy_icon_url: a proxied url of footer icon
"""
self.footer = {
"text": kwargs.get("text"),
"icon_url": kwargs.get("icon_url"),
"proxy_icon_url": kwargs.get("proxy_icon_url"),
}
def set_image(self, **kwargs):
"""
set image of embed
:keyword url: source url of image (only supports http(s) and attachments)
:keyword proxy_url: a proxied url of the image
:keyword height: height of image
:keyword width: width of image
"""
self.image = {
"url": kwargs.get("url"),
"proxy_url": kwargs.get("proxy_url"),
"height": kwargs.get("height"),
"width": kwargs.get("width"),
}
def set_thumbnail(self, **kwargs):
"""
set thumbnail of embed
:keyword url: source url of thumbnail (only supports http(s) and attachments)
:keyword proxy_url: a proxied thumbnail of the image
:keyword height: height of thumbnail
:keyword width: width of thumbnail
"""
self.thumbnail = {
"url": kwargs.get("url"),
"proxy_url": kwargs.get("proxy_url"),
"height": kwargs.get("height"),
"width": kwargs.get("width"),
}
def set_video(self, **kwargs):
"""
set video of embed
:keyword url: source url of video
:keyword height: height of video
:keyword width: width of video
"""
self.video = {
"url": kwargs.get("url"),
"height": kwargs.get("height"),
"width": kwargs.get("width"),
}
def set_provider(self, **kwargs):
"""
set provider of embed
:keyword name: name of provider
:keyword url: url of provider
"""
self.provider = {
"name": kwargs.get("name"),
"url": kwargs.get("url"),
}
def set_author(self, **kwargs):
"""
set author of embed
:keyword name: name of author
:keyword url: url of author
:keyword icon_url: url of author icon (only supports http(s) and attachments)
:keyword proxy_icon_url: a proxied url of author icon
"""
self.author = {
"name": kwargs.get("name"),
"url": kwargs.get("url"),
"icon_url": kwargs.get("icon_url"),
"proxy_icon_url": kwargs.get("proxy_icon_url"),
}
def add_embed_field(self, **kwargs):
"""
set field of embed
:keyword name: name of the field
:keyword value: value of the field
:keyword inline: (optional) whether or not this field should display inline
"""
self.fields.append(
{
"name": kwargs.get("name"),
"value": kwargs.get("value"),
"inline": kwargs.get("inline", True),
}
)
def del_embed_field(self, index):
"""
remove field from `self.fields`
:param index: index of field in `self.fields`
"""
self.fields.pop(index)
def get_embed_fields(self):
"""
get all `self.fields` as list
:return: `self.fields`
"""
return self.fields

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -1,13 +0,0 @@
class ColourNotInRangeException(Exception):
"""
A valid colour must take an integer value between 0 and 16777216 inclusive
This Exception will be raised when a colour is not in that range.
"""
def __init__(self, color):
self.color = color
def __str__(self):
return repr('"{}" is not in valid range of colors. The valid ranges '
'of colors are 0 to 16777215 inclusive (INTEGERS) and 0 '
'to FFFFFF inclusive (HEXADECIMAL)'.format(self.color))

View File

@ -1,3 +0,0 @@
[settings]
commands=False
config=~/.config/dk/sxhkdrc

View File

@ -1,236 +0,0 @@
#!/usr/bin/env bash
#-*-coding:utf-8 -*-
#Auto updated?
# Yes
#File:
# dkrc
#Author:
# The-Repo-Club [wayne6324@gmail.com]
#Github:
# https://github.com/The-Repo-Club/
#
#Created:
# Sun 23 April 2023, 09:31:18 PM [GMT+1]
#Modified:
# Mon 24 April 2023, 05:07:42 PM [GMT+1]
#
#Description:
# Config for DK Window Manager
#
#Dependencies:
# dk, bash
#
# Autostart stuff if its not already started
if [[ -f "$HOME/.config/dk/scripts/autostart" ]]; then
sh "$HOME/.config/dk/scripts/autostart"
fi
# example dkrc to show some basic command usage and error reporting
# determine where to place the log file
logfile="$HOME/.dkrc.log"
[ -d "$HOME/.local/share/xorg" ] && logfile="$HOME/.local/share/xorg/dkrc.log"
: > "$logfile"
# (re)load sxhkd for keybinds
if hash sxhkd >/dev/null 2>&1; then
pkill sxhkd
sxhkd -c "$HOME/.config/dk/sxhkdrc" &
fi
# adjust border widths based on the DPI of the monitor
px=$(xrandr | grep ' connected' | tail -n1 | grep -o '[0-9]\+x[0-9]\+' | cut -d'x' -f2)
mm=$(xrandr | grep ' connected' | tail -n1 | grep -o '[0-9]\+mm' | tail -n1 | sed 's/mm//')
dpi=$(( (px / mm) * 25 ))
if [ $dpi -ge 140 ]; then
border_width=16
border_outer_width=8
elif [ $dpi -ge 120 ]; then
border_width=10
border_outer_width=5
else
border_width=6
border_outer_width=3
fi
{ # compound command to redirect all output
# workspace settings
# ------------------------
# initialize 10 workspaces (1-10) (default: 1/monitor)
dkcmd set numws=10
# default workspace '_' values used when allocating new workspaces
# can be applied to all existing workspaces when passed 'apply' after ws=_
dkcmd set ws=_ apply layout=tile master=1 stack=3 gap=5 msplit=0.5 ssplit=0.5
# use grid layout, padding, and gaps on workspace 10
dkcmd set ws=10 layout=grid pad left=25 right=25 top=25 bottom=25 gap=25
# change workspace names (default: number == name)
dkcmd set \
ws=1 name="1: Terminal" \
ws=2 name="2: Editor" \
ws=3 name="3: Files" \
ws=4 name="4: Graphics" \
ws=5 name="5: Music" \
ws=6 name="6: WebBrowser" \
ws=7 name="7: Mail" \
ws=8 name="8: Games" \
ws=9 name="9: Chat" \
ws=10 name="10: Settings"
# enable static workspaces and assign them to monitors (only relevant for multiple monitors)
# aside -
# many that come from other workspace models tried dk and requested this feature
# try embracing the default behaviour and allow access to any workspace from any monitor
# you might end up liking it :)
#
mon1=$(xrandr --query | grep " connected" | grep "primary" | cut -d" " -f1)
mon2=$(xrandr --query | grep " connected" | grep -v "primary" | cut -d" " -f1)
[ -z "$mon2" ] && mon2="$mon1"
dkcmd set static_ws=true \
ws=1 mon="$mon1" \
ws=2 mon="$mon1" \
ws=3 mon="$mon1" \
ws=4 mon="$mon1" \
ws=5 mon="$mon1" \
ws=6 mon="$mon2" \
ws=7 mon="$mon2" \
ws=8 mon="$mon2" \
ws=9 mon="$mon2" \
ws=10 mon="$mon2"
# global settings
# ---------------------
# focus windows when receiving activation and enable focus-follows-mouse
dkcmd set focus_open=true focus_urgent=true focus_mouse=true
# place clients at the tail and ignore size hints on tiled windows
dkcmd set tile_tohead=0 tile_hints=false
# minimum width/height for resizing, and minimum allowed on-screen when moving
dkcmd set win_minwh=50 win_minxy=10
# disable gaps and borders in single window layouts
dkcmd set smart_gap=true smart_border=false
# define mouse mod and move/resize buttons
dkcmd set mouse mod=alt move=button1 resize=button3
# borders
# ---------
# traditional
# set border width and colour for each window state
# dkcmd set border width=$border_width colour focus='#6699cc' unfocus='#000000' urgent='#ee5555'
# alternative
# enable split borders and colours, width is overall width, outer_width consumes some of width.
# outer_width must be less than width, outer_width of 0 will be single borders
dkcmd set border width=$border_width outer_width=$border_outer_width \
colour \
focus='#6699cc' \
unfocus='#444444' \
urgent='#ee5555' \
outer_focus='#222222' \
outer_unfocus='#222222' \
outer_urgent='#222222'
# window rules
# --------------
# delete all rules
dkcmd rule remove '*'
# Assign application to start on a specific workspace
# you can find the class with the program xprop
# sign via class
# Workspace ws=1
dkcmd rule class="^Alacritty$" ws=1 focus=true
dkcmd rule class="^Kitty$" ws=1 focus=true
# Workspace ws=2
dkcmd rule class="^Emacs$" ws=2 focus=true
dkcmd rule class="^Code$" ws=2 focus=true
dkcmd rule class="^Nvim$" ws=2 focus=true
# Workspace ws=3
dkcmd rule class="^Nemo$" ws=3 focus=true
# Workspace ws=4
dkcmd rule class="^Aseprite$" ws=4 focus=true
dkcmd rule class="^Krita$" ws=4 focus=true
# Workspace ws=5
dkcmd rule class="^Xephyr$" ws=5 focus=true
dkcmd rule class="^CmusImage$" ws=5 focus=true
# Workspace ws=6
dkcmd rule class="^Firefox$" ws=6 focus=true
dkcmd rule class="^Google-Chrome$" ws=6 focus=true
# Workspace ws=7
dkcmd rule class="^Mail$" ws=7 focus=true
dkcmd rule class="^Thunderbird$" ws=7 focus=true
dkcmd rule class="^Keybase$" ws=7 focus=true
# Workspace ws=8
dkcmd rule class="^Minecraft$" ws=8 focus=true
dkcmd rule class="^Steam$" ws=8 focus=true
dkcmd rule class="^PrismLauncher$" ws=8 focus=true
dkcmd rule class="^0ad$" ws=8 focus=true
dkcmd rule class="^Minetest$" ws=8 focus=true
# Workspace ws=9
dkcmd rule class="^Discord$" ws=9 focus=true
dkcmd rule class="^Element$" ws=9 focus=true
# Workspace ws=10
dkcmd rule class="^Jetbrains$" ws=10 focus=true
dkcmd rule class="^PkgBrowser$" ws=10 focus=true
dkcmd rule class="^Actions$" ws=10 focus=true
dkcmd rule class="^Btop$" ws=10 focus=true
dkcmd rule class="^Piper$" ws=10 focus=true
dkcmd rule class="^LazyGit$" ws=10 focus=true
dkcmd rule class="^Virt$" ws=10 focus=true
dkcmd rule class="^Dconf-Editor$" ws=10 focus=true
dkcmd rule class="^wm-cheat.py$" stick=true float=true w=920 h=720 x=center y=center
# open window(s) and use a callback function (user defined in config.h)
# we also ignore=true to stop the window from being resized on it's own from events
# eg. mpv --x11-name=albumart /path/to/media
dkcmd rule class="^mpv$" instance="^albumart$" float=true ignore=true callback=albumart bw=0
# open window(s) in a floating state
dkcmd rule class="^(pavucontrol|transmission-gtk|lxappearance)$" float=true
# open window(s) with a specific geometry and coordinates (floating only!)
dkcmd rule class="^google-chrome$" title="^open files$" float=true w=1280 h=720
# open window(s) with sticky and floating enabled to view on all workspaces.
dkcmd rule class="^stickyterm$" stick=true float=true w=1280 h=720
# apply current rule set to all existing windows (useful for WM reload/restart)
dkcmd rule apply '*'
} >> "$logfile" 2>&1 # append responses
# inform of any errors in a notification
if grep -q 'error:' "$logfile"; then
hash notify-send && notify-send -t 0 -u critical "dkrc has errors" \
"$(awk '/error:/ {sub(/^error: /, ""); gsub(/</, "\<"); print}' "$logfile")"
exit 1
fi
exit 0

View File

@ -1,254 +0,0 @@
#!/usr/bin/env bash
#-*-coding:utf-8 -*-
#Auto updated?
# Yes
#File:
# autostart
#Author:
# The-Repo-Club [wayne6324@gmail.com]
#Github:
# https://github.com/The-Repo-Club/
#
#Created:
# Mon 24 April 2023, 01:52:19 PM [GMT+1]
#Modified:
# Mon 21 August 2023, 11:18:34 PM [GMT+1]
#
#Description:
# Autostart for DK Window Manager
#
#Dependencies:
# DK, Bash
#
##################
## Polkit Gnome ##
##################
if command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then
if ! pgrep -f "/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1" >/dev/null; then
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
else
echo "polkit-gnome already Running"
fi
fi
###############
## Auto Lock ##
###############
if command -v xautolock &>/dev/null; then
# shellcheck disable=SC2155
if ! pgrep -x "xautolock" >/dev/null; then
(
sleep 2s
xautolock \
-time 15 -locker "multimonitorlock -l -- --time-str=%I:%M:%S %p" \
-detectsleep
) &
else
echo "xautolock already Running"
fi
fi
if command -v xss-lock &>/dev/null; then
# shellcheck disable=SC2155
if ! pgrep -x "xss-lock" >/dev/null; then
(
sleep 2s
xss-lock -- multimonitorlock -l -- --time-str="%I:%M:%S %p"
) &
else
echo "xautolock already Running"
fi
fi
##############
## xcompmgr ##
##############
if command -v xcompmgr &>/dev/null; then
if ! pgrep -x "xcompmgr" >/dev/null; then
xcompmgr &
else
echo "xcompmgr already Running"
fi
else
echo "xcompmgr could not be found"
fi
#############
## Polybar ##
#############
if ! command -v polybar &>/dev/null; then
echo "polybar could not be found"
else
if ! pgrep -x "polybar" >/dev/null; then
if ! test -f "$HOME/.config/polybar/launch.sh"; then
echo "$HOME/.config/polybar/launch.sh could not be found"
else
sh "$HOME/.config/polybar/launch.sh"
fi
else
echo "polybar already Running"
fi
fi
##############
## ClipMenu ##
##############
if command -v clipmenu-daemon &>/dev/null; then
if ! pgrep -f "clipmenu-daemon" >/dev/null; then
(
sleep 2s
clipmenu-daemon
) &
else
echo "clipmenu-daemon already Running"
fi
fi
################
## xRoot Menu ##
################
if command -v xroot &>/dev/null; then
if ! pgrep -f "xroot" >/dev/null; then
if command -v xmenu_desktop &>/dev/null; then
if ! pgrep -f "xmenu_desktop" >/dev/null; then
(
sleep 2s
xroot -r xmenu_desktop
) &
else
echo "xroot already Running"
fi
fi
else
echo "xroot already Running"
fi
fi
####################
## Fix Background ##
####################
if ! command -v feh &>/dev/null; then
echo "feh could not be found"
else
if ! test -f "$HOME/.fehbg"; then
echo "$HOME/.fehbg could not be found"
else
sh "$HOME/.fehbg"
(
sleep 2s
sh "$HOME/.fehbg"
) &
fi
fi
################
## Tray Icons ##
################
if ! command -v ckb-next &>/dev/null; then
echo "ckb-next could not be found"
else
if ! pgrep -x "ckb-next" >/dev/null; then
(
sleep 2s
ckb-next --background
) &
else
echo "ckb-next already Running"
fi
fi
if command -v nm-applet &>/dev/null; then
if ! pgrep -x "nm-applet" >/dev/null; then
(
sleep 2s
nm-applet
) &
else
echo "nm-applet already Running"
fi
fi
if command -v blueman-applet &>/dev/null; then
if ! pgrep -x "blueman-applet" >/dev/null; then
(
sleep 2s
blueman-applet
) &
else
echo "blueman-applet already Running"
fi
fi
if command -v touchpad-indicator &>/dev/null; then
if ! pgrep -f "touchpad-indicator" >/dev/null; then
(
sleep 2s
touchpad-indicator
) &
else
echo "touchpad-indicator already Running"
fi
fi
if command -v cbatticon &>/dev/null; then
if ! pgrep -x "cbatticon" >/dev/null; then
(
sleep 2s
cbatticon
) &
else
echo "cbatticon already Running"
fi
fi
if command -v volumeicon &>/dev/null; then
if ! pgrep -x "volumeicon" >/dev/null; then
(
sleep 5s
volumeicon
) &
else
echo "volumeicon already Running"
fi
fi
if command -v gufwicon &>/dev/null; then
if ! pgrep -x "gufwicon" >/dev/null; then
(
sleep 5s
gufwicon
) &
else
echo "gufwicon already Running"
fi
fi
if command -v numlockx &>/dev/null; then
numlockx on &
fi
################
## Other Junk ##
################
systemctl --user import-environment DISPLAY XAUTHORITY
if command -v dbus-update-activation-environment >/dev/null 2>&1; then
dbus-update-activation-environment DISPLAY XAUTHORITY
fi
# see https://wiki.archlinux.org/title/GNOME/Keyring#xinitrc
eval "$(/usr/bin/gnome-keyring-daemon --start)"
export SSH_AUTH_SOCK
# see https://github.com/NixOS/nixpkgs/issues/14966#issuecomment-520083836
mkdir -p "$HOME"/.local/share/keyrings

View File

@ -1,254 +0,0 @@
#####################################################################################################################
################# Main Keybinds #################
#####################################################################################################################
## Category: Main Keybinds;
# Description: Show Keybinds;
super + F1
dk-cheat
## Category: Main Keybinds;
# Description: Kill a window;
super + shift + c
dkcmd win kill
#####################################################################################################################
################# Menus Keybinds #################
#####################################################################################################################
## Category: Menus;
# Description: Start GMrun;
super +F2
gmrun
## Category: Menus;
# Description: Start ClipMenu;
super + F3
clipmenu -p ClipMenu -mesg "Copy from clipboard."
###############################
####### Rofi Menu's #######
###############################
## Category: Menus;
# Description: Start Main Menu;
super + m
menu
## Category: Menus;
# Description: Start Music Menu;
super + F4
music
## Category: Menus;
# Description: Start Pass Menu;
super + p
passmenu
## Category: Menus;
# Description: Start Youtube Menu;
super + F5
youtube_subs
#####################################################################################################################
################# how to exit, logoff, suspend, ... #################
#####################################################################################################################
# {{{ Power
## Category: Main Keybinds;
# Description: Exit / Quit / Restart;
super + shift + e
rofi -show powermenu -config ~/.config/rofi/powermenu.rasi
## Category: Main Keybinds;
# Description: Exit / Quit / Restart;
super + x
rofi -show powermenu -config ~/.config/rofi/powermenu.rasi
#####################################################################################################################
################# reload changed configuration #################
#####################################################################################################################
## Category: DK-Config;
# Description: Reload sxhkd;
super + shift + x
pkill -USR1 -x sxhkd
## Category: DK-Config;
# Description: Reload dkrc;
super + shift + r
$HOME/.config/dk/dkrc
## Category: DK-Config;
# Description: Restart dk;
super + ctrl + shift + r
dkcmd restart
#####################################################################################################################
################# Stopping an application #################
#####################################################################################################################
## Category: DK-Config;
# Description: Kill focused window;
super + q
dkcmd win kill
## Category: DK-Config;
# Description: Kill focused window;
super + shift + q
dkcmd win kill
#####################################################################################################################
################# Moving around in DK #################
#####################################################################################################################
## Category: DK-Windows;
# Description: Toggle float mode;
super + shift + space \
dkcmd win float
## Category: DK-Windows;
# Description: Change focus: next;
super + j
dkcmd win focus next
## Category: DK-Windows;
# Description: Change focus: prev;
super + k
dkcmd win focus prev
## Category: DK-Windows;
# Description: Move focused window: up;
super + Up
dkcmd win mvstack up
## Category: DK-Windows;
# Description: Move focused window: down;
super + Down
dkcmd win mvstack down
## Category: DK-Windows;
# Description: Move to next workspace;
super + Tab
dkcmd ws view nextne
## Category: DK-Windows;
# Description: Move to prev workspace;
super + shift + Tab
dkcmd ws view prevne
## Category: DK-Layout;
# Description: Change current layout: tile;
super + l ; t
dkcmd set layout tile
## Category: DK-Layout;
# Description: Change current layout: rtile;
super + l ; r
dkcmd set layout rtile
## Category: DK-Layout;
# Description: Change current layout: mono;
super + l ; m
dkcmd set layout mono
## Category: DK-Layout;
# Description: Change current layout: grid;
super + l ; g
dkcmd set layout grid
## Category: DK-Layout;
# Description: Change current layout: spiral;
super + l ; s
dkcmd set layout spiral
## Category: DK-Layout;
# Description: Change current layout: dwindle;
super + l ; d
dkcmd set layout dwindle
## Category: DK-Layout;
# Description: Change current layout: tstack;
super + l ; f
dkcmd set layout tstack
## Category: DK-Layout;
# Description: Change current layout: none;
super + l ; n
dkcmd set layout none
# example sxhkdrc for use with dk
#########################################################
# terminal
super + Return
alacritty
# screenshot and selection capture
{_,super + }@Print
scrot {_,-s}
# dedicated volume keys
{XF86AudioRaiseVolume,XF86AudioLowerVolume}
pamixer {-i,-d} 2
# dedicated backlight keys
{XF86MonBrightnessUp,XF86MonBrightnessDown}
xbacklight {+10,-10}
# close window, swap tiled window in/out of master, cycle tiled windows in place
super + {q,space,Tab}
dkcmd win {kill,swap,cycle}
# toggle fullscreen and fake fullscreen (enable manipulating fullscreen window)
{_,super + }F11
dkcmd win {full,fakefull}
# toggle floating or sticky
super + shift + {space,s}
dkcmd win {float,stick}
# move window, signed (+/-) for relative changes
super + shift + {h,j,k,l}
dkcmd win resize {x=-20,y=+20,y=-20,x=+20}
# resize window, signed (+/-) for relative changes
super + ctrl + {h,j,k,l}
dkcmd win resize {w=-20,h=+20,h=-20,w=+20}
# view, send, or follow to a workspace (by number)
super + {_,shift + ,ctrl + }{1-9,0}
dkcmd ws {view,follow,send} {1-9,10}
# view, send, or follow to the next, previous, last active,
# next non-empty, or prev non-empty workspace
super + {_,shift + ,ctrl + }{bracketleft,bracketright,BackSpace,Left,Right}
dkcmd ws {view,send,follow} {prev,next,last,prevne,nextne}
# view, send, or follow to the next, previous, or last active monitor
super + {_,shift + ,ctrl + }{comma,period,backslash}
dkcmd mon {view,send,follow} {prev,next,last}
# change active workspace layout
super + {t,r,m,g,s,w,f,u}
dkcmd set layout {tile,rtile,mono,grid,spiral,dwindle,none,tstack}
# change number of windows in master or first stack
super + {_,shift + }{i,d}
dkcmd set {master,stack} {+1,-1}
# change gap width
super + {equal,minus}
dkcmd set gap {+5,-5}
# change border widths
super + ctrl + {_,shift + }{equal,minus}
dkcmd set border {width,outer_width} {+1,-1}

View File

@ -1,436 +0,0 @@
# See dunst(5) for all configuration options
[global]
### Display ###
# Which monitor should the notifications be displayed on.
monitor = 0
# Display notification on focused monitor. Possible modes are:
# mouse: follow mouse pointer
# keyboard: follow window with keyboard focus
# none: don't follow anything
#
# "keyboard" needs a window manager that exports the
# _NET_ACTIVE_WINDOW property.
# This should be the case for almost all modern window managers.
#
# If this option is set to mouse or keyboard, the monitor option
# will be ignored.
follow = mouse
### Geometry ###
# dynamic width from 0 to 300
# width = (0, 300)
# constant width of 300
width = 300
# The maximum height of a single notification, excluding the frame.
height = 300
# Position the notification in the top right corner
origin = top-right
# Offset from the origin
offset = 10x50
# Scale factor. It is auto-detected if value is 0.
scale = 0
# Maximum number of notification (0 means no limit)
notification_limit = 0
### Progress bar ###
# Turn on the progess bar. It appears when a progress hint is passed with
# for example dunstify -h int:value:12
progress_bar = true
# Set the progress bar height. This includes the frame, so make sure
# it's at least twice as big as the frame width.
progress_bar_height = 10
# Set the frame width of the progress bar
progress_bar_frame_width = 1
# Set the minimum width for the progress bar
progress_bar_min_width = 150
# Set the maximum width for the progress bar
progress_bar_max_width = 300
# Show how many messages are currently hidden (because of
# notification_limit).
indicate_hidden = yes
# The transparency of the window. Range: [0; 100].
# This option will only work if a compositing window manager is
# present (e.g. xcompmgr, compiz, etc.). (X11 only)
transparency = 15
# Draw a line of "separator_height" pixel height between two
# notifications.
# Set to 0 to disable.
separator_height = 1
# Padding between text and separator.
padding = 8
# Horizontal padding.
horizontal_padding = 10
# Padding between text and icon.
text_icon_padding = 0
# Defines width in pixels of frame around the notification window.
# Set to 0 to disable.
frame_width = 2
# Defines color of the frame around the notification window.
frame_color = "#81a1c1"
# Define a color for the separator.
# possible values are:
# * auto: dunst tries to find a color fitting to the background;
# * foreground: use the same color as the foreground;
# * frame: use the same color as the frame;
# * anything else will be interpreted as a X color.
separator_color = frame
# Sort messages by urgency.
sort = yes
# Don't remove messages, if the user is idle (no mouse or keyboard input)
# for longer than idle_threshold seconds.
# Set to 0 to disable.
# A client can set the 'transient' hint to bypass this. See the rules
# section for how to disable this if necessary
idle_threshold = 120
### Text ###
font = SauceCodePro Nerd Font 12
# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
line_height = 0
# Possible values are:
# full: Allow a small subset of html markup in notifications:
# <b>bold</b>
# <i>italic</i>
# <s>strikethrough</s>
# <u>underline</u>
#
# For a complete reference see
# <https://developer.gnome.org/pango/stable/pango-Markup.html>.
#
# strip: This setting is provided for compatibility with some broken
# clients that send markup even though it's not enabled on the
# server. Dunst will try to strip the markup but the parsing is
# simplistic so using this option outside of matching rules for
# specific applications *IS GREATLY DISCOURAGED*.
#
# no: Disable markup parsing, incoming notifications will be treated as
# plain text. Dunst will not advertise that it has the body-markup
# capability if this is set as a global setting.
#
# It's important to note that markup inside the format option will be parsed
# regardless of what this is set to.
markup = full
# The format of the message. Possible variables are:
# %a appname
# %s summary
# %b body
# %i iconname (including its path)
# %I iconname (without its path)
# %p progress value if set ([ 0%] to [100%]) or nothing
# %n progress value if set without any extra characters
# %% Literal %
# Markup is allowed
format = "%s %p\n%b"
# Alignment of message text.
# Possible values are "left", "center" and "right".
alignment = left
# Vertical alignment of message text and icon.
# Possible values are "top", "center" and "bottom".
vertical_alignment = center
# Show age of message if message is older than show_age_threshold
# seconds.
# Set to -1 to disable.
show_age_threshold = 60
# Specify where to make an ellipsis in long lines.
# Possible values are "start", "middle" and "end".
ellipsize = middle
# Ignore newlines '\n' in notifications.
ignore_newline = no
# Stack together notifications with the same content
stack_duplicates = true
# Hide the count of stacked notifications with the same content
hide_duplicate_count = false
# Display indicators for URLs (U) and actions (A).
show_indicators = yes
### Icons ###
# Align icons left/right/off
icon_position = left
# Scale small icons up to this size, set to 0 to disable. Helpful
# for e.g. small files or high-dpi screens. In case of conflict,
# max_icon_size takes precedence over this.
min_icon_size = 0
# Scale larger icons down to this size, set to 0 to disable
max_icon_size = 64
# Paths to default icons.
icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/
### History ###
# Should a notification popped up from history be sticky or timeout
# as if it would normally do.
sticky_history = yes
# Maximum amount of notifications kept in history
history_length = 20
### Misc/Advanced ###
# dmenu path.
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
# Define the title of the windows spawned by dunst
title = Dunst
# Define the class of the windows spawned by dunst
class = Dunst
# Define the corner radius of the notification window
# in pixel size. If the radius is 0, you have no rounded
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 15
# Ignore the dbus closeNotification message.
# Useful to enforce the timeout set by dunst configuration. Without this
# parameter, an application may close the notification sent before the
# user defined timeout.
ignore_dbusclose = false
### Wayland ###
# These settings are Wayland-specific. They have no effect when using X11
# Uncomment this if you want to let notications appear under fullscreen
# applications (default: overlay)
# layer = top
# Set this to true to use X11 output on Wayland.
force_xwayland = false
### Legacy
# Use the Xinerama extension instead of RandR for multi-monitor support.
# This setting is provided for compatibility with older nVidia drivers that
# do not support RandR and using it on systems that support RandR is highly
# discouraged.
#
# By enabling this setting dunst will not be able to detect when a monitor
# is connected or disconnected which might break follow mode if the screen
# layout changes.
force_xinerama = false
### mouse
# Defines list of actions for each mouse event
# Possible values are:
# * none: Don't do anything.
# * do_action: Invoke the action determined by the action_name rule. If there is no
# such action, open the context menu.
# * open_url: If the notification has exactly one url, open it. If there are multiple
# ones, open the context menu.
# * close_current: Close current notification.
# * close_all: Close all notifications.
# * context: Open context menu for the notification.
# * context_all: Open context menu for all notifications.
# These values can be strung together for each mouse event, and
# will be executed in sequence.
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
# Experimental features that may or may not work correctly. Do not expect them
# to have a consistent behaviour across releases.
[experimental]
# Calculate the dpi to use on a per-monitor basis.
# If this setting is enabled the Xft.dpi value will be ignored and instead
# dunst will attempt to calculate an appropriate dpi value for each monitor
# using the resolution and physical size. This might be useful in setups
# where there are multiple screens with very different dpi values.
per_monitor_dpi = false
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#283036"
foreground = "#a6ffa6"
frame_color = "#a6ffa6"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#new_icon = /path/to/icon
[urgency_normal]
background = "#283036"
foreground = "#59ff59"
frame_color = "#59ff59"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#new_icon = /path/to/icon
[urgency_critical]
background = "#ff5959"
foreground = "#e5e9f0"
frame_color = "#ff5959"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#new_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View File

@ -1,455 +0,0 @@
(add-to-list 'load-path "~/.config/emacs/scripts/")
(require 'elpaca-setup) ;; The Elpaca Package Manager
(require 'buffer-move) ;; Buffer-move for better window management
(require 'app-launchers) ;; Use emacs as a run launcher like dmenu (experimental)
(use-package all-the-icons
:ensure t
:if (display-graphic-p))
(use-package all-the-icons-dired
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t))))
(setq backup-directory-alist '((".*" . "~/.Trash")))
(use-package company
:defer 2
:diminish
:custom
(company-begin-commands '(self-insert-command))
(company-idle-delay .1)
(company-minimum-prefix-length 2)
(company-show-numbers t)
(company-tooltip-align-annotations 't)
(global-company-mode t))
(use-package company-box
:after company
:diminish
:hook (company-mode . company-box-mode))
(use-package dashboard
:ensure t
:init
(setq initial-buffer-choice 'dashboard-open)
(setq dashboard-set-heading-icons t)
(setq dashboard-set-file-icons t)
(setq dashboard-banner-logo-title "Emacs Is More Than A Text Editor!")
;;(setq dashboard-startup-banner 'logo) ;; use standard emacs logo as banner
(setq dashboard-startup-banner (concat user-emacs-directory "images/repo-emacs-logo.png")) ;; use custom image as banner
(setq dashboard-center-content t) ;; set to 'nil' for left align content
(setq dashboard-items '((recents . 5)
(agenda . 5 )
(bookmarks . 3)
(projects . 3)
(registers . 3)))
:custom
(dashboard-modify-heading-icons '((recents . "file-text")
(bookmarks . "book")))
:config
(dashboard-setup-startup-hook))
(use-package diminish)
(use-package dired-open
:config
(setq dired-open-extensions '(("gif" . "sxiv")
("jpg" . "sxiv")
("png" . "sxiv")
("mkv" . "mpv")
("mp4" . "mpv"))))
(use-package peep-dired
:after dired
:hook (evil-normalize-keymaps . peep-dired-hook)
:config
(evil-define-key 'normal dired-mode-map (kbd "h") 'dired-up-directory)
(evil-define-key 'normal dired-mode-map (kbd "l") 'dired-open-file) ; use dired-find-file instead if not using dired-open package
(evil-define-key 'normal peep-dired-mode-map (kbd "j") 'peep-dired-next-file)
(evil-define-key 'normal peep-dired-mode-map (kbd "k") 'peep-dired-prev-file)
)
;; Expands to: (elpaca evil (use-package evil :demand t))
(use-package evil
:init ;; tweak evil's configuration before loading it
(setq evil-want-integration t ;; This is optional since it's already set to t by default.
evil-want-keybinding nil
evil-vsplit-window-right t
evil-split-window-below t
evil-undo-system 'undo-redo) ;; Adds vim-like C-r redo functionality
(evil-mode))
(use-package evil-collection
:after evil
:config
(setq evil-collection-mode-list '(dashboard dired ibuffer))
(evil-collection-init))
(use-package evil-tutor)
(use-package flycheck
:ensure t
:defer t
:diminish
:init (global-flycheck-mode))
(set-face-attribute 'default nil
:font "Hack Nerd Font Mono"
:height 110
:weight 'medium)
(set-face-attribute 'variable-pitch nil
:font "Hack Nerd Font Mono"
:height 120
:weight 'medium)
(set-face-attribute 'fixed-pitch nil
:font "Hack Nerd Font Mono"
:height 110
:weight 'medium)
;; Makes commented text and keywords italics.
;; This is working in emacsclient but not emacs.
;; Your font must have an italic face available.
(set-face-attribute 'font-lock-comment-face nil
:slant 'italic)
(set-face-attribute 'font-lock-keyword-face nil
:slant 'italic)
;; This sets the default font on all graphical frames created after restarting Emacs.
;; Does the same thing as 'set-face-attribute default' above, but emacsclient fonts
;; are not right unless I also add this method of setting the default font.
(add-to-list 'default-frame-alist '(font . "Hack Nerd Font Mono-11"))
;; Uncomment the following line if line spacing needs adjusting.
(setq-default line-spacing 0.12)
(global-set-key (kbd "C-=") 'text-scale-increase)
(global-set-key (kbd "C--") 'text-scale-decrease)
(global-set-key (kbd "<C-wheel-up>") 'text-scale-increase)
(global-set-key (kbd "<C-wheel-down>") 'text-scale-decrease)
(use-package general
:config
(general-evil-setup)
;; set up 'SPC' as the global leader key
(general-create-definer dt/leader-keys
:states '(normal insert visual emacs)
:keymaps 'override
:prefix "SPC" ;; set leader
:global-prefix "M-SPC") ;; access leader in insert mode
(dt/leader-keys
"SPC" '(counsel-M-x :wk "Counsel M-x")
"." '(find-file :wk "Find file")
"f c" '((lambda () (interactive) (find-file "~/.config/emacs/config.org")) :wk "Edit emacs config")
"f r" '(counsel-recentf :wk "Find recent files")
"TAB TAB" '(comment-line :wk "Comment lines"))
(dt/leader-keys
"b" '(:ignore t :wk "Bookmarks/Buffers")
"b c" '(clone-indirect-buffer :wk "Create indirect buffer copy in a split")
"b C" '(clone-indirect-buffer-other-window :wk "Clone indirect buffer in new window")
"b d" '(bookmark-delete :wk "Delete bookmark")
"b i" '(ibuffer :wk "Ibuffer")
"b k" '(kill-this-buffer :wk "Kill this buffer")
"b K" '(kill-some-buffers :wk "Kill multiple buffers")
"b l" '(list-bookmarks :wk "List bookmarks")
"b m" '(bookmark-set :wk "Set bookmark")
"b n" '(next-buffer :wk "Next buffer")
"b p" '(previous-buffer :wk "Previous buffer")
"b r" '(revert-buffer :wk "Reload buffer")
"b R" '(rename-buffer :wk "Rename buffer")
"b s" '(basic-save-buffer :wk "Save buffer")
"b S" '(save-some-buffers :wk "Save multiple buffers")
"b w" '(bookmark-save :wk "Save current bookmarks to bookmark file"))
(dt/leader-keys
"d" '(:ignore t :wk "Dired")
"d d" '(dired :wk "Open dired")
"d j" '(dired-jump :wk "Dired jump to current")
"d n" '(neotree-dir :wk "Open directory in neotree")
"d p" '(peep-dired :wk "Peep-dired"))
(dt/leader-keys
"e" '(:ignore t :wk "Eshell/Evaluate")
"e b" '(eval-buffer :wk "Evaluate elisp in buffer")
"e d" '(eval-defun :wk "Evaluate defun containing or after point")
"e e" '(eval-expression :wk "Evaluate and elisp expression")
"e h" '(counsel-esh-history :which-key "Eshell history")
"e l" '(eval-last-sexp :wk "Evaluate elisp expression before point")
"e r" '(eval-region :wk "Evaluate elisp in region")
"e s" '(eshell :which-key "Eshell"))
(dt/leader-keys
"h" '(:ignore t :wk "Help")
"h a" '(counsel-apropos :wk "Apropos")
"h b" '(describe-bindings :wk "Describe bindings")
"h c" '(describe-char :wk "Describe character under cursor")
"h d" '(:ignore t :wk "Emacs documentation")
"h d a" '(about-emacs :wk "About Emacs")
"h d d" '(view-emacs-debugging :wk "View Emacs debugging")
"h d f" '(view-emacs-FAQ :wk "View Emacs FAQ")
"h d m" '(info-emacs-manual :wk "The Emacs manual")
"h d n" '(view-emacs-news :wk "View Emacs news")
"h d o" '(describe-distribution :wk "How to obtain Emacs")
"h d p" '(view-emacs-problems :wk "View Emacs problems")
"h d t" '(view-emacs-todo :wk "View Emacs todo")
"h d w" '(describe-no-warranty :wk "Describe no warranty")
"h e" '(view-echo-area-messages :wk "View echo area messages")
"h f" '(describe-function :wk "Describe function")
"h F" '(describe-face :wk "Describe face")
"h g" '(describe-gnu-project :wk "Describe GNU Project")
"h i" '(info :wk "Info")
"h I" '(describe-input-method :wk "Describe input method")
"h k" '(describe-key :wk "Describe key")
"h l" '(view-lossage :wk "Display recent keystrokes and the commands run")
"h L" '(describe-language-environment :wk "Describe language environment")
"h m" '(describe-mode :wk "Describe mode")
"h r" '(:ignore t :wk "Reload")
"h r r" '((lambda () (interactive)
(load-file "~/.config/emacs/init.el")
(ignore (elpaca-process-queues)))
:wk "Reload emacs config")
"h t" '(load-theme :wk "Load theme")
"h v" '(describe-variable :wk "Describe variable")
"h w" '(where-is :wk "Prints keybinding for command if set")
"h x" '(describe-command :wk "Display full documentation for command"))
(dt/leader-keys
"m" '(:ignore t :wk "Org")
"m a" '(org-agenda :wk "Org agenda")
"m e" '(org-export-dispatch :wk "Org export dispatch")
"m i" '(org-toggle-item :wk "Org toggle item")
"m t" '(org-todo :wk "Org todo")
"m B" '(org-babel-tangle :wk "Org babel tangle")
"m T" '(org-todo-list :wk "Org todo list"))
(dt/leader-keys
"m b" '(:ignore t :wk "Tables")
"m b -" '(org-table-insert-hline :wk "Insert hline in table"))
(dt/leader-keys
"m d" '(:ignore t :wk "Date/deadline")
"m d t" '(org-time-stamp :wk "Org time stamp"))
(dt/leader-keys
"p" '(projectile-command-map :wk "Projectile"))
(dt/leader-keys
"t" '(:ignore t :wk "Toggle")
"t e" '(eshell-toggle :wk "Toggle eshell")
"t f" '(flycheck-mode :wk "Toggle flycheck")
"t l" '(display-line-numbers-mode :wk "Toggle line numbers")
"t n" '(neotree-toggle :wk "Toggle neotree file viewer")
"t r" '(rainbow-mode :wk "Toggle rainbow mode")
"t t" '(visual-line-mode :wk "Toggle truncated lines")
"t v" '(vterm-toggle :wk "Toggle vterm"))
(dt/leader-keys
"w" '(:ignore t :wk "Windows")
;; Window splits
"w c" '(evil-window-delete :wk "Close window")
"w n" '(evil-window-new :wk "New window")
"w s" '(evil-window-split :wk "Horizontal split window")
"w v" '(evil-window-vsplit :wk "Vertical split window")
;; Window motions
"w h" '(evil-window-left :wk "Window left")
"w j" '(evil-window-down :wk "Window down")
"w k" '(evil-window-up :wk "Window up")
"w l" '(evil-window-right :wk "Window right")
"w w" '(evil-window-next :wk "Goto next window")
;; Move Windows
"w H" '(buf-move-left :wk "Buffer move left")
"w J" '(buf-move-down :wk "Buffer move down")
"w K" '(buf-move-up :wk "Buffer move up")
"w L" '(buf-move-right :wk "Buffer move right"))
)
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
(global-display-line-numbers-mode 1)
(global-visual-line-mode t)
(use-package counsel
:after ivy
:diminish
:config (counsel-mode))
(use-package ivy
:bind
;; ivy-resume resumes the last Ivy-based completion.
(("C-c C-r" . ivy-resume)
("C-x B" . ivy-switch-buffer-other-window))
:diminish
:custom
(setq ivy-use-virtual-buffers t)
(setq ivy-count-format "(%d/%d) ")
(setq enable-recursive-minibuffers t)
:config
(ivy-mode))
(use-package all-the-icons-ivy-rich
:ensure t
:init (all-the-icons-ivy-rich-mode 1))
(use-package ivy-rich
:after ivy
:ensure t
:init (ivy-rich-mode 1) ;; this gets us descriptions in M-x.
:custom
(ivy-virtual-abbreviate 'full
ivy-rich-switch-buffer-align-virtual-buffer t
ivy-rich-path-style 'abbrev)
:config
(ivy-set-display-transformer 'ivy-switch-buffer
'ivy-rich-switch-buffer-transformer))
(use-package haskell-mode)
(use-package lua-mode)
(use-package doom-modeline
:ensure t
:init (doom-modeline-mode 1)
:config
(setq doom-modeline-height 35 ;; sets modeline height
doom-modeline-bar-width 5 ;; sets right bar width
doom-modeline-persp-name t ;; adds perspective name to modeline
doom-modeline-persp-icon t)) ;; adds folder icon next to persp name
(use-package neotree
:config
(setq neo-smart-open t
neo-show-hidden-files t
neo-window-width 55
neo-window-fixed-size nil
inhibit-compacting-font-caches t
projectile-switch-project-action 'neotree-projectile-action)
;; truncate long file names in neotree
(add-hook 'neo-after-create-hook
#'(lambda (_)
(with-current-buffer (get-buffer neo-buffer-name)
(setq truncate-lines t)
(setq word-wrap nil)
(make-local-variable 'auto-hscroll-mode)
(setq auto-hscroll-mode nil)))))
(use-package toc-org
:commands toc-org-enable
:init (add-hook 'org-mode-hook 'toc-org-enable))
(add-hook 'org-mode-hook 'org-indent-mode)
(use-package org-bullets)
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
(electric-indent-mode -1)
(setq org-edit-src-content-indentation 0)
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
(custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))
'(org-level-3 ((t (:inherit outline-3 :height 1.5))))
'(org-level-4 ((t (:inherit outline-4 :height 1.4))))
'(org-level-5 ((t (:inherit outline-5 :height 1.3))))
'(org-level-6 ((t (:inherit outline-5 :height 1.2))))
'(org-level-7 ((t (:inherit outline-5 :height 1.1)))))
(require 'org-tempo)
(use-package projectile
:config
(projectile-mode 1))
(use-package rainbow-mode
:diminish
:hook org-mode prog-mode)
(use-package eshell-toggle
:custom
(eshell-toggle-size-fraction 3)
(eshell-toggle-use-projectile-root t)
(eshell-toggle-run-command nil)
(eshell-toggle-init-function #'eshell-toggle-init-ansi-term))
(use-package eshell-syntax-highlighting
:after esh-mode
:config
(eshell-syntax-highlighting-global-mode +1))
;; eshell-syntax-highlighting -- adds fish/zsh-like syntax highlighting.
;; eshell-rc-script -- your profile for eshell; like a bashrc for eshell.
;; eshell-aliases-file -- sets an aliases file for the eshell.
(setq eshell-rc-script (concat user-emacs-directory "eshell/profile")
eshell-aliases-file (concat user-emacs-directory "eshell/aliases")
eshell-history-size 5000
eshell-buffer-maximum-lines 5000
eshell-hist-ignoredups t
eshell-scroll-to-bottom-on-input t
eshell-destroy-buffer-when-process-dies t
eshell-visual-commands'("bash" "fish" "htop" "ssh" "top" "zsh"))
(use-package vterm
:config
(setq shell-file-name "/bin/sh"
vterm-max-scrollback 5000))
(use-package vterm-toggle
:after vterm
:config
(setq vterm-toggle-fullscreen-p nil)
(setq vterm-toggle-scope 'project)
(add-to-list 'display-buffer-alist
'((lambda (buffer-or-name _)
(let ((buffer (get-buffer buffer-or-name)))
(with-current-buffer buffer
(or (equal major-mode 'vterm-mode)
(string-prefix-p vterm-buffer-name (buffer-name buffer))))))
(display-buffer-reuse-window display-buffer-at-bottom)
;;(display-buffer-reuse-window display-buffer-in-direction)
;;display-buffer-in-direction/direction/dedicated is added in emacs27
;;(direction . bottom)
;;(dedicated . t) ;dedicated is supported in emacs27
(reusable-frames . visible)
(window-height . 0.4))))
(use-package sudo-edit
:config
(dt/leader-keys
"fu" '(sudo-edit-find-file :wk "Sudo find file")
"fU" '(sudo-edit :wk "Sudo edit file")))
(add-to-list 'custom-theme-load-path "~/.config/emacs/themes/")
(use-package doom-themes
:config
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled
;; Sets the default theme to load!!!
(load-theme 'minimal-mistakes t)
;; Enable custom neotree theme (all-the-icons must be installed!)
(doom-themes-neotree-config)
;; Corrects (and improves) org-mode's native fontification.
(doom-themes-org-config))
(add-to-list 'default-frame-alist '(alpha-background . 100)) ; For all new frames henceforth
(use-package which-key
:init
(which-key-mode 1)
:diminish
:config
(setq which-key-side-window-location 'bottom
which-key-sort-order #'which-key-key-order-alpha
which-key-allow-imprecise-window-fit nil
which-key-sort-uppercase-first nil
which-key-add-column-padding 1
which-key-max-display-columns nil
which-key-min-display-lines 6
which-key-side-window-slot -10
which-key-side-window-max-height 0.25
which-key-idle-delay 0.8
which-key-max-description-length 25
which-key-allow-imprecise-window-fit nil
which-key-separator "" ))

View File

@ -1,699 +0,0 @@
#+TITLE: Repos's GNU Emacs Config
#+AUTHOR: Wayne Wesleu (Repo)
#+DESCRIPTION: Repo's personal Emacs config.
#+STARTUP: showeverything
#+OPTIONS: toc:2
* TABLE OF CONTENTS :toc:
- [[#important-programs-to-load-first][IMPORTANT PROGRAMS TO LOAD FIRST]]
- [[#adding-the-scripts-directory-to-path][Adding the scripts directory to path]]
- [[#sourcing-the-scripts][Sourcing the scripts]]
- [[#all-the-icons][ALL THE ICONS]]
- [[#backup][BACKUP]]
- [[#company][COMPANY]]
- [[#dashboard][DASHBOARD]]
- [[#diminish][DIMINISH]]
- [[#dired][DIRED]]
- [[#evil][EVIL]]
- [[#flycheck][FLYCHECK]]
- [[#fonts][FONTS]]
- [[#setting-the-font-face][Setting the Font Face]]
- [[#zooming-inout][Zooming In/Out]]
- [[#general-keybindings][GENERAL KEYBINDINGS]]
- [[#graphical-user-interface-tweaks][GRAPHICAL USER INTERFACE TWEAKS]]
- [[#disable-menubar-toolbars-and-scrollbars][Disable Menubar, Toolbars and Scrollbars]]
- [[#display-line-numbers-and-truncated-lines][Display Line Numbers and Truncated Lines]]
- [[#ivy-counsel][IVY (COUNSEL)]]
- [[#language-support][LANGUAGE SUPPORT]]
- [[#modeline][MODELINE]]
- [[#neotree][NEOTREE]]
- [[#org-mode][ORG MODE]]
- [[#enabling-table-of-contents][Enabling Table of Contents]]
- [[#enabling-org-bullets][Enabling Org Bullets]]
- [[#disable-electric-indent][Disable Electric Indent]]
- [[#diminish-org-indent-mode][Diminish Org Indent Mode]]
- [[#org-level-headers][Org Level Headers]]
- [[#source-code-block-tag-expansion][Source Code Block Tag Expansion]]
- [[#projectile][PROJECTILE]]
- [[#rainbow-mode][RAINBOW MODE]]
- [[#shells-and-terminals][SHELLS AND TERMINALS]]
- [[#eshell][Eshell]]
- [[#vterm][Vterm]]
- [[#vterm-toggle][Vterm-Toggle]]
- [[#sudo-edit][SUDO EDIT]]
- [[#theme][THEME]]
- [[#transparency][TRANSPARENCY]]
- [[#which-key][WHICH-KEY]]
* IMPORTANT PROGRAMS TO LOAD FIRST
To keep this =config.org= a reasonable length, I have moved a lot of code to individual scripts that will be sourced by this config. These scripts are found in "~/.config/emacs/scripts" and do not contain any code that most people are likely to need to edit.
** Adding the scripts directory to path
#+begin_src emacs-lisp
(add-to-list 'load-path "~/.config/emacs/scripts/")
#+end_src
** Sourcing the scripts
#+begin_src emacs-lisp
(require 'elpaca-setup) ;; The Elpaca Package Manager
(require 'buffer-move) ;; Buffer-move for better window management
(require 'app-launchers) ;; Use emacs as a run launcher like dmenu (experimental)
#+end_src
* ALL THE ICONS
This is an icon set that can be used with dashboard, dired, ibuffer and other Emacs programs.
#+begin_src emacs-lisp
(use-package all-the-icons
:ensure t
:if (display-graphic-p))
(use-package all-the-icons-dired
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t))))
#+end_src
* BACKUP
By default, Emacs creates automatic backups of files in their original directories, such "file.el" and the backup "file.el~". This leads to a lot of clutter, so let's tell Emacs to put all backups that it creates in the =TRASH= directory.
#+begin_src emacs-lisp
(setq backup-directory-alist '((".*" . "~/.Trash")))
#+end_src
* COMPANY
[[https://company-mode.github.io/][Company]] is a text completion framework for Emacs. The name stands for "complete anything". Completion will start automatically after you type a few letters. Use M-n and M-p to select, <return> to complete or <tab> to complete the common part.
#+begin_src emacs-lisp
(use-package company
:defer 2
:diminish
:custom
(company-begin-commands '(self-insert-command))
(company-idle-delay .1)
(company-minimum-prefix-length 2)
(company-show-numbers t)
(company-tooltip-align-annotations 't)
(global-company-mode t))
(use-package company-box
:after company
:diminish
:hook (company-mode . company-box-mode))
#+end_src
* DASHBOARD
Emacs Dashboard is an extensible startup screen showing you recent files, bookmarks, agenda items and an Emacs banner.
#+begin_src emacs-lisp
(use-package dashboard
:ensure t
:init
(setq initial-buffer-choice 'dashboard-open)
(setq dashboard-set-heading-icons t)
(setq dashboard-set-file-icons t)
(setq dashboard-banner-logo-title "Emacs Is More Than A Text Editor!")
;;(setq dashboard-startup-banner 'logo) ;; use standard emacs logo as banner
(setq dashboard-startup-banner (concat user-emacs-directory "images/repo-emacs-logo.png")) ;; use custom image as banner
(setq dashboard-center-content t) ;; set to 'nil' for left align content
(setq dashboard-items '((recents . 5)
(agenda . 5 )
(bookmarks . 3)
(projects . 3)
(registers . 3)))
:custom
(dashboard-modify-heading-icons '((recents . "file-text")
(bookmarks . "book")))
:config
(dashboard-setup-startup-hook))
#+end_src
* DIMINISH
This package implements hiding or abbreviation of the modeline displays (lighters) of minor-modes. With this package installed, you can add ':diminish' to any use-package block to hide that particular mode in the modeline.
#+begin_src emacs-lisp
(use-package diminish)
#+end_src
* DIRED
#+begin_src emacs-lisp
(use-package dired-open
:config
(setq dired-open-extensions '(("gif" . "sxiv")
("jpg" . "sxiv")
("png" . "sxiv")
("mkv" . "mpv")
("mp4" . "mpv"))))
(use-package peep-dired
:after dired
:hook (evil-normalize-keymaps . peep-dired-hook)
:config
(evil-define-key 'normal dired-mode-map (kbd "h") 'dired-up-directory)
(evil-define-key 'normal dired-mode-map (kbd "l") 'dired-open-file) ; use dired-find-file instead if not using dired-open package
(evil-define-key 'normal peep-dired-mode-map (kbd "j") 'peep-dired-next-file)
(evil-define-key 'normal peep-dired-mode-map (kbd "k") 'peep-dired-prev-file)
)
#+end_src
* EVIL
[[https://github.com/emacs-evil/evil][Evil]] is an extensible vi/vim layer for Emacs. Because...let's face it. The Vim keybindings are just plain better.
#+begin_src emacs-lisp
;; Expands to: (elpaca evil (use-package evil :demand t))
(use-package evil
:init ;; tweak evil's configuration before loading it
(setq evil-want-integration t ;; This is optional since it's already set to t by default.
evil-want-keybinding nil
evil-vsplit-window-right t
evil-split-window-below t
evil-undo-system 'undo-redo) ;; Adds vim-like C-r redo functionality
(evil-mode))
(use-package evil-collection
:after evil
:config
(setq evil-collection-mode-list '(dashboard dired ibuffer))
(evil-collection-init))
(use-package evil-tutor)
#+end_src
* FLYCHECK
Install =luacheck= from your Linux distro's repositories for flycheck to work correctly with lua files. Install =python-pylint= for flycheck to work with python files. Haskell works with flycheck as long as =haskell-ghc= or =haskell-stack-ghc= is installed. For more information on language support for flycheck, [[https://www.flycheck.org/en/latest/languages.html][read this]].
#+begin_src emacs-lisp
(use-package flycheck
:ensure t
:defer t
:diminish
:init (global-flycheck-mode))
#+end_src
* FONTS
Defining the various fonts that Emacs will use.
** Setting the Font Face
#+begin_src emacs-lisp
(set-face-attribute 'default nil
:font "Hack Nerd Font Mono"
:height 110
:weight 'medium)
(set-face-attribute 'variable-pitch nil
:font "Hack Nerd Font Mono"
:height 120
:weight 'medium)
(set-face-attribute 'fixed-pitch nil
:font "Hack Nerd Font Mono"
:height 110
:weight 'medium)
;; Makes commented text and keywords italics.
;; This is working in emacsclient but not emacs.
;; Your font must have an italic face available.
(set-face-attribute 'font-lock-comment-face nil
:slant 'italic)
(set-face-attribute 'font-lock-keyword-face nil
:slant 'italic)
;; This sets the default font on all graphical frames created after restarting Emacs.
;; Does the same thing as 'set-face-attribute default' above, but emacsclient fonts
;; are not right unless I also add this method of setting the default font.
(add-to-list 'default-frame-alist '(font . "Hack Nerd Font Mono-11"))
;; Uncomment the following line if line spacing needs adjusting.
(setq-default line-spacing 0.12)
#+end_src
** Zooming In/Out
You can use the bindings CTRL plus =/- for zooming in/out. You can also use CTRL plus the mouse wheel for zooming in/out.
#+begin_src emacs-lisp
(global-set-key (kbd "C-=") 'text-scale-increase)
(global-set-key (kbd "C--") 'text-scale-decrease)
(global-set-key (kbd "<C-wheel-up>") 'text-scale-increase)
(global-set-key (kbd "<C-wheel-down>") 'text-scale-decrease)
#+end_src
* GENERAL KEYBINDINGS
#+begin_src emacs-lisp
(use-package general
:config
(general-evil-setup)
;; set up 'SPC' as the global leader key
(general-create-definer dt/leader-keys
:states '(normal insert visual emacs)
:keymaps 'override
:prefix "SPC" ;; set leader
:global-prefix "M-SPC") ;; access leader in insert mode
(dt/leader-keys
"SPC" '(counsel-M-x :wk "Counsel M-x")
"." '(find-file :wk "Find file")
"f c" '((lambda () (interactive) (find-file "~/.config/emacs/config.org")) :wk "Edit emacs config")
"f r" '(counsel-recentf :wk "Find recent files")
"TAB TAB" '(comment-line :wk "Comment lines"))
(dt/leader-keys
"b" '(:ignore t :wk "Bookmarks/Buffers")
"b c" '(clone-indirect-buffer :wk "Create indirect buffer copy in a split")
"b C" '(clone-indirect-buffer-other-window :wk "Clone indirect buffer in new window")
"b d" '(bookmark-delete :wk "Delete bookmark")
"b i" '(ibuffer :wk "Ibuffer")
"b k" '(kill-this-buffer :wk "Kill this buffer")
"b K" '(kill-some-buffers :wk "Kill multiple buffers")
"b l" '(list-bookmarks :wk "List bookmarks")
"b m" '(bookmark-set :wk "Set bookmark")
"b n" '(next-buffer :wk "Next buffer")
"b p" '(previous-buffer :wk "Previous buffer")
"b r" '(revert-buffer :wk "Reload buffer")
"b R" '(rename-buffer :wk "Rename buffer")
"b s" '(basic-save-buffer :wk "Save buffer")
"b S" '(save-some-buffers :wk "Save multiple buffers")
"b w" '(bookmark-save :wk "Save current bookmarks to bookmark file"))
(dt/leader-keys
"d" '(:ignore t :wk "Dired")
"d d" '(dired :wk "Open dired")
"d j" '(dired-jump :wk "Dired jump to current")
"d n" '(neotree-dir :wk "Open directory in neotree")
"d p" '(peep-dired :wk "Peep-dired"))
(dt/leader-keys
"e" '(:ignore t :wk "Eshell/Evaluate")
"e b" '(eval-buffer :wk "Evaluate elisp in buffer")
"e d" '(eval-defun :wk "Evaluate defun containing or after point")
"e e" '(eval-expression :wk "Evaluate and elisp expression")
"e h" '(counsel-esh-history :which-key "Eshell history")
"e l" '(eval-last-sexp :wk "Evaluate elisp expression before point")
"e r" '(eval-region :wk "Evaluate elisp in region")
"e s" '(eshell :which-key "Eshell"))
(dt/leader-keys
"h" '(:ignore t :wk "Help")
"h a" '(counsel-apropos :wk "Apropos")
"h b" '(describe-bindings :wk "Describe bindings")
"h c" '(describe-char :wk "Describe character under cursor")
"h d" '(:ignore t :wk "Emacs documentation")
"h d a" '(about-emacs :wk "About Emacs")
"h d d" '(view-emacs-debugging :wk "View Emacs debugging")
"h d f" '(view-emacs-FAQ :wk "View Emacs FAQ")
"h d m" '(info-emacs-manual :wk "The Emacs manual")
"h d n" '(view-emacs-news :wk "View Emacs news")
"h d o" '(describe-distribution :wk "How to obtain Emacs")
"h d p" '(view-emacs-problems :wk "View Emacs problems")
"h d t" '(view-emacs-todo :wk "View Emacs todo")
"h d w" '(describe-no-warranty :wk "Describe no warranty")
"h e" '(view-echo-area-messages :wk "View echo area messages")
"h f" '(describe-function :wk "Describe function")
"h F" '(describe-face :wk "Describe face")
"h g" '(describe-gnu-project :wk "Describe GNU Project")
"h i" '(info :wk "Info")
"h I" '(describe-input-method :wk "Describe input method")
"h k" '(describe-key :wk "Describe key")
"h l" '(view-lossage :wk "Display recent keystrokes and the commands run")
"h L" '(describe-language-environment :wk "Describe language environment")
"h m" '(describe-mode :wk "Describe mode")
"h r" '(:ignore t :wk "Reload")
"h r r" '((lambda () (interactive)
(load-file "~/.config/emacs/init.el")
(ignore (elpaca-process-queues)))
:wk "Reload emacs config")
"h t" '(load-theme :wk "Load theme")
"h v" '(describe-variable :wk "Describe variable")
"h w" '(where-is :wk "Prints keybinding for command if set")
"h x" '(describe-command :wk "Display full documentation for command"))
(dt/leader-keys
"m" '(:ignore t :wk "Org")
"m a" '(org-agenda :wk "Org agenda")
"m e" '(org-export-dispatch :wk "Org export dispatch")
"m i" '(org-toggle-item :wk "Org toggle item")
"m t" '(org-todo :wk "Org todo")
"m B" '(org-babel-tangle :wk "Org babel tangle")
"m T" '(org-todo-list :wk "Org todo list"))
(dt/leader-keys
"m b" '(:ignore t :wk "Tables")
"m b -" '(org-table-insert-hline :wk "Insert hline in table"))
(dt/leader-keys
"m d" '(:ignore t :wk "Date/deadline")
"m d t" '(org-time-stamp :wk "Org time stamp"))
(dt/leader-keys
"p" '(projectile-command-map :wk "Projectile"))
(dt/leader-keys
"t" '(:ignore t :wk "Toggle")
"t e" '(eshell-toggle :wk "Toggle eshell")
"t f" '(flycheck-mode :wk "Toggle flycheck")
"t l" '(display-line-numbers-mode :wk "Toggle line numbers")
"t n" '(neotree-toggle :wk "Toggle neotree file viewer")
"t r" '(rainbow-mode :wk "Toggle rainbow mode")
"t t" '(visual-line-mode :wk "Toggle truncated lines")
"t v" '(vterm-toggle :wk "Toggle vterm"))
(dt/leader-keys
"w" '(:ignore t :wk "Windows")
;; Window splits
"w c" '(evil-window-delete :wk "Close window")
"w n" '(evil-window-new :wk "New window")
"w s" '(evil-window-split :wk "Horizontal split window")
"w v" '(evil-window-vsplit :wk "Vertical split window")
;; Window motions
"w h" '(evil-window-left :wk "Window left")
"w j" '(evil-window-down :wk "Window down")
"w k" '(evil-window-up :wk "Window up")
"w l" '(evil-window-right :wk "Window right")
"w w" '(evil-window-next :wk "Goto next window")
;; Move Windows
"w H" '(buf-move-left :wk "Buffer move left")
"w J" '(buf-move-down :wk "Buffer move down")
"w K" '(buf-move-up :wk "Buffer move up")
"w L" '(buf-move-right :wk "Buffer move right"))
)
#+end_src
* GRAPHICAL USER INTERFACE TWEAKS
Let's make GNU Emacs look a little better.
** Disable Menubar, Toolbars and Scrollbars
#+begin_src emacs-lisp
(menu-bar-mode -1)
(tool-bar-mode -1)
(scroll-bar-mode -1)
#+end_src
** Display Line Numbers and Truncated Lines
#+begin_src emacs-lisp
(global-display-line-numbers-mode 1)
(global-visual-line-mode t)
#+end_src
* IVY (COUNSEL)
+ Ivy, a generic completion mechanism for Emacs.
+ Counsel, a collection of Ivy-enhanced versions of common Emacs commands.
+ Ivy-rich allows us to add descriptions alongside the commands in M-x.
#+begin_src emacs-lisp
(use-package counsel
:after ivy
:diminish
:config (counsel-mode))
(use-package ivy
:bind
;; ivy-resume resumes the last Ivy-based completion.
(("C-c C-r" . ivy-resume)
("C-x B" . ivy-switch-buffer-other-window))
:diminish
:custom
(setq ivy-use-virtual-buffers t)
(setq ivy-count-format "(%d/%d) ")
(setq enable-recursive-minibuffers t)
:config
(ivy-mode))
(use-package all-the-icons-ivy-rich
:ensure t
:init (all-the-icons-ivy-rich-mode 1))
(use-package ivy-rich
:after ivy
:ensure t
:init (ivy-rich-mode 1) ;; this gets us descriptions in M-x.
:custom
(ivy-virtual-abbreviate 'full
ivy-rich-switch-buffer-align-virtual-buffer t
ivy-rich-path-style 'abbrev)
:config
(ivy-set-display-transformer 'ivy-switch-buffer
'ivy-rich-switch-buffer-transformer))
#+end_src
* LANGUAGE SUPPORT
Emacs has built-in programming language modes for Lisp, Scheme, DSSSL, Ada, ASM, AWK, C, C++, Fortran, Icon, IDL (CORBA), IDLWAVE, Java, Javascript, M4, Makefiles, Metafont, Modula2, Object Pascal, Objective-C, Octave, Pascal, Perl, Pike, PostScript, Prolog, Python, Ruby, Simula, SQL, Tcl, Verilog, and VHDL. Other languages will require you to install additional modes.
#+begin_src emacs-lisp
(use-package haskell-mode)
(use-package lua-mode)
#+end_src
* MODELINE
The modeline is the bottom status bar that appears in Emacs windows. While you can create your own custom modeline, why go to the trouble when Doom Emacs already has a nice modeline package available. For more information on what is available to configure in the Doom modeline, check out: [[https://github.com/seagle0128/doom-modeline][Doom Modeline]]
#+begin_src emacs-lisp
(use-package doom-modeline
:ensure t
:init (doom-modeline-mode 1)
:config
(setq doom-modeline-height 35 ;; sets modeline height
doom-modeline-bar-width 5 ;; sets right bar width
doom-modeline-persp-name t ;; adds perspective name to modeline
doom-modeline-persp-icon t)) ;; adds folder icon next to persp name
#+end_src
* NEOTREE
Neotree is a file tree viewer. When you open neotree, it jumps to the current file thanks to neo-smart-open. The neo-window-fixed-size setting makes the neotree width be adjustable. NeoTree provides following themes: classic, ascii, arrow, icons, and nerd. Theme can be config'd by setting "two" themes for neo-theme: one for the GUI and one for the terminal. I like to use 'SPC t' for 'toggle' keybindings, so I have used 'SPC t n' for toggle-neotree.
| COMMAND | DESCRIPTION | KEYBINDING |
|----------------+---------------------------+------------|
| neotree-toggle | /Toggle neotree/ | SPC t n |
| neotree- dir | /Open directory in neotree/ | SPC d n |
#+BEGIN_SRC emacs-lisp
(use-package neotree
:config
(setq neo-smart-open t
neo-show-hidden-files t
neo-window-width 55
neo-window-fixed-size nil
inhibit-compacting-font-caches t
projectile-switch-project-action 'neotree-projectile-action)
;; truncate long file names in neotree
(add-hook 'neo-after-create-hook
#'(lambda (_)
(with-current-buffer (get-buffer neo-buffer-name)
(setq truncate-lines t)
(setq word-wrap nil)
(make-local-variable 'auto-hscroll-mode)
(setq auto-hscroll-mode nil)))))
#+end_src
* ORG MODE
** Enabling Table of Contents
#+begin_src emacs-lisp
(use-package toc-org
:commands toc-org-enable
:init (add-hook 'org-mode-hook 'toc-org-enable))
#+end_src
** Enabling Org Bullets
Org-bullets gives us attractive bullets rather than asterisks.
#+begin_src emacs-lisp
(add-hook 'org-mode-hook 'org-indent-mode)
(use-package org-bullets)
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
#+end_src
** Disable Electric Indent
Org mode source blocks have some really weird and annoying default indentation behavior. I think this has to do with electric-indent-mode, which is turned on by default in Emacs, and the fact that Org defaults to indenting 2 spaces in source blocks. So let's turn it all of that OFF!
#+begin_src emacs-lisp
(electric-indent-mode -1)
(setq org-edit-src-content-indentation 0)
#+end_src
** Diminish Org Indent Mode
Removes "Ind" from showing in the modeline.
#+begin_src emacs-lisp
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
#+end_src
** Org Level Headers
#+begin_src emacs-lisp
(custom-set-faces
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))
'(org-level-3 ((t (:inherit outline-3 :height 1.5))))
'(org-level-4 ((t (:inherit outline-4 :height 1.4))))
'(org-level-5 ((t (:inherit outline-5 :height 1.3))))
'(org-level-6 ((t (:inherit outline-5 :height 1.2))))
'(org-level-7 ((t (:inherit outline-5 :height 1.1)))))
#+end_src
** Source Code Block Tag Expansion
Org-tempo is not a separate package but a module within org that can be enabled. Org-tempo allows for '<s' followed by TAB to expand to a begin_src tag. Other expansions available include:
| Typing the below + TAB | Expands to ... |
|------------------------+-----------------------------------------|
| <a | '#+BEGIN_EXPORT ascii' … '#+END_EXPORT |
| <c | '#+BEGIN_CENTER' … '#+END_CENTER' |
| <C | '#+BEGIN_COMMENT' … '#+END_COMMENT' |
| <e | '#+BEGIN_EXAMPLE' … '#+END_EXAMPLE' |
| <E | '#+BEGIN_EXPORT' … '#+END_EXPORT' |
| <h | '#+BEGIN_EXPORT html' … '#+END_EXPORT' |
| <l | '#+BEGIN_EXPORT latex' … '#+END_EXPORT' |
| <q | '#+BEGIN_QUOTE' … '#+END_QUOTE' |
| <s | '#+BEGIN_SRC' … '#+END_SRC' |
| <v | '#+BEGIN_VERSE' … '#+END_VERSE' |
#+begin_src emacs-lisp
(require 'org-tempo)
#+end_src
* PROJECTILE
[[https://github.com/bbatsov/projectile][Projectile]] is a project interaction library for Emacs. It should be noted that many projectile commands do not work if you have set "fish" as the "shell-file-name" for Emacs. I had initially set "fish" as the "shell-file-name" in the Vterm section of this config, but oddly enough I changed it to "bin/sh" and projectile now works as expected, and Vterm still uses "fish" because my default user "sh" on my Linux system is "fish".
#+begin_src emacs-lisp
(use-package projectile
:config
(projectile-mode 1))
#+end_src
* RAINBOW MODE
Display the actual color as a background for any hex color value (ex. #ffffff). The code block below enables rainbow-mode in all programming modes (prog-mode) as well as org-mode, which is why rainbow works in this document.
#+begin_src emacs-lisp
(use-package rainbow-mode
:diminish
:hook org-mode prog-mode)
#+end_src
* SHELLS AND TERMINALS
In my configs, all of my shells (bash, fish, zsh and the ESHELL) require my shell-color-scripts-git package to be installed. On Arch Linux, you can install it from the AUR. Otherwise, go to my shell-color-scripts repository on GitLab to get it.
** Eshell
Eshell is an Emacs 'shell' that is written in Elisp.
#+begin_src emacs-lisp
(use-package eshell-toggle
:custom
(eshell-toggle-size-fraction 3)
(eshell-toggle-use-projectile-root t)
(eshell-toggle-run-command nil)
(eshell-toggle-init-function #'eshell-toggle-init-ansi-term))
(use-package eshell-syntax-highlighting
:after esh-mode
:config
(eshell-syntax-highlighting-global-mode +1))
;; eshell-syntax-highlighting -- adds fish/zsh-like syntax highlighting.
;; eshell-rc-script -- your profile for eshell; like a bashrc for eshell.
;; eshell-aliases-file -- sets an aliases file for the eshell.
(setq eshell-rc-script (concat user-emacs-directory "eshell/profile")
eshell-aliases-file (concat user-emacs-directory "eshell/aliases")
eshell-history-size 5000
eshell-buffer-maximum-lines 5000
eshell-hist-ignoredups t
eshell-scroll-to-bottom-on-input t
eshell-destroy-buffer-when-process-dies t
eshell-visual-commands'("bash" "fish" "htop" "ssh" "top" "zsh"))
#+end_src
** Vterm
Vterm is a terminal emulator within Emacs. The 'shell-file-name' setting sets the shell to be used in M-x shell, M-x term, M-x ansi-term and M-x vterm. By default, the shell is set to 'fish' but could change it to 'bash' or 'zsh' if you prefer.
#+begin_src emacs-lisp
(use-package vterm
:config
(setq shell-file-name "/bin/sh"
vterm-max-scrollback 5000))
#+end_src
** Vterm-Toggle
[[https://github.com/jixiuf/vterm-toggle][vterm-toggle]] toggles between the vterm buffer and whatever buffer you are editing.
#+begin_src emacs-lisp
(use-package vterm-toggle
:after vterm
:config
(setq vterm-toggle-fullscreen-p nil)
(setq vterm-toggle-scope 'project)
(add-to-list 'display-buffer-alist
'((lambda (buffer-or-name _)
(let ((buffer (get-buffer buffer-or-name)))
(with-current-buffer buffer
(or (equal major-mode 'vterm-mode)
(string-prefix-p vterm-buffer-name (buffer-name buffer))))))
(display-buffer-reuse-window display-buffer-at-bottom)
;;(display-buffer-reuse-window display-buffer-in-direction)
;;display-buffer-in-direction/direction/dedicated is added in emacs27
;;(direction . bottom)
;;(dedicated . t) ;dedicated is supported in emacs27
(reusable-frames . visible)
(window-height . 0.4))))
#+end_src
* SUDO EDIT
[[https://github.com/nflath/sudo-edit][sudo-edit]] gives us the ability to open files with sudo privileges or switch over to editing with sudo privileges if we initially opened the file without such privileges.
#+begin_src emacs-lisp
(use-package sudo-edit
:config
(dt/leader-keys
"fu" '(sudo-edit-find-file :wk "Sudo find file")
"fU" '(sudo-edit :wk "Sudo edit file")))
#+end_src
* THEME
The first line below designates the directory where will place all of our custom-made themes, which I have created only one (minimal-mistakes). You can create your own Emacs themes with the help of the [[https://emacsfodder.github.io/emacs-theme-editor/][Emacs Theme Editor]]. I am also installing =doom-themes= because it contains a huge collection of themes. M-x load-theme will list all of the themes available.
#+begin_src emacs-lisp
(add-to-list 'custom-theme-load-path "~/.config/emacs/themes/")
(use-package doom-themes
:config
(setq doom-themes-enable-bold t ; if nil, bold is universally disabled
doom-themes-enable-italic t) ; if nil, italics is universally disabled
;; Sets the default theme to load!!!
(load-theme 'minimal-mistakes t)
;; Enable custom neotree theme (all-the-icons must be installed!)
(doom-themes-neotree-config)
;; Corrects (and improves) org-mode's native fontification.
(doom-themes-org-config))
#+end_src
* TRANSPARENCY
With Emacs version 29, true transparency has been added. I have turned transparency off by setting the alpha to '100'. If you want some slight transparency, try setting alpha to '90'. Of course, if you set alpha to '0', the background of Emacs would completely transparent.
#+begin_src emacs-lisp
(add-to-list 'default-frame-alist '(alpha-background . 100)) ; For all new frames henceforth
#+end_src
* WHICH-KEY
#+begin_src emacs-lisp
(use-package which-key
:init
(which-key-mode 1)
:diminish
:config
(setq which-key-side-window-location 'bottom
which-key-sort-order #'which-key-key-order-alpha
which-key-allow-imprecise-window-fit nil
which-key-sort-uppercase-first nil
which-key-add-column-padding 1
which-key-max-display-columns nil
which-key-min-display-lines 6
which-key-side-window-slot -10
which-key-side-window-max-height 0.25
which-key-idle-delay 0.8
which-key-max-description-length 25
which-key-allow-imprecise-window-fit nil
which-key-separator " → " ))
#+end_src

View File

@ -1 +0,0 @@
(setq package-enable-at-startup nil)

View File

@ -1,23 +0,0 @@
# Aliases for emacs commands
alias ff find-file $1
# Aliasing standard shell commands to better emacs alternatives
alias less view-file $1
# Changing "ls" to "exa"
alias ls exa -al --color=always --group-directories-first $* # my preferred listing
alias la exa -a --color=always --group-directories-first $* # all files and dirs
alias ll exa -l --color=always --group-directories-first $* # long format
alias lt exa -aT --color=always --group-directories-first $* # tree listing
alias l. exa -a1 $* | grep "^\." # list hidden files
# Merge Xresources
alias merge xrdb -merge ~/.Xresources
# Confirm before overwriting something
alias cp cp -i $1
alias mv mv -i $1
alias rm rm -i $1
# Bare git repo alias for dotfiles
alias config /usr/bin/git --git-dir=$HOME/dotfiles --work-tree=$HOME $*

View File

@ -1 +0,0 @@
fish

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

View File

@ -1,23 +0,0 @@
(org-babel-load-file
(expand-file-name
"config.org"
user-emacs-directory))
(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
'("02f57ef0a20b7f61adce51445b68b2a7e832648ce2e7efb19d217b6454c1b644" "6945dadc749ac5cbd47012cad836f92aea9ebec9f504d32fe89a956260773ca4" "944d52450c57b7cbba08f9b3d08095eb7a5541b0ecfb3a0a9ecd4a18f3c28948" "636b135e4b7c86ac41375da39ade929e2bd6439de8901f53f88fde7dd5ac3561" "1f669e8abe4dc2855268c9a607b5e350e2811b3c5afd09af5939ff0c01a89c5a" default)))
(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.
'(org-level-1 ((t (:inherit outline-1 :height 1.7))))
'(org-level-2 ((t (:inherit outline-2 :height 1.6))))
'(org-level-3 ((t (:inherit outline-3 :height 1.5))))
'(org-level-4 ((t (:inherit outline-4 :height 1.4))))
'(org-level-5 ((t (:inherit outline-5 :height 1.3))))
'(org-level-6 ((t (:inherit outline-5 :height 1.2))))
'(org-level-7 ((t (:inherit outline-5 :height 1.1)))))

View File

@ -1,55 +0,0 @@
;;; app-launchers.el --- Possible alternatives to dmenu/rofi
;;; Code:
;; Counsel-Linux-App
;; Since we have counsel installed, we can use 'counsel-linux-app' to launch our Linux apps. It list the apps by their executable command, so it's kind of tricky to use.
(defun emacs-counsel-launcher ()
"Create and select a frame called emacs-counsel-launcher which consists only of a minibuffer and has specific dimensions. Runs counsel-linux-app on that frame, which is an emacs command that prompts you to select an app and open it in a dmenu like behaviour. Delete the frame after that command has exited"
(interactive)
(with-selected-frame
(make-frame '((name . "emacs-run-launcher")
(minibuffer . only)
(fullscreen . 0) ; no fullscreen
(undecorated . t) ; remove title bar
;;(auto-raise . t) ; focus on this frame
;;(tool-bar-lines . 0)
;;(menu-bar-lines . 0)
(internal-border-width . 10)
(width . 80)
(height . 11)))
(unwind-protect
(counsel-linux-app)
(delete-frame))))
;; App-Launcher
;; The 'app-launcher' is a better run launcher since it reads the desktop applications on your system and you can search them by their names as defined in their desktop file. This means that sometimes you have to search for a generic term rather than the actual binary command of the program.
(use-package app-launcher
:elpaca '(app-launcher :host github :repo "SebastienWae/app-launcher"))
;; create a global keyboard shortcut with the following code
;; emacsclient -cF "((visibility . nil))" -e "(emacs-run-launcher)"
(defun emacs-run-launcher ()
"Create and select a frame called emacs-run-launcher which consists only of a minibuffer and has specific dimensions. Runs app-launcher-run-app on that frame, which is an emacs command that prompts you to select an app and open it in a dmenu like behaviour. Delete the frame after that command has exited"
(interactive)
(with-selected-frame
(make-frame '((name . "emacs-run-launcher")
(minibuffer . only)
(fullscreen . 0) ; no fullscreen
(undecorated . t) ; remove title bar
;;(auto-raise . t) ; focus on this frame
;;(tool-bar-lines . 0)
;;(menu-bar-lines . 0)
(internal-border-width . 10)
(width . 80)
(height . 11)))
(unwind-protect
(app-launcher-run-app)
(delete-frame))))
(provide 'app-launchers)
;;; app-launchers.el ends here

View File

@ -1,101 +0,0 @@
;;; buffer-move.el --- Buffer move allows for better window controls.
;; Copyright (C) 2004-2014 Lucas Bonnet <lucas@rincevent.net.fr>
;; Author: Lucas Bonnet <lucas@rincevent.net>
;; Keywords: lisp,convenience
;; Version: 0.5
;; URL : https://github.com/lukhas/buffer-move
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
;; as published by the Free Software Foundation; either version 2
;; of the License, or (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
;; 02111-1307, USA.
;;; Commentary:
;; This file is for lazy people wanting to swap buffers without
;; typing C-x b on each window.
;;; Code:
(require 'windmove)
;;;###autoload
(defun buf-move-up ()
"Swap the current buffer and the buffer above the split.
If there is no split, ie now window above the current one, an
error is signaled."
;; "Switches between the current buffer, and the buffer above the
;; split, if possible."
(interactive)
(let* ((other-win (windmove-find-other-window 'up))
(buf-this-buf (window-buffer (selected-window))))
(if (null other-win)
(error "No window above this one")
;; swap top with this one
(set-window-buffer (selected-window) (window-buffer other-win))
;; move this one to top
(set-window-buffer other-win buf-this-buf)
(select-window other-win))))
;;;###autoload
(defun buf-move-down ()
"Swap the current buffer and the buffer under the split.
If there is no split, ie now window under the current one, an
error is signaled."
(interactive)
(let* ((other-win (windmove-find-other-window 'down))
(buf-this-buf (window-buffer (selected-window))))
(if (or (null other-win)
(string-match "^ \\*Minibuf" (buffer-name (window-buffer other-win))))
(error "No window under this one")
;; swap top with this one
(set-window-buffer (selected-window) (window-buffer other-win))
;; move this one to top
(set-window-buffer other-win buf-this-buf)
(select-window other-win))))
;;;###autoload
(defun buf-move-left ()
"Swap the current buffer and the buffer on the left of the split.
If there is no split, ie now window on the left of the current
one, an error is signaled."
(interactive)
(let* ((other-win (windmove-find-other-window 'left))
(buf-this-buf (window-buffer (selected-window))))
(if (null other-win)
(error "No left split")
;; swap top with this one
(set-window-buffer (selected-window) (window-buffer other-win))
;; move this one to top
(set-window-buffer other-win buf-this-buf)
(select-window other-win))))
;;;###autoload
(defun buf-move-right ()
"Swap the current buffer and the buffer on the right of the split.
If there is no split, ie now window on the right of the current
one, an error is signaled."
(interactive)
(let* ((other-win (windmove-find-other-window 'right))
(buf-this-buf (window-buffer (selected-window))))
(if (null other-win)
(error "No right split")
;; swap top with this one
(set-window-buffer (selected-window) (window-buffer other-win))
;; move this one to top
(set-window-buffer other-win buf-this-buf)
(select-window other-win))))
(provide 'buffer-move)
;;; buffer-move.el ends here

View File

@ -1,68 +0,0 @@
;;; Code:
(defvar elpaca-installer-version 0.5)
(defvar elpaca-directory (expand-file-name "elpaca/" user-emacs-directory))
(defvar elpaca-builds-directory (expand-file-name "builds/" elpaca-directory))
(defvar elpaca-repos-directory (expand-file-name "repos/" elpaca-directory))
(defvar elpaca-order '(elpaca :repo "https://github.com/progfolio/elpaca.git"
:ref nil
:files (:defaults (:exclude "extensions"))
:build (:not elpaca--activate-package)))
(let* ((repo (expand-file-name "elpaca/" elpaca-repos-directory))
(build (expand-file-name "elpaca/" elpaca-builds-directory))
(order (cdr elpaca-order))
(default-directory repo))
(add-to-list 'load-path (if (file-exists-p build) build repo))
(unless (file-exists-p repo)
(make-directory repo t)
(when (< emacs-major-version 28) (require 'subr-x))
(condition-case-unless-debug err
(if-let ((buffer (pop-to-buffer-same-window "*elpaca-bootstrap*"))
((zerop (call-process "git" nil buffer t "clone"
(plist-get order :repo) repo)))
((zerop (call-process "git" nil buffer t "checkout"
(or (plist-get order :ref) "--"))))
(emacs (concat invocation-directory invocation-name))
((zerop (call-process emacs nil buffer nil "-Q" "-L" "." "--batch"
"--eval" "(byte-recompile-directory \".\" 0 'force)")))
((require 'elpaca))
((elpaca-generate-autoloads "elpaca" repo)))
(kill-buffer buffer)
(error "%s" (with-current-buffer buffer (buffer-string))))
((error) (warn "%s" err) (delete-directory repo 'recursive))))
(unless (require 'elpaca-autoloads nil t)
(require 'elpaca)
(elpaca-generate-autoloads "elpaca" repo)
(load "./elpaca-autoloads")))
(add-hook 'after-init-hook #'elpaca-process-queues)
(elpaca `(,@elpaca-order))
;; Install use-package support
(elpaca elpaca-use-package
;; Enable :elpaca use-package keyword.
(elpaca-use-package-mode)
;; Assume :elpaca t unless otherwise specified.
(setq elpaca-use-package-by-default t))
;; Block until current queue processed.
(elpaca-wait)
;;When installing a package which modifies a form used at the top-level
;;(e.g. a package which adds a use-package key word),
;;use `elpaca-wait' to block until that package has been installed/configured.
;;For example:
;;(use-package general :demand t)
;;(elpaca-wait)
;;Turns off elpaca-use-package-mode current declartion
;;Note this will cause the declaration to be interpreted immediately (not deferred).
;;Useful for configuring built-in emacs features.
;;(use-package emacs :elpaca nil :config (setq ring-bell-function #'ignore))
;; Don't install anything. Defer execution of BODY
;;(elpaca nil (message "deferred"))
(provide 'elpaca-setup)
;;; elpaca-setup.el ends here

View File

@ -1,317 +0,0 @@
;;; dtmacs-theme.el --- Theme
;; Copyright (C) 2023 ,
;; Author: Derek Taylor (DT)
;; Version: 0.1
;; Package-Requires: ((emacs "24.1"))
;; Created with ThemeCreator, https://github.com/mswift42/themecreator.
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;; This file is not part of Emacs.
;;; Commentary:
;;; dtmacs-theme was created by Derek Taylor in 2023
;;; Code:
(deftheme dtmacs)
(let ((class '((class color) (min-colors 89)))
(fg1 "#d3eaf4")
(fg2 "#cadae2")
(fg3 "#748895")
(fg4 "#4f545a")
(fg6 "#c4c4c4")
(bg1 "#192428")
(bg2 "#24343e")
(bg3 "#0c191d")
(bg4 "#0d6f9f")
(builtin "#41b2ea")
(keyword "#9bee8b")
(const "#96defa")
(comment "#7a95a0")
(func "#a094fb")
(str "#89e14b")
(type "#68cee8")
(var "#ff6ba9")
(bufid "#ffffff")
(selection "#e81050")
(warning "#e81050")
(warning2 "#e86310")
(todo "#c897ff")
(done "#d6ff97")
(unspec (when (>= emacs-major-version 29) 'unspecified)))
(custom-theme-set-faces
'dtmacs
`(default ((,class (:background ,bg1 :foreground ,fg1))))
`(dashboard-footer ((,class (:foreground ,var :italic t))))
`(dashboard-heading ((,class (:foreground ,const :weight bold))))
`(dashboard-text-banner ((,class (:foreground ,fg1 :weight bold))))
`(dashboard-banner-logo-title ((,class (:foreground ,str :weight bold))))
`(font-lock-builtin-face ((,class (:foreground ,builtin))))
`(font-lock-comment-face ((,class (:italic t :foreground ,comment))))
`(font-lock-negation-char-face ((,class (:foreground ,const))))
`(font-lock-reference-face ((,class (:foreground ,const))))
`(font-lock-constant-face ((,class (:foreground ,const))))
`(font-lock-doc-face ((,class (:foreground ,comment))))
`(font-lock-function-name-face ((,class (:foreground ,func ))))
`(font-lock-keyword-face ((,class (:bold ,class :foreground ,keyword))))
`(font-lock-string-face ((,class (:foreground ,str))))
`(font-lock-type-face ((,class (:foreground ,type ))))
`(font-lock-variable-name-face ((,class (:foreground ,var))))
`(font-lock-warning-face ((,class (:foreground ,warning :background ,bg2))))
`(term-color-black ((,class (:foreground ,fg2 :background ,unspec))))
;; `(region ((,class (:background ,fg1 :foreground ,bg1))))
`(region ((,class (:background ,selection))))
`(highlight ((,class (:foreground ,fg3 :background ,bg3))))
`(hl-line ((,class (:background ,bg2))))
`(fringe ((,class (:background ,bg1 :foreground ,fg4))))
`(cursor ((,class (:background ,fg4))))
`(isearch ((,class (:bold t :foreground ,warning :background ,bg3))))
`(mode-line ((,class (:box (:line-width 4 :color ,bg2) :bold t :foreground ,fg3 :background ,bg2))))
`(mode-line-inactive ((,class (:box (:line-width 4 :color ,bg3) :foreground ,fg3 :background ,bg3 :weight bold))))
`(mode-line-buffer-id ((,class (:box nil :bold t :foreground ,bufid :background ,unspec))))
`(mode-line-highlight ((,class (:box nil :foreground ,selection :weight bold))))
`(mode-line-emphasis ((,class (:foreground ,fg1))))
`(vertical-border ((,class (:foreground ,fg3))))
`(minibuffer-prompt ((,class (:bold t :foreground ,builtin))))
`(default-italic ((,class (:italic t))))
`(link ((,class (:foreground ,const :underline t))))
`(org-code ((,class (:foreground ,fg2))))
`(org-hide ((,class (:foreground ,fg4))))
`(org-level-1 ((,class (:bold t :foreground ,builtin :height 1.7))))
`(org-level-2 ((,class (:bold t :foreground ,str :height 1.6))))
`(org-level-3 ((,class (:bold t :foreground ,var :height 1.5))))
`(org-level-4 ((,class (:bold t :foreground ,func :height 1.4))))
`(org-level-5 ((,class (:bold t :foreground ,const :height 1.3))))
`(org-level-6 ((,class (:bold t :foreground ,keyword :height 1.2))))
`(org-level-7 ((,class (:bold t :foreground ,builtin :height 1.1))))
`(org-level-8 ((,class (:bold t :foreground ,str :height 1.0))))
`(org-date ((,class (:underline t :foreground ,var) )))
`(org-footnote ((,class (:underline t :foreground ,fg4))))
`(org-link ((,class (:underline t :foreground ,type ))))
`(org-special-keyword ((,class (:foreground ,func))))
`(org-block ((,class (:foreground ,fg2))))
`(org-quote ((,class (:inherit org-block :slant italic))))
`(org-verse ((,class (:inherit org-block :slant italic))))
`(org-todo ((,class (:foreground ,todo :bold t :italic t))))
`(org-done ((,class (:foreground ,done :bold t :italic t))))
`(org-warning ((,class (:underline t :foreground ,warning))))
`(org-agenda-structure ((,class (:weight bold :foreground ,fg3 :box (:color ,fg4) :background ,bg3))))
`(org-agenda-date ((,class (:foreground ,var :height 1.1 ))))
`(org-agenda-date-weekend ((,class (:weight normal :foreground ,fg4))))
`(org-agenda-date-today ((,class (:weight bold :foreground ,keyword :height 1.4))))
`(org-agenda-done ((,class (:foreground ,bg4))))
`(org-scheduled ((,class (:foreground ,type))))
`(org-scheduled-today ((,class (:foreground ,func :weight bold :height 1.2))))
`(org-ellipsis ((,class (:foreground ,builtin))))
`(org-verbatim ((,class (:foreground ,str))))
`(org-document-info-keyword ((,class (:foreground ,func))))
`(font-latex-bold-face ((,class (:foreground ,type))))
`(font-latex-italic-face ((,class (:foreground ,var :italic t))))
`(font-latex-string-face ((,class (:foreground ,str))))
`(font-latex-match-reference-keywords ((,class (:foreground ,const))))
`(font-latex-match-variable-keywords ((,class (:foreground ,var))))
`(ido-only-match ((,class (:foreground ,warning))))
`(org-sexp-date ((,class (:foreground ,fg4))))
`(ido-first-match ((,class (:foreground ,keyword :bold t))))
`(ivy-current-match ((,class (:foreground ,fg3 :inherit highlight :underline t))))
`(gnus-header-content ((,class (:foreground ,keyword))))
`(gnus-header-from ((,class (:foreground ,var))))
`(gnus-header-name ((,class (:foreground ,type))))
`(gnus-header-subject ((,class (:foreground ,func :bold t))))
`(mu4e-view-url-number-face ((,class (:foreground ,type))))
`(mu4e-cited-1-face ((,class (:foreground ,fg2))))
`(mu4e-cited-7-face ((,class (:foreground ,fg3))))
`(mu4e-header-marks-face ((,class (:foreground ,type))))
`(ffap ((,class (:foreground ,fg4))))
`(js2-private-function-call ((,class (:foreground ,const))))
`(js2-jsdoc-html-tag-delimiter ((,class (:foreground ,str))))
`(js2-jsdoc-html-tag-name ((,class (:foreground ,var))))
`(js2-external-variable ((,class (:foreground ,type ))))
`(js2-function-param ((,class (:foreground ,const))))
`(js2-jsdoc-value ((,class (:foreground ,str))))
`(js2-private-member ((,class (:foreground ,fg3))))
`(js3-warning-face ((,class (:underline ,keyword))))
`(js3-error-face ((,class (:underline ,warning))))
`(js3-external-variable-face ((,class (:foreground ,var))))
`(js3-function-param-face ((,class (:foreground ,fg2))))
`(js3-jsdoc-tag-face ((,class (:foreground ,keyword))))
`(js3-instance-member-face ((,class (:foreground ,const))))
`(warning ((,class (:foreground ,warning))))
`(ac-completion-face ((,class (:underline t :foreground ,keyword))))
`(info-quoted-name ((,class (:foreground ,builtin))))
`(info-string ((,class (:foreground ,str))))
`(icompletep-determined ((,class :foreground ,builtin)))
`(undo-tree-visualizer-current-face ((,class :foreground ,builtin)))
`(undo-tree-visualizer-default-face ((,class :foreground ,fg2)))
`(undo-tree-visualizer-unmodified-face ((,class :foreground ,var)))
`(undo-tree-visualizer-register-face ((,class :foreground ,type)))
`(slime-repl-inputed-output-face ((,class (:foreground ,type))))
`(trailing-whitespace ((,class :foreground ,unspec :background ,warning)))
`(rainbow-delimiters-depth-1-face ((,class :foreground ,fg1)))
`(rainbow-delimiters-depth-2-face ((,class :foreground ,type)))
`(rainbow-delimiters-depth-3-face ((,class :foreground ,var)))
`(rainbow-delimiters-depth-4-face ((,class :foreground ,const)))
`(rainbow-delimiters-depth-5-face ((,class :foreground ,keyword)))
`(rainbow-delimiters-depth-6-face ((,class :foreground ,fg1)))
`(rainbow-delimiters-depth-7-face ((,class :foreground ,type)))
`(rainbow-delimiters-depth-8-face ((,class :foreground ,var)))
`(magit-item-highlight ((,class :background ,bg3)))
`(magit-section-heading ((,class (:foreground ,keyword :weight bold))))
`(magit-hunk-heading ((,class (:background ,bg3))))
`(magit-section-highlight ((,class (:background ,bg2))))
`(magit-hunk-heading-highlight ((,class (:background ,bg3))))
`(magit-diff-context-highlight ((,class (:background ,bg3 :foreground ,fg3))))
`(magit-diffstat-added ((,class (:foreground ,type))))
`(magit-diffstat-removed ((,class (:foreground ,var))))
`(magit-process-ok ((,class (:foreground ,func :weight bold))))
`(magit-process-ng ((,class (:foreground ,warning :weight bold))))
`(magit-branch ((,class (:foreground ,const :weight bold))))
`(magit-log-author ((,class (:foreground ,fg3))))
`(magit-hash ((,class (:foreground ,fg2))))
`(magit-diff-file-header ((,class (:foreground ,fg2 :background ,bg3))))
`(lazy-highlight ((,class (:foreground ,fg2 :background ,bg3))))
`(term ((,class (:foreground ,fg1 :background ,bg1))))
`(term-color-black ((,class (:foreground ,bg3 :background ,bg3))))
`(term-color-blue ((,class (:foreground ,func :background ,func))))
`(term-color-red ((,class (:foreground ,keyword :background ,bg3))))
`(term-color-green ((,class (:foreground ,type :background ,bg3))))
`(term-color-yellow ((,class (:foreground ,var :background ,var))))
`(term-color-magenta ((,class (:foreground ,builtin :background ,builtin))))
`(term-color-cyan ((,class (:foreground ,str :background ,str))))
`(term-color-white ((,class (:foreground ,fg2 :background ,fg2))))
`(rainbow-delimiters-unmatched-face ((,class :foreground ,warning)))
`(helm-header ((,class (:foreground ,fg2 :background ,bg1 :underline nil :box nil))))
`(helm-source-header ((,class (:foreground ,keyword :background ,bg1 :underline nil :weight bold))))
`(helm-selection ((,class (:background ,bg2 :underline nil))))
`(helm-selection-line ((,class (:background ,bg2))))
`(helm-visible-mark ((,class (:foreground ,bg1 :background ,bg3))))
`(helm-candidate-number ((,class (:foreground ,bg1 :background ,fg1))))
`(helm-separator ((,class (:foreground ,type :background ,bg1))))
`(helm-time-zone-current ((,class (:foreground ,builtin :background ,bg1))))
`(helm-time-zone-home ((,class (:foreground ,type :background ,bg1))))
`(helm-buffer-not-saved ((,class (:foreground ,type :background ,bg1))))
`(helm-buffer-process ((,class (:foreground ,builtin :background ,bg1))))
`(helm-buffer-saved-out ((,class (:foreground ,fg1 :background ,bg1))))
`(helm-buffer-size ((,class (:foreground ,fg1 :background ,bg1))))
`(helm-ff-directory ((,class (:foreground ,func :background ,bg1 :weight bold))))
`(helm-ff-file ((,class (:foreground ,fg1 :background ,bg1 :weight normal))))
`(helm-ff-executable ((,class (:foreground ,var :background ,bg1 :weight normal))))
`(helm-ff-invalid-symlink ((,class (:foreground ,warning2 :background ,bg1 :weight bold))))
`(helm-ff-symlink ((,class (:foreground ,keyword :background ,bg1 :weight bold))))
`(helm-ff-prefix ((,class (:foreground ,bg1 :background ,keyword :weight normal))))
`(helm-grep-cmd-line ((,class (:foreground ,fg1 :background ,bg1))))
`(helm-grep-file ((,class (:foreground ,fg1 :background ,bg1))))
`(helm-grep-finish ((,class (:foreground ,fg2 :background ,bg1))))
`(helm-grep-lineno ((,class (:foreground ,fg1 :background ,bg1))))
`(helm-grep-match ((,class (:foreground ,unspec :background ,unspec :inherit helm-match))))
`(helm-grep-running ((,class (:foreground ,func :background ,bg1))))
`(helm-moccur-buffer ((,class (:foreground ,func :background ,bg1))))
`(helm-source-go-package-godoc-description ((,class (:foreground ,str))))
`(helm-bookmark-w3m ((,class (:foreground ,type))))
`(company-echo-common ((,class (:foreground ,bg1 :background ,fg1))))
`(company-preview ((,class (:background ,bg1 :foreground ,var))))
`(company-preview-common ((,class (:foreground ,bg2 :foreground ,fg3))))
`(company-preview-search ((,class (:foreground ,type :background ,bg1))))
`(company-scrollbar-bg ((,class (:background ,bg3))))
`(company-scrollbar-fg ((,class (:foreground ,keyword))))
`(company-tooltip ((,class (:foreground ,fg2 :background ,bg2 :bold t))))
`(company-tooltop-annotation ((,class (:foreground ,const))))
`(company-tooltip-common ((,class ( :foreground ,fg3))))
`(company-tooltip-common-selection ((,class (:foreground ,str))))
`(company-tooltip-mouse ((,class (:inherit highlight))))
`(company-tooltip-selection ((,class (:background ,bg3 :foreground ,fg3))))
`(company-template-field ((,class (:inherit region))))
`(web-mode-builtin-face ((,class (:inherit ,font-lock-builtin-face))))
`(web-mode-comment-face ((,class (:inherit ,font-lock-comment-face))))
`(web-mode-constant-face ((,class (:inherit ,font-lock-constant-face))))
`(web-mode-keyword-face ((,class (:foreground ,keyword))))
`(web-mode-doctype-face ((,class (:inherit ,font-lock-comment-face))))
`(web-mode-function-name-face ((,class (:inherit ,font-lock-function-name-face))))
`(web-mode-string-face ((,class (:foreground ,str))))
`(web-mode-type-face ((,class (:inherit ,font-lock-type-face))))
`(web-mode-html-attr-name-face ((,class (:foreground ,func))))
`(web-mode-html-attr-value-face ((,class (:foreground ,keyword))))
`(web-mode-warning-face ((,class (:inherit ,font-lock-warning-face))))
`(web-mode-html-tag-face ((,class (:foreground ,builtin))))
`(jde-java-font-lock-package-face ((t (:foreground ,var))))
`(jde-java-font-lock-public-face ((t (:foreground ,keyword))))
`(jde-java-font-lock-private-face ((t (:foreground ,keyword))))
`(jde-java-font-lock-constant-face ((t (:foreground ,const))))
`(jde-java-font-lock-modifier-face ((t (:foreground ,fg2))))
`(jde-jave-font-lock-protected-face ((t (:foreground ,keyword))))
`(jde-java-font-lock-number-face ((t (:foreground ,var))))
`(yas-field-highlight-face ((t (:background ,selection)))))
;; Legacy
(if (< emacs-major-version 22)
(custom-theme-set-faces
'dtmacs
`(show-paren-match-face ((,class (:background ,warning))))) ;; obsoleted in 22.1, removed 2016
(custom-theme-set-faces
'dtmacs
`(show-paren-match ((,class (:foreground ,bg1 :background ,str))))
`(show-paren-mismatch ((,class (:foreground ,bg1 :background ,warning))))))
;; emacs >= 26.1
(when (>= emacs-major-version 26)
(custom-theme-set-faces
'dtmacs
`(line-number ((t (:inherit fringe))))
`(line-number-current-line ((t (:inherit fringe :foreground ,fg6 :weight bold))))))
;; emacs >= 27.1
(when (>= emacs-major-version 27)
(custom-theme-set-faces
'dtmacs
`(tab-line ((,class (:background ,bg2 :foreground ,fg4))))
`(tab-line-tab ((,class (:inherit tab-line))))
`(tab-line-tab-inactive ((,class (:background ,bg2 :foreground ,fg4))))
`(tab-line-tab-current ((,class (:background ,bg1 :foreground ,fg1))))
`(tab-line-highlight ((,class (:background ,bg1 :foreground ,fg2))))))
(when (>= emacs-major-version 28)
(custom-theme-set-faces
'dtmacs
`(line-number ((t (:inherit fringe))))
`(line-number-current-line ((t (:inherit fringe :foreground ,fg6 :weight bold))))))
;; emacs >= 27.1
(when (>= emacs-major-version 27)
(custom-theme-set-faces
'dtmacs
`(tab-line ((,class (:background ,bg2 :foreground ,fg4))))
`(tab-line-tab ((,class (:inherit tab-line))))
`(tab-line-tab-inactive ((,class (:background ,bg2 :foreground ,fg4))))
`(tab-line-tab-current ((,class (:background ,bg1 :foreground ,fg1))))
`(tab-line-highlight ((,class (:background ,bg1 :foreground ,fg2))))))
(when (>= emacs-major-version 28)
(custom-theme-set-faces
'dtmacs
`(tab-line-tab-modified ((,class (:foreground ,warning2 :weight bold))))))
(when (boundp 'font-lock-regexp-face)
(custom-theme-set-faces
'dtmacs
`(font-lock-regexp-face ((,class (:inherit font-lock-string-face :underline t)))))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'dtmacs)
;; Local Variables:
;; no-byte-compile: t
;; End:
;;; dtmacs-theme.el ends here

View File

@ -1,879 +0,0 @@
;;; minimal-mistakes-theme.el --- Minimal-Mistakes Theme
;; Copyright 2022-present, All rights reserved
;;
;; Code licensed under the MIT license
;; SPDX-License-Identifier: MIT
;; Maintainer: minimal-mistakes <wayne6324@gmail.com>
;; Author: minimal-mistakes
;; Version: 1.0.0
;; Package-Requires: ((emacs "24.3"))
;; URL: https://github.com/minimal-mistakes/emacs
;;; Commentary:
;; A dark color theme available for a number of editors.
;; This theme tries as much as possible to follow the consensual
;; specification (see URL 'https://minimalmistakes.org/specs').
;;; Code:
(deftheme minimal-mistakes)
;;;; Configuration options:
(defgroup minimal-mistakes nil
"Minimal-Mistakes theme options.
The theme has to be reloaded after changing anything in this group."
:group 'faces)
(defcustom minimal-mistakes-enlarge-headings t
"Use different font sizes for some headings and titles."
:type 'boolean
:group 'minimal-mistakes)
(defcustom minimal-mistakes-height-title-1 1.3
"Font size 100%."
:type 'number
:group 'minimal-mistakes)
(defcustom minimal-mistakes-height-title-2 1.1
"Font size 110%."
:type 'number
:group 'minimal-mistakes)
(defcustom minimal-mistakes-height-title-3 1.0
"Font size 130%."
:type 'number
:group 'minimal-mistakes)
(defcustom minimal-mistakes-height-doc-title 1.44
"Font size 144%."
:type 'number
:group 'minimal-mistakes)
(defcustom minimal-mistakes-alternate-mode-line-and-minibuffer nil
"Use less bold and pink in the minibuffer."
:type 'boolean
:group 'minimal-mistakes)
(defvar minimal-mistakes-use-24-bit-colors-on-256-colors-terms nil
"Use true colors even on terminals announcing less capabilities.
Beware the use of this variable. Using it may lead to unwanted
behavior, the most common one being an ugly blue background on
terminals, which don't understand 24 bit colors. To avoid this
blue background, when using this variable, one can try to add the
following lines in their config file after having load the
Minimal-Mistakes theme:
(unless (display-graphic-p)
(set-face-background 'default \"black\" nil))
")
;;;; Theme definition:
;; Assigment form: VARIABLE COLOR [256-COLOR [TTY-COLOR]]
(let ((colors '(;; Upstream theme color
(minimal-mistakes-bg "#283036" "#283036" "#283036") ; official background
(minimal-mistakes-fg "#e5e9f0" "#e5e9f0" "#e5e9f0") ; official foreground
(minimal-mistakes-current "#434c5e" "#434c5e" "#434c5e") ; official current-line/selection
(minimal-mistakes-comment "#81a1c1" "#81a1c1" "#81a1c1") ; official comment
(minimal-mistakes-cyan "#59fff9" "#59fff9" "#a6fffc") ; official cyan
(minimal-mistakes-green "#59ff59" "#59ff59" "#a6ffa6") ; official green
(minimal-mistakes-orange "#ff9c59" "#ff9c59" "#ffc9a6") ; official orange
(minimal-mistakes-pink "#ff59f9" "#ff59f9" "#ffa6fc") ; official pink
(minimal-mistakes-purple "#9059ff" "#9059ff" "#c5a6ff") ; official purple
(minimal-mistakes-red "#ff5959" "#ff5959" "#ffa6a6") ; official red
(minimal-mistakes-yellow "#ffff59" "#ffff59" "#ffffa6") ; official yellow
;; Other colors
(bg2 "#373844" "#121212" "brightblack")
(bg3 "#464752" "#262626" "brightblack")
(bg4 "#565761" "#444444" "brightblack")
(fg2 "#e2e2dc" "#e4e4e4" "brightwhite")
(fg3 "#ccccc7" "#c6c6c6" "white")
(fg4 "#b6b6b2" "#b2b2b2" "white")
(other-blue "#0189cc" "#0087ff" "brightblue")))
(faces '(;; default / basic faces
(cursor :background ,fg3)
(default :background ,minimal-mistakes-bg :foreground ,minimal-mistakes-fg)
(default-italic :slant italic)
(error :foreground ,minimal-mistakes-red)
(ffap :foreground ,fg4)
(fringe :background ,minimal-mistakes-bg :foreground ,fg4)
(header-line :background ,minimal-mistakes-bg)
(highlight :foreground ,fg3 :background ,bg3)
(hl-line :background ,minimal-mistakes-current :extend t)
(info-quoted-name :foreground ,minimal-mistakes-orange)
(info-string :foreground ,minimal-mistakes-yellow)
(lazy-highlight :foreground ,fg2 :background ,bg2)
(link :foreground ,minimal-mistakes-cyan :underline t)
(linum :slant italic :foreground ,bg4 :background ,minimal-mistakes-bg)
(line-number :slant italic :foreground ,bg4 :background ,minimal-mistakes-bg)
(match :background ,minimal-mistakes-yellow :foreground ,minimal-mistakes-bg)
(menu :background ,minimal-mistakes-current :inverse-video nil
,@(if minimal-mistakes-alternate-mode-line-and-minibuffer
(list :foreground fg3)
(list :foreground minimal-mistakes-fg)))
(minibuffer-prompt
,@(if minimal-mistakes-alternate-mode-line-and-minibuffer
(list :weight 'normal :foreground minimal-mistakes-fg)
(list :weight 'bold :foreground minimal-mistakes-pink)))
(read-multiple-choice-face :inherit completions-first-difference)
(region :inherit match :extend t)
(shadow :foreground ,minimal-mistakes-comment)
(success :foreground ,minimal-mistakes-green)
(tooltip :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-current)
(trailing-whitespace :background ,minimal-mistakes-orange)
(vertical-border :foreground ,bg2)
(warning :foreground ,minimal-mistakes-orange)
;; syntax / font-lock
(font-lock-builtin-face :foreground ,minimal-mistakes-cyan :slant italic)
(font-lock-comment-face :inherit shadow)
(font-lock-comment-delimiter-face :inherit shadow)
(font-lock-constant-face :foreground ,minimal-mistakes-purple)
(font-lock-doc-face :foreground ,minimal-mistakes-comment)
(font-lock-function-name-face :foreground ,minimal-mistakes-green :weight bold)
(font-lock-keyword-face :foreground ,minimal-mistakes-pink :weight bold)
(font-lock-negation-char-face :foreground ,minimal-mistakes-cyan)
(font-lock-preprocessor-face :foreground ,minimal-mistakes-orange)
(font-lock-reference-face :inherit font-lock-constant-face) ;; obsolete
(font-lock-regexp-grouping-backslash :foreground ,minimal-mistakes-cyan)
(font-lock-regexp-grouping-construct :foreground ,minimal-mistakes-purple)
(font-lock-string-face :foreground ,minimal-mistakes-yellow)
(font-lock-type-face :inherit font-lock-builtin-face)
(font-lock-variable-name-face :foreground ,minimal-mistakes-fg :weight bold)
(font-lock-warning-face :inherit warning :background ,bg2)
;; auto-complete
(ac-completion-face :underline t :foreground ,minimal-mistakes-pink)
;; company
(company-echo-common :foreground ,minimal-mistakes-bg :background ,minimal-mistakes-fg)
(company-preview :background ,minimal-mistakes-current :foreground ,other-blue)
(company-preview-common :inherit company-preview
:foreground ,minimal-mistakes-pink)
(company-preview-search :inherit company-preview
:foreground ,minimal-mistakes-green)
(company-scrollbar-bg :background ,minimal-mistakes-comment)
(company-scrollbar-fg :foreground ,other-blue)
(company-tooltip :inherit tooltip)
(company-tooltip-search :foreground ,minimal-mistakes-green
:underline t)
(company-tooltip-search-selection :background ,minimal-mistakes-green
:foreground ,minimal-mistakes-bg)
(company-tooltip-selection :inherit match)
(company-tooltip-mouse :background ,minimal-mistakes-bg)
(company-tooltip-common :foreground ,minimal-mistakes-pink :weight bold)
;;(company-tooltip-common-selection :inherit company-tooltip-common)
(company-tooltip-annotation :foreground ,minimal-mistakes-cyan)
;;(company-tooltip-annotation-selection :inherit company-tooltip-annotation)
;; completions (minibuffer.el)
(completions-annotations :inherit font-lock-comment-face)
(completions-common-part :foreground ,minimal-mistakes-green)
(completions-first-difference :foreground ,minimal-mistakes-pink :weight bold)
;; diff-hl
(diff-hl-change :foreground ,minimal-mistakes-orange :background ,minimal-mistakes-orange)
(diff-hl-delete :foreground ,minimal-mistakes-red :background ,minimal-mistakes-red)
(diff-hl-insert :foreground ,minimal-mistakes-green :background ,minimal-mistakes-green)
;; dired
(dired-directory :foreground ,minimal-mistakes-green :weight normal)
(dired-flagged :foreground ,minimal-mistakes-pink)
(dired-header :foreground ,fg3 :background ,minimal-mistakes-bg)
(dired-ignored :inherit shadow)
(dired-mark :foreground ,minimal-mistakes-fg :weight bold)
(dired-marked :foreground ,minimal-mistakes-orange :weight bold)
(dired-perm-write :foreground ,fg3 :underline t)
(dired-symlink :foreground ,minimal-mistakes-yellow :weight normal :slant italic)
(dired-warning :foreground ,minimal-mistakes-orange :underline t)
(diredp-compressed-file-name :foreground ,fg3)
(diredp-compressed-file-suffix :foreground ,fg4)
(diredp-date-time :foreground ,minimal-mistakes-fg)
(diredp-deletion-file-name :foreground ,minimal-mistakes-pink :background ,minimal-mistakes-current)
(diredp-deletion :foreground ,minimal-mistakes-pink :weight bold)
(diredp-dir-heading :foreground ,fg2 :background ,bg4)
(diredp-dir-name :inherit dired-directory)
(diredp-dir-priv :inherit dired-directory)
(diredp-executable-tag :foreground ,minimal-mistakes-orange)
(diredp-file-name :foreground ,minimal-mistakes-fg)
(diredp-file-suffix :foreground ,fg4)
(diredp-flag-mark-line :foreground ,fg2 :slant italic :background ,minimal-mistakes-current)
(diredp-flag-mark :foreground ,fg2 :weight bold :background ,minimal-mistakes-current)
(diredp-ignored-file-name :foreground ,minimal-mistakes-fg)
(diredp-mode-line-flagged :foreground ,minimal-mistakes-orange)
(diredp-mode-line-marked :foreground ,minimal-mistakes-orange)
(diredp-no-priv :foreground ,minimal-mistakes-fg)
(diredp-number :foreground ,minimal-mistakes-cyan)
(diredp-other-priv :foreground ,minimal-mistakes-orange)
(diredp-rare-priv :foreground ,minimal-mistakes-orange)
(diredp-read-priv :foreground ,minimal-mistakes-purple)
(diredp-write-priv :foreground ,minimal-mistakes-pink)
(diredp-exec-priv :foreground ,minimal-mistakes-yellow)
(diredp-symlink :foreground ,minimal-mistakes-orange)
(diredp-link-priv :foreground ,minimal-mistakes-orange)
(diredp-autofile-name :foreground ,minimal-mistakes-yellow)
(diredp-tagged-autofile-name :foreground ,minimal-mistakes-yellow)
;; elfeed
(elfeed-search-date-face :foreground ,minimal-mistakes-comment)
(elfeed-search-title-face :foreground ,minimal-mistakes-fg)
(elfeed-search-unread-title-face :foreground ,minimal-mistakes-pink :weight bold)
(elfeed-search-feed-face :foreground ,minimal-mistakes-fg :weight bold)
(elfeed-search-tag-face :foreground ,minimal-mistakes-green)
(elfeed-search-last-update-face :weight bold)
(elfeed-search-unread-count-face :foreground ,minimal-mistakes-pink)
(elfeed-search-filter-face :foreground ,minimal-mistakes-green :weight bold)
;;(elfeed-log-date-face :inherit font-lock-type-face)
(elfeed-log-error-level-face :foreground ,minimal-mistakes-red)
(elfeed-log-warn-level-face :foreground ,minimal-mistakes-orange)
(elfeed-log-info-level-face :foreground ,minimal-mistakes-cyan)
(elfeed-log-debug-level-face :foreground ,minimal-mistakes-comment)
;; elpher
(elpher-gemini-heading1 :inherit bold :foreground ,minimal-mistakes-pink
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-1)))
(elpher-gemini-heading2 :inherit bold :foreground ,minimal-mistakes-purple
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-2)))
(elpher-gemini-heading3 :weight normal :foreground ,minimal-mistakes-green
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-3)))
(elpher-gemini-preformatted :inherit fixed-pitch
:foreground ,minimal-mistakes-orange)
;; enh-ruby
(enh-ruby-heredoc-delimiter-face :foreground ,minimal-mistakes-yellow)
(enh-ruby-op-face :foreground ,minimal-mistakes-pink)
(enh-ruby-regexp-delimiter-face :foreground ,minimal-mistakes-yellow)
(enh-ruby-string-delimiter-face :foreground ,minimal-mistakes-yellow)
;; flyspell
(flyspell-duplicate :underline (:style wave :color ,minimal-mistakes-orange))
(flyspell-incorrect :underline (:style wave :color ,minimal-mistakes-red))
;; font-latex
(font-latex-bold-face :foreground ,minimal-mistakes-purple)
(font-latex-italic-face :foreground ,minimal-mistakes-pink :slant italic)
(font-latex-match-reference-keywords :foreground ,minimal-mistakes-cyan)
(font-latex-match-variable-keywords :foreground ,minimal-mistakes-fg)
(font-latex-string-face :foreground ,minimal-mistakes-yellow)
;; gemini
(gemini-heading-face-1 :inherit bold :foreground ,minimal-mistakes-pink
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-1)))
(gemini-heading-face-2 :inherit bold :foreground ,minimal-mistakes-purple
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-2)))
(gemini-heading-face-3 :weight normal :foreground ,minimal-mistakes-green
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-3)))
(gemini-heading-face-rest :weight normal :foreground ,minimal-mistakes-yellow)
(gemini-quote-face :foreground ,minimal-mistakes-purple)
;; go-test
(go-test--ok-face :inherit success)
(go-test--error-face :inherit error)
(go-test--warning-face :inherit warning)
(go-test--pointer-face :foreground ,minimal-mistakes-pink)
(go-test--standard-face :foreground ,minimal-mistakes-cyan)
;; gnus-group
(gnus-group-mail-1 :foreground ,minimal-mistakes-pink :weight bold)
(gnus-group-mail-1-empty :inherit gnus-group-mail-1 :weight normal)
(gnus-group-mail-2 :foreground ,minimal-mistakes-cyan :weight bold)
(gnus-group-mail-2-empty :inherit gnus-group-mail-2 :weight normal)
(gnus-group-mail-3 :foreground ,minimal-mistakes-comment :weight bold)
(gnus-group-mail-3-empty :inherit gnus-group-mail-3 :weight normal)
(gnus-group-mail-low :foreground ,minimal-mistakes-current :weight bold)
(gnus-group-mail-low-empty :inherit gnus-group-mail-low :weight normal)
(gnus-group-news-1 :foreground ,minimal-mistakes-pink :weight bold)
(gnus-group-news-1-empty :inherit gnus-group-news-1 :weight normal)
(gnus-group-news-2 :foreground ,minimal-mistakes-cyan :weight bold)
(gnus-group-news-2-empty :inherit gnus-group-news-2 :weight normal)
(gnus-group-news-3 :foreground ,minimal-mistakes-comment :weight bold)
(gnus-group-news-3-empty :inherit gnus-group-news-3 :weight normal)
(gnus-group-news-4 :inherit gnus-group-news-low)
(gnus-group-news-4-empty :inherit gnus-group-news-low-empty)
(gnus-group-news-5 :inherit gnus-group-news-low)
(gnus-group-news-5-empty :inherit gnus-group-news-low-empty)
(gnus-group-news-6 :inherit gnus-group-news-low)
(gnus-group-news-6-empty :inherit gnus-group-news-low-empty)
(gnus-group-news-low :foreground ,minimal-mistakes-current :weight bold)
(gnus-group-news-low-empty :inherit gnus-group-news-low :weight normal)
(gnus-header-content :foreground ,minimal-mistakes-purple)
(gnus-header-from :foreground ,minimal-mistakes-fg)
(gnus-header-name :foreground ,minimal-mistakes-green)
(gnus-header-subject :foreground ,minimal-mistakes-pink :weight bold)
(gnus-summary-markup-face :foreground ,minimal-mistakes-cyan)
(gnus-summary-high-unread :foreground ,minimal-mistakes-pink :weight bold)
(gnus-summary-high-read :inherit gnus-summary-high-unread :weight normal)
(gnus-summary-high-ancient :inherit gnus-summary-high-read)
(gnus-summary-high-ticked :inherit gnus-summary-high-read :underline t)
(gnus-summary-normal-unread :foreground ,other-blue :weight bold)
(gnus-summary-normal-read :foreground ,minimal-mistakes-comment :weight normal)
(gnus-summary-normal-ancient :inherit gnus-summary-normal-read :weight light)
(gnus-summary-normal-ticked :foreground ,minimal-mistakes-pink :weight bold)
(gnus-summary-low-unread :foreground ,minimal-mistakes-comment :weight bold)
(gnus-summary-low-read :inherit gnus-summary-low-unread :weight normal)
(gnus-summary-low-ancient :inherit gnus-summary-low-read)
(gnus-summary-low-ticked :inherit gnus-summary-low-read :underline t)
(gnus-summary-selected :inverse-video t)
;; haskell-mode
(haskell-operator-face :foreground ,minimal-mistakes-pink)
(haskell-constructor-face :foreground ,minimal-mistakes-purple)
;; helm
(helm-bookmark-w3m :foreground ,minimal-mistakes-purple)
(helm-buffer-not-saved :foreground ,minimal-mistakes-purple :background ,minimal-mistakes-bg)
(helm-buffer-process :foreground ,minimal-mistakes-orange :background ,minimal-mistakes-bg)
(helm-buffer-saved-out :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-bg)
(helm-buffer-size :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-bg)
(helm-candidate-number :foreground ,minimal-mistakes-bg :background ,minimal-mistakes-fg)
(helm-ff-directory :foreground ,minimal-mistakes-green :background ,minimal-mistakes-bg :weight bold)
(helm-ff-dotted-directory :foreground ,minimal-mistakes-green :background ,minimal-mistakes-bg :weight normal)
(helm-ff-executable :foreground ,other-blue :background ,minimal-mistakes-bg :weight normal)
(helm-ff-file :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-bg :weight normal)
(helm-ff-invalid-symlink :foreground ,minimal-mistakes-pink :background ,minimal-mistakes-bg :weight bold)
(helm-ff-prefix :foreground ,minimal-mistakes-bg :background ,minimal-mistakes-pink :weight normal)
(helm-ff-symlink :foreground ,minimal-mistakes-pink :background ,minimal-mistakes-bg :weight bold)
(helm-grep-cmd-line :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-bg)
(helm-grep-file :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-bg)
(helm-grep-finish :foreground ,fg2 :background ,minimal-mistakes-bg)
(helm-grep-lineno :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-bg)
(helm-grep-match :inherit match)
(helm-grep-running :foreground ,minimal-mistakes-green :background ,minimal-mistakes-bg)
(helm-header :foreground ,fg2 :background ,minimal-mistakes-bg :underline nil :box nil)
(helm-moccur-buffer :foreground ,minimal-mistakes-green :background ,minimal-mistakes-bg)
(helm-selection :background ,bg2 :underline nil)
(helm-selection-line :background ,bg2)
(helm-separator :foreground ,minimal-mistakes-purple :background ,minimal-mistakes-bg)
(helm-source-go-package-godoc-description :foreground ,minimal-mistakes-yellow)
(helm-source-header :foreground ,minimal-mistakes-pink :background ,minimal-mistakes-bg :underline nil :weight bold)
(helm-time-zone-current :foreground ,minimal-mistakes-orange :background ,minimal-mistakes-bg)
(helm-time-zone-home :foreground ,minimal-mistakes-purple :background ,minimal-mistakes-bg)
(helm-visible-mark :foreground ,minimal-mistakes-bg :background ,bg3)
;; highlight-indentation minor mode
(highlight-indentation-face :background ,bg2)
;; icicle
(icicle-whitespace-highlight :background ,minimal-mistakes-fg)
(icicle-special-candidate :foreground ,fg2)
(icicle-extra-candidate :foreground ,fg2)
(icicle-search-main-regexp-others :foreground ,minimal-mistakes-fg)
(icicle-search-current-input :foreground ,minimal-mistakes-pink)
(icicle-search-context-level-8 :foreground ,minimal-mistakes-orange)
(icicle-search-context-level-7 :foreground ,minimal-mistakes-orange)
(icicle-search-context-level-6 :foreground ,minimal-mistakes-orange)
(icicle-search-context-level-5 :foreground ,minimal-mistakes-orange)
(icicle-search-context-level-4 :foreground ,minimal-mistakes-orange)
(icicle-search-context-level-3 :foreground ,minimal-mistakes-orange)
(icicle-search-context-level-2 :foreground ,minimal-mistakes-orange)
(icicle-search-context-level-1 :foreground ,minimal-mistakes-orange)
(icicle-search-main-regexp-current :foreground ,minimal-mistakes-fg)
(icicle-saved-candidate :foreground ,minimal-mistakes-fg)
(icicle-proxy-candidate :foreground ,minimal-mistakes-fg)
(icicle-mustmatch-completion :foreground ,minimal-mistakes-purple)
(icicle-multi-command-completion :foreground ,fg2 :background ,bg2)
(icicle-msg-emphasis :foreground ,minimal-mistakes-green)
(icicle-mode-line-help :foreground ,fg4)
(icicle-match-highlight-minibuffer :foreground ,minimal-mistakes-orange)
(icicle-match-highlight-Completions :foreground ,minimal-mistakes-green)
(icicle-key-complete-menu-local :foreground ,minimal-mistakes-fg)
(icicle-key-complete-menu :foreground ,minimal-mistakes-fg)
(icicle-input-completion-fail-lax :foreground ,minimal-mistakes-pink)
(icicle-input-completion-fail :foreground ,minimal-mistakes-pink)
(icicle-historical-candidate-other :foreground ,minimal-mistakes-fg)
(icicle-historical-candidate :foreground ,minimal-mistakes-fg)
(icicle-current-candidate-highlight :foreground ,minimal-mistakes-orange :background ,bg3)
(icicle-Completions-instruction-2 :foreground ,fg4)
(icicle-Completions-instruction-1 :foreground ,fg4)
(icicle-completion :foreground ,minimal-mistakes-fg)
(icicle-complete-input :foreground ,minimal-mistakes-orange)
(icicle-common-match-highlight-Completions :foreground ,minimal-mistakes-purple)
(icicle-candidate-part :foreground ,minimal-mistakes-fg)
(icicle-annotation :foreground ,fg4)
;; icomplete
(icompletep-determined :foreground ,minimal-mistakes-orange)
;; ido
(ido-first-match
,@(if minimal-mistakes-alternate-mode-line-and-minibuffer
(list :weight 'normal :foreground minimal-mistakes-green)
(list :weight 'bold :foreground minimal-mistakes-pink)))
(ido-only-match :foreground ,minimal-mistakes-orange)
(ido-subdir :foreground ,minimal-mistakes-yellow)
(ido-virtual :foreground ,minimal-mistakes-cyan)
(ido-incomplete-regexp :inherit font-lock-warning-face)
(ido-indicator :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-pink)
;; ivy
(ivy-current-match
,@(if minimal-mistakes-alternate-mode-line-and-minibuffer
(list :weight 'normal :background minimal-mistakes-current :foreground minimal-mistakes-green)
(list :weight 'bold :background minimal-mistakes-current :foreground minimal-mistakes-pink)))
;; Highlights the background of the match.
(ivy-minibuffer-match-face-1 :background ,minimal-mistakes-current)
;; Highlights the first matched group.
(ivy-minibuffer-match-face-2 :background ,minimal-mistakes-green
:foreground ,minimal-mistakes-bg)
;; Highlights the second matched group.
(ivy-minibuffer-match-face-3 :background ,minimal-mistakes-yellow
:foreground ,minimal-mistakes-bg)
;; Highlights the third matched group.
(ivy-minibuffer-match-face-4 :background ,minimal-mistakes-pink
:foreground ,minimal-mistakes-bg)
(ivy-confirm-face :foreground ,minimal-mistakes-orange)
(ivy-match-required-face :foreground ,minimal-mistakes-red)
(ivy-subdir :foreground ,minimal-mistakes-yellow)
(ivy-remote :foreground ,minimal-mistakes-pink)
(ivy-virtual :foreground ,minimal-mistakes-cyan)
;; isearch
(isearch :inherit match :weight bold)
(isearch-fail :foreground ,minimal-mistakes-bg :background ,minimal-mistakes-orange)
;; jde-java
(jde-java-font-lock-constant-face :foreground ,minimal-mistakes-cyan)
(jde-java-font-lock-modifier-face :foreground ,minimal-mistakes-pink)
(jde-java-font-lock-number-face :foreground ,minimal-mistakes-fg)
(jde-java-font-lock-package-face :foreground ,minimal-mistakes-fg)
(jde-java-font-lock-private-face :foreground ,minimal-mistakes-pink)
(jde-java-font-lock-public-face :foreground ,minimal-mistakes-pink)
;; js2-mode
(js2-external-variable :foreground ,minimal-mistakes-purple)
(js2-function-param :foreground ,minimal-mistakes-cyan)
(js2-jsdoc-html-tag-delimiter :foreground ,minimal-mistakes-yellow)
(js2-jsdoc-html-tag-name :foreground ,other-blue)
(js2-jsdoc-value :foreground ,minimal-mistakes-yellow)
(js2-private-function-call :foreground ,minimal-mistakes-cyan)
(js2-private-member :foreground ,fg3)
;; js3-mode
(js3-error-face :underline ,minimal-mistakes-orange)
(js3-external-variable-face :foreground ,minimal-mistakes-fg)
(js3-function-param-face :foreground ,minimal-mistakes-pink)
(js3-instance-member-face :foreground ,minimal-mistakes-cyan)
(js3-jsdoc-tag-face :foreground ,minimal-mistakes-pink)
(js3-warning-face :underline ,minimal-mistakes-pink)
;; lsp
(lsp-ui-peek-peek :background ,minimal-mistakes-bg)
(lsp-ui-peek-list :background ,bg2)
(lsp-ui-peek-filename :foreground ,minimal-mistakes-pink :weight bold)
(lsp-ui-peek-line-number :foreground ,minimal-mistakes-fg)
(lsp-ui-peek-highlight :inherit highlight :distant-foreground ,minimal-mistakes-bg)
(lsp-ui-peek-header :background ,bg3 :foreground ,fg3, :weight bold)
(lsp-ui-peek-footer :inherit lsp-ui-peek-header)
(lsp-ui-peek-selection :inherit match)
(lsp-ui-sideline-symbol :foreground ,fg4 :box (:line-width -1 :color ,fg4) :height 0.99)
(lsp-ui-sideline-current-symbol :foreground ,minimal-mistakes-fg :weight ultra-bold
:box (:line-width -1 :color minimal-mistakes-fg) :height 0.99)
(lsp-ui-sideline-code-action :foreground ,minimal-mistakes-yellow)
(lsp-ui-sideline-symbol-info :slant italic :height 0.99)
(lsp-ui-doc-background :background ,minimal-mistakes-bg)
(lsp-ui-doc-header :foreground ,minimal-mistakes-bg :background ,minimal-mistakes-cyan)
;; magit
(magit-branch-local :foreground ,minimal-mistakes-cyan)
(magit-branch-remote :foreground ,minimal-mistakes-green)
(magit-tag :foreground ,minimal-mistakes-orange)
(magit-section-heading :foreground ,minimal-mistakes-pink :weight bold)
(magit-section-highlight :background ,bg3 :extend t)
(magit-diff-context-highlight :background ,bg3
:foreground ,fg3
:extend t)
(magit-diff-revision-summary :foreground ,minimal-mistakes-orange
:background ,minimal-mistakes-bg
:weight bold)
(magit-diff-revision-summary-highlight :foreground ,minimal-mistakes-orange
:background ,bg3
:weight bold
:extend t)
;; the four following lines are just a patch of the
;; upstream color to add the extend keyword.
(magit-diff-added :background "#335533"
:foreground "#ddffdd"
:extend t)
(magit-diff-added-highlight :background "#336633"
:foreground "#cceecc"
:extend t)
(magit-diff-removed :background "#553333"
:foreground "#ffdddd"
:extend t)
(magit-diff-removed-highlight :background "#663333"
:foreground "#eecccc"
:extend t)
(magit-diff-file-heading :foreground ,minimal-mistakes-fg)
(magit-diff-file-heading-highlight :inherit magit-section-highlight)
(magit-diffstat-added :foreground ,minimal-mistakes-green)
(magit-diffstat-removed :foreground ,minimal-mistakes-red)
(magit-hash :foreground ,fg2)
(magit-hunk-heading :background ,bg3)
(magit-hunk-heading-highlight :background ,bg3)
(magit-item-highlight :background ,bg3)
(magit-log-author :foreground ,fg3)
(magit-process-ng :foreground ,minimal-mistakes-orange :weight bold)
(magit-process-ok :foreground ,minimal-mistakes-green :weight bold)
;; markdown
(markdown-blockquote-face :foreground ,minimal-mistakes-yellow
:slant italic)
(markdown-code-face :foreground ,minimal-mistakes-orange)
(markdown-footnote-face :foreground ,other-blue)
(markdown-header-face :weight normal)
(markdown-header-face-1
:inherit bold :foreground ,minimal-mistakes-pink
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-1)))
(markdown-header-face-2
:inherit bold :foreground ,minimal-mistakes-purple
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-2)))
(markdown-header-face-3
:foreground ,minimal-mistakes-green
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-3)))
(markdown-header-face-4 :foreground ,minimal-mistakes-yellow)
(markdown-header-face-5 :foreground ,minimal-mistakes-cyan)
(markdown-header-face-6 :foreground ,minimal-mistakes-orange)
(markdown-header-face-7 :foreground ,other-blue)
(markdown-header-face-8 :foreground ,minimal-mistakes-fg)
(markdown-inline-code-face :foreground ,minimal-mistakes-green)
(markdown-plain-url-face :inherit link)
(markdown-pre-face :foreground ,minimal-mistakes-orange)
(markdown-table-face :foreground ,minimal-mistakes-purple)
(markdown-list-face :foreground ,minimal-mistakes-cyan)
(markdown-language-keyword-face :foreground ,minimal-mistakes-comment)
;; message
(message-header-to :foreground ,minimal-mistakes-fg :weight bold)
(message-header-cc :foreground ,minimal-mistakes-fg :bold bold)
(message-header-subject :foreground ,minimal-mistakes-orange)
(message-header-newsgroups :foreground ,minimal-mistakes-purple)
(message-header-other :foreground ,minimal-mistakes-purple)
(message-header-name :foreground ,minimal-mistakes-green)
(message-header-xheader :foreground ,minimal-mistakes-cyan)
(message-separator :foreground ,minimal-mistakes-cyan :slant italic)
(message-cited-text :foreground ,minimal-mistakes-purple)
(message-cited-text-1 :foreground ,minimal-mistakes-purple)
(message-cited-text-2 :foreground ,minimal-mistakes-orange)
(message-cited-text-3 :foreground ,minimal-mistakes-comment)
(message-cited-text-4 :foreground ,fg2)
(message-mml :foreground ,minimal-mistakes-green :weight normal)
;; mode-line
(mode-line :background ,minimal-mistakes-current
:box ,minimal-mistakes-current :inverse-video nil
,@(if minimal-mistakes-alternate-mode-line-and-minibuffer
(list :foreground fg3)
(list :foreground minimal-mistakes-fg)))
(mode-line-inactive
:background ,minimal-mistakes-bg :inverse-video nil
,@(if minimal-mistakes-alternate-mode-line-and-minibuffer
(list :foreground minimal-mistakes-comment :box minimal-mistakes-bg)
(list :foreground fg4 :box bg2)))
(mini-modeline-mode-line :inherit mode-line :height 0.1 :box nil)
;; mu4e
(mu4e-unread-face :foreground ,minimal-mistakes-pink :weight normal)
(mu4e-view-url-number-face :foreground ,minimal-mistakes-purple)
(mu4e-highlight-face :background ,minimal-mistakes-bg
:foreground ,minimal-mistakes-yellow
:extend t)
(mu4e-header-highlight-face :background ,minimal-mistakes-current
:foreground ,minimal-mistakes-fg
:underline nil :weight bold
:extend t)
(mu4e-header-key-face :inherit message-mml)
(mu4e-header-marks-face :foreground ,minimal-mistakes-purple)
(mu4e-cited-1-face :foreground ,minimal-mistakes-purple)
(mu4e-cited-2-face :foreground ,minimal-mistakes-orange)
(mu4e-cited-3-face :foreground ,minimal-mistakes-comment)
(mu4e-cited-4-face :foreground ,fg2)
(mu4e-cited-5-face :foreground ,fg3)
;; neotree
(neo-banner-face :foreground ,minimal-mistakes-orange :weight bold)
;;(neo-button-face :underline nil)
(neo-dir-link-face :foreground ,minimal-mistakes-purple)
(neo-expand-btn-face :foreground ,minimal-mistakes-fg)
(neo-file-link-face :foreground ,minimal-mistakes-cyan)
(neo-header-face :background ,minimal-mistakes-bg
:foreground ,minimal-mistakes-fg
:weight bold)
(neo-root-dir-face :foreground ,minimal-mistakes-purple :weight bold)
(neo-vc-added-face :foreground ,minimal-mistakes-orange)
(neo-vc-conflict-face :foreground ,minimal-mistakes-red)
(neo-vc-default-face :inherit neo-file-link-face)
(neo-vc-edited-face :foreground ,minimal-mistakes-orange)
(neo-vc-ignored-face :foreground ,minimal-mistakes-comment)
(neo-vc-missing-face :foreground ,minimal-mistakes-red)
(neo-vc-needs-merge-face :foreground ,minimal-mistakes-red
:weight bold)
;;(neo-vc-needs-update-face :underline t)
;;(neo-vc-removed-face :strike-through t)
(neo-vc-unlocked-changes-face :foreground ,minimal-mistakes-red)
;;(neo-vc-unregistered-face nil)
(neo-vc-up-to-date-face :foreground ,minimal-mistakes-green)
(neo-vc-user-face :foreground ,minimal-mistakes-purple)
;; org
(org-agenda-date :foreground ,minimal-mistakes-cyan :underline nil)
(org-agenda-dimmed-todo-face :foreground ,minimal-mistakes-comment)
(org-agenda-done :foreground ,minimal-mistakes-green)
(org-agenda-structure :foreground ,minimal-mistakes-purple)
(org-block :foreground ,minimal-mistakes-orange)
(org-code :foreground ,minimal-mistakes-green)
(org-column :background ,bg4)
(org-column-title :inherit org-column :weight bold :underline t)
(org-date :foreground ,minimal-mistakes-cyan :underline t)
(org-document-info :foreground ,other-blue)
(org-document-info-keyword :foreground ,minimal-mistakes-comment)
(org-document-title :weight bold :foreground ,minimal-mistakes-orange
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-doc-title)))
(org-done :foreground ,minimal-mistakes-green)
(org-ellipsis :foreground ,minimal-mistakes-comment)
(org-footnote :foreground ,other-blue)
(org-formula :foreground ,minimal-mistakes-pink)
(org-headline-done :foreground ,minimal-mistakes-comment
:weight normal :strike-through t)
(org-hide :foreground ,minimal-mistakes-bg :background ,minimal-mistakes-bg)
(org-level-1 :inherit bold :foreground ,minimal-mistakes-pink
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-1)))
(org-level-2 :inherit bold :foreground ,minimal-mistakes-purple
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-2)))
(org-level-3 :weight normal :foreground ,minimal-mistakes-green
,@(when minimal-mistakes-enlarge-headings
(list :height minimal-mistakes-height-title-3)))
(org-level-4 :weight normal :foreground ,minimal-mistakes-yellow)
(org-level-5 :weight normal :foreground ,minimal-mistakes-cyan)
(org-level-6 :weight normal :foreground ,minimal-mistakes-orange)
(org-level-7 :weight normal :foreground ,other-blue)
(org-level-8 :weight normal :foreground ,minimal-mistakes-fg)
(org-link :foreground ,minimal-mistakes-cyan :underline t)
(org-priority :foreground ,minimal-mistakes-cyan)
(org-quote :foreground ,minimal-mistakes-yellow :slant italic)
(org-scheduled :foreground ,minimal-mistakes-green)
(org-scheduled-previously :foreground ,minimal-mistakes-yellow)
(org-scheduled-today :foreground ,minimal-mistakes-green)
(org-sexp-date :foreground ,fg4)
(org-special-keyword :foreground ,minimal-mistakes-yellow)
(org-table :foreground ,minimal-mistakes-purple)
(org-tag :foreground ,minimal-mistakes-pink :weight bold :background ,bg2)
(org-todo :foreground ,minimal-mistakes-orange :weight bold :background ,bg2)
(org-upcoming-deadline :foreground ,minimal-mistakes-yellow)
(org-verbatim :inherit org-quote)
(org-warning :weight bold :foreground ,minimal-mistakes-pink)
;; outline
(outline-1 :foreground ,minimal-mistakes-pink)
(outline-2 :foreground ,minimal-mistakes-purple)
(outline-3 :foreground ,minimal-mistakes-green)
(outline-4 :foreground ,minimal-mistakes-yellow)
(outline-5 :foreground ,minimal-mistakes-cyan)
(outline-6 :foreground ,minimal-mistakes-orange)
;; perspective
(persp-selected-face :weight bold :foreground ,minimal-mistakes-pink)
;; powerline
(powerline-active1 :background ,minimal-mistakes-bg :foreground ,minimal-mistakes-pink)
(powerline-active2 :background ,minimal-mistakes-bg :foreground ,minimal-mistakes-pink)
(powerline-inactive1 :background ,bg2 :foreground ,minimal-mistakes-purple)
(powerline-inactive2 :background ,bg2 :foreground ,minimal-mistakes-purple)
(powerline-evil-base-face :foreground ,bg2)
(powerline-evil-emacs-face :inherit powerline-evil-base-face :background ,minimal-mistakes-yellow)
(powerline-evil-insert-face :inherit powerline-evil-base-face :background ,minimal-mistakes-cyan)
(powerline-evil-motion-face :inherit powerline-evil-base-face :background ,minimal-mistakes-purple)
(powerline-evil-normal-face :inherit powerline-evil-base-face :background ,minimal-mistakes-green)
(powerline-evil-operator-face :inherit powerline-evil-base-face :background ,minimal-mistakes-pink)
(powerline-evil-replace-face :inherit powerline-evil-base-face :background ,minimal-mistakes-red)
(powerline-evil-visual-face :inherit powerline-evil-base-face :background ,minimal-mistakes-orange)
;; rainbow-delimiters
(rainbow-delimiters-depth-1-face :foreground ,minimal-mistakes-fg)
(rainbow-delimiters-depth-2-face :foreground ,minimal-mistakes-cyan)
(rainbow-delimiters-depth-3-face :foreground ,minimal-mistakes-purple)
(rainbow-delimiters-depth-4-face :foreground ,minimal-mistakes-pink)
(rainbow-delimiters-depth-5-face :foreground ,minimal-mistakes-orange)
(rainbow-delimiters-depth-6-face :foreground ,minimal-mistakes-green)
(rainbow-delimiters-depth-7-face :foreground ,minimal-mistakes-yellow)
(rainbow-delimiters-depth-8-face :foreground ,other-blue)
(rainbow-delimiters-unmatched-face :foreground ,minimal-mistakes-orange)
;; rpm-spec
(rpm-spec-dir-face :foreground ,minimal-mistakes-green)
(rpm-spec-doc-face :foreground ,minimal-mistakes-pink)
(rpm-spec-ghost-face :foreground ,minimal-mistakes-purple)
(rpm-spec-macro-face :foreground ,minimal-mistakes-yellow)
(rpm-spec-obsolete-tag-face :inherit font-lock-warning-face)
(rpm-spec-package-face :foreground ,minimal-mistakes-purple)
(rpm-spec-section-face :foreground ,minimal-mistakes-yellow)
(rpm-spec-tag-face :foreground ,minimal-mistakes-cyan)
(rpm-spec-var-face :foreground ,minimal-mistakes-orange)
;; rst (reStructuredText)
(rst-level-1 :foreground ,minimal-mistakes-pink :weight bold)
(rst-level-2 :foreground ,minimal-mistakes-purple :weight bold)
(rst-level-3 :foreground ,minimal-mistakes-green)
(rst-level-4 :foreground ,minimal-mistakes-yellow)
(rst-level-5 :foreground ,minimal-mistakes-cyan)
(rst-level-6 :foreground ,minimal-mistakes-orange)
(rst-level-7 :foreground ,other-blue)
(rst-level-8 :foreground ,minimal-mistakes-fg)
;; selectrum-mode
(selectrum-current-candidate :weight bold)
(selectrum-primary-highlight :foreground ,minimal-mistakes-pink)
(selectrum-secondary-highlight :foreground ,minimal-mistakes-green)
;; show-paren
(show-paren-match-face :background unspecified
:foreground ,minimal-mistakes-cyan
:weight bold)
(show-paren-match :background unspecified
:foreground ,minimal-mistakes-cyan
:weight bold)
(show-paren-match-expression :inherit match)
(show-paren-mismatch :inherit font-lock-warning-face)
;; slime
(slime-repl-inputed-output-face :foreground ,minimal-mistakes-purple)
;; spam
(spam :inherit gnus-summary-normal-read :foreground ,minimal-mistakes-orange
:strike-through t :slant oblique)
;; speedbar (and sr-speedbar)
(speedbar-button-face :foreground ,minimal-mistakes-green)
(speedbar-file-face :foreground ,minimal-mistakes-cyan)
(speedbar-directory-face :foreground ,minimal-mistakes-purple)
(speedbar-tag-face :foreground ,minimal-mistakes-yellow)
(speedbar-selected-face :foreground ,minimal-mistakes-pink)
(speedbar-highlight-face :inherit match)
(speedbar-separator-face :background ,minimal-mistakes-bg
:foreground ,minimal-mistakes-fg
:weight bold)
;; tab-bar & tab-line (since Emacs 27.1)
(tab-bar :foreground ,minimal-mistakes-purple :background ,minimal-mistakes-current
:inherit variable-pitch)
(tab-bar-tab :foreground ,minimal-mistakes-pink :background ,minimal-mistakes-bg
:box (:line-width 2 :color ,minimal-mistakes-bg :style nil))
(tab-bar-tab-inactive :foreground ,minimal-mistakes-purple :background ,bg2
:box (:line-width 2 :color ,bg2 :style nil))
(tab-line :foreground ,minimal-mistakes-purple :background ,minimal-mistakes-current
:height 0.9 :inherit variable-pitch)
(tab-line-tab :foreground ,minimal-mistakes-pink :background ,minimal-mistakes-bg
:box (:line-width 2 :color ,minimal-mistakes-bg :style nil))
(tab-line-tab-inactive :foreground ,minimal-mistakes-purple :background ,bg2
:box (:line-width 2 :color ,bg2 :style nil))
(tab-line-tab-current :inherit tab-line-tab)
(tab-line-close-highlight :foreground ,minimal-mistakes-red)
;; telephone-line
(telephone-line-accent-active :background ,minimal-mistakes-bg :foreground ,minimal-mistakes-pink)
(telephone-line-accent-inactive :background ,bg2 :foreground ,minimal-mistakes-purple)
(telephone-line-unimportant :background ,minimal-mistakes-bg :foreground ,minimal-mistakes-comment)
;; term
(term :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-bg)
(term-color-black :foreground ,minimal-mistakes-bg :background ,minimal-mistakes-comment)
(term-color-blue :foreground ,minimal-mistakes-purple :background ,minimal-mistakes-purple)
(term-color-cyan :foreground ,minimal-mistakes-cyan :background ,minimal-mistakes-cyan)
(term-color-green :foreground ,minimal-mistakes-green :background ,minimal-mistakes-green)
(term-color-magenta :foreground ,minimal-mistakes-pink :background ,minimal-mistakes-pink)
(term-color-red :foreground ,minimal-mistakes-red :background ,minimal-mistakes-red)
(term-color-white :foreground ,minimal-mistakes-fg :background ,minimal-mistakes-fg)
(term-color-yellow :foreground ,minimal-mistakes-yellow :background ,minimal-mistakes-yellow)
;; tree-sitter
(tree-sitter-hl-face:attribute :inherit font-lock-constant-face)
(tree-sitter-hl-face:comment :inherit font-lock-comment-face)
(tree-sitter-hl-face:constant :inherit font-lock-constant-face)
(tree-sitter-hl-face:constant.builtin :inherit font-lock-builtin-face)
(tree-sitter-hl-face:constructor :inherit font-lock-constant-face)
(tree-sitter-hl-face:escape :foreground ,minimal-mistakes-pink)
(tree-sitter-hl-face:function :inherit font-lock-function-name-face)
(tree-sitter-hl-face:function.builtin :inherit font-lock-builtin-face)
(tree-sitter-hl-face:function.call :inherit font-lock-function-name-face
:weight normal)
(tree-sitter-hl-face:function.macro :inherit font-lock-preprocessor-face)
(tree-sitter-hl-face:function.special :inherit font-lock-preprocessor-face)
(tree-sitter-hl-face:keyword :inherit font-lock-keyword-face)
(tree-sitter-hl-face:punctuation :foreground ,minimal-mistakes-pink)
(tree-sitter-hl-face:punctuation.bracket :foreground ,minimal-mistakes-fg)
(tree-sitter-hl-face:punctuation.delimiter :foreground ,minimal-mistakes-fg)
(tree-sitter-hl-face:punctuation.special :foreground ,minimal-mistakes-pink)
(tree-sitter-hl-face:string :inherit font-lock-string-face)
(tree-sitter-hl-face:string.special :foreground ,minimal-mistakes-red)
(tree-sitter-hl-face:tag :inherit font-lock-keyword-face)
(tree-sitter-hl-face:type :inherit font-lock-type-face)
(tree-sitter-hl-face:type.parameter :foreground ,minimal-mistakes-pink)
(tree-sitter-hl-face:variable :inherit font-lock-variable-name-face)
(tree-sitter-hl-face:variable.parameter :inherit tree-sitter-hl-face:variable
:weight normal)
;; undo-tree
(undo-tree-visualizer-current-face :foreground ,minimal-mistakes-orange)
(undo-tree-visualizer-default-face :foreground ,fg2)
(undo-tree-visualizer-register-face :foreground ,minimal-mistakes-purple)
(undo-tree-visualizer-unmodified-face :foreground ,minimal-mistakes-fg)
;; web-mode
(web-mode-builtin-face :inherit font-lock-builtin-face)
(web-mode-comment-face :inherit font-lock-comment-face)
(web-mode-constant-face :inherit font-lock-constant-face)
(web-mode-css-property-name-face :inherit font-lock-constant-face)
(web-mode-doctype-face :inherit font-lock-comment-face)
(web-mode-function-name-face :inherit font-lock-function-name-face)
(web-mode-html-attr-name-face :foreground ,minimal-mistakes-purple)
(web-mode-html-attr-value-face :foreground ,minimal-mistakes-green)
(web-mode-html-tag-face :foreground ,minimal-mistakes-pink :weight bold)
(web-mode-keyword-face :foreground ,minimal-mistakes-pink)
(web-mode-string-face :foreground ,minimal-mistakes-yellow)
(web-mode-type-face :inherit font-lock-type-face)
(web-mode-warning-face :inherit font-lock-warning-face)
;; which-func
(which-func :inherit font-lock-function-name-face)
;; which-key
(which-key-key-face :inherit font-lock-builtin-face)
(which-key-command-description-face :inherit default)
(which-key-separator-face :inherit font-lock-comment-delimiter-face)
(which-key-local-map-description-face :foreground ,minimal-mistakes-green)
;; whitespace
(whitespace-big-indent :background ,minimal-mistakes-red :foreground ,minimal-mistakes-red)
(whitespace-empty :background ,minimal-mistakes-orange :foreground ,minimal-mistakes-red)
(whitespace-hspace :background ,bg3 :foreground ,minimal-mistakes-comment)
(whitespace-indentation :background ,minimal-mistakes-orange :foreground ,minimal-mistakes-red)
(whitespace-line :background ,minimal-mistakes-bg :foreground ,minimal-mistakes-pink)
(whitespace-newline :foreground ,minimal-mistakes-comment)
(whitespace-space :background ,minimal-mistakes-bg :foreground ,minimal-mistakes-comment)
(whitespace-space-after-tab :background ,minimal-mistakes-orange :foreground ,minimal-mistakes-red)
(whitespace-space-before-tab :background ,minimal-mistakes-orange :foreground ,minimal-mistakes-red)
(whitespace-tab :background ,bg2 :foreground ,minimal-mistakes-comment)
(whitespace-trailing :inherit trailing-whitespace)
;; yard-mode
(yard-tag-face :inherit font-lock-builtin-face)
(yard-directive-face :inherit font-lock-builtin-face))))
(apply #'custom-theme-set-faces
'minimal-mistakes
(let ((expand-with-func
(lambda (func spec)
(let (reduced-color-list)
(dolist (col colors reduced-color-list)
(push (list (car col) (funcall func col))
reduced-color-list))
(eval `(let ,reduced-color-list
(backquote ,spec))))))
whole-theme)
(pcase-dolist (`(,face . ,spec) faces)
(push `(,face
((((min-colors 16777216)) ; fully graphical envs
,(funcall expand-with-func 'cadr spec))
(((min-colors 256)) ; terminal withs 256 colors
,(if minimal-mistakes-use-24-bit-colors-on-256-colors-terms
(funcall expand-with-func 'cadr spec)
(funcall expand-with-func 'caddr spec)))
(t ; should be only tty-like envs
,(funcall expand-with-func 'cadddr spec))))
whole-theme))
whole-theme))
(apply #'custom-theme-set-variables
'minimal-mistakes
(let ((get-func
(pcase (display-color-cells)
((pred (<= 16777216)) 'car) ; fully graphical envs
((pred (<= 256)) 'cadr) ; terminal withs 256 colors
(_ 'caddr)))) ; should be only tty-like envs
`((ansi-color-names-vector
[,(funcall get-func (alist-get 'minimal-mistakes-bg colors))
,(funcall get-func (alist-get 'minimal-mistakes-red colors))
,(funcall get-func (alist-get 'minimal-mistakes-green colors))
,(funcall get-func (alist-get 'minimal-mistakes-yellow colors))
,(funcall get-func (alist-get 'minimal-mistakes-comment colors))
,(funcall get-func (alist-get 'minimal-mistakes-purple colors))
,(funcall get-func (alist-get 'minimal-mistakes-cyan colors))
,(funcall get-func (alist-get 'minimal-mistakes-fg colors))])))))
;;;###autoload
(when load-file-name
(add-to-list 'custom-theme-load-path
(file-name-as-directory (file-name-directory load-file-name))))
(provide-theme 'minimal-mistakes)
;; Local Variables:
;; indent-tabs-mode: nil
;; End:
;;; minimal-mistakes-theme.el ends here

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 340 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 337 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 488 KiB

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
feh --no-fehbg --bg-scale "$HOME/.config/feh/backgrounds/Arch_Wallpaper-MM.png"

View File

@ -1,2 +0,0 @@
[General]
notifications=true

View File

@ -1,163 +0,0 @@
# This is terribly complicated
# It's because:
# 1. bun run has to have dynamic completions
# 2. there are global options
# 3. bun {install add remove} gets special options
# 4. I don't know how to write fish completions well
# Contributions very welcome!!
function __fish__get_bun_bins
string split ' ' (bun getcompletes b)
end
function __fish__get_bun_scripts
set -lx SHELL bash
set -lx MAX_DESCRIPTION_LEN 40
string trim (string split '\n' (string split '\t' (bun getcompletes z)))
end
function __fish__get_bun_packages
if test (commandline -ct) != ""
set -lx SHELL fish
string split ' ' (bun getcompletes a (commandline -ct))
end
end
function __history_completions
set -l tokens (commandline --current-process --tokenize)
history --prefix (commandline) | string replace -r \^$tokens[1]\\s\* "" | string replace -r \^$tokens[2]\\s\* "" | string split ' '
end
function __fish__get_bun_bun_js_files
string split ' ' (bun getcompletes j)
end
function bun_fish_is_nth_token --description 'Test if current token is on Nth place' --argument-names n
set -l tokens (commandline -poc)
set -l tokens (string replace -r --filter '^([^-].*)' '$1' -- $tokens)
test (count $tokens) -eq "$n"
end
function __bun_command_count --argument-names n
set -l cmds (commandline -poc)
test (count cmds) -eq "$n"
end
function __bun_last_cmd --argument-names n
set -l cmds (commandline -poc)
test "(cmds[-1])" = "$n"
end
set -l bun_install_boolean_flags yarn production optional development no-save dry-run force no-cache silent verbose global
set -l bun_install_boolean_flags_descriptions "Write a yarn.lock file (yarn v1)" "Don't install devDependencies" "Add dependency to optionalDependencies" "Add dependency to devDependencies" "Don't install devDependencies" "Don't install anything" "Always request the latest versions from the registry & reinstall all dependenices" "Ignore manifest cache entirely" "Don't output anything" "Excessively verbose logging" "Use global folder"
set -l bun_builtin_cmds dev create help bun upgrade discord run install remove add init link unlink pm x
set -l bun_builtin_cmds_without_run dev create help bun upgrade discord install remove add init pm x
set -l bun_builtin_cmds_without_bun dev create help upgrade run discord install remove add init pm x
set -l bun_builtin_cmds_without_create dev help bun upgrade discord run install remove add init pm x
set -l bun_builtin_cmds_without_install create dev help bun upgrade discord run remove add init pm x
set -l bun_builtin_cmds_without_remove create dev help bun upgrade discord run install add init pm x
set -l bun_builtin_cmds_without_add create dev help bun upgrade discord run remove install init pm x
set -l bun_builtin_cmds_without_pm create dev help bun upgrade discord run init pm x
# clear
complete -e -c bun
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a '(__fish__get_bun_scripts)' -d 'script'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from run" -a '(__fish__get_bun_bins)' -d 'package bin'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from run" -a '(__fish__get_bun_scripts)' -d 'script'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_run; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from run" -a '(__fish__get_bun_bun_js_files)' -d 'Bun.js'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'run' -f -d 'Run a script or bin'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'u' -l 'origin' -r -d 'Server URL. Rewrites import paths'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'p' -l 'port' -r -d 'Port number to start server from'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'd' -l 'define' -r -d 'Substitute K:V while parsing, e.g. --define process.env.NODE_ENV:\"development\"'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -s 'e' -l 'external' -r -d 'Exclude module from transpilation (can use * wildcards). ex: -e react'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'use' -r -d 'Use a framework (ex: next)'
complete -c bun \
-n "not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) install remove add;" --no-files -l 'hot' -r -d 'Enable hot reloading in Bun\'s JavaScript runtime'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __fish_use_subcommand" -a 'dev' -d 'Start dev server'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'create' -f -d 'Create a new project from a template'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_create next react; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from create;" -a 'next' -d 'new Next.js project'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_create next react; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from create;" -a 'react' -d 'new React project'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a 'upgrade' -d 'Upgrade bun to the latest version' -x
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a '--help' -d 'See all commands and flags' -x
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -l "version" -s "v" -a '--version' -d 'Bun\'s version' -x
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_use_subcommand" -a 'discord' -d 'Open bun\'s Discord server' -x
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_bun; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); __fish_use_subcommand" -a 'bun' -d 'Generate a new bundle'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_bun; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from bun" -F -d 'Bundle this'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_create; and not __fish_seen_subcommand_from (__fish__get_bun_bins); and not __fish_seen_subcommand_from (__fish__get_bun_scripts); and __fish_seen_subcommand_from react; or __fish_seen_subcommand_from next" -F -d "Create in directory"
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'init' -F -d 'Start an empty Bun project'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'install' -f -d 'Install packages from package.json'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'add' -F -d 'Add a package to package.json'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand" -a 'remove' -F -d 'Remove a package from package.json'
complete -c bun \
-n "bun_fish_is_nth_token 1; and not __fish_seen_subcommand_from $bun_builtin_cmds; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) and __bun_command_count 1 and __fish_use_subcommand add remove" -F
for i in (seq (count $bun_install_boolean_flags))
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from install add remove;" -l "$bun_install_boolean_flags[$i]" -d "$bun_install_boolean_flags_descriptions[$i]"
end
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from install add remove;" -l 'cwd' -d 'Change working directory'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from install add remove;" -l 'cache-dir' -d 'Choose a cache directory (default: $HOME/.bun/install/cache)'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from add;" -d 'Popular' -a '(__fish__get_bun_packages)'
complete -c bun \
-n "not __fish_seen_subcommand_from $bun_builtin_cmds_without_pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts); and __fish_seen_subcommand_from add;" -d 'History' -a '(__history_completions)'
complete -c bun \
-n "__fish_seen_subcommand_from pm; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts) cache;" -a 'bin ls cache hash hash-print hash-string' -f
complete -c bun \
-n "__fish_seen_subcommand_from pm; and __fish_seen_subcommand_from cache; and not __fish_seen_subcommand_from (__fish__get_bun_bins) (__fish__get_bun_scripts);" -a 'rm' -f
complete -c bun -n "not __fish_seen_subcommand_from $bun_builtin_cmds (__fish__get_bun_bins) (__fish__get_bun_scripts)" -a "$bun_builtin_cmds" -f

View File

@ -1,18 +0,0 @@
#-*-coding:utf-8 -*-
xset b off
if [ "$XDG_SESSION_TYPE" = x11 ]
setxkbmap -layout gb
setxkbmap -option caps:super
end
set -gx LC_ALL "en_GB.UTF-8"
set -gx ANDROID_HOME /home/wayne/Android/Sdk
set -gx PAGER more
set -gx AUR_PAGER more
set -gx EDITOR vim
#QT and GTK Variables
set -gx QT_QPA_PLATFORMTHEME qt5ct
set -gx QT_AUTO_SCREEN_SCALE_FACTOR 0
set -gx TDESKTOP_USE_GTK_FILE_DIALOG 1
set -gx GOPATH $HOME/.cache/go

View File

@ -1,5 +0,0 @@
# greeting for fish shell
function fish_greeting
# shellfetch
end

View File

@ -1,4 +0,0 @@
# Keybinding
bind \ec __history_previous_command
bind \e\e __sudope

View File

@ -1,9 +0,0 @@
set CDPATH "$HOME/.config:$CDPATH"
# Adds `~/.local/bin` to $CDPATH
# set CDPATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin"
set CDPATH "$HOME/.local/bin:$CDPATH"
end
set CDPATH $(printf %s "$CDPATH" | awk -vRS=: '!a[$0]++' | paste -s -d:)

View File

@ -1,83 +0,0 @@
set PATH "$HOME/.local/bin:$PATH"
# Adds `/opt/flutter/bin` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "/opt/flutter/bin"
set PATH "/opt/flutter/bin:$PATH"
end
# Adds `ANDROID_HOME/tools` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$ANDROID_HOME/tools"
set PATH "$ANDROID_HOME/tools:$PATH"
end
# Adds `ANDROID_HOME/tools/bin` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$ANDROID_HOME/tools/bin"
set PATH "$ANDROID_HOME/tools/bin:$PATH"
end
# Adds `ANDROID_HOME/platform-tools` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$ANDROID_HOME/platform-tools"
set PATH "$ANDROID_HOME/platform-tools:$PATH"
end
# Adds `~/.config/composer/vendor/bin` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.config/composer/vendor/bin"
set PATH "$HOME/.config/composer/vendor/bin:$PATH"
end
# Adds `~/.local/share/gem/ruby/3.0.0/bin` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/share/gem/ruby/3.0.0/bin"
set GEM_HOME "$HOME/.local/share/gem/ruby/3.0.0"
set PATH "$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH"
end
# Adds `~/.cargo/bin` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.cargo/bin"
set PATH "$HOME/.cargo/bin:$PATH"
end
# Adds `~/.local/bin/flexiflow_bar` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin/flexiflow_bar"
set PATH "$HOME/.local/bin/flexiflow_bar:$PATH"
end
# Adds `~/.local/bin/rofi` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin/rofi"
set PATH "$HOME/.local/bin/rofi:$PATH"
end
# Adds `~/.local/bin/fzf` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin/fzf"
set PATH "$HOME/.local/bin/fzf:$PATH"
end
# Adds `~/.local/bin/lemonbar` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin/lemonbar"
set PATH "$HOME/.local/bin/lemonbar:$PATH"
end
# Adds `~/.local/bin/discord_bot` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin/discord_bot"
set PATH "$HOME/.local/bin/discord_bot:$PATH"
end
# Adds `~/.local/bin/clipmenu` to $PATH
# set PATH so it includes user's private bin if it exists
if test -d "$HOME/.local/bin/clipmenu"
set PATH "$HOME/.local/bin/clipmenu:$PATH"
end
set PATH $(printf %s "$PATH" | awk -vRS=: '!a[$0]++' | paste -s -d:)

View File

@ -1,50 +0,0 @@
# Dracula Color Palette
set -l foreground e5e9f0
set -l selection 434c5e
set -l comment 81a1c1
set -l red ff5959
set -l orange ff9c59
set -l yellow ffff59
set -l green 59ff59
set -l purple 9059ff
set -l cyan 59fff9
set -l pink ff59f9
# Syntax Highlighting Colors
set -gx fish_color_normal $foreground
set -gx fish_color_command $cyan
set -gx fish_color_keyword $pink
set -gx fish_color_quote $yellow
set -gx fish_color_redirection $foreground
set -gx fish_color_end $orange
set -gx fish_color_error $red
set -gx fish_color_param $purple
set -gx fish_color_comment $comment
set -gx fish_color_selection --background=$selection
set -gx fish_color_search_match --background=$selection
set -gx fish_color_operator $green
set -gx fish_color_escape $pink
set -gx fish_color_autosuggestion $comment
set -gx fish_color_cancel $red --reverse
set -gx fish_color_option $orange
# Default Prompt Colors
set -gx fish_color_cwd $green
set -gx fish_color_host $purple
set -gx fish_color_host_remote $purple
set -gx fish_color_user $cyan
# Completion Pager Colors
set -gx fish_pager_color_progress $comment
set -gx fish_pager_color_background
set -gx fish_pager_color_prefix $cyan
set -gx fish_pager_color_completion $foreground
set -gx fish_pager_color_description $comment
set -gx fish_pager_color_selected_background --background=$selection
set -gx fish_pager_color_selected_prefix $cyan
set -gx fish_pager_color_selected_completion $foreground
set -gx fish_pager_color_selected_description $comment
set -gx fish_pager_color_secondary_background
set -gx fish_pager_color_secondary_prefix $cyan
set -gx fish_pager_color_secondary_completion $foreground
set -gx fish_pager_color_secondary_description $comment

View File

@ -1,35 +0,0 @@
# ------------------------------------------------------------------------------
# Description
# -----------
#
# sudo prompt in color
#
function sudo
# ------------------------------------------------------------------------------
# Setup colors
#Bold Colors
set -l bnormal (set_color -o normal)
set -l bblack (set_color -o brblack)
set -l bred (set_color -o brred)
set -l bgreen (set_color -o brgreen)
set -l byellow (set_color -o bryellow)
set -l bblue (set_color -o brblue)
set -l bmagenta (set_color -o brmagenta)
set -l bcyan (set_color -o brcyan)
set -l bwhite (set_color -o brwhite)
#Normal Colors
set -l normal (set_color normal)
set -l black (set_color black)
set -l red (set_color red)
set -l green (set_color green)
set -l yellow (set_color yellow)
set -l blue (set_color blue)
set -l magenta (set_color magenta)
set -l cyan (set_color cyan)
set -l white (set_color white)
# ------------------------------------------------------------------------------
command sudo -p "$red$yellow [sudo]$green password for %u: $normal" $argv
end

Some files were not shown because too many files have changed in this diff Show More