From b3fc6ee4545359f321afe05113571f0d0737be02 Mon Sep 17 00:00:00 2001 From: k4rli Date: Thu, 26 Jun 2025 01:00:00 +0300 Subject: [PATCH] update dotfiles --- Cursor/Network Persistent State | 1 + Cursor/Preferences | 1 + Cursor/SharedStorage | Bin 0 -> 4096 bytes Cursor/SharedStorage-wal | 0 Cursor/Trust Tokens | Bin 0 -> 36864 bytes Cursor/User/keybindings.json | 131 +++ Cursor/User/settings.json | 204 +++++ Cursor/machineid | 1 + MangoHud/MangoHud.conf | 67 ++ VSCodium/Network Persistent State | 1 + VSCodium/Preferences | 1 + VSCodium/SharedStorage | 0 VSCodium/TransportSecurity | 1 + VSCodium/Trust Tokens | Bin 0 -> 36864 bytes VSCodium/User/keybindings.json | 131 +++ VSCodium/User/settings.json | 205 +++++ VSCodium/User/snippets/react.code-snippets | 73 ++ VSCodium/User/snippets/typescriptreact.json | 15 + VSCodium/User/syncLocalSettings.json | 36 + VSCodium/machineid | 1 + atuin/atuin-receipt.json | 1 + atuin/config.toml | 232 +++++ flameshot/flameshot.ini | 3 + kitty/current-theme.conf | 51 ++ kitty/kitty.conf | 26 + kitty/kitty.conf.bak | 20 + neofetch/config.conf | 864 ++++++++++++++++++ obsidian/5acb98dd6ec2e5b2.json | 1 + obsidian/Network Persistent State | 1 + obsidian/Preferences | 1 + obsidian/SharedStorage | Bin 0 -> 4096 bytes obsidian/TransportSecurity | 1 + obsidian/Trust Tokens | Bin 0 -> 36864 bytes obsidian/id | 1 + obsidian/obsidian.json | 1 + regolith3/Xresources | 114 +++ regolith3/Xresources.bk-before-desktop-import | 100 ++ regolith3/flags/show-shortcuts | 0 regolith3/flags/term-profile | 0 regolith3/i3xrocks/90_time | 3 + regolith3/i3xrocks/scripts/net-traffic | 93 ++ .../scripts/send-weather-notification | 42 + regolith3/i3xrocks/scripts/time | 54 ++ regolith3/i3xrocks/scripts/weather | 45 + regolith3/ilia.css | 37 + 45 files changed, 2560 insertions(+) create mode 100644 Cursor/Network Persistent State create mode 100644 Cursor/Preferences create mode 100644 Cursor/SharedStorage create mode 100644 Cursor/SharedStorage-wal create mode 100644 Cursor/Trust Tokens create mode 100644 Cursor/User/keybindings.json create mode 100644 Cursor/User/settings.json create mode 100644 Cursor/machineid create mode 100644 MangoHud/MangoHud.conf create mode 100644 VSCodium/Network Persistent State create mode 100644 VSCodium/Preferences create mode 100644 VSCodium/SharedStorage create mode 100644 VSCodium/TransportSecurity create mode 100644 VSCodium/Trust Tokens create mode 100644 VSCodium/User/keybindings.json create mode 100644 VSCodium/User/settings.json create mode 100644 VSCodium/User/snippets/react.code-snippets create mode 100644 VSCodium/User/snippets/typescriptreact.json create mode 100644 VSCodium/User/syncLocalSettings.json create mode 100644 VSCodium/machineid create mode 100644 atuin/atuin-receipt.json create mode 100644 atuin/config.toml create mode 100644 flameshot/flameshot.ini create mode 100644 kitty/current-theme.conf create mode 100644 kitty/kitty.conf create mode 100644 kitty/kitty.conf.bak create mode 100644 neofetch/config.conf create mode 100644 obsidian/5acb98dd6ec2e5b2.json create mode 100644 obsidian/Network Persistent State create mode 100644 obsidian/Preferences create mode 100644 obsidian/SharedStorage create mode 100644 obsidian/TransportSecurity create mode 100644 obsidian/Trust Tokens create mode 100644 obsidian/id create mode 100644 obsidian/obsidian.json create mode 100644 regolith3/Xresources create mode 100644 regolith3/Xresources.bk-before-desktop-import create mode 100644 regolith3/flags/show-shortcuts create mode 100644 regolith3/flags/term-profile create mode 100644 regolith3/i3xrocks/90_time create mode 100644 regolith3/i3xrocks/scripts/net-traffic create mode 100644 regolith3/i3xrocks/scripts/send-weather-notification create mode 100644 regolith3/i3xrocks/scripts/time create mode 100644 regolith3/i3xrocks/scripts/weather create mode 100644 regolith3/ilia.css diff --git a/Cursor/Network Persistent State b/Cursor/Network Persistent State new file mode 100644 index 0000000..af1cb05 --- /dev/null +++ b/Cursor/Network Persistent State @@ -0,0 +1 @@ +{"net":{"http_server_properties":{"servers":[{"anonymization":[],"server":"https://redirector.gvt1.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13397852780114863","port":443,"protocol_str":"quic"}],"anonymization":[],"network_stats":{"srtt":35860},"server":"https://r1---sn-nu5gh5o-uaas.gvt1.com"},{"anonymization":[],"server":"https://cursor-cdn.com","supports_spdy":true},{"anonymization":[],"server":"https://marketplace.cursorapi.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13395448265334561","port":443,"protocol_str":"quic"}],"anonymization":[],"server":"https://www.gravatar.com","supports_spdy":true},{"anonymization":[],"server":"https://api2.cursor.sh","supports_spdy":true}],"supports_quic":{"address":"192.168.251.82","used_quic":true},"version":5},"network_qualities":{"CAASABiAgICA+P////8B":"4G"}}} \ No newline at end of file diff --git a/Cursor/Preferences b/Cursor/Preferences new file mode 100644 index 0000000..6738ad9 --- /dev/null +++ b/Cursor/Preferences @@ -0,0 +1 @@ +{"partition":{"per_host_zoom_levels":{"2004802047025252634":{"vscode-app":-1.9999999999999998}}},"spellcheck":{"dictionaries":["en-US"],"dictionary":""}} \ No newline at end of file diff --git a/Cursor/SharedStorage b/Cursor/SharedStorage new file mode 100644 index 0000000000000000000000000000000000000000..7ee7c113a09428e4daafacb6e70a35d18573e608 GIT binary patch literal 4096 zcmWFz^vNtqRY=P(%1ta$FlG>7U}9o$P*7lCU|@t|AVoG{WYDWB;00+HAlr;ljiVtj n8UmvsFd71*Aut*OqaiRF0;3@?8UmvsFd71*Aut*O6ovo*4{!$i literal 0 HcmV?d00001 diff --git a/Cursor/SharedStorage-wal b/Cursor/SharedStorage-wal new file mode 100644 index 0000000..e69de29 diff --git a/Cursor/Trust Tokens b/Cursor/Trust Tokens new file mode 100644 index 0000000000000000000000000000000000000000..c7d21447e0972a4bb939957d496bb54ae7a96605 GIT binary patch literal 36864 zcmeI(J#X4T7{GBG6AVp=(@4mbST0JX1}SMpGp0kG$ZAmtX@I;9k>#dNWQDh4Ltms0 zjQw6+GW9cb=vt{;$J!K{KtkoM5&EBGY~LNadwxD!@*Pz6imva7vu3+)`(j;MkYrhU zE`%gW@nA~@+c2rYL6|p8^6=mv`?&P@V=Jxwl2UVNNjulR&VSMt)1T)b&K;%oAd7?m z0tg_000IagfB*vjOQ4WSWR{kar(M^1w^O%U72ozd-qq1o*)*!AI4GEh;wo3HbnRNl z$qAz(DrV8#s*1II@0qIVCns`m+qYlW9KYT1e9LcMI1SHoJ+I@mgR@r6={hy5WxH+b zwAnaw&!g5$4!Tk`HjAc+`Yo{{E}RddY93WrMXTNPn_{!LySXY}l?yvY`B-e5$16dN zT&|T=^`3GfOK#(h^WJ+~3to~eyW=~NV;m+D`h^+EVyum^_{U1s-lC%Fh9UQ!+>CiJNN$OEq$EB$-jRCIqpidf`neG) z+L0E{hP zDS+6#vYfg$1JM5o{sM>yAbkA;Q+#m=4FLoYKmY**5I_I{1Q0*~fq?+){|p5L5I_I{1Q0*~0R#|0 z009K1Ux4-h>A%KAhyVfzAbb%7 literal 0 HcmV?d00001 diff --git a/Cursor/User/keybindings.json b/Cursor/User/keybindings.json new file mode 100644 index 0000000..2094fe3 --- /dev/null +++ b/Cursor/User/keybindings.json @@ -0,0 +1,131 @@ +// Empty +[ + { + "key": "ctrl+alt+x", + "command": "git.unstageSelectedRanges" + }, + { + "key": "ctrl+alt+d", + "command": "git.stageSelectedRanges" + }, + { + "key": "ctrl+shift+oem_1", + "command": "-breadcrumbs.focus", + "when": "breadcrumbsPossible" + }, + { + "key": "ctrl+shift+oem_1", + "command": "editor.fold", + "when": "editorTextFocus && foldingEnabled" + }, + { + "key": "ctrl+shift+oem_4", + "command": "-editor.fold", + "when": "editorTextFocus && foldingEnabled" + }, + { + "key": "ctrl+shift+oem_2", + "command": "-editor.action.blockComment", + "when": "editorTextFocus && !editorReadonly" + }, + { + "key": "ctrl+shift+oem_2", + "command": "editor.unfold", + "when": "editorTextFocus && foldingEnabled" + }, + { + "key": "ctrl+shift+oem_6", + "command": "-editor.unfold", + "when": "editorTextFocus && foldingEnabled" + }, + { + "key": "ctrl+shift+x", + "command": "-workbench.view.extensions" + }, + { + "key": "ctrl+numpad_subtract", + "command": "-editor.fold", + "when": "editorFocus" + }, + { + "key": "ctrl+shift+x", + "command": "editor.toggleFold", + "when": "editorTextFocus && foldingEnabled" + }, + { + "key": "ctrl+k ctrl+l", + "command": "-editor.toggleFold", + "when": "editorTextFocus && foldingEnabled" + }, + { + "key": "shift+f6", + "command": "-workbench.action.focusPreviousPart" + }, + { + "key": "ctrl+shift+b", + "command": "-workbench.action.tasks.build" + }, + { + "key": "ctrl+shift+b", + "command": "-editor.action.goToTypeDefinition", + "when": "editorTextFocus" + }, + { + "key": "ctrl+shift+b", + "command": "git.checkout" + }, + { + "key": "ctrl+shift+c", + "command": "copyFilePath", + "when": "!editorFocus && !terminalFocus" + }, + { + "key": "ctrl+shift+c", + "command": "-copyFilePath", + "when": "!editorFocus" + }, + { + "key": "ctrl+alt+n", + "command": "workbench.action.newWindow" + }, + { + "key": "ctrl+shift+n", + "command": "-workbench.action.newWindow" + }, + { + "key": "ctrl+alt+p", + "command": "workbench.action.openRecent" + }, + { + "key": "ctrl+r", + "command": "-workbench.action.openRecent" + }, + { + "key": "ctrl+e", + "command": "-workbench.action.quickOpen" + }, + { + "key": "ctrl+e", + "command": "workbench.action.toggleActivityBarVisibility" + }, + { + "key": "ctrl+alt+e", + "command": "workbench.action.toggleSidebarPosition" + }, + { + "key": "f6", + "command": "-workbench.action.focusNextPart" + }, + { + "key": "f6", + "command": "workbench.action.navigateEditorGroups" + }, + { + "key": "ctrl+shift+l", + "command": "editor.action.insertSnippet", + "when": "editorTextFocus", + "args": { + "snippet": "console.log(\"${TM_SELECTED_TEXT}=\", ${TM_SELECTED_TEXT});" + } + } +] \ No newline at end of file diff --git a/Cursor/User/settings.json b/Cursor/User/settings.json new file mode 100644 index 0000000..f2cd5b9 --- /dev/null +++ b/Cursor/User/settings.json @@ -0,0 +1,204 @@ +{ + "[html]": { + "editor.defaultFormatter": "vscode.html-language-features" + }, + "[javascript]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[json]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, + "[jsonc]": { + "editor.defaultFormatter": "vscode.json-language-features" + }, + "[scss]": { + "editor.defaultFormatter": "vscode.css-language-features" + }, + "editor.accessibilitySupport": "off", + "editor.detectIndentation": false, + "editor.fontFamily": "Fira Code Retina", + "editor.fontLigatures": true, + "editor.fontSize": 14, + "editor.hideCursorInOverviewRuler": true, + "editor.minimap.enabled": false, + "editor.mouseWheelZoom": true, + "explorer.confirmDragAndDrop": false, + "extensions.ignoreRecommendations": false, + "files.autoSave": "off", + "files.autoSaveDelay": 10000, + "files.defaultLanguage": "javascript", + "files.exclude": { + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true, + "**/node_modules/**": true, + "**/tmp/**": true, + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/node_modules": true, + "**/bower_components": true, + "**/dist/**": true, + "**/log/**": true, + "**/.fdk/**": true, + "**/.history/**": true, + "**/.classpath": true, + "**/.factorypath": true, + "**/.project": true, + "**/.settings": true + }, + "files.watcherExclude": { + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true, + "**/node_modules/**": true, + "**/tmp/**": true, + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/node_modules": true, + "**/bower_components": true, + "**/dist/**": true, + "**/log/**": true, + "**/logs/**": true, + "**/.fdk/**": true, + "**/.history/**": true, + "**/.classpath": true, + "**/.factorypath": true, + "**/.project": true, + "**/.settings": true + }, + "search.exclude": { + "**/.git/objects/**": true, + "**/.git/subtree-cache/**": true, + "**/node_modules/**": true, + "**/tmp/**": true, + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/node_modules": true, + "**/bower_components": true, + "**/dist/**": true, + "**/log/**": true, + "**/.history/**": true, + "**/.classpath": true, + "**/.factorypath": true, + "**/.project": true, + "**/.settings": true + }, + "editor.tabSize": 2, + "git.autofetch": true, + "git.confirmSync": false, + "git.enableSmartCommit": true, + "gitlens.advanced.messages": { + "suppressShowKeyBindingsNotice": true + }, + "html.format.indentInnerHtml": true, + "javascript.suggest.completeFunctionCalls": true, + "javascript.validate.enable": false, + "jest.autoEnable": false, + "peacock.surpriseMeOnStartup": true, + "peacock.surpriseMeFromFavoritesOnly": true, + "peacock.showColorInStatusBar": false, + "sync.forceUpload": true, + "telemetry.enableCrashReporter": false, + "telemetry.enableTelemetry": false, + "window.nativeFullScreen": true, + "window.nativeTabs": false, + "workbench.colorCustomizations": { + "activityBar.background": "#000", + "activityBar.foreground": "#FFF", + "activityBar.inactiveForeground": "#ffffffbf", + "titleBar.activeBackground": "#000", + "titleBar.inactiveBackground": "#b52e3199", + "titleBar.activeForeground": "#e7e7e7", + "titleBar.inactiveForeground": "#e7e7e799", + "statusBar.background": "#000", + "statusBarItem.hoverBackground": "#d04649", + "statusBar.foreground": "#e7e7e7", + "sideBar.background": "#000", + "icon.foreground": "#FFF", + "symbolIcon.colorForeground": "#ff0000", + "icon.colorForeground": "#ff0000" + }, + "peacock.color": "#b52e31", + "workbench.iconTheme": "material-icon-theme", + "workbench.startupEditor": "newUntitledFile", + "workbench.statusBar.feedback.visible": false, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "never" + }, + "search.useIgnoreFiles": true, + "[typescript]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "[typescriptreact]": { + "editor.defaultFormatter": "vscode.typescript-language-features" + }, + "editor.renderWhitespace": "all", + "prettier.requireConfig": true, + "prettier.trailingComma": "all", + "[javascriptreact]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[css]": { + "editor.defaultFormatter": "vscode.css-language-features" + }, + "customizeUI.font.regular": "SF Pro Display", + "customizeUI.font.monospace": "SF Mono Light", + "customizeUI.titleBar": "inline", + "customizeUI.activityBar": "wide", + "indenticator.color.light": "#ffffff", + "indenticator.color.dark": "#ffffff", + "indenticator.inner.showHighlight": true, + "terminal.integrated.rendererType": "dom", + "gitlens.views.repositories.files.layout": "list", + "workbench.enableExperiments": false, + "debug.javascript.autoAttachFilter": "disabled", + "workbench.editor.wrapTabs": true, + "docker.showStartPage": false, + "gitlens.views.branches.branches.layout": "list", + "workbench.tree.indent": 40, + "javascript.updateImportsOnFileMove.enabled": "never", + "typescript.updateImportsOnFileMove.enabled": "always", + "terminal.integrated.altClickMovesCursor": false, + "security.workspace.trust.untrustedFiles": "open", + "editor.bracketPairColorization.enabled": true, + "workbench.editor.labelFormat": "short", + "editor.smoothScrolling": false, + "workbench.list.smoothScrolling": true, + "diffEditor.ignoreTrimWhitespace": false, + "editor.cursorBlinking": "expand", + "editor.cursorWidth": 6, + "files.associations": { + ".env.local": "shellscript" + }, + "settingsSync.ignoredExtensions": [ + "xyz.local-history" + ], + "sync.syncExtensions": true, + "git.mergeEditor": false, + "window.menuBarVisibility": "toggle", + "codestream.email": "projects@supa.ee", + "sync.gist": "992c91d867b2f5ce94cd6bedf0a630f4", + "workbench.colorTheme": "Cursor Dark High Contrast", + "editor.stickyScroll.enabled": true, + "java.import.gradle.java.home": "/usr/lib/jvm/temurin-11-jdk-amd64", + "window.zoomLevel": -2, + "codetogether.userName": "ok", + "eslint.workingDirectories": [ + { + "mode": "auto" + } + ], + "yaml.schemaStore.enable": false, + "workbench.remoteIndicator.showExtensionRecommendations": false, + "window.commandCenter": false, + "scm.showHistoryGraph": false, + "syncSettings.confirmSync": true, + "search.useGlobalIgnoreFiles": true +} \ No newline at end of file diff --git a/Cursor/machineid b/Cursor/machineid new file mode 100644 index 0000000..6406237 --- /dev/null +++ b/Cursor/machineid @@ -0,0 +1 @@ +0330d22b-28c6-43f4-98a0-60fbd1938b35 \ No newline at end of file diff --git a/MangoHud/MangoHud.conf b/MangoHud/MangoHud.conf new file mode 100644 index 0000000..700e31d --- /dev/null +++ b/MangoHud/MangoHud.conf @@ -0,0 +1,67 @@ +################### File Generated by GOverlay ################### + +toggle_fps_limit=F1 + + +legacy_layout=false +gpu_stats +graphs=gpu_load +gpu_temp +gpu_core_clock +gpu_mem_clock +gpu_power +gpu_load_change +gpu_load_value=50,90 +gpu_load_color=FFFFFF,FFAA7F,CC0000 +gpu_text=GPU +cpu_stats +graphs=cpu_load +cpu_temp +core_load +cpu_power +cpu_mhz +cpu_load_change +core_load_change +cpu_load_value=50,90 +cpu_load_color=FFFFFF,FFAA7F,CC0000 +cpu_color=2E97CB +cpu_text=CPU +io_stats +io_read +io_write +io_color=A491D3 +swap +vram +vram_color=AD64C1 +ram +ram_color=C26693 +procmem +procmem_shared +procmem_virt +fps +engine_color=EB5B5B +gpu_name +gpu_color=2E9762 +vulkan_driver +wine_color=EB5B5B +frame_timing=0 +frametime_color=00FF00 +throttling_status +frame_count +media_player_color=FFFFFF +time +horizontal +table_columns=30 +background_alpha=0.4 +font_size=24 + +background_color=020202 +position=top-left +text_color=FFFFFF +round_corners=0 +#GOVERLAY_THEME=mangohuddefault +toggle_hud=Shift_R+F12 +toggle_logging=Shift_L+F2 +upload_log=F5 +output_folder=/home/cobra +media_player_name=spotify diff --git a/VSCodium/Network Persistent State b/VSCodium/Network Persistent State new file mode 100644 index 0000000..504ec96 --- /dev/null +++ b/VSCodium/Network Persistent State @@ -0,0 +1 @@ +{"net":{"http_server_properties":{"servers":[{"anonymization":[],"server":"https://redirector.gvt1.com","supports_spdy":true},{"anonymization":[],"server":"https://code.visualstudio.com","supports_spdy":true},{"anonymization":[],"server":"https://i.imgur.com","supports_spdy":true},{"anonymization":[],"server":"https://shanalikhan.github.io","supports_spdy":true},{"anonymization":[],"server":"https://www.paypalobjects.com","supports_spdy":true},{"anonymization":[],"network_stats":{"srtt":5308},"server":"https://opencollective.com"},{"anonymization":[],"network_stats":{"srtt":17396},"server":"https://badges.greenkeeper.io"},{"anonymization":[],"network_stats":{"srtt":43865},"server":"https://img.shields.io"},{"anonymization":[],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"anonymization":[],"server":"https://github.com","supports_spdy":true},{"anonymization":[],"server":"https://open-vsx.org","supports_spdy":true}],"supports_quic":{"address":"192.168.50.25","used_quic":true},"version":5},"network_qualities":{"CAASABiAgICA+P////8B":"4G","CAISABiAgICA+P////8B":"4G"}}} \ No newline at end of file diff --git a/VSCodium/Preferences b/VSCodium/Preferences new file mode 100644 index 0000000..c8ac5c3 --- /dev/null +++ b/VSCodium/Preferences @@ -0,0 +1 @@ +{"partition":{"per_host_zoom_levels":{"1055523549782805016":{"vscode-app":-1.9999999999999998}}},"spellcheck":{"dictionaries":["en-US"],"dictionary":""}} \ No newline at end of file diff --git a/VSCodium/SharedStorage b/VSCodium/SharedStorage new file mode 100644 index 0000000..e69de29 diff --git a/VSCodium/TransportSecurity b/VSCodium/TransportSecurity new file mode 100644 index 0000000..77503b7 --- /dev/null +++ b/VSCodium/TransportSecurity @@ -0,0 +1 @@ +{"sts":[{"expiry":1759859589.335623,"host":"AVzdoO7H7Iem9ls/tKRnL1gPCVc6JBe/tR9K2efR+SA=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1728323589.335625},{"expiry":1759857785.413568,"host":"QKmY3BmE7X/qivMvQdGV4i/aLZjqoCfyhHTMGDUI9zk=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1728321785.41357},{"expiry":1759859080.046201,"host":"aYxTdlPak6FHWEgVDMmQFqv2V9TYcLqO5r4sTc/Ga60=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1728323080.046202},{"expiry":1759859577.580486,"host":"bVzOnu6xyelN8iVLDSbFjyZVgXrXDyLSokjnq2hdUFs=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1728323577.580487},{"expiry":1759859080.186133,"host":"do310Evd+EMUli4M36ZuxU2RGeqGw23xwUgG/2b06Mc=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1728323080.186134},{"expiry":1743875079.983248,"host":"khNZvKN1kU68mWtKbFD0OQG0yG0xJ8M94NWFEnbGIAk=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1728323079.983249},{"expiry":1759859568.436011,"host":"/Io2PStL7/jvcod3tT0jPo73HDnRILY4Di46SHjGwTk=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1728323568.436013}],"version":2} \ No newline at end of file diff --git a/VSCodium/Trust Tokens b/VSCodium/Trust Tokens new file mode 100644 index 0000000000000000000000000000000000000000..6d633846575c97654fd1eeff85eb44b0a885345a GIT binary patch literal 36864 zcmeI(%}?539Ki9GB84f|nUF5w@)(y)65YZ)y2GkzHX`B#d^?z?bJaBRHd@$r*ny+} z*Djv+H|((MlHGP(%U}x1(%TIAK1pf&JP&!E-=|NT^m(ANS9EDsl9 zlM_ZoRLr8eRTXRb-V0ULPfq0Cwr{_!Iexq2`Ig_ja2lTFdS1tA2WPFC({*ZA%XZt= zX|r+Wo=2^h9CW2>Y!*!s^;=>^TsWUZ)jX=MidMVnH^pXgcXL&|DHnE(^0C-9k5_^k zxm+u$>OJK|mfXfW=cD(&7Q7@`cE@k_&#kBpTKT9oQ@uwss&1NcZ~ZpdU#UBg#>x_t zVa94k$2d$R^b0eR#aJ6-@sE|Ny+uXU4MXldyB+gjklYdRNJ)Hhyd(9ZM_Y*}^m8Lp zv?DEy#X3?pb0({LCNm7Q?)Y}N#YQ?G=7gh96n9In4vg~FYojbmyH!!zFBZjqsj#|lcJv{`T2z8g%qSzV{?xy{D&*_e{mh9?WMviz_f% {", + "\t$1", + "\n\treturn () => {", + "\t\t$2", + "\t}", + "}, [${3}]);$0" + ], + "description": "React useEffect() hook" + }, + "React Functional Component Boilerplate": { + "prefix": "rfb", + "body": [ + "import React from \"react\"", + "import { createUseStyles } from \"react-jss\";", + "import type { theme } from \"@common/shared-common\";", + "", + "const useStyles = createUseStyles(({}) => ({", + "", + "}));", + "", + "const ${2:componentName}: React.FC = () => {", + " const classes = useStyles();", + " return (", + "
", + " ${3}", + "
", + " )", + "}", + "", + "export default memo(${2:componentName});" + ], + "description": "React Functional Component Boilerplate" + }, + "consolelog":{ + "prefix": ["log"], + "body": ["console.log(\"$1 = \", $1)"], + "description": ["Shortcut for a descriptive console.log statement"] + } +} \ No newline at end of file diff --git a/VSCodium/User/snippets/typescriptreact.json b/VSCodium/User/snippets/typescriptreact.json new file mode 100644 index 0000000..be8b443 --- /dev/null +++ b/VSCodium/User/snippets/typescriptreact.json @@ -0,0 +1,15 @@ +{ + // Place your snippets for typescriptreact 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" + // } +} \ No newline at end of file diff --git a/VSCodium/User/syncLocalSettings.json b/VSCodium/User/syncLocalSettings.json new file mode 100644 index 0000000..25554e0 --- /dev/null +++ b/VSCodium/User/syncLocalSettings.json @@ -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 +} \ No newline at end of file diff --git a/VSCodium/machineid b/VSCodium/machineid new file mode 100644 index 0000000..bff7a8a --- /dev/null +++ b/VSCodium/machineid @@ -0,0 +1 @@ +ca7fb78c-c09b-4004-ad26-1bc944b34014 \ No newline at end of file diff --git a/atuin/atuin-receipt.json b/atuin/atuin-receipt.json new file mode 100644 index 0000000..5101660 --- /dev/null +++ b/atuin/atuin-receipt.json @@ -0,0 +1 @@ +{"binaries":["atuin"],"binary_aliases":{},"cdylibs":[],"cstaticlibs":[],"install_layout":"flat","install_prefix":"/home/cobra/.atuin/bin","modify_path":true,"provider":{"source":"cargo-dist","version":"0.28.3"},"source":{"app_name":"atuin","name":"atuin","owner":"atuinsh","release_type":"github"},"version":"18.6.1"} diff --git a/atuin/config.toml b/atuin/config.toml new file mode 100644 index 0000000..70a8916 --- /dev/null +++ b/atuin/config.toml @@ -0,0 +1,232 @@ +## where to store your database, default is your system data directory +## linux/mac: ~/.local/share/atuin/history.db +## windows: %USERPROFILE%/.local/share/atuin/history.db +# db_path = "~/.history.db" + +## where to store your encryption key, default is your system data directory +## linux/mac: ~/.local/share/atuin/key +## windows: %USERPROFILE%/.local/share/atuin/key +# key_path = "~/.key" + +## where to store your auth session token, default is your system data directory +## linux/mac: ~/.local/share/atuin/session +## windows: %USERPROFILE%/.local/share/atuin/session +# session_path = "~/.session" + +## date format used, either "us" or "uk" +# dialect = "us" + +## default timezone to use when displaying time +## either "l", "local" to use the system's current local timezone, or an offset +## from UTC in the format of "<+|->H[H][:M[M][:S[S]]]" +## for example: "+9", "-05", "+03:30", "-01:23:45", etc. +# timezone = "local" + +## enable or disable automatic sync +# auto_sync = true + +## enable or disable automatic update checks +# update_check = true + +## address of the sync server +# sync_address = "https://api.atuin.sh" + +## how often to sync history. note that this is only triggered when a command +## is ran, so sync intervals may well be longer +## set it to 0 to sync after every command +# sync_frequency = "10m" + +## which search mode to use +## possible values: prefix, fulltext, fuzzy, skim +# search_mode = "fuzzy" + +## which filter mode to use +## possible values: global, host, session, directory +# filter_mode = "global" + +## With workspace filtering enabled, Atuin will filter for commands executed +## in any directory within a git repository tree (default: false) +# workspaces = false + +## which filter mode to use when atuin is invoked from a shell up-key binding +## the accepted values are identical to those of "filter_mode" +## leave unspecified to use same mode set in "filter_mode" +# filter_mode_shell_up_key_binding = "global" + +## which search mode to use when atuin is invoked from a shell up-key binding +## the accepted values are identical to those of "search_mode" +## leave unspecified to use same mode set in "search_mode" +# search_mode_shell_up_key_binding = "fuzzy" + +## which style to use +## possible values: auto, full, compact +# style = "auto" + +## the maximum number of lines the interface should take up +## set it to 0 to always go full screen +# inline_height = 0 + +## Invert the UI - put the search bar at the top , Default to `false` +# invert = false + +## enable or disable showing a preview of the selected command +## useful when the command is longer than the terminal width and is cut off +# show_preview = true + +## what to do when the escape key is pressed when searching +## possible values: return-original, return-query +# exit_mode = "return-original" + +## possible values: emacs, subl +# word_jump_mode = "emacs" + +## characters that count as a part of a word +# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" + +## number of context lines to show when scrolling by pages +# scroll_context_lines = 1 + +## use ctrl instead of alt as the shortcut modifier key for numerical UI shortcuts +## alt-0 .. alt-9 +# ctrl_n_shortcuts = false + +## default history list format - can also be specified with the --format arg +# history_format = "{time}\t{command}\t{duration}" + +## prevent commands matching any of these regexes from being written to history. +## Note that these regular expressions are unanchored, i.e. if they don't start +## with ^ or end with $, they'll match anywhere in the command. +## For details on the supported regular expression syntax, see +## https://docs.rs/regex/latest/regex/#syntax +# history_filter = [ +# "^secret-cmd", +# "^innocuous-cmd .*--secret=.+", +# ] + +## prevent commands run with cwd matching any of these regexes from being written +## to history. Note that these regular expressions are unanchored, i.e. if they don't +## start with ^ or end with $, they'll match anywhere in CWD. +## For details on the supported regular expression syntax, see +## https://docs.rs/regex/latest/regex/#syntax +# cwd_filter = [ +# "^/very/secret/area", +# ] + +## Configure the maximum height of the preview to show. +## Useful when you have long scripts in your history that you want to distinguish +## by more than the first few lines. +# max_preview_height = 4 + +## Configure whether or not to show the help row, which includes the current Atuin +## version (and whether an update is available), a keymap hint, and the total +## amount of commands in your history. +# show_help = true + +## Configure whether or not to show tabs for search and inspect +# show_tabs = true + +## Defaults to true. This matches history against a set of default regex, and will not save it if we get a match. Defaults include +## 1. AWS key id +## 2. Github pat (old and new) +## 3. Slack oauth tokens (bot, user) +## 4. Slack webhooks +## 5. Stripe live/test keys +# secrets_filter = true + +## Defaults to true. If enabled, upon hitting enter Atuin will immediately execute the command. Press tab to return to the shell and edit. +# This applies for new installs. Old installs will keep the old behaviour unless configured otherwise. +enter_accept = true + +## Defaults to "emacs". This specifies the keymap on the startup of `atuin +## search`. If this is set to "auto", the startup keymap mode in the Atuin +## search is automatically selected based on the shell's keymap where the +## keybinding is defined. If this is set to "emacs", "vim-insert", or +## "vim-normal", the startup keymap mode in the Atuin search is forced to be +## the specified one. +# keymap_mode = "auto" + +## Cursor style in each keymap mode. If specified, the cursor style is changed +## in entering the cursor shape. Available values are "default" and +## "{blink,steady}-{block,underline,bar}". +# keymap_cursor = { emacs = "blink-block", vim_insert = "blink-block", vim_normal = "steady-block" } + +# network_connect_timeout = 5 +# network_timeout = 5 + +## Timeout (in seconds) for acquiring a local database connection (sqlite) +local_timeout = 3 + +## Set this to true and Atuin will minimize motion in the UI - timers will not update live, etc. +## Alternatively, set env NO_MOTION=true +# prefers_reduced_motion = false + +[stats] +## Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl +# common_subcommands = [ +# "apt", +# "cargo", +# "composer", +# "dnf", +# "docker", +# "git", +# "go", +# "ip", +# "kubectl", +# "nix", +# "nmcli", +# "npm", +# "pecl", +# "pnpm", +# "podman", +# "port", +# "systemctl", +# "tmux", +# "yarn", +# ] + +## Set commands that should be totally stripped and ignored from stats +# common_prefix = ["sudo"] + +## Set commands that will be completely ignored from stats +# ignored_commands = [ +# "cd", +# "ls", +# "vi" +# ] + +[keys] +# Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry. +# scroll_exits = false + +[sync] +# Enable sync v2 by default +# This ensures that sync v2 is enabled for new installs only +# In a later release it will become the default across the board +records = true + +[preview] +## which preview strategy to use to calculate the preview height (respects max_preview_height). +## possible values: auto, static +## auto: length of the selected command. +## static: length of the longest command stored in the history. +# strategy = "auto" + +[daemon] +## Enables using the daemon to sync. Requires the daemon to be running in the background. Start it with `atuin daemon` +# enabled = false + +## How often the daemon should sync in seconds +# sync_frequency = 300 + +## The path to the unix socket used by the daemon (on unix systems) +## linux/mac: ~/.local/share/atuin/atuin.sock +## windows: Not Supported +# socket_path = "~/.local/share/atuin/atuin.sock" + +## Use systemd socket activation rather than opening the given path (the path must still be correct for the client) +## linux: false +## mac/windows: Not Supported +# systemd_socket = false + +## The port that should be used for TCP on non unix systems +# tcp_port = 8889 diff --git a/flameshot/flameshot.ini b/flameshot/flameshot.ini new file mode 100644 index 0000000..b52cf8e --- /dev/null +++ b/flameshot/flameshot.ini @@ -0,0 +1,3 @@ +[General] +contrastOpacity=188 +startupLaunch=true diff --git a/kitty/current-theme.conf b/kitty/current-theme.conf new file mode 100644 index 0000000..6cd386b --- /dev/null +++ b/kitty/current-theme.conf @@ -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 diff --git a/kitty/kitty.conf b/kitty/kitty.conf new file mode 100644 index 0000000..3901f36 --- /dev/null +++ b/kitty/kitty.conf @@ -0,0 +1,26 @@ + +font_family Fira Code Retina +font_size 11.0 + +#cursor_shape beam +#cursor_shape block +cursor_shape underline + +tab_bar_edge top +tab_bar_style separator +tab_separator "  " + +active_tab_font_style bold +# active_tab_foreground #d5c4a1 +# active_tab_background #000000 +# inactive_tab_foreground #bdae93 +# inactive_tab_background #3c3836 +inactive_tab_font_style normal + +enable_images yes + + +# BEGIN_KITTY_THEME +# Adwaita darker +include current-theme.conf +# END_KITTY_THEME \ No newline at end of file diff --git a/kitty/kitty.conf.bak b/kitty/kitty.conf.bak new file mode 100644 index 0000000..d65d022 --- /dev/null +++ b/kitty/kitty.conf.bak @@ -0,0 +1,20 @@ + +font_family Fira Code Retina +font_size 11.0 + +#cursor_shape beam +#cursor_shape block +cursor_shape underline + +tab_bar_edge top +tab_bar_style separator +tab_separator "  " + +active_tab_font_style bold +active_tab_foreground #d5c4a1 +active_tab_background #000000 +inactive_tab_foreground #bdae93 +inactive_tab_background #3c3836 +inactive_tab_font_style normal + +enable_images yes diff --git a/neofetch/config.conf b/neofetch/config.conf new file mode 100644 index 0000000..cdba4c6 --- /dev/null +++ b/neofetch/config.conf @@ -0,0 +1,864 @@ +# See this wiki page for more info: +# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info +print_info() { + info title + info underline + + info "OS" distro + info "Host" model + info "Kernel" kernel + info "Uptime" uptime + info "Packages" packages + info "Shell" shell + info "Resolution" resolution + info "DE" de + info "WM" wm + info "WM Theme" wm_theme + info "Theme" theme + info "Icons" icons + info "Terminal" term + info "Terminal Font" term_font + info "CPU" cpu + info "GPU" gpu + info "Memory" memory + + # info "GPU Driver" gpu_driver # Linux/macOS only + # info "CPU Usage" cpu_usage + # info "Disk" disk + # info "Battery" battery + # info "Font" font + # info "Song" song + # [[ "$player" ]] && prin "Music Player" "$player" + # info "Local IP" local_ip + # info "Public IP" public_ip + # info "Users" users + # info "Locale" locale # This only works on glibc systems. + + info cols +} + +# Title + + +# Hide/Show Fully qualified domain name. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --title_fqdn +title_fqdn="off" + + +# Kernel + + +# Shorten the output of the kernel function. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --kernel_shorthand +# Supports: Everything except *BSDs (except PacBSD and PC-BSD) +# +# Example: +# on: '4.8.9-1-ARCH' +# off: 'Linux 4.8.9-1-ARCH' +kernel_shorthand="on" + + +# Distro + + +# Shorten the output of the distro function +# +# Default: 'off' +# Values: 'on', 'tiny', 'off' +# Flag: --distro_shorthand +# Supports: Everything except Windows and Haiku +distro_shorthand="off" + +# Show/Hide OS Architecture. +# Show 'x86_64', 'x86' and etc in 'Distro:' output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --os_arch +# +# Example: +# on: 'Arch Linux x86_64' +# off: 'Arch Linux' +os_arch="on" + + +# Uptime + + +# Shorten the output of the uptime function +# +# Default: 'on' +# Values: 'on', 'tiny', 'off' +# Flag: --uptime_shorthand +# +# Example: +# on: '2 days, 10 hours, 3 mins' +# tiny: '2d 10h 3m' +# off: '2 days, 10 hours, 3 minutes' +uptime_shorthand="on" + + +# Memory + + +# Show memory pecentage in output. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --memory_percent +# +# Example: +# on: '1801MiB / 7881MiB (22%)' +# off: '1801MiB / 7881MiB' +memory_percent="off" + +# Change memory output unit. +# +# Default: 'mib' +# Values: 'kib', 'mib', 'gib' +# Flag: --memory_unit +# +# Example: +# kib '1020928KiB / 7117824KiB' +# mib '1042MiB / 6951MiB' +# gib: ' 0.98GiB / 6.79GiB' +memory_unit="mib" + + +# Packages + + +# Show/Hide Package Manager names. +# +# Default: 'tiny' +# Values: 'on', 'tiny' 'off' +# Flag: --package_managers +# +# Example: +# on: '998 (pacman), 8 (flatpak), 4 (snap)' +# tiny: '908 (pacman, flatpak, snap)' +# off: '908' +package_managers="on" + + +# Shell + + +# Show the path to $SHELL +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --shell_path +# +# Example: +# on: '/bin/bash' +# off: 'bash' +shell_path="off" + +# Show $SHELL version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --shell_version +# +# Example: +# on: 'bash 4.4.5' +# off: 'bash' +shell_version="on" + + +# CPU + + +# CPU speed type +# +# Default: 'bios_limit' +# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'. +# Flag: --speed_type +# Supports: Linux with 'cpufreq' +# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value. +speed_type="bios_limit" + +# CPU speed shorthand +# +# Default: 'off' +# Values: 'on', 'off'. +# Flag: --speed_shorthand +# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz +# +# Example: +# on: 'i7-6500U (4) @ 3.1GHz' +# off: 'i7-6500U (4) @ 3.100GHz' +speed_shorthand="off" + +# Enable/Disable CPU brand in output. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_brand +# +# Example: +# on: 'Intel i7-6500U' +# off: 'i7-6500U (4)' +cpu_brand="on" + +# CPU Speed +# Hide/Show CPU speed. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --cpu_speed +# +# Example: +# on: 'Intel i7-6500U (4) @ 3.1GHz' +# off: 'Intel i7-6500U (4)' +cpu_speed="on" + +# CPU Cores +# Display CPU cores in output +# +# Default: 'logical' +# Values: 'logical', 'physical', 'off' +# Flag: --cpu_cores +# Support: 'physical' doesn't work on BSD. +# +# Example: +# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores) +# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores) +# off: 'Intel i7-6500U @ 3.1GHz' +cpu_cores="logical" + +# CPU Temperature +# Hide/Show CPU temperature. +# Note the temperature is added to the regular CPU function. +# +# Default: 'off' +# Values: 'C', 'F', 'off' +# Flag: --cpu_temp +# Supports: Linux, BSD +# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable +# coretemp kernel module. This only supports newer Intel processors. +# +# Example: +# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]' +# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]' +# off: 'Intel i7-6500U (4) @ 3.1GHz' +cpu_temp="off" + + +# GPU + + +# Enable/Disable GPU Brand +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gpu_brand +# +# Example: +# on: 'AMD HD 7950' +# off: 'HD 7950' +gpu_brand="on" + +# Which GPU to display +# +# Default: 'all' +# Values: 'all', 'dedicated', 'integrated' +# Flag: --gpu_type +# Supports: Linux +# +# Example: +# all: +# GPU1: AMD HD 7950 +# GPU2: Intel Integrated Graphics +# +# dedicated: +# GPU1: AMD HD 7950 +# +# integrated: +# GPU1: Intel Integrated Graphics +gpu_type="all" + + +# Resolution + + +# Display refresh rate next to each monitor +# Default: 'off' +# Values: 'on', 'off' +# Flag: --refresh_rate +# Supports: Doesn't work on Windows. +# +# Example: +# on: '1920x1080 @ 60Hz' +# off: '1920x1080' +refresh_rate="off" + + +# Gtk Theme / Icons / Font + + +# Shorten output of GTK Theme / Icons / Font +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --gtk_shorthand +# +# Example: +# on: 'Numix, Adwaita' +# off: 'Numix [GTK2], Adwaita [GTK3]' +gtk_shorthand="off" + + +# Enable/Disable gtk2 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk2 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Adwaita [GTK3]' +gtk2="on" + +# Enable/Disable gtk3 Theme / Icons / Font +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --gtk3 +# +# Example: +# on: 'Numix [GTK2], Adwaita [GTK3]' +# off: 'Numix [GTK2]' +gtk3="on" + + +# IP Address + + +# Website to ping for the public IP +# +# Default: 'http://ident.me' +# Values: 'url' +# Flag: --ip_host +public_ip_host="http://ident.me" + +# Public IP timeout. +# +# Default: '2' +# Values: 'int' +# Flag: --ip_timeout +public_ip_timeout=2 + + +# Desktop Environment + + +# Show Desktop Environment version +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --de_version +de_version="on" + + +# Disk + + +# Which disks to display. +# The values can be any /dev/sdXX, mount point or directory. +# NOTE: By default we only show the disk info for '/'. +# +# Default: '/' +# Values: '/', '/dev/sdXX', '/path/to/drive'. +# Flag: --disk_show +# +# Example: +# disk_show=('/' '/dev/sdb1'): +# 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 823G / 893G (93%)' +# +# disk_show=('/'): +# 'Disk (/): 74G / 118G (66%)' +# +disk_show=('/') + +# Disk subtitle. +# What to append to the Disk subtitle. +# +# Default: 'mount' +# Values: 'mount', 'name', 'dir', 'none' +# Flag: --disk_subtitle +# +# Example: +# name: 'Disk (/dev/sda1): 74G / 118G (66%)' +# 'Disk (/dev/sdb2): 74G / 118G (66%)' +# +# mount: 'Disk (/): 74G / 118G (66%)' +# 'Disk (/mnt/Local Disk): 74G / 118G (66%)' +# 'Disk (/mnt/Videos): 74G / 118G (66%)' +# +# dir: 'Disk (/): 74G / 118G (66%)' +# 'Disk (Local Disk): 74G / 118G (66%)' +# 'Disk (Videos): 74G / 118G (66%)' +# +# none: 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +# 'Disk: 74G / 118G (66%)' +disk_subtitle="mount" + +# Disk percent. +# Show/Hide disk percent. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --disk_percent +# +# Example: +# on: 'Disk (/): 74G / 118G (66%)' +# off: 'Disk (/): 74G / 118G' +disk_percent="on" + + +# Song + + +# Manually specify a music player. +# +# Default: 'auto' +# Values: 'auto', 'player-name' +# Flag: --music_player +# +# Available values for 'player-name': +# +# amarok +# audacious +# banshee +# bluemindo +# clementine +# cmus +# deadbeef +# deepin-music +# dragon +# elisa +# exaile +# gnome-music +# gmusicbrowser +# gogglesmm +# guayadeque +# io.elementary.music +# iTunes +# juk +# lollypop +# mocp +# mopidy +# mpd +# muine +# netease-cloud-music +# olivia +# playerctl +# pogo +# pragha +# qmmp +# quodlibet +# rhythmbox +# sayonara +# smplayer +# spotify +# strawberry +# tauonmb +# tomahawk +# vlc +# xmms2d +# xnoise +# yarock +music_player="auto" + +# Format to display song information. +# +# Default: '%artist% - %album% - %title%' +# Values: '%artist%', '%album%', '%title%' +# Flag: --song_format +# +# Example: +# default: 'Song: Jet - Get Born - Sgt Major' +song_format="%artist% - %album% - %title%" + +# Print the Artist, Album and Title on separate lines +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --song_shorthand +# +# Example: +# on: 'Artist: The Fratellis' +# 'Album: Costello Music' +# 'Song: Chelsea Dagger' +# +# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger' +song_shorthand="off" + +# 'mpc' arguments (specify a host, password etc). +# +# Default: '' +# Example: mpc_args=(-h HOST -P PASSWORD) +mpc_args=() + + +# Text Colors + + +# Text Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --colors +# +# Each number represents a different part of the text in +# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' +# +# Example: +# colors=(distro) - Text is colored based on Distro colors. +# colors=(4 6 1 8 8 6) - Text is colored in the order above. +colors=(distro) + + +# Text Options + + +# Toggle bold text +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bold +bold="on" + +# Enable/Disable Underline +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --underline +underline_enabled="on" + +# Underline character +# +# Default: '-' +# Values: 'string' +# Flag: --underline_char +underline_char="-" + + +# Info Separator +# Replace the default separator with the specified string. +# +# Default: ':' +# Flag: --separator +# +# Example: +# separator="->": 'Shell-> bash' +# separator=" =": 'WM = dwm' +separator=":" + + +# Color Blocks + + +# Color block range +# The range of colors to print. +# +# Default: '0', '15' +# Values: 'num' +# Flag: --block_range +# +# Example: +# +# Display colors 0-7 in the blocks. (8 colors) +# neofetch --block_range 0 7 +# +# Display colors 0-15 in the blocks. (16 colors) +# neofetch --block_range 0 15 +block_range=(0 15) + +# Toggle color blocks +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --color_blocks +color_blocks="on" + +# Color block width in spaces +# +# Default: '3' +# Values: 'num' +# Flag: --block_width +block_width=3 + +# Color block height in lines +# +# Default: '1' +# Values: 'num' +# Flag: --block_height +block_height=1 + +# Color Alignment +# +# Default: 'auto' +# Values: 'auto', 'num' +# Flag: --col_offset +# +# Number specifies how far from the left side of the terminal (in spaces) to +# begin printing the columns, in case you want to e.g. center them under your +# text. +# Example: +# col_offset="auto" - Default behavior of neofetch +# col_offset=7 - Leave 7 spaces then print the colors +col_offset="auto" + +# Progress Bars + + +# Bar characters +# +# Default: '-', '=' +# Values: 'string', 'string' +# Flag: --bar_char +# +# Example: +# neofetch --bar_char 'elapsed' 'total' +# neofetch --bar_char '-' '=' +bar_char_elapsed="-" +bar_char_total="=" + +# Toggle Bar border +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --bar_border +bar_border="on" + +# Progress bar length in spaces +# Number of chars long to make the progress bars. +# +# Default: '15' +# Values: 'num' +# Flag: --bar_length +bar_length=15 + +# Progress bar colors +# When set to distro, uses your distro's logo colors. +# +# Default: 'distro', 'distro' +# Values: 'distro', 'num' +# Flag: --bar_colors +# +# Example: +# neofetch --bar_colors 3 4 +# neofetch --bar_colors distro 5 +bar_color_elapsed="distro" +bar_color_total="distro" + + +# Info display +# Display a bar with the info. +# +# Default: 'off' +# Values: 'bar', 'infobar', 'barinfo', 'off' +# Flags: --cpu_display +# --memory_display +# --battery_display +# --disk_display +# +# Example: +# bar: '[---=======]' +# infobar: 'info [---=======]' +# barinfo: '[---=======] info' +# off: 'info' +cpu_display="off" +memory_display="off" +battery_display="off" +disk_display="off" + + +# Backend Settings + + +# Image backend. +# +# Default: 'ascii' +# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', +# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' +# Flag: --backend +image_backend="ascii" + +# Image Source +# +# Which image or ascii file to display. +# +# Default: 'auto' +# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' +# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' +# Flag: --source +# +# NOTE: 'auto' will pick the best image source for whatever image backend is used. +# In ascii mode, distro ascii art will be used and in an image mode, your +# wallpaper will be used. +image_source="auto" + + +# Ascii Options + + +# Ascii distro +# Which distro's ascii art to display. +# +# Default: 'auto' +# Values: 'auto', 'distro_name' +# Flag: --ascii_distro +# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, "AOSC OS", +# "AOSC OS/Retro", Apricity, ArcoLinux, ArchBox, ARCHlabs, +# ArchStrike, XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, +# Bitrig, BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD, +# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS, +# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover, +# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin, +# DesaOS, Devuan, DracOS, DarkOs, DragonFly, Drauger, Elementary, +# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD, +# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, Pentoo, +# gNewSense, GNOME, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra, +# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion, +# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite, +# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva, +# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib, +# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner, +# NuTyX, OBRevenge, OpenBSD, openEuler, OpenIndiana, openmamba, +# OpenMandriva, OpenStage, OpenWrt, osmc, Oracle, OS Elbrus, PacBSD, +# Parabola, Pardus, Parrot, Parsix, TrueOS, PCLinuxOS, Peppermint, +# popos, Porteus, PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, +# Raspbian, Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, +# Regata, Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, +# Septor, SereneLinux, SharkLinux, Siduction, Slackware, SliTaz, +# SmartOS, Solus, Source_Mage, Sparky, Star, SteamOS, SunOS, +# openSUSE_Leap, openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, +# Trisquel, Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, +# Ubuntu, Venom, Void, Obarun, windows10, Windows7, Xubuntu, Zorin, +# and IRIX have ascii logos +# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants. +# Use '{distro name}_old' to use the old logos. +# NOTE: Ubuntu has flavor variants. +# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME, +# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors. +# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu, +# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android, +# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola, +# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS, +# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian, +# postmarketOS, and Void have a smaller logo variant. +# Use '{distro name}_small' to use the small variants. +ascii_distro="auto" + +# Ascii Colors +# +# Default: 'distro' +# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' +# Flag: --ascii_colors +# +# Example: +# ascii_colors=(distro) - Ascii is colored based on Distro colors. +# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. +ascii_colors=(distro) + +# Bold ascii logo +# Whether or not to bold the ascii logo. +# +# Default: 'on' +# Values: 'on', 'off' +# Flag: --ascii_bold +ascii_bold="on" + + +# Image Options + + +# Image loop +# Setting this to on will make neofetch redraw the image constantly until +# Ctrl+C is pressed. This fixes display issues in some terminal emulators. +# +# Default: 'off' +# Values: 'on', 'off' +# Flag: --loop +image_loop="off" + +# Thumbnail directory +# +# Default: '~/.cache/thumbnails/neofetch' +# Values: 'dir' +thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" + +# Crop mode +# +# Default: 'normal' +# Values: 'normal', 'fit', 'fill' +# Flag: --crop_mode +# +# See this wiki page to learn about the fit and fill options. +# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F +crop_mode="normal" + +# Crop offset +# Note: Only affects 'normal' crop mode. +# +# Default: 'center' +# Values: 'northwest', 'north', 'northeast', 'west', 'center' +# 'east', 'southwest', 'south', 'southeast' +# Flag: --crop_offset +crop_offset="center" + +# Image size +# The image is half the terminal width by default. +# +# Default: 'auto' +# Values: 'auto', '00px', '00%', 'none' +# Flags: --image_size +# --size +image_size="auto" + +# Gap between image and text +# +# Default: '3' +# Values: 'num', '-num' +# Flag: --gap +gap=3 + +# Image offsets +# Only works with the w3m backend. +# +# Default: '0' +# Values: 'px' +# Flags: --xoffset +# --yoffset +yoffset=0 +xoffset=0 + +# Image background color +# Only works with the w3m backend. +# +# Default: '' +# Values: 'color', 'blue' +# Flag: --bg_color +background_color= + + +# Misc Options + +# Stdout mode +# Turn off all colors and disables image backend (ASCII/Image). +# Useful for piping into another command. +# Default: 'off' +# Values: 'on', 'off' +stdout="off" diff --git a/obsidian/5acb98dd6ec2e5b2.json b/obsidian/5acb98dd6ec2e5b2.json new file mode 100644 index 0000000..79600bd --- /dev/null +++ b/obsidian/5acb98dd6ec2e5b2.json @@ -0,0 +1 @@ +{"x":0,"y":0,"width":2560,"height":1420,"isMaximized":false,"devTools":false,"zoom":0} \ No newline at end of file diff --git a/obsidian/Network Persistent State b/obsidian/Network Persistent State new file mode 100644 index 0000000..09c1248 --- /dev/null +++ b/obsidian/Network Persistent State @@ -0,0 +1 @@ +{"net":{"http_server_properties":{"servers":[{"anonymization":[],"server":"https://raw.githubusercontent.com","supports_spdy":true},{"anonymization":[],"server":"https://releases.obsidian.md","supports_spdy":true},{"anonymization":[],"server":"https://redirector.gvt1.com","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13395445985323048","port":443,"protocol_str":"quic"}],"anonymization":[],"server":"https://cdn.jsdelivr.net","supports_spdy":true},{"alternative_service":[{"advertised_alpns":["h3"],"expiration":"13397951559934009","port":443,"protocol_str":"quic"}],"anonymization":[],"network_stats":{"srtt":7401},"server":"https://r2---sn-nu5gh5o-uaal.gvt1.com"}],"supports_quic":{"address":"192.168.50.26","used_quic":true},"version":5},"network_qualities":{"CAASABiAgICA+P////8B":"4G"}}} \ No newline at end of file diff --git a/obsidian/Preferences b/obsidian/Preferences new file mode 100644 index 0000000..1c57cd2 --- /dev/null +++ b/obsidian/Preferences @@ -0,0 +1 @@ +{"browser":{"enable_spellchecking":true},"partition":{"per_host_zoom_levels":{"7505130898118005965":{}}},"spellcheck":{"dictionaries":["en-GB"],"dictionary":""}} \ No newline at end of file diff --git a/obsidian/SharedStorage b/obsidian/SharedStorage new file mode 100644 index 0000000000000000000000000000000000000000..7ee7c113a09428e4daafacb6e70a35d18573e608 GIT binary patch literal 4096 zcmWFz^vNtqRY=P(%1ta$FlG>7U}9o$P*7lCU|@t|AVoG{WYDWB;00+HAlr;ljiVtj n8UmvsFd71*Aut*OqaiRF0;3@?8UmvsFd71*Aut*O6ovo*4{!$i literal 0 HcmV?d00001 diff --git a/obsidian/TransportSecurity b/obsidian/TransportSecurity new file mode 100644 index 0000000..d709f39 --- /dev/null +++ b/obsidian/TransportSecurity @@ -0,0 +1 @@ +{"sts":[{"expiry":1782421985.323395,"host":"qaDeFdT1UTirY0OQe+c5LKw+zjx6vF/+3vFh7CgrAOY=","mode":"force-https","sts_include_subdomains":true,"sts_observed":1750885985.323396},{"expiry":1782421959.857959,"host":"/Io2PStL7/jvcod3tT0jPo73HDnRILY4Di46SHjGwTk=","mode":"force-https","sts_include_subdomains":false,"sts_observed":1750885959.857959}],"version":2} \ No newline at end of file diff --git a/obsidian/Trust Tokens b/obsidian/Trust Tokens new file mode 100644 index 0000000000000000000000000000000000000000..ed71bb122868bad80397263004748b1e9a02a6d2 GIT binary patch literal 36864 zcmeI&(NEJr9Ki8*2kQ_o28l0E!%oXfALnz zN=?&*N>eKJj-tAl=w;Md@4Fs#DYQo)qq6x+E6p5e=9&3*_LDhZ{ycks=AdkidWic7 zAbvvQxYWf#`(~Z2K z1fz$-8+QbXW7%oJ#La8kXbe>DqO$e^NIf z4V4u~!wl8TkMX8hw9cJe7DH_e#XnSPr1QeCY+FwsUyu1}lH3sSK*_}Dcn9j`k9KdO zXr0-)q8(^qDAs|p$y43178ZJew*17)QemL;*_~|m$?8t+`D?qr`NFQt+D=2(_N!I7 zU)$Q ${1}" +} + +# span for label/icon +lspan() { + echo "${1}" +} + +# get font specifics from xresource file +VALUE_COLOR=${color:-$(xrescat i3xrocks.value.color "#D8DEE9")} +LABEL_COLOR=${label_color:-$(xrescat i3xrocks.label.color "#7B8394")} +VALUE_FONT=${font:-$(xrescat i3xrocks.value.font "Source Code Pro Medium 13")} + +# output net usage using pango markup +if [ "$RT" = "up" ]; then + echo "$(lspan "${NIC}")$(fspan "$TX")$(lspan "${UP}")" +elif [ "$RT" = "down" ] || [ "$RT" = "dn" ]; then + echo "$(lspan "${NIC}")$(fspan "$RX")$(lspan "${DN}")" +elif [ "$RT" = "total" ]; then + echo "$(lspan "${NIC}")$(fspan "$AX")" +else + echo "$(lspan "${NIC}")$(fspan "$RX") $(lspan "${DN}") /$(fspan "$TX") $(lspan "${UP}")" +fi diff --git a/regolith3/i3xrocks/scripts/send-weather-notification b/regolith3/i3xrocks/scripts/send-weather-notification new file mode 100644 index 0000000..e5e6d7c --- /dev/null +++ b/regolith3/i3xrocks/scripts/send-weather-notification @@ -0,0 +1,42 @@ +#!/bin/bash + +set -Eeu -o pipefail + +VALUE_COLOR=${color:-$(xrescat i3xrocks.value.color "#D8DEE9")} +VALUE_FONT=${font:-$(xrescat i3xrocks.value.font "Source Code Pro Medium 13")} +BUTTON="${button:-}" + +# Information on the various formats: https://github.com/chubin/wttr.in +VALUE_WEATHER_FORMAT=${weather_format:-$(xrescat i3xrocks.weather.format "1")} +VALUE_WEATHER_FORMAT="?format=${VALUE_WEATHER_FORMAT}" +# all format options: "https://wttr.in?format=%l:+%c+%f+%h+%p+%P+%m+%w+%S+%s" +VALUE_SUNSET_SUNRISE_FORMAT="?format=%S-%s%20%m+" + +# Determine units to use for temperature +# We don't supply a default here because wttr.in is "smart" enough to choose for us +WEATHER_UNIT=${weather_unit:-$(xrescat i3xrocks.weather.units "")} +if [ -n "${WEATHER_UNIT}" ]; then + WEATHER_UNIT="&${WEATHER_UNIT}" +fi + +# Defaults to IP address location +VALUE_WEATHER_LOCATION=${weather_location:-$(xrescat i3xrocks.weather.location "Genova")} +VALUE_WEATHER_ERROR_MESSAGE=${error_message:-$(xrescat i3xrocks.weather.error_message $'\u26D4')} +WEATHER=$(curl -sS "https://wttr.in/${VALUE_WEATHER_LOCATION}${VALUE_WEATHER_FORMAT}${WEATHER_UNIT}" || echo "${VALUE_WEATHER_ERROR_MESSAGE}") + +SUNRISE_SUNSET=$(curl -sS "https://wttr.in/${VALUE_WEATHER_LOCATION}${VALUE_SUNSET_SUNRISE_FORMAT}${WEATHER_UNIT}") +SUNRISE_VALUE=$(echo ${SUNRISE_SUNSET} | cut -c 1-5) +SUNSET_VALUE=$(echo ${SUNRISE_SUNSET} | cut -c 10-14) + +if echo "${WEATHER}" | grep -q -P "Unknown\slocation"; then + WEATHER=${VALUE_WEATHER_ERROR_MESSAGE} +fi + +echo "${WEATHER} (${SUNRISE_VALUE}-${SUNSET_VALUE})" + +#echo "x${BUTTON}" + +if [ ! "x${BUTTON}" == "x" ]; then + ACTION=$(xrescat i3xrocks.action.weather "xdg-open https://wttr.in/${VALUE_WEATHER_LOCATION}") + /usr/bin/i3-msg -q exec "$ACTION" +fi diff --git a/regolith3/i3xrocks/scripts/time b/regolith3/i3xrocks/scripts/time new file mode 100644 index 0000000..962088f --- /dev/null +++ b/regolith3/i3xrocks/scripts/time @@ -0,0 +1,54 @@ +#!/bin/bash +# This time blocklet will use Xresources date format if defined +# or try to determine most appropriate format based on locale and GNOME settings. + +IS_ISO_8601=$(xrescat i3xrocks.date.iso8601) +DATE_FORMAT=$(xrescat i3xrocks.date.format2) +BUTTON=${button:-} + +BAR_SEPARATOR_CHAR=$(xrescat wm.bar.separatorchar) +BAR_SEPARATOR_COLOR=$(xrescat wm.bar.separator.color) + +if [ "$IS_ISO_8601" == "true" ]; then + DATE_VALUE="$(date --iso-8601=seconds)" +elif [ -z "$DATE_FORMAT" ]; then # No custom format defined, use system defaults + COUNTRY=$(locale | grep LC_TIME | head -n1 | cut -d "=" -f 2 | cut -d "_" -f 2 | cut -d "." -f 1) + if [ -z "$COUNTRY" ]; then + DATE_SPEC="%m/%d" + else + case $COUNTRY in + "US" | "CN" | "JP" | "KP" | "KR" | "CA" | "TW" | "HU" | "MN" | "LT" | "BT" ) + DATE_SPEC="%m/%d" + ;; + *) + DATE_SPEC="%d/%m" + ;; + esac + fi + + TIME_FORMAT=$(gsettings get org.gnome.desktop.interface clock-format) + + if [ "$TIME_FORMAT" == "'12h'" ]; then + TIME_SPEC="%I:%M" + else + TIME_SPEC="%H:%M" + fi + + DATE_VALUE=$(date "+ $DATE_SPEC $TIME_SPEC") +else + DATE_VALUE=$(date "+ $DATE_FORMAT") +fi + +LABEL_ICON=${icon:-$(xrescat i3xrocks.label.time )} +LABEL_COLOR=${label_color:-$(xrescat i3xrocks.label.color "#7B8394")} +VALUE_COLOR=${color:-$(xrescat i3xrocks.value.color "#D8DEE9")} +VALUE_FONT=${font:-$(xrescat i3xrocks.value.font "Source Code Pro Medium 13")} + +echo "$LABEL_ICON \ + $DATE_VALUE \ + $BAR_SEPARATOR_CHAR "; + +if [ "x${BUTTON}" == "x1" ]; then + ACTION=$(xrescat i3xrocks.action.time "regolith-control-center datetime") + /usr/bin/i3-msg -q exec "$ACTION" +fi diff --git a/regolith3/i3xrocks/scripts/weather b/regolith3/i3xrocks/scripts/weather new file mode 100644 index 0000000..f87f060 --- /dev/null +++ b/regolith3/i3xrocks/scripts/weather @@ -0,0 +1,45 @@ +#!/bin/bash + +set -Eeu -o pipefail + +VALUE_COLOR=${color:-$(xrescat i3xrocks.value.color "#D8DEE9")} +VALUE_FONT=${font:-$(xrescat i3xrocks.value.font "Source Code Pro Medium 13")} +BUTTON="${button:-}" + +# Information on the various formats: https://github.com/chubin/wttr.in +VALUE_WEATHER_FORMAT=${weather_format:-$(xrescat i3xrocks.weather.format "1")} +VALUE_WEATHER_FORMAT="?format=${VALUE_WEATHER_FORMAT}" +# all format options: "https://wttr.in?format=%l:+%c+%f+%h+%p+%P+%m+%w+%S+%s" +VALUE_SUNSET_SUNRISE_FORMAT="?format=%S-%s%20%m+" + +# Determine units to use for temperature +# We don't supply a default here because wttr.in is "smart" enough to choose for us +WEATHER_UNIT=${weather_unit:-$(xrescat i3xrocks.weather.units "")} +if [ -n "${WEATHER_UNIT}" ]; then + WEATHER_UNIT="&${WEATHER_UNIT}" +fi + +# Defaults to IP address location +VALUE_WEATHER_LOCATION=${weather_location:-$(xrescat i3xrocks.weather.location "Pärnu")} +VALUE_WEATHER_ERROR_MESSAGE=${error_message:-$(xrescat i3xrocks.weather.error_message $'\u26D4')} +VALUE_FETCH_WEATHER_URL="https://wttr.in/${VALUE_WEATHER_LOCATION}${VALUE_WEATHER_FORMAT}${WEATHER_UNIT}" +#echo "hahaha = '$VALUE_FETCH_WEATHER_URL'" +WEATHER=$(curl -sS "$VALUE_FETCH_WEATHER_URL" || echo "${VALUE_WEATHER_ERROR_MESSAGE}") + +SUNRISE_SUNSET=$(curl -sS "https://wttr.in/${VALUE_WEATHER_LOCATION}${VALUE_SUNSET_SUNRISE_FORMAT}${WEATHER_UNIT}") +SUNRISE_VALUE=$(echo ${SUNRISE_SUNSET} | cut -c 1-5) +SUNSET_VALUE=$(echo ${SUNRISE_SUNSET} | cut -c 10-14) + +if echo "${WEATHER}" | grep -q -P "Unknown\slocation"; then + WEATHER=${VALUE_WEATHER_ERROR_MESSAGE} +fi + +echo "${WEATHER} (${SUNRISE_VALUE}-${SUNSET_VALUE})" + +#echo "x${BUTTON}" + +if [ ! "x${BUTTON}" == "x" ]; then + FULL_WEATHER=$(curl -sS "https://wttr.in/${VALUE_WEATHER_LOCATION}?format=%l:+%c+%f+%h+%p+%P+%m+%w+%S+%s" || echo "${VALUE_WEATHER_ERROR_MESSAGE}") + ACTION=$(notify-send "$FULL_WEATHER") + /usr/bin/i3-msg -q exec "$ACTION" +fi diff --git a/regolith3/ilia.css b/regolith3/ilia.css new file mode 100644 index 0000000..f68d67f --- /dev/null +++ b/regolith3/ilia.css @@ -0,0 +1,37 @@ +.root_box { + margin: 24px; + background-color: #000000; + border-width: 1px; + border-style: solid; +} + +window { + border-width: 1px; + border-style: solid; + border-color: rgba(255,255,255,0.2); + background-color: #000000; +} + +.filter_entry { + border: none; + background: none; + min-height: 36px; + min-width: 320px; + background-color: #000000; +} + +.notebook { + border: none; + background-color: #000000; + border-color: #FFFFFF; +} + +.keybindings { + font-family: RobotoMono Nerd Font; + background-color: #000000; +} + +* { + background-color: #000; + border-color: #000; +}