Upload from GitHub
This commit is contained in:
Executable
+131
@@ -0,0 +1,131 @@
|
||||
; thunar GtkAccelMap rc-file -*- scheme -*-
|
||||
; this file is an automated accelerator map dump
|
||||
;
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
|
||||
; (gtk_accel_path "<Actions>/Thunarwindow/menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut" "<Primary>x")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/file-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/e92146de8ffbb74bfd99784ed40bdeef" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-tab" "<Primary>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab-alt" "<Primary><Shift>ISO_Left_Tab")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-window" "<Primary>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/clear-directory-specific-settings" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-window" "<Primary>q")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-parent" "<Alt>Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-size-in-bytes" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-previous-tab" "<Primary>Page_Up")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open" "<Primary>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-ascending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-split-view" "F3")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy-2" "<Primary>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete" "Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-configure-toolbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/7a203ca58c14c76ec1b07d08eaba7e8a" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/forward" "<Alt>Right")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location-alt" "<Alt>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-by-pattern" "<Primary>s")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out-alt" "<Primary>KP_Subtract")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents" "F1")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-menu" "F10")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-highlight" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-descending" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/select-all-files" "<Primary>a")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/execute" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/properties" "<Alt>Return")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/cut-2" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-dtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/de6d2099b95ef15820d04f5c3a6dc0f8" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-templates" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste-2" "<Shift>Insert")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab" "<Primary>Page_Down")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-filetype" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/close-all-windows" "<Primary><Shift>w")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-document" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/detach-tab" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/cancel-search" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt2" "<Primary>equal")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-hidden-count" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarShortcutsPane/sendto-shortcuts" "<Primary>d")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/undo" "<Primary>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/0064c8b8c2b8ae1954479b6f2feab576" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/toggle-sort-order" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-entry" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/paste" "<Primary>v")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in-alt1" "<Primary>KP_Add")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menubar" "<Primary>m")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back" "<Alt>Left")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-detailed-list" "<Primary>2")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/restore-show" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/sendto-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-display-name" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/go-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-out" "<Primary>minus")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/remove-from-recent" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-with-other" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "<Primary><Shift>i")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt-2" "Reload")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/fb8a2fb8c18b440d557134b69e8bfc79" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/copy" "<Primary>c")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload-alt-1" "F5")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/forward-alt" "Forward")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/move-to-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-3" "<Shift>KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/bookmarks-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
|
||||
; (gtk_accel_path "<Actions>/ThunarBookmarks/ab554ce947264f765ed1ba66309937f1" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/unselect-all-files" "Escape")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-computer" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-image-preview" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-icons" "<Primary>1")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-2" "<Shift>Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-in" "<Primary>plus")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/rename" "F2")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-location" "<Primary>l")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-as-compact-list" "<Primary>3")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/search" "<Primary>f")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/new-tab" "<Primary>t")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset" "<Primary>0")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/contents/help-menu" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-tab" "<Primary><Shift>p")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-buttons" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt2" "Back")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/redo" "<Primary><Shift>z")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-window" "<Primary><Shift>o")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/open-location" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete-2" "KP_Delete")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/back-alt1" "BackSpace")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/create-folder" "<Primary><Shift>n")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-home" "<Alt>Home")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-focused-split-view-pane" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/show-hidden" "<Primary>h")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/set-default-app" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/empty-trash" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/preferences" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/delete" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-network" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-tree" "<Primary>e")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/open-file-system" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/search-alt" "Search")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/switch-next-tab-alt" "<Primary>Tab")
|
||||
; (gtk_accel_path "<Actions>/ThunarActionManager/sendto-desktop" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarStandardView/make-link" "")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/zoom-reset-alt" "<Primary>KP_0")
|
||||
; (gtk_accel_path "<Actions>/ThunarWindow/about" "")
|
||||
Executable
+25
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<actions>
|
||||
<action>
|
||||
<icon>utilities-terminal</icon>
|
||||
<name>Open Terminal Here</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1675076590898177-1</unique-id>
|
||||
<command>terminator --working-directory %f</command>
|
||||
<description>Example for a custom action</description>
|
||||
<range></range>
|
||||
<patterns>*</patterns>
|
||||
<startup-notify/>
|
||||
<directories/>
|
||||
</action>
|
||||
<action>
|
||||
<icon>com.github.artemanufrij.findfileconflicts</icon>
|
||||
<name>Fix filenames</name>
|
||||
<submenu></submenu>
|
||||
<unique-id>1691249342110327-1</unique-id>
|
||||
<command>/home/janis/scripts/removeSpaces.sh %f</command>
|
||||
<description>A script that fixes the filenames in a directory recursively</description>
|
||||
<range>*</range>
|
||||
<patterns>*</patterns>
|
||||
</action>
|
||||
</actions>
|
||||
+1
@@ -0,0 +1 @@
|
||||
// Empty
|
||||
@@ -0,0 +1,73 @@
|
||||
{
|
||||
"workbench.colorTheme": "Community Material Theme Darker High Contrast",
|
||||
"workbench.iconTheme": "eq-material-theme-icons-darker",
|
||||
"editor.fontFamily": "Source Code Pro",
|
||||
"python.languageServer": "Jedi",
|
||||
"python.devOptions": ["DEBUG_ON_STARTUP"],
|
||||
"python.analysis.logLevel": "Trace",
|
||||
"git.enableSmartCommit": true,
|
||||
"git.autofetch": true,
|
||||
"ltex.language": "en-GB",
|
||||
"[latex]": {
|
||||
"editor.defaultFormatter": "James-Yu.latex-workshop"
|
||||
},
|
||||
"latex-workshop.latex.tools": [
|
||||
{
|
||||
"name": "latexmk",
|
||||
"command": "latexmk",
|
||||
"args": [
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"--shell-escape",
|
||||
"-pdf",
|
||||
"%DOC%"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "pdflatex",
|
||||
"command": "pdflatex",
|
||||
"args": [
|
||||
"--shell-escape",
|
||||
"-synctex=1",
|
||||
"-interaction=nonstopmode",
|
||||
"-file-line-error",
|
||||
"%DOC%"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "bibtex",
|
||||
"command": "bibtex",
|
||||
"args": [
|
||||
"%DOCFILE%"
|
||||
],
|
||||
"env": {}
|
||||
}
|
||||
],
|
||||
"[vue]": {
|
||||
"editor.defaultFormatter": "Vue.volar"
|
||||
},
|
||||
"redhat.telemetry.enabled": false,
|
||||
"editor.defaultFormatter": "vscode.typescript-language-features",
|
||||
"[html]": {
|
||||
"editor.defaultFormatter": "vscode.html-language-features"
|
||||
},
|
||||
"cSpell.userWords": [
|
||||
"fulfillable",
|
||||
"libreǝvent",
|
||||
"unsatisfiable"
|
||||
],
|
||||
"[java]": {
|
||||
"editor.defaultFormatter": "redhat.java"
|
||||
},
|
||||
"[xml]": {
|
||||
"editor.defaultFormatter": "redhat.vscode-xml"
|
||||
},
|
||||
"cSpell.language": "en-GB",
|
||||
"git.openRepositoryInParentFolders": "never",
|
||||
"[lua]": {
|
||||
"editor.defaultFormatter": "yinfei.luahelper"
|
||||
},
|
||||
"diffEditor.ignoreTrimWhitespace": false,
|
||||
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||||
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||||
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||||
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||||
// Placeholders with the same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "scope": "javascript,typescript",
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"docTitle": {
|
||||
"prefix": "prepareDoc",
|
||||
"body": "$BLOCK_COMMENT_START\n*\t\t\t\t$WORKSPACE_NAME - $TM_FILENAME\n*\n*\tCreated by Janis Hutz $CURRENT_MONTH/$CURRENT_DATE/$CURRENT_YEAR, Licensed under ${1|the GPL V3,the MIT,a proprietary,the BSD,the LGPL V3,the Apache|} License\n*\t\t\thttps://janishutz.com, development@janishutz.com\n*\n*\n$BLOCK_COMMENT_END"
|
||||
}
|
||||
}
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
{
|
||||
// Place your snippets for html here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"impress": {
|
||||
"prefix": "impress",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<html>",
|
||||
"\t<head>\n\t\t<title>$1</title>\n\t\t<link rel=\"stylesheet\" href=\"style.css\">\n\t</head>",
|
||||
"\t<body class=\"impress-not-supported\">",
|
||||
"\t\t<div class=\"fallback-message\">\n\t\t\t<p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>\n\t\t\t<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>\n\t\t</div>",
|
||||
"\t\t<div id=\"impress\" data-width=\"1920\" data-height=\"1080\">",
|
||||
"\t\t\t<div id=\"title\" class=\"step\">\n\t\t\t\t<div class=\"content\">",
|
||||
"\t\t\t\t\t<h1>$2</h1>\n\t\t\t\t</div>",
|
||||
"\t\t\t</div>\n\t\t</div>",
|
||||
"\n\t\t<script src=\"https://cdn.jsdelivr.net/gh/impress/impress.js@2.0.0/js/impress.js\">\n\t\t</script><script>impress().init()</script>\n\t</body>",
|
||||
"</html>"
|
||||
]
|
||||
},
|
||||
"impress-step": {
|
||||
"prefix": "impressStep",
|
||||
"body": [
|
||||
"\n<div id=\"$1\" class=\"step\">",
|
||||
"\t<div class=\"content\">",
|
||||
"\t\t<h2>$2</h2>\n\t</div>",
|
||||
"</div>\n"
|
||||
]
|
||||
},
|
||||
"html-basic": {
|
||||
"prefix": "basic",
|
||||
"body": [
|
||||
"<!DOCTYPE html>",
|
||||
"<html>",
|
||||
"\t<head>\n\t\t<title>$1</title>\n\t\t<link rel=\"stylesheet\" href=\"/css/style.css\">\n\t\t<meta charset=\"utf-8\">\n\t\t<meta name=\"description\" content=\"$2\">\n\t</head>",
|
||||
"\t<body>\n\t\t<h1>$3</h1>",
|
||||
"\t</body>\n</html>"
|
||||
]
|
||||
},
|
||||
"impress-notes": {
|
||||
"prefix": "impressNotes",
|
||||
"body": "<div class=\"notes\">\n\t$1\n</div>"
|
||||
},
|
||||
"impress-substep": {
|
||||
"prefix": "impressSubstep",
|
||||
"body": "<div class=\"substep\">\n\t$1\n</div>"
|
||||
}
|
||||
}
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
{
|
||||
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"JS-Class": {
|
||||
"prefix": "jsSetupClass",
|
||||
"body": "class $1 { \n\tconstructor () {} \n\n \t$2 () {\n\t$3\n\t}\n}",
|
||||
"description": "Setup the basic structure of a class in JS"
|
||||
},
|
||||
"ExpressJS": {
|
||||
"prefix": "jsExpressSetup",
|
||||
"body": [
|
||||
"const express = require( 'express' );",
|
||||
"let app = express();",
|
||||
"const path = require( 'path' );",
|
||||
"const expressSession = require( 'express-session' );",
|
||||
"const fs = require( 'fs' );",
|
||||
"const bodyParser = require( 'body-parser' );",
|
||||
"const cookieParser = require( 'cookie-parser' )",
|
||||
"const favicon = require( 'serve-favicon' );",
|
||||
"\napp.use( expressSession ( {\n\tsecret: $1,\n\tresave: true,\n\tsaveUninitialized: true\n} ) );",
|
||||
"app.use( bodyParser.urlencoded( { extended: false } ) );",
|
||||
"app.use( bodyParser.json() );",
|
||||
"app.use( cookieParser() );",
|
||||
"app.use( favicon( path.join( __dirname + '$2' ) ) );\n",
|
||||
"app.use( ( request, response, next ) => {\n\tresponse.sendFile( path.join( __dirname + '$3' ) ) \n} );",
|
||||
"\n\napp.get( '/', ( request, response ) => {\n$4\n} );",
|
||||
"\n\nconst PORT = process.env.PORT || 8080;",
|
||||
"http.createServer( app ).listen( PORT );"
|
||||
]
|
||||
},
|
||||
"ExpressJS-Route": {
|
||||
"prefix": "jsEjsRoute",
|
||||
"body": "\n\napp.get( '$1', ( request, response ) => {\n$4\n} );"
|
||||
},
|
||||
"JSAsync": {
|
||||
"prefix": "jsAsync",
|
||||
"body": "(async () => {\n$1\n} ) ();"
|
||||
},
|
||||
"JSpromiseReturnFunc": {
|
||||
"prefix": "jsPromise",
|
||||
"body": "function $1 () {\n\treturn new Promise( ( resolve, reject ) => {\n\t$2\n\t} );\n}"
|
||||
},
|
||||
"fetch from other url": {
|
||||
"prefix": "remoteURL",
|
||||
"body": [
|
||||
"localStorage.getItem( 'url' ) + '/$1'",
|
||||
],
|
||||
"description": "remote URL fetching (get from base address from local storage)"
|
||||
},
|
||||
"fetch post": {
|
||||
"prefix": "fetchPost",
|
||||
"body": [
|
||||
"const fetchOptions = {",
|
||||
"\tmethod: 'post',",
|
||||
"\tbody: JSON.stringify( $1 ),",
|
||||
"\tcredentials: 'include',",
|
||||
"\theaders: {",
|
||||
"\t\t'Content-Type': 'application/json',",
|
||||
"\t\t'charset': 'utf-8'",
|
||||
"\t}",
|
||||
"};",
|
||||
"fetch( $2, fetchOptions ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"fetch get": {
|
||||
"prefix": "fetchGet",
|
||||
"body": [
|
||||
"fetch( $2, { credentials: 'include' } ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"promise": {
|
||||
"prefix": "promise",
|
||||
"body": [
|
||||
"return new Promise( ( resolve, reject ) => {",
|
||||
"\t",
|
||||
"} );"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,361 @@
|
||||
{
|
||||
// Place your snippets for latex here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
// Place your snippets for tex here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"Formula (old)": {
|
||||
"prefix": "formulaBare",
|
||||
"body": [
|
||||
"\\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,title=Formula: $1]",
|
||||
"\t$2",
|
||||
"\\end{tcolorbox}",
|
||||
],
|
||||
"description": "Red tcolorbox to provide a formula (without the default setup)"
|
||||
},
|
||||
"Prepare Latex doc (old)": {
|
||||
"prefix": "LaTeX-Prepare-Old",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"% Imports %",
|
||||
"\\usepackage{amsmath}",
|
||||
"\\usepackage{graphicx}",
|
||||
"\\usepackage{subcaption}",
|
||||
"\\usepackage[export]{adjustbox}",
|
||||
"\\usepackage{tcolorbox}",
|
||||
"\\usepackage{xcolor}",
|
||||
"\\usepackage{cancel}",
|
||||
"\\usepackage{dsfont}",
|
||||
"\\usepackage{amssymb}",
|
||||
"\\usepackage[a4paper]{geometry}",
|
||||
"\\usepackage{parskip}\n",
|
||||
"% Setup %",
|
||||
"\\title{\\Huge \\textbf{$1}}",
|
||||
"\\author{Janis Hutz}\n",
|
||||
"% Configuring %",
|
||||
"\\addtolength{\\oddsidemargin}{-0.75in}",
|
||||
"\\addtolength{\\textwidth}{1.5in}",
|
||||
"\\addtolength{\\evensidemargin}{-0.75in}",
|
||||
"\\addtolength{\\topmargin}{-1in}",
|
||||
"\\addtolength{\\textheight}{2in}\n",
|
||||
"% Main doc %",
|
||||
"\\begin{document}",
|
||||
"\\maketitle",
|
||||
"$2",
|
||||
"\\end{document}",
|
||||
],
|
||||
"description": "Prepare a LaTeX Document with all relevant imports"
|
||||
},
|
||||
"prepare LaTeX Document (New)": {
|
||||
"prefix": "latex-prepare",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"\\input{~/projects/generalSchool/helpers.tex}\n",
|
||||
"\\setup{$1}\n",
|
||||
"\\begin{document}",
|
||||
"\\maketitle",
|
||||
"\\pagestyle{fancy}",
|
||||
"\\thispagestyle{fancy}\n\n",
|
||||
"$2\n\n",
|
||||
"\\end{document}"
|
||||
],
|
||||
"description": "Prepares a full LaTeX Document for use and compiling"
|
||||
},
|
||||
"Fancy table": {
|
||||
"prefix": "table",
|
||||
"body": [
|
||||
"\\begin{tabular}[h!]{|$1|}",
|
||||
"\t\\hline",
|
||||
"\t\\rowcolor{$2}\\multicolumn{$3}{|c|}{$4}\\",
|
||||
"\t\\hline",
|
||||
"\t$5\\\\\\",
|
||||
"\t\\hline",
|
||||
"\\end{tabular}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a formula (red)"
|
||||
},
|
||||
"Formula (new)": {
|
||||
"prefix": "formula",
|
||||
"body": [
|
||||
"\\begin{formula}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{formula}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a formula (red)"
|
||||
},
|
||||
"Definition (new)": {
|
||||
"prefix": "definition",
|
||||
"body": [
|
||||
"\\begin{definition}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{definition}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a definition (blue)"
|
||||
},
|
||||
"Recall (new)": {
|
||||
"prefix": "recall",
|
||||
"body": [
|
||||
"\\begin{recall}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{recall}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a recall / revision of previous knowledge (yellow)"
|
||||
},
|
||||
"Important Remarks (new)": {
|
||||
"prefix": "remarks",
|
||||
"body": [
|
||||
"\\begin{remarks}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{remarks}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide remarks (green)"
|
||||
},
|
||||
"Guides (new)": {
|
||||
"prefix": "guides",
|
||||
"body": [
|
||||
"\\begin{guides}[]{$1}{${2:Usage}}",
|
||||
"\t$2",
|
||||
"\\end{guides}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide guides / instructions on how to use (purple)"
|
||||
},
|
||||
"Properties (new)": {
|
||||
"prefix": "properties",
|
||||
"body": [
|
||||
"\\begin{properties}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{properties}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about properties / restrictions / limitations"
|
||||
},
|
||||
"Restrictions (new)": {
|
||||
"prefix": "restrictions",
|
||||
"body": [
|
||||
"\\begin{restrictions}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{restrictions}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about restrictions"
|
||||
},
|
||||
"Limitations (new)": {
|
||||
"prefix": "limitations",
|
||||
"body": [
|
||||
"\\begin{limitations}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{limitations}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about limitations"
|
||||
},
|
||||
"Theorem (new)": {
|
||||
"prefix": "theorem",
|
||||
"body": [
|
||||
"\\begin{theorem}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{theorem}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about theorems"
|
||||
},
|
||||
"Lemma (new)": {
|
||||
"prefix": "lemma",
|
||||
"body": [
|
||||
"\\begin{lemma}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{lemma}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about lemmas"
|
||||
},
|
||||
"Corollary (new)": {
|
||||
"prefix": "corollary",
|
||||
"body": [
|
||||
"\\begin{corollary}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{corollary}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about corollaries"
|
||||
},
|
||||
"Terms (new)": {
|
||||
"prefix": "terms",
|
||||
"body": [
|
||||
"\\begin{terms}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{terms}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about terms"
|
||||
},
|
||||
"Proof (new)": {
|
||||
"prefix": "proof",
|
||||
"body": [
|
||||
"\\begin{proof}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{proof}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show a proof"
|
||||
},
|
||||
"Axiom (new)": {
|
||||
"prefix": "axiom",
|
||||
"body": [
|
||||
"\\begin{axiom}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{axiom}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show an axiom"
|
||||
},
|
||||
"Notation (new)": {
|
||||
"prefix": "notation",
|
||||
"body": [
|
||||
"\\begin{notation}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{notation}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show notation"
|
||||
},
|
||||
"Example (new)": {
|
||||
"prefix": "example",
|
||||
"body": [
|
||||
"\\begin{example}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{example}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to show example"
|
||||
},
|
||||
"Usage (languages, new)": {
|
||||
"prefix": "usage",
|
||||
"body": [
|
||||
"\\begin{usage}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{usage}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about usage in a language context"
|
||||
},
|
||||
"Conjugation (languages, new)": {
|
||||
"prefix": "conjugation",
|
||||
"body": [
|
||||
"\\begin{conjugation}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{conjugation}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about conjugation"
|
||||
},
|
||||
"Forms (languages, new)": {
|
||||
"prefix": "forms",
|
||||
"body": [
|
||||
"\\begin{forms}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{forms}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about forms of e.g. grammatical structures"
|
||||
},
|
||||
"General-Tcolorbox (new)": {
|
||||
"prefix": "general-tcb",
|
||||
"body": [
|
||||
"\\begin{general}[]{${1:title}}{${2:second title}}{${3|red,green,blue,cyan,magenta,yellow,black,gray,white,darkgray,lightgray,brown,lime,olive,orange,pink,purple,teal,violet|}}",
|
||||
"\t$4",
|
||||
"\\end{general}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox for general purposes. First bracket is title, second one is second title, third one colour"
|
||||
},
|
||||
"Derivative": {
|
||||
"prefix": "derivative",
|
||||
"body": [
|
||||
"\\frac{\\mbox{d}}{\\mbox{d}x}$1"
|
||||
]
|
||||
},
|
||||
"Example (inline)": {
|
||||
"prefix": "example-inline",
|
||||
"body": [
|
||||
"\\inlineex"
|
||||
]
|
||||
},
|
||||
"bold": {
|
||||
"prefix": "#bold",
|
||||
"body": [
|
||||
"\\textbf{$1}"
|
||||
]
|
||||
},
|
||||
"italic": {
|
||||
"prefix": "#i",
|
||||
"body": [
|
||||
"\\textit{$1}"
|
||||
]
|
||||
},
|
||||
"bolditalic": {
|
||||
"prefix": "#bi",
|
||||
"body": [
|
||||
"\\textbf{\\textit{$1}}"
|
||||
]
|
||||
},
|
||||
"underlinie": {
|
||||
"prefix": "#u",
|
||||
"body": [
|
||||
"\\underbar{$1}"
|
||||
]
|
||||
},
|
||||
"algebra": {
|
||||
"prefix": "algebra",
|
||||
"body": [
|
||||
"\\langle $1 \\rangle"
|
||||
]
|
||||
},
|
||||
"fill-width": {
|
||||
"prefix": "#fill",
|
||||
"body": [
|
||||
"\\hspace{\\fill}$1"
|
||||
]
|
||||
},
|
||||
"Latex-Colour": {
|
||||
"prefix": "colour",
|
||||
"body": [
|
||||
"${1|red,green,blue,cyan,magenta,yellow,black,gray,white,darkgray,lightgray,brown,lime,olive,orange,pink,purple,teal,violet|}"
|
||||
]
|
||||
},
|
||||
"Latex-Text-Colour": {
|
||||
"prefix": "colour-text",
|
||||
"body": [
|
||||
"\\color{${1|red,green,blue,cyan,magenta,yellow,black,gray,white,darkgray,lightgray,brown,lime,olive,orange,pink,purple,teal,violet|}}"
|
||||
]
|
||||
},
|
||||
"German doc": {
|
||||
"prefix": "latex-german",
|
||||
"body": [
|
||||
"\\usepackage[ngerman]{babel}",
|
||||
"\\setcounter{lang}{2} % Move below \\begin{document}",
|
||||
]
|
||||
},
|
||||
"Letter": {
|
||||
"prefix": "latex-letter",
|
||||
"body": [
|
||||
"\\documentclass[12pt,a4paper]{scrlttr2}\n",
|
||||
"\\input{~/projects/generalSchool/letter-helpers.tex}\n",
|
||||
"% Subject",
|
||||
"\\setkomavar{subject}{$1}",
|
||||
"\\begin{document}\\raggedright",
|
||||
"\t\\begin{letter}{Company \\\\\\ Name \\\\\\ Address \\\\\\ CH-Place}",
|
||||
"\t\t\\opening{Intro}\n",
|
||||
"\t\t$2\n",
|
||||
"\t\t\\closing{Mit freundlichen Grüssen}",
|
||||
"\t\\end{letter}",
|
||||
"\\end{document}",
|
||||
]
|
||||
},
|
||||
}
|
||||
@@ -0,0 +1,124 @@
|
||||
{
|
||||
// Place your snippets for tex here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"Formula (old)": {
|
||||
"prefix": "formulaBare",
|
||||
"body": [
|
||||
"\\begin{tcolorbox}[colback=red!5!white,colframe=red!75!black,title=Formula: $1]",
|
||||
"\t$2",
|
||||
"\\end{tcolorbox}",
|
||||
],
|
||||
"description": "Red tcolorbox to provide a formula (without the default setup)"
|
||||
},
|
||||
"Prepare Latex doc (old)": {
|
||||
"prefix": "LaTeX-Prepare-Old",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"% Imports %",
|
||||
"\\usepackage{amsmath}",
|
||||
"\\usepackage{graphicx}",
|
||||
"\\usepackage{subcaption}",
|
||||
"\\usepackage[export]{adjustbox}",
|
||||
"\\usepackage{tcolorbox}",
|
||||
"\\usepackage{xcolor}",
|
||||
"\\usepackage{cancel}",
|
||||
"\\usepackage{dsfont}",
|
||||
"\\usepackage{amssymb}",
|
||||
"\\usepackage[a4paper]{geometry}",
|
||||
"\\usepackage{parskip}\n",
|
||||
"% Setup %",
|
||||
"\\title{\\Huge \\textbf{$1}}",
|
||||
"\\author{Janis Hutz}\n",
|
||||
"% Configuring %",
|
||||
"\\addtolength{\\oddsidemargin}{-0.75in}",
|
||||
"\\addtolength{\\textwidth}{1.5in}",
|
||||
"\\addtolength{\\evensidemargin}{-0.75in}",
|
||||
"\\addtolength{\\topmargin}{-1in}",
|
||||
"\\addtolength{\\textheight}{2in}\n",
|
||||
"% Main doc %",
|
||||
"\\begin{document}",
|
||||
"\\maketitle",
|
||||
"$2",
|
||||
"\\end{document}"
|
||||
],
|
||||
"description": "Prepare a LaTeX Document with all relevant imports"
|
||||
},
|
||||
"prepare LaTeX Document (New)": {
|
||||
"prefix": "latex-prepare",
|
||||
"body": [
|
||||
"\\documentclass{article}\n",
|
||||
"\\input{~/projects/generalSchool/helpers.tex}\n",
|
||||
"\\setup{$1}\n",
|
||||
"\\begin{document}",
|
||||
"\\maketitle\n\n",
|
||||
"$2\n\n",
|
||||
"\\end{document}"
|
||||
],
|
||||
"description": "Prepares a full LaTeX Document for use and compiling"
|
||||
},
|
||||
"Formula (new)": {
|
||||
"prefix": "formula",
|
||||
"body": [
|
||||
"\\begin{formula}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{formula}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a formula (red)"
|
||||
},
|
||||
"Definition (new)": {
|
||||
"prefix": "definition",
|
||||
"body": [
|
||||
"\\begin{definition}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{definition}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a definition (blue)"
|
||||
},
|
||||
"Recall (new)": {
|
||||
"prefix": "recall",
|
||||
"body": [
|
||||
"\\begin{recall}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{recall}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide a recall / revision of previous knowledge (yellow)"
|
||||
},
|
||||
"Important Remarks (new)": {
|
||||
"prefix": "remarks",
|
||||
"body": [
|
||||
"\\begin{remarks}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{remarks}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide remarks (green)"
|
||||
},
|
||||
"Guides (new)": {
|
||||
"prefix": "guides",
|
||||
"body": [
|
||||
"\\begin{guides}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{guides}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to provide guides / instructions on how to use (purple)"
|
||||
},
|
||||
"Properties / Restrictions (new)": {
|
||||
"prefix": "properties",
|
||||
"body": [
|
||||
"\\begin{properties}[]{$1}",
|
||||
"\t$2",
|
||||
"\\end{properties}"
|
||||
],
|
||||
"description": "Inserts a tcolorbox to inform about properties / restrictions / limitations"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
// Place your snippets for javascript here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log('$1');",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// }
|
||||
"JS-Class": {
|
||||
"prefix": "jsSetupClass",
|
||||
"body": "class $1 { \n\tconstructor () {} \n\n \t$2 () {\n\t$3\n\t}\n}",
|
||||
"description": "Setup the basic structure of a class in JS"
|
||||
},
|
||||
"ExpressJS": {
|
||||
"prefix": "jsExpressSetup",
|
||||
"body": [
|
||||
"const express = require( 'express' );",
|
||||
"let app = express();",
|
||||
"const path = require( 'path' );",
|
||||
"const expressSession = require( 'express-session' );",
|
||||
"const fs = require( 'fs' );",
|
||||
"const bodyParser = require( 'body-parser' );",
|
||||
"const cookieParser = require( 'cookie-parser' )",
|
||||
"const favicon = require( 'serve-favicon' );",
|
||||
"\napp.use( expressSession ( {\n\tsecret: $1,\n\tresave: true,\n\tsaveUninitialized: true\n} ) );",
|
||||
"app.use( bodyParser.urlencoded( { extended: false } ) );",
|
||||
"app.use( bodyParser.json() );",
|
||||
"app.use( cookieParser() );",
|
||||
"app.use( favicon( path.join( __dirname + '$2' ) ) );\n",
|
||||
"app.use( ( request, response, next ) => {\n\tresponse.sendFile( path.join( __dirname + '$3' ) ) \n} );",
|
||||
"\n\napp.get( '/', ( request, response ) => {\n$4\n} );",
|
||||
"\n\nconst PORT = process.env.PORT || 8080;",
|
||||
"http.createServer( app ).listen( PORT );"
|
||||
]
|
||||
},
|
||||
"ExpressJS-Route": {
|
||||
"prefix": "jsEjsRoute",
|
||||
"body": "\n\napp.get( '$1', ( request: express.Request, response: express.Response ) => {\n$4\n} );"
|
||||
},
|
||||
"JSAsync": {
|
||||
"prefix": "jsAsync",
|
||||
"body": "(async () => {\n$1\n} ) ();"
|
||||
},
|
||||
"JSpromiseReturnFunc": {
|
||||
"prefix": "jsPromise",
|
||||
"body": "function $1 () {\n\treturn new Promise( ( resolve, reject ) => {\n\t$2\n\t} );\n}"
|
||||
},
|
||||
"fetch from other url": {
|
||||
"prefix": "remoteURL",
|
||||
"body": [
|
||||
"localStorage.getItem( 'url' ) + '/$1'",
|
||||
],
|
||||
"description": "remote URL fetching (get from base address from local storage)"
|
||||
},
|
||||
"fetch post": {
|
||||
"prefix": "fetchPost",
|
||||
"body": [
|
||||
"const fetchOptions = {",
|
||||
"\tmethod: 'post',",
|
||||
"\tbody: JSON.stringify( $1 ),",
|
||||
"\tcredentials: 'include',",
|
||||
"\theaders: {",
|
||||
"\t\t'Content-Type': 'application/json',",
|
||||
"\t\t'charset': 'utf-8'",
|
||||
"\t}",
|
||||
"};",
|
||||
"fetch( $2, fetchOptions ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"fetch get": {
|
||||
"prefix": "fetchGet",
|
||||
"body": [
|
||||
"fetch( $2, { credentials: 'include' } ).then( res => {",
|
||||
"\tif ( res.status === 200 ) {",
|
||||
"\t\tres.json().then( json => {",
|
||||
"\t\t\t$3",
|
||||
"\t\t} );",
|
||||
"\t}",
|
||||
"} );",
|
||||
"$4"
|
||||
],
|
||||
"description": "POST request using fetch"
|
||||
},
|
||||
"promise": {
|
||||
"prefix": "promise",
|
||||
"body": [
|
||||
"return new Promise( ( resolve, reject ) => {",
|
||||
"\t",
|
||||
"} );"
|
||||
]
|
||||
}
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
{
|
||||
// Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and
|
||||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
|
||||
// same ids are connected.
|
||||
// Example:
|
||||
// "Print to console": {
|
||||
// "prefix": "log",
|
||||
// "body": [
|
||||
// "console.log( '$1' );",
|
||||
// "$2"
|
||||
// ],
|
||||
// "description": "Log output to console"
|
||||
// },
|
||||
"script:setup": {
|
||||
"prefix": "script:setup",
|
||||
"body": [
|
||||
"<script setup lang=\"ts\">",
|
||||
"\t$1",
|
||||
"</script>"
|
||||
],
|
||||
"description": "Setup the basic structure of a class in JS"
|
||||
},
|
||||
}
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"ignoreUploadFiles": [
|
||||
"state.*",
|
||||
"syncLocalSettings.json",
|
||||
".DS_Store",
|
||||
"sync.lock",
|
||||
"projects.json",
|
||||
"projects_cache_vscode.json",
|
||||
"projects_cache_git.json",
|
||||
"projects_cache_svn.json",
|
||||
"gpm_projects.json",
|
||||
"gpm-recentItems.json"
|
||||
],
|
||||
"ignoreUploadFolders": [
|
||||
"workspaceStorage"
|
||||
],
|
||||
"ignoreExtensions": [],
|
||||
"gistDescription": "Visual Studio Code Settings Sync Gist",
|
||||
"version": 343,
|
||||
"token": "",
|
||||
"downloadPublicGist": false,
|
||||
"supportedFileExtensions": [
|
||||
"json",
|
||||
"code-snippets"
|
||||
],
|
||||
"openTokenLink": true,
|
||||
"disableUpdateMessage": false,
|
||||
"lastUpload": null,
|
||||
"lastDownload": null,
|
||||
"githubEnterpriseUrl": null,
|
||||
"askGistDescription": false,
|
||||
"customFiles": {},
|
||||
"hostName": null,
|
||||
"universalKeybindings": false,
|
||||
"autoUploadDelay": 20
|
||||
}
|
||||
Executable
+8
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extensionsGallery": {
|
||||
"serviceUrl": "https://marketplace.visualstudio.com/_apis/public/gallery",
|
||||
"itemUrl": "https://marketplace.visualstudio.com/items",
|
||||
"cacheUrl": "https://vscode.blob.core.windows.net/gallery/index",
|
||||
"controlUrl": ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
[global]
|
||||
follow = mouse
|
||||
indicate_hidden = yes
|
||||
|
||||
offset = 10x10
|
||||
|
||||
notification_height = 0
|
||||
|
||||
separator_height = 2
|
||||
|
||||
padding = 8
|
||||
horizontal_padding = 8
|
||||
text_icon_padding = 0
|
||||
frame_width = 2
|
||||
|
||||
frame_color = "#a6f7ad"
|
||||
separator_color = frame
|
||||
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
font = monospace 10
|
||||
line_height = 0
|
||||
markup = full
|
||||
alignment = left
|
||||
vertical_alignment = center
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
stack_duplicates = true
|
||||
hide_duplicate_count = false
|
||||
|
||||
show_indicators = yes
|
||||
|
||||
min_icon_size = 0
|
||||
max_icon_size = 64
|
||||
|
||||
icon_path = /usr/share/icons/candy-icons/16x16/status/:/usr/share/icons/candy-icons/16x16/devices/:/usr/share/icons/candy-icons/16x16/actions/:/usr/share/icons/candy-icons/16x16/animations/:/usr/share/icons/candy-icons/16x16/apps/:/usr/share/icons/candy-icons/16x16/categories/:/usr/share/icons/candy-icons/16x16/emblems/:/usr/share/icons/candy-icons/16x16/emotes/:/usr/share/icons/candy-icons/16x16/devices/mimetypes:/usr/share/icons/candy-icons/16x16/panel/:/usr/share/icons/candy-icons/16x16/places/
|
||||
|
||||
dmenu = /usr/bin/wofi -p dunst:
|
||||
browser = /usr/bin/firefox --new-tab
|
||||
|
||||
title = Dunst
|
||||
class = Dunst
|
||||
|
||||
corner_radius = 10
|
||||
timeout = 5
|
||||
|
||||
[urgency_low]
|
||||
background = "#00003a"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_normal]
|
||||
background = "#00003a"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_critical]
|
||||
background = "#00003a"
|
||||
foreground = "#CDD6F4"
|
||||
frame_color = "#6c0000"
|
||||
Executable
+58
@@ -0,0 +1,58 @@
|
||||
[global]
|
||||
follow = mouse
|
||||
indicate_hidden = yes
|
||||
|
||||
offset = 10x10
|
||||
|
||||
notification_height = 0
|
||||
|
||||
separator_height = 2
|
||||
|
||||
padding = 8
|
||||
horizontal_padding = 8
|
||||
text_icon_padding = 0
|
||||
frame_width = 2
|
||||
|
||||
frame_color = "#cc5c00"
|
||||
separator_color = frame
|
||||
|
||||
sort = yes
|
||||
idle_threshold = 120
|
||||
font = monospace 10
|
||||
line_height = 0
|
||||
markup = full
|
||||
alignment = left
|
||||
vertical_alignment = center
|
||||
show_age_threshold = 60
|
||||
word_wrap = yes
|
||||
stack_duplicates = true
|
||||
hide_duplicate_count = false
|
||||
|
||||
show_indicators = yes
|
||||
|
||||
min_icon_size = 0
|
||||
max_icon_size = 64
|
||||
|
||||
icon_path = /usr/share/icons/candy-icons/16x16/status/:/usr/share/icons/candy-icons/16x16/devices/:/usr/share/icons/candy-icons/16x16/actions/:/usr/share/icons/candy-icons/16x16/animations/:/usr/share/icons/candy-icons/16x16/apps/:/usr/share/icons/candy-icons/16x16/categories/:/usr/share/icons/candy-icons/16x16/emblems/:/usr/share/icons/candy-icons/16x16/emotes/:/usr/share/icons/candy-icons/16x16/devices/mimetypes:/usr/share/icons/candy-icons/16x16/panel/:/usr/share/icons/candy-icons/16x16/places/
|
||||
|
||||
dmenu = /usr/bin/wofi -p dunst:
|
||||
browser = /usr/bin/firefox --new-tab
|
||||
|
||||
title = Dunst
|
||||
class = Dunst
|
||||
|
||||
corner_radius = 10
|
||||
timeout = 5
|
||||
|
||||
[urgency_low]
|
||||
background = "#000000"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_normal]
|
||||
background = "#000000"
|
||||
foreground = "#CDD6F4"
|
||||
|
||||
[urgency_critical]
|
||||
background = "#000000"
|
||||
foreground = "#CDD6F4"
|
||||
frame_color = "#6c0000"
|
||||
Executable
+111
@@ -0,0 +1,111 @@
|
||||
alias ls='ls -l --color'
|
||||
alias ll='ls -la --color'
|
||||
alias v='nvim'
|
||||
alias c='clear'
|
||||
alias bt='bashtop'
|
||||
alias vicfg='cd ~/.config/nvim/ && nvim'
|
||||
alias fm='thunar .'
|
||||
alias gl='git ls-files --others --exclude-standard'
|
||||
alias gm='gti ls-files -m'
|
||||
alias gpu='git push'
|
||||
alias gp='git pull'
|
||||
alias gc='git commit -a -m'
|
||||
alias ga='git add ./*'
|
||||
|
||||
function y
|
||||
set tmp (mktemp -t "yazi-cwd.XXXXXX")
|
||||
yazi $argv --cwd-file="$tmp"
|
||||
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
|
||||
builtin cd -- "$cwd"
|
||||
end
|
||||
rm -f -- "$tmp"
|
||||
end
|
||||
|
||||
[ -f /usr/share/autojump/autojump.fish ]; and source /usr/share/autojump/autojump.fish
|
||||
|
||||
if status is-interactive
|
||||
function fish_prompt
|
||||
|
||||
# Cache exit status
|
||||
set -l last_status $status
|
||||
|
||||
# Set color for variables in prompt
|
||||
set -l normal (set_color normal)
|
||||
set -l white (set_color FFFFFF)
|
||||
set -l turquoise (set_color 5fdfff)
|
||||
set -l orange (set_color df5f00)
|
||||
set -l hotpink (set_color df005f)
|
||||
set -l blue (set_color blue)
|
||||
set -l limegreen (set_color 87ff00)
|
||||
set -l purple (set_color af5fff)
|
||||
set -l red (set_color e70e0e)
|
||||
|
||||
# Configure __fish_git_prompt
|
||||
set -g __fish_git_prompt_char_stateseparator ' '
|
||||
set -g __fish_git_prompt_color 5fdfff
|
||||
set -g __fish_git_prompt_color_flags df5f00
|
||||
set -g __fish_git_prompt_color_prefix white
|
||||
set -g __fish_git_prompt_color_suffix white
|
||||
set -g __fish_git_prompt_showdirtystate true
|
||||
set -g __fish_git_prompt_showuntrackedfiles true
|
||||
set -g __fish_git_prompt_showstashstate true
|
||||
|
||||
set -g __fish_git_prompt_show_informative_status true
|
||||
|
||||
|
||||
# Only calculate once, to save a few CPU cycles when displaying the prompt
|
||||
if not set -q __fish_prompt_hostname
|
||||
# set -g __fish_prompt_hostname (hostname|cut -d . -f 1)
|
||||
set -g __fish_prompt_hostname $orange(prompt_hostname)(set_color normal)
|
||||
end
|
||||
if not set -q __fish_prompt_char
|
||||
if [ (id -u) -eq 0 ]
|
||||
set -g __fish_prompt_char (set_color red)'λ'(set_color normal)
|
||||
else
|
||||
set -g __fish_prompt_char 'λ'
|
||||
end
|
||||
end
|
||||
|
||||
# change `at` to `ssh` when an interactive ssh session is present
|
||||
if [ "$SSH_TTY" = "" ]
|
||||
set -g location at
|
||||
# set -g __fish_prompt_hostname (set_color orange)(hostname|cut -d . -f 1)
|
||||
else # connected via ssh
|
||||
if [ "$TERM" = "xterm-256color-italic" -o "$TERM" = "tmux-256color" ]
|
||||
set -g location (echo -e "\e[3mssh\e[23m")
|
||||
# set -g ssh_hostname (echo -e $blue$__fish_prompt_hostname)
|
||||
set -g __fish_prompt_hostname $blue(prompt_hostname)(set_color normal)
|
||||
else
|
||||
set -g location ssh
|
||||
# set -g ssh_hostname (echo -e $blue$__fish_prompt_hostname)
|
||||
set -g __fish_prompt_hostname $blue(prompt_hostname)(set_color normal)
|
||||
end
|
||||
end
|
||||
|
||||
if [ (id -u) -eq 0 ]
|
||||
# top line > Superuser
|
||||
echo -n $red'╭─'$hotpink$USER $white$location $__fish_prompt_hostname$white' in '$limegreen(pwd)$turquoise
|
||||
__fish_git_prompt " (%s)"
|
||||
echo
|
||||
# bottom line > Superuser
|
||||
echo -n $red'╰'
|
||||
echo -n $red'─'$__fish_prompt_char $normal
|
||||
else # top line > non superuser's
|
||||
echo -n $white'╭─'$hotpink$USER $white$location $__fish_prompt_hostname$white' in '$limegreen(pwd)$turquoise
|
||||
__fish_git_prompt " (%s)"
|
||||
echo
|
||||
# bottom line > non superuser's
|
||||
echo -n $white'╰'
|
||||
echo -n $white'─'$__fish_prompt_char $normal
|
||||
end
|
||||
|
||||
# NOTE: disable `VIRTUAL_ENV_DISABLE_PROMPT` in `config.fish`
|
||||
# see: https://virtualenv.pypa.io/en/latest/reference/#envvar-VIRTUAL_ENV_DISABLE_PROMPT
|
||||
# support for virtual env name
|
||||
if set -q VIRTUAL_ENV
|
||||
echo -n "($turquoise"(basename "$VIRTUAL_ENV")"$white)"
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
Executable
+33
@@ -0,0 +1,33 @@
|
||||
# This file contains fish universal variable definitions.
|
||||
# VERSION: 3.0
|
||||
SETUVAR __fish_initialized:3400
|
||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:blue
|
||||
SETUVAR fish_color_comment:red
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:green
|
||||
SETUVAR fish_color_error:brred
|
||||
SETUVAR fish_color_escape:brcyan
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:brcyan
|
||||
SETUVAR fish_color_param:cyan
|
||||
SETUVAR fish_color_quote:yellow
|
||||
SETUVAR fish_color_redirection:cyan\x1e\x2d\x2dbold
|
||||
SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:normal
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
|
||||
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
SETUVAR fish_user_paths:/usr/lib/python3\x2e11/site\x2dpackages\x1e/usr/lib/python3\x2e11\x1e/usr/lib/python3\x2e11/site\x2dpackages/\x1e/home/janis/\x2elocal/lib/python3\x2e11/site\x2dpackages/\x1e/home/janis/\x2elocal/lib/python3\x2e11/
|
||||
@@ -0,0 +1,51 @@
|
||||
# vim:ft=kitty
|
||||
|
||||
## name: Adwaita darker
|
||||
## license: MIT
|
||||
## author: Emil Löfquist (https://github.com/ewal)
|
||||
## upstream: https://github.com/ewal/kitty-adwaita/blob/main/adwaita_darker.conf
|
||||
## blurb: Adwaita darker - based on https://github.com/Mofiqul/adwaita.nvim
|
||||
|
||||
background #000000
|
||||
foreground #deddda
|
||||
|
||||
selection_background #1c1c1c
|
||||
selection_foreground #c0bfbc
|
||||
|
||||
url_color #1a5fb4
|
||||
|
||||
wayland_titlebar_color system
|
||||
macos_titlebar_color system
|
||||
|
||||
cursor #deddda
|
||||
cursor_text_color #000000
|
||||
|
||||
active_border_color #1e1e1e
|
||||
inactive_border_color #282828
|
||||
bell_border_color #ed333b
|
||||
visual_bell_color none
|
||||
|
||||
active_tab_background #101010
|
||||
active_tab_foreground #fcfcfc
|
||||
inactive_tab_background #1c1c1c
|
||||
inactive_tab_foreground #b0afac
|
||||
tab_bar_background none
|
||||
tab_bar_margin_color none
|
||||
|
||||
color0 #000000
|
||||
color1 #ed333b
|
||||
color2 #57e389
|
||||
color3 #ff7800
|
||||
color4 #62a0ea
|
||||
color5 #9141ac
|
||||
color6 #5bc8af
|
||||
color7 #deddda
|
||||
|
||||
color8 #9a9996
|
||||
color9 #f66151
|
||||
color10 #8ff0a4
|
||||
color11 #ffa348
|
||||
color12 #99c1f1
|
||||
color13 #dc8add
|
||||
color14 #93ddc2
|
||||
color15 #f6f5f4
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Executable
+94
@@ -0,0 +1,94 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
dir="$HOME/.config/rofi/applets/android"
|
||||
rofi_command="rofi -theme $dir/six.rasi"
|
||||
|
||||
# Links
|
||||
terminal=""
|
||||
files=""
|
||||
editor=""
|
||||
browser=""
|
||||
music=""
|
||||
settings=""
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
|
||||
case $chosen in
|
||||
$terminal)
|
||||
if [[ -f /usr/bin/termite ]]; then
|
||||
termite &
|
||||
elif [[ -f /usr/bin/urxvt ]]; then
|
||||
urxvt &
|
||||
elif [[ -f /usr/bin/kitty ]]; then
|
||||
kitty &
|
||||
elif [[ -f /usr/bin/xterm ]]; then
|
||||
xterm &
|
||||
elif [[ -f /usr/bin/xfce4-terminal ]]; then
|
||||
xfce4-terminal &
|
||||
elif [[ -f /usr/bin/gnome-terminal ]]; then
|
||||
gnome-terminal &
|
||||
else
|
||||
msg "No suitable terminal found!"
|
||||
fi
|
||||
;;
|
||||
$files)
|
||||
if [[ -f /usr/bin/thunar ]]; then
|
||||
thunar &
|
||||
elif [[ -f /usr/bin/pcmanfm ]]; then
|
||||
pcmanfm &
|
||||
else
|
||||
msg "No suitable file manager found!"
|
||||
fi
|
||||
;;
|
||||
$editor)
|
||||
if [[ -f /usr/bin/geany ]]; then
|
||||
geany &
|
||||
elif [[ -f /usr/bin/leafpad ]]; then
|
||||
leafpad &
|
||||
elif [[ -f /usr/bin/mousepad ]]; then
|
||||
mousepad &
|
||||
elif [[ -f /usr/bin/code ]]; then
|
||||
code &
|
||||
else
|
||||
msg "No suitable text editor found!"
|
||||
fi
|
||||
;;
|
||||
$browser)
|
||||
if [[ -f /usr/bin/firefox ]]; then
|
||||
firefox &
|
||||
elif [[ -f /usr/bin/chromium ]]; then
|
||||
chromium &
|
||||
elif [[ -f /usr/bin/midori ]]; then
|
||||
midori &
|
||||
else
|
||||
msg "No suitable web browser found!"
|
||||
fi
|
||||
;;
|
||||
$music)
|
||||
if [[ -f /usr/bin/lxmusic ]]; then
|
||||
lxmusic &
|
||||
else
|
||||
msg "No suitable music player found!"
|
||||
fi
|
||||
;;
|
||||
$settings)
|
||||
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
|
||||
xfce4-settings-manager &
|
||||
else
|
||||
msg "No suitable settings manager found!"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
+84
@@ -0,0 +1,84 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
dir="$HOME/.config/rofi/applets/android"
|
||||
rofi_command="rofi -theme $dir/three.rasi"
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
## Get Brightness
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
BNESS="$(brightnessctl get)"
|
||||
MAX="$(brightnessctl max)"
|
||||
PERC="$((BNESS*100/MAX))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
DEVICE=$(ls /sys/class/backlight | head -n 1)
|
||||
BNESS="$(blight -d $DEVICE get brightness)"
|
||||
PERC="$(($BNESS*100/255))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
VAR="$(xbacklight -get)"
|
||||
BLIGHT="$(printf "%.0f\n" "$VAR")"
|
||||
else
|
||||
msg "No suitable backlight utility found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then
|
||||
MSG="Low"
|
||||
elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then
|
||||
MSG="Optimal"
|
||||
elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then
|
||||
MSG="High"
|
||||
elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then
|
||||
MSG="Too Much"
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_UP=""
|
||||
ICON_DOWN=""
|
||||
ICON_OPT=""
|
||||
|
||||
notify="notify-send -u low -t 1500"
|
||||
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)"
|
||||
case $chosen in
|
||||
"$ICON_UP")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
|
||||
fi
|
||||
;;
|
||||
"$ICON_DOWN")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
|
||||
fi
|
||||
;;
|
||||
"$ICON_OPT")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* Change the colorscheme for every menu simply by editing this file...
|
||||
*
|
||||
* Available Color Schemes
|
||||
* // Dark
|
||||
* material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange
|
||||
* material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green
|
||||
* material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal
|
||||
* material-dark/yellow
|
||||
* // Light
|
||||
* material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange
|
||||
* material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green
|
||||
* material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal
|
||||
* material-light/yellow
|
||||
*
|
||||
* // Other
|
||||
* adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark
|
||||
* armchair, darkpink, fresh, inside, party, sirin
|
||||
*
|
||||
*/
|
||||
|
||||
@import "../styles/arc.rasi"
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
/* Confirm Dialog */
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: "Iosevka Nerd Font 12";
|
||||
}
|
||||
|
||||
window {
|
||||
width: 225px;
|
||||
padding: 25px;
|
||||
border: 0px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
location: center;
|
||||
y-offset: -20px;
|
||||
}
|
||||
|
||||
entry {
|
||||
expand: true;
|
||||
text-color: @accent;
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
width: 100px;
|
||||
location: east;
|
||||
x-offset: -15px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 5;
|
||||
margin: 8px;
|
||||
spacing: 8px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ listview ];
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 26px 26px 26px 26px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @background-alt;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 10px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @urgent;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @background-alt;
|
||||
color: @foreground;
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
/* Confirm Dialog */
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
font: "Iosevka Nerd Font 12";
|
||||
}
|
||||
|
||||
window {
|
||||
width: 360px;
|
||||
padding: 25px;
|
||||
border: 0px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
location: center;
|
||||
y-offset: -20px;
|
||||
}
|
||||
|
||||
entry {
|
||||
expand: true;
|
||||
text-color: @accent;
|
||||
}
|
||||
Executable
+76
@@ -0,0 +1,76 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
dir="$HOME/.config/rofi/applets/android"
|
||||
rofi_command="rofi -theme $dir/six.rasi"
|
||||
|
||||
# Gets the current status of mpd (for us to parse it later on)
|
||||
status="$(mpc status)"
|
||||
# Defines the Play / Pause option content
|
||||
if [[ $status == *"[playing]"* ]]; then
|
||||
play_pause=""
|
||||
else
|
||||
play_pause=""
|
||||
fi
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
# Display if repeat mode is on / off
|
||||
tog_repeat=""
|
||||
if [[ $status == *"repeat: on"* ]]; then
|
||||
active="-a 4"
|
||||
elif [[ $status == *"repeat: off"* ]]; then
|
||||
urgent="-u 4"
|
||||
else
|
||||
tog_repeat=" Parsing error"
|
||||
fi
|
||||
|
||||
# Display if random mode is on / off
|
||||
tog_random=""
|
||||
if [[ $status == *"random: on"* ]]; then
|
||||
[ -n "$active" ] && active+=",5" || active="-a 5"
|
||||
elif [[ $status == *"random: off"* ]]; then
|
||||
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
|
||||
else
|
||||
tog_random=" Parsing error"
|
||||
fi
|
||||
stop=""
|
||||
next=""
|
||||
previous=""
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
|
||||
|
||||
# Get the current playing song
|
||||
current=$(mpc -f %title% current)
|
||||
# If mpd isn't running it will return an empty string, we don't want to display that
|
||||
if [[ -z "$current" ]]; then
|
||||
current="-"
|
||||
fi
|
||||
|
||||
# Spawn the mpd menu with the "Play / Pause" entry selected by default
|
||||
chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)"
|
||||
case $chosen in
|
||||
$previous)
|
||||
mpc -q prev && notify-send -u low -t 1800 " $(mpc current)"
|
||||
;;
|
||||
$play_pause)
|
||||
mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)"
|
||||
;;
|
||||
$stop)
|
||||
mpc -q stop
|
||||
;;
|
||||
$next)
|
||||
mpc -q next && notify-send -u low -t 1800 " $(mpc current)"
|
||||
;;
|
||||
$tog_repeat)
|
||||
mpc -q repeat
|
||||
;;
|
||||
$tog_random)
|
||||
mpc -q random
|
||||
;;
|
||||
esac
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
dir="$HOME/.config/rofi/applets/android"
|
||||
rofi_command="rofi -theme $dir/five.rasi"
|
||||
|
||||
uptime=$(uptime -p | sed -e 's/up //g')
|
||||
|
||||
# Options
|
||||
shutdown=""
|
||||
reboot=""
|
||||
lock=""
|
||||
suspend=""
|
||||
logout=""
|
||||
|
||||
# Confirmation
|
||||
confirm_exit() {
|
||||
rofi -dmenu\
|
||||
-i\
|
||||
-no-fixed-num-lines\
|
||||
-p "Are You Sure? : "\
|
||||
-theme $dir/confirm.rasi
|
||||
}
|
||||
|
||||
# Message
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||
}
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)"
|
||||
case $chosen in
|
||||
$shutdown)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
systemctl poweroff
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$reboot)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
systemctl reboot
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$lock)
|
||||
if [[ -f /usr/bin/i3lock ]]; then
|
||||
i3lock
|
||||
elif [[ -f /usr/bin/betterlockscreen ]]; then
|
||||
betterlockscreen -l
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
mpc -q pause
|
||||
amixer set Master mute
|
||||
systemctl suspend
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$logout)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
|
||||
openbox --exit
|
||||
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
|
||||
bspc quit
|
||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||
i3-msg exit
|
||||
fi
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
dir="$HOME/.config/rofi/applets/android"
|
||||
rofi_command="rofi -theme $dir/six.rasi"
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
# Browser
|
||||
if [[ -f /usr/bin/firefox ]]; then
|
||||
app="firefox"
|
||||
elif [[ -f /usr/bin/chromium ]]; then
|
||||
app="chromium"
|
||||
elif [[ -f /usr/bin/midori ]]; then
|
||||
app="midori"
|
||||
else
|
||||
msg "No suitable web browser found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Links
|
||||
google=""
|
||||
facebook=""
|
||||
twitter=""
|
||||
github=""
|
||||
mail=""
|
||||
youtube=""
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)"
|
||||
case $chosen in
|
||||
$google)
|
||||
$app https://www.google.com &
|
||||
;;
|
||||
$facebook)
|
||||
$app https://www.facebook.com &
|
||||
;;
|
||||
$twitter)
|
||||
$app https://www.twitter.com &
|
||||
;;
|
||||
$github)
|
||||
$app https://www.github.com &
|
||||
;;
|
||||
$mail)
|
||||
$app https://www.gmail.com &
|
||||
;;
|
||||
$youtube)
|
||||
$app https://www.youtube.com &
|
||||
;;
|
||||
esac
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
dir="$HOME/.config/rofi/applets/android"
|
||||
rofi_command="rofi -theme $dir/three.rasi"
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$dir/message.rasi" -e "Please install 'scrot' first."
|
||||
}
|
||||
|
||||
# Options
|
||||
screen=""
|
||||
area=""
|
||||
window=""
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$screen\n$area\n$window"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p '' -dmenu -selected-row 1)"
|
||||
case $chosen in
|
||||
$screen)
|
||||
if [[ -f /usr/bin/scrot ]]; then
|
||||
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$area)
|
||||
if [[ -f /usr/bin/scrot ]]; then
|
||||
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$window)
|
||||
if [[ -f /usr/bin/scrot ]]; then
|
||||
sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
width: 100px;
|
||||
location: east;
|
||||
x-offset: -15px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 6;
|
||||
margin: 8px;
|
||||
spacing: 8px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ listview ];
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 26px 26px 26px 26px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 10px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
+92
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
width: 100px;
|
||||
location: east;
|
||||
x-offset: -15px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
listview {
|
||||
lines: 3;
|
||||
margin: 8px;
|
||||
spacing: 8px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ listview ];
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 26px 26px 26px 26px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 10px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
+56
@@ -0,0 +1,56 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
dir="$HOME/.config/rofi/applets/android"
|
||||
rofi_command="rofi -theme $dir/three.rasi"
|
||||
|
||||
## Get Volume
|
||||
#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')
|
||||
MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%')
|
||||
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
if [[ $MUTE == *"off"* ]]; then
|
||||
active="-a 1"
|
||||
else
|
||||
urgent="-u 1"
|
||||
fi
|
||||
|
||||
if [[ $MUTE == *"off"* ]]; then
|
||||
active="-a 1"
|
||||
else
|
||||
urgent="-u 1"
|
||||
fi
|
||||
|
||||
if [[ $MUTE == *"on"* ]]; then
|
||||
VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%"
|
||||
else
|
||||
VOLUME="Mu..."
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_UP=""
|
||||
ICON_DOWN=""
|
||||
ICON_MUTED=""
|
||||
|
||||
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)"
|
||||
case $chosen in
|
||||
$ICON_UP)
|
||||
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP"
|
||||
;;
|
||||
$ICON_DOWN)
|
||||
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN"
|
||||
;;
|
||||
$ICON_MUTED)
|
||||
amixer -q set Master toggle
|
||||
;;
|
||||
esac
|
||||
|
||||
Executable
+95
@@ -0,0 +1,95 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/apps.rasi"
|
||||
|
||||
# Links
|
||||
terminal=""
|
||||
files=""
|
||||
editor=""
|
||||
browser=""
|
||||
music=""
|
||||
settings=""
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
|
||||
case $chosen in
|
||||
$terminal)
|
||||
if [[ -f /usr/bin/termite ]]; then
|
||||
termite &
|
||||
elif [[ -f /usr/bin/urxvt ]]; then
|
||||
urxvt &
|
||||
elif [[ -f /usr/bin/kitty ]]; then
|
||||
kitty &
|
||||
elif [[ -f /usr/bin/xterm ]]; then
|
||||
xterm &
|
||||
elif [[ -f /usr/bin/xfce4-terminal ]]; then
|
||||
xfce4-terminal &
|
||||
elif [[ -f /usr/bin/gnome-terminal ]]; then
|
||||
gnome-terminal &
|
||||
else
|
||||
msg "No suitable terminal found!"
|
||||
fi
|
||||
;;
|
||||
$files)
|
||||
if [[ -f /usr/bin/thunar ]]; then
|
||||
thunar &
|
||||
elif [[ -f /usr/bin/pcmanfm ]]; then
|
||||
pcmanfm &
|
||||
else
|
||||
msg "No suitable file manager found!"
|
||||
fi
|
||||
;;
|
||||
$editor)
|
||||
if [[ -f /usr/bin/geany ]]; then
|
||||
geany &
|
||||
elif [[ -f /usr/bin/leafpad ]]; then
|
||||
leafpad &
|
||||
elif [[ -f /usr/bin/mousepad ]]; then
|
||||
mousepad &
|
||||
elif [[ -f /usr/bin/code ]]; then
|
||||
code &
|
||||
else
|
||||
msg "No suitable text editor found!"
|
||||
fi
|
||||
;;
|
||||
$browser)
|
||||
if [[ -f /usr/bin/firefox ]]; then
|
||||
firefox &
|
||||
elif [[ -f /usr/bin/chromium ]]; then
|
||||
chromium &
|
||||
elif [[ -f /usr/bin/midori ]]; then
|
||||
midori &
|
||||
else
|
||||
msg "No suitable web browser found!"
|
||||
fi
|
||||
;;
|
||||
$music)
|
||||
if [[ -f /usr/bin/lxmusic ]]; then
|
||||
lxmusic &
|
||||
else
|
||||
msg "No suitable music player found!"
|
||||
fi
|
||||
;;
|
||||
$settings)
|
||||
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
|
||||
xfce4-settings-manager &
|
||||
else
|
||||
msg "No suitable settings manager found!"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/backlight.rasi"
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
## Get Brightness
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
BNESS="$(brightnessctl get)"
|
||||
MAX="$(brightnessctl max)"
|
||||
PERC="$((BNESS*100/MAX))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
DEVICE=$(ls /sys/class/backlight | head -n 1)
|
||||
BNESS="$(blight -d $DEVICE get brightness)"
|
||||
PERC="$(($BNESS*100/255))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
VAR="$(xbacklight -get)"
|
||||
BLIGHT="$(printf "%.0f\n" "$VAR")"
|
||||
else
|
||||
msg "No suitable backlight utility found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then
|
||||
MSG="Low"
|
||||
elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then
|
||||
MSG="Optimal"
|
||||
elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then
|
||||
MSG="High"
|
||||
elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then
|
||||
MSG="Too Much"
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_UP=""
|
||||
ICON_DOWN=""
|
||||
ICON_OPT=""
|
||||
|
||||
notify="notify-send -u low -t 1500"
|
||||
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)"
|
||||
case $chosen in
|
||||
"$ICON_UP")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
|
||||
fi
|
||||
;;
|
||||
"$ICON_DOWN")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
|
||||
fi
|
||||
;;
|
||||
"$ICON_OPT")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/battery.rasi"
|
||||
|
||||
## Get data
|
||||
BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)"
|
||||
CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)"
|
||||
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
if [[ $CHARGE = *"Charging"* ]]; then
|
||||
active="-a 1"
|
||||
ICON_CHRG=""
|
||||
MSG=$CHARGE
|
||||
elif [[ $CHARGE = *"Full"* ]]; then
|
||||
active="-u 1"
|
||||
ICON_CHRG=""
|
||||
MSG=$CHARGE
|
||||
else
|
||||
urgent="-u 1"
|
||||
ICON_CHRG=""
|
||||
MSG=$CHARGE
|
||||
fi
|
||||
|
||||
# Discharging
|
||||
#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then
|
||||
# ICON_DISCHRG=""
|
||||
if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_PMGR=""
|
||||
|
||||
options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$BATTERY%" -dmenu $active $urgent -selected-row 0)"
|
||||
case $chosen in
|
||||
$ICON_CHRG)
|
||||
;;
|
||||
$ICON_DISCHRG)
|
||||
;;
|
||||
$ICON_PMGR)
|
||||
xfce4-power-manager-settings
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Apps ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Brightness ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 260px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Battery ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " MPD ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 335px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Network ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 4;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 420px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " System ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 5;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Quick Links ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Screenshot ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 450px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Time ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 10px 40px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 40px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 25px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Volume ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 0px 2px 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Apps ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Brightness ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Battery ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " MPD ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 335px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Network ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 4;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 420px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " System ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 5;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Quick Links ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Screenshot ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 450px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Time ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 30px 10px 30px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 12px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 10px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Volume ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 12px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Apps ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Brightness ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Battery ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " MPD ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 350px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 3px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Network ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 4;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 420px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " System ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 5;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 500px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Quick Links ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Screenshot ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 450px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 3px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Time ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 30px 10px 30px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 12";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 0px;
|
||||
location: southeast;
|
||||
width: 250px;
|
||||
x-offset: -15px;
|
||||
y-offset: -45px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background-light;
|
||||
text-color: @accent;
|
||||
border: 2px 2px 2px 2px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Volume ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 12px 10px 0px 10px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 0px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 12px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 12px;
|
||||
margin: 12px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 20";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 19px 10px 19px 10px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
Executable
+78
@@ -0,0 +1,78 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/mpd.rasi"
|
||||
|
||||
# Gets the current status of mpd (for us to parse it later on)
|
||||
status="$(mpc status)"
|
||||
# Defines the Play / Pause option content
|
||||
if [[ $status == *"[playing]"* ]]; then
|
||||
play_pause=""
|
||||
else
|
||||
play_pause=""
|
||||
fi
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
# Display if repeat mode is on / off
|
||||
tog_repeat=""
|
||||
if [[ $status == *"repeat: on"* ]]; then
|
||||
active="-a 4"
|
||||
elif [[ $status == *"repeat: off"* ]]; then
|
||||
urgent="-u 4"
|
||||
else
|
||||
tog_repeat=" Parsing error"
|
||||
fi
|
||||
|
||||
# Display if random mode is on / off
|
||||
tog_random=""
|
||||
if [[ $status == *"random: on"* ]]; then
|
||||
[ -n "$active" ] && active+=",5" || active="-a 5"
|
||||
elif [[ $status == *"random: off"* ]]; then
|
||||
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
|
||||
else
|
||||
tog_random=" Parsing error"
|
||||
fi
|
||||
stop=""
|
||||
next=""
|
||||
previous=""
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
|
||||
|
||||
# Get the current playing song
|
||||
current=$(mpc -f "%title%" current)
|
||||
# If mpd isn't running it will return an empty string, we don't want to display that
|
||||
if [[ -z "$current" ]]; then
|
||||
current="-"
|
||||
fi
|
||||
|
||||
# Spawn the mpd menu with the "Play / Pause" entry selected by default
|
||||
chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)"
|
||||
case $chosen in
|
||||
$previous)
|
||||
mpc -q prev && notify-send -u low -t 1800 " $(mpc current)"
|
||||
;;
|
||||
$play_pause)
|
||||
mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)"
|
||||
;;
|
||||
$stop)
|
||||
mpc -q stop
|
||||
;;
|
||||
$next)
|
||||
mpc -q next && notify-send -u low -t 1800 " $(mpc current)"
|
||||
;;
|
||||
$tog_repeat)
|
||||
mpc -q repeat
|
||||
;;
|
||||
$tog_random)
|
||||
mpc -q random
|
||||
;;
|
||||
esac
|
||||
+68
@@ -0,0 +1,68 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/network.rasi"
|
||||
|
||||
## Get info
|
||||
IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')"
|
||||
#SSID="$(iwgetid -r)"
|
||||
#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')"
|
||||
#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )"
|
||||
STATUS="$(nmcli radio wifi)"
|
||||
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then
|
||||
if [[ $STATUS == *"enable"* ]]; then
|
||||
if [[ $IFACE == e* ]]; then
|
||||
connected=""
|
||||
else
|
||||
connected=""
|
||||
fi
|
||||
active="-a 0"
|
||||
SSID=" $(iwgetid -r)"
|
||||
PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)"
|
||||
fi
|
||||
else
|
||||
urgent="-u 0"
|
||||
SSID="Disconnected"
|
||||
PIP="Not Available"
|
||||
connected=""
|
||||
fi
|
||||
|
||||
## Icons
|
||||
bmon=""
|
||||
launch_cli=""
|
||||
launch=""
|
||||
|
||||
options="$connected\n$bmon\n$launch_cli\n$launch"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$SSID" -dmenu $active $urgent -selected-row 1)"
|
||||
case $chosen in
|
||||
$connected)
|
||||
if [[ $STATUS == *"enable"* ]]; then
|
||||
nmcli radio wifi off
|
||||
else
|
||||
nmcli radio wifi on
|
||||
fi
|
||||
;;
|
||||
$bmon)
|
||||
termite -e bmon
|
||||
;;
|
||||
$launch_cli)
|
||||
termite -e nmtui
|
||||
;;
|
||||
$launch)
|
||||
nm-connection-editor
|
||||
;;
|
||||
esac
|
||||
|
||||
+98
@@ -0,0 +1,98 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/powermenu.rasi"
|
||||
|
||||
uptime=$(uptime -p | sed -e 's/up //g')
|
||||
cpu=$($HOME/.config/rofi/bin/usedcpu)
|
||||
memory=$($HOME/.config/rofi/bin/usedram)
|
||||
|
||||
# Options
|
||||
shutdown=""
|
||||
reboot=""
|
||||
lock=""
|
||||
suspend=""
|
||||
logout=""
|
||||
|
||||
# Confirmation
|
||||
confirm_exit() {
|
||||
rofi -dmenu\
|
||||
-i\
|
||||
-no-fixed-num-lines\
|
||||
-p "Are You Sure? : "\
|
||||
-theme $HOME/.config/rofi/applets/styles/confirm.rasi
|
||||
}
|
||||
|
||||
# Message
|
||||
msg() {
|
||||
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n"
|
||||
}
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)"
|
||||
case $chosen in
|
||||
$shutdown)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
systemctl poweroff
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$reboot)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
systemctl reboot
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$lock)
|
||||
if [[ -f /usr/bin/i3lock ]]; then
|
||||
i3lock
|
||||
elif [[ -f /usr/bin/betterlockscreen ]]; then
|
||||
betterlockscreen -l
|
||||
fi
|
||||
;;
|
||||
$suspend)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
mpc -q pause
|
||||
amixer set Master mute
|
||||
systemctl suspend
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$logout)
|
||||
ans=$(confirm_exit &)
|
||||
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
|
||||
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
|
||||
openbox --exit
|
||||
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
|
||||
bspc quit
|
||||
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
|
||||
i3-msg exit
|
||||
fi
|
||||
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
|
||||
exit 0
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
+62
@@ -0,0 +1,62 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/quicklinks.rasi"
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
# Browser
|
||||
if [[ -f /usr/bin/firefox ]]; then
|
||||
app="firefox"
|
||||
elif [[ -f /usr/bin/chromium ]]; then
|
||||
app="chromium"
|
||||
elif [[ -f /usr/bin/midori ]]; then
|
||||
app="midori"
|
||||
else
|
||||
msg "No suitable web browser found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Links
|
||||
google=""
|
||||
facebook=""
|
||||
twitter=""
|
||||
github=""
|
||||
mail=""
|
||||
youtube=""
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)"
|
||||
case $chosen in
|
||||
$google)
|
||||
$app https://www.google.com &
|
||||
;;
|
||||
$facebook)
|
||||
$app https://www.facebook.com &
|
||||
;;
|
||||
$twitter)
|
||||
$app https://www.twitter.com &
|
||||
;;
|
||||
$github)
|
||||
$app https://www.github.com &
|
||||
;;
|
||||
$mail)
|
||||
$app https://www.gmail.com &
|
||||
;;
|
||||
$youtube)
|
||||
$app https://www.youtube.com &
|
||||
;;
|
||||
esac
|
||||
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/screenshot.rasi"
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first."
|
||||
}
|
||||
|
||||
# Options
|
||||
screen=""
|
||||
area=""
|
||||
window=""
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$screen\n$area\n$window"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p 'scrot' -dmenu -selected-row 1)"
|
||||
case $chosen in
|
||||
$screen)
|
||||
if [[ -f /usr/bin/scrot ]]; then
|
||||
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$area)
|
||||
if [[ -f /usr/bin/scrot ]]; then
|
||||
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
$window)
|
||||
if [[ -f /usr/bin/scrot ]]; then
|
||||
sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
|
||||
else
|
||||
msg
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Available Styles
|
||||
# >> Created and tested on : rofi 1.6.0-1
|
||||
#
|
||||
# square circle rounded
|
||||
|
||||
style="square"
|
||||
|
||||
# uncomment these lines to enable random style
|
||||
#styles=('square' 'circle' 'rounded')
|
||||
#style="${styles[$(( $RANDOM % 3 ))]}"
|
||||
|
||||
# print style name
|
||||
echo "$style"
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/time.rasi"
|
||||
|
||||
## Get time and date
|
||||
TIME="$(date +"%I:%M %p")"
|
||||
DN=$(date +"%A")
|
||||
MN=$(date +"%B")
|
||||
DAY="$(date +"%d")"
|
||||
MONTH="$(date +"%m")"
|
||||
YEAR="$(date +"%Y")"
|
||||
|
||||
options="$DAY\n$MONTH\n$YEAR"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p " $DN, $TIME" -dmenu -selected-row 1)"
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/applets/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/applets/configs/$style"
|
||||
rofi_command="rofi -theme $dir/volume.rasi"
|
||||
|
||||
## Get Volume
|
||||
#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')
|
||||
MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%')
|
||||
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
if [[ $MUTE == *"off"* ]]; then
|
||||
active="-a 1"
|
||||
else
|
||||
urgent="-u 1"
|
||||
fi
|
||||
|
||||
if [[ $MUTE == *"off"* ]]; then
|
||||
active="-a 1"
|
||||
else
|
||||
urgent="-u 1"
|
||||
fi
|
||||
|
||||
if [[ $MUTE == *"on"* ]]; then
|
||||
VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%"
|
||||
else
|
||||
VOLUME="Mute"
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_UP=""
|
||||
ICON_DOWN=""
|
||||
ICON_MUTED=""
|
||||
|
||||
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)"
|
||||
case $chosen in
|
||||
$ICON_UP)
|
||||
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP"
|
||||
;;
|
||||
$ICON_DOWN)
|
||||
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN"
|
||||
;;
|
||||
$ICON_MUTED)
|
||||
amixer -q set Master toggle
|
||||
;;
|
||||
esac
|
||||
|
||||
Executable
+95
@@ -0,0 +1,95 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/menu/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/menu/configs/$style"
|
||||
rofi_command="rofi -theme $dir/apps.rasi"
|
||||
|
||||
# Links
|
||||
terminal=""
|
||||
files=""
|
||||
editor=""
|
||||
browser=""
|
||||
music=""
|
||||
settings=""
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
|
||||
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
|
||||
case $chosen in
|
||||
$terminal)
|
||||
if [[ -f /usr/bin/termite ]]; then
|
||||
termite &
|
||||
elif [[ -f /usr/bin/urxvt ]]; then
|
||||
urxvt &
|
||||
elif [[ -f /usr/bin/kitty ]]; then
|
||||
kitty &
|
||||
elif [[ -f /usr/bin/xterm ]]; then
|
||||
xterm &
|
||||
elif [[ -f /usr/bin/xfce4-terminal ]]; then
|
||||
xfce4-terminal &
|
||||
elif [[ -f /usr/bin/gnome-terminal ]]; then
|
||||
gnome-terminal &
|
||||
else
|
||||
msg "No suitable terminal found!"
|
||||
fi
|
||||
;;
|
||||
$files)
|
||||
if [[ -f /usr/bin/thunar ]]; then
|
||||
thunar &
|
||||
elif [[ -f /usr/bin/pcmanfm ]]; then
|
||||
pcmanfm &
|
||||
else
|
||||
msg "No suitable file manager found!"
|
||||
fi
|
||||
;;
|
||||
$editor)
|
||||
if [[ -f /usr/bin/geany ]]; then
|
||||
geany &
|
||||
elif [[ -f /usr/bin/leafpad ]]; then
|
||||
leafpad &
|
||||
elif [[ -f /usr/bin/mousepad ]]; then
|
||||
mousepad &
|
||||
elif [[ -f /usr/bin/code ]]; then
|
||||
code &
|
||||
else
|
||||
msg "No suitable text editor found!"
|
||||
fi
|
||||
;;
|
||||
$browser)
|
||||
if [[ -f /usr/bin/firefox ]]; then
|
||||
firefox &
|
||||
elif [[ -f /usr/bin/chromium ]]; then
|
||||
chromium &
|
||||
elif [[ -f /usr/bin/midori ]]; then
|
||||
midori &
|
||||
else
|
||||
msg "No suitable web browser found!"
|
||||
fi
|
||||
;;
|
||||
$music)
|
||||
if [[ -f /usr/bin/lxmusic ]]; then
|
||||
lxmusic &
|
||||
else
|
||||
msg "No suitable music player found!"
|
||||
fi
|
||||
;;
|
||||
$settings)
|
||||
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
|
||||
xfce4-settings-manager &
|
||||
else
|
||||
msg "No suitable settings manager found!"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/menu/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/menu/configs/$style"
|
||||
rofi_command="rofi -theme $dir/backlight.rasi"
|
||||
|
||||
# Error msg
|
||||
msg() {
|
||||
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
|
||||
}
|
||||
|
||||
## Get Brightness
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
BNESS="$(brightnessctl get)"
|
||||
MAX="$(brightnessctl max)"
|
||||
PERC="$((BNESS*100/MAX))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
DEVICE=$(ls /sys/class/backlight | head -n 1)
|
||||
BNESS="$(blight -d $DEVICE get brightness)"
|
||||
PERC="$(($BNESS*100/255))"
|
||||
BLIGHT=${PERC%.*}
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
VAR="$(xbacklight -get)"
|
||||
BLIGHT="$(printf "%.0f\n" "$VAR")"
|
||||
else
|
||||
msg "No suitable backlight utility found!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then
|
||||
MSG="Low"
|
||||
elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then
|
||||
MSG="Optimal"
|
||||
elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then
|
||||
MSG="High"
|
||||
elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then
|
||||
MSG="Too Much"
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_UP=""
|
||||
ICON_DOWN=""
|
||||
ICON_OPT=""
|
||||
|
||||
notify="notify-send -u low -t 1500"
|
||||
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT% : $MSG" -dmenu -selected-row 1)"
|
||||
case $chosen in
|
||||
"$ICON_UP")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
|
||||
fi
|
||||
;;
|
||||
"$ICON_DOWN")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
|
||||
fi
|
||||
;;
|
||||
"$ICON_OPT")
|
||||
if [[ -f /bin/brightnessctl ]]; then
|
||||
brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -f /usr/bin/blight ]]; then
|
||||
blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT"
|
||||
elif [[ -f /usr/bin/xbacklight ]]; then
|
||||
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
Executable
+65
@@ -0,0 +1,65 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Author : Aditya Shakya
|
||||
## Mail : adi1090x@gmail.com
|
||||
## Github : @adi1090x
|
||||
## Twitter : @adi1090x
|
||||
|
||||
style="$($HOME/.config/rofi/applets/menu/style.sh)"
|
||||
|
||||
dir="$HOME/.config/rofi/applets/menu/configs/$style"
|
||||
rofi_command="rofi -theme $dir/battery.rasi"
|
||||
|
||||
## Get data
|
||||
BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)"
|
||||
CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)"
|
||||
|
||||
active=""
|
||||
urgent=""
|
||||
|
||||
if [[ $CHARGE = *"Charging"* ]]; then
|
||||
active="-a 1"
|
||||
ICON_CHRG=""
|
||||
MSG=$CHARGE
|
||||
elif [[ $CHARGE = *"Full"* ]]; then
|
||||
active="-u 1"
|
||||
ICON_CHRG=""
|
||||
MSG=$CHARGE
|
||||
else
|
||||
urgent="-u 1"
|
||||
ICON_CHRG=""
|
||||
MSG=$CHARGE
|
||||
fi
|
||||
|
||||
# Discharging
|
||||
#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then
|
||||
# ICON_DISCHRG=""
|
||||
if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then
|
||||
ICON_DISCHRG=""
|
||||
fi
|
||||
|
||||
## Icons
|
||||
ICON_PMGR=""
|
||||
|
||||
options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR"
|
||||
|
||||
## Main
|
||||
chosen="$(echo -e "$options" | $rofi_command -p "$MSG : $BATTERY%" -dmenu $active $urgent -selected-row 0)"
|
||||
case $chosen in
|
||||
$ICON_CHRG)
|
||||
;;
|
||||
$ICON_DISCHRG)
|
||||
;;
|
||||
$ICON_PMGR)
|
||||
xfce4-power-manager-settings
|
||||
;;
|
||||
esac
|
||||
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 950px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Apps ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Brightness ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Battery ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 950px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " MPD ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 650px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Network ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 4;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 800px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " System ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 5;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 950px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Quick Links ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Screenshot ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 700px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Time ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 48";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 60px 0px 60px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 100%;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Volume ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 100%;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 950px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Apps ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Brightness ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Battery ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Iosevka Nerd Font 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 950px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " MPD ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 650px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Network ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 4;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 800px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " System ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 5;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 950px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Quick Links ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 6;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Screenshot ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 700px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Time ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "Hurmit Nerd Font Mono 48";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
*
|
||||
* Author : Aditya Shakya
|
||||
* Mail : adi1090x@gmail.com
|
||||
* Github : @adi1090x
|
||||
* Twitter : @adi1090x
|
||||
*
|
||||
*/
|
||||
|
||||
configuration {
|
||||
show-icons: false;
|
||||
font: "Comfortaa 14";
|
||||
disable-history: false;
|
||||
sidebar-mode: false;
|
||||
}
|
||||
|
||||
@import "../../../styles/colors.rasi"
|
||||
|
||||
* {
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
}
|
||||
|
||||
window {
|
||||
transparency: "real";
|
||||
border-radius: 20px;
|
||||
location: center;
|
||||
width: 500px;
|
||||
x-offset: 0px;
|
||||
y-offset: 0px;
|
||||
}
|
||||
|
||||
prompt {
|
||||
enabled: true;
|
||||
padding: 10px;
|
||||
background-color: @background;
|
||||
text-color: @accent;
|
||||
border: 0px 2px 0px 2px;
|
||||
border-radius: 12px;
|
||||
border-color: @accent;
|
||||
}
|
||||
|
||||
textbox-prompt-colon {
|
||||
expand: false;
|
||||
str: " Volume ";
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
padding: 10px 10px 0px 10px;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
inputbar {
|
||||
children: [ textbox-prompt-colon, prompt ];
|
||||
spacing: 15px;
|
||||
background-color: @background;
|
||||
text-color: @foreground;
|
||||
expand: false;
|
||||
border: 0px;
|
||||
border-radius: 0px;
|
||||
border-color: @accent;
|
||||
margin: 0px 0px 0px 0px;
|
||||
padding: 0px;
|
||||
position: center;
|
||||
}
|
||||
|
||||
listview {
|
||||
columns: 3;
|
||||
lines: 1;
|
||||
spacing: 15px;
|
||||
cycle: true;
|
||||
dynamic: true;
|
||||
layout: vertical;
|
||||
}
|
||||
|
||||
mainbox {
|
||||
background-color: @background;
|
||||
children: [ inputbar, listview ];
|
||||
spacing: 15px;
|
||||
margin: 40px;
|
||||
}
|
||||
|
||||
element {
|
||||
background-color: @background-light;
|
||||
text-color: @foreground;
|
||||
orientation: vertical;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element-text {
|
||||
background-color: inherit;
|
||||
text-color: inherit;
|
||||
font: "feather 32";
|
||||
expand: true;
|
||||
horizontal-align: 0.5;
|
||||
vertical-align: 0.5;
|
||||
margin: 40px 0px 40px 0px;
|
||||
}
|
||||
|
||||
element normal.urgent,
|
||||
element alternate.urgent {
|
||||
background-color: @off;
|
||||
text-color: @background;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
element normal.active,
|
||||
element alternate.active {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected {
|
||||
background-color: @accent;
|
||||
text-color: @background;
|
||||
border: 0px;
|
||||
border-radius: 20px;
|
||||
border-color: @border;
|
||||
}
|
||||
|
||||
element selected.urgent {
|
||||
background-color: @on;
|
||||
text-color: @background;
|
||||
}
|
||||
|
||||
element selected.active {
|
||||
background-color: @off;
|
||||
color: @background;
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user