commit 837f5aa67a95958f45c8ed19db9e51fb1bccbc48 Author: Niklas Bittner Date: Tue Jun 4 10:15:01 2024 +0200 feat: Initial commit diff --git a/dot_config/alacritty/alacritty.toml b/dot_config/alacritty/alacritty.toml new file mode 100644 index 0000000..7074810 --- /dev/null +++ b/dot_config/alacritty/alacritty.toml @@ -0,0 +1,4 @@ +import = ["/home/niklas/.config/alacritty/themes/themes/campbell.toml"] + +[font] +size = 10.0 diff --git a/dot_config/alacritty/private_alacritty.yml b/dot_config/alacritty/private_alacritty.yml new file mode 100644 index 0000000..2453231 --- /dev/null +++ b/dot_config/alacritty/private_alacritty.yml @@ -0,0 +1,5 @@ +import: + - ~/.config/alacritty/themes/themes/campbell.yaml + +font: + size: 10.0 diff --git a/dot_config/alacritty/themes/LICENSE b/dot_config/alacritty/themes/LICENSE new file mode 100644 index 0000000..149bf8b --- /dev/null +++ b/dot_config/alacritty/themes/LICENSE @@ -0,0 +1,202 @@ + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + +TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + +1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + +2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + +3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + +4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + +5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + +6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + +7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + +8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + +9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + +END OF TERMS AND CONDITIONS + +APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + +Copyright 2019-2023 indrajit +Copyright 2023- The Alacritty Project + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/dot_config/alacritty/themes/README.md b/dot_config/alacritty/themes/README.md new file mode 100644 index 0000000..7a5d2cd --- /dev/null +++ b/dot_config/alacritty/themes/README.md @@ -0,0 +1,157 @@ +# Alacritty Theme + +Collection of colorschemes for easy configuration of the [Alacritty terminal +emulator]. + +[Alacritty terminal emulator]: https://github.com/alacritty/alacritty + +## Installation + +### Imports + +Clone the repository, or download the theme of your choice: + +```sh +# We use Alacritty's default Linux config directory as our storage location here. +mkdir -p ~/.config/alacritty/themes +git clone https://github.com/alacritty/alacritty-theme ~/.config/alacritty/themes +``` + +Add an import to your `alacritty.yml` (Replace `{theme}` with your desired +colorscheme): + +```yaml +import: + - ~/.config/alacritty/themes/themes/{theme}.yaml +``` + +### Manual + +To manually include a colorscheme in an existing `alacritty.yml`, you just need +to copy the entire content of the theme into the root level of your +configuration file. + +## Color Schemes + +| NAME | COLORS | +|:-------------------------------------------------------------------------------------------------------------------------------------------------:|:----------------------------------------------------------:| +| **_afterglow_**
[source](https://github.com/YabataDesign/afterglow-theme) | ![base16_default_dark](images/afterglow.png) | +| **_alabaster_**
[source](https://github.com/tonsky/vscode-theme-alabaster) | ![alabaster](images/alabaster.png) | +| **_alabaster_dark_**
[source](https://github.com/gargakshit/vscode-theme-alabaster-dark) | ![alabaster_dark](images/alabaster_dark.png) | +| **_argonaut_**
[source](https://github.com/pwaleczek/Argonaut-theme) | ![base16_default_dark](images/argonaut.png) | +| **_atom_one_light_**
[source](https://github.com/dexpota/kitty-themes/blob/master/themes/AtomOneLight.conf) | ![atom_one_light](images/atom_one_light.png) | +| **_ayu_dark_**
[source](https://github.com/ayu-theme/ayu-colors) | ![ayu_dark](images/ayu_dark.png) | +| **_ayu_light_**
[source](https://github.com/ayu-theme/ayu-colors) | ![ayu_light](images/ayu_light.png) | +| **_baitong_**
[source](https://github.com/cypj/baitong-theme) | ![baitong](images/baitong.png) | +| **_base16_default_dark_**
[source](https://github.com/chriskempson/base16) | ![base16_default_dark](images/base16_default_dark.png) | +| **_blood_moon_**
[source](https://github.com/dguo/blood-moon) | ![blood_moon](images/blood_moon.png) | +| **_bluish_** | ![bluish](images/bluish.png) | +| **_breeze_**
[source](https://github.com/KDE/breeze) | ![breeze](images/breeze.png) | +| **_campbell_**
[source](https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors) | ![campbell](images/campbell.png) | +| **_carbonfox_**
[source](https://github.com/edeneast/nightfox.nvim/raw/main/extra/carbonfox/nightfox_alacritty.yml) | ![carbonfox](images/carbonfox.png) | +| **_catppuccin_**
[source](https://github.com/catppuccin/catppuccin) | ![catppuccin](images/catppuccin.png) | +| **_challenger_deep_**
[source](https://github.com/challenger-deep-theme/alacritty) | ![challenger_deep](images/challenger_deep.png) | +| **_city_lights_**
[source](https://citylights.xyz/) | ![city_lights](images/citylights.png) | +| **_Cobalt2_**
[source](https://github.com/wesbos/cobalt2/tree/master/Cobalt2) | ![Cobalt2](images/Cobalt2.png) | +| **_cyber_punk_neon_**
[source](https://github.com/Roboron3042/Cyberpunk-Neon) | ![cyber_punk_neon](images/cyber_punk_neon.png) | +| **_darcula_**
[source](https://draculatheme.com) | ![darcula](images/darcula.png) | +| **_dark_pastels_**
[source](https://invent.kde.org/utilities/konsole/-/blob/master/data/color-schemes/DarkPastels.colorscheme) | ![dark_pastels](images/dark_pastels.png) | +| **_deep_space_** | ![depp_space](images/deep_space.png) | +| **_doom_one_**
[source](https://github.com/hlissner/emacs-doom-themes) | ![doom_one](images/doom_one.png) | +| **_dracula_**
[source](https://draculatheme.com) | ![dracula](images/dracula.png) | +| **_everforest_dark_**
[source](https://github.com/sainnhe/everforest) | ![everforest_dark](images/everforest_dark.png) | +| **_everforest_light_**
[source](https://github.com/sainnhe/everforest) | ![everforest_light](images/everforest_light.png) | +| **_falcon_**
[source](https://github.com/fenetikm/falcon) | ![falcon](images/falcon.png) | +| **_flat_remix_**
[source](https://github.com/Mayccoll/Gogh/blob/master/themes/flat-remix.sh) | ![flat_remix](images/flat_remix.png) | +| **_github_dark_**
[source](https://github.com/projekt0n/github-theme-contrib/blob/main/alacritty/github_dark.yml) | ![github_dark](images/github_dark.png) | +| **_github_dark_colorblind_**
[source](https://github.com/projekt0n/github-theme-contrib/blob/main/alacritty/github_dark_colorblind.yml) | ![github_dark_colorblind](images/github_dark_colorblind.png) | +| **_github_dark_default_**
[source](https://github.com/projekt0n/github-theme-contrib/blob/main/alacritty/github_dark_default.yml) | ![github_dark_default](images/github_dark_default.png) | +| **_github_dimmed_**
[source](https://github.com/projekt0n/github-theme-contrib/blob/main/alacritty/github_dimmed.yml) | ![github_dimmed](images/github_dimmed.png) | +| **_github_light_**
[source](https://github.com/projekt0n/github-theme-contrib/blob/main/alacritty/github_light.yml) | ![github_light](images/github_light.png) | +| **_github_light_colorblind_**
[source](https://github.com/projekt0n/github-theme-contrib/blob/main/alacritty/github_light_colorblind.yml) | ![github_light_colorblind](images/github_light_colorblind.png) | +| **_github_light_default_**
[source](https://github.com/projekt0n/github-theme-contrib/blob/main/alacritty/github_light_default.yml) | ![github_light_default](images/github_light_default.png) | +| **_gotham_** | ![falcon](images/gotham.png) | +| **_gnome_terminal_**
[source](https://gitlab.gnome.org/GNOME/gnome-terminal) | ![gnome_terminal](images/gnome_terminal.png) | +| **_gruvbox_dark_**
[source](https://github.com/morhetz/gruvbox) | ![gruvbox_dark](images/gruvbox_dark.png) | +| **_gruvbox_light_**
[source](https://github.com/morhetz/gruvbox) | ![gruvbox_light](images/gruvbox_light.png) | +| **_gruvbox_material_medium_dark_**
[source](https://github.com/sainnhe/gruvbox-material) | ![gruvbox_material_medium_dark](images/gruvbox_material_medium_dark.png) | +| **_gruvbox_material_medium_light_**
[source](https://github.com/sainnhe/gruvbox-material) | ![gruvbox_material_medium_light](images/gruvbox_material_medium_light.png) | +| **_hardhacker_**
[source](https://github.com/hardhackerlabs/theme-alacritty) | ![hardhacker](images/hardhacker.png) | +| **_high_contrast_** | ![gruvbox_light](images/high_contrast.png) | +| **_horizon-dark_**
[source](https://github.com/jolaleye/horizon-theme-vscode) | ![horizon-dark](images/horizon-dark.png) | +| **_hyper_**
[source](https://hyper.is) | ![hyper](images/hyper.png) | +| **_inferno_**
[source](https://github.com/hafiz-muhammad/inferno-alacritty-theme) | ![inferno](images/inferno.png) | +| **_iterm_** | ![iterm](images/iterm.png) | +| **_kanagawa_dragon_**
[source](https://github.com/rebelot/kanagawa.nvim) | ![kanagawa_dragon](images/kanagawa_dragon.png) | +| **_kanagawa_wave_**
[source](https://github.com/rebelot/kanagawa.nvim) | ![kanagawa_wave](images/kanagawa_wave.png) | +| **_konsole_linux_** | ![iterm](images/konsole_linux.png) | +| **_low_contrast_** | ![iterm](images/low_contrast.png) | +| **_Mariana_**
[source](https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/alacritty/Mariana.yml) | ![iterm](images/mariana.png) | +| **_marine_dark_**
[source](https://github.com/ProDeSquare/alacritty-colorschemes/blob/master/themes/marine_dark.yaml) | ![marine_dark](images/marine_dark.png) | +| **_material_theme_**
[source](https://github.com/equinusocio/material-theme) | ![material_theme](images/material_theme.png) | +| **_material_theme_mod_** | ![material_theme_mod](images/material_theme_mod.png) | +| **_meliora_**
[source](https://github.com/ramojus/mellifluous.nvim) | ![meliora](images/meliora.png) | +| **_midnight-haze_**
[source](https://github.com/hafiz-muhammad/midnight-haze-alacritty-theme) | ![midnight-haze](images/midnight-haze.png) | +| **_monokai_charcoal_**
[source](https://github.com/dodeca12/Monokai-Charcoal-Theme-for-Alacritty/blob/main/monokai_charcoal_white.yaml) | ![monokai_charcoal](images/monokai-charcoal.png) | +| **_monokai_pro_**
[source](https://gist.github.com/AlphaTechnolog/d1d5f6557f77f71519cb5713268da7dd) | ![monokai_pro](images/monokai_pro.png) | +| **_moonlight_ii_vscode_**
[source](https://github.com/atomiks/moonlight-vscode-theme) | ![moonlight_ii_vscode](images/moonlight_ii_vscode.png) | +| **_msx_**
[source](https://paulwratt.github.io/programmers-palettes/HW-MSX/HW-MSX-palettes.html) | ![msx](images/msx.png) | +| **_nightfox_**
[source](https://github.com/EdenEast/nightfox.nvim) | ![nightfox](images/nightfox.png) | +| **_night_owlish_light_** | ![night_owlish_light](images/night_owlish_light.png) | +| **_nord_**
[source](https://github.com/arcticicestudio/nord) | ![nord](images/nord.png) | +| **_oceanic_next_**
[source](https://github.com/voronianski/oceanic-next-color-scheme) | ![oceanic_next](images/oceanic_next.png) | +| **_omni_**
[source](https://github.com/getomni/alacritty/blob/main/omni.yml) | ![omni](images/omni.png) | +| **_one_dark_** | ![one_dark](images/one_dark.png) | +| **_palenight_**
[source](https://github.com/JonathanSpeek/palenight-iterm2) | ![palenight](images/palenight.png) | +| **_papercolor_dark_**
[source](https://github.com/NLKNguyen/papercolor-theme/blob/master/colors/PaperColor.vim#L126) | ![papercolor_dark](images/papercolor_dark.png) | +| **_papercolor_light_**
[source](https://github.com/NLKNguyen/papercolor-theme/blob/master/colors/PaperColor.vim#L36) | ![papercolor_light](images/papercolor_light.png) | +| **_papertheme_**
[source](https://github.com/s6muel/paper-theme/blob/main/themes/alacritty/paper-theme.yml) | ![papercolor_light](images/papertheme.png) | +| **_pencil_dark_**
[source](https://github.com/mattly/iterm-colors-pencil) | ![pencil_dark](images/pencil_dark.png) | +| **_pencil_light_**
[source](https://github.com/mattly/iterm-colors-pencil) | ![pencil_light](images/pencil_light.png) | +| **_rainbow_** | ![rainbow](images/rainbow.png) | +| **_remedy_dark_**
[source](https://github.com/robertrossmann/vscode-remedy) | ![remedy_dark](images/remedy_dark.png) | +| **_rose-pine_**
[source](https://github.com/rose-pine/alacritty) | ![rose-pine](images/rose-pine.png) | +| **_rose-pine-dawn_**
[source](https://github.com/rose-pine/alacritty) | ![rose-pine-dawn](images/rose-pine-dawn.png) | +| **_rose-pine-moon_**
[source](https://github.com/rose-pine/alacritty) | ![rose-pine-moon](images/rose-pine-moon.png) | +| **_snazzy_**
[source](https://github.com/sindresorhus/hyper-snazzy) | ![snazzy](images/snazzy.png) | +| **seashells**
[source](https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/SeaShells.itermcolors) | ![seashells](images/seashells.png) | +| **smoooooth**
[source](https://github.com/gnachman/iTerm2/blob/33945e63ad48ed80d6cc1adf7cbeb663217652d2/plists/ColorPresets.plist#L4345-L4685) | ![smoooooth](images/smoooooth.png) | +| **_solarized_dark_**
[source](http://ethanschoonover.com/solarized) | ![solarized_dark](images/solarized_dark.png) | +| **_solarized_light_**
[source](http://ethanschoonover.com/solarized) | ![solarized_light](images/solarized_light.png) | +| **_taerminal_**
[source](https://github.com/cozywigwam/iterm-taerminal) | ![taerminal](images/taerminal.png) | +| **_tango_dark_**
[source](https://github.com/GNOME/gnome-terminal/blob/18939a24d21d6b7c6edd57a00a3a8a48f3aecec5/src/profile-editor.c#L213) | ![tango_dark](images/tango_dark.png) | +| **_tender_**
[source](https://github.com/huyvohcmc/tender-alacritty) | ![tender](images/tender.png) | +| **_terminal_app_** | ![terminal_app](images/terminal_app.png) | +| **_thelovelace_** | ![terminal_app](images/thelovelace.png) | +| **_tokyo-night_**
[source](https://github.com/zatchheems/tokyo-night-alacritty-theme) | ![tokyo-night](images/tokyo-night.png) | +| **_tokyo-night-storm_**
[source](https://github.com/zatchheems/tokyo-night-alacritty-theme) | ![tokyo-night-storm](images/tokyo-night-storm.png) | +| **_tomorrow_night_**
[source](https://github.com/ChrisKempson/Tomorrow-Theme) | ![tomorrow_night](images/tomorrow_night.png) | +| **_tomorrow_night_bright_**
[source](https://github.com/ChrisKempson/Tomorrow-Theme) | ![tomorrow_night_bright](images/tomorrow_night_bright.png) | +| **_ubuntu_**
[source](https://design.ubuntu.com/brand/colour-palette/) | ![ubuntu](images/ubuntu.png) | +| **_wombat_**
[source](https://github.com/djoyner/iTerm2-wombat) | ![wombat](images/wombat.png) | +| **_xterm_** | ![xterm](images/xterm.png) | +| **_zenburn_**
[source](https://github.com/jnurmine/Zenburn) | ![zenburn](images/zenburn.png) | + +## Contributing + +Bug reports and pull requests are welcome on GitHub at the [alacritty-theme] +repository. + +[alacritty-theme]: https://github.com/alacritty/alacritty-theme + +To add a new theme, just create a Pull Request with the following changes: + + - Add your theme to the `themes` directory with the `{theme}.yaml` file format + - Create a screenshot of your theme using the [`print_colors.sh`](./print_colors.sh) script + - Add the screenshot to the `images` directory with the `{theme}.png` file format + - Add your theme to the `schemes.yaml` + - Add your theme to the `README.md`, following alphabetical ordering + +## Maintainers + + * **indrajit** - *Author* - [eendroroy](https://github.com/eendroroy) + * **Christian Dürr** - *Maintainer* - [chrisduerr](https://github.com/chrisduerr) + +## License + +The project is available as open source under the terms of the [Apache License, Version 2.0](LICENSE) diff --git a/dot_config/alacritty/themes/dot_git/HEAD b/dot_config/alacritty/themes/dot_git/HEAD new file mode 100644 index 0000000..cb089cd --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/HEAD @@ -0,0 +1 @@ +ref: refs/heads/master diff --git a/dot_config/alacritty/themes/dot_git/branches/.keep b/dot_config/alacritty/themes/dot_git/branches/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/alacritty/themes/dot_git/config b/dot_config/alacritty/themes/dot_git/config new file mode 100644 index 0000000..c605c29 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/config @@ -0,0 +1,11 @@ +[core] + repositoryformatversion = 0 + filemode = true + bare = false + logallrefupdates = true +[remote "origin"] + url = https://github.com/alacritty/alacritty-theme + fetch = +refs/heads/*:refs/remotes/origin/* +[branch "master"] + remote = origin + merge = refs/heads/master diff --git a/dot_config/alacritty/themes/dot_git/description b/dot_config/alacritty/themes/dot_git/description new file mode 100644 index 0000000..498b267 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/description @@ -0,0 +1 @@ +Unnamed repository; edit this file 'description' to name the repository. diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_applypatch-msg.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_applypatch-msg.sample new file mode 100644 index 0000000..a5d7b84 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_applypatch-msg.sample @@ -0,0 +1,15 @@ +#!/bin/sh +# +# An example hook script to check the commit log message taken by +# applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. The hook is +# allowed to edit the commit message file. +# +# To enable this hook, rename this file to "applypatch-msg". + +. git-sh-setup +commitmsg="$(git rev-parse --git-path hooks/commit-msg)" +test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"} +: diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_commit-msg.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_commit-msg.sample new file mode 100644 index 0000000..b58d118 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_commit-msg.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to check the commit log message. +# Called by "git commit" with one argument, the name of the file +# that has the commit message. The hook should exit with non-zero +# status after issuing an appropriate message if it wants to stop the +# commit. The hook is allowed to edit the commit message file. +# +# To enable this hook, rename this file to "commit-msg". + +# Uncomment the below to add a Signed-off-by line to the message. +# Doing this in a hook is a bad idea in general, but the prepare-commit-msg +# hook is more suited to it. +# +# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1" + +# This example catches duplicate Signed-off-by lines. + +test "" = "$(grep '^Signed-off-by: ' "$1" | + sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || { + echo >&2 Duplicate Signed-off-by lines. + exit 1 +} diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_fsmonitor-watchman.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_fsmonitor-watchman.sample new file mode 100644 index 0000000..23e856f --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_fsmonitor-watchman.sample @@ -0,0 +1,174 @@ +#!/usr/bin/perl + +use strict; +use warnings; +use IPC::Open2; + +# An example hook script to integrate Watchman +# (https://facebook.github.io/watchman/) with git to speed up detecting +# new and modified files. +# +# The hook is passed a version (currently 2) and last update token +# formatted as a string and outputs to stdout a new update token and +# all files that have been modified since the update token. Paths must +# be relative to the root of the working tree and separated by a single NUL. +# +# To enable this hook, rename this file to "query-watchman" and set +# 'git config core.fsmonitor .git/hooks/query-watchman' +# +my ($version, $last_update_token) = @ARGV; + +# Uncomment for debugging +# print STDERR "$0 $version $last_update_token\n"; + +# Check the hook interface version +if ($version ne 2) { + die "Unsupported query-fsmonitor hook version '$version'.\n" . + "Falling back to scanning...\n"; +} + +my $git_work_tree = get_working_dir(); + +my $retry = 1; + +my $json_pkg; +eval { + require JSON::XS; + $json_pkg = "JSON::XS"; + 1; +} or do { + require JSON::PP; + $json_pkg = "JSON::PP"; +}; + +launch_watchman(); + +sub launch_watchman { + my $o = watchman_query(); + if (is_work_tree_watched($o)) { + output_result($o->{clock}, @{$o->{files}}); + } +} + +sub output_result { + my ($clockid, @files) = @_; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # binmode $fh, ":utf8"; + # print $fh "$clockid\n@files\n"; + # close $fh; + + binmode STDOUT, ":utf8"; + print $clockid; + print "\0"; + local $, = "\0"; + print @files; +} + +sub watchman_clock { + my $response = qx/watchman clock "$git_work_tree"/; + die "Failed to get clock id on '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + + return $json_pkg->new->utf8->decode($response); +} + +sub watchman_query { + my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty') + or die "open2() failed: $!\n" . + "Falling back to scanning...\n"; + + # In the query expression below we're asking for names of files that + # changed since $last_update_token but not from the .git folder. + # + # To accomplish this, we're using the "since" generator to use the + # recency index to select candidate nodes and "fields" to limit the + # output to file names only. Then we're using the "expression" term to + # further constrain the results. + my $last_update_line = ""; + if (substr($last_update_token, 0, 1) eq "c") { + $last_update_token = "\"$last_update_token\""; + $last_update_line = qq[\n"since": $last_update_token,]; + } + my $query = <<" END"; + ["query", "$git_work_tree", {$last_update_line + "fields": ["name"], + "expression": ["not", ["dirname", ".git"]] + }] + END + + # Uncomment for debugging the watchman query + # open (my $fh, ">", ".git/watchman-query.json"); + # print $fh $query; + # close $fh; + + print CHLD_IN $query; + close CHLD_IN; + my $response = do {local $/; }; + + # Uncomment for debugging the watch response + # open ($fh, ">", ".git/watchman-response.json"); + # print $fh $response; + # close $fh; + + die "Watchman: command returned no output.\n" . + "Falling back to scanning...\n" if $response eq ""; + die "Watchman: command returned invalid output: $response\n" . + "Falling back to scanning...\n" unless $response =~ /^\{/; + + return $json_pkg->new->utf8->decode($response); +} + +sub is_work_tree_watched { + my ($output) = @_; + my $error = $output->{error}; + if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) { + $retry--; + my $response = qx/watchman watch "$git_work_tree"/; + die "Failed to make watchman watch '$git_work_tree'.\n" . + "Falling back to scanning...\n" if $? != 0; + $output = $json_pkg->new->utf8->decode($response); + $error = $output->{error}; + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + # Uncomment for debugging watchman output + # open (my $fh, ">", ".git/watchman-output.out"); + # close $fh; + + # Watchman will always return all files on the first query so + # return the fast "everything is dirty" flag to git and do the + # Watchman query just to get it over with now so we won't pay + # the cost in git to look up each individual file. + my $o = watchman_clock(); + $error = $output->{error}; + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + output_result($o->{clock}, ("/")); + $last_update_token = $o->{clock}; + + eval { launch_watchman() }; + return 0; + } + + die "Watchman: $error.\n" . + "Falling back to scanning...\n" if $error; + + return 1; +} + +sub get_working_dir { + my $working_dir; + if ($^O =~ 'msys' || $^O =~ 'cygwin') { + $working_dir = Win32::GetCwd(); + $working_dir =~ tr/\\/\//; + } else { + require Cwd; + $working_dir = Cwd::cwd(); + } + + return $working_dir; +} diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_post-update.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_post-update.sample new file mode 100644 index 0000000..ec17ec1 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_post-update.sample @@ -0,0 +1,8 @@ +#!/bin/sh +# +# An example hook script to prepare a packed repository for use over +# dumb transports. +# +# To enable this hook, rename this file to "post-update". + +exec git update-server-info diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_pre-applypatch.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-applypatch.sample new file mode 100644 index 0000000..4142082 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-applypatch.sample @@ -0,0 +1,14 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed +# by applypatch from an e-mail message. +# +# The hook should exit with non-zero status after issuing an +# appropriate message if it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-applypatch". + +. git-sh-setup +precommit="$(git rev-parse --git-path hooks/pre-commit)" +test -x "$precommit" && exec "$precommit" ${1+"$@"} +: diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_pre-commit.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-commit.sample new file mode 100644 index 0000000..e144712 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-commit.sample @@ -0,0 +1,49 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git commit" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message if +# it wants to stop the commit. +# +# To enable this hook, rename this file to "pre-commit". + +if git rev-parse --verify HEAD >/dev/null 2>&1 +then + against=HEAD +else + # Initial commit: diff against an empty tree object + against=$(git hash-object -t tree /dev/null) +fi + +# If you want to allow non-ASCII filenames set this variable to true. +allownonascii=$(git config --type=bool hooks.allownonascii) + +# Redirect output to stderr. +exec 1>&2 + +# Cross platform projects tend to avoid non-ASCII filenames; prevent +# them from being added to the repository. We exploit the fact that the +# printable range starts at the space character and ends with tilde. +if [ "$allownonascii" != "true" ] && + # Note that the use of brackets around a tr range is ok here, (it's + # even required, for portability to Solaris 10's /usr/bin/tr), since + # the square bracket bytes happen to fall in the designated range. + test $(git diff --cached --name-only --diff-filter=A -z $against | + LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0 +then + cat <<\EOF +Error: Attempt to add a non-ASCII file name. + +This can cause problems if you want to work with people on other platforms. + +To be portable it is advisable to rename the file. + +If you know what you are doing you can disable this check using: + + git config hooks.allownonascii true +EOF + exit 1 +fi + +# If there are whitespace errors, print the offending file names and fail. +exec git diff-index --check --cached $against -- diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_pre-merge-commit.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-merge-commit.sample new file mode 100644 index 0000000..399eab1 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-merge-commit.sample @@ -0,0 +1,13 @@ +#!/bin/sh +# +# An example hook script to verify what is about to be committed. +# Called by "git merge" with no arguments. The hook should +# exit with non-zero status after issuing an appropriate message to +# stderr if it wants to stop the merge commit. +# +# To enable this hook, rename this file to "pre-merge-commit". + +. git-sh-setup +test -x "$GIT_DIR/hooks/pre-commit" && + exec "$GIT_DIR/hooks/pre-commit" +: diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_pre-push.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-push.sample new file mode 100644 index 0000000..4ce688d --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-push.sample @@ -0,0 +1,53 @@ +#!/bin/sh + +# An example hook script to verify what is about to be pushed. Called by "git +# push" after it has checked the remote status, but before anything has been +# pushed. If this script exits with a non-zero status nothing will be pushed. +# +# This hook is called with the following parameters: +# +# $1 -- Name of the remote to which the push is being done +# $2 -- URL to which the push is being done +# +# If pushing without using a named remote those arguments will be equal. +# +# Information about the commits which are being pushed is supplied as lines to +# the standard input in the form: +# +# +# +# This sample shows how to prevent push of commits where the log message starts +# with "WIP" (work in progress). + +remote="$1" +url="$2" + +zero=$(git hash-object --stdin &2 "Found WIP commit in $local_ref, not pushing" + exit 1 + fi + fi +done + +exit 0 diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_pre-rebase.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-rebase.sample new file mode 100644 index 0000000..6cbef5c --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-rebase.sample @@ -0,0 +1,169 @@ +#!/bin/sh +# +# Copyright (c) 2006, 2008 Junio C Hamano +# +# The "pre-rebase" hook is run just before "git rebase" starts doing +# its job, and can prevent the command from running by exiting with +# non-zero status. +# +# The hook is called with the following parameters: +# +# $1 -- the upstream the series was forked from. +# $2 -- the branch being rebased (or empty when rebasing the current branch). +# +# This sample shows how to prevent topic branches that are already +# merged to 'next' branch from getting rebased, because allowing it +# would result in rebasing already published history. + +publish=next +basebranch="$1" +if test "$#" = 2 +then + topic="refs/heads/$2" +else + topic=`git symbolic-ref HEAD` || + exit 0 ;# we do not interrupt rebasing detached HEAD +fi + +case "$topic" in +refs/heads/??/*) + ;; +*) + exit 0 ;# we do not interrupt others. + ;; +esac + +# Now we are dealing with a topic branch being rebased +# on top of master. Is it OK to rebase it? + +# Does the topic really exist? +git show-ref -q "$topic" || { + echo >&2 "No such branch $topic" + exit 1 +} + +# Is topic fully merged to master? +not_in_master=`git rev-list --pretty=oneline ^master "$topic"` +if test -z "$not_in_master" +then + echo >&2 "$topic is fully merged to master; better remove it." + exit 1 ;# we could allow it, but there is no point. +fi + +# Is topic ever merged to next? If so you should not be rebasing it. +only_next_1=`git rev-list ^master "^$topic" ${publish} | sort` +only_next_2=`git rev-list ^master ${publish} | sort` +if test "$only_next_1" = "$only_next_2" +then + not_in_topic=`git rev-list "^$topic" master` + if test -z "$not_in_topic" + then + echo >&2 "$topic is already up to date with master" + exit 1 ;# we could allow it, but there is no point. + else + exit 0 + fi +else + not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"` + /usr/bin/perl -e ' + my $topic = $ARGV[0]; + my $msg = "* $topic has commits already merged to public branch:\n"; + my (%not_in_next) = map { + /^([0-9a-f]+) /; + ($1 => 1); + } split(/\n/, $ARGV[1]); + for my $elem (map { + /^([0-9a-f]+) (.*)$/; + [$1 => $2]; + } split(/\n/, $ARGV[2])) { + if (!exists $not_in_next{$elem->[0]}) { + if ($msg) { + print STDERR $msg; + undef $msg; + } + print STDERR " $elem->[1]\n"; + } + } + ' "$topic" "$not_in_next" "$not_in_master" + exit 1 +fi + +<<\DOC_END + +This sample hook safeguards topic branches that have been +published from being rewound. + +The workflow assumed here is: + + * Once a topic branch forks from "master", "master" is never + merged into it again (either directly or indirectly). + + * Once a topic branch is fully cooked and merged into "master", + it is deleted. If you need to build on top of it to correct + earlier mistakes, a new topic branch is created by forking at + the tip of the "master". This is not strictly necessary, but + it makes it easier to keep your history simple. + + * Whenever you need to test or publish your changes to topic + branches, merge them into "next" branch. + +The script, being an example, hardcodes the publish branch name +to be "next", but it is trivial to make it configurable via +$GIT_DIR/config mechanism. + +With this workflow, you would want to know: + +(1) ... if a topic branch has ever been merged to "next". Young + topic branches can have stupid mistakes you would rather + clean up before publishing, and things that have not been + merged into other branches can be easily rebased without + affecting other people. But once it is published, you would + not want to rewind it. + +(2) ... if a topic branch has been fully merged to "master". + Then you can delete it. More importantly, you should not + build on top of it -- other people may already want to + change things related to the topic as patches against your + "master", so if you need further changes, it is better to + fork the topic (perhaps with the same name) afresh from the + tip of "master". + +Let's look at this example: + + o---o---o---o---o---o---o---o---o---o "next" + / / / / + / a---a---b A / / + / / / / + / / c---c---c---c B / + / / / \ / + / / / b---b C \ / + / / / / \ / + ---o---o---o---o---o---o---o---o---o---o---o "master" + + +A, B and C are topic branches. + + * A has one fix since it was merged up to "next". + + * B has finished. It has been fully merged up to "master" and "next", + and is ready to be deleted. + + * C has not merged to "next" at all. + +We would want to allow C to be rebased, refuse A, and encourage +B to be deleted. + +To compute (1): + + git rev-list ^master ^topic next + git rev-list ^master next + + if these match, topic has not merged in next at all. + +To compute (2): + + git rev-list master..topic + + if this is empty, it is fully merged to "master". + +DOC_END diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_pre-receive.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-receive.sample new file mode 100644 index 0000000..a1fd29e --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_pre-receive.sample @@ -0,0 +1,24 @@ +#!/bin/sh +# +# An example hook script to make use of push options. +# The example simply echoes all push options that start with 'echoback=' +# and rejects all pushes when the "reject" push option is used. +# +# To enable this hook, rename this file to "pre-receive". + +if test -n "$GIT_PUSH_OPTION_COUNT" +then + i=0 + while test "$i" -lt "$GIT_PUSH_OPTION_COUNT" + do + eval "value=\$GIT_PUSH_OPTION_$i" + case "$value" in + echoback=*) + echo "echo from the pre-receive-hook: ${value#*=}" >&2 + ;; + reject) + exit 1 + esac + i=$((i + 1)) + done +fi diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_prepare-commit-msg.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_prepare-commit-msg.sample new file mode 100644 index 0000000..10fa14c --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_prepare-commit-msg.sample @@ -0,0 +1,42 @@ +#!/bin/sh +# +# An example hook script to prepare the commit log message. +# Called by "git commit" with the name of the file that has the +# commit message, followed by the description of the commit +# message's source. The hook's purpose is to edit the commit +# message file. If the hook fails with a non-zero status, +# the commit is aborted. +# +# To enable this hook, rename this file to "prepare-commit-msg". + +# This hook includes three examples. The first one removes the +# "# Please enter the commit message..." help message. +# +# The second includes the output of "git diff --name-status -r" +# into the message, just before the "git status" output. It is +# commented because it doesn't cope with --amend or with squashed +# commits. +# +# The third example adds a Signed-off-by line to the message, that can +# still be edited. This is rarely a good idea. + +COMMIT_MSG_FILE=$1 +COMMIT_SOURCE=$2 +SHA1=$3 + +/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE" + +# case "$COMMIT_SOURCE,$SHA1" in +# ,|template,) +# /usr/bin/perl -i.bak -pe ' +# print "\n" . `git diff --cached --name-status -r` +# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;; +# *) ;; +# esac + +# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p') +# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE" +# if test -z "$COMMIT_SOURCE" +# then +# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE" +# fi diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_push-to-checkout.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_push-to-checkout.sample new file mode 100644 index 0000000..af5a0c0 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_push-to-checkout.sample @@ -0,0 +1,78 @@ +#!/bin/sh + +# An example hook script to update a checked-out tree on a git push. +# +# This hook is invoked by git-receive-pack(1) when it reacts to git +# push and updates reference(s) in its repository, and when the push +# tries to update the branch that is currently checked out and the +# receive.denyCurrentBranch configuration variable is set to +# updateInstead. +# +# By default, such a push is refused if the working tree and the index +# of the remote repository has any difference from the currently +# checked out commit; when both the working tree and the index match +# the current commit, they are updated to match the newly pushed tip +# of the branch. This hook is to be used to override the default +# behaviour; however the code below reimplements the default behaviour +# as a starting point for convenient modification. +# +# The hook receives the commit with which the tip of the current +# branch is going to be updated: +commit=$1 + +# It can exit with a non-zero status to refuse the push (when it does +# so, it must not modify the index or the working tree). +die () { + echo >&2 "$*" + exit 1 +} + +# Or it can make any necessary changes to the working tree and to the +# index to bring them to the desired state when the tip of the current +# branch is updated to the new commit, and exit with a zero status. +# +# For example, the hook can simply run git read-tree -u -m HEAD "$1" +# in order to emulate git fetch that is run in the reverse direction +# with git push, as the two-tree form of git read-tree -u -m is +# essentially the same as git switch or git checkout that switches +# branches while keeping the local changes in the working tree that do +# not interfere with the difference between the branches. + +# The below is a more-or-less exact translation to shell of the C code +# for the default behaviour for git's push-to-checkout hook defined in +# the push_to_deploy() function in builtin/receive-pack.c. +# +# Note that the hook will be executed from the repository directory, +# not from the working tree, so if you want to perform operations on +# the working tree, you will have to adapt your code accordingly, e.g. +# by adding "cd .." or using relative paths. + +if ! git update-index -q --ignore-submodules --refresh +then + die "Up-to-date check failed" +fi + +if ! git diff-files --quiet --ignore-submodules -- +then + die "Working directory has unstaged changes" +fi + +# This is a rough translation of: +# +# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX +if git cat-file -e HEAD 2>/dev/null +then + head=HEAD +else + head=$(git hash-object -t tree --stdin &2 + exit 1 +} + +unset GIT_DIR GIT_WORK_TREE +cd "$worktree" && + +if grep -q "^diff --git " "$1" +then + validate_patch "$1" +else + validate_cover_letter "$1" +fi && + +if test "$GIT_SENDEMAIL_FILE_COUNTER" = "$GIT_SENDEMAIL_FILE_TOTAL" +then + git config --unset-all sendemail.validateWorktree && + trap 'git worktree remove -ff "$worktree"' EXIT && + validate_series +fi diff --git a/dot_config/alacritty/themes/dot_git/hooks/executable_update.sample b/dot_config/alacritty/themes/dot_git/hooks/executable_update.sample new file mode 100644 index 0000000..c4d426b --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/hooks/executable_update.sample @@ -0,0 +1,128 @@ +#!/bin/sh +# +# An example hook script to block unannotated tags from entering. +# Called by "git receive-pack" with arguments: refname sha1-old sha1-new +# +# To enable this hook, rename this file to "update". +# +# Config +# ------ +# hooks.allowunannotated +# This boolean sets whether unannotated tags will be allowed into the +# repository. By default they won't be. +# hooks.allowdeletetag +# This boolean sets whether deleting tags will be allowed in the +# repository. By default they won't be. +# hooks.allowmodifytag +# This boolean sets whether a tag may be modified after creation. By default +# it won't be. +# hooks.allowdeletebranch +# This boolean sets whether deleting branches will be allowed in the +# repository. By default they won't be. +# hooks.denycreatebranch +# This boolean sets whether remotely creating branches will be denied +# in the repository. By default this is allowed. +# + +# --- Command line +refname="$1" +oldrev="$2" +newrev="$3" + +# --- Safety check +if [ -z "$GIT_DIR" ]; then + echo "Don't run this script from the command line." >&2 + echo " (if you want, you could supply GIT_DIR then run" >&2 + echo " $0 )" >&2 + exit 1 +fi + +if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then + echo "usage: $0 " >&2 + exit 1 +fi + +# --- Config +allowunannotated=$(git config --type=bool hooks.allowunannotated) +allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch) +denycreatebranch=$(git config --type=bool hooks.denycreatebranch) +allowdeletetag=$(git config --type=bool hooks.allowdeletetag) +allowmodifytag=$(git config --type=bool hooks.allowmodifytag) + +# check for no description +projectdesc=$(sed -e '1q' "$GIT_DIR/description") +case "$projectdesc" in +"Unnamed repository"* | "") + echo "*** Project description file hasn't been set" >&2 + exit 1 + ;; +esac + +# --- Check types +# if $newrev is 0000...0000, it's a commit to delete a ref. +zero=$(git hash-object --stdin &2 + echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2 + exit 1 + fi + ;; + refs/tags/*,delete) + # delete tag + if [ "$allowdeletetag" != "true" ]; then + echo "*** Deleting a tag is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/tags/*,tag) + # annotated tag + if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1 + then + echo "*** Tag '$refname' already exists." >&2 + echo "*** Modifying a tag is not allowed in this repository." >&2 + exit 1 + fi + ;; + refs/heads/*,commit) + # branch + if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then + echo "*** Creating a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/heads/*,delete) + # delete branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + refs/remotes/*,commit) + # tracking branch + ;; + refs/remotes/*,delete) + # delete tracking branch + if [ "$allowdeletebranch" != "true" ]; then + echo "*** Deleting a tracking branch is not allowed in this repository" >&2 + exit 1 + fi + ;; + *) + # Anything else (is there anything else?) + echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2 + exit 1 + ;; +esac + +# --- Finished +exit 0 diff --git a/dot_config/alacritty/themes/dot_git/index b/dot_config/alacritty/themes/dot_git/index new file mode 100644 index 0000000..3f9f6ff Binary files /dev/null and b/dot_config/alacritty/themes/dot_git/index differ diff --git a/dot_config/alacritty/themes/dot_git/info/exclude b/dot_config/alacritty/themes/dot_git/info/exclude new file mode 100644 index 0000000..a5196d1 --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/info/exclude @@ -0,0 +1,6 @@ +# git ls-files --others --exclude-from=.git/info/exclude +# Lines that start with '#' are comments. +# For a project mostly in C, the following would be a good set of +# exclude patterns (uncomment them if you want to use them): +# *.[oa] +# *~ diff --git a/dot_config/alacritty/themes/dot_git/logs/HEAD b/dot_config/alacritty/themes/dot_git/logs/HEAD new file mode 100644 index 0000000..dfcf87f --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/logs/HEAD @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 1b48c37f5c0c6c5ca0ad33b6dc322b3e380c1a2e Niklas 1693068438 +0200 clone: from https://github.com/alacritty/alacritty-theme diff --git a/dot_config/alacritty/themes/dot_git/logs/refs/heads/master b/dot_config/alacritty/themes/dot_git/logs/refs/heads/master new file mode 100644 index 0000000..dfcf87f --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/logs/refs/heads/master @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 1b48c37f5c0c6c5ca0ad33b6dc322b3e380c1a2e Niklas 1693068438 +0200 clone: from https://github.com/alacritty/alacritty-theme diff --git a/dot_config/alacritty/themes/dot_git/logs/refs/remotes/origin/HEAD b/dot_config/alacritty/themes/dot_git/logs/refs/remotes/origin/HEAD new file mode 100644 index 0000000..dfcf87f --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/logs/refs/remotes/origin/HEAD @@ -0,0 +1 @@ +0000000000000000000000000000000000000000 1b48c37f5c0c6c5ca0ad33b6dc322b3e380c1a2e Niklas 1693068438 +0200 clone: from https://github.com/alacritty/alacritty-theme diff --git a/dot_config/alacritty/themes/dot_git/objects/info/.keep b/dot_config/alacritty/themes/dot_git/objects/info/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.idx b/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.idx new file mode 100644 index 0000000..38db83e Binary files /dev/null and b/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.idx differ diff --git a/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.pack b/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.pack new file mode 100644 index 0000000..b072de4 Binary files /dev/null and b/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.pack differ diff --git a/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.rev b/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.rev new file mode 100644 index 0000000..3864d32 Binary files /dev/null and b/dot_config/alacritty/themes/dot_git/objects/pack/readonly_pack-3c0e488dabd1234af5c5aa1841bf5021e2de9197.rev differ diff --git a/dot_config/alacritty/themes/dot_git/packed-refs b/dot_config/alacritty/themes/dot_git/packed-refs new file mode 100644 index 0000000..278813b --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/packed-refs @@ -0,0 +1,2 @@ +# pack-refs with: peeled fully-peeled sorted +1b48c37f5c0c6c5ca0ad33b6dc322b3e380c1a2e refs/remotes/origin/master diff --git a/dot_config/alacritty/themes/dot_git/refs/heads/master b/dot_config/alacritty/themes/dot_git/refs/heads/master new file mode 100644 index 0000000..85cd8ed --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/refs/heads/master @@ -0,0 +1 @@ +1b48c37f5c0c6c5ca0ad33b6dc322b3e380c1a2e diff --git a/dot_config/alacritty/themes/dot_git/refs/remotes/origin/HEAD b/dot_config/alacritty/themes/dot_git/refs/remotes/origin/HEAD new file mode 100644 index 0000000..6efe28f --- /dev/null +++ b/dot_config/alacritty/themes/dot_git/refs/remotes/origin/HEAD @@ -0,0 +1 @@ +ref: refs/remotes/origin/master diff --git a/dot_config/alacritty/themes/dot_git/refs/tags/.keep b/dot_config/alacritty/themes/dot_git/refs/tags/.keep new file mode 100644 index 0000000..e69de29 diff --git a/dot_config/alacritty/themes/executable_print_colors.sh b/dot_config/alacritty/themes/executable_print_colors.sh new file mode 100644 index 0000000..100099f --- /dev/null +++ b/dot_config/alacritty/themes/executable_print_colors.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +printf "|039| \033[39mDefault \033[m |049| \033[49mDefault \033[m |037| \033[37mLight gray \033[m |047| \033[47mLight gray \033[m\n" +printf "|030| \033[30mBlack \033[m |040| \033[40mBlack \033[m |090| \033[90mDark gray \033[m |100| \033[100mDark gray \033[m\n" +printf "|031| \033[31mRed \033[m |041| \033[41mRed \033[m |091| \033[91mLight red \033[m |101| \033[101mLight red \033[m\n" +printf "|032| \033[32mGreen \033[m |042| \033[42mGreen \033[m |092| \033[92mLight green \033[m |102| \033[102mLight green \033[m\n" +printf "|033| \033[33mYellow \033[m |043| \033[43mYellow \033[m |093| \033[93mLight yellow \033[m |103| \033[103mLight yellow \033[m\n" +printf "|034| \033[34mBlue \033[m |044| \033[44mBlue \033[m |094| \033[94mLight blue \033[m |104| \033[104mLight blue \033[m\n" +printf "|035| \033[35mMagenta \033[m |045| \033[45mMagenta \033[m |095| \033[95mLight magenta \033[m |105| \033[105mLight magenta \033[m\n" +printf "|036| \033[36mCyan \033[m |046| \033[46mCyan \033[m |096| \033[96mLight cyan \033[m |106| \033[106mLight cyan \033[m\n" diff --git a/dot_config/alacritty/themes/images/Cobalt2.png b/dot_config/alacritty/themes/images/Cobalt2.png new file mode 100644 index 0000000..f410a18 Binary files /dev/null and b/dot_config/alacritty/themes/images/Cobalt2.png differ diff --git a/dot_config/alacritty/themes/images/afterglow.png b/dot_config/alacritty/themes/images/afterglow.png new file mode 100644 index 0000000..9ab4f3d Binary files /dev/null and b/dot_config/alacritty/themes/images/afterglow.png differ diff --git a/dot_config/alacritty/themes/images/alabaster.png b/dot_config/alacritty/themes/images/alabaster.png new file mode 100644 index 0000000..6b9042e Binary files /dev/null and b/dot_config/alacritty/themes/images/alabaster.png differ diff --git a/dot_config/alacritty/themes/images/alabaster_dark.png b/dot_config/alacritty/themes/images/alabaster_dark.png new file mode 100644 index 0000000..ffea3cb Binary files /dev/null and b/dot_config/alacritty/themes/images/alabaster_dark.png differ diff --git a/dot_config/alacritty/themes/images/argonaut.png b/dot_config/alacritty/themes/images/argonaut.png new file mode 100644 index 0000000..2845c9b Binary files /dev/null and b/dot_config/alacritty/themes/images/argonaut.png differ diff --git a/dot_config/alacritty/themes/images/atom_one_light.png b/dot_config/alacritty/themes/images/atom_one_light.png new file mode 100644 index 0000000..6c98bb1 Binary files /dev/null and b/dot_config/alacritty/themes/images/atom_one_light.png differ diff --git a/dot_config/alacritty/themes/images/ayu_dark.png b/dot_config/alacritty/themes/images/ayu_dark.png new file mode 100644 index 0000000..4d4581d Binary files /dev/null and b/dot_config/alacritty/themes/images/ayu_dark.png differ diff --git a/dot_config/alacritty/themes/images/ayu_light.png b/dot_config/alacritty/themes/images/ayu_light.png new file mode 100644 index 0000000..21d3ea4 Binary files /dev/null and b/dot_config/alacritty/themes/images/ayu_light.png differ diff --git a/dot_config/alacritty/themes/images/baitong.png b/dot_config/alacritty/themes/images/baitong.png new file mode 100644 index 0000000..9950473 Binary files /dev/null and b/dot_config/alacritty/themes/images/baitong.png differ diff --git a/dot_config/alacritty/themes/images/base16_default_dark.png b/dot_config/alacritty/themes/images/base16_default_dark.png new file mode 100644 index 0000000..f6c9036 Binary files /dev/null and b/dot_config/alacritty/themes/images/base16_default_dark.png differ diff --git a/dot_config/alacritty/themes/images/blood_moon.png b/dot_config/alacritty/themes/images/blood_moon.png new file mode 100644 index 0000000..40c84ee Binary files /dev/null and b/dot_config/alacritty/themes/images/blood_moon.png differ diff --git a/dot_config/alacritty/themes/images/bluish.png b/dot_config/alacritty/themes/images/bluish.png new file mode 100644 index 0000000..0040739 Binary files /dev/null and b/dot_config/alacritty/themes/images/bluish.png differ diff --git a/dot_config/alacritty/themes/images/breeze.png b/dot_config/alacritty/themes/images/breeze.png new file mode 100644 index 0000000..7a41c14 Binary files /dev/null and b/dot_config/alacritty/themes/images/breeze.png differ diff --git a/dot_config/alacritty/themes/images/campbell.png b/dot_config/alacritty/themes/images/campbell.png new file mode 100644 index 0000000..54c9414 Binary files /dev/null and b/dot_config/alacritty/themes/images/campbell.png differ diff --git a/dot_config/alacritty/themes/images/carbonfox.png b/dot_config/alacritty/themes/images/carbonfox.png new file mode 100644 index 0000000..f7b781a Binary files /dev/null and b/dot_config/alacritty/themes/images/carbonfox.png differ diff --git a/dot_config/alacritty/themes/images/catppuccin.png b/dot_config/alacritty/themes/images/catppuccin.png new file mode 100644 index 0000000..a306546 Binary files /dev/null and b/dot_config/alacritty/themes/images/catppuccin.png differ diff --git a/dot_config/alacritty/themes/images/challenger_deep.png b/dot_config/alacritty/themes/images/challenger_deep.png new file mode 100644 index 0000000..49c4223 Binary files /dev/null and b/dot_config/alacritty/themes/images/challenger_deep.png differ diff --git a/dot_config/alacritty/themes/images/citylights.png b/dot_config/alacritty/themes/images/citylights.png new file mode 100644 index 0000000..0122f7b Binary files /dev/null and b/dot_config/alacritty/themes/images/citylights.png differ diff --git a/dot_config/alacritty/themes/images/cyber_punk_neon.png b/dot_config/alacritty/themes/images/cyber_punk_neon.png new file mode 100644 index 0000000..ddc6f3e Binary files /dev/null and b/dot_config/alacritty/themes/images/cyber_punk_neon.png differ diff --git a/dot_config/alacritty/themes/images/darcula.png b/dot_config/alacritty/themes/images/darcula.png new file mode 100644 index 0000000..0f022f2 Binary files /dev/null and b/dot_config/alacritty/themes/images/darcula.png differ diff --git a/dot_config/alacritty/themes/images/dark_pastels.png b/dot_config/alacritty/themes/images/dark_pastels.png new file mode 100644 index 0000000..f8102f8 Binary files /dev/null and b/dot_config/alacritty/themes/images/dark_pastels.png differ diff --git a/dot_config/alacritty/themes/images/deep_space.png b/dot_config/alacritty/themes/images/deep_space.png new file mode 100644 index 0000000..5ed5ffc Binary files /dev/null and b/dot_config/alacritty/themes/images/deep_space.png differ diff --git a/dot_config/alacritty/themes/images/doom_one.png b/dot_config/alacritty/themes/images/doom_one.png new file mode 100644 index 0000000..73818db Binary files /dev/null and b/dot_config/alacritty/themes/images/doom_one.png differ diff --git a/dot_config/alacritty/themes/images/dracula.png b/dot_config/alacritty/themes/images/dracula.png new file mode 100644 index 0000000..128daeb Binary files /dev/null and b/dot_config/alacritty/themes/images/dracula.png differ diff --git a/dot_config/alacritty/themes/images/everforest_dark.png b/dot_config/alacritty/themes/images/everforest_dark.png new file mode 100644 index 0000000..4d26ba2 Binary files /dev/null and b/dot_config/alacritty/themes/images/everforest_dark.png differ diff --git a/dot_config/alacritty/themes/images/everforest_light.png b/dot_config/alacritty/themes/images/everforest_light.png new file mode 100644 index 0000000..520a5d5 Binary files /dev/null and b/dot_config/alacritty/themes/images/everforest_light.png differ diff --git a/dot_config/alacritty/themes/images/falcon.png b/dot_config/alacritty/themes/images/falcon.png new file mode 100644 index 0000000..0509231 Binary files /dev/null and b/dot_config/alacritty/themes/images/falcon.png differ diff --git a/dot_config/alacritty/themes/images/flat_remix.png b/dot_config/alacritty/themes/images/flat_remix.png new file mode 100644 index 0000000..524461d Binary files /dev/null and b/dot_config/alacritty/themes/images/flat_remix.png differ diff --git a/dot_config/alacritty/themes/images/github_dark.png b/dot_config/alacritty/themes/images/github_dark.png new file mode 100644 index 0000000..066b2cf Binary files /dev/null and b/dot_config/alacritty/themes/images/github_dark.png differ diff --git a/dot_config/alacritty/themes/images/github_dark_colorblind.png b/dot_config/alacritty/themes/images/github_dark_colorblind.png new file mode 100644 index 0000000..5e874ae Binary files /dev/null and b/dot_config/alacritty/themes/images/github_dark_colorblind.png differ diff --git a/dot_config/alacritty/themes/images/github_dark_default.png b/dot_config/alacritty/themes/images/github_dark_default.png new file mode 100644 index 0000000..4de4935 Binary files /dev/null and b/dot_config/alacritty/themes/images/github_dark_default.png differ diff --git a/dot_config/alacritty/themes/images/github_dimmed.png b/dot_config/alacritty/themes/images/github_dimmed.png new file mode 100644 index 0000000..0f7e209 Binary files /dev/null and b/dot_config/alacritty/themes/images/github_dimmed.png differ diff --git a/dot_config/alacritty/themes/images/github_light.png b/dot_config/alacritty/themes/images/github_light.png new file mode 100644 index 0000000..03524f0 Binary files /dev/null and b/dot_config/alacritty/themes/images/github_light.png differ diff --git a/dot_config/alacritty/themes/images/github_light_colorblind.png b/dot_config/alacritty/themes/images/github_light_colorblind.png new file mode 100644 index 0000000..4e15ec8 Binary files /dev/null and b/dot_config/alacritty/themes/images/github_light_colorblind.png differ diff --git a/dot_config/alacritty/themes/images/github_light_default.png b/dot_config/alacritty/themes/images/github_light_default.png new file mode 100644 index 0000000..92e0264 Binary files /dev/null and b/dot_config/alacritty/themes/images/github_light_default.png differ diff --git a/dot_config/alacritty/themes/images/gnome_terminal.png b/dot_config/alacritty/themes/images/gnome_terminal.png new file mode 100644 index 0000000..df8d76f Binary files /dev/null and b/dot_config/alacritty/themes/images/gnome_terminal.png differ diff --git a/dot_config/alacritty/themes/images/gotham.png b/dot_config/alacritty/themes/images/gotham.png new file mode 100644 index 0000000..696466d Binary files /dev/null and b/dot_config/alacritty/themes/images/gotham.png differ diff --git a/dot_config/alacritty/themes/images/gruvbox_dark.png b/dot_config/alacritty/themes/images/gruvbox_dark.png new file mode 100644 index 0000000..1124b94 Binary files /dev/null and b/dot_config/alacritty/themes/images/gruvbox_dark.png differ diff --git a/dot_config/alacritty/themes/images/gruvbox_light.png b/dot_config/alacritty/themes/images/gruvbox_light.png new file mode 100644 index 0000000..1b1efb1 Binary files /dev/null and b/dot_config/alacritty/themes/images/gruvbox_light.png differ diff --git a/dot_config/alacritty/themes/images/gruvbox_material_medium_dark.png b/dot_config/alacritty/themes/images/gruvbox_material_medium_dark.png new file mode 100644 index 0000000..d4f725e Binary files /dev/null and b/dot_config/alacritty/themes/images/gruvbox_material_medium_dark.png differ diff --git a/dot_config/alacritty/themes/images/gruvbox_material_medium_light.png b/dot_config/alacritty/themes/images/gruvbox_material_medium_light.png new file mode 100644 index 0000000..68464f9 Binary files /dev/null and b/dot_config/alacritty/themes/images/gruvbox_material_medium_light.png differ diff --git a/dot_config/alacritty/themes/images/hardhacker.png b/dot_config/alacritty/themes/images/hardhacker.png new file mode 100644 index 0000000..9492ae4 Binary files /dev/null and b/dot_config/alacritty/themes/images/hardhacker.png differ diff --git a/dot_config/alacritty/themes/images/high_contrast.png b/dot_config/alacritty/themes/images/high_contrast.png new file mode 100644 index 0000000..7814b33 Binary files /dev/null and b/dot_config/alacritty/themes/images/high_contrast.png differ diff --git a/dot_config/alacritty/themes/images/horizon-dark.png b/dot_config/alacritty/themes/images/horizon-dark.png new file mode 100644 index 0000000..f5d11e0 Binary files /dev/null and b/dot_config/alacritty/themes/images/horizon-dark.png differ diff --git a/dot_config/alacritty/themes/images/hyper.png b/dot_config/alacritty/themes/images/hyper.png new file mode 100644 index 0000000..f79dd00 Binary files /dev/null and b/dot_config/alacritty/themes/images/hyper.png differ diff --git a/dot_config/alacritty/themes/images/inferno.png b/dot_config/alacritty/themes/images/inferno.png new file mode 100644 index 0000000..fe676d2 Binary files /dev/null and b/dot_config/alacritty/themes/images/inferno.png differ diff --git a/dot_config/alacritty/themes/images/iterm.png b/dot_config/alacritty/themes/images/iterm.png new file mode 100644 index 0000000..9cec735 Binary files /dev/null and b/dot_config/alacritty/themes/images/iterm.png differ diff --git a/dot_config/alacritty/themes/images/kanagawa_dragon.png b/dot_config/alacritty/themes/images/kanagawa_dragon.png new file mode 100644 index 0000000..dfce5ef Binary files /dev/null and b/dot_config/alacritty/themes/images/kanagawa_dragon.png differ diff --git a/dot_config/alacritty/themes/images/kanagawa_wave.png b/dot_config/alacritty/themes/images/kanagawa_wave.png new file mode 100644 index 0000000..21c3838 Binary files /dev/null and b/dot_config/alacritty/themes/images/kanagawa_wave.png differ diff --git a/dot_config/alacritty/themes/images/konsole_linux.png b/dot_config/alacritty/themes/images/konsole_linux.png new file mode 100644 index 0000000..e4b64ee Binary files /dev/null and b/dot_config/alacritty/themes/images/konsole_linux.png differ diff --git a/dot_config/alacritty/themes/images/low_contrast.png b/dot_config/alacritty/themes/images/low_contrast.png new file mode 100644 index 0000000..52970f5 Binary files /dev/null and b/dot_config/alacritty/themes/images/low_contrast.png differ diff --git a/dot_config/alacritty/themes/images/mariana.png b/dot_config/alacritty/themes/images/mariana.png new file mode 100644 index 0000000..6315056 Binary files /dev/null and b/dot_config/alacritty/themes/images/mariana.png differ diff --git a/dot_config/alacritty/themes/images/marine_dark.png b/dot_config/alacritty/themes/images/marine_dark.png new file mode 100644 index 0000000..8ee9d86 Binary files /dev/null and b/dot_config/alacritty/themes/images/marine_dark.png differ diff --git a/dot_config/alacritty/themes/images/material_theme.png b/dot_config/alacritty/themes/images/material_theme.png new file mode 100644 index 0000000..3098592 Binary files /dev/null and b/dot_config/alacritty/themes/images/material_theme.png differ diff --git a/dot_config/alacritty/themes/images/material_theme_mod.png b/dot_config/alacritty/themes/images/material_theme_mod.png new file mode 100644 index 0000000..a310664 Binary files /dev/null and b/dot_config/alacritty/themes/images/material_theme_mod.png differ diff --git a/dot_config/alacritty/themes/images/meliora.png b/dot_config/alacritty/themes/images/meliora.png new file mode 100644 index 0000000..563cb38 Binary files /dev/null and b/dot_config/alacritty/themes/images/meliora.png differ diff --git a/dot_config/alacritty/themes/images/midnight-haze.png b/dot_config/alacritty/themes/images/midnight-haze.png new file mode 100644 index 0000000..143c08c Binary files /dev/null and b/dot_config/alacritty/themes/images/midnight-haze.png differ diff --git a/dot_config/alacritty/themes/images/monokai-charcoal.png b/dot_config/alacritty/themes/images/monokai-charcoal.png new file mode 100644 index 0000000..e6648a9 Binary files /dev/null and b/dot_config/alacritty/themes/images/monokai-charcoal.png differ diff --git a/dot_config/alacritty/themes/images/monokai_pro.png b/dot_config/alacritty/themes/images/monokai_pro.png new file mode 100644 index 0000000..95437fa Binary files /dev/null and b/dot_config/alacritty/themes/images/monokai_pro.png differ diff --git a/dot_config/alacritty/themes/images/moonlight_ii_vscode.png b/dot_config/alacritty/themes/images/moonlight_ii_vscode.png new file mode 100644 index 0000000..1058371 Binary files /dev/null and b/dot_config/alacritty/themes/images/moonlight_ii_vscode.png differ diff --git a/dot_config/alacritty/themes/images/msx.png b/dot_config/alacritty/themes/images/msx.png new file mode 100644 index 0000000..a765bfe Binary files /dev/null and b/dot_config/alacritty/themes/images/msx.png differ diff --git a/dot_config/alacritty/themes/images/night_owlish_light.png b/dot_config/alacritty/themes/images/night_owlish_light.png new file mode 100644 index 0000000..6178912 Binary files /dev/null and b/dot_config/alacritty/themes/images/night_owlish_light.png differ diff --git a/dot_config/alacritty/themes/images/nightfox.png b/dot_config/alacritty/themes/images/nightfox.png new file mode 100644 index 0000000..699c128 Binary files /dev/null and b/dot_config/alacritty/themes/images/nightfox.png differ diff --git a/dot_config/alacritty/themes/images/nord.png b/dot_config/alacritty/themes/images/nord.png new file mode 100644 index 0000000..ad1ec75 Binary files /dev/null and b/dot_config/alacritty/themes/images/nord.png differ diff --git a/dot_config/alacritty/themes/images/oceanic_next.png b/dot_config/alacritty/themes/images/oceanic_next.png new file mode 100644 index 0000000..2408c9e Binary files /dev/null and b/dot_config/alacritty/themes/images/oceanic_next.png differ diff --git a/dot_config/alacritty/themes/images/omni.png b/dot_config/alacritty/themes/images/omni.png new file mode 100644 index 0000000..efabdc8 Binary files /dev/null and b/dot_config/alacritty/themes/images/omni.png differ diff --git a/dot_config/alacritty/themes/images/one_dark.png b/dot_config/alacritty/themes/images/one_dark.png new file mode 100644 index 0000000..089ed78 Binary files /dev/null and b/dot_config/alacritty/themes/images/one_dark.png differ diff --git a/dot_config/alacritty/themes/images/palenight.png b/dot_config/alacritty/themes/images/palenight.png new file mode 100644 index 0000000..9e0fd58 Binary files /dev/null and b/dot_config/alacritty/themes/images/palenight.png differ diff --git a/dot_config/alacritty/themes/images/papercolor_dark.png b/dot_config/alacritty/themes/images/papercolor_dark.png new file mode 100644 index 0000000..a5d3f77 Binary files /dev/null and b/dot_config/alacritty/themes/images/papercolor_dark.png differ diff --git a/dot_config/alacritty/themes/images/papercolor_light.png b/dot_config/alacritty/themes/images/papercolor_light.png new file mode 100644 index 0000000..7e7b9e6 Binary files /dev/null and b/dot_config/alacritty/themes/images/papercolor_light.png differ diff --git a/dot_config/alacritty/themes/images/papertheme.png b/dot_config/alacritty/themes/images/papertheme.png new file mode 100644 index 0000000..ec5d947 Binary files /dev/null and b/dot_config/alacritty/themes/images/papertheme.png differ diff --git a/dot_config/alacritty/themes/images/pencil_dark.png b/dot_config/alacritty/themes/images/pencil_dark.png new file mode 100644 index 0000000..5cf5df0 Binary files /dev/null and b/dot_config/alacritty/themes/images/pencil_dark.png differ diff --git a/dot_config/alacritty/themes/images/pencil_light.png b/dot_config/alacritty/themes/images/pencil_light.png new file mode 100644 index 0000000..c392e14 Binary files /dev/null and b/dot_config/alacritty/themes/images/pencil_light.png differ diff --git a/dot_config/alacritty/themes/images/rainbow.png b/dot_config/alacritty/themes/images/rainbow.png new file mode 100644 index 0000000..1825f63 Binary files /dev/null and b/dot_config/alacritty/themes/images/rainbow.png differ diff --git a/dot_config/alacritty/themes/images/remedy_dark.png b/dot_config/alacritty/themes/images/remedy_dark.png new file mode 100644 index 0000000..eac67b5 Binary files /dev/null and b/dot_config/alacritty/themes/images/remedy_dark.png differ diff --git a/dot_config/alacritty/themes/images/rose-pine-dawn.png b/dot_config/alacritty/themes/images/rose-pine-dawn.png new file mode 100644 index 0000000..96e25b8 Binary files /dev/null and b/dot_config/alacritty/themes/images/rose-pine-dawn.png differ diff --git a/dot_config/alacritty/themes/images/rose-pine-moon.png b/dot_config/alacritty/themes/images/rose-pine-moon.png new file mode 100644 index 0000000..c640e33 Binary files /dev/null and b/dot_config/alacritty/themes/images/rose-pine-moon.png differ diff --git a/dot_config/alacritty/themes/images/rose-pine.png b/dot_config/alacritty/themes/images/rose-pine.png new file mode 100644 index 0000000..00de305 Binary files /dev/null and b/dot_config/alacritty/themes/images/rose-pine.png differ diff --git a/dot_config/alacritty/themes/images/seashells.png b/dot_config/alacritty/themes/images/seashells.png new file mode 100644 index 0000000..b76f2f8 Binary files /dev/null and b/dot_config/alacritty/themes/images/seashells.png differ diff --git a/dot_config/alacritty/themes/images/smoooooth.png b/dot_config/alacritty/themes/images/smoooooth.png new file mode 100644 index 0000000..7034974 Binary files /dev/null and b/dot_config/alacritty/themes/images/smoooooth.png differ diff --git a/dot_config/alacritty/themes/images/snazzy.png b/dot_config/alacritty/themes/images/snazzy.png new file mode 100644 index 0000000..9632f15 Binary files /dev/null and b/dot_config/alacritty/themes/images/snazzy.png differ diff --git a/dot_config/alacritty/themes/images/solarized_dark.png b/dot_config/alacritty/themes/images/solarized_dark.png new file mode 100644 index 0000000..27f98fd Binary files /dev/null and b/dot_config/alacritty/themes/images/solarized_dark.png differ diff --git a/dot_config/alacritty/themes/images/solarized_light.png b/dot_config/alacritty/themes/images/solarized_light.png new file mode 100644 index 0000000..5d23dde Binary files /dev/null and b/dot_config/alacritty/themes/images/solarized_light.png differ diff --git a/dot_config/alacritty/themes/images/taerminal.png b/dot_config/alacritty/themes/images/taerminal.png new file mode 100644 index 0000000..0619607 Binary files /dev/null and b/dot_config/alacritty/themes/images/taerminal.png differ diff --git a/dot_config/alacritty/themes/images/tango_dark.png b/dot_config/alacritty/themes/images/tango_dark.png new file mode 100644 index 0000000..b1e3915 Binary files /dev/null and b/dot_config/alacritty/themes/images/tango_dark.png differ diff --git a/dot_config/alacritty/themes/images/tender.png b/dot_config/alacritty/themes/images/tender.png new file mode 100644 index 0000000..d817267 Binary files /dev/null and b/dot_config/alacritty/themes/images/tender.png differ diff --git a/dot_config/alacritty/themes/images/terminal_app.png b/dot_config/alacritty/themes/images/terminal_app.png new file mode 100644 index 0000000..81c9da1 Binary files /dev/null and b/dot_config/alacritty/themes/images/terminal_app.png differ diff --git a/dot_config/alacritty/themes/images/thelovelace.png b/dot_config/alacritty/themes/images/thelovelace.png new file mode 100644 index 0000000..269a797 Binary files /dev/null and b/dot_config/alacritty/themes/images/thelovelace.png differ diff --git a/dot_config/alacritty/themes/images/tokyo-night-storm.png b/dot_config/alacritty/themes/images/tokyo-night-storm.png new file mode 100644 index 0000000..ad39605 Binary files /dev/null and b/dot_config/alacritty/themes/images/tokyo-night-storm.png differ diff --git a/dot_config/alacritty/themes/images/tokyo-night.png b/dot_config/alacritty/themes/images/tokyo-night.png new file mode 100644 index 0000000..d6ed018 Binary files /dev/null and b/dot_config/alacritty/themes/images/tokyo-night.png differ diff --git a/dot_config/alacritty/themes/images/tomorrow_night.png b/dot_config/alacritty/themes/images/tomorrow_night.png new file mode 100644 index 0000000..ab9ac93 Binary files /dev/null and b/dot_config/alacritty/themes/images/tomorrow_night.png differ diff --git a/dot_config/alacritty/themes/images/tomorrow_night_bright.png b/dot_config/alacritty/themes/images/tomorrow_night_bright.png new file mode 100644 index 0000000..b5d1493 Binary files /dev/null and b/dot_config/alacritty/themes/images/tomorrow_night_bright.png differ diff --git a/dot_config/alacritty/themes/images/ubuntu.png b/dot_config/alacritty/themes/images/ubuntu.png new file mode 100644 index 0000000..f3cc1d8 Binary files /dev/null and b/dot_config/alacritty/themes/images/ubuntu.png differ diff --git a/dot_config/alacritty/themes/images/wombat.png b/dot_config/alacritty/themes/images/wombat.png new file mode 100644 index 0000000..651534c Binary files /dev/null and b/dot_config/alacritty/themes/images/wombat.png differ diff --git a/dot_config/alacritty/themes/images/xterm.png b/dot_config/alacritty/themes/images/xterm.png new file mode 100644 index 0000000..62e3039 Binary files /dev/null and b/dot_config/alacritty/themes/images/xterm.png differ diff --git a/dot_config/alacritty/themes/images/zenburn.png b/dot_config/alacritty/themes/images/zenburn.png new file mode 100644 index 0000000..c3fa0a8 Binary files /dev/null and b/dot_config/alacritty/themes/images/zenburn.png differ diff --git a/dot_config/alacritty/themes/schemes.yaml b/dot_config/alacritty/themes/schemes.yaml new file mode 100644 index 0000000..e52ff97 --- /dev/null +++ b/dot_config/alacritty/themes/schemes.yaml @@ -0,0 +1,2589 @@ +schemes: + afterglow: &afterglow + primary: + background: '0x2c2c2c' + foreground: '0xd6d6d6' + dim_foreground: '0xdbdbdb' + bright_foreground: '0xd9d9d9' + dim_background: '0x202020' # not sure + bright_background: '0x3a3a3a' # not sure + cursor: + text: '0x2c2c2c' + cursor: '0xd9d9d9' + normal: + black: '0x1c1c1c' + red: '0xbc5653' + green: '0x909d63' + yellow: '0xebc17a' + blue: '0x7eaac7' + magenta: '0xaa6292' + cyan: '0x86d3ce' + white: '0xcacaca' + bright: + black: '0x636363' + red: '0xbc5653' + green: '0x909d63' + yellow: '0xebc17a' + blue: '0x7eaac7' + magenta: '0xaa6292' + cyan: '0x86d3ce' + white: '0xf7f7f7' + dim: + black: '0x232323' + red: '0x74423f' + green: '0x5e6547' + yellow: '0x8b7653' + blue: '0x556b79' + magenta: '0x6e4962' + cyan: '0x5c8482' + white: '0x828282' + + afterglow: &alabaster + primary: + background: "#F7F7F7" + foreground: "#434343" + cursor: + text: "#F7F7F7" + cursor: "#434343" + normal: + black: "#000000" + red: "#AA3731" + green: "#448C27" + yellow: "#CB9000" + blue: "#325CC0" + magenta: "#7A3E9D" + cyan: "#0083B2" + white: "#BBBBBB" + bright: + black: "#777777" + red: "#F05050" + green: "#60CB00" + yellow: "#FFBC5D" + blue: "#007ACC" + magenta: "#E64CE6" + cyan: "#00AACB" + white: "#FFFFFF" + + afterglow: &alabaster_dark + primary: + background: "#0E1415" + foreground: "#CECECE" + cursor: + text: "#0E1415" + cursor: "#CECECE" + normal: + black: "#0E1415" + red: "#e25d56" + green: "#73ca50" + yellow: "#e9bf57" + blue: "#4a88e4" + magenta: "#915caf" + cyan: "#23acdd" + white: "#f0f0f0" + bright: + black: "#777777" + red: "#f36868" + green: "#88db3f" + yellow: "#f0bf7a" + blue: "#6f8fdb" + magenta: "#e987e9" + cyan: "#4ac9e2" + white: "#FFFFFF" + + argonaut: &argonaut + primary: + background: '0x292C3E' + foreground: '0xEBEBEB' + cursor: + text: '0xFF261E' + cursor: '0xFF261E' + normal: + black: '0x0d0d0d' + red: '0xFF301B' + green: '0xA0E521' + yellow: '0xFFC620' + blue: '0x1BA6FA' + magenta: '0x8763B8' + cyan: '0x21DEEF' + white: '0xEBEBEB' + bright: + black: '0x6D7070' + red: '0xFF4352' + green: '0xB8E466' + yellow: '0xFFD750' + blue: '0x1BA6FA' + magenta: '0xA578EA' + cyan: '0x73FBF1' + white: '0xFEFEF8' + + atom_one_light: &atom_one_light + primary: + background: '0xf8f8f8' + foreground: '0x2a2b33' + normal: + black: '0x000000' + red: '0xde3d35' + green: '0x3e953a' + yellow: '0xd2b67b' + blue: '0x2f5af3' + magenta: '0xa00095' + cyan: '0x3e953a' + white: '0xbbbbbb' + bright: + black: '0x000000' + red: '0xde3d35' + green: '0x3e953a' + yellow: '0xd2b67b' + blue: '0x2f5af3' + magenta: '0xa00095' + cyan: '0x3e953a' + white: '0xffffff' + + ayu_dark: &ayu_dark + primary: + background: '0x0A0E14' + foreground: '0xB3B1AD' + normal: + black: '0x01060E' + red: '0xEA6C73' + green: '0x91B362' + yellow: '0xF9AF4F' + blue: '0x53BDFA' + magenta: '0xFAE994' + cyan: '0x90E1C6' + white: '0xC7C7C7' + bright: + black: '0x686868' + red: '0xF07178' + green: '0xC2D94C' + yellow: '0xFFB454' + blue: '0x59C2FF' + magenta: '0xFFEE99' + cyan: '0x95E6CB' + white: '0xFFFFFF' + + ayu_light: &ayu_light + primary: + background: '0xFCFCFC' + foreground: '0x5C6166' + normal: + black: '0x010101' + red: '0xe7666a' + green: '0x80ab24' + yellow: '0xeba54d' + blue: '0x4196df' + magenta: '0x9870c3' + cyan: '0x51b891' + white: '0xc1c1c1' + bright: + black: '0x343434' + red: '0xee9295' + green: '0x9fd32f' + yellow: '0xf0bc7b' + blue: '0x6daee6' + magenta: '0xb294d2' + cyan: '0x75c7a8' + white: '0xdbdbdb' + + baitong: &baitong + primary: + background: '#112a2a' + foreground: '#33ff33' + cursor: + text: '#112a2a' + cursor: '#ff00ff' + vi_mode_cursor: + text: '#112a2a' + cursor: '#ff00ff' + search: + matches: + foreground: '#000000' + background: '#1AE642' + focused_match: + foreground: '#000000' + background: '#ff00ff' + hints: + start: + foreground: '#1d1f21' + background: '#1AE642' + end: + foreground: '#1AE642' + background: '#1d1f21' + line_indicator: + foreground: '#33ff33' + background: '#1d1f21' + footer_bar: + background: '#731d8b' + foreground: '#ffffff' + selection: + text: '#112a2a' + background: '#1AE642' + normal: + black: '#000000' + red: '#f77272' + green: '#33ff33' + yellow: '#1AE642' + blue: '#68FDFE' + magenta: '#ff66ff' + cyan: '#87CEFA' + white: '#dbdbd9' + bright: + black: '#ffffff' + red: '#f77272' + green: '#33ff33' + yellow: '#1AE642' + blue: '#68FDFE' + magenta: '#ff66ff' + cyan: '#68FDFE' + white: '#dbdbd9' + + base16_dark: &base16_dark + primary: + background: '0x181818' + foreground: '0xd8d8d8' + cursor: + text: '0xd8d8d8' + cursor: '0xd8d8d8' + normal: + black: '0x181818' + red: '0xab4642' + green: '0xa1b56c' + yellow: '0xf7ca88' + blue: '0x7cafc2' + magenta: '0xba8baf' + cyan: '0x86c1b9' + white: '0xd8d8d8' + bright: + black: '0x585858' + red: '0xab4642' + green: '0xa1b56c' + yellow: '0xf7ca88' + blue: '0x7cafc2' + magenta: '0xba8baf' + cyan: '0x86c1b9' + white: '0xf8f8f8' + + blood_moon: &blood_moon + primary: + background: '0x10100E' + foreground: '0xC6C6C4' + normal: + black: '0x10100E' + red: '0xC40233' + green: '0x009F6B' + yellow: '0xFFD700' + blue: '0x0087BD' + magenta: '0x9A4EAE' + cyan: '0x20B2AA' + white: '0xC6C6C4' + bright: + black: '0x696969' + red: '0xFF2400' + green: '0x03C03C' + yellow: '0xFDFF00' + blue: '0x007FFF' + magenta: '0xFF1493' + cyan: '0x00CCCC' + white: '0xFFFAFA' + + bluish: &bluish + primary: + background: '0x2c3640' + foreground: '0x297dd3' + normal: + black: '0x0b0b0c' + red: '0x377fc4' + green: '0x2691e7' + yellow: '0x2090c1' + blue: '0x2c5e87' + magenta: '0x436280' + cyan: '0x547aa2' + white: '0x536679' + bright: + black: '0x23272c' + red: '0x66a5cc' + green: '0x59b0f2' + yellow: '0x4bb0d3' + blue: '0x487092' + magenta: '0x50829e' + cyan: '0x658795' + white: '0x4d676b' + + breeze: &breeze + primary: + background: '0x232627' + foreground: '0xfcfcfc' + dim_foreground: '0xeff0f1' + bright_foreground: '0xffffff' + dim_background: '0x31363b' + bright_background: '0x000000' + normal: + black: '0x232627' + red: '0xed1515' + green: '0x11d116' + yellow: '0xf67400' + blue: '0x1d99f3' + magenta: '0x9b59b6' + cyan: '0x1abc9c' + white: '0xfcfcfc' + bright: + black: '0x7f8c8d' + red: '0xc0392b' + green: '0x1cdc9a' + yellow: '0xfdbc4b' + blue: '0x3daee9' + magenta: '0x8e44ad' + cyan: '0x16a085' + white: '0xffffff' + dim: + black: '0x31363b' + red: '0x783228' + green: '0x17a262' + yellow: '0xb65619' + blue: '0x1b668f' + magenta: '0x614a73' + cyan: '0x186c60' + white: '0x63686d' + + campbell: &campbell + primary: + background: '0x0c0c0c' + foreground: '0xcccccc' + normal: + black: '0x0c0c0c' + red: '0xc50f1f' + green: '0x13a10e' + yellow: '0xc19c00' + blue: '0x0037da' + magenta: '0x881798' + cyan: '0x3a96dd' + white: '0xcccccc' + bright: + black: '0x767676' + red: '0xe74856' + green: '0x16c60c' + yellow: '0xf9f1a5' + blue: '0x3b78ff' + magenta: '0xb4009e' + cyan: '0x61d6d6' + white: '0xf2f2f2' + + carbonfox: &carbonfox + primary: + background: '0x161616' + foreground: '0xf2f4f8' + normal: + black: '0x282828' + red: '0xee5396' + green: '0x25be6a' + yellow: '0x08bdba' + blue: '0x78a9ff' + magenta: '0xbe95ff' + cyan: '0x33b1ff' + white: '0xdfdfe0' + bright: + black: '0x484848' + red: '0xf16da6' + green: '0x46c880' + yellow: '0x2dc7c4' + blue: '0x8cb6ff' + magenta: '0xc8a5ff' + cyan: '0x52bdff' + white: '0xe4e4e5' + + catppuccin: &catppuccin + primary: + background: '#1E1E2E' + foreground: '0xd6d6d6' + cursor: + text: '#CDD6F4' + cursor: '#D9D9D9' + normal: + black: '#181A1F' + red: '#E86671' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '#C678DD' + cyan: '#54AFBC' + white: '#ABB2BF' + bright: + black: '#5C6370' + red: '#E86671' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '#C678DD' + cyan: '#54AFBC' + white: '0xf7f7f7' + dim: + black: '#5C6370' + red: '0x74423f' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '0x6e4962' + cyan: '0x5c8482' + white: '0x828282' + + challenger_deep: &challenger_deep + primary: + background: '0x1e1c31' + foreground: '0xcbe1e7' + cursor: + text: '0xff271d' + cursor: '0xfbfcfc' + normal: + black: '0x141228' + red: '0xff5458' + green: '0x62d196' + yellow: '0xffb378' + blue: '0x65b2ff' + magenta: '0x906cff' + cyan: '0x63f2f1' + white: '0xa6b3cc' + bright: + black: '0x565575' + red: '0xff8080' + green: '0x95ffa4' + yellow: '0xffe9aa' + blue: '0x91ddff' + magenta: '0xc991e1' + cyan: '0xaaffe4' + white: '0xcbe3e7' + + citylights: &citylights + primary: + background: '0x171d23' + foreground: '0xffffff' + cursor: + text: '0xfafafa' + cursor: '0x008b94' + normal: + black: '0x333f4a' + red: '0xd95468' + green: '0x8bd49c' + blue: '0x539afc' + magenta: '0xb62d65' + cyan: '0x70e1e8' + white: '0xb7c5d3' + bright: + black: '0x41505e' + red: '0xd95468' + green: '0x8bd49c' + yellow: '0xebbf83' + blue: '0x5ec4ff' + magenta: '0xe27e8d' + cyan: '0x70e1e8' + white: '0xffffff' + + Cobalt2: &Cobalt2 + primary: + background: '0x122637' + foreground: '0xffffff' + cursor: + text: '0x122637' + cursor: '0xf0cb09' + normal: + black: '0x000000' + red: '0xff0000' + green: '0x37dd21' + yellow: '0xfee409' + blue: '0x1460d2' + magenta: '0xff005d' + cyan: '0x00bbbb' + white: '0xbbbbbb' + bright: + black: '0x545454' + red: '0xf40d17' + green: '0x3bcf1d' + yellow: '0xecc809' + blue: '0x5555ff' + magenta: '0xff55ff' + cyan: '0x6ae3f9' + white: '0xffffff' + + cyber_punk_neon: &cyber_punk_neon + primary: + background: "0x000b1e" + foreground: "0x0abdc6" + cursor: + text: "0x000b1e" + cursor: "0x0abdc6" + normal: + black: "0x123e7c" + red: "0xff0000" + green: "0xd300c4" + yellow: "0xf57800" + blue: "0x123e7c" + magenta: "0x711c91" + cyan: "0x0abdc6" + white: "0xd7d7d5" + bright: + black: "0x1c61c2" + red: "0xff0000" + green: "0xd300c4" + yellow: "0xf57800" + blue: "0x00ff00" + magenta: "0x711c91" + cyan: "0x0abdc6" + white: "0xd7d7d5" + + darcula: &darcula + primary: + background: '0x282a36' + foreground: '0xf8f8f2' + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xcaa9fa' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xbfbfbf' + bright: + black: '0x282a35' + red: '0xff6e67' + green: '0x5af78e' + yellow: '0xf4f99d' + blue: '0xcaa9fa' + magenta: '0xff92d0' + cyan: '0x9aedfe' + white: '0xe6e6e6' + + dark_pastels: &dark_pastels + primary: + background: '0x2C2C2C' + foreground: '0xDCDCCC' + normal: + black: '0x3F3F3F' + red: '0x705050' + green: '0x60B48A' + yellow: '0xDFAF8F' + blue: '0x9AB8D7' + magenta: '0xDC8CC3' + cyan: '0x8CD0D3' + white: '0xDCDCCC' + bright: + black: '0x709080' + red: '0xDCA3A3' + green: '0x72D5A3' + yellow: '0xF0DFAF' + blue: '0x94BFF3' + magenta: '0xEC93D3' + cyan: '0x93E0E3' + white: '0xFFFFFF' + + doom_one: &doom_one + primary: + background: '0x282c34' + foreground: '0xbbc2cf' + normal: + black: '0x282c34' + red: '0xff6c6b' + green: '0x98be65' + yellow: '0xecbe7b' + blue: '0x51afef' + magenta: '0xc678dd' + cyan: '0x46d9ff' + white: '0xbbc2cf' + + dracula: &dracula + primary: + background: '0x282a36' + foreground: '0xf8f8f2' + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xbd93f9' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xbbbbbb' + bright: + black: '0x555555' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xcaa9fa' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xffffff' + + everforest_dark: &everforest_dark + primary: + background: '0x2d353b' + foreground: '0xd3c6aa' + normal: + black: '0x475258' + red: '0xe67e80' + green: '0xa7c080' + yellow: '0xdbbc7f' + blue: '0x7fbbb3' + magenta: '0xd699b6' + cyan: '0x83c092' + white: '0xd3c6aa' + bright: + black: '0x475258' + red: '0xe67e80' + green: '0xa7c080' + yellow: '0xdbbc7f' + blue: '0x7fbbb3' + magenta: '0xd699b6' + cyan: '0x83c092' + + everforest_light: &everforest_light + primary: + background: '0xfdf6e3' + foreground: '0x5c6a72' + normal: + black: '0x5c6a72' + red: '0xf85552' + green: '0x8da101' + yellow: '0xdfa000' + blue: '0x3a94c5' + magenta: '0xdf69ba' + cyan: '0x35a77c' + white: '0xe0dcc7' + bright: + black: '0x5c6a72' + red: '0xf85552' + green: '0x8da101' + yellow: '0xdfa000' + blue: '0x3a94c5' + magenta: '0xdf69ba' + cyan: '0x35a77c' + + falcon: &falcon + primary: + background: '0x020221' + foreground: '0xb4b4b9' + cursor: + text: '0x020221' + cursor: '0xffe8c0' + normal: + black: '0x000004' + red: '0xff3600' + green: '0x718e3f' + yellow: '0xffc552' + blue: '0x635196' + magenta: '0xff761a' + cyan: '0x34bfa4' + white: '0xb4b4b9' + bright: + black: '0x020221' + red: '0xff8e78' + green: '0xb1bf75' + yellow: '0xffd392' + blue: '0x99a4bc' + magenta: '0xffb07b' + cyan: '0x8bccbf' + white: '0xf8f8ff' + + flat_remix: &flat_remix + primary: + background: '0x272a34' + foreground: '0xFFFFFF' + normal: + black: '0x1F2229' + red: '0xEC0101' + green: '0x47D4B9' + yellow: '0xFF8A18' + blue: '0x277FFF' + magenta: '0xD71655' + cyan: '0x05A1F7' + white: '0xFFFFFF' + bright: + black: '0x1F2229' + red: '0xD41919' + green: '0x5EBDAB' + yellow: '0xFEA44C' + blue: '0x367bf0' + magenta: '0xBF2E5D' + cyan: '0x49AEE6' + white: '0xFFFFFF' + + gnome_terminal: &gnome_terminal + primary: + background: '0x1e1e1e' + foreground: '0xffffff' + normal: + black: '0x171421' + red: '0xc01c28' + green: '0x26a269' + yellow: '0xa2734c' + blue: '0x12488b' + magenta: '0xa347ba' + cyan: '0x2aa1b3' + white: '0xd0cfcc' + bright: + black: '0x535c64' + red: '0xf66151' + green: '0x33d17a' + yellow: '0xe9ad0c' + blue: '0x2a7bde' + magenta: '0xc061cb' + cyan: '0x33c7de' + white: '0xffffff' + + gotham: &gotham + primary: + background: '0x0a0f14' + foreground: '0x98d1ce' + normal: + black: '0x0a0f14' + red: '0xc33027' + green: '0x26a98b' + yellow: '0xedb54b' + blue: '0x195465' + magenta: '0x4e5165' + cyan: '0x33859d' + white: '0x98d1ce' + bright: + black: '0x10151b' + red: '0xd26939' + green: '0x081f2d' + yellow: '0x245361' + blue: '0x093748' + magenta: '0x888ba5' + cyan: '0x599caa' + white: '0xd3ebe9' + + gruvbox_dark: &gruvbox_dark + primary: + # hard contrast: background = '0x1d2021' + background: '0x282828' + # soft contrast: background = '0x32302f' + foreground: '0xebdbb2' + normal: + black: '0x282828' + red: '0xcc241d' + green: '0x98971a' + yellow: '0xd79921' + blue: '0x458588' + magenta: '0xb16286' + cyan: '0x689d6a' + white: '0xa89984' + bright: + black: '0x928374' + red: '0xfb4934' + green: '0xb8bb26' + yellow: '0xfabd2f' + blue: '0x83a598' + magenta: '0xd3869b' + cyan: '0x8ec07c' + white: '0xebdbb2' + + gruvbox_light: &gruvbox_light + primary: + # hard contrast: background = '0xf9f5d7' + background: '0xfbf1c7' + # soft contrast: background = '0xf2e5bc' + foreground: '0x3c3836' + normal: + black: '0xfbf1c7' + red: '0xcc241d' + green: '0x98971a' + yellow: '0xd79921' + blue: '0x458588' + magenta: '0xb16286' + cyan: '0x689d6a' + white: '0x7c6f64' + bright: + black: '0x928374' + red: '0x9d0006' + green: '0x79740e' + yellow: '0xb57614' + blue: '0x076678' + magenta: '0x8f3f71' + cyan: '0x427b58' + white: '0x3c3836' + + gruvbox_material_medium_dark: &gruvbox_material_medium_dark + primary: + background: '#282828' + foreground: '#d4be98' + normal: + black: '#3c3836' + red: '#ea6962' + green: '#a9b665' + yellow: '#d8a657' + blue: '#7daea3' + magenta: '#d3869b' + cyan: '#89b482' + white: '#d4be98' + bright: + black: '#3c3836' + red: '#ea6962' + green: '#a9b665' + yellow: '#d8a657' + blue: '#7daea3' + magenta: '#d3869b' + cyan: '#89b482' + white: '#d4be98' + + gruvbox_material_medium_light: &gruvbox_material_medium_light + primary: + background: '#fbf1c7' + foreground: '#654735' + normal: + black: '#654735' + red: '#c14a4a' + green: '#6c782e' + yellow: '#b47109' + blue: '#45707a' + magenta: '#945e80' + cyan: '#4c7a5d' + white: '#eee0b7' + bright: + black: '#654735' + red: '#c14a4a' + green: '#6c782e' + yellow: '#b47109' + blue: '#45707a' + magenta: '#945e80' + cyan: '#4c7a5d' + white: '#eee0b7' + + hardhacker: &hardhacker + primary: + background: '0x282433' + foreground: '0xeee9fc' + cursor: + text: '0xeee9fc' + cursor: '0xeee9fc' + normal: + black: '0x282433' + red: '0xe965a5' + green: '0xb1f2a7' + yellow: '0xebde76' + blue: '0xb1baf4' + magenta: '0xe192ef' + cyan: '0xb3f4f3' + white: '0xeee9fc' + bright: + black: '0x3f3951' + red: '0xe965a5' + green: '0xb1f2a7' + yellow: '0xebde76' + blue: '0xb1baf4' + magenta: '0xe192ef' + cyan: '0xb3f4f3' + white: '0xeee9fc' + + high_contrast: &high_contrast + primary: + background: '0x444444' + foreground: '0xdddddd' + cursor: + text: '0xaaaaaa' + cursor: '0xffffff' + normal: + black: '0x000000' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x0000ff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' + bright: + black: '0x000000' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x0000ff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' + + horizon-dark: &horizon-dark + primary: + background: '0x1c1e26' + foreground: '0xe0e0e0' + normal: + black: '0x16161c' + red: '0xe95678' + green: '0x29d398' + yellow: '0xfab795' + blue: '0x26bbd9' + magenta: '0xee64ac' + cyan: '0x59e1e3' + white: '0xd5d8da' + bright: + black: '0x5b5858' + red: '0xec6a88' + green: '0x3fdaa4' + yellow: '0xfbc3a7' + blue: '0x3fc4de' + magenta: '0xf075b5' + cyan: '0x6be4e6' + white: '0xd5d8da' + + hyper: &hyper + primary: + background: '0x000000' + foreground: '0xffffff' + cursor: + text: '0xF81CE5' + cursor: '0xffffff' + normal: + black: '0x000000' + red: '0xfe0100' + green: '0x33ff00' + yellow: '0xfeff00' + blue: '0x0066ff' + magenta: '0xcc00ff' + cyan: '0x00ffff' + white: '0xd0d0d0' + bright: + black: '0x808080' + red: '0xfe0100' + green: '0x33ff00' + yellow: '0xfeff00' + blue: '0x0066ff' + magenta: '0xcc00ff' + cyan: '0x00ffff' + white: '0xFFFFFF' + inferno: &inferno + primary: + background: '0x270d06' + foreground: '0xd9d9d9' + normal: + black: '0x330000' + red: '0xff3300' + green: '0xff6600' + yellow: '0xff9900' + blue: '0xffcc00' + magenta: '0xff6600' + cyan: '0xff9900' + white: '0xd9d9d9' + bright: + black: '0x663300' + red: '0xff6633' + green: '0xff9966' + yellow: '0xffcc99' + blue: '0xffcc33' + magenta: '0xff9966' + cyan: '0xffcc99' + white: '0xd9d9d9' + iterm_default: &iterm_default + primary: + background: '0x101421' + foreground: '0xfffbf6' + normal: + black: '0x2e2e2e' + red: '0xeb4129' + green: '0xabe047' + yellow: '0xf6c744' + blue: '0x47a0f3' + magenta: '0x7b5cb0' + cyan: '0x64dbed' + white: '0xe5e9f0' + bright: + black: '0x565656' + red: '0xec5357' + green: '0xc0e17d' + yellow: '0xf9da6a' + blue: '0x49a4f8' + magenta: '0xa47de9' + cyan: '0x99faf2' + white: '0xffffff' + + kanagawa_dragon: &kanagawa_dragon + colors: + primary: + background: '0x181616' + foreground: '0xc5c9c5' + + normal: + black: '0x0d0c0c' + blue: '0x8ba4b0' + cyan: '0x8ea4a2' + green: '0x8a9a7b' + magenta: '0xa292a3' + red: '0xc4746e' + white: '0xC8C093' + yellow: '0xc4b28a' + + bright: + black: '0xa6a69c' + blue: '0x7FB4CA' + cyan: '0x7AA89F' + green: '0x87a987' + magenta: '0x938AA9' + red: '0xE46876' + white: '0xc5c9c5' + yellow: '0xE6C384' + + selection: + background: '0x2d4f67' + foreground: '0xc8c093' + + indexed_colors: + - { index: 16, color: '0xffa066' } + - { index: 17, color: '0xff5d62' } + + kanagawa_wave: &kanagawa_wave + colors: + primary: + background: '0x1f1f28' + foreground: '0xdcd7ba' + + normal: + black: '0x090618' + red: '0xc34043' + green: '0x76946a' + yellow: '0xc0a36e' + blue: '0x7e9cd8' + magenta: '0x957fb8' + cyan: '0x6a9589' + white: '0xc8c093' + + bright: + black: '0x727169' + red: '0xe82424' + green: '0x98bb6c' + yellow: '0xe6c384' + blue: '0x7fb4ca' + magenta: '0x938aa9' + cyan: '0x7aa89f' + white: '0xdcd7ba' + + selection: + background: '0x2d4f67' + foreground: '0xc8c093' + + indexed_colors: + - { index: 16, color: '0xffa066' } + - { index: 17, color: '0xff5d62' } + + konsole_linux: &konsole_linux + primary: + foreground: '0xe3e3e3' + bright_foreground: '0xffffff' + dim_foreground: '0xe3e3e3' + background: '0x1f1f1f' + bright_background: '0x686868' # not sure + dim_background: '0x1f1f1f' # not sure + cursor: + text: '0x191622' + cursor: '0xf8f8f2' + search: + matches: + foreground: '0xb2b2b2' + background: '0xb26818' + focused_match: + foreground: CellBackground + background: CellForeground + normal: + black: '0x000000' + red: '0xb21818' + green: '0x18b218' + yellow: '0xb26818' + blue: '0x1818b2' + magenta: '0xb218b2' + cyan: '0x18b2b2' + white: '0xb2b2b2' + bright: + black: '0x686868' + red: '0xff5454' + green: '0x54ff54' + yellow: '0xffff54' + blue: '0x5454ff' + magenta: '0xff54ff' + cyan: '0x54ffff' + white: '0xffffff' + dim: + black: '0x000000' + red: '0xb21818' + green: '0x18b218' + yellow: '0xb26818' + blue: '0x1818b2' + magenta: '0xb218b2' + cyan: '0x18b2b2' + white: '0xb2b2b2' + + low_contrast: &low_contrast + primary: + background: '0x333333' + foreground: '0xdddddd' + cursor: + text: '0xaaaaaa' + cursor: '0xffffff' + normal: + black: '0x000000' + red: '0xbb0000' + green: '0x00bb00' + yellow: '0xbbbb00' + blue: '0x0000bb' + magenta: '0xbb00bb' + cyan: '0x00bbbb' + white: '0xbbbbbb' + bright: + black: '0x000000' + red: '0xbb0000' + green: '0x00bb00' + yellow: '0xbbbb00' + blue: '0x0000bb' + magenta: '0xbb00bb' + cyan: '0x00bbbb' + white: '0xbbbbbb' + + material_theme: &material_theme + primary: + background: '0x1e282d' + foreground: '0xc4c7d1' + normal: + black: '0x666666' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x80cbc4' + magenta: '0xff2f90' + cyan: '0xaeddff' + white: '0xffffff' + bright: + black: '0xff262b' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x7dc6bf' + magenta: '0x6c71c4' + cyan: '0x35434d' + white: '0xffffff' + + material_theme_mod: &material_theme_mod + primary: + background: '0x1e282d' + foreground: '0xc4c7d1' + normal: + black: '0x666666' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x80cbc4' + magenta: '0xff2f90' + cyan: '0xaeddff' + white: '0xffffff' + bright: + black: '0xa1a1a1' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x7dc6bf' + magenta: '0x6c71c4' + cyan: '0x35434d' + white: '0xffffff' + + midnight-haze: &midnight-haze + primary: + background: '0x0c0c16' + foreground: '0xd8dee9' + normal: + black: '0x2c2c3d' + red: '0xff6e6e' + green: '0x9ec875' + yellow: '0xffa759' + blue: '0x70a7d4' + magenta: '0xd291e0' + cyan: '0x96e0e0' + white: '0xd8dee9' + bright: + black: '0x414166' + red: '0xff8d8d' + green: '0xb3d987' + yellow: '0xffc57f' + blue: '0x9bb3d3' + magenta: '0xffa1ff' + cyan: '0x9cd8d8' + white: '0xffffff' + + msx: &msx + primary: + background: '#5955E0' + foreground: '#FFFFFF' + normal: + black: '#5955E0' + red: '#B95E51' + green: '#3AA241' + yellow: '#CCC35E' + blue: '#000000' + magenta: '#DB6559' + cyan: '#3EB849' + white: '#CCCCCC' + bright: + black: '#8076F1' + red: '#FF897D' + green: '#74D07D' + yellow: '#DED087' + blue: '#CCCCCC' + magenta: '#B766B5' + cyan: '#65DBEF' + white: '#FFFFFF' + + nord: &nord + primary: + background: '0x2E3440' + foreground: '0xD8DEE9' + normal: + black: '0x3B4252' + red: '0xBF616A' + green: '0xA3BE8C' + yellow: '0xEBCB8B' + blue: '0x81A1C1' + magenta: '0xB48EAD' + cyan: '0x88C0D0' + white: '0xE5E9F0' + bright: + black: '0x4C566A' + red: '0xBF616A' + green: '0xA3BE8C' + yellow: '0xEBCB8B' + blue: '0x81A1C1' + magenta: '0xB48EAD' + cyan: '0x8FBCBB' + white: '0xECEFF4' + + monokai_charcoal: &monokai_charcoal + primary: + background: '#000000' + foreground: '#FFFFFF' + normal: + black: '#1a1a1a' + red: '#f4005f' + green: '#98e024' + yellow: '#fa8419' + blue: '#9d65ff' + magenta: '#f4005f' + cyan: '#58d1eb' + white: '#c4c5b5' + bright: + black: '#625e4c' + red: '#f4005f' + green: '#98e024' + yellow: '#e0d561' + blue: '#9d65ff' + magenta: '#f4005f' + cyan: '#58d1eb' + white: '#f6f6ef' + + monokai_pro: &monokai_pro + primary: + background: '0x2D2A2E' + foreground: '0xfff1f3' + normal: + black: '0x2c2525' + red: '0xfd6883' + green: '0xadda78' + yellow: '0xf9cc6c' + blue: '0xf38d70' + magenta: '0xa8a9eb' + cyan: '0x85dacc' + white: '0xfff1f3' + bright: + black: '0x72696a' + red: '0xfd6883' + green: '0xadda78' + yellow: '0xf9cc6c' + blue: '0xf38d70' + magenta: '0xa8a9eb' + cyan: '0x85dacc' + white: '0xfff1f3' + + moonlight_ii_vscode: &moonlight_ii_vscode + primary: + background: '0x1e2030' + foreground: '0x7f85a3' + cursor: + text: '0x7f85a3' + cursor: '0x808080' + normal: + black: '0x444a73' + red: '0xff5370' + green: '0x4fd6be' + yellow: '0xffc777' + blue: '0x3e68d7' + magenta: '0xfc7b7b' + cyan: '0x86e1fc' + white: '0xd0d0d0' + bright: + black: '0x828bb8' + red: '0xff98a4' + green: '0xc3e88d' + yellow: '0xffc777' + blue: '0x82aaff' + magenta: '0xff966c' + cyan: '0xb4f9f8' + white: '0x5f8787' + + nightfox: &nightfox + primary: + background: '0x192330' + foreground: '0xcdcecf' + normal: + black: '0x393b44' + red: '0xc94f6d' + green: '0x81b29a' + yellow: '0xdbc074' + blue: '0x719cd6' + magenta: '0x9d79d6' + cyan: '0x63cdcf' + white: '0xdfdfe0' + bright: + black: '0x575860' + red: '0xd16983' + green: '0x8ebaa4' + yellow: '0xe0c989' + blue: '0x86abdc' + magenta: '0xbaa1e2' + cyan: '0x7ad5d6' + white: '0xe4e4e5' + indexed_colors: + - { index: 16, color: '0xf4a261' } + - { index: 17, color: '0xd67ad2' } + + night_owlish_light: &night_owlish_light + bright: + black: '#7a8181' + blue: '#5ca7e4' + cyan: '#00c990' + green: '#49d0c5' + magenta: '#697098' + red: '#f76e6e' + white: '#989fb1' + yellow: '#dac26b' + cursor: + cursor: '#403f53' + text: '#fbfbfb' + normal: + black: '#011627' + blue: '#4876d6' + cyan: '#08916a' + green: '#2aa298' + magenta: '#403f53' + red: '#d3423e' + white: '#7a8181' + yellow: '#daaa01' + primary: + background: '#ffffff' + foreground: '#403f53' + selection: + background: '#f2f2f2' + text: '#403f53' + + oceanic_next: &oceanic_next + primary: + background: '0x1b2b34' + foreground: '0xd8dee9' + normal: + black: '0x29414f' + red: '0xec5f67' + green: '0x99c794' + yellow: '0xfac863' + blue: '0x6699cc' + magenta: '0xc594c5' + cyan: '0x5fb3b3' + white: '0x65737e' + bright: + black: '0x405860' + red: '0xec5f67' + green: '0x99c794' + yellow: '0xfac863' + blue: '0x6699cc' + magenta: '0xc594c5' + cyan: '0x5fb3b3' + white: '0xadb5c0' + + omni: &omni + primary: + background: '0x191622' + foreground: '0xe1e1e6' + cursor: + text: '0x191622' + cursor: '0xf8f8f2' + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xeffa78' + blue: '0xbd93f9' + magenta: '0xff79c6' + cyan: '0x8d79ba' + white: '0xbfbfbf' + bright: + black: '0x4d4d4d' + red: '0xff6e67' + green: '0x5af78e' + yellow: '0xeaf08d' + blue: '0xcaa9fa' + magenta: '0xff92d0' + cyan: '0xaa91e3' + white: '0xe6e6e6' + dim: + black: '0x000000' + red: '0xa90000' + green: '0x049f2b' + yellow: '0xa3b106' + blue: '0x530aba' + magenta: '0xbb006b' + cyan: '0x433364' + white: '0x5f5f5f' + + one_dark: &one_dark + primary: + background: '0x1e2127' + foreground: '0xabb2bf' + normal: + black: '0x1e2127' + red: '0xe06c75' + green: '0x98c379' + yellow: '0xd19a66' + blue: '0x61afef' + magenta: '0xc678dd' + cyan: '0x56b6c2' + white: '0xabb2bf' + bright: + black: '0x5c6370' + red: '0xe06c75' + green: '0x98c379' + yellow: '0xd19a66' + blue: '0x61afef' + magenta: '0xc678dd' + cyan: '0x56b6c2' + white: '0xffffff' + + palenight: &palenight + primary: + background: '0x292d3e' + foreground: '0xd0d0d0' + normal: + black: '0x292d3e' + red: '0xf07178' + green: '0xc3e88d' + yellow: '0xffcb6b' + blue: '0x82aaff' + magenta: '0xc792ea' + cyan: '0x89ddff' + white: '0xd0d0d0' + bright: + black: '0x434758' + red: '0xff8b92' + green: '0xddffa7' + yellow: '0xffe585' + blue: '0x9cc4ff' + magenta: '0xe1acff' + cyan: '0xa3f7ff' + white: '0xffffff' + + papertheme: &papertheme + primary: + background: '#F2EEDE' + foreground: '#000000' + normal: + black: '#000000' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' + bright: + black: '#555555' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' + + papercolor_light: &papercolor_light + primary: + background: '0xeeeeee' + foreground: '0x444444' + cursor: + text: '0xeeeeee' + cursor: '0x444444' + normal: + black: '0xeeeeee' + red: '0xaf0000' + green: '0x008700' + yellow: '0x5f8700' + blue: '0x0087af' + magenta: '0x878787' + cyan: '0x005f87' + white: '0x444444' + bright: + black: '0xbcbcbc' + red: '0xd70000' + green: '0xd70087' + yellow: '0x8700af' + blue: '0xd75f00' + magenta: '0xd75f00' + cyan: '0x005faf' + white: '0x005f87' + + papercolor_dark: &papercolor_dark + primary: + background: '0x1c1c1c' + foreground: '0x808080' + cursor: + text: '0x1c1c1c' + cursor: '0x808080' + normal: + black: '0x1c1c1c' + red: '0xaf005f' + green: '0x5faf00' + yellow: '0xd7af5f' + blue: '0x5fafd7' + magenta: '0x808080' + cyan: '0xd7875f' + white: '0xd0d0d0' + bright: + black: '0x585858' + red: '0x5faf5f' + green: '0xafd700' + yellow: '0xaf87d7' + blue: '0xffaf00' + magenta: '0xffaf00' + cyan: '0x00afaf' + white: '0x5f8787' + + pencil_dark: &pencil_dark + primary: + background: '0x212121' + foreground: '0xf1f1f1' + normal: + black: '0x212121' + red: '0xc30771' + green: '0x10a778' + yellow: '0xa89c14' + blue: '0x008ec4' + magenta: '0x523c79' + cyan: '0x20a5ba' + white: '0xe0e0e0' + bright: + black: '0x818181' + red: '0xfb007a' + green: '0x5fd7af' + yellow: '0xf3e430' + blue: '0x20bbfc' + magenta: '0x6855de' + cyan: '0x4fb8cc' + white: '0xf1f1f1' + + pencil_light: &pencil_light + primary: + background: '0xf1f1f1' + foreground: '0x424242' + normal: + black: '0x212121' + red: '0xc30771' + green: '0x10a778' + yellow: '0xa89c14' + blue: '0x008ec4' + magenta: '0x523c79' + cyan: '0x20a5ba' + white: '0xe0e0e0' + bright: + black: '0x212121' + red: '0xfb007a' + green: '0x5fd7af' + yellow: '0xf3e430' + blue: '0x20bbfc' + magenta: '0x6855de' + cyan: '0x4fb8cc' + white: '0xf1f1f1' + + rainbow: &rainbow + primary: + background: '0x192835' + foreground: '0xAADA4F' + normal: + black: '0x5B4375' + red: '0x426bb6' + green: '0x2286b5' + yellow: '0x5ab782' + blue: '0x93ca5b' + magenta: '0xc6c842' + cyan: '0x8a5135' + white: '0xc54646' + bright: + black: '0x5B4375' + red: '0x426bb6' + green: '0x2286b5' + yellow: '0x5ab782' + blue: '0x93ca5b' + magenta: '0xc6c842' + cyan: '0x8a5135' + white: '0xc54646' + + remedy_dark: &remedy_dark + primary: + background: '0x2c2b2a' + foreground: '0xf9e7c4' + normal: + black: '0x282a2e' + blue: '0x5f819d' + cyan: '0x5e8d87' + green: '0x8c9440' + magenta: '0x85678f' + red: '0xa54242' + white: '0x707880' + yellow: '0xde935f' + bright: + black: '0x373b41' + blue: '0x81a2be' + cyan: '0x8abeb7' + green: '0xb5bd68' + magenta: '0xb294bb' + red: '0xcc6666' + white: '0xc5c8c6' + yellow: '0xf0c674' + + snazzy: &snazzy + primary: + background: '0x282a36' + foreground: '0xeff0eb' + normal: + black: '0x282a36' + red: '0xff5c57' + green: '0x5af78e' + yellow: '0xf3f99d' + blue: '0x57c7ff' + magenta: '0xff6ac1' + cyan: '0x9aedfe' + white: '0xf1f1f0' + bright: + black: '0x686868' + red: '0xff5c57' + green: '0x5af78e' + yellow: '0xf3f99d' + blue: '0x57c7ff' + magenta: '0xff6ac1' + cyan: '0x9aedfe' + white: '0xf1f1f0' + + seashells: &seashells + primary: + background: '0x061923' + foreground: '0xe5c49e' + cursor: + text: '0x061822' + cursor: '0xfeaf3c' + selection: + text: '0xffe9d7' + background: '0x265b75' + normal: + black: '0x1d485f' + red: '0xdb662d' + green: '0x008eab' + yellow: '0xfeaf3c' + blue: '0x255a62' + magenta: '0x77dbf4' + cyan: '0x5fb1c2' + white: '0xe5c49e' + bright: + black: '0x545d65' + red: '0xdd998a' + green: '0x739da8' + yellow: '0xfedaae' + blue: '0x0bc7e3' + magenta: '0xc6e8f1' + cyan: '0x97b9c0' + white: '0xffe9d7' + + smoooooth: &smoooooth + primary: + foreground: '0xdbdbdb' + background: '0x14191e' + cursor: + text: '0x000000' + cursor: '0xfefffe' + selection: + text: '0x000000' + background: '0xb3d7ff' + normal: + black: '0x14191e' + red: '0xb43c29' + green: '0x00c200' + yellow: '0xc7c400' + blue: '0x2743c7' + magenta: '0xbf3fbd' + cyan: '0x00c5c7' + white: '0xc7c7c7' + bright: + black: '0x676767' + red: '0xdc7974' + green: '0x57e690' + yellow: '0xece100' + blue: '0xa6aaf1' + magenta: '0xe07de0' + cyan: '0x5ffdff' + white: '0xfeffff' + + solarized_dark: &solarized_dark + primary: + background: '0x002b36' + foreground: '0x839496' + normal: + black: '0x073642' + red: '0xdc322f' + green: '0x859900' + yellow: '0xb58900' + blue: '0x268bd2' + magenta: '0xd33682' + cyan: '0x2aa198' + white: '0xeee8d5' + bright: + black: '0x002b36' + red: '0xcb4b16' + green: '0x586e75' + yellow: '0x657b83' + blue: '0x839496' + magenta: '0x6c71c4' + cyan: '0x93a1a1' + white: '0xfdf6e3' + + solarized_light: &solarized_light + primary: + background: '0xfdf6e3' + foreground: '0x586e75' + normal: + black: '0x073642' + red: '0xdc322f' + green: '0x859900' + yellow: '0xb58900' + blue: '0x268bd2' + magenta: '0xd33682' + cyan: '0x2aa198' + white: '0xeee8d5' + bright: + black: '0x002b36' + red: '0xcb4b16' + green: '0x586e75' + yellow: '0x657b83' + blue: '0x839496' + magenta: '0x6c71c4' + cyan: '0x93a1a1' + white: '0xfdf6e3' + + taerminal: &taerminal + primary: + background: '0x26282a' + foreground: '0xf0f0f0' + cursor: + background: '0xf0f0f0' + foreground: '0x26282a' + normal: + black: '0x26282a' + red: '0xff8878' + green: '0xb4fb73' + yellow: '0xfffcb7' + blue: '0x8bbce5' + magenta: '0xffb2fe' + cyan: '0xa2e1f8' + white: '0xf1f1f1' + bright: + black: '0x6f6f6f' + red: '0xfe978b' + green: '0xd6fcba' + yellow: '0xfffed5' + blue: '0xc2e3ff' + magenta: '0xffc6ff' + cyan: '0xc0e9f8' + white: '0xffffff' + + tango_dark: &tango_dark + primary: + background: '0x2e3436' + foreground: '0xd3d7cf' + normal: + black: '0x2e3436' + red: '0xcc0000' + green: '0x4e9a06' + yellow: '0xc4a000' + blue: '0x3465a4' + magenta: '0x75507b' + cyan: '0x06989a' + white: '0xd3d7cf' + bright: + black: '0x555753' + red: '0xef2929' + green: '0x8ae234' + yellow: '0xfce94f' + blue: '0x729fcf' + magenta: '0xad7fa8' + cyan: '0x34e2e2' + white: '0xeeeeec' + + tender: &tender + primary: + background: '0x282828' + foreground: '0xeeeeee' + normal: + black: '0x282828' + red: '0xf43753' + green: '0xc9d05c' + yellow: '0xffc24b' + blue: '0xb3deef' + magenta: '0xd3b987' + cyan: '0x73cef4' + white: '0xeeeeee' + bright: + black: '0x4c4c4c' + red: '0xf43753' + green: '0xc9d05c' + yellow: '0xffc24b' + blue: '0xb3deef' + magenta: '0xd3b987' + cyan: '0x73cef4' + white: '0xfeffff' + + terminal_app: &terminal_app + primary: + background: '0x000000' + foreground: '0xb6b6b6' + normal: + black: '0x000000' + red: '0x990000' + green: '0x00a600' + yellow: '0x999900' + blue: '0x0000b2' + magenta: '0xb200b2' + cyan: '0x00a6b2' + white: '0xbfbfbf' + bright: + black: '0x666666' + red: '0xe50000' + green: '0x00d900' + yellow: '0xe5e500' + blue: '0x0000ff' + magenta: '0xe500e5' + cyan: '0x00e5e5' + white: '0xe5e5e5' + + thelovelace: &thelovelace + primary: + background: '0x1D1F28' + foreground: '0xFDFDFD' + normal: + black: '0x282A36' + red: '0xF37F97' + green: '0x5ADECD' + yellow: '0xF2A272' + blue: '0x8897F4' + magenta: '0xC574DD' + cyan: '0x79E6F3' + white: '0xFDFDFD' + bright: + black: '0x414458' + red: '0xFF4971' + green: '0x18E3C8' + yellow: '0xEBCB8B' + blue: '0xFF8037' + magenta: '0x556FFF' + cyan: '0x3FDCEE' + white: '0xBEBEC1' + + tokyo-night: &tokyo-night + primary: + background: '0x1a1b26' + foreground: '0xa9b1d6' + normal: + black: '0x32344a' + red: '0xf7768e' + green: '0x9ece6a' + yellow: '0xe0af68' + blue: '0x7aa2f7' + magenta: '0xad8ee6' + cyan: '0x449dab' + white: '0x787c99' + bright: + black: '0x444b6a' + red: '0xff7a93' + green: '0xb9f27c' + yellow: '0xff9e64' + blue: '0x7da6ff' + magenta: '0xbb9af7' + cyan: '0x0db9d7' + white: '0xacb0d0' + + tokyo-night-storm: &tokyo-night-storm + primary: + background: '0x24283b' + foreground: '0xa9b1d6' + normal: + black: '0x32344a' + red: '0xf7768e' + green: '0x9ece6a' + yellow: '0xe0af68' + blue: '0x7aa2f7' + magenta: '0xad8ee6' + cyan: '0x449dab' + white: '0x9699a8' + bright: + black: '0x444b6a' + red: '0xff7a93' + green: '0xb9f27c' + yellow: '0xff9e64' + blue: '0x7da6ff' + magenta: '0xbb9af7' + cyan: '0x0db9d7' + white: '0xacb0d0' + + tomorrow_night: &tomorrow_night + primary: + background: '0x1d1f21' + foreground: '0xc5c8c6' + cursor: + text: '0x1d1f21' + cursor: '0xffffff' + normal: + black: '0x1d1f21' + red: '0xcc6666' + green: '0xb5bd68' + yellow: '0xe6c547' + blue: '0x81a2be' + magenta: '0xb294bb' + cyan: '0x70c0ba' + white: '0x373b41' + bright: + black: '0x666666' + red: '0xff3334' + green: '0x9ec400' + yellow: '0xf0c674' + blue: '0x81a2be' + magenta: '0xb77ee0' + cyan: '0x54ced6' + white: '0x282a2e' + + tomorrow_night_bright: &tomorrow_night_bright + primary: + background: '0x000000' + foreground: '0xeaeaea' + normal: + black: '0x000000' + red: '0xd54e53' + green: '0xb9ca4a' + yellow: '0xe6c547' + blue: '0x7aa6da' + magenta: '0xc397d8' + cyan: '0x70c0ba' + white: '0x424242' + bright: + black: '0x666666' + red: '0xff3334' + green: '0x9ec400' + yellow: '0xe7c547' + blue: '0x7aa6da' + magenta: '0xb77ee0' + cyan: '0x54ced6' + white: '0x2a2a2a' + + ubuntu: &ubuntu + primary: + background: '0x300a24' + foreground: '0xeeeeec' + cursor: + text: '0xbbbbbb' + cursor: '0xb4d5ff' + normal: + black: '0x2e3436' + red: '0xcc0000' + green: '0x4e9a06' + yellow: '0xc4a000' + blue: '0x3465a4' + magenta: '0x75507b' + cyan: '0x06989a' + white: '0xd3d7cf' + bright: + black: '0x555753' + red: '0xef2929' + green: '0x8ae234' + yellow: '0xfce94f' + blue: '0x729fcf' + magenta: '0xad7fa8' + cyan: '0x34e2e2' + white: '0xeeeeec' + + wombat: &wombat + primary: + background: '0x1f1f1f' + foreground: '0xe5e1d8' + normal: + black: '0x000000' + red: '0xf7786d' + green: '0xbde97c' + yellow: '0xefdfac' + blue: '0x6ebaf8' + magenta: '0xef88ff' + cyan: '0x90fdf8' + white: '0xe5e1d8' + bright: + black: '0xb4b4b4' + red: '0xf99f92' + green: '0xe3f7a1' + yellow: '0xf2e9bf' + blue: '0xb3d2ff' + magenta: '0xe5bdff' + cyan: '0xc2fefa' + white: '0xffffff' + + xterm: &xterm + primary: + background: '0x000000' + foreground: '0xffffff' + normal: + black: '0x000000' + red: '0xcd0000' + green: '0x00cd00' + yellow: '0xcdcd00' + blue: '0x0000ee' + magenta: '0xcd00cd' + cyan: '0x00cdcd' + white: '0xe5e5e5' + bright: + black: '0x7f7f7f' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x5c5cff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' + + rose-pine: &rose-pine + primary: + background: "0x191724" + foreground: "0xe0def4" + cursor: + text: "0xe0def4" + cursor: "0x524f67" + vi-mode-cursor: + text: "0xe0def4" + cursor: "0x524f67" + line-indicator: + foreground: None + background: None + selection: + text: "0xe0def4" + background: "0x403d52" + normal: + black: "0x26233a" + red: "0xeb6f92" + green: "0x31748f" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xebbcba" + white: "0xe0def4" + bright: + black: "0x6e6a86" + red: "0xeb6f92" + green: "0x31748f" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xebbcba" + white: "0xe0def4" + hints: + start: + foreground: "#908caa" + background: "#1f1d2e" + end: + foreground: "#6e6a86" + background: "#1f1d2e" + + rose-pine-dawn: &rose-pine-dawn + primary: + background: "0xfaf4ed" + foreground: "0x575279" + cursor: + text: "0x575279" + cursor: "0xcecacd" + vi-mode-cursor: + text: "0x575279" + cursor: "0xcecacd" + line-indicator: + foreground: None + background: None + selection: + text: "0x575279" + background: "0xdfdad9" + normal: + black: "0xf2e9e1" + red: "0xb4637a" + green: "0x286983" + yellow: "0xea9d34" + blue: "0x56949f" + magenta: "0x907aa9" + cyan: "0xd7827e" + white: "0x575279" + bright: + black: "0x9893a5" + red: "0xb4637a" + green: "0x286983" + yellow: "0xea9d34" + blue: "0x56949f" + magenta: "0x907aa9" + cyan: "0xd7827e" + white: "0x575279" + hints: + start: + foreground: "#797593" + background: "#fffaf3" + end: + foreground: "#9893a5" + background: "#fffaf3" + + rose-pine-moon: &rose-pine-moon + primary: + background: "0x232136" + foreground: "0xe0def4" + cursor: + text: "0xe0def4" + cursor: "0x56526e" + vi-mode-cursor: + text: "0xe0def4" + cursor: "0x56526e" + line-indicator: + foreground: None + background: None + selection: + text: "0xe0def4" + background: "0x44415a" + normal: + black: "0x393552" + red: "0xeb6f92" + green: "0x3e8fb0" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xea9a97" + white: "0xe0def4" + bright: + black: "0x6e6a86" + red: "0xeb6f92" + green: "0x3e8fb0" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xea9a97" + white: "0xe0def4" + hints: + start: + foreground: "#908caa" + background: "#2a273f" + end: + foreground: "#6e6a86" + background: "#2a273f" + + zenburn: &zenburn + primary: + background: '0x3A3A3A' + foreground: '0xDCDCCC' + normal: + black: '0x1E2320' + red: '0xD78787' + green: '0x60B48A' + yellow: '0xDFAF8F' + blue: '0x506070' + magenta: '0xDC8CC3' + cyan: '0x8CD0D3' + white: '0xDCDCCC' + bright: + black: '0x709080' + red: '0xDCA3A3' + green: '0xC3BF9F' + yellow: '0xF0DFAF' + blue: '0x94BFF3' + magenta: '0xEC93D3' + cyan: '0x93E0E3' + white: '0xFFFFFF' + + github_dark: &github_dark + # Default colors + primary: + background: '0x24292e' + foreground: '0xd1d5da' + + # Normal colors + normal: + black: '0x586069' + red: '0xea4a5a' + green: '0x34d058' + yellow: '0xffea7f' + blue: '0x2188ff' + magenta: '0xb392f0' + cyan: '0x39c5cf' + white: '0xd1d5da' + + # Bright colors + bright: + black: '0x959da5' + red: '0xf97583' + green: '0x85e89d' + yellow: '0xffea7f' + blue: '0x79b8ff' + magenta: '0xb392f0' + cyan: '0x56d4dd' + white: '0xfafbfc' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xf97583' } + + github_dark_colorblind: &github_dark_colorblind + # Default colors + primary: + background: '0x0d1117' + foreground: '0xb3b1ad' + + # Normal colors + normal: + black: '0x484f58' + red: '0xff7b72' + green: '0x3fb950' + yellow: '0xd29922' + blue: '0x58a6ff' + magenta: '0xbc8cff' + cyan: '0x39c5cf' + white: '0xb1bac4' + + # Bright colors + bright: + black: '0x6e7681' + red: '0xffa198' + green: '0x56d364' + yellow: '0xe3b341' + blue: '0x79c0ff' + magenta: '0xd2a8ff' + cyan: '0x56d4dd' + white: '0xf0f6fc' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xffa198' } + + github_dark_default: &github_dark_default + # Default colors + primary: + background: '0x0d1117' + foreground: '0xb3b1ad' + + # Normal colors + normal: + black: '0x484f58' + red: '0xff7b72' + green: '0x3fb950' + yellow: '0xd29922' + blue: '0x58a6ff' + magenta: '0xbc8cff' + cyan: '0x39c5cf' + white: '0xb1bac4' + + # Bright colors + bright: + black: '0x6e7681' + red: '0xffa198' + green: '0x56d364' + yellow: '0xe3b341' + blue: '0x79c0ff' + magenta: '0xd2a8ff' + cyan: '0x56d4dd' + white: '0xf0f6fc' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xffa198' } + + github_dimmed: &github_dimmed + # Default colors + primary: + background: '0x22272e' + foreground: '0x768390' + + # Normal colors + normal: + black: '0x545d68' + red: '0xf47067' + green: '0x57ab5a' + yellow: '0xc69026' + blue: '0x539bf5' + magenta: '0xb083f0' + cyan: '0x39c5cf' + white: '0x909dab' + + # Bright colors + bright: + black: '0x636e7b' + red: '0xff938a' + green: '0x6bc46d' + yellow: '0xdaaa3f' + blue: '0x6cb6ff' + magenta: '0xdcbdfb' + cyan: '0x56d4dd' + white: '0xcdd9e5' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xff938a' } + + github_light: &github_light + # Default colors + primary: + background: '0xffffff' + foreground: '0x24292f' + + # Normal colors + normal: + black: '0x24292e' + red: '0xd73a49' + green: '0x28a745' + yellow: '0xdbab09' + blue: '0x0366d6' + magenta: '0x5a32a3' + cyan: '0x0598bc' + white: '0x6a737d' + + # Bright colors + bright: + black: '0x959da5' + red: '0xcb2431' + green: '0x22863a' + yellow: '0xb08800' + blue: '0x005cc5' + magenta: '0x5a32a3' + cyan: '0x3192aa' + white: '0xd1d5da' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xcb2431' } + + github_light_colorblind: &github_light_colorblind + # Default colors + primary: + background: '0xffffff' + foreground: '0x0E1116' + + # Normal colors + normal: + black: '0x24292f' + red: '0xcf222e' + green: '0x116329' + yellow: '0x4d2d00' + blue: '0x0969da' + magenta: '0x8250df' + cyan: '0x1b7c83' + white: '0x6e7781' + + # Bright colors + bright: + black: '0x57606a' + red: '0xa40e26' + green: '0x1a7f37' + yellow: '0x633c01' + blue: '0x218bff' + magenta: '0xa475f9' + cyan: '0x3192aa' + white: '0x8c959f' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xa40e26' } + + github_light_default: &github_light_default + # Default colors + primary: + background: '0xffffff' + foreground: '0x0E1116' + + # Normal colors + normal: + black: '0x24292f' + red: '0xcf222e' + green: '0x116329' + yellow: '0x4d2d00' + blue: '0x0969da' + magenta: '0x8250df' + cyan: '0x1b7c83' + white: '0x6e7781' + + # Bright colors + bright: + black: '0x57606a' + red: '0xa40e26' + green: '0x1a7f37' + yellow: '0x633c01' + blue: '0x218bff' + magenta: '0xa475f9' + cyan: '0x3192aa' + white: '0x8c959f' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xa40e26' } + + Mariana: &Mariana + primary: + background: '#343d46' + foreground: '#d8dee9' + cursor: + cursor: '#fcbb6a' + text: '#ffffff' + normal: + black: '#000000' + blue: '#6699cc' + cyan: '#5fb4b4' + green: '#99c794' + magenta: '#c695c6' + red: '#ec5f66' + white: '#f7f7f7' + yellow: '#f9ae58' + bright: + black: '#333333' + blue: '#85add6' + cyan: '#82c4c4' + green: '#acd1a8' + magenta: '#d8b6d8' + red: '#f97b58' + white: '#ffffff' + yellow: '#fac761' + selection: + background: '#4e5a65' + text: '#d8dee9' + + marine_dark: &marine_dark + # Default colors + primary: + background: '0x002221' + foreground: '0xe6f8f8' + + # Normal colors + normal: + black: '0x002221' + red: '0xea3431' + green: '0x00b6b6' + yellow: '0xf8b017' + blue: '0x4894fd' + magenta: '0xe01dca' + cyan: '0x1ab2ad' + white: '0x99dddb' + + # Bright colors + bright: + black: '0x006562' + red: '0xea3431' + green: '0x00b6b6' + yellow: '0xf8b017' + blue: '0x4894fd' + magenta: '0xe01dca' + cyan: '0x1ab2ad' + white: '0xe6f6f6' + + meliora: &meliora + primary: + background: "#1c1917" + foreground: "#d6d0cd" + # Bright and dim foreground colors + dim_foreground: "#d6d0cd" + bright_foreground: "#d6d0cd" + + # Cursor colors + cursor: + text: "#1c1917" + cursor: "#d6d0cd" + vi_mode_cursor: + text: "#1c1917" + cursor: "#d6d0cd" + + # Search colors + search: + matches: + foreground: "#1c1917" + background: "#24201e" + focused_match: + foreground: "#1c1917" + background: "#2a2522" + footer_bar: + foreground: "#1c1917" + background: "#b8aea8" + hints: + start: + foreground: "#1c1917" + background: "#c4b392" + end: + foreground: "#1c1917" + background: "#24201e" + selection: + text: "#d6d0cd" + background: "#2a2522" + normal: + black: "#2a2421" + red: "#d49191" + green: "#b6b696" + yellow: "#c4b392" + blue: "#9e96b6" + magenta: "#b696b1" + cyan: "#98acc8" + white: "#ddd9d6" + bright: + black: "#2e2622" + red: "#d89393" + green: "#b9b99b" + yellow: "#c8b692" + blue: "#a299b9" + magenta: "#b997b4" + cyan: "#9bb0ca" + white: "#e1dbd9" + dim: + black: "#2a2421" + red: "#d18989" + green: "#727246" + yellow: "#c1b090" + blue: "#9b92b3" + magenta: "#b393ad" + cyan: "#95a9c5" + white: "#e3d5ce" + indexed_colors: + - { index: 16, color: "#c4b392" } + - { index: 17, color: "#ddd9d6" } + + deep_blue: &deep_blue + primary: + background: '#1b202a' + foreground: '#9aa7bd' + + cursor: + text: '#232936' + cursor: '#51617d' + + # Normal colors + normal: + black: '#1b202a' + red: '#b15e7c' + green: '#709d6c' + yellow: '#b5a262' + blue: '#608cc3' + magenta: '#8f72bf' + cyan: '#56adb7' + white: '#9aa7bd' + + # Bright colors + bright: + black: '#232936' + red: '#b3785d' + green: '#709d6c' + yellow: '#d5b875' + blue: '#608cc3' + magenta: '#c47ebd' + cyan: '#51617d' + white: '#9aa7bd' + +colors: *challenger_deep diff --git a/dot_config/alacritty/themes/themes/Cobalt2.yaml b/dot_config/alacritty/themes/themes/Cobalt2.yaml new file mode 100644 index 0000000..576a502 --- /dev/null +++ b/dot_config/alacritty/themes/themes/Cobalt2.yaml @@ -0,0 +1,34 @@ +# From the famous Cobalt2 sublime theme +# Source : https://github.com/wesbos/cobalt2/tree/master/Cobalt2 +colors: + # Default colors + primary: + background: '0x122637' + foreground: '0xffffff' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0x122637' + cursor: '0xf0cb09' + + # Normal colors + normal: + black: '0x000000' + red: '0xff0000' + green: '0x37dd21' + yellow: '0xfee409' + blue: '0x1460d2' + magenta: '0xff005d' + cyan: '0x00bbbb' + white: '0xbbbbbb' + + # Bright colors + bright: + black: '0x545454' + red: '0xf40d17' + green: '0x3bcf1d' + yellow: '0xecc809' + blue: '0x5555ff' + magenta: '0xff55ff' + cyan: '0x6ae3f9' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/Mariana.yaml b/dot_config/alacritty/themes/themes/Mariana.yaml new file mode 100644 index 0000000..981301d --- /dev/null +++ b/dot_config/alacritty/themes/themes/Mariana.yaml @@ -0,0 +1,39 @@ +# Mariana (ported from Sublime Text 4) +# Source: https://github.com/mbadolato/iTerm2-Color-Schemes/blob/master/alacritty/Mariana.yml +colors: + # Default colors + primary: + background: '#343d46' + foreground: '#d8dee9' + + # Cursor colors + cursor: + cursor: '#fcbb6a' + text: '#ffffff' + + # Normal colors + normal: + black: '#000000' + blue: '#6699cc' + cyan: '#5fb4b4' + green: '#99c794' + magenta: '#c695c6' + red: '#ec5f66' + white: '#f7f7f7' + yellow: '#f9ae58' + + # Bright colors + bright: + black: '#333333' + blue: '#85add6' + cyan: '#82c4c4' + green: '#acd1a8' + magenta: '#d8b6d8' + red: '#f97b58' + white: '#ffffff' + yellow: '#fac761' + + # Selection colors + selection: + background: '#4e5a65' + text: '#d8dee9' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/afterglow.yaml b/dot_config/alacritty/themes/themes/afterglow.yaml new file mode 100644 index 0000000..44a97d8 --- /dev/null +++ b/dot_config/alacritty/themes/themes/afterglow.yaml @@ -0,0 +1,48 @@ +colors: + # Default colors + primary: + background: '0x2c2c2c' + foreground: '0xd6d6d6' + + dim_foreground: '0xdbdbdb' + bright_foreground: '0xd9d9d9' + dim_background: '0x202020' # not sure + bright_background: '0x3a3a3a' # not sure + + # Cursor colors + cursor: + text: '0x2c2c2c' + cursor: '0xd9d9d9' + + # Normal colors + normal: + black: '0x1c1c1c' + red: '0xbc5653' + green: '0x909d63' + yellow: '0xebc17a' + blue: '0x7eaac7' + magenta: '0xaa6292' + cyan: '0x86d3ce' + white: '0xcacaca' + + # Bright colors + bright: + black: '0x636363' + red: '0xbc5653' + green: '0x909d63' + yellow: '0xebc17a' + blue: '0x7eaac7' + magenta: '0xaa6292' + cyan: '0x86d3ce' + white: '0xf7f7f7' + + # Dim colors + dim: + black: '0x232323' + red: '0x74423f' + green: '0x5e6547' + yellow: '0x8b7653' + blue: '0x556b79' + magenta: '0x6e4962' + cyan: '0x5c8482' + white: '0x828282' diff --git a/dot_config/alacritty/themes/themes/alabaster.yaml b/dot_config/alacritty/themes/themes/alabaster.yaml new file mode 100644 index 0000000..7db771e --- /dev/null +++ b/dot_config/alacritty/themes/themes/alabaster.yaml @@ -0,0 +1,28 @@ +# Colors (Alabaster) +colors: + name: Alabaster + author: tonsky + primary: + background: "#F7F7F7" + foreground: "#434343" + cursor: + text: "#F7F7F7" + cursor: "#434343" + normal: + black: "#000000" + red: "#AA3731" + green: "#448C27" + yellow: "#CB9000" + blue: "#325CC0" + magenta: "#7A3E9D" + cyan: "#0083B2" + white: "#BBBBBB" + bright: + black: "#777777" + red: "#F05050" + green: "#60CB00" + yellow: "#FFBC5D" + blue: "#007ACC" + magenta: "#E64CE6" + cyan: "#00AACB" + white: "#FFFFFF" diff --git a/dot_config/alacritty/themes/themes/alabaster_dark.yaml b/dot_config/alacritty/themes/themes/alabaster_dark.yaml new file mode 100644 index 0000000..7188d42 --- /dev/null +++ b/dot_config/alacritty/themes/themes/alabaster_dark.yaml @@ -0,0 +1,28 @@ +# Colors (Alabaster Dark) +colors: + name: Alabaster (dark) + author: tonsky + primary: + background: "#0E1415" + foreground: "#CECECE" + cursor: + text: "#0E1415" + cursor: "#CECECE" + normal: + black: "#0E1415" + red: "#e25d56" + green: "#73ca50" + yellow: "#e9bf57" + blue: "#4a88e4" + magenta: "#915caf" + cyan: "#23acdd" + white: "#f0f0f0" + bright: + black: "#777777" + red: "#f36868" + green: "#88db3f" + yellow: "#f0bf7a" + blue: "#6f8fdb" + magenta: "#e987e9" + cyan: "#4ac9e2" + white: "#FFFFFF" \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/argonaut.yaml b/dot_config/alacritty/themes/themes/argonaut.yaml new file mode 100644 index 0000000..6e1800d --- /dev/null +++ b/dot_config/alacritty/themes/themes/argonaut.yaml @@ -0,0 +1,32 @@ +colors: + # Default colors + primary: + background: '0x292C3E' + foreground: '0xEBEBEB' + + # Cursor colors + cursor: + text: '0xEBEBEB' + cursor: '0xFF261E' + + # Normal colors + normal: + black: '0x0d0d0d' + red: '0xFF301B' + green: '0xA0E521' + yellow: '0xFFC620' + blue: '0x1BA6FA' + magenta: '0x8763B8' + cyan: '0x21DEEF' + white: '0xEBEBEB' + + # Bright colors + bright: + black: '0x6D7070' + red: '0xFF4352' + green: '0xB8E466' + yellow: '0xFFD750' + blue: '0x1BA6FA' + magenta: '0xA578EA' + cyan: '0x73FBF1' + white: '0xFEFEF8' diff --git a/dot_config/alacritty/themes/themes/atom_one_light.yaml b/dot_config/alacritty/themes/themes/atom_one_light.yaml new file mode 100644 index 0000000..1718fd9 --- /dev/null +++ b/dot_config/alacritty/themes/themes/atom_one_light.yaml @@ -0,0 +1,24 @@ +colors: + primary: + background: '0xf8f8f8' + foreground: '0x2a2b33' + + normal: + black: '0x000000' + red: '0xde3d35' + green: '0x3e953a' + yellow: '0xd2b67b' + blue: '0x2f5af3' + magenta: '0xa00095' + cyan: '0x3e953a' + white: '0xbbbbbb' + + bright: + black: '0x000000' + red: '0xde3d35' + green: '0x3e953a' + yellow: '0xd2b67b' + blue: '0x2f5af3' + magenta: '0xa00095' + cyan: '0x3e953a' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/ayu_dark.yaml b/dot_config/alacritty/themes/themes/ayu_dark.yaml new file mode 100644 index 0000000..c0fa142 --- /dev/null +++ b/dot_config/alacritty/themes/themes/ayu_dark.yaml @@ -0,0 +1,28 @@ +# Colors (Ayu Dark) +colors: + # Default colors + primary: + background: '0x0A0E14' + foreground: '0xB3B1AD' + + # Normal colors + normal: + black: '0x01060E' + red: '0xEA6C73' + green: '0x91B362' + yellow: '0xF9AF4F' + blue: '0x53BDFA' + magenta: '0xFAE994' + cyan: '0x90E1C6' + white: '0xC7C7C7' + + # Bright colors + bright: + black: '0x686868' + red: '0xF07178' + green: '0xC2D94C' + yellow: '0xFFB454' + blue: '0x59C2FF' + magenta: '0xFFEE99' + cyan: '0x95E6CB' + white: '0xFFFFFF' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/ayu_light.yaml b/dot_config/alacritty/themes/themes/ayu_light.yaml new file mode 100644 index 0000000..6ee1cb0 --- /dev/null +++ b/dot_config/alacritty/themes/themes/ayu_light.yaml @@ -0,0 +1,28 @@ +# Colors (Ayu Light) +colors: + # Default colors - taken from ayu-colors + primary: + background: '0xFCFCFC' + foreground: '0x5C6166' + + # Normal colors - taken from ayu-iTerm + normal: + black: '0x010101' + red: '0xe7666a' + green: '0x80ab24' + yellow: '0xeba54d' + blue: '0x4196df' + magenta: '0x9870c3' + cyan: '0x51b891' + white: '0xc1c1c1' + + # Bright colors - pastel lighten 0.1 except black lighten with 0.2 + bright: + black: '0x343434' + red: '0xee9295' + green: '0x9fd32f' + yellow: '0xf0bc7b' + blue: '0x6daee6' + magenta: '0xb294d2' + cyan: '0x75c7a8' + white: '0xdbdbdb' diff --git a/dot_config/alacritty/themes/themes/baitong.yaml b/dot_config/alacritty/themes/themes/baitong.yaml new file mode 100644 index 0000000..e781db0 --- /dev/null +++ b/dot_config/alacritty/themes/themes/baitong.yaml @@ -0,0 +1,64 @@ +# Colors (Baitong) +colors: + primary: + background: '#112a2a' + foreground: '#33ff33' + + cursor: + text: '#112a2a' + cursor: '#ff00ff' + + vi_mode_cursor: + text: '#112a2a' + cursor: '#ff00ff' + + search: + matches: + foreground: '#000000' + background: '#1AE642' + focused_match: + foreground: '#000000' + background: '#ff00ff' + + hints: + start: + foreground: '#1d1f21' + background: '#1AE642' + + end: + foreground: '#1AE642' + background: '#1d1f21' + + line_indicator: + foreground: '#33ff33' + background: '#1d1f21' + + footer_bar: + background: '#731d8b' + foreground: '#ffffff' + + selection: + text: '#112a2a' + background: '#1AE642' + + # Normal colors + normal: + black: '#000000' + red: '#f77272' + green: '#33ff33' + yellow: '#1AE642' + blue: '#68FDFE' + magenta: '#ff66ff' + cyan: '#87CEFA' + white: '#dbdbd9' + + # Bright colors + bright: + black: '#ffffff' + red: '#f77272' + green: '#33ff33' + yellow: '#1AE642' + blue: '#68FDFE' + magenta: '#ff66ff' + cyan: '#68FDFE' + white: '#dbdbd9' diff --git a/dot_config/alacritty/themes/themes/base16_default_dark.yaml b/dot_config/alacritty/themes/themes/base16_default_dark.yaml new file mode 100644 index 0000000..a4d7bf5 --- /dev/null +++ b/dot_config/alacritty/themes/themes/base16_default_dark.yaml @@ -0,0 +1,33 @@ +# Colors (Base16 Default Dark) +colors: + # Default colors + primary: + background: '0x181818' + foreground: '0xd8d8d8' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0x181818' + cursor: '0xd8d8d8' + + # Normal colors + normal: + black: '0x181818' + red: '0xab4642' + green: '0xa1b56c' + yellow: '0xf7ca88' + blue: '0x7cafc2' + magenta: '0xba8baf' + cyan: '0x86c1b9' + white: '0xd8d8d8' + + # Bright colors + bright: + black: '0x585858' + red: '0xab4642' + green: '0xa1b56c' + yellow: '0xf7ca88' + blue: '0x7cafc2' + magenta: '0xba8baf' + cyan: '0x86c1b9' + white: '0xf8f8f8' diff --git a/dot_config/alacritty/themes/themes/blood_moon.yaml b/dot_config/alacritty/themes/themes/blood_moon.yaml new file mode 100644 index 0000000..9ae3be1 --- /dev/null +++ b/dot_config/alacritty/themes/themes/blood_moon.yaml @@ -0,0 +1,28 @@ +# Colors (Blood Moon) +colors: + # Default colors + primary: + background: '0x10100E' + foreground: '0xC6C6C4' + + # Normal colors + normal: + black: '0x10100E' + red: '0xC40233' + green: '0x009F6B' + yellow: '0xFFD700' + blue: '0x0087BD' + magenta: '0x9A4EAE' + cyan: '0x20B2AA' + white: '0xC6C6C4' + + # Bright colors + bright: + black: '0x696969' + red: '0xFF2400' + green: '0x03C03C' + yellow: '0xFDFF00' + blue: '0x007FFF' + magenta: '0xFF1493' + cyan: '0x00CCCC' + white: '0xFFFAFA' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/bluish.yaml b/dot_config/alacritty/themes/themes/bluish.yaml new file mode 100644 index 0000000..4403425 --- /dev/null +++ b/dot_config/alacritty/themes/themes/bluish.yaml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '0x2c3640' + foreground: '0x297dd3' + + # Normal colors + normal: + black: '0x0b0b0c' + red: '0x377fc4' + green: '0x2691e7' + yellow: '0x2090c1' + blue: '0x2c5e87' + magenta: '0x436280' + cyan: '0x547aa2' + white: '0x536679' + + # Bright colors + bright: + black: '0x23272c' + red: '0x66a5cc' + green: '0x59b0f2' + yellow: '0x4bb0d3' + blue: '0x487092' + magenta: '0x50829e' + cyan: '0x658795' + white: '0x4d676b' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/breeze.yaml b/dot_config/alacritty/themes/themes/breeze.yaml new file mode 100644 index 0000000..62bad22 --- /dev/null +++ b/dot_config/alacritty/themes/themes/breeze.yaml @@ -0,0 +1,44 @@ +# KDE Breeze (Ported from Konsole) +colors: + # Default colors + primary: + background: '0x232627' + foreground: '0xfcfcfc' + + dim_foreground: '0xeff0f1' + bright_foreground: '0xffffff' + dim_background: '0x31363b' + bright_background: '0x000000' + + # Normal colors + normal: + black: '0x232627' + red: '0xed1515' + green: '0x11d116' + yellow: '0xf67400' + blue: '0x1d99f3' + magenta: '0x9b59b6' + cyan: '0x1abc9c' + white: '0xfcfcfc' + + # Bright colors + bright: + black: '0x7f8c8d' + red: '0xc0392b' + green: '0x1cdc9a' + yellow: '0xfdbc4b' + blue: '0x3daee9' + magenta: '0x8e44ad' + cyan: '0x16a085' + white: '0xffffff' + + # Dim colors + dim: + black: '0x31363b' + red: '0x783228' + green: '0x17a262' + yellow: '0xb65619' + blue: '0x1b668f' + magenta: '0x614a73' + cyan: '0x186c60' + white: '0x63686d' diff --git a/dot_config/alacritty/themes/themes/campbell.toml b/dot_config/alacritty/themes/themes/campbell.toml new file mode 100644 index 0000000..ac4d3ca --- /dev/null +++ b/dot_config/alacritty/themes/themes/campbell.toml @@ -0,0 +1,23 @@ +[colors.bright] +black = "0x767676" +blue = "0x3b78ff" +cyan = "0x61d6d6" +green = "0x16c60c" +magenta = "0xb4009e" +red = "0xe74856" +white = "0xf2f2f2" +yellow = "0xf9f1a5" + +[colors.normal] +black = "0x0c0c0c" +blue = "0x0037da" +cyan = "0x3a96dd" +green = "0x13a10e" +magenta = "0x881798" +red = "0xc50f1f" +white = "0xcccccc" +yellow = "0xc19c00" + +[colors.primary] +background = "0x0c0c0c" +foreground = "0xcccccc" diff --git a/dot_config/alacritty/themes/themes/campbell.yaml b/dot_config/alacritty/themes/themes/campbell.yaml new file mode 100644 index 0000000..95dba05 --- /dev/null +++ b/dot_config/alacritty/themes/themes/campbell.yaml @@ -0,0 +1,28 @@ +# Campbell (Windows 10 default) +colors: + # Default colors + primary: + background: '0x0c0c0c' + foreground: '0xcccccc' + + # Normal colors + normal: + black: '0x0c0c0c' + red: '0xc50f1f' + green: '0x13a10e' + yellow: '0xc19c00' + blue: '0x0037da' + magenta: '0x881798' + cyan: '0x3a96dd' + white: '0xcccccc' + + # Bright colors + bright: + black: '0x767676' + red: '0xe74856' + green: '0x16c60c' + yellow: '0xf9f1a5' + blue: '0x3b78ff' + magenta: '0xb4009e' + cyan: '0x61d6d6' + white: '0xf2f2f2' diff --git a/dot_config/alacritty/themes/themes/carbonfox.yaml b/dot_config/alacritty/themes/themes/carbonfox.yaml new file mode 100644 index 0000000..c61e66c --- /dev/null +++ b/dot_config/alacritty/themes/themes/carbonfox.yaml @@ -0,0 +1,25 @@ +colors: + # Default colors + primary: + background: '0x161616' + foreground: '0xf2f4f8' + # Normal colors + normal: + black: '0x282828' + red: '0xee5396' + green: '0x25be6a' + yellow: '0x08bdba' + blue: '0x78a9ff' + magenta: '0xbe95ff' + cyan: '0x33b1ff' + white: '0xdfdfe0' + # Bright colors + bright: + black: '0x484848' + red: '0xf16da6' + green: '0x46c880' + yellow: '0x2dc7c4' + blue: '0x8cb6ff' + magenta: '0xc8a5ff' + cyan: '0x52bdff' + white: '0xe4e4e5' diff --git a/dot_config/alacritty/themes/themes/catppuccin.yaml b/dot_config/alacritty/themes/themes/catppuccin.yaml new file mode 100644 index 0000000..e25440a --- /dev/null +++ b/dot_config/alacritty/themes/themes/catppuccin.yaml @@ -0,0 +1,42 @@ + +# Catppuccino theme scheme for Alacritty + +colors: + primary: + background: '#1E1E2E' + foreground: '0xd6d6d6' + + cursor: + text: '#CDD6F4' + cursor: '#D9D9D9' + + normal: + black: '#181A1F' + red: '#E86671' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '#C678DD' + cyan: '#54AFBC' + white: '#ABB2BF' + + bright: + black: '#5C6370' + red: '#E86671' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '#C678DD' + cyan: '#54AFBC' + white: '0xf7f7f7' + + dim: + black: '#5C6370' + red: '0x74423f' + green: '#98C379' + yellow: '#E5C07B' + blue: '#61AFEF' + magenta: '0x6e4962' + cyan: '0x5c8482' + white: '0x828282' + diff --git a/dot_config/alacritty/themes/themes/challenger_deep.yaml b/dot_config/alacritty/themes/themes/challenger_deep.yaml new file mode 100644 index 0000000..4030163 --- /dev/null +++ b/dot_config/alacritty/themes/themes/challenger_deep.yaml @@ -0,0 +1,31 @@ +# Colors (Challenger Deep) +colors: + # Default colors + primary: + background: '0x1e1c31' + foreground: '0xcbe1e7' + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0xff271d' + cursor: '0xfbfcfc' + # Normal colors + normal: + black: '0x141228' + red: '0xff5458' + green: '0x62d196' + yellow: '0xffb378' + blue: '0x65b2ff' + magenta: '0x906cff' + cyan: '0x63f2f1' + white: '0xa6b3cc' + # Bright colors + bright: + black: '0x565575' + red: '0xff8080' + green: '0x95ffa4' + yellow: '0xffe9aa' + blue: '0x91ddff' + magenta: '0xc991e1' + cyan: '0xaaffe4' + white: '0xcbe3e7' + diff --git a/dot_config/alacritty/themes/themes/citylights.yaml b/dot_config/alacritty/themes/themes/citylights.yaml new file mode 100644 index 0000000..6f1a3ec --- /dev/null +++ b/dot_config/alacritty/themes/themes/citylights.yaml @@ -0,0 +1,31 @@ +colors: + # Default colors + primary: + background: '0x171d23' + foreground: '0xffffff' + + # Cursor colors + cursor: + text: '0xfafafa' + cursor: '0x008b94' + + # Normal colors + normal: + black: '0x333f4a' + red: '0xd95468' + green: '0x8bd49c' + blue: '0x539afc' + magenta: '0xb62d65' + cyan: '0x70e1e8' + white: '0xb7c5d3' + + # Bright colors + bright: + black: '0x41505e' + red: '0xd95468' + green: '0x8bd49c' + yellow: '0xebbf83' + blue: '0x5ec4ff' + magenta: '0xe27e8d' + cyan: '0x70e1e8' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/cyber_punk_neon.yaml b/dot_config/alacritty/themes/themes/cyber_punk_neon.yaml new file mode 100644 index 0000000..5292ddd --- /dev/null +++ b/dot_config/alacritty/themes/themes/cyber_punk_neon.yaml @@ -0,0 +1,34 @@ +# Cyber Punk Neon +# Source: https://github.com/Roboron3042/Cyberpunk-Neon +colors: + # Default colors + primary: + background: "0x000b1e" + foreground: "0x0abdc6" + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: "0x000b1e" + cursor: "0x0abdc6" + + # Normal colors + normal: + black: "0x123e7c" + red: "0xff0000" + green: "0xd300c4" + yellow: "0xf57800" + blue: "0x123e7c" + magenta: "0x711c91" + cyan: "0x0abdc6" + white: "0xd7d7d5" + + # Bright colors + bright: + black: "0x1c61c2" + red: "0xff0000" + green: "0xd300c4" + yellow: "0xf57800" + blue: "0x00ff00" + magenta: "0x711c91" + cyan: "0x0abdc6" + white: "0xd7d7d5" diff --git a/dot_config/alacritty/themes/themes/darcula.yaml b/dot_config/alacritty/themes/themes/darcula.yaml new file mode 100644 index 0000000..507aab1 --- /dev/null +++ b/dot_config/alacritty/themes/themes/darcula.yaml @@ -0,0 +1,28 @@ +# Colors (Darcula) +colors: + # Default colors + primary: + background: '0x282a36' + foreground: '0xf8f8f2' + + # Normal colors + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xcaa9fa' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xbfbfbf' + + # Bright colors + bright: + black: '0x282a35' + red: '0xff6e67' + green: '0x5af78e' + yellow: '0xf4f99d' + blue: '0xcaa9fa' + magenta: '0xff92d0' + cyan: '0x9aedfe' + white: '0xe6e6e6' diff --git a/dot_config/alacritty/themes/themes/dark_pastels.yaml b/dot_config/alacritty/themes/themes/dark_pastels.yaml new file mode 100644 index 0000000..97eb7f9 --- /dev/null +++ b/dot_config/alacritty/themes/themes/dark_pastels.yaml @@ -0,0 +1,29 @@ + +# Colors (Konsole's Dark Pastels) +colors: + # Default colors + primary: + background: '0x2C2C2C' + foreground: '0xDCDCCC' + + # Normal colors + normal: + black: '0x3F3F3F' + red: '0x705050' + green: '0x60B48A' + yellow: '0xDFAF8F' + blue: '0x9AB8D7' + magenta: '0xDC8CC3' + cyan: '0x8CD0D3' + white: '0xDCDCCC' + + # Bright colors + bright: + black: '0x709080' + red: '0xDCA3A3' + green: '0x72D5A3' + yellow: '0xF0DFAF' + blue: '0x94BFF3' + magenta: '0xEC93D3' + cyan: '0x93E0E3' + white: '0xFFFFFF' diff --git a/dot_config/alacritty/themes/themes/deep_space.yaml b/dot_config/alacritty/themes/themes/deep_space.yaml new file mode 100644 index 0000000..653f875 --- /dev/null +++ b/dot_config/alacritty/themes/themes/deep_space.yaml @@ -0,0 +1,33 @@ +# Source: https://github.com/tyrannicaltoucan/vim-deep-space +colors: + # Default colors + primary: + background: '#1b202a' + foreground: '#9aa7bd' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '#232936' + cursor: '#51617d' + + # Normal colors + normal: + black: '#1b202a' + red: '#b15e7c' + green: '#709d6c' + yellow: '#b5a262' + blue: '#608cc3' + magenta: '#8f72bf' + cyan: '#56adb7' + white: '#9aa7bd' + + # Bright colors + bright: + black: '#232936' + red: '#b3785d' + green: '#709d6c' + yellow: '#d5b875' + blue: '#608cc3' + magenta: '#c47ebd' + cyan: '#51617d' + white: '#9aa7bd' diff --git a/dot_config/alacritty/themes/themes/doom_one.yaml b/dot_config/alacritty/themes/themes/doom_one.yaml new file mode 100644 index 0000000..cdbdaf4 --- /dev/null +++ b/dot_config/alacritty/themes/themes/doom_one.yaml @@ -0,0 +1,17 @@ +# Colors (Doom One) +colors: + # Default colors + primary: + background: '0x282c34' + foreground: '0xbbc2cf' + + # Normal colors + normal: + black: '0x282c34' + red: '0xff6c6b' + green: '0x98be65' + yellow: '0xecbe7b' + blue: '0x51afef' + magenta: '0xc678dd' + cyan: '0x46d9ff' + white: '0xbbc2cf' diff --git a/dot_config/alacritty/themes/themes/dracula.yaml b/dot_config/alacritty/themes/themes/dracula.yaml new file mode 100644 index 0000000..f5026c1 --- /dev/null +++ b/dot_config/alacritty/themes/themes/dracula.yaml @@ -0,0 +1,28 @@ +# Colors (Dracula) +colors: + # Default colors + primary: + background: '0x282a36' + foreground: '0xf8f8f2' + + # Normal colors + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xbd93f9' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xbbbbbb' + + # Bright colors + bright: + black: '0x555555' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xf1fa8c' + blue: '0xcaa9fa' + magenta: '0xff79c6' + cyan: '0x8be9fd' + white: '0xffffff' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/everforest_dark.yaml b/dot_config/alacritty/themes/themes/everforest_dark.yaml new file mode 100644 index 0000000..4faffbc --- /dev/null +++ b/dot_config/alacritty/themes/themes/everforest_dark.yaml @@ -0,0 +1,28 @@ +# Colors (Everforest Dark) +colors: + # Default colors + primary: + background: '0x2d353b' + foreground: '0xd3c6aa' + + # Normal colors + normal: + black: '0x475258' + red: '0xe67e80' + green: '0xa7c080' + yellow: '0xdbbc7f' + blue: '0x7fbbb3' + magenta: '0xd699b6' + cyan: '0x83c092' + white: '0xd3c6aa' + + # Bright colors + bright: + black: '0x475258' + red: '0xe67e80' + green: '0xa7c080' + yellow: '0xdbbc7f' + blue: '0x7fbbb3' + magenta: '0xd699b6' + cyan: '0x83c092' + white: '0xd3c6aa' diff --git a/dot_config/alacritty/themes/themes/everforest_light.yaml b/dot_config/alacritty/themes/themes/everforest_light.yaml new file mode 100644 index 0000000..af5b42e --- /dev/null +++ b/dot_config/alacritty/themes/themes/everforest_light.yaml @@ -0,0 +1,28 @@ +# Colors (Everforest Light) +colors: + # Default colors + primary: + background: '0xfdf6e3' + foreground: '0x5c6a72' + + # Normal colors + normal: + black: '0x5c6a72' + red: '0xf85552' + green: '0x8da101' + yellow: '0xdfa000' + blue: '0x3a94c5' + magenta: '0xdf69ba' + cyan: '0x35a77c' + white: '0xe0dcc7' + + # Bright Colors + bright: + black: '0x5c6a72' + red: '0xf85552' + green: '0x8da101' + yellow: '0xdfa000' + blue: '0x3a94c5' + magenta: '0xdf69ba' + cyan: '0x35a77c' + white: '0xe0dcc7' diff --git a/dot_config/alacritty/themes/themes/falcon.yaml b/dot_config/alacritty/themes/themes/falcon.yaml new file mode 100644 index 0000000..33c267b --- /dev/null +++ b/dot_config/alacritty/themes/themes/falcon.yaml @@ -0,0 +1,34 @@ +# falcon colorscheme for alacritty +# by fenetikm, https://github.com/fenetikm/falcon +colors: + # Default colors + primary: + background: '0x020221' + foreground: '0xb4b4b9' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0x020221' + cursor: '0xffe8c0' + + # Normal colors + normal: + black: '0x000004' + red: '0xff3600' + green: '0x718e3f' + yellow: '0xffc552' + blue: '0x635196' + magenta: '0xff761a' + cyan: '0x34bfa4' + white: '0xb4b4b9' + + # Bright colors + bright: + black: '0x020221' + red: '0xff8e78' + green: '0xb1bf75' + yellow: '0xffd392' + blue: '0x99a4bc' + magenta: '0xffb07b' + cyan: '0x8bccbf' + white: '0xf8f8ff' diff --git a/dot_config/alacritty/themes/themes/flat_remix.yaml b/dot_config/alacritty/themes/themes/flat_remix.yaml new file mode 100644 index 0000000..5105553 --- /dev/null +++ b/dot_config/alacritty/themes/themes/flat_remix.yaml @@ -0,0 +1,25 @@ +colors: + primary: + background: '0x272a34' + foreground: '0xFFFFFF' + + normal: + black: '0x1F2229' + red: '0xEC0101' + green: '0x47D4B9' + yellow: '0xFF8A18' + blue: '0x277FFF' + magenta: '0xD71655' + cyan: '0x05A1F7' + white: '0xFFFFFF' + + + bright: + black: '0x1F2229' + red: '0xD41919' + green: '0x5EBDAB' + yellow: '0xFEA44C' + blue: '0x367bf0' + magenta: '0xBF2E5D' + cyan: '0x49AEE6' + white: '0xFFFFFF' diff --git a/dot_config/alacritty/themes/themes/github_dark.yaml b/dot_config/alacritty/themes/themes/github_dark.yaml new file mode 100644 index 0000000..b76add7 --- /dev/null +++ b/dot_config/alacritty/themes/themes/github_dark.yaml @@ -0,0 +1,32 @@ +# github Alacritty Colors +colors: + # Default colors + primary: + background: '0x24292e' + foreground: '0xd1d5da' + + # Normal colors + normal: + black: '0x586069' + red: '0xea4a5a' + green: '0x34d058' + yellow: '0xffea7f' + blue: '0x2188ff' + magenta: '0xb392f0' + cyan: '0x39c5cf' + white: '0xd1d5da' + + # Bright colors + bright: + black: '0x959da5' + red: '0xf97583' + green: '0x85e89d' + yellow: '0xffea7f' + blue: '0x79b8ff' + magenta: '0xb392f0' + cyan: '0x56d4dd' + white: '0xfafbfc' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xf97583' } diff --git a/dot_config/alacritty/themes/themes/github_dark_colorblind.yaml b/dot_config/alacritty/themes/themes/github_dark_colorblind.yaml new file mode 100644 index 0000000..24e6f51 --- /dev/null +++ b/dot_config/alacritty/themes/themes/github_dark_colorblind.yaml @@ -0,0 +1,32 @@ +# github Alacritty Colors +colors: + # Default colors + primary: + background: '0x0d1117' + foreground: '0xb3b1ad' + + # Normal colors + normal: + black: '0x484f58' + red: '0xff7b72' + green: '0x3fb950' + yellow: '0xd29922' + blue: '0x58a6ff' + magenta: '0xbc8cff' + cyan: '0x39c5cf' + white: '0xb1bac4' + + # Bright colors + bright: + black: '0x6e7681' + red: '0xffa198' + green: '0x56d364' + yellow: '0xe3b341' + blue: '0x79c0ff' + magenta: '0xd2a8ff' + cyan: '0x56d4dd' + white: '0xf0f6fc' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xffa198' } diff --git a/dot_config/alacritty/themes/themes/github_dark_default.yaml b/dot_config/alacritty/themes/themes/github_dark_default.yaml new file mode 100644 index 0000000..24e6f51 --- /dev/null +++ b/dot_config/alacritty/themes/themes/github_dark_default.yaml @@ -0,0 +1,32 @@ +# github Alacritty Colors +colors: + # Default colors + primary: + background: '0x0d1117' + foreground: '0xb3b1ad' + + # Normal colors + normal: + black: '0x484f58' + red: '0xff7b72' + green: '0x3fb950' + yellow: '0xd29922' + blue: '0x58a6ff' + magenta: '0xbc8cff' + cyan: '0x39c5cf' + white: '0xb1bac4' + + # Bright colors + bright: + black: '0x6e7681' + red: '0xffa198' + green: '0x56d364' + yellow: '0xe3b341' + blue: '0x79c0ff' + magenta: '0xd2a8ff' + cyan: '0x56d4dd' + white: '0xf0f6fc' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xffa198' } diff --git a/dot_config/alacritty/themes/themes/github_dimmed.yaml b/dot_config/alacritty/themes/themes/github_dimmed.yaml new file mode 100644 index 0000000..89817f7 --- /dev/null +++ b/dot_config/alacritty/themes/themes/github_dimmed.yaml @@ -0,0 +1,32 @@ +# github Alacritty Colors +colors: + # Default colors + primary: + background: '0x22272e' + foreground: '0x768390' + + # Normal colors + normal: + black: '0x545d68' + red: '0xf47067' + green: '0x57ab5a' + yellow: '0xc69026' + blue: '0x539bf5' + magenta: '0xb083f0' + cyan: '0x39c5cf' + white: '0x909dab' + + # Bright colors + bright: + black: '0x636e7b' + red: '0xff938a' + green: '0x6bc46d' + yellow: '0xdaaa3f' + blue: '0x6cb6ff' + magenta: '0xdcbdfb' + cyan: '0x56d4dd' + white: '0xcdd9e5' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xff938a' } diff --git a/dot_config/alacritty/themes/themes/github_light.yaml b/dot_config/alacritty/themes/themes/github_light.yaml new file mode 100644 index 0000000..0818c8f --- /dev/null +++ b/dot_config/alacritty/themes/themes/github_light.yaml @@ -0,0 +1,32 @@ +# github Alacritty Colors +colors: + # Default colors + primary: + background: '0xffffff' + foreground: '0x24292f' + + # Normal colors + normal: + black: '0x24292e' + red: '0xd73a49' + green: '0x28a745' + yellow: '0xdbab09' + blue: '0x0366d6' + magenta: '0x5a32a3' + cyan: '0x0598bc' + white: '0x6a737d' + + # Bright colors + bright: + black: '0x959da5' + red: '0xcb2431' + green: '0x22863a' + yellow: '0xb08800' + blue: '0x005cc5' + magenta: '0x5a32a3' + cyan: '0x3192aa' + white: '0xd1d5da' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xcb2431' } diff --git a/dot_config/alacritty/themes/themes/github_light_colorblind.yaml b/dot_config/alacritty/themes/themes/github_light_colorblind.yaml new file mode 100644 index 0000000..abfdb7a --- /dev/null +++ b/dot_config/alacritty/themes/themes/github_light_colorblind.yaml @@ -0,0 +1,32 @@ +# github Alacritty Colors +colors: + # Default colors + primary: + background: '0xffffff' + foreground: '0x0E1116' + + # Normal colors + normal: + black: '0x24292f' + red: '0xcf222e' + green: '0x116329' + yellow: '0x4d2d00' + blue: '0x0969da' + magenta: '0x8250df' + cyan: '0x1b7c83' + white: '0x6e7781' + + # Bright colors + bright: + black: '0x57606a' + red: '0xa40e26' + green: '0x1a7f37' + yellow: '0x633c01' + blue: '0x218bff' + magenta: '0xa475f9' + cyan: '0x3192aa' + white: '0x8c959f' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xa40e26' } diff --git a/dot_config/alacritty/themes/themes/github_light_default.yaml b/dot_config/alacritty/themes/themes/github_light_default.yaml new file mode 100644 index 0000000..abfdb7a --- /dev/null +++ b/dot_config/alacritty/themes/themes/github_light_default.yaml @@ -0,0 +1,32 @@ +# github Alacritty Colors +colors: + # Default colors + primary: + background: '0xffffff' + foreground: '0x0E1116' + + # Normal colors + normal: + black: '0x24292f' + red: '0xcf222e' + green: '0x116329' + yellow: '0x4d2d00' + blue: '0x0969da' + magenta: '0x8250df' + cyan: '0x1b7c83' + white: '0x6e7781' + + # Bright colors + bright: + black: '0x57606a' + red: '0xa40e26' + green: '0x1a7f37' + yellow: '0x633c01' + blue: '0x218bff' + magenta: '0xa475f9' + cyan: '0x3192aa' + white: '0x8c959f' + + indexed_colors: + - { index: 16, color: '0xd18616' } + - { index: 17, color: '0xa40e26' } diff --git a/dot_config/alacritty/themes/themes/gnome_terminal.yaml b/dot_config/alacritty/themes/themes/gnome_terminal.yaml new file mode 100644 index 0000000..848e79a --- /dev/null +++ b/dot_config/alacritty/themes/themes/gnome_terminal.yaml @@ -0,0 +1,28 @@ +# Gnome (Gnome Terminal Default) +colors: + # Default colors + primary: + background: '0x1e1e1e' + foreground: '0xffffff' + + # Normal colors + normal: + black: '0x171421' + red: '0xc01c28' + green: '0x26a269' + yellow: '0xa2734c' + blue: '0x12488b' + magenta: '0xa347ba' + cyan: '0x2aa1b3' + white: '0xd0cfcc' + + # Bright colors + bright: + black: '0x535c64' + red: '0xf66151' + green: '0x33d17a' + yellow: '0xe9ad0c' + blue: '0x2a7bde' + magenta: '0xc061cb' + cyan: '0x33c7de' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/gotham.yaml b/dot_config/alacritty/themes/themes/gotham.yaml new file mode 100644 index 0000000..f58f9a3 --- /dev/null +++ b/dot_config/alacritty/themes/themes/gotham.yaml @@ -0,0 +1,28 @@ +# Colors (Gotham) +colors: + # Default colors + primary: + background: '0x0a0f14' + foreground: '0x98d1ce' + + # Normal colors + normal: + black: '0x0a0f14' + red: '0xc33027' + green: '0x26a98b' + yellow: '0xedb54b' + blue: '0x195465' + magenta: '0x4e5165' + cyan: '0x33859d' + white: '0x98d1ce' + + # Bright colors + bright: + black: '0x10151b' + red: '0xd26939' + green: '0x081f2d' + yellow: '0x245361' + blue: '0x093748' + magenta: '0x888ba5' + cyan: '0x599caa' + white: '0xd3ebe9' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/gruvbox_dark.yaml b/dot_config/alacritty/themes/themes/gruvbox_dark.yaml new file mode 100644 index 0000000..d9c604f --- /dev/null +++ b/dot_config/alacritty/themes/themes/gruvbox_dark.yaml @@ -0,0 +1,30 @@ +# Colors (Gruvbox dark) +colors: + # Default colors + primary: + # hard contrast: background = '0x1d2021' + background: '0x282828' + # soft contrast: background = '0x32302f' + foreground: '0xebdbb2' + + # Normal colors + normal: + black: '0x282828' + red: '0xcc241d' + green: '0x98971a' + yellow: '0xd79921' + blue: '0x458588' + magenta: '0xb16286' + cyan: '0x689d6a' + white: '0xa89984' + + # Bright colors + bright: + black: '0x928374' + red: '0xfb4934' + green: '0xb8bb26' + yellow: '0xfabd2f' + blue: '0x83a598' + magenta: '0xd3869b' + cyan: '0x8ec07c' + white: '0xebdbb2' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/gruvbox_light.yaml b/dot_config/alacritty/themes/themes/gruvbox_light.yaml new file mode 100644 index 0000000..d679c3c --- /dev/null +++ b/dot_config/alacritty/themes/themes/gruvbox_light.yaml @@ -0,0 +1,30 @@ +# Colors (Gruvbox light) +colors: + # Default colors + primary: + # hard contrast: background = '0xf9f5d7' + background: '0xfbf1c7' + # soft contrast: background = '0xf2e5bc' + foreground: '0x3c3836' + + # Normal colors + normal: + black: '0xfbf1c7' + red: '0xcc241d' + green: '0x98971a' + yellow: '0xd79921' + blue: '0x458588' + magenta: '0xb16286' + cyan: '0x689d6a' + white: '0x7c6f64' + + # Bright colors + bright: + black: '0x928374' + red: '0x9d0006' + green: '0x79740e' + yellow: '0xb57614' + blue: '0x076678' + magenta: '0x8f3f71' + cyan: '0x427b58' + white: '0x3c3836' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/gruvbox_material_medium_dark.yaml b/dot_config/alacritty/themes/themes/gruvbox_material_medium_dark.yaml new file mode 100644 index 0000000..b540bc0 --- /dev/null +++ b/dot_config/alacritty/themes/themes/gruvbox_material_medium_dark.yaml @@ -0,0 +1,28 @@ +# Colors (Gruvbox Material Medium Dark) +colors: + # Default colors + primary: + background: '#282828' + foreground: '#d4be98' + + # Normal colors + normal: + black: '#3c3836' + red: '#ea6962' + green: '#a9b665' + yellow: '#d8a657' + blue: '#7daea3' + magenta: '#d3869b' + cyan: '#89b482' + white: '#d4be98' + + # Bright colors (same as normal colors) + bright: + black: '#3c3836' + red: '#ea6962' + green: '#a9b665' + yellow: '#d8a657' + blue: '#7daea3' + magenta: '#d3869b' + cyan: '#89b482' + white: '#d4be98' diff --git a/dot_config/alacritty/themes/themes/gruvbox_material_medium_light.yaml b/dot_config/alacritty/themes/themes/gruvbox_material_medium_light.yaml new file mode 100644 index 0000000..b461aa4 --- /dev/null +++ b/dot_config/alacritty/themes/themes/gruvbox_material_medium_light.yaml @@ -0,0 +1,28 @@ +# Colors (Gruvbox Material Medium Light) +colors: + # Default colors + primary: + background: '#fbf1c7' + foreground: '#654735' + + # Normal colors + normal: + black: '#654735' + red: '#c14a4a' + green: '#6c782e' + yellow: '#b47109' + blue: '#45707a' + magenta: '#945e80' + cyan: '#4c7a5d' + white: '#eee0b7' + + # Bright colors (same as normal colors) + bright: + black: '#654735' + red: '#c14a4a' + green: '#6c782e' + yellow: '#b47109' + blue: '#45707a' + magenta: '#945e80' + cyan: '#4c7a5d' + white: '#eee0b7' diff --git a/dot_config/alacritty/themes/themes/hardhacker.yaml b/dot_config/alacritty/themes/themes/hardhacker.yaml new file mode 100644 index 0000000..73a3212 --- /dev/null +++ b/dot_config/alacritty/themes/themes/hardhacker.yaml @@ -0,0 +1,34 @@ +# hardhacker colorscheme for alacritty +# by xin wu, https://github.com/hardhackerlabs/theme-alacritty +colors: + # Default colors + primary: + background: '0x282433' + foreground: '0xeee9fc' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0xeee9fc' + cursor: '0xeee9fc' + + # Normal colors + normal: + black: '0x282433' + red: '0xe965a5' + green: '0xb1f2a7' + yellow: '0xebde76' + blue: '0xb1baf4' + magenta: '0xe192ef' + cyan: '0xb3f4f3' + white: '0xeee9fc' + + # Bright colors + bright: + black: '0x3f3951' + red: '0xe965a5' + green: '0xb1f2a7' + yellow: '0xebde76' + blue: '0xb1baf4' + magenta: '0xe192ef' + cyan: '0xb3f4f3' + white: '0xeee9fc' diff --git a/dot_config/alacritty/themes/themes/high_contrast.yaml b/dot_config/alacritty/themes/themes/high_contrast.yaml new file mode 100644 index 0000000..cd4cdb7 --- /dev/null +++ b/dot_config/alacritty/themes/themes/high_contrast.yaml @@ -0,0 +1,33 @@ +# Colors (High Contrast) +colors: + # Default colors + primary: + background: '0x444444' + foreground: '0xdddddd' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0xaaaaaa' + cursor: '0xffffff' + + # Normal colors + normal: + black: '0x000000' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x0000ff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' + + # Bright colors + bright: + black: '0x000000' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x0000ff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/horizon-dark.yaml b/dot_config/alacritty/themes/themes/horizon-dark.yaml new file mode 100644 index 0000000..d6e29fd --- /dev/null +++ b/dot_config/alacritty/themes/themes/horizon-dark.yaml @@ -0,0 +1,28 @@ +# Colors (Horizon Dark) +colors: + # Primary colors + primary: + background: '0x1c1e26' + foreground: '0xe0e0e0' + + # Normal colors + normal: + black: '0x16161c' + red: '0xe95678' + green: '0x29d398' + yellow: '0xfab795' + blue: '0x26bbd9' + magenta: '0xee64ac' + cyan: '0x59e1e3' + white: '0xd5d8da' + + # Bright colors + bright: + black: '0x5b5858' + red: '0xec6a88' + green: '0x3fdaa4' + yellow: '0xfbc3a7' + blue: '0x3fc4de' + magenta: '0xf075b5' + cyan: '0x6be4e6' + white: '0xd5d8da' diff --git a/dot_config/alacritty/themes/themes/hyper.yaml b/dot_config/alacritty/themes/themes/hyper.yaml new file mode 100644 index 0000000..5b84d66 --- /dev/null +++ b/dot_config/alacritty/themes/themes/hyper.yaml @@ -0,0 +1,31 @@ +# Colors (Hyper) +colors: + # Default colors + primary: + background: '0x000000' + foreground: '0xffffff' + cursor: + text: '0xF81CE5' + cursor: '0xffffff' + + # Normal colors + normal: + black: '0x000000' + red: '0xfe0100' + green: '0x33ff00' + yellow: '0xfeff00' + blue: '0x0066ff' + magenta: '0xcc00ff' + cyan: '0x00ffff' + white: '0xd0d0d0' + + # Bright colors + bright: + black: '0x808080' + red: '0xfe0100' + green: '0x33ff00' + yellow: '0xfeff00' + blue: '0x0066ff' + magenta: '0xcc00ff' + cyan: '0x00ffff' + white: '0xFFFFFF' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/inferno.yaml b/dot_config/alacritty/themes/themes/inferno.yaml new file mode 100644 index 0000000..1555a1b --- /dev/null +++ b/dot_config/alacritty/themes/themes/inferno.yaml @@ -0,0 +1,29 @@ +# Inferno theme +# Source: https://github.com/hafiz-muhammad/inferno-alacritty-theme/blob/main/inferno.yml +colors: + # Default colors + primary: + background: '0x270d06' + foreground: '0xd9d9d9' + + # Normal colors + normal: + black: '0x330000' + red: '0xff3300' + green: '0xff6600' + yellow: '0xff9900' + blue: '0xffcc00' + magenta: '0xff6600' + cyan: '0xff9900' + white: '0xd9d9d9' + + # Bright colors + bright: + black: '0x663300' + red: '0xff6633' + green: '0xff9966' + yellow: '0xffcc99' + blue: '0xffcc33' + magenta: '0xff9966' + cyan: '0xffcc99' + white: '0xd9d9d9' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/iterm.yaml b/dot_config/alacritty/themes/themes/iterm.yaml new file mode 100644 index 0000000..2c31223 --- /dev/null +++ b/dot_config/alacritty/themes/themes/iterm.yaml @@ -0,0 +1,28 @@ +# Colors (iTerm 2 default theme) +colors: + # Default colors + primary: + background: '0x101421' + foreground: '0xfffbf6' + + # Normal colors + normal: + black: '0x2e2e2e' + red: '0xeb4129' + green: '0xabe047' + yellow: '0xf6c744' + blue: '0x47a0f3' + magenta: '0x7b5cb0' + cyan: '0x64dbed' + white: '0xe5e9f0' + + # Bright colors + bright: + black: '0x565656' + red: '0xec5357' + green: '0xc0e17d' + yellow: '0xf9da6a' + blue: '0x49a4f8' + magenta: '0xa47de9' + cyan: '0x99faf2' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/kanagawa_dragon.yaml b/dot_config/alacritty/themes/themes/kanagawa_dragon.yaml new file mode 100644 index 0000000..b8ac2d3 --- /dev/null +++ b/dot_config/alacritty/themes/themes/kanagawa_dragon.yaml @@ -0,0 +1,34 @@ +# Colors (Kanagawa Dragon) +# Source: https://github.com/rebelot/kanagawa.nvim +colors: + primary: + background: '0x181616' + foreground: '0xc5c9c5' + + normal: + black: '0x0d0c0c' + blue: '0x8ba4b0' + cyan: '0x8ea4a2' + green: '0x8a9a7b' + magenta: '0xa292a3' + red: '0xc4746e' + white: '0xC8C093' + yellow: '0xc4b28a' + + bright: + black: '0xa6a69c' + blue: '0x7FB4CA' + cyan: '0x7AA89F' + green: '0x87a987' + magenta: '0x938AA9' + red: '0xE46876' + white: '0xc5c9c5' + yellow: '0xE6C384' + + selection: + background: '0x2d4f67' + foreground: '0xc8c093' + + indexed_colors: + - { index: 16, color: '0xffa066' } + - { index: 17, color: '0xff5d62' } diff --git a/dot_config/alacritty/themes/themes/kanagawa_wave.yaml b/dot_config/alacritty/themes/themes/kanagawa_wave.yaml new file mode 100644 index 0000000..edd8d28 --- /dev/null +++ b/dot_config/alacritty/themes/themes/kanagawa_wave.yaml @@ -0,0 +1,34 @@ +# Colors (Kanagawa Wave) +# Source: https://github.com/rebelot/kanagawa.nvim +colors: + primary: + background: '0x1f1f28' + foreground: '0xdcd7ba' + + normal: + black: '0x090618' + red: '0xc34043' + green: '0x76946a' + yellow: '0xc0a36e' + blue: '0x7e9cd8' + magenta: '0x957fb8' + cyan: '0x6a9589' + white: '0xc8c093' + + bright: + black: '0x727169' + red: '0xe82424' + green: '0x98bb6c' + yellow: '0xe6c384' + blue: '0x7fb4ca' + magenta: '0x938aa9' + cyan: '0x7aa89f' + white: '0xdcd7ba' + + selection: + background: '0x2d4f67' + foreground: '0xc8c093' + + indexed_colors: + - { index: 16, color: '0xffa066' } + - { index: 17, color: '0xff5d62' } diff --git a/dot_config/alacritty/themes/themes/konsole_linux.yaml b/dot_config/alacritty/themes/themes/konsole_linux.yaml new file mode 100644 index 0000000..b4f3e2f --- /dev/null +++ b/dot_config/alacritty/themes/themes/konsole_linux.yaml @@ -0,0 +1,51 @@ +# Color theme ported from Konsole: Linux colors +colors: + primary: + foreground: '0xe3e3e3' + bright_foreground: '0xffffff' + dim_foreground: '0xe3e3e3' + background: '0x1f1f1f' + bright_background: '0x686868' # not sure + dim_background: '0x1f1f1f' # not sure + + cursor: + text: '0x191622' + cursor: '0xf8f8f2' + + search: + matches: + foreground: '0xb2b2b2' + background: '0xb26818' + focused_match: + foreground: CellBackground + background: CellForeground + + normal: + black: '0x000000' + red: '0xb21818' + green: '0x18b218' + yellow: '0xb26818' + blue: '0x1818b2' + magenta: '0xb218b2' + cyan: '0x18b2b2' + white: '0xb2b2b2' + + bright: + black: '0x686868' + red: '0xff5454' + green: '0x54ff54' + yellow: '0xffff54' + blue: '0x5454ff' + magenta: '0xff54ff' + cyan: '0x54ffff' + white: '0xffffff' + + dim: + black: '0x000000' + red: '0xb21818' + green: '0x18b218' + yellow: '0xb26818' + blue: '0x1818b2' + magenta: '0xb218b2' + cyan: '0x18b2b2' + white: '0xb2b2b2' diff --git a/dot_config/alacritty/themes/themes/low_contrast.yaml b/dot_config/alacritty/themes/themes/low_contrast.yaml new file mode 100644 index 0000000..35bbb4e --- /dev/null +++ b/dot_config/alacritty/themes/themes/low_contrast.yaml @@ -0,0 +1,33 @@ +# Colors (Dim) +colors: + # Default colors + primary: + background: '0x333333' + foreground: '0xdddddd' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0xaaaaaa' + cursor: '0xffffff' + + # Normal colors + normal: + black: '0x000000' + red: '0xbb0000' + green: '0x00bb00' + yellow: '0xbbbb00' + blue: '0x0000bb' + magenta: '0xbb00bb' + cyan: '0x00bbbb' + white: '0xbbbbbb' + + # Bright colors + bright: + black: '0x000000' + red: '0xbb0000' + green: '0x00bb00' + yellow: '0xbbbb00' + blue: '0x0000bb' + magenta: '0xbb00bb' + cyan: '0x00bbbb' + white: '0xbbbbbb' diff --git a/dot_config/alacritty/themes/themes/marine_dark.yaml b/dot_config/alacritty/themes/themes/marine_dark.yaml new file mode 100644 index 0000000..3b217e8 --- /dev/null +++ b/dot_config/alacritty/themes/themes/marine_dark.yaml @@ -0,0 +1,29 @@ +# Marine Dark Theme +# Source: https://github.com/ProDeSquare/alacritty-colorschemes/blob/master/themes/marine_dark.yaml +colors: + # Default colors + primary: + background: '0x002221' + foreground: '0xe6f8f8' + + # Normal colors + normal: + black: '0x002221' + red: '0xea3431' + green: '0x00b6b6' + yellow: '0xf8b017' + blue: '0x4894fd' + magenta: '0xe01dca' + cyan: '0x1ab2ad' + white: '0x99dddb' + + # Bright colors + bright: + black: '0x006562' + red: '0xea3431' + green: '0x00b6b6' + yellow: '0xf8b017' + blue: '0x4894fd' + magenta: '0xe01dca' + cyan: '0x1ab2ad' + white: '0xe6f6f6' diff --git a/dot_config/alacritty/themes/themes/material_theme.yaml b/dot_config/alacritty/themes/themes/material_theme.yaml new file mode 100644 index 0000000..400c5f6 --- /dev/null +++ b/dot_config/alacritty/themes/themes/material_theme.yaml @@ -0,0 +1,28 @@ +# Colors (Material Theme) +colors: + # Default colors + primary: + background: '0x1e282d' + foreground: '0xc4c7d1' + + # Normal colors + normal: + black: '0x666666' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x80cbc4' + magenta: '0xff2f90' + cyan: '0xaeddff' + white: '0xffffff' + + # Bright colors + bright: + black: '0xff262b' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x7dc6bf' + magenta: '0x6c71c4' + cyan: '0x35434d' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/material_theme_mod.yaml b/dot_config/alacritty/themes/themes/material_theme_mod.yaml new file mode 100644 index 0000000..cb68fbd --- /dev/null +++ b/dot_config/alacritty/themes/themes/material_theme_mod.yaml @@ -0,0 +1,28 @@ +# Colors (Material Theme) +colors: + # Default colors + primary: + background: '0x1e282d' + foreground: '0xc4c7d1' + + # Normal colors + normal: + black: '0x666666' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x80cbc4' + magenta: '0xff2f90' + cyan: '0xaeddff' + white: '0xffffff' + + # Bright colors + bright: + black: '0xa1a1a1' + red: '0xeb606b' + green: '0xc3e88d' + yellow: '0xf7eb95' + blue: '0x7dc6bf' + magenta: '0x6c71c4' + cyan: '0x35434d' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/meliora.yml b/dot_config/alacritty/themes/themes/meliora.yml new file mode 100644 index 0000000..cffdf28 --- /dev/null +++ b/dot_config/alacritty/themes/themes/meliora.yml @@ -0,0 +1,79 @@ +colors: + primary: + background: "#1c1917" + foreground: "#d6d0cd" + # Bright and dim foreground colors + dim_foreground: "#d6d0cd" + bright_foreground: "#d6d0cd" + + # Cursor colors + cursor: + text: "#1c1917" + cursor: "#d6d0cd" + vi_mode_cursor: + text: "#1c1917" + cursor: "#d6d0cd" + + # Search colors + search: + matches: + foreground: "#1c1917" + background: "#24201e" + focused_match: + foreground: "#1c1917" + background: "#2a2522" + footer_bar: + foreground: "#1c1917" + background: "#b8aea8" + + # Keyboard regex hints + hints: + start: + foreground: "#1c1917" + background: "#c4b392" + end: + foreground: "#1c1917" + background: "#24201e" + + # Selection colors + selection: + text: "#d6d0cd" + background: "#2a2522" + + # Normal colors + normal: + black: "#2a2421" + red: "#d49191" + green: "#b6b696" + yellow: "#c4b392" + blue: "#9e96b6" + magenta: "#b696b1" + cyan: "#98acc8" + white: "#ddd9d6" + + # Bright colors + bright: + black: "#2e2622" + red: "#d89393" + green: "#b9b99b" + yellow: "#c8b692" + blue: "#a299b9" + magenta: "#b997b4" + cyan: "#9bb0ca" + white: "#e1dbd9" + + # Dim colors + dim: + black: "#2a2421" + red: "#d18989" + green: "#727246" + yellow: "#c1b090" + blue: "#9b92b3" + magenta: "#b393ad" + cyan: "#95a9c5" + white: "#e3d5ce" + + indexed_colors: + - { index: 16, color: "#c4b392" } + - { index: 17, color: "#ddd9d6" } + diff --git a/dot_config/alacritty/themes/themes/midnight-haze.yaml b/dot_config/alacritty/themes/themes/midnight-haze.yaml new file mode 100644 index 0000000..987005c --- /dev/null +++ b/dot_config/alacritty/themes/themes/midnight-haze.yaml @@ -0,0 +1,29 @@ +# Midnight Haze theme +# Source: https://github.com/hafiz-muhammad/midnight-haze-alacritty-theme/blob/main/midnight-haze.yml +colors: + # Default colors + primary: + background: '0x0c0c16' + foreground: '0xd8dee9' + + # Normal colors + normal: + black: '0x2c2c3d' + red: '0xff6e6e' + green: '0x9ec875' + yellow: '0xffa759' + blue: '0x70a7d4' + magenta: '0xd291e0' + cyan: '0x96e0e0' + white: '0xd8dee9' + + # Bright colors + bright: + black: '0x414166' + red: '0xff8d8d' + green: '0xb3d987' + yellow: '0xffc57f' + blue: '0x9bb3d3' + magenta: '0xffa1ff' + cyan: '0x9cd8d8' + white: '0xffffff' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/monokai_charcoal.yaml b/dot_config/alacritty/themes/themes/monokai_charcoal.yaml new file mode 100644 index 0000000..d954289 --- /dev/null +++ b/dot_config/alacritty/themes/themes/monokai_charcoal.yaml @@ -0,0 +1,28 @@ +# Colours (Monokai Charcoal) +colors: + # Default Colours + primary: + background: '#000000' + foreground: '#FFFFFF' + + # Normal Colours + normal: + black: '#1a1a1a' + red: '#f4005f' + green: '#98e024' + yellow: '#fa8419' + blue: '#9d65ff' + magenta: '#f4005f' + cyan: '#58d1eb' + white: '#c4c5b5' + + # Bright Colours + bright: + black: '#625e4c' + red: '#f4005f' + green: '#98e024' + yellow: '#e0d561' + blue: '#9d65ff' + magenta: '#f4005f' + cyan: '#58d1eb' + white: '#f6f6ef' diff --git a/dot_config/alacritty/themes/themes/monokai_pro.yaml b/dot_config/alacritty/themes/themes/monokai_pro.yaml new file mode 100644 index 0000000..331316b --- /dev/null +++ b/dot_config/alacritty/themes/themes/monokai_pro.yaml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '0x2D2A2E' + foreground: '0xfff1f3' + + # Normal colors + normal: + black: '0x2c2525' + red: '0xfd6883' + green: '0xadda78' + yellow: '0xf9cc6c' + blue: '0xf38d70' + magenta: '0xa8a9eb' + cyan: '0x85dacc' + white: '0xfff1f3' + + # Bright colors + bright: + black: '0x72696a' + red: '0xfd6883' + green: '0xadda78' + yellow: '0xf9cc6c' + blue: '0xf38d70' + magenta: '0xa8a9eb' + cyan: '0x85dacc' + white: '0xfff1f3' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/moonlight_ii_vscode.yaml b/dot_config/alacritty/themes/themes/moonlight_ii_vscode.yaml new file mode 100644 index 0000000..b9a9117 --- /dev/null +++ b/dot_config/alacritty/themes/themes/moonlight_ii_vscode.yaml @@ -0,0 +1,28 @@ +colors: + primary: + background: '0x1e2030' + foreground: '0x7f85a3' + + cursor: + text: '0x7f85a3' + cursor: '0x808080' + + normal: + black: '0x444a73' + red: '0xff5370' + green: '0x4fd6be' + yellow: '0xffc777' + blue: '0x3e68d7' + magenta: '0xfc7b7b' + cyan: '0x86e1fc' + white: '0xd0d0d0' + + bright: + black: '0x828bb8' + red: '0xff98a4' + green: '0xc3e88d' + yellow: '0xffc777' + blue: '0x82aaff' + magenta: '0xff966c' + cyan: '0xb4f9f8' + white: '0x5f8787' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/msx.yaml b/dot_config/alacritty/themes/themes/msx.yaml new file mode 100644 index 0000000..ff181f6 --- /dev/null +++ b/dot_config/alacritty/themes/themes/msx.yaml @@ -0,0 +1,41 @@ +# Colors (MSX-like) +# Notice that MSX used blue as background so [bright] blue and [bright] black +# are reversed in this theme. Also MSX had only 15 colors (color 0 was +# transparent) so 'gray' (#CCCCCC) is used two times: both as white and +# bright black. +colors: + # Default colors + primary: + background: '#5955E0' + foreground: '#FFFFFF' + + # Normal colors + normal: + # It is 'dark blue' not black + black: '#5955E0' + red: '#B95E51' + green: '#3AA241' + yellow: '#CCC35E' + # It is 'black' not blue + blue: '#000000' + # It is 'medium red' not magenta + magenta: '#DB6559' + # It is 'medium green' not cyan + cyan: '#3EB849' + # It is 'gray' not white + white: '#CCCCCC' + + # Bright colors + bright: + # It is 'light blue' not bright black + black: '#8076F1' + red: '#FF897D' + green: '#74D07D' + yellow: '#DED087' + # It is 'gray' not bright blue + blue: '#CCCCCC' + # It is 'magenta' not bright magenta + magenta: '#B766B5' + # It is 'cyan' not bright cyan + cyan: '#65DBEF' + white: '#FFFFFF' diff --git a/dot_config/alacritty/themes/themes/night_owlish_light.yaml b/dot_config/alacritty/themes/themes/night_owlish_light.yaml new file mode 100644 index 0000000..3b8d938 --- /dev/null +++ b/dot_config/alacritty/themes/themes/night_owlish_light.yaml @@ -0,0 +1,29 @@ +# Colors (Night Owlish Light) +colors: + bright: + black: '#7a8181' + blue: '#5ca7e4' + cyan: '#00c990' + green: '#49d0c5' + magenta: '#697098' + red: '#f76e6e' + white: '#989fb1' + yellow: '#dac26b' + cursor: + cursor: '#403f53' + text: '#fbfbfb' + normal: + black: '#011627' + blue: '#4876d6' + cyan: '#08916a' + green: '#2aa298' + magenta: '#403f53' + red: '#d3423e' + white: '#7a8181' + yellow: '#daaa01' + primary: + background: '#ffffff' + foreground: '#403f53' + selection: + background: '#f2f2f2' + text: '#403f53' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/nightfox.yaml b/dot_config/alacritty/themes/themes/nightfox.yaml new file mode 100644 index 0000000..ee3812a --- /dev/null +++ b/dot_config/alacritty/themes/themes/nightfox.yaml @@ -0,0 +1,26 @@ +# Colors (NightFox) +colors: + # Default colors + primary: + background: '0x192330' + foreground: '0xcdcecf' + # Normal colors + normal: + black: '0x393b44' + red: '0xc94f6d' + green: '0x81b29a' + yellow: '0xdbc074' + blue: '0x719cd6' + magenta: '0x9d79d6' + cyan: '0x63cdcf' + white: '0xdfdfe0' + # Bright colors + bright: + black: '0x575860' + red: '0xd16983' + green: '0x8ebaa4' + yellow: '0xe0c989' + blue: '0x86abdc' + magenta: '0xbaa1e2' + cyan: '0x7ad5d6' + white: '0xe4e4e5' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/nord.yaml b/dot_config/alacritty/themes/themes/nord.yaml new file mode 100644 index 0000000..4e8d093 --- /dev/null +++ b/dot_config/alacritty/themes/themes/nord.yaml @@ -0,0 +1,28 @@ +# Colors (Nord) +colors: + # Default colors + primary: + background: '0x2E3440' + foreground: '0xD8DEE9' + + # Normal colors + normal: + black: '0x3B4252' + red: '0xBF616A' + green: '0xA3BE8C' + yellow: '0xEBCB8B' + blue: '0x81A1C1' + magenta: '0xB48EAD' + cyan: '0x88C0D0' + white: '0xE5E9F0' + + # Bright colors + bright: + black: '0x4C566A' + red: '0xBF616A' + green: '0xA3BE8C' + yellow: '0xEBCB8B' + blue: '0x81A1C1' + magenta: '0xB48EAD' + cyan: '0x8FBCBB' + white: '0xECEFF4' diff --git a/dot_config/alacritty/themes/themes/oceanic_next.yaml b/dot_config/alacritty/themes/themes/oceanic_next.yaml new file mode 100644 index 0000000..9bad83f --- /dev/null +++ b/dot_config/alacritty/themes/themes/oceanic_next.yaml @@ -0,0 +1,28 @@ +# Colors (Oceanic Next) +colors: + # Default colors + primary: + background: '0x1b2b34' + foreground: '0xd8dee9' + + # Normal colors + normal: + black: '0x29414f' + red: '0xec5f67' + green: '0x99c794' + yellow: '0xfac863' + blue: '0x6699cc' + magenta: '0xc594c5' + cyan: '0x5fb3b3' + white: '0x65737e' + + # Bright colors + bright: + black: '0x405860' + red: '0xec5f67' + green: '0x99c794' + yellow: '0xfac863' + blue: '0x6699cc' + magenta: '0xc594c5' + cyan: '0x5fb3b3' + white: '0xadb5c0' diff --git a/dot_config/alacritty/themes/themes/omni.yaml b/dot_config/alacritty/themes/themes/omni.yaml new file mode 100644 index 0000000..91570e1 --- /dev/null +++ b/dot_config/alacritty/themes/themes/omni.yaml @@ -0,0 +1,38 @@ +colors: + primary: + background: '0x191622' + foreground: '0xe1e1e6' + + cursor: + text: '0x191622' + cursor: '0xf8f8f2' + + normal: + black: '0x000000' + red: '0xff5555' + green: '0x50fa7b' + yellow: '0xeffa78' + blue: '0xbd93f9' + magenta: '0xff79c6' + cyan: '0x8d79ba' + white: '0xbfbfbf' + + bright: + black: '0x4d4d4d' + red: '0xff6e67' + green: '0x5af78e' + yellow: '0xeaf08d' + blue: '0xcaa9fa' + magenta: '0xff92d0' + cyan: '0xaa91e3' + white: '0xe6e6e6' + + dim: + black: '0x000000' + red: '0xa90000' + green: '0x049f2b' + yellow: '0xa3b106' + blue: '0x530aba' + magenta: '0xbb006b' + cyan: '0x433364' + white: '0x5f5f5f' diff --git a/dot_config/alacritty/themes/themes/one_dark.yaml b/dot_config/alacritty/themes/themes/one_dark.yaml new file mode 100644 index 0000000..a54e040 --- /dev/null +++ b/dot_config/alacritty/themes/themes/one_dark.yaml @@ -0,0 +1,28 @@ +# Colors (One Dark) +colors: + # Default colors + primary: + background: '0x1e2127' + foreground: '0xabb2bf' + + # Normal colors + normal: + black: '0x1e2127' + red: '0xe06c75' + green: '0x98c379' + yellow: '0xd19a66' + blue: '0x61afef' + magenta: '0xc678dd' + cyan: '0x56b6c2' + white: '0xabb2bf' + + # Bright colors + bright: + black: '0x5c6370' + red: '0xe06c75' + green: '0x98c379' + yellow: '0xd19a66' + blue: '0x61afef' + magenta: '0xc678dd' + cyan: '0x56b6c2' + white: '0xffffff' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/palenight.yaml b/dot_config/alacritty/themes/themes/palenight.yaml new file mode 100644 index 0000000..f65206a --- /dev/null +++ b/dot_config/alacritty/themes/themes/palenight.yaml @@ -0,0 +1,30 @@ +# iTerm2 Material Design - Palenight theme for Alacritty +# Source : https://github.com/JonathanSpeek/palenight-iterm2 + +colors: + # Default colors + primary: + background: '0x292d3e' + foreground: '0xd0d0d0' + + # Normal colors + normal: + black: '0x292d3e' + red: '0xf07178' + green: '0xc3e88d' + yellow: '0xffcb6b' + blue: '0x82aaff' + magenta: '0xc792ea' + cyan: '0x89ddff' + white: '0xd0d0d0' + + # Bright colors + bright: + black: '0x434758' + red: '0xff8b92' + green: '0xddffa7' + yellow: '0xffe585' + blue: '0x9cc4ff' + magenta: '0xe1acff' + cyan: '0xa3f7ff' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/papercolor_dark.yaml b/dot_config/alacritty/themes/themes/papercolor_dark.yaml new file mode 100644 index 0000000..79d0e14 --- /dev/null +++ b/dot_config/alacritty/themes/themes/papercolor_dark.yaml @@ -0,0 +1,32 @@ +# Colors (PaperColor - Dark) +colors: + # Default colors + primary: + background: '0x1c1c1c' + foreground: '0x808080' + + cursor: + text: '0x1c1c1c' + cursor: '0x808080' + + # Normal colors + normal: + black: '0x1c1c1c' + red: '0xaf005f' + green: '0x5faf00' + yellow: '0xd7af5f' + blue: '0x5fafd7' + magenta: '0x808080' + cyan: '0xd7875f' + white: '0xd0d0d0' + + # Bright colors + bright: + black: '0x585858' + red: '0x5faf5f' + green: '0xafd700' + yellow: '0xaf87d7' + blue: '0xffaf00' + magenta: '0xffaf00' + cyan: '0x00afaf' + white: '0x5f8787' diff --git a/dot_config/alacritty/themes/themes/papercolor_light.yaml b/dot_config/alacritty/themes/themes/papercolor_light.yaml new file mode 100644 index 0000000..06707a7 --- /dev/null +++ b/dot_config/alacritty/themes/themes/papercolor_light.yaml @@ -0,0 +1,32 @@ +# Colors (PaperColor - Light) +colors: + # Default colors + primary: + background: '0xeeeeee' + foreground: '0x444444' + + cursor: + text: '0xeeeeee' + cursor: '0x444444' + + # Normal colors + normal: + black: '0xeeeeee' + red: '0xaf0000' + green: '0x008700' + yellow: '0x5f8700' + blue: '0x0087af' + magenta: '0x878787' + cyan: '0x005f87' + white: '0x444444' + + # Bright colors + bright: + black: '0xbcbcbc' + red: '0xd70000' + green: '0xd70087' + yellow: '0x8700af' + blue: '0xd75f00' + magenta: '0xd75f00' + cyan: '0x005faf' + white: '0x005f87' diff --git a/dot_config/alacritty/themes/themes/papertheme.yaml b/dot_config/alacritty/themes/themes/papertheme.yaml new file mode 100644 index 0000000..13117e1 --- /dev/null +++ b/dot_config/alacritty/themes/themes/papertheme.yaml @@ -0,0 +1,28 @@ +# Colors (Paper Theme) +colors: + # Default colors + primary: + background: '#F2EEDE' + foreground: '#000000' + + # Normal colors + normal: + black: '#000000' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' + + # Bright colors + bright: + black: '#555555' + red: '#CC3E28' + green: '#216609' + yellow: '#B58900' + blue: '#1E6FCC' + magenta: '#5C21A5' + cyan: '#158C86' + white: '#AAAAAA' diff --git a/dot_config/alacritty/themes/themes/pencil_dark.yaml b/dot_config/alacritty/themes/themes/pencil_dark.yaml new file mode 100644 index 0000000..9bb2a13 --- /dev/null +++ b/dot_config/alacritty/themes/themes/pencil_dark.yaml @@ -0,0 +1,26 @@ +# Colors (Pencil Dark) +colors: + # Default Colors + primary: + background: '0x212121' + foreground: '0xf1f1f1' + # Normal colors + normal: + black: '0x212121' + red: '0xc30771' + green: '0x10a778' + yellow: '0xa89c14' + blue: '0x008ec4' + magenta: '0x523c79' + cyan: '0x20a5ba' + white: '0xe0e0e0' + # Bright colors + bright: + black: '0x818181' + red: '0xfb007a' + green: '0x5fd7af' + yellow: '0xf3e430' + blue: '0x20bbfc' + magenta: '0x6855de' + cyan: '0x4fb8cc' + white: '0xf1f1f1' diff --git a/dot_config/alacritty/themes/themes/pencil_light.yaml b/dot_config/alacritty/themes/themes/pencil_light.yaml new file mode 100644 index 0000000..10db04d --- /dev/null +++ b/dot_config/alacritty/themes/themes/pencil_light.yaml @@ -0,0 +1,26 @@ +# Colors (Pencil Light) +colors: + # Default Colors + primary: + background: '0xf1f1f1' + foreground: '0x424242' + # Normal colors + normal: + black: '0x212121' + red: '0xc30771' + green: '0x10a778' + yellow: '0xa89c14' + blue: '0x008ec4' + magenta: '0x523c79' + cyan: '0x20a5ba' + white: '0xe0e0e0' + # Bright colors + bright: + black: '0x212121' + red: '0xfb007a' + green: '0x5fd7af' + yellow: '0xf3e430' + blue: '0x20bbfc' + magenta: '0x6855de' + cyan: '0x4fb8cc' + white: '0xf1f1f1' diff --git a/dot_config/alacritty/themes/themes/rainbow.yaml b/dot_config/alacritty/themes/themes/rainbow.yaml new file mode 100644 index 0000000..99df442 --- /dev/null +++ b/dot_config/alacritty/themes/themes/rainbow.yaml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '0x192835' + foreground: '0xAADA4F' + + # Normal colors + normal: + black: '0x5B4375' + red: '0x426bb6' + green: '0x2286b5' + yellow: '0x5ab782' + blue: '0x93ca5b' + magenta: '0xc6c842' + cyan: '0x8a5135' + white: '0xc54646' + + # Bright colors + bright: + black: '0x5B4375' + red: '0x426bb6' + green: '0x2286b5' + yellow: '0x5ab782' + blue: '0x93ca5b' + magenta: '0xc6c842' + cyan: '0x8a5135' + white: '0xc54646' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/remedy_dark.yaml b/dot_config/alacritty/themes/themes/remedy_dark.yaml new file mode 100644 index 0000000..0cd339f --- /dev/null +++ b/dot_config/alacritty/themes/themes/remedy_dark.yaml @@ -0,0 +1,38 @@ +colors: + # Default colors + primary: + background: '0x2c2b2a' + foreground: '0xf9e7c4' + + dim_foreground: '0x685E4A' + bright_foreground: '0x1C1508' + dim_background: '0x202322' + bright_background: '0x353433' + + # Cursor colors + cursor: + text: '0xf9e7c4' + cursor: '0xf9e7c4' + + # Normal colors + normal: + black: '0x282a2e' + blue: '0x5f819d' + cyan: '0x5e8d87' + green: '0x8c9440' + magenta: '0x85678f' + orange: '0xcc6953' + red: '0xa54242' + white: '0x707880' + yellow: '0xde935f' + + # Bright colors + bright: + black: '0x373b41' + blue: '0x81a2be' + cyan: '0x8abeb7' + green: '0xb5bd68' + magenta: '0xb294bb' + red: '0xcc6666' + white: '0xc5c8c6' + yellow: '0xf0c674' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/rose-pine-dawn.yaml b/dot_config/alacritty/themes/themes/rose-pine-dawn.yaml new file mode 100644 index 0000000..56cb0fb --- /dev/null +++ b/dot_config/alacritty/themes/themes/rose-pine-dawn.yaml @@ -0,0 +1,41 @@ +colors: + primary: + background: "0xfaf4ed" + foreground: "0x575279" + cursor: + text: "0x575279" + cursor: "0xcecacd" + vi_mode_cursor: + text: "0x575279" + cursor: "0xcecacd" + line_indicator: + foreground: None + background: None + selection: + text: "0x575279" + background: "0xdfdad9" + normal: + black: "0xf2e9e1" + red: "0xb4637a" + green: "0x286983" + yellow: "0xea9d34" + blue: "0x56949f" + magenta: "0x907aa9" + cyan: "0xd7827e" + white: "0x575279" + bright: + black: "0x9893a5" + red: "0xb4637a" + green: "0x286983" + yellow: "0xea9d34" + blue: "0x56949f" + magenta: "0x907aa9" + cyan: "0xd7827e" + white: "0x575279" + hints: + start: + foreground: "#797593" + background: "#fffaf3" + end: + foreground: "#9893a5" + background: "#fffaf3" diff --git a/dot_config/alacritty/themes/themes/rose-pine-moon.yaml b/dot_config/alacritty/themes/themes/rose-pine-moon.yaml new file mode 100644 index 0000000..517584d --- /dev/null +++ b/dot_config/alacritty/themes/themes/rose-pine-moon.yaml @@ -0,0 +1,41 @@ +colors: + primary: + background: "0x232136" + foreground: "0xe0def4" + cursor: + text: "0xe0def4" + cursor: "0x56526e" + vi_mode_cursor: + text: "0xe0def4" + cursor: "0x56526e" + line_indicator: + foreground: None + background: None + selection: + text: "0xe0def4" + background: "0x44415a" + normal: + black: "0x393552" + red: "0xeb6f92" + green: "0x3e8fb0" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xea9a97" + white: "0xe0def4" + bright: + black: "0x6e6a86" + red: "0xeb6f92" + green: "0x3e8fb0" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xea9a97" + white: "0xe0def4" + hints: + start: + foreground: "#908caa" + background: "#2a273f" + end: + foreground: "#6e6a86" + background: "#2a273f" diff --git a/dot_config/alacritty/themes/themes/rose-pine.yaml b/dot_config/alacritty/themes/themes/rose-pine.yaml new file mode 100644 index 0000000..ed70851 --- /dev/null +++ b/dot_config/alacritty/themes/themes/rose-pine.yaml @@ -0,0 +1,41 @@ +colors: + primary: + background: "0x191724" + foreground: "0xe0def4" + cursor: + text: "0xe0def4" + cursor: "0x524f67" + vi_mode_cursor: + text: "0xe0def4" + cursor: "0x524f67" + line_indicator: + foreground: None + background: None + selection: + text: "0xe0def4" + background: "0x403d52" + normal: + black: "0x26233a" + red: "0xeb6f92" + green: "0x31748f" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xebbcba" + white: "0xe0def4" + bright: + black: "0x6e6a86" + red: "0xeb6f92" + green: "0x31748f" + yellow: "0xf6c177" + blue: "0x9ccfd8" + magenta: "0xc4a7e7" + cyan: "0xebbcba" + white: "0xe0def4" + hints: + start: + foreground: "#908caa" + background: "#1f1d2e" + end: + foreground: "#6e6a86" + background: "#1f1d2e" diff --git a/dot_config/alacritty/themes/themes/seashells.yaml b/dot_config/alacritty/themes/themes/seashells.yaml new file mode 100644 index 0000000..4f84a29 --- /dev/null +++ b/dot_config/alacritty/themes/themes/seashells.yaml @@ -0,0 +1,38 @@ +# Colors (SeaShells) +# Source : https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/schemes/SeaShells.itermcolors +colors: + # Default colors + primary: + background: '#061923' + foreground: '#e5c49e' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '#061822' + cursor: '#feaf3c' + + selection: + text: '#ffe9d7' + background: '#265b75' + + # Normal colors + normal: + black: '#1d485f' + red: '#db662d' + green: '#008eab' + yellow: '#feaf3c' + blue: '#255a62' + magenta: '#77dbf4' + cyan: '#5fb1c2' + white: '#e5c49e' + + # Bright colors + bright: + black: '#545d65' + red: '#dd998a' + green: '#739da8' + yellow: '#fedaae' + blue: '#0bc7e3' + magenta: '#c6e8f1' + cyan: '#97b9c0' + white: '#ffe9d7' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/smoooooth.yaml b/dot_config/alacritty/themes/themes/smoooooth.yaml new file mode 100644 index 0000000..e21df4b --- /dev/null +++ b/dot_config/alacritty/themes/themes/smoooooth.yaml @@ -0,0 +1,30 @@ +# Color theme ported from iTerm 2: Smoooooth + +colors: + primary: + foreground: '0xdbdbdb' + background: '0x14191e' + cursor: + text: '0x000000' + cursor: '0xfefffe' + selection: + text: '0x000000' + background: '0xb3d7ff' + normal: + black: '0x14191e' + red: '0xb43c29' + green: '0x00c200' + yellow: '0xc7c400' + blue: '0x2743c7' + magenta: '0xbf3fbd' + cyan: '0x00c5c7' + white: '0xc7c7c7' + bright: + black: '0x676767' + red: '0xdc7974' + green: '0x57e690' + yellow: '0xece100' + blue: '0xa6aaf1' + magenta: '0xe07de0' + cyan: '0x5ffdff' + white: '0xfeffff' diff --git a/dot_config/alacritty/themes/themes/snazzy.yaml b/dot_config/alacritty/themes/themes/snazzy.yaml new file mode 100644 index 0000000..aacebd0 --- /dev/null +++ b/dot_config/alacritty/themes/themes/snazzy.yaml @@ -0,0 +1,28 @@ +# Colors (Snazzy) +colors: + # Default colors + primary: + background: '0x282a36' + foreground: '0xeff0eb' + + # Normal colors + normal: + black: '0x282a36' + red: '0xff5c57' + green: '0x5af78e' + yellow: '0xf3f99d' + blue: '0x57c7ff' + magenta: '0xff6ac1' + cyan: '0x9aedfe' + white: '0xf1f1f0' + + # Bright colors + bright: + black: '0x686868' + red: '0xff5c57' + green: '0x5af78e' + yellow: '0xf3f99d' + blue: '0x57c7ff' + magenta: '0xff6ac1' + cyan: '0x9aedfe' + white: '0xf1f1f0' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/solarized_dark.yaml b/dot_config/alacritty/themes/themes/solarized_dark.yaml new file mode 100644 index 0000000..0055c81 --- /dev/null +++ b/dot_config/alacritty/themes/themes/solarized_dark.yaml @@ -0,0 +1,28 @@ +# Colors (Solarized Dark) +colors: + # Default colors + primary: + background: '0x002b36' + foreground: '0x839496' + + # Normal colors + normal: + black: '0x073642' + red: '0xdc322f' + green: '0x859900' + yellow: '0xb58900' + blue: '0x268bd2' + magenta: '0xd33682' + cyan: '0x2aa198' + white: '0xeee8d5' + + # Bright colors + bright: + black: '0x002b36' + red: '0xcb4b16' + green: '0x586e75' + yellow: '0x657b83' + blue: '0x839496' + magenta: '0x6c71c4' + cyan: '0x93a1a1' + white: '0xfdf6e3' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/solarized_light.yaml b/dot_config/alacritty/themes/themes/solarized_light.yaml new file mode 100644 index 0000000..6a5acd9 --- /dev/null +++ b/dot_config/alacritty/themes/themes/solarized_light.yaml @@ -0,0 +1,28 @@ +# Colors (Solarized Light) +colors: + # Default colors + primary: + background: '0xfdf6e3' + foreground: '0x586e75' + + # Normal colors + normal: + black: '0x073642' + red: '0xdc322f' + green: '0x859900' + yellow: '0xb58900' + blue: '0x268bd2' + magenta: '0xd33682' + cyan: '0x2aa198' + white: '0xeee8d5' + + # Bright colors + bright: + black: '0x002b36' + red: '0xcb4b16' + green: '0x586e75' + yellow: '0x657b83' + blue: '0x839496' + magenta: '0x6c71c4' + cyan: '0x93a1a1' + white: '0xfdf6e3' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/taerminal.yaml b/dot_config/alacritty/themes/themes/taerminal.yaml new file mode 100644 index 0000000..9dc804c --- /dev/null +++ b/dot_config/alacritty/themes/themes/taerminal.yaml @@ -0,0 +1,31 @@ +# Colors (Taerminal) +colors: + # Default colors + primary: + background: '0x26282a' + foreground: '0xf0f0f0' + cursor: + background: '0xf0f0f0' + foreground: '0x26282a' + + # Normal colors + normal: + black: '0x26282a' + red: '0xff8878' + green: '0xb4fb73' + yellow: '0xfffcb7' + blue: '0x8bbce5' + magenta: '0xffb2fe' + cyan: '0xa2e1f8' + white: '0xf1f1f1' + + # Bright colors + bright: + black: '0x6f6f6f' + red: '0xfe978b' + green: '0xd6fcba' + yellow: '0xfffed5' + blue: '0xc2e3ff' + magenta: '0xffc6ff' + cyan: '0xc0e9f8' + white: '0xffffff' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/tango_dark.yaml b/dot_config/alacritty/themes/themes/tango_dark.yaml new file mode 100644 index 0000000..e91733d --- /dev/null +++ b/dot_config/alacritty/themes/themes/tango_dark.yaml @@ -0,0 +1,26 @@ +# GNOME Terminal Tango Dark +colors: + primary: + background: '0x2e3436' + foreground: '0xd3d7cf' + + normal: + black: '0x2e3436' + red: '0xcc0000' + green: '0x4e9a06' + yellow: '0xc4a000' + blue: '0x3465a4' + magenta: '0x75507b' + cyan: '0x06989a' + white: '0xd3d7cf' + + bright: + black: '0x555753' + red: '0xef2929' + green: '0x8ae234' + yellow: '0xfce94f' + blue: '0x729fcf' + magenta: '0xad7fa8' + cyan: '0x34e2e2' + white: '0xeeeeec' + diff --git a/dot_config/alacritty/themes/themes/tender.yaml b/dot_config/alacritty/themes/themes/tender.yaml new file mode 100644 index 0000000..ffcacf7 --- /dev/null +++ b/dot_config/alacritty/themes/themes/tender.yaml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '0x282828' + foreground: '0xeeeeee' + + # Normal colors + normal: + black: '0x282828' + red: '0xf43753' + green: '0xc9d05c' + yellow: '0xffc24b' + blue: '0xb3deef' + magenta: '0xd3b987' + cyan: '0x73cef4' + white: '0xeeeeee' + + # Bright colors + bright: + black: '0x4c4c4c' + red: '0xf43753' + green: '0xc9d05c' + yellow: '0xffc24b' + blue: '0xb3deef' + magenta: '0xd3b987' + cyan: '0x73cef4' + white: '0xfeffff' diff --git a/dot_config/alacritty/themes/themes/terminal_app.yaml b/dot_config/alacritty/themes/themes/terminal_app.yaml new file mode 100644 index 0000000..bc2c434 --- /dev/null +++ b/dot_config/alacritty/themes/themes/terminal_app.yaml @@ -0,0 +1,28 @@ +# Colors (Terminal.app) +colors: + # Default colors + primary: + background: '0x000000' + foreground: '0xb6b6b6' + + # Normal colors + normal: + black: '0x000000' + red: '0x990000' + green: '0x00a600' + yellow: '0x999900' + blue: '0x0000b2' + magenta: '0xb200b2' + cyan: '0x00a6b2' + white: '0xbfbfbf' + + # Bright colors + bright: + black: '0x666666' + red: '0xe50000' + green: '0x00d900' + yellow: '0xe5e500' + blue: '0x0000ff' + magenta: '0xe500e5' + cyan: '0x00e5e5' + white: '0xe5e5e5' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/thelovelace.yaml b/dot_config/alacritty/themes/themes/thelovelace.yaml new file mode 100644 index 0000000..4d73889 --- /dev/null +++ b/dot_config/alacritty/themes/themes/thelovelace.yaml @@ -0,0 +1,27 @@ +colors: + # Default colors + primary: + background: '0x1D1F28' + foreground: '0xFDFDFD' + + # Normal colors + normal: + # Bright colors + black: '0x282A36' + red: '0xF37F97' + green: '0x5ADECD' + yellow: '0xF2A272' + blue: '0x8897F4' + magenta: '0xC574DD' + cyan: '0x79E6F3' + white: '0xFDFDFD' + bright: + black: '0x414458' + red: '0xFF4971' + green: '0x18E3C8' + yellow: '0xEBCB8B' + blue: '0xFF8037' + magenta: '0x556FFF' + cyan: '0x3FDCEE' + white: '0xBEBEC1' + indexed_colors: [] diff --git a/dot_config/alacritty/themes/themes/tokyo-night-storm.yaml b/dot_config/alacritty/themes/themes/tokyo-night-storm.yaml new file mode 100644 index 0000000..a64cf4a --- /dev/null +++ b/dot_config/alacritty/themes/themes/tokyo-night-storm.yaml @@ -0,0 +1,29 @@ +# Colors (Tokyo Night: Storm variant) +# Source: https://github.com/zatchheems/tokyo-night-alacritty-theme +colors: + # Default colors + primary: + background: '0x24283b' + foreground: '0xa9b1d6' + + # Normal colors + normal: + black: '0x32344a' + red: '0xf7768e' + green: '0x9ece6a' + yellow: '0xe0af68' + blue: '0x7aa2f7' + magenta: '0xad8ee6' + cyan: '0x449dab' + white: '0x9699a8' + + # Bright colors + bright: + black: '0x444b6a' + red: '0xff7a93' + green: '0xb9f27c' + yellow: '0xff9e64' + blue: '0x7da6ff' + magenta: '0xbb9af7' + cyan: '0x0db9d7' + white: '0xacb0d0' diff --git a/dot_config/alacritty/themes/themes/tokyo-night.yaml b/dot_config/alacritty/themes/themes/tokyo-night.yaml new file mode 100644 index 0000000..a88fd9b --- /dev/null +++ b/dot_config/alacritty/themes/themes/tokyo-night.yaml @@ -0,0 +1,29 @@ +# Colors (Tokyo Night) +# Source: https://github.com/zatchheems/tokyo-night-alacritty-theme +colors: + # Default colors + primary: + background: '0x1a1b26' + foreground: '0xa9b1d6' + + # Normal colors + normal: + black: '0x32344a' + red: '0xf7768e' + green: '0x9ece6a' + yellow: '0xe0af68' + blue: '0x7aa2f7' + magenta: '0xad8ee6' + cyan: '0x449dab' + white: '0x787c99' + + # Bright colors + bright: + black: '0x444b6a' + red: '0xff7a93' + green: '0xb9f27c' + yellow: '0xff9e64' + blue: '0x7da6ff' + magenta: '0xbb9af7' + cyan: '0x0db9d7' + white: '0xacb0d0' diff --git a/dot_config/alacritty/themes/themes/tomorrow_night.yaml b/dot_config/alacritty/themes/themes/tomorrow_night.yaml new file mode 100644 index 0000000..36bafba --- /dev/null +++ b/dot_config/alacritty/themes/themes/tomorrow_night.yaml @@ -0,0 +1,33 @@ +# Colors (Tomorrow Night) +colors: + # Default colors + primary: + background: '0x1d1f21' + foreground: '0xc5c8c6' + + # Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0x1d1f21' + cursor: '0xffffff' + + # Normal colors + normal: + black: '0x1d1f21' + red: '0xcc6666' + green: '0xb5bd68' + yellow: '0xe6c547' + blue: '0x81a2be' + magenta: '0xb294bb' + cyan: '0x70c0ba' + white: '0x373b41' + + # Bright colors + bright: + black: '0x666666' + red: '0xff3334' + green: '0x9ec400' + yellow: '0xf0c674' + blue: '0x81a2be' + magenta: '0xb77ee0' + cyan: '0x54ced6' + white: '0x282a2e' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/tomorrow_night_bright.yaml b/dot_config/alacritty/themes/themes/tomorrow_night_bright.yaml new file mode 100644 index 0000000..55b25d0 --- /dev/null +++ b/dot_config/alacritty/themes/themes/tomorrow_night_bright.yaml @@ -0,0 +1,28 @@ +# Colors (Tomorrow Night Bright) +colors: + # Default colors + primary: + background: '0x000000' + foreground: '0xeaeaea' + + # Normal colors + normal: + black: '0x000000' + red: '0xd54e53' + green: '0xb9ca4a' + yellow: '0xe6c547' + blue: '0x7aa6da' + magenta: '0xc397d8' + cyan: '0x70c0ba' + white: '0x424242' + + # Bright colors + bright: + black: '0x666666' + red: '0xff3334' + green: '0x9ec400' + yellow: '0xe7c547' + blue: '0x7aa6da' + magenta: '0xb77ee0' + cyan: '0x54ced6' + white: '0x2a2a2a' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/ubuntu.yaml b/dot_config/alacritty/themes/themes/ubuntu.yaml new file mode 100644 index 0000000..88ad6d3 --- /dev/null +++ b/dot_config/alacritty/themes/themes/ubuntu.yaml @@ -0,0 +1,33 @@ +# 0x From the Ubuntu terminal color palette +colors: + # 0x Default colors + primary: + background: '0x300a24' + foreground: '0xeeeeec' + + # 0x Colors the cursor will use if `custom_cursor_colors` is true + cursor: + text: '0xbbbbbb' + cursor: '0xb4d5ff' + + # 0x Normal colors + normal: + black: '0x2e3436' + red: '0xcc0000' + green: '0x4e9a06' + yellow: '0xc4a000' + blue: '0x3465a4' + magenta: '0x75507b' + cyan: '0x06989a' + white: '0xd3d7cf' + + # 0x Bright colors + bright: + black: '0x555753' + red: '0xef2929' + green: '0x8ae234' + yellow: '0xfce94f' + blue: '0x729fcf' + magenta: '0xad7fa8' + cyan: '0x34e2e2' + white: '0xeeeeec' diff --git a/dot_config/alacritty/themes/themes/wombat.yaml b/dot_config/alacritty/themes/themes/wombat.yaml new file mode 100644 index 0000000..844e65f --- /dev/null +++ b/dot_config/alacritty/themes/themes/wombat.yaml @@ -0,0 +1,28 @@ +# Colors (Wombat) +colors: + # Default colors + primary: + background: '0x1f1f1f' + foreground: '0xe5e1d8' + + # Normal colors + normal: + black: '0x000000' + red: '0xf7786d' + green: '0xbde97c' + yellow: '0xefdfac' + blue: '0x6ebaf8' + magenta: '0xef88ff' + cyan: '0x90fdf8' + white: '0xe5e1d8' + + # Bright colors + bright: + black: '0xb4b4b4' + red: '0xf99f92' + green: '0xe3f7a1' + yellow: '0xf2e9bf' + blue: '0xb3d2ff' + magenta: '0xe5bdff' + cyan: '0xc2fefa' + white: '0xffffff' \ No newline at end of file diff --git a/dot_config/alacritty/themes/themes/xterm.yaml b/dot_config/alacritty/themes/themes/xterm.yaml new file mode 100644 index 0000000..7f336e4 --- /dev/null +++ b/dot_config/alacritty/themes/themes/xterm.yaml @@ -0,0 +1,27 @@ +# XTerm's default colors +colors: + # Default colors + primary: + background: '0x000000' + foreground: '0xffffff' + # Normal colors + normal: + black: '0x000000' + red: '0xcd0000' + green: '0x00cd00' + yellow: '0xcdcd00' + blue: '0x0000ee' + magenta: '0xcd00cd' + cyan: '0x00cdcd' + white: '0xe5e5e5' + + # Bright colors + bright: + black: '0x7f7f7f' + red: '0xff0000' + green: '0x00ff00' + yellow: '0xffff00' + blue: '0x5c5cff' + magenta: '0xff00ff' + cyan: '0x00ffff' + white: '0xffffff' diff --git a/dot_config/alacritty/themes/themes/zenburn.yaml b/dot_config/alacritty/themes/themes/zenburn.yaml new file mode 100644 index 0000000..4a22a27 --- /dev/null +++ b/dot_config/alacritty/themes/themes/zenburn.yaml @@ -0,0 +1,30 @@ + +# Colors (Zenburn) +# Orginally designed by jnurmine for vim. +colors: + # Default colors + primary: + background: '0x3A3A3A' + foreground: '0xDCDCCC' + + # Normal colors + normal: + black: '0x1E2320' + red: '0xD78787' + green: '0x60B48A' + yellow: '0xDFAF8F' + blue: '0x506070' + magenta: '0xDC8CC3' + cyan: '0x8CD0D3' + white: '0xDCDCCC' + + # Bright colors + bright: + black: '0x709080' + red: '0xDCA3A3' + green: '0xC3BF9F' + yellow: '0xF0DFAF' + blue: '0x94BFF3' + magenta: '0xEC93D3' + cyan: '0x93E0E3' + white: '0xFFFFFF' diff --git a/dot_config/pikaur.conf b/dot_config/pikaur.conf new file mode 100644 index 0000000..630ca6f --- /dev/null +++ b/dot_config/pikaur.conf @@ -0,0 +1,54 @@ +[sync] +alwaysshowpkgorigin = no +develpkgsexpiration = -1 +upgradesorting = versiondiff +showdownloadsize = no +ignoreoutofdateaurupgrades = no + +[build] +keepbuilddir = no +keepdevbuilddir = yes +keepbuilddeps = no +gpgdir = +skipfailedbuild = no +dynamicusers = root +ignorearch = no + +[review] +noedit = no +donteditbydefault = no +nodiff = no +gitdiffargs = --ignore-space-change,--ignore-all-space +diffpager = auto +hidedifffiles = .SRCINFO + +[colors] +version = 10 +versiondiffold = 11 +versiondiffnew = 9 + +[ui] +requireenterconfirm = yes +printcommands = no +aursearchsorting = hottest +displaylastupdated = no +groupbyrepository = yes +reversesearchsorting = yes +warnaboutpackageupdates = + +[misc] +pacmanpath = pacman +privilegeescalationtool = sudo +privilegeescalationtarget = pikaur +userid = 0 +preserveenv = PKGDEST,VISUAL,EDITOR,http_proxy,https_proxy,ftp_proxy,HTTP_PROXY,HTTPS_PROXY,FTP_PROXY,ALL_PROXY +cachepath = /home/niklas/.cache +datapath = /home/niklas/.local/share + +[network] +aururl = https://aur.archlinux.org +newsurl = https://www.archlinux.org/feeds/news/ +socks5proxy = +aurhttpproxy = +aurhttpsproxy = + diff --git a/dot_config/private_sway/private_cheatsheet b/dot_config/private_sway/private_cheatsheet new file mode 100644 index 0000000..ef2704f --- /dev/null +++ b/dot_config/private_sway/private_cheatsheet @@ -0,0 +1,179 @@ +EndeavourOS Sway-WM CheatSheet : + +- Hello! Welcome to EndeavourOS and our Sway-WM Edition! Now we'll admit this is not vanilla Sway and it wasn't desinged to be. It is loosely themed around the ArcDark +colorscheme chosen for it's stability and ease of implementation. The default bar is Waybar not Swaybar - once again chosen it's ease of use and stability as well +the options it offers. + +- Sway is documentated through man pages unlike i3.To get a overview of what to expect you can read 'man 5 sway'. The pages are then spilt into topics - some the +important ones are listed at the bottom of the document. Waybar is also documented through man pages - 'man 5 waybar'. + +- Our file structure is spilt for easier use - the names of the files eg; 'output' referring to the part they play. + +- If your experiencing issus with your cursor - edit file '~/.profile' and comment out 'export WLR_NO_HARDWARE_CURSORS=1' + +- Other than that enjoy your time here and welcome! You can join the Forum or our Telegram - we'd love to hear from you! + + = windows key + +# start floating xfce4-terminal ++Return + +# start fixed termite-terminal ++Shift+Return + +# kill focused window ++q + +# Application menu - wofi: ++d + +# Activities: ++p + +# Power-Menu: ++Shift+e + +# Lock the system ++f1 + +# reload the configuration file ++Shift+c + +# change window focus,like vim ++h focus left ++j focus down ++k focus up ++l focus right + +# alternatively, you can use the cursor keys: ++Left focus left ++Down focus down ++Up focus up ++Right focus right + +# move a focused window ++Shift+h move left ++Shift+j move down ++Shift+k move up ++Shift+l move right + +# alternatively, you can use the cursor keys: ++Shift+Left move left ++Shift+Down move down ++Shift+Up move up ++Shift+Right move right + +# split in horizontal orientation (changes take place on next opened window): ++b + +# split in vertical orientation (changes take place on next opened window): ++v + +# enter fullscreen mode for the focused container: ++f fullscreen toggle + +# change container layout (stacked, tabbed, toggle split): ++s layout stacking ++w layout tabbed ++e layout toggle split + +# toggle tiling / floating: ++Shift+space floating toggle + +# change focus between tiling / floating windows: ++space focus mode_toggle + +# focus the parent container: ++a focus parent + +# resize floating window: ++right mouse button + +# move floating window: ++left mouse button + +# scratchpad: ++Shift+Minus move scratchpad ++minus scratchpad cycle + +# resize mode: ++r + +# resize,like vim: +h focus left +j focus down +k focus up +l focus right + +# alternatively, you can use the cursor keys: +Left focus left +Down focus down +Up focus up +Right focus right + +# Return to default mode: +Return or Escape + +# Workspaces: +# + # Switch to workspace + +1 workspace number 1 + +2 workspace number 2 + +3 workspace number 3 + +4 workspace number 4 + +5 workspace number 5 + +6 workspace number 6 + +7 workspace number 7 + +8 workspace number 8 + +9 workspace number 9 + +0 workspace number 10 + # Move focused container to workspace: + +Shift+1 move container to workspace number 1 + +Shift+2 move container to workspace number 2 + +Shift+3 move container to workspace number 3 + +Shift+4 move container to workspace number 4 + +Shift+5 move container to workspace number 5 + +Shift+6 move container to workspace number 6 + +Shift+7 move container to workspace number 7 + +Shift+8 move container to workspace number 8 + +Shift+9 move container to workspace number 9 + +Shift+0 move container to workspace number 10 + + +# Multimedia Keys (be aware that these may not work for every keyboard): +They are enabled - you may need to hold down the function key while doing so. + + # Screenshots: + PrintSrc for full screenshot + Shift+PrintSrc for screenshot options + +# App Shortcuts: ++n thunar ++o firefox + + +# Other Things: + + # Input - ~/.config/sway/config.d/input + # You can get the names of your inputs by running: swaymsg -t get_inputs + # Put your touchpad's IDENFICATOR to replace "Touchpad-ID" (keep the quotation marks) + # Read `man 5 sway-input` for more information about this section. + + # Output - ~/.config/sway/config.d/output + # You can get the names of your outputs by running: swaymsg -t get_outputs + # Read `man 5 sway-output` for more information about this section. + + # Wallpaper - ~/.config/sway/config.d/theme + # exec swaybg -i /path/to/wallpaper + + # Waybar - ~/.config/waybar/config : ~/.config/waybar/style.css + # It is an external bar we have chosen because of the option's it allows. + # If you wish to use the default swaybar - ~/.config/sway/config.d/theme and change waybar to sway-bar + # Read `man 5 sway-bar` for more information about this section + + # Autostart - ~/.config/sway/config.d/autostart_applications + + + + + diff --git a/dot_config/private_sway/private_config b/dot_config/private_sway/private_config new file mode 100644 index 0000000..7b6d051 --- /dev/null +++ b/dot_config/private_sway/private_config @@ -0,0 +1,16 @@ +# Initial Setup +# exec $HOME/.config/sway/set_once.sh + +# Config for sway +# +# Read `man 5 sway` for a complete reference. + +exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK +exec hash dbus-update-activation-environment 2>/dev/null && \ + dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK + +# user config directory +include $HOME/.config/sway/config.d/* + +# only enable this if every app you use is compatible with wayland +# xwayland disable diff --git a/dot_config/private_sway/private_config.d/private_application_defaults b/dot_config/private_sway/private_config.d/private_application_defaults new file mode 100644 index 0000000..bf0fa27 --- /dev/null +++ b/dot_config/private_sway/private_config.d/private_application_defaults @@ -0,0 +1,39 @@ + +for_window [app_id="xed"] focus + + +# set floating (nontiling)for apps needing it: +for_window [class="Yad" instance="yad"] floating enable +for_window [app_id="yad"] floating enable +for_window [app_id="blueman-manager"] floating enable, resize set width 40 ppt height 30 ppt + +# set floating (nontiling) for special apps: +for_window [class="Xsane" instance="xsane"] floating enable +for_window [app_id="pavucontrol" ] floating enable, resize set width 40 ppt height 30 ppt +for_window [class="qt5ct" instance="qt5ct"] floating enable, resize set width 60 ppt height 50 ppt +for_window [class="Bluetooth-sendto" instance="bluetooth-sendto"] floating enable +for_window [app_id="pamac-manager"] floating enable, resize set width 80 ppt height 70 ppt +for_window [class="Lxappearance"] floating enable, resize set width 60 ppt height 50 ppt + +# set floating for window roles +for_window [window_role="pop-up"] floating enable +for_window [window_role="bubble"] floating enable +for_window [window_role="task_dialog"] floating enable +for_window [window_role="Preferences"] floating enable +for_window [window_type="dialog"] floating enable +for_window [window_type="menu"] floating enable +for_window [app_id="blueberry"] floating enable +for_window [window_role="jdownloader2"] floating enable +for_window [window_role="pavucontrol"] floating enable +for_window [title="File Operation Progress"] floating enable, border pixel 1, sticky enable, resize set width 40 ppt height 30 ppt +for_window [app_id="firefox" title="^Library$"] floating enable, border pixel 1, sticky enable, resize set width 40 ppt height 30 ppt +for_window [app_id="floating_shell_portrait"] floating enable, border pixel 1, sticky enable, resize set width 30 ppt height 40 ppt +for_window [title="Picture in picture"] floating enable, sticky enable +for_window [title="nmtui"] floating enable, resize set width 50 ppt height 70 ppt +for_window [app_id="xsensors"] floating enable +for_window [title="Save File"] floating enable +for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill + +# Inhibit idle +for_window [app_id="firefox"] inhibit_idle fullscreen +for_window [app_id="Chromium"] inhibit_idle fullscreen diff --git a/dot_config/private_sway/private_config.d/private_autostart_applications b/dot_config/private_sway/private_config.d/private_autostart_applications new file mode 100644 index 0000000..50e91cb --- /dev/null +++ b/dot_config/private_sway/private_config.d/private_autostart_applications @@ -0,0 +1,19 @@ +# Auth with polkit-gnome: +exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 + +# Desktop notifications +exec mako + +# Network Applet +exec nm-applet --indicator + +# GTK3 applications take a long time to start +exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK +exec hash dbus-update-activation-environment 2>/dev/null && \ + dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK + +# Welcome App +exec dex -a -s /etc/xdg/autostart/:~/.config/autostart/ + +# Sway Fader +# exec python3 ~/.config/sway/scripts/swayfader.py diff --git a/dot_config/private_sway/private_config.d/private_clamshell b/dot_config/private_sway/private_config.d/private_clamshell new file mode 100644 index 0000000..cd7cc46 --- /dev/null +++ b/dot_config/private_sway/private_config.d/private_clamshell @@ -0,0 +1,6 @@ +# Clamshell Mode +set $laptop eDP-1 +bindswitch --reload --locked lid:on output $laptop disable +bindswitch --reload --locked lid:off output $laptop enable + +exec_always ~/.config/sway/scripts/clamshell.sh diff --git a/dot_config/private_sway/private_config.d/private_default b/dot_config/private_sway/private_config.d/private_default new file mode 100644 index 0000000..a7ff7e5 --- /dev/null +++ b/dot_config/private_sway/private_config.d/private_default @@ -0,0 +1,229 @@ +# Logo key. Use Mod1 for Alt. +set $mod Mod4 + +# Home row direction keys, like vim +set $left h +set $down j +set $up k +set $right l + +# audio control +set $sink_volume pactl get-sink-volume @DEFAULT_SINK@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//' +set $source_volume pactl get-source-volume @DEFAULT_SOURCE@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//' +set $volume_down $(pactl set-sink-volume @DEFAULT_SINK@ -5% && $sink_volume) +set $volume_up $(pactl set-sink-volume @DEFAULT_SINK@ +5% && $sink_volume) +set $volume_mute $(pactl set-sink-mute @DEFAULT_SINK@ toggle && pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p") +set $mic_mute $(pactl set-source-mute @DEFAULT_SOURCE@ toggle && pactl get-source-mute @DEFAULT_SOURCE@ | sed -En "/no/ s/.*/$($source_volume)/p; /yes/ s/.*/0/p") + +# Your preferred terminal emulators +set $term-float alacritty + +# Your preferred application launcher +# Note: pass the final command to swaymsg so that the resulting window can be opened +# on the original workspace that the command was run on. +set $menu wofi -c ~/.config/wofi/config -I + +set $powermenu ~/.config/rofi/powermenu/type-2/powermenu.sh + +### Idle configuration +exec swayidle -w\ + timeout 1070 'swaylock -f -C ~/.config/swaylock/config'\ + timeout 770 'swaymsg "output * power off"' \ + resume 'swaymsg "output * power on"' \ + before-sleep 'swaylock -C ~/.config/swaylock/config' +# This will lock your screen after 300 seconds of inactivity, then turn off +# your displays after another 300 seconds, and turn your screens back on when +# resumed. It will also lock your screen before your computer goes to sleep. + +## Lock Screen + bindsym $mod+f1 exec ~/.config/sway/scripts/lockman.sh + +### Key bindings +# +# Basics: +# + # Start a floating terminal + bindsym $mod+Return exec $term-float + + # Open the power menu + bindsym $mod+Shift+e exec $powermenu + + # Kill focused window + bindsym $mod+Shift+q kill + + # Start your launcher + bindsym $mod+d exec $menu + + # Activities + bindsym $mod+p exec ~/.config/wofi/windows.py + + # Drag floating windows by holding down $mod and left mouse button. + # Resize them with right mouse button + $mod. + # Despite the name, also works for non-floating windows. + # Change normal to inverse to use left mouse button for resizing and right + # mouse button for dragging. + floating_modifier $mod normal + + # Reload the configuration file + bindsym $mod+Shift+c reload + +# +# Moving around: +# + # Move your focus around + bindsym $mod+$left focus left + bindsym $mod+$down focus down + bindsym $mod+$up focus up + bindsym $mod+$right focus right + # Or use $mod+[up|down|left|right] + bindsym $mod+Left focus left + bindsym $mod+Down focus down + bindsym $mod+Up focus up + bindsym $mod+Right focus right + + # Move the focused window with the same, but add Shift + bindsym $mod+Shift+$left move left + bindsym $mod+Shift+$down move down + bindsym $mod+Shift+$up move up + bindsym $mod+Shift+$right move right + # Ditto, with arrow keys + bindsym $mod+Shift+Left move left + bindsym $mod+Shift+Down move down + bindsym $mod+Shift+Up move up + bindsym $mod+Shift+Right move right +# +# Workspaces: +# + # Switch to workspace + bindsym $mod+1 workspace number 1 + bindsym $mod+2 workspace number 2 + bindsym $mod+3 workspace number 3 + bindsym $mod+4 workspace number 4 + bindsym $mod+5 workspace number 5 + bindsym $mod+6 workspace number 6 + bindsym $mod+7 workspace number 7 + bindsym $mod+8 workspace number 8 + bindsym $mod+9 workspace number 9 + bindsym $mod+0 workspace number 10 + # Move focused container to workspace + bindsym $mod+Shift+1 move container to workspace number 1 + bindsym $mod+Shift+2 move container to workspace number 2 + bindsym $mod+Shift+3 move container to workspace number 3 + bindsym $mod+Shift+4 move container to workspace number 4 + bindsym $mod+Shift+5 move container to workspace number 5 + bindsym $mod+Shift+6 move container to workspace number 6 + bindsym $mod+Shift+7 move container to workspace number 7 + bindsym $mod+Shift+8 move container to workspace number 8 + bindsym $mod+Shift+9 move container to workspace number 9 + bindsym $mod+Shift+0 move container to workspace number 10 + # Note: workspaces can have any name you want, not just numbers. + # We just use 1-10 as the default. +# +# Layout stuff: +# + # You can "split" the current object of your focus with + # $mod+b or $mod+v, for horizontal and vertical splits + # respectively. + bindsym $mod+b splith + bindsym $mod+v splitv + + # Switch the current container between different layout styles + bindsym $mod+s layout stacking + bindsym $mod+w layout tabbed + bindsym $mod+e layout toggle split + + # Make the current focus fullscreen + bindsym $mod+f fullscreen + + # Toggle the current focus between tiling and floating mode + bindsym $mod+Shift+space floating toggle + + # Swap focus between the tiling area and the floating area + bindsym $mod+space focus mode_toggle + + # Move focus to the parent container + bindsym $mod+a focus parent +# +# Scratchpad: +# + # Sway has a "scratchpad", which is a bag of holding for windows. + # You can send windows there and get them back later. + + # Move the currently focused window to the scratchpad + bindsym $mod+Shift+minus move scratchpad + + # Show the next scratchpad window or hide the focused scratchpad window. + # If there are multiple scratchpad windows, this command cycles through them. + bindsym $mod+minus scratchpad show +# +# Resizing containers: +# +mode "resize" { + # left will shrink the containers width + # right will grow the containers width + # up will shrink the containers height + # down will grow the containers height + bindsym $left resize shrink width 10px + bindsym $right resize grow width 10px + bindsym $up resize shrink height 10px + bindsym $down resize grow height 10px + + # Ditto, with arrow keys + bindsym Left resize shrink width 10px + bindsym Right resize grow width 10px + bindsym Up resize shrink height 10px + bindsym Down resize grow height 10px + + # Return to default mode + bindsym Return mode "default" + bindsym Escape mode "default" +} + +bindsym $mod+r mode "resize" + +# Resize floating windows with mouse scroll: + bindsym --whole-window --border $mod+button4 resize shrink height 5 px or 5 ppt + bindsym --whole-window --border $mod+button5 resize grow height 5 px or 5 ppt + bindsym --whole-window --border $mod+Shift+button4 resize shrink width 5 px or 5 ppt + bindsym --whole-window --border $mod+Shift+button5 resize grow width 5 px or 5 ppt + +# +# Volume +# + # Control volume trough pamixer + # bindsym --locked XF86AudioRaiseVolume exec pamixer -ui 2 + # bindsym --locked XF86AudioLowerVolume exec pamixer -ud 2 + # bindsym --locked XF86AudioMute exec pamixer -t + + # Control volume directly trough pactl + bindsym --locked XF86AudioRaiseVolume exec $volume_up + bindsym --locked XF86AudioLowerVolume exec $volume_down + bindsym --locked XF86AudioMute exec $volume_mute +# +# Player +# + bindsym XF86AudioPlay exec playerctl play + bindsym XF86AudioPause exec playerctl pause + bindsym XF86AudioNext exec playerctl next + bindsym XF86AudioPrev exec playerctl previous +# +# Backlight +# + bindsym XF86MonBrightnessUp exec brightnessctl -c backlight set +5% + bindsym XF86MonBrightnessDown exec brightnessctl -c backlight set 5%- +# +# App shortcuts +# + bindsym $mod+n exec nemo +# +# Screenshots +# + bindsym print exec flameshot gui + bindsym Shift+print exec ~/.config/sway/scripts/screenshot.sh +# +# Keybindings List +# + bindsym $mod+t exec xed ~/.config/sway/cheatsheet + +bindsym $mod+BackSpace input "1:1:AT_Translated_Set_2_keyboard" xkb_switch_layout next +bindsym $mod+Shift+p exec ~/.config/rofi/applets/bin/mpd.sh diff --git a/dot_config/private_sway/private_config.d/private_input b/dot_config/private_sway/private_config.d/private_input new file mode 100644 index 0000000..b9a4070 --- /dev/null +++ b/dot_config/private_sway/private_config.d/private_input @@ -0,0 +1,23 @@ +### Input configuration +# +# Example configuration: +# You can get the names of your inputs by running: swaymsg -t get_inputs +# Put your touchpad's ID to replace "Touchpad-ID" (keep the quotation marks) + +input type:touchpad { + dwt enabled + tap enabled + natural_scroll enabled +} + +# Read `man 5 sway-input` for more information about this section. +# +# input type:keyboard xkb_layout "us" +input type:keyboard { + xkb_layout de,us +} + +exec_always { + 'swaymsg input type:keyboard xkb_layout "$(localectl status | grep "X11 Layout" | sed -e "s/^.*X11 Layout://")"' + 'swaymsg input type:keyboard xkb_variant "$(localectl status | grep "X11 Variant" | sed -e "s/^.*X11 Variant://")"' +} diff --git a/dot_config/private_sway/private_config.d/private_output b/dot_config/private_sway/private_config.d/private_output new file mode 100644 index 0000000..828880b --- /dev/null +++ b/dot_config/private_sway/private_config.d/private_output @@ -0,0 +1,11 @@ +### Output configuration +# +# Example configuration: +# +# output HDMI-A-1 resolution 1920x1080 position 1920,0 +# +# You can get the names of your outputs by running: swaymsg -t get_outputs +# +# Wacom Tablet - Example +# input "1386:884:Wacom_Intuos_S_Pad" map_to_output HDMI-A-1 +# input "1386:884:Wacom_Intuos_S_Pen" map_to_output HDMI-A-1 diff --git a/dot_config/private_sway/private_config.d/private_theme b/dot_config/private_sway/private_config.d/private_theme new file mode 100644 index 0000000..da4c4b1 --- /dev/null +++ b/dot_config/private_sway/private_config.d/private_theme @@ -0,0 +1,38 @@ +# Apply gtk theming +exec_always ~/.config/sway/scripts/import-gsettings + +# Set inner/outer gaps +gaps inner 2 +gaps outer 0 + +# Hide titlebar on windows: +default_border pixel 1 + +# Default Font +font pango:Noto Sans Regular 10 + +# Thin borders: +smart_borders on + +# Set wallpaper: +exec swaybg -i ~/.config/sway/rocket.jpg + +# Title format for windows +for_window [shell="xdg_shell"] title_format "%title (%app_id)" +for_window [shell="x_wayland"] title_format "%class - %title" + +# class border bground text indicator child_border +client.focused #6272A4 #6272A4 #F8F8F2 #6272A4 #6272A4 +client.focused_inactive #44475A #44475A #F8F8F2 #44475A #44475A +client.unfocused #282A36 #282A36 #BFBFBF #282A36 #282A36 +client.urgent #44475A #FF5555 #F8F8F2 #FF5555 #FF5555 +client.placeholder #282A36 #282A36 #F8F8F2 #282A36 #282A36 +client.background #F8F8F2 + +# +# Status Bar: +# +# Read `man 5 sway-bar` for more information about this section. +bar { + swaybar_command waybar +} diff --git a/dot_config/private_sway/private_keyboard.conf b/dot_config/private_sway/private_keyboard.conf new file mode 100644 index 0000000..0c034fd --- /dev/null +++ b/dot_config/private_sway/private_keyboard.conf @@ -0,0 +1,457 @@ +! layout + us USA + ad Andorra + af Afghanistan + ara Arabic + al Albania + am Armenia + az Azerbaijan + by Belarus + be Belgium + bd Bangladesh + in India + ba Bosnia and Herzegovina + br Brazil + bg Bulgaria + ma Morocco + mm Myanmar + ca Canada + cd Congo, Democratic Republic of the + cn China + hr Croatia + cz Czechia + dk Denmark + nl Netherlands + bt Bhutan + ee Estonia + ir Iran + iq Iraq + fo Faroe Islands + fi Finland + fr France + gh Ghana + gn Guinea + ge Georgia + de Germany + gr Greece + hu Hungary + is Iceland + il Israel + it Italy + jp Japan + kg Kyrgyzstan + kh Cambodia + kz Kazakhstan + la Laos + latam Latin American + lt Lithuania + lv Latvia + mao Maori + me Montenegro + mk Macedonia + mt Malta + mn Mongolia + no Norway + pl Poland + pt Portugal + ro Romania + ru Russia + rs Serbia + si Slovenia + sk Slovakia + es Spain + se Sweden + ch Switzerland + sy Syria + tj Tajikistan + lk Sri Lanka + th Thailand + tr Turkey + tw Taiwan + ua Ukraine + gb United Kingdom + uz Uzbekistan + vn Vietnam + kr Korea, Republic of + nec_vndr/jp Japan (PC-98xx Series) + ie Ireland + pk Pakistan + mv Maldives + za South Africa + epo Esperanto + np Nepal + ng Nigeria + et Ethiopia + sn Senegal + brai Braille + tm Turkmenistan + ml Mali + tz Tanzania + +! variant + chr us: Cherokee + euro us: With EuroSign on 5 + intl us: International (with dead keys) + alt-intl us: Alternative international (former us_intl) + colemak us: Colemak + dvorak us: Dvorak + dvorak-intl us: Dvorak international + dvorak-l us: Left handed Dvorak + dvorak-r us: Right handed Dvorak + dvorak-classic us: Classic Dvorak + dvp us: Programmer Dvorak + rus us: Russian phonetic + mac us: Macintosh + altgr-intl us: International (AltGr dead keys) + olpc2 us: Group toggle on multiply/divide key + srp us: Serbian + ps af: Pashto + uz af: Southern Uzbek + olpc-ps af: OLPC Pashto + olpc-fa af: OLPC Dari + olpc-uz af: OLPC Southern Uzbek + azerty ara: azerty + azerty_digits ara: azerty/digits + digits ara: digits + qwerty ara: qwerty + qwerty_digits ara: qwerty/digits + buckwalter ara: Buckwalter + phonetic am: Phonetic + phonetic-alt am: Alternative Phonetic + eastern am: Eastern + western am: Western + eastern-alt am: Alternative Eastern + cyrillic az: Cyrillic + legacy by: Legacy + latin by: Latin + oss be: Alternative + oss_latin9 be: Alternative, latin-9 only + oss_sundeadkeys be: Alternative, Sun dead keys + iso-alternate be: ISO Alternate + nodeadkeys be: Eliminate dead keys + sundeadkeys be: Sun dead keys + wang be: Wang model 724 azerty + probhat bd: Probhat + ben in: Bengali + ben_probhat in: Bengali Probhat + guj in: Gujarati + guru in: Gurmukhi + jhelum in: Gurmukhi Jhelum + kan in: Kannada + mal in: Malayalam + mal_lalitha in: Malayalam Lalitha + ori in: Oriya + tam_unicode in: Tamil Unicode + tam_keyboard_with_numerals in: Tamil Keyboard with Numerals + tam_TAB in: Tamil TAB Typewriter + tam_TSCII in: Tamil TSCII Typewriter + tam in: Tamil + tel in: Telugu + urd-phonetic in: Urdu, Phonetic + urd-phonetic3 in: Urdu, Alternative phonetic + urd-winkeys in: Urdu, Winkeys + bolnagri in: Hindi Bolnagri + hin-wx in: Hindi Wx + alternatequotes ba: Use guillemets for quotes + unicode ba: Use Bosnian digraphs + unicodeus ba: US keyboard with Bosnian digraphs + us ba: US keyboard with Bosnian letters + nodeadkeys br: Eliminate dead keys + dvorak br: Dvorak + nativo br: Nativo + nativo-us br: Nativo for USA keyboards + nativo-epo br: Nativo for Esperanto + phonetic bg: Traditional phonetic + bas_phonetic bg: New phonetic + french ma: French + tifinagh ma: Tifinagh + tifinagh-alt ma: Tifinagh Alternative + tifinagh-alt-phonetic ma: Tifinagh Alternative Phonetic + tifinagh-extended ma: Tifinagh Extended + tifinagh-phonetic ma: Tifinagh Phonetic + tifinagh-extended-phonetic ma: Tifinagh Extended Phonetic + fr-dvorak ca: French Dvorak + fr-legacy ca: French (legacy) + multix ca: Multilingual + multi ca: Multilingual, first part + multi-2gr ca: Multilingual, second part + ike ca: Inuktitut + shs ca: Secwepemctsin + kut ca: Ktunaxa + eng ca: English + tib cn: Tibetan + tib_asciinum cn: Tibetan (with ASCII numerals) + alternatequotes hr: Use guillemets for quotes + unicode hr: Use Croatian digraphs + unicodeus hr: US keyboard with Croatian digraphs + us hr: US keyboard with Croatian letters + bksl cz: With <\|> key + qwerty cz: qwerty + qwerty_bksl cz: qwerty, extended Backslash + ucw cz: UCW layout (accented letters only) + dvorak-ucw cz: US Dvorak with CZ UCW support + nodeadkeys dk: Eliminate dead keys + mac dk: Macintosh + mac_nodeadkeys dk: Macintosh, eliminate dead keys + dvorak dk: Dvorak + sundeadkeys nl: Sun dead keys + mac nl: Macintosh + std nl: Standard + nodeadkeys ee: Eliminate dead keys + dvorak ee: Dvorak + us ee: US keyboard with Estonian letters + pes_keypad ir: Persian, with Persian Keypad + ku ir: Kurdish, Latin Q + ku_f ir: Kurdish, (F) + ku_alt ir: Kurdish, Latin Alt-Q + ku_ara ir: Kurdish, Arabic-Latin + ku iq: Kurdish, Latin Q + ku_f iq: Kurdish, (F) + ku_alt iq: Kurdish, Latin Alt-Q + ku_ara iq: Kurdish, Arabic-Latin + nodeadkeys fo: Eliminate dead keys + nodeadkeys fi: Eliminate dead keys + smi fi: Northern Saami + classic fi: Classic + mac fi: Macintosh + nodeadkeys fr: Eliminate dead keys + sundeadkeys fr: Sun dead keys + oss fr: Alternative + oss_latin9 fr: Alternative, latin-9 only + oss_nodeadkeys fr: Alternative, eliminate dead keys + oss_sundeadkeys fr: Alternative, Sun dead keys + latin9 fr: (Legacy) Alternative + latin9_nodeadkeys fr: (Legacy) Alternative, eliminate dead keys + latin9_sundeadkeys fr: (Legacy) Alternative, Sun dead keys + bepo fr: Bepo, ergonomic, Dvorak way + bepo_latin9 fr: Bepo, ergonomic, Dvorak way, latin-9 only + dvorak fr: Dvorak + mac fr: Macintosh + bre fr: Breton + oci fr: Occitan + geo fr: Georgian AZERTY Tskapo + generic gh: Multilingual + akan gh: Akan + ewe gh: Ewe + fula gh: Fula + ga gh: Ga + hausa gh: Hausa + ergonomic ge: Ergonomic + mess ge: MESS + ru ge: Russian + os ge: Ossetian + deadacute de: Dead acute + deadgraveacute de: Dead grave acute + nodeadkeys de: Eliminate dead keys + ro de: Romanian keyboard with German letters + ro_nodeadkeys de: Romanian keyboard with German letters, eliminate dead keys + dvorak de: Dvorak + sundeadkeys de: Sun dead keys + neo de: Neo 2 + mac de: Macintosh + mac_nodeadkeys de: Macintosh, eliminate dead keys + dsb de: Lower Sorbian + dsb_qwertz de: Lower Sorbian (qwertz) + qwerty de: qwerty + simple gr: Simple + extended gr: Extended + nodeadkeys gr: Eliminate dead keys + polytonic gr: Polytonic + standard hu: Standard + nodeadkeys hu: Eliminate dead keys + qwerty hu: qwerty + 101_qwertz_comma_dead hu: 101/qwertz/comma/Dead keys + 101_qwertz_comma_nodead hu: 101/qwertz/comma/Eliminate dead keys + 101_qwertz_dot_dead hu: 101/qwertz/dot/Dead keys + 101_qwertz_dot_nodead hu: 101/qwertz/dot/Eliminate dead keys + 101_qwerty_comma_dead hu: 101/qwerty/comma/Dead keys + 101_qwerty_comma_nodead hu: 101/qwerty/comma/Eliminate dead keys + 101_qwerty_dot_dead hu: 101/qwerty/dot/Dead keys + 101_qwerty_dot_nodead hu: 101/qwerty/dot/Eliminate dead keys + 102_qwertz_comma_dead hu: 102/qwertz/comma/Dead keys + 102_qwertz_comma_nodead hu: 102/qwertz/comma/Eliminate dead keys + 102_qwertz_dot_dead hu: 102/qwertz/dot/Dead keys + 102_qwertz_dot_nodead hu: 102/qwertz/dot/Eliminate dead keys + 102_qwerty_comma_dead hu: 102/qwerty/comma/Dead keys + 102_qwerty_comma_nodead hu: 102/qwerty/comma/Eliminate dead keys + 102_qwerty_dot_dead hu: 102/qwerty/dot/Dead keys + 102_qwerty_dot_nodead hu: 102/qwerty/dot/Eliminate dead keys + Sundeadkeys is: Sun dead keys + nodeadkeys is: Eliminate dead keys + mac is: Macintosh + dvorak is: Dvorak + lyx il: lyx + phonetic il: Phonetic + biblical il: Biblical Hebrew (Tiro) + nodeadkeys it: Eliminate dead keys + mac it: Macintosh + us it: US keyboard with Italian letters + geo it: Georgian + kana jp: Kana + OADG109A jp: OADG 109A + mac jp: Macintosh + phonetic kg: Phonetic + ruskaz kz: Russian with Kazakh + kazrus kz: Kazakh with Russian + basic la: Laos + stea la: Laos - STEA (proposed standard layout) + nodeadkeys latam: Eliminate dead keys + deadtilde latam: Include dead tilde + sundeadkeys latam: Sun dead keys + std lt: Standard + us lt: US keyboard with Lithuanian letters + ibm lt: IBM (LST 1205-92) + lekp lt: LEKP + lekpa lt: LEKPa + apostrophe lv: Apostrophe (') variant + tilde lv: Tilde (~) variant + fkey lv: F-letter (F) variant + cyrillic me: Cyrillic + cyrillicyz me: Cyrillic, Z and ZHE swapped + latinunicode me: Latin unicode + latinyz me: Latin qwerty + latinunicodeyz me: Latin unicode qwerty + cyrillicalternatequotes me: Cyrillic with guillemets + latinalternatequotes me: Latin with guillemets + nodeadkeys mk: Eliminate dead keys + us mt: Maltese keyboard with US layout + nodeadkeys no: Eliminate dead keys + dvorak no: Dvorak + smi no: Northern Saami + smi_nodeadkeys no: Northern Saami, eliminate dead keys + mac no: Macintosh + mac_nodeadkeys no: Macintosh, eliminate dead keys + qwertz pl: qwertz + dvorak pl: Dvorak + dvorak_quotes pl: Dvorak, Polish quotes on quotemark key + dvorak_altquotes pl: Dvorak, Polish quotes on key 1 + csb pl: Kashubian + ru_phonetic_dvorak pl: Russian phonetic Dvorak + dvp pl: Programmer Dvorak + nodeadkeys pt: Eliminate dead keys + sundeadkeys pt: Sun dead keys + mac pt: Macintosh + mac_nodeadkeys pt: Macintosh, eliminate dead keys + mac_sundeadkeys pt: Macintosh, Sun dead keys + nativo pt: Nativo + nativo-us pt: Nativo for USA keyboards + nativo-epo pt: Nativo for Esperanto + cedilla ro: Cedilla + std ro: Standard + std_cedilla ro: Standard (Cedilla) + winkeys ro: Winkeys + crh_f ro: Crimean Tatar (Turkish F) + crh_alt ro: Crimean Tatar (Turkish Alt-Q) + crh_dobruca1 ro: Crimean Tatar (Dobruca-1 Q) + crh_dobruca2 ro: Crimean Tatar (Dobruca-2 Q) + phonetic ru: Phonetic + phonetic_winkeys ru: Phonetic Winkeys + typewriter ru: Typewriter + legacy ru: Legacy + typewriter-legacy ru: Typewriter, legacy + tt ru: Tatar + os_legacy ru: Ossetian, legacy + os_winkeys ru: Ossetian, Winkeys + cv ru: Chuvash + cv_latin ru: Chuvash Latin + udm ru: Udmurt + kom ru: Komi + sah ru: Yakut + xal ru: Kalmyk + dos ru: DOS + srp ru: Serbian + bak ru: Bashkirian + yz rs: Z and ZHE swapped + latin rs: Latin + latinunicode rs: Latin Unicode + latinyz rs: Latin qwerty + latinunicodeyz rs: Latin Unicode qwerty + alternatequotes rs: With guillemets + latinalternatequotes rs: Latin with guillemets + alternatequotes si: Use guillemets for quotes + us si: US keyboard with Slovenian letters + bksl sk: Extended Backslash + qwerty sk: qwerty + qwerty_bksl sk: qwerty, extended Backslash + nodeadkeys es: Eliminate dead keys + deadtilde es: Include dead tilde + sundeadkeys es: Sun dead keys + dvorak es: Dvorak + ast es: Asturian variant with bottom-dot H and bottom-dot L + cat es: Catalan variant with middle-dot L + mac es: Macintosh + nodeadkeys se: Eliminate dead keys + dvorak se: Dvorak + rus se: Russian phonetic + rus_nodeadkeys se: Russian phonetic, eliminate dead keys + smi se: Northern Saami + mac se: Macintosh + svdvorak se: Svdvorak + legacy ch: Legacy + de_nodeadkeys ch: German, eliminate dead keys + de_sundeadkeys ch: German, Sun dead keys + fr ch: French + fr_nodeadkeys ch: French, eliminate dead keys + fr_sundeadkeys ch: French, Sun dead keys + fr_mac ch: French (Macintosh) + de_mac ch: German (Macintosh) + syc sy: Syriac + syc_phonetic sy: Syriac phonetic + ku sy: Kurdish, Latin Q + ku_f sy: Kurdish, (F) + ku_alt sy: Kurdish, Latin Alt-Q + legacy tj: Legacy + tam_unicode lk: Tamil Unicode + tam_TAB lk: Tamil TAB Typewriter + tis th: TIS-820.2538 + pat th: Pattachote + f tr: (F) + alt tr: Alt-Q + sundeadkeys tr: Sun dead keys + ku tr: Kurdish, Latin Q + ku_f tr: Kurdish, (F) + ku_alt tr: Kurdish, Latin Alt-Q + intl tr: International (with dead keys) + crh tr: Crimean Tatar (Turkish Q) + crh_f tr: Crimean Tatar (Turkish F) + crh_alt tr: Crimean Tatar (Turkish Alt-Q) + indigenous tw: Indigenous + saisiyat tw: Saisiyat + phonetic ua: Phonetic + typewriter ua: Typewriter + winkeys ua: Winkeys + legacy ua: Legacy + rstu ua: Standard RSTU + rstu_ru ua: Standard RSTU on Russian layout + homophonic ua: Homophonic + crh ua: Crimean Tatar (Turkish Q) + crh_f ua: Crimean Tatar (Turkish F) + crh_alt ua: Crimean Tatar (Turkish Alt-Q) + extd gb: Extended - Winkeys + intl gb: International (with dead keys) + dvorak gb: Dvorak + dvorakukp gb: Dvorak (UK Punctuation) + mac gb: Macintosh + colemak gb: Colemak + latin uz: Latin + crh uz: Crimean Tatar (Turkish Q) + crh_f uz: Crimean Tatar (Turkish F) + crh_alt uz: Crimean Tatar (Turkish Alt-Q) + kr104 kr: 101/104 key Compatible + CloGaelach ie: CloGaelach + UnicodeExpert ie: UnicodeExpert + ogam ie: Ogham + ogam_is434 ie: Ogham IS434 + urd-crulp pk: CRULP + urd-nla pk: NLA + ara pk: Arabic + legacy epo: displaced semicolon and quote (obsolete) + igbo ng: Igbo + yoruba ng: Yoruba + hausa ng: Hausa + left_hand brai: Left hand + right_hand brai: Right hand + alt tm: Alt-Q + fr-oss ml: Français (France Alternative) + us-mac ml: English (USA Macintosh) + us-intl ml: English (USA International) diff --git a/dot_config/private_sway/private_rocket.jpg b/dot_config/private_sway/private_rocket.jpg new file mode 100644 index 0000000..6f8c975 Binary files /dev/null and b/dot_config/private_sway/private_rocket.jpg differ diff --git a/dot_config/private_sway/private_sway.png b/dot_config/private_sway/private_sway.png new file mode 100644 index 0000000..7a6bb5e Binary files /dev/null and b/dot_config/private_sway/private_sway.png differ diff --git a/dot_config/private_sway/private_swaylock.png b/dot_config/private_sway/private_swaylock.png new file mode 100644 index 0000000..6f8c975 Binary files /dev/null and b/dot_config/private_sway/private_swaylock.png differ diff --git a/dot_config/private_sway/scripts/executable_clamshell.sh b/dot_config/private_sway/scripts/executable_clamshell.sh new file mode 100644 index 0000000..e25072a --- /dev/null +++ b/dot_config/private_sway/scripts/executable_clamshell.sh @@ -0,0 +1,8 @@ +#!/usr/bin/bash +if [-d "/proc/acpi" ]; then + if cat /proc/acpi/button/lid/*/state | grep -q open; then + swaymsg output eDP-1 enable + else + swaymsg output eDP-1 disable + fi +fi diff --git a/dot_config/private_sway/scripts/executable_import-gsettings b/dot_config/private_sway/scripts/executable_import-gsettings new file mode 100644 index 0000000..e1257df --- /dev/null +++ b/dot_config/private_sway/scripts/executable_import-gsettings @@ -0,0 +1,15 @@ +#!/bin/sh + +# usage: import-gsettings +config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini" +if [ ! -f "$config" ]; then exit 1; fi + +gnome_schema="org.gnome.desktop.interface" +gtk_theme="$(grep 'gtk-theme-name' "$config" | cut -d'=' -f2)" +icon_theme="$(grep 'gtk-icon-theme-name' "$config" | cut -d'=' -f2)" +cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | cut -d'=' -f2)" +font_name="$(grep 'gtk-font-name' "$config" | cut -d'=' -f2)" +gsettings set "$gnome_schema" gtk-theme "$gtk_theme" +gsettings set "$gnome_schema" icon-theme "$icon_theme" +gsettings set "$gnome_schema" cursor-theme "$cursor_theme" +gsettings set "$gnome_schema" font-name "$font_name" diff --git a/dot_config/private_sway/scripts/executable_lockman.sh b/dot_config/private_sway/scripts/executable_lockman.sh new file mode 100644 index 0000000..69edccf --- /dev/null +++ b/dot_config/private_sway/scripts/executable_lockman.sh @@ -0,0 +1,9 @@ +#!/bin/sh +# Times the screen off and puts it to background +swayidle \ + timeout 300 'swaymsg "output * power off"' \ + resume 'swaymsg "output * power on"' & +# Locks the screen immediately +swaylock +# Kills last background task so idle timer doesn't keep running +kill %% diff --git a/dot_config/private_sway/scripts/executable_screenshot.sh b/dot_config/private_sway/scripts/executable_screenshot.sh new file mode 100644 index 0000000..d946a21 --- /dev/null +++ b/dot_config/private_sway/scripts/executable_screenshot.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +entries="Active Screen Output Area Window" + +selected=$(printf '%s\n' $entries | wofi --style=$HOME/.config/wofi/style.widgets.css --conf=$HOME/.config/wofi/config.screenshot | awk '{print tolower($1)}') + +case $selected in + active) + /usr/share/sway/scripts/grimshot --notify save active;; + screen) + /usr/share/sway/scripts/grimshot --notify save screen;; + output) + /usr/share/sway/scripts/grimshot --notify save output;; + area) + /usr/share/sway/scripts/grimshot --notify save area;; + window) + /usr/share/sway/scripts/grimshot --notify save window;; +esac diff --git a/dot_config/private_sway/scripts/executable_swayfader.py b/dot_config/private_sway/scripts/executable_swayfader.py new file mode 100644 index 0000000..b2920b6 --- /dev/null +++ b/dot_config/private_sway/scripts/executable_swayfader.py @@ -0,0 +1,229 @@ +from i3ipc import Connection, Event +from threading import Thread +from time import sleep + + +FRAME_T = 0.01 # time taken between each frame of fade + +# transparency values +CON_AC = 1 # active window +CON_INAC = 0.5 # inactive window +FLOAT_AC = 1 # active floating window +FLOAT_INAC = 0.5 # inactive floating window +BOT_INAC = 0.9 # bottom window + + +# fade durations +FADE_TIME = 0.2 +ALT_FADE_TIME = 0.1 + +CON_OUT = FADE_TIME # window fading out +CON_IN = 0.15 # window fading in +FLOAT_OUT = ALT_FADE_TIME # floating window fading out +FLOAT_IN = ALT_FADE_TIME # floating window fading in +BOT_OUT = ALT_FADE_TIME # bottom window fading out +BOT_IN = ALT_FADE_TIME # bottom window fading in +BOT_SWITCH_IN = FADE_TIME # window becoming bottom window +BOT_SWITCH_OUT = FADE_TIME # bottom window becoming window +FLOAT_BOT_OUT = FADE_TIME # floating window fading out from bottom +FLOAT_BOT_IN = FADE_TIME # floating window fading in from bottom + + +class Fader: + def __init__(self): + self.floating_windows = [] + self.fader_running = False + self.fade_queue = [] + self.fade_data = {} + self.bottom_win = None + self.old_win = None + self.active_win = None + + ipc = Connection() + ipc.on(Event.WINDOW_FOCUS, self.on_window_focus) + ipc.on(Event.WINDOW_NEW, self.on_window_new) + ipc.on(Event.WINDOW_FLOATING, self.on_window_floating) + + for win in ipc.get_tree(): + if win.type == "floating_con": + self.floating_windows.append(win.id) + if win.focused: + change_opacity(win, FLOAT_AC) + self.active_win = win + else: + change_opacity(win, FLOAT_INAC) + elif win.type == "con": + if win.focused: + self.active_win = win + change_opacity(win, CON_AC) + else: + change_opacity(win, CON_INAC) + + ipc.main() + + def add_fade(self, win, start, target, duration): + if not duration: + if win.id in self.fade_queue: + self.fade_queue.remove(win.id) + del self.fade_data[win.id] + change_opacity(win, target) + return + + if win.id in self.fade_queue: + f = self.fade_data[win.id] + change = (FRAME_T / duration) * (target - f["opacity"]) + f["change"] = change + f["target"] = target + return + + change_opacity(win, start) + change = (FRAME_T / duration) * (target - start) + fade_data = {"opacity": start, "change": change, "target": target, "win": win} + self.fade_queue.append(win.id) + self.fade_data[win.id] = fade_data + + def start_fader(self): + if not self.fader_running: + self.fader_running = True + Thread(target=self.fader).start() + + def fader(self): + while self.fade_queue: + for win_id in self.fade_queue.copy(): + try: + f = self.fade_data[win_id] + except KeyError: + continue + f["opacity"] += f["change"] + + finished = False + if f["change"] > 0: + if f["opacity"] >= f["target"]: + finished = True + elif f["opacity"] <= f["target"]: + finished = True + + if finished: + change_opacity(f["win"], f["target"]) + try: + self.fade_queue.remove(win_id) + del self.fade_data[win_id] + except (KeyError, ValueError): + continue + else: + change_opacity(f["win"], f["opacity"]) + + sleep(FRAME_T) + self.fader_running = False + + def on_window_focus(self, ipc, e): + if self.active_win.id == e.container.id: + return + + if self.active_win.type == "con": + if e.container.type == "con": + self.add_fade( + e.container, CON_INAC, + CON_AC, CON_IN) + self.add_fade( + self.active_win, CON_AC, + CON_INAC, CON_OUT) + + else: + self.add_fade( + e.container, FLOAT_INAC, + FLOAT_AC, FLOAT_IN) + self.add_fade( + self.active_win, CON_AC, + BOT_INAC, BOT_OUT) + self.bottom_win = self.active_win + + else: + if e.container.type == "con": + self.add_fade( + self.active_win, FLOAT_AC, + FLOAT_INAC, FLOAT_BOT_OUT) + + if not self.bottom_win: + self.add_fade( + e.container, CON_INAC, + CON_AC, CON_IN) + + elif e.container.id != self.bottom_win.id: + self.add_fade( + self.bottom_win, BOT_INAC, + CON_INAC, BOT_SWITCH_OUT) + self.add_fade( + e.container, CON_INAC, + CON_AC, BOT_SWITCH_IN) + self.bottom_win = e.container + + else: + self.add_fade( + self.bottom_win, BOT_INAC, + CON_AC, BOT_IN) + + else: + self.add_fade( + self.active_win, FLOAT_AC, + FLOAT_INAC, FLOAT_OUT) + self.add_fade( + e.container, FLOAT_INAC, + FLOAT_AC, FLOAT_IN) + + self.start_fader() + self.active_win = e.container + + def on_window_new(self, ipc, e): + if self.active_win: + if self.active_win.type == "con": + change_opacity(self.active_win, CON_INAC) + else: + change_opacity(self.active_win, FLOAT_INAC) + + if self.bottom_win: + change_opacity(self.bottom_win, CON_INAC) + + elif self.active_win and self.active_win.type == "con": + self.bottom_win = self.active_win + change_opacity(self.bottom_win, CON_INAC) + + change_opacity(e.container, CON_AC) + self.old_win = self.active_win + self.active_win = e.container + + def on_window_floating(self, ipc, e): + c_id = e.container.id + if c_id not in self.floating_windows: + self.floating_windows.append(c_id) + + if self.active_win.id != e.container.id: + change_opacity(e.container, FLOAT_INAC) + + else: + if self.old_win and self.bottom_win: + if self.old_win.type == "con": + self.bottom_win = self.old_win + change_opacity(self.bottom_win, BOT_INAC) + change_opacity(e.container, FLOAT_AC) + + else: + self.floating_windows.remove(c_id) + if self.active_win.id != e.container.id: + change_opacity(e.container, CON_INAC) + + else: + if self.old_win and self.old_win.type == "con": + change_opacity(self.old_win, CON_INAC) + change_opacity(self.active_win, CON_AC) + + self.active_win = e.container + + +def change_opacity(win, trans): + win.command("opacity " + str(trans)) + + +if __name__ == "__main__": + Fader() + diff --git a/dot_config/private_sway/scripts/executable_weather.sh b/dot_config/private_sway/scripts/executable_weather.sh new file mode 100644 index 0000000..ce0f458 --- /dev/null +++ b/dot_config/private_sway/scripts/executable_weather.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +LOC="$1" +# HTML encode string as %20 +LOCATION=$(sed -e "s/ /%20/g" <<<"$LOC") +content=$(curl -sS "https://thisdavej.azurewebsites.net/api/weather/current?loc=NewYork°=C") +ICON=$(curl -s 'https://wttr.in/?format=1' | sed 's/[+0-9a-cA-Z°-]//g' ) +# echo $ICON +TEMP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)"' | sed 's/"//g') +TOOLTIP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)\n\(.skytext)"' | sed 's/"//g') +CLASS=$(echo $content | jq .skytext) +echo '{"text": "'$TEMP'", "tooltip": "'$ICON $TOOLTIP $LOC'", "class": '$CLASS' }' + + + diff --git a/dot_config/private_waybar/private_config b/dot_config/private_waybar/private_config new file mode 100644 index 0000000..686dd92 --- /dev/null +++ b/dot_config/private_waybar/private_config @@ -0,0 +1,224 @@ +// Global +{ + "layer": "top", + "position": "top", + + // If height property would be not present, it'd be calculated dynamically + "height": 15, + + "modules-left": [ + "custom/launcher", + "sway/workspaces", + "sway/mode", + ], + + "modules-center": [ + "custom/spotify", + ], + + "modules-right": [ + "network", + "idle_inhibitor", + "memory", + "cpu", + "pulseaudio", + "custom/keyboard-layout", + "battery", + //"custom/PBPbattery", + "backlight#icon", + "backlight#value", + "clock", + "tray", + //"custom/weather", + "custom/power", + ], + + // Modules + + "idle_inhibitor": { + "format": "{icon} ", + "format-icons":{ + "activated": "", + "deactivated": "" + } + }, + + "battery": { + "states": { + // "good": 95, + "warning": 30, + "critical": 15 + }, + "format": "{capacity}% {icon}", + "format-charging": "{capacity}% ", + "format-plugged": "{capacity}% ", + // "format-good": "", // An empty format will hide the module + // "format-full": "", + "format-icons": ["", "", "", "", ""] + }, + + "custom/PBPbattery": { + "exec": "~/.config/waybar/scripts/PBPbattery.sh", + "format": "{}", + }, + + "clock": { + "interval": 10, + "format-alt": " {:%e %b %Y}", // Icon: calendar-alt + "format": "{:%H:%M}", + "tooltip-format": "{:%e %B %Y}" + }, + + "cpu": { + "interval": 5, + "format": " {usage}% ({load})", // Icon: microchip + "states": { + "warning": 70, + "critical": 90, + }, + }, + + "custom/keyboard-layout": { + "exec": "swaymsg -t get_inputs | grep -m1 'xkb_active_layout_name' | cut -d '\"' -f4", + // Interval set only as a fallback, as the value is updated by signal + "interval": 30, + "format": " {}", // Icon: keyboard + // Signal sent by Sway key binding (~/.config/sway/key-bindings) + "signal": 1, // SIGHUP + "tooltip": false, + "on-click": "swaymsg input type:keyboard xkb_layout us,de", + }, + + "memory": { + "interval": 5, + "format": " {}%", // Icon: memory + "on-click": "xfce4-terminal -e 'htop'", + "states": { + "warning": 70, + "critical": 90 + } + }, + + "network": { + "interval": 5, + "format-wifi": " {essid} ({signalStrength}%)", // Icon: wifi + "format-ethernet": " {ifname}: {ipaddr}/{cidr}", // Icon: ethernet + "format-disconnected": "⚠ Disconnected", + "tooltip-format": "{ifname}: {ipaddr}", + "on-click": "xfce4-terminal -e 'nmtui'", + }, + "network#vpn": { + "interface": "tun0", + "format": " {essid} ({signalStrength}%)", + "format-disconnected": "⚠ Disconnected", + "tooltip-format": "{ifname}: {ipaddr}/{cidr}", + }, + + "sway/mode": { + "format": "{}", + "tooltip": false + }, + + "sway/window": { + "format": "{}", + "max-length": 120 + }, + + "sway/workspaces": { + "disable-scroll": true, + "disable-markup" : false, + "all-outputs": true, + "format": " {icon} ", + //"format":"{icon}", + "format-icons": { + "1": "", + } + }, + + "pulseaudio": { + "scroll-step": 1, // %, can be a float + "format": "{volume}% {icon}", + "format-bluetooth": "{volume}% {icon}  {format_source}", + "format-bluetooth-muted": " {icon}  {format_source}", + "format-muted": " {format_source}", + "format-source": "{volume}% ", + "format-source-muted": "", + "format-icons": { + "headphone": "", + "hands-free": "וֹ", + "headset": "  ", + "phone": "", + "portable": "", + "car": "", + "default": [""] + }, + "on-click": "pavucontrol", + "on-scroll-up": "pactl set-sink-volume @DEFAULT_SINK@ +2%", + "on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -2%", + }, + + // to use the weather module replace with your city or town + // note: do not use spaces: new york would be newyork + "custom/weather": { + "exec": "~/.config/waybar/scripts/weather.sh ", + "return-type": "json", + "interval": 600, + }, + + "tray": { + "icon-size": 15, + "spacing":10, + }, + + "backlight#icon": { + "format": "{icon}", + "format-icons": [""], + "on-scroll-down": "brightnessctl -c backlight set 1%-", + "on-scroll-up": "brightnessctl -c backlight set +1%" + }, + + "backlight#value" :{ + "format": "{percent}%", + "on-scroll-down": "brightnessctl -c backlight set 1%-", + "on-scroll-up": "brightnessctl -c backlight set +1%" + }, + + "custom/firefox": { + "format": " ", + "on-click": "exec firefox", + "tooltip": false + }, + + "custom/terminal": { + "format": " ", + "on-click": "exec xfce4-terminal", + "tooltip": false + }, + + "custom/files": { + "format": " ", + "on-click": "exec thunar", + "tooltip": false + }, + + "custom/launcher": { + "format":" ", + "on-click": "exec wofi -c ~/.config/wofi/config -I", + "tooltip": false, + }, + + "custom/power": { + "format":"⏻", + "on-click": "exec ~/.config/rofi/powermenu/type-2/powermenu.sh", + "tooltip": false, + }, + + "custom/spotify": { + "exec": "/usr/bin/python3 ~/.config/waybar/scripts/mediaplayer.py --player spotify", + "format": "{} ", + "return-type": "json", + "on-click": "playerctl play-pause", + "on-scroll-up": "playerctl next", + "on-scroll-down": "playerctl previous" + }, +} diff --git a/dot_config/private_waybar/private_scripts/executable_PBPbattery.sh b/dot_config/private_waybar/private_scripts/executable_PBPbattery.sh new file mode 100644 index 0000000..1cf34da --- /dev/null +++ b/dot_config/private_waybar/private_scripts/executable_PBPbattery.sh @@ -0,0 +1,21 @@ + +#!/bin/bash +#simple Shellscript for waybar/i3blocks/polybar on Pinebook pro +#05012020 geri123@gmx.net Gerhard S. + +PERCENT=$(cat /sys/class/power_supply/cw2015-battery/capacity) +STATUS=$(cat /sys/class/power_supply/cw2015-battery/status) +case $(( + $PERCENT >= 0 && $PERCENT <= 20 ? 1 : + $PERCENT > 20 && $PERCENT <= 40 ? 2 : + $PERCENT > 40 && $PERCENT <= 60 ? 3 : + $PERCENT > 60 && $PERCENT <= 80 ? 4 : 5)) in +# + (1) echo $STATUS:"":$PERCENT%;; + (2) echo $STATUS:"":$PERCENT%;; + (3) echo $STATUS:"":$PERCENT%;; + (4) echo $STATUS:"":$PERCENT%;; + (5) echo $STATUS:"":$PERCENT%;; +esac + + diff --git a/dot_config/private_waybar/private_scripts/executable_keyhint.sh b/dot_config/private_waybar/private_scripts/executable_keyhint.sh new file mode 100644 index 0000000..01f3396 --- /dev/null +++ b/dot_config/private_waybar/private_scripts/executable_keyhint.sh @@ -0,0 +1,2 @@ +#!/bin/sh +yad --title="EndeavourOS Sway-WM keybindings:" --no-buttons --geometry=400x345-15-400 --list --column=key: --column=description: --column=command: "ESC" "close this app" "" "=" "modkey" "(set mod Mod4)" "+enter" "Terminal" "(xfce4-terminal)" "+d" "Application Menu" "(wofi)" "+p" "Activities" "(wofi)" "+o" "" "Open Broswer" "+n" "" "Open Files" "+q" "close focused app" "(kill)" "[Shift]+Print-key" "screenshot" "(grim)" "+Shift+e" "power-menu" "(wofi)" "+t" "open keybinding helper" "full list" diff --git a/dot_config/private_waybar/private_scripts/executable_mediaplayer.py b/dot_config/private_waybar/private_scripts/executable_mediaplayer.py new file mode 100644 index 0000000..9f66e4c --- /dev/null +++ b/dot_config/private_waybar/private_scripts/executable_mediaplayer.py @@ -0,0 +1,194 @@ +#!/usr/bin/env python3 +import gi +gi.require_version("Playerctl", "2.0") +from gi.repository import Playerctl, GLib +from gi.repository.Playerctl import Player +import argparse +import logging +import sys +import signal +import gi +import json +import os +from typing import List + +logger = logging.getLogger(__name__) + +def signal_handler(sig, frame): + logger.info("Received signal to stop, exiting") + sys.stdout.write("\n") + sys.stdout.flush() + # loop.quit() + sys.exit(0) + + +class PlayerManager: + def __init__(self, selected_player=None, excluded_player=[]): + self.manager = Playerctl.PlayerManager() + self.loop = GLib.MainLoop() + self.manager.connect( + "name-appeared", lambda *args: self.on_player_appeared(*args)) + self.manager.connect( + "player-vanished", lambda *args: self.on_player_vanished(*args)) + + signal.signal(signal.SIGINT, signal_handler) + signal.signal(signal.SIGTERM, signal_handler) + signal.signal(signal.SIGPIPE, signal.SIG_DFL) + self.selected_player = selected_player + self.excluded_player = excluded_player.split(',') if excluded_player else [] + + self.init_players() + + def init_players(self): + for player in self.manager.props.player_names: + if player.name in self.excluded_player: + continue + if self.selected_player is not None and self.selected_player != player.name: + logger.debug(f"{player.name} is not the filtered player, skipping it") + continue + self.init_player(player) + + def run(self): + logger.info("Starting main loop") + self.loop.run() + + def init_player(self, player): + logger.info(f"Initialize new player: {player.name}") + player = Playerctl.Player.new_from_name(player) + player.connect("playback-status", + self.on_playback_status_changed, None) + player.connect("metadata", self.on_metadata_changed, None) + self.manager.manage_player(player) + self.on_metadata_changed(player, player.props.metadata) + + def get_players(self) -> List[Player]: + return self.manager.props.players + + def write_output(self, text, player): + logger.debug(f"Writing output: {text}") + + output = {"text": text, + "class": "custom-" + player.props.player_name, + "alt": player.props.player_name} + + sys.stdout.write(json.dumps(output) + "\n") + sys.stdout.flush() + + def clear_output(self): + sys.stdout.write("\n") + sys.stdout.flush() + + def on_playback_status_changed(self, player, status, _=None): + logger.debug(f"Playback status changed for player {player.props.player_name}: {status}") + self.on_metadata_changed(player, player.props.metadata) + + def get_first_playing_player(self): + players = self.get_players() + logger.debug(f"Getting first playing player from {len(players)} players") + if len(players) > 0: + # if any are playing, show the first one that is playing + # reverse order, so that the most recently added ones are preferred + for player in players[::-1]: + if player.props.status == "Playing": + return player + # if none are playing, show the first one + return players[0] + else: + logger.debug("No players found") + return None + + def show_most_important_player(self): + logger.debug("Showing most important player") + # show the currently playing player + # or else show the first paused player + # or else show nothing + current_player = self.get_first_playing_player() + if current_player is not None: + self.on_metadata_changed(current_player, current_player.props.metadata) + else: + self.clear_output() + + def on_metadata_changed(self, player, metadata, _=None): + logger.debug(f"Metadata changed for player {player.props.player_name}") + player_name = player.props.player_name + artist = player.get_artist() + title = player.get_title() + + track_info = "" + if player_name == "spotify" and "mpris:trackid" in metadata.keys() and ":ad:" in player.props.metadata["mpris:trackid"]: + track_info = "Advertisement" + elif artist is not None and title is not None: + track_info = f"{artist} - {title}" + else: + track_info = title + + if track_info: + if player.props.status == "Playing": + track_info = " " + track_info + else: + track_info = " " + track_info + # only print output if no other player is playing + current_playing = self.get_first_playing_player() + if current_playing is None or current_playing.props.player_name == player.props.player_name: + self.write_output(track_info, player) + else: + logger.debug(f"Other player {current_playing.props.player_name} is playing, skipping") + + def on_player_appeared(self, _, player): + logger.info(f"Player has appeared: {player.name}") + if player.name in self.excluded_player: + logger.debug( + "New player appeared, but it's in exclude player list, skipping") + return + if player is not None and (self.selected_player is None or player.name == self.selected_player): + self.init_player(player) + else: + logger.debug( + "New player appeared, but it's not the selected player, skipping") + + def on_player_vanished(self, _, player): + logger.info(f"Player {player.props.player_name} has vanished") + self.show_most_important_player() + +def parse_arguments(): + parser = argparse.ArgumentParser() + + # Increase verbosity with every occurrence of -v + parser.add_argument("-v", "--verbose", action="count", default=0) + + parser.add_argument("-x", "--exclude", "- Comma-separated list of excluded player") + + # Define for which player we"re listening + parser.add_argument("--player") + + parser.add_argument("--enable-logging", action="store_true") + + return parser.parse_args() + + +def main(): + arguments = parse_arguments() + + # Initialize logging + if arguments.enable_logging: + logfile = os.path.join(os.path.dirname( + os.path.realpath(__file__)), "media-player.log") + logging.basicConfig(filename=logfile, level=logging.DEBUG, + format="%(asctime)s %(name)s %(levelname)s:%(lineno)d %(message)s") + + # Logging is set by default to WARN and higher. + # With every occurrence of -v it's lowered by one + logger.setLevel(max((3 - arguments.verbose) * 10, 0)) + + logger.info("Creating player manager") + if arguments.player: + logger.info(f"Filtering for player: {arguments.player}") + if arguments.exclude: + logger.info(f"Exclude player {arguments.exclude}") + + player = PlayerManager(arguments.player, arguments.exclude) + player.run() + + +if __name__ == "__main__": + main() diff --git a/dot_config/private_waybar/private_scripts/executable_power-menu.sh b/dot_config/private_waybar/private_scripts/executable_power-menu.sh new file mode 100644 index 0000000..edaa5d6 --- /dev/null +++ b/dot_config/private_waybar/private_scripts/executable_power-menu.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +entries="Logout Suspend Reboot Shutdown" + +selected=$(printf '%s\n' $entries | wofi --conf=$HOME/.config/wofi/config.power --style=$HOME/.config/wofi/style.widgets.css | awk '{print tolower($1)}') + +case $selected in + logout) + swaymsg exit;; + suspend) + exec systemctl suspend;; + reboot) + exec systemctl reboot;; + shutdown) + exec systemctl poweroff -i;; +esac diff --git a/dot_config/private_waybar/private_scripts/executable_weather.sh b/dot_config/private_waybar/private_scripts/executable_weather.sh new file mode 100644 index 0000000..b03cd1c --- /dev/null +++ b/dot_config/private_waybar/private_scripts/executable_weather.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +LOC="$1" +# HTML encode string as %20 +LOCATION=$(sed -e "s/ /%20/g" <<<"$LOC") +content=$(curl -sS "https://thisdavej.azurewebsites.net/api/weather/current?loc=$LOCATION°=C") +ICON=$(curl -s 'https://wttr.in/?format=1' | sed 's/[+0-9a-cA-Z°-]//g' ) +# echo $ICON +TEMP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)"' | sed 's/"//g') +TOOLTIP=$(echo $content | jq -r '. | "\(.temperature)°\(.degType)\n\(.skytext)"' | sed 's/"//g') +CLASS=$(echo $content | jq .skytext) +echo '{"text": "'$TEMP'", "tooltip": "'$ICON $TOOLTIP $LOC'", "class": '$CLASS' }' + diff --git a/dot_config/private_waybar/private_style.css b/dot_config/private_waybar/private_style.css new file mode 100644 index 0000000..9d517bd --- /dev/null +++ b/dot_config/private_waybar/private_style.css @@ -0,0 +1,201 @@ +/* ============================================================================= + * + * Waybar configuration + * + * Configuration reference: https://github.com/Alexays/Waybar/wiki/Configuration + * + * =========================================================================== */ + +/* ----------------------------------------------------------------------------- + * Keyframes + * -------------------------------------------------------------------------- */ + +/* +Arc-Dark Color Scheme +*/ +@define-color highlight #5294e2 ; +@define-color base1 #404552 ; + +@keyframes blink-warning { + 70% { + color: white; + } + + to { + color: white; + background-color: orange; + } +} + +@keyframes blink-critical { + 70% { + color: white; + } + + to { + color: white; + background-color: red; + } +} + +/* ----------------------------------------------------------------------------- + * Base styles + * -------------------------------------------------------------------------- */ + +/* Reset all styles */ +* { + border: none; + border-radius: 0; + min-height: 0; + margin: 0px; + padding: 0; +} + +/* The whole bar */ +#waybar { + background: transparent; + color: #bebebe; + background-color: @base1; + font-family: "Noto Sans Nerd Font", "Font Awesome 5 Free", "Material Symbols"; + font-size: 12px; + border-radius: 10px +} + +/* Every modules */ +#battery, +#clock, +#backlight, +#cpu, +#custom-keyboard-layout, +#memory, +#mode, +#custom-weather, +#network, +#pulseaudio, +#temperature, +#tray, +#idle_inhibitor, +#custom-PBPbattery { + padding:0.5rem 0.6rem; + margin: 1px 0px; +} + +/* ----------------------------------------------------------------------------- + * Modules styles + * -------------------------------------------------------------------------- */ + +#battery { + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +#battery.warning { + color: orange; +} + +#battery.critical { + color: red; +} + +#battery.warning.discharging { + animation-name: blink-warning; + animation-duration: 3s; +} + +#battery.critical.discharging { + animation-name: blink-critical; + animation-duration: 2s; +} + +#cpu.warning { + color: orange; +} + +#cpu.critical { + color: red; +} + +#memory { + animation-timing-function: linear; + animation-iteration-count: infinite; + animation-direction: alternate; +} + +#memory.warning { + color: orange; + } + +#memory.critical { + color: red; + animation-name: blink-critical; + animation-duration: 2s; + padding-left:5px; + padding-right:5px; +} + +#mode { + background: @highlight; + border-bottom: 3px transparent; + color:white; + margin-left: 5px; + padding: 7px; +} + +#network.disconnected { + color: orange; +} + +#pulseaudio { + padding-top:6px; +} + +#pulseaudio.muted { + color: @highlight; +} + +#temperature.critical { + color: red; +} + +#window { + font-weight: bold; +} + +#workspaces { + font-size:12px; +} + +#workspaces button { + border-bottom: 3px solid transparent; + margin-bottom: 0px; + padding:0px; +} + +#workspaces button.focused { + border-bottom: 2px solid @highlight; + margin-bottom: 1px; + padding-left:0; +} + +#workspaces button.urgent { + border-color: #c9545d; + color: #c9545d; +} + +#custom-power { + margin-left:15px; + margin-right:15px; + font-size:15px; +} + +#custom-launcher { + font-size:15px; + margin-left:15px; + margin-right:10px; +} + +#backlight.icon { + padding-right:1px; + font-size: 12px; +} diff --git a/dot_config/rofi/applets/bin/executable_appasroot.sh b/dot_config/rofi/applets/bin/executable_appasroot.sh new file mode 100644 index 0000000..f0e6944 --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_appasroot.sh @@ -0,0 +1,102 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Run Applications as Root + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Theme Elements +prompt='Applications' +mesg='Run Applications as Root' + +if [[ "$theme" == *'type-1'* ]]; then + list_col='1' + list_row='5' + win_width='400px' +elif [[ "$theme" == *'type-3'* ]]; then + list_col='1' + list_row='5' + win_width='120px' +elif [[ "$theme" == *'type-5'* ]]; then + list_col='1' + list_row='5' + win_width='520px' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='5' + list_row='1' + win_width='670px' +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Alacritty" + option_2=" Thunar" + option_3=" Geany" + option_4=" Ranger" + option_5=" Vim" +else + option_1="" + option_2="" + option_3="" + option_4="" + option_5="" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "window {width: $win_width;}" \ + -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd +} + +# Execute Command +run_cmd() { + polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY" + if [[ "$1" == '--opt1' ]]; then + ${polkit_cmd} alacritty + elif [[ "$1" == '--opt2' ]]; then + ${polkit_cmd} dbus-run-session thunar + elif [[ "$1" == '--opt3' ]]; then + ${polkit_cmd} geany + elif [[ "$1" == '--opt4' ]]; then + ${polkit_cmd} alacritty -e ranger + elif [[ "$1" == '--opt5' ]]; then + ${polkit_cmd} alacritty -e vim + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; + $option_5) + run_cmd --opt5 + ;; +esac + diff --git a/dot_config/rofi/applets/bin/executable_apps.sh b/dot_config/rofi/applets/bin/executable_apps.sh new file mode 100644 index 0000000..01d1e4d --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_apps.sh @@ -0,0 +1,104 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Favorite Applications + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Theme Elements +prompt='Applications' +mesg="Installed Packages : `pacman -Q | wc -l` (pacman)" + +if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then + list_col='1' + list_row='6' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='6' + list_row='1' +fi + +# CMDs (add your apps here) +term_cmd='alacritty' +file_cmd='thunar' +text_cmd='geany' +web_cmd='firefox' +music_cmd='alacritty -e ncmpcpp' +setting_cmd='xfce4-settings-manager' + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Terminal ($term_cmd)" + option_2=" Files ($file_cmd)" + option_3=" Editor ($text_cmd)" + option_4=" Browser ($web_cmd)" + option_5=" Music ($music_cmd)" + option_6=" Settings ($setting_cmd)" +else + option_1="" + option_2="" + option_3="" + option_4="" + option_5="" + option_6="" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd +} + +# Execute Command +run_cmd() { + if [[ "$1" == '--opt1' ]]; then + ${term_cmd} + elif [[ "$1" == '--opt2' ]]; then + ${file_cmd} + elif [[ "$1" == '--opt3' ]]; then + ${text_cmd} + elif [[ "$1" == '--opt4' ]]; then + ${web_cmd} + elif [[ "$1" == '--opt5' ]]; then + ${music_cmd} + elif [[ "$1" == '--opt6' ]]; then + ${setting_cmd} + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; + $option_5) + run_cmd --opt5 + ;; + $option_6) + run_cmd --opt6 + ;; +esac diff --git a/dot_config/rofi/applets/bin/executable_battery.sh b/dot_config/rofi/applets/bin/executable_battery.sh new file mode 100644 index 0000000..ef0dba6 --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_battery.sh @@ -0,0 +1,134 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Battery + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Battery Info +battery="`acpi -b | cut -d',' -f1 | cut -d':' -f1`" +status="`acpi -b | cut -d',' -f1 | cut -d':' -f2 | tr -d ' '`" +percentage="`acpi -b | cut -d',' -f2 | tr -d ' ',\%`" +time="`acpi -b | cut -d',' -f3`" + +if [[ -z "$time" ]]; then + time=' Fully Charged' +fi + +# Theme Elements +prompt="$status" +mesg="${battery}: ${percentage}%,${time}" + +if [[ "$theme" == *'type-1'* ]]; then + list_col='1' + list_row='4' + win_width='400px' +elif [[ "$theme" == *'type-3'* ]]; then + list_col='1' + list_row='4' + win_width='120px' +elif [[ "$theme" == *'type-5'* ]]; then + list_col='1' + list_row='4' + win_width='500px' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='4' + list_row='1' + win_width='550px' +fi + +# Charging Status +active="" +urgent="" +if [[ $status = *"Charging"* ]]; then + active="-a 1" + ICON_CHRG="" +elif [[ $status = *"Full"* ]]; then + active="-u 1" + ICON_CHRG="" +else + urgent="-u 1" + ICON_CHRG="" +fi + +# Discharging +if [[ $percentage -ge 5 ]] && [[ $percentage -le 19 ]]; then + ICON_DISCHRG="" +elif [[ $percentage -ge 20 ]] && [[ $percentage -le 39 ]]; then + ICON_DISCHRG="" +elif [[ $percentage -ge 40 ]] && [[ $percentage -le 59 ]]; then + ICON_DISCHRG="" +elif [[ $percentage -ge 60 ]] && [[ $percentage -le 79 ]]; then + ICON_DISCHRG="" +elif [[ $percentage -ge 80 ]] && [[ $percentage -le 100 ]]; then + ICON_DISCHRG="" +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Remaining ${percentage}%" + option_2=" $status" + option_3=" Power Manager" + option_4=" Diagnose" +else + option_1="$ICON_DISCHRG" + option_2="$ICON_CHRG" + option_3="" + option_4="" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "window {width: $win_width;}" \ + -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str "textbox-prompt-colon {str: \"$ICON_DISCHRG\";}" \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + ${active} ${urgent} \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd +} + +# Execute Command +run_cmd() { + polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY" + if [[ "$1" == '--opt1' ]]; then + notify-send -u low " Remaining : ${percentage}%" + elif [[ "$1" == '--opt2' ]]; then + notify-send -u low "$ICON_CHRG Status : $status" + elif [[ "$1" == '--opt3' ]]; then + xfce4-power-manager-settings + elif [[ "$1" == '--opt4' ]]; then + ${polkit_cmd} alacritty -e powertop + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; +esac + + diff --git a/dot_config/rofi/applets/bin/executable_brightness.sh b/dot_config/rofi/applets/bin/executable_brightness.sh new file mode 100644 index 0000000..2c90a12 --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_brightness.sh @@ -0,0 +1,107 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Brightness + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Brightness Info +backlight="$(printf "%.0f\n" `light -G`)" +card="`light -L | grep 'backlight' | head -n1 | cut -d'/' -f3`" + +if [[ $backlight -ge 0 ]] && [[ $backlight -le 29 ]]; then + level="Low" +elif [[ $backlight -ge 30 ]] && [[ $backlight -le 49 ]]; then + level="Optimal" +elif [[ $backlight -ge 50 ]] && [[ $backlight -le 69 ]]; then + level="High" +elif [[ $backlight -ge 70 ]] && [[ $backlight -le 100 ]]; then + level="Peak" +fi + +# Theme Elements +prompt="${backlight}%" +mesg="Device: ${card}, Level: $level" + +if [[ "$theme" == *'type-1'* ]]; then + list_col='1' + list_row='4' + win_width='400px' +elif [[ "$theme" == *'type-3'* ]]; then + list_col='1' + list_row='4' + win_width='120px' +elif [[ "$theme" == *'type-5'* ]]; then + list_col='1' + list_row='4' + win_width='425px' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='4' + list_row='1' + win_width='550px' +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Increase" + option_2=" Optimal" + option_3=" Decrease" + option_4=" Settings" +else + option_1="" + option_2="" + option_3="" + option_4="" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "window {width: $win_width;}" \ + -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd +} + +# Execute Command +run_cmd() { + if [[ "$1" == '--opt1' ]]; then + light -A 5 + elif [[ "$1" == '--opt2' ]]; then + light -S 25 + elif [[ "$1" == '--opt3' ]]; then + light -U 5 + elif [[ "$1" == '--opt4' ]]; then + xfce4-power-manager-settings + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; +esac diff --git a/dot_config/rofi/applets/bin/executable_mpd.sh b/dot_config/rofi/applets/bin/executable_mpd.sh new file mode 100644 index 0000000..6055dad --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_mpd.sh @@ -0,0 +1,110 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : MPD (music) + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Theme Elements +status="`playerctl status`" + +if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then + list_col='1' + list_row='4' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='4' + list_row='1' +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + if [[ ${status} == *"Playing"* ]]; then + option_1=" Pause" + else + option_1=" Play" + fi + option_2=" Stop" + option_3=" Previous" + option_4=" Next" +else + if [[ ${status} == *"Playing"* ]]; then + option_1="" + else + option_1="" + fi + option_2="" + option_3="" + option_4="" +fi + +# Toggle Actions +active='' +urgent='' +# Repeat +if [[ ${status} == *"repeat: on"* ]]; then + active="-a 4" +elif [[ ${status} == *"repeat: off"* ]]; then + urgent="-u 4" +else + option_5=" Parsing Error" +fi +# 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 + option_6=" Parsing Error" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + ${active} ${urgent} \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4\n" | rofi_cmd +} + +# Execute Command +run_cmd() { + if [[ "$1" == '--opt1' ]]; then + playerctl play-pause + elif [[ "$1" == '--opt2' ]]; then + plaerctl stop + elif [[ "$1" == '--opt3' ]]; then + playerctl prev + elif [[ "$1" == '--opt4' ]]; then + playerctl next + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; +esac diff --git a/dot_config/rofi/applets/bin/executable_powermenu.sh b/dot_config/rofi/applets/bin/executable_powermenu.sh new file mode 100644 index 0000000..8ed9106 --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_powermenu.sh @@ -0,0 +1,129 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Power Menu + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Theme Elements +prompt="`hostname`" +mesg="Uptime : `uptime -p | sed -e 's/up //g'`" + +if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then + list_col='1' + list_row='6' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='6' + list_row='1' +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Lock" + option_2=" Logout" + option_3=" Suspend" + option_4=" Hibernate" + option_5=" Reboot" + option_6=" Shutdown" + yes=' Yes' + no=' No' +else + option_1="" + option_2="" + option_3="" + option_4="" + option_5="" + option_6="" + yes='' + no='' +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd +} + +# Confirmation CMD +confirm_cmd() { + rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ + -theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \ + -theme-str 'listview {columns: 2; lines: 1;}' \ + -theme-str 'element-text {horizontal-align: 0.5;}' \ + -theme-str 'textbox {horizontal-align: 0.5;}' \ + -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${theme} +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Confirm and execute +confirm_run () { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + ${1} && ${2} && ${3} + else + exit + fi +} + +# Execute Command +run_cmd() { + if [[ "$1" == '--opt1' ]]; then + betterlockscreen -l + elif [[ "$1" == '--opt2' ]]; then + confirm_run 'kill -9 -1' + elif [[ "$1" == '--opt3' ]]; then + confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend' + elif [[ "$1" == '--opt4' ]]; then + confirm_run 'systemctl hibernate' + elif [[ "$1" == '--opt5' ]]; then + confirm_run 'systemctl reboot' + elif [[ "$1" == '--opt6' ]]; then + confirm_run 'systemctl poweroff' + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; + $option_5) + run_cmd --opt5 + ;; + $option_6) + run_cmd --opt6 + ;; +esac + diff --git a/dot_config/rofi/applets/bin/executable_quicklinks.sh b/dot_config/rofi/applets/bin/executable_quicklinks.sh new file mode 100644 index 0000000..11a38a8 --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_quicklinks.sh @@ -0,0 +1,103 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Quick Links + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Theme Elements +prompt='Quick Links' +mesg="Using '$BROWSER' as web browser" + +if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then + list_col='1' + list_row='6' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='6' + list_row='1' +fi + +if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-5'* ) ]]; then + efonts="JetBrains Mono Nerd Font 10" +else + efonts="JetBrains Mono Nerd Font 28" +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Google" + option_2=" Gmail" + option_3=" Youtube" + option_4=" Github" + option_5=" Reddit" + option_6=" Twitter" +else + option_1="" + option_2="" + option_3="" + option_4="" + option_5="" + option_6="" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -theme-str "element-text {font: \"$efonts\";}" \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd +} + +# Execute Command +run_cmd() { + if [[ "$1" == '--opt1' ]]; then + xdg-open 'https://www.google.com/' + elif [[ "$1" == '--opt2' ]]; then + xdg-open 'https://mail.google.com/' + elif [[ "$1" == '--opt3' ]]; then + xdg-open 'https://www.youtube.com/' + elif [[ "$1" == '--opt4' ]]; then + xdg-open 'https://www.github.com/' + elif [[ "$1" == '--opt5' ]]; then + xdg-open 'https://www.reddit.com/' + elif [[ "$1" == '--opt6' ]]; then + xdg-open 'https://www.twitter.com/' + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; + $option_5) + run_cmd --opt5 + ;; + $option_6) + run_cmd --opt6 + ;; +esac diff --git a/dot_config/rofi/applets/bin/executable_screenshot.sh b/dot_config/rofi/applets/bin/executable_screenshot.sh new file mode 100644 index 0000000..5e5286b --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_screenshot.sh @@ -0,0 +1,165 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Screenshot + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Theme Elements +prompt='Screenshot' +mesg="DIR: `xdg-user-dir PICTURES`/Screenshots" + +if [[ "$theme" == *'type-1'* ]]; then + list_col='1' + list_row='5' + win_width='400px' +elif [[ "$theme" == *'type-3'* ]]; then + list_col='1' + list_row='5' + win_width='120px' +elif [[ "$theme" == *'type-5'* ]]; then + list_col='1' + list_row='5' + win_width='520px' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='5' + list_row='1' + win_width='670px' +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Capture Desktop" + option_2=" Capture Area" + option_3=" Capture Window" + option_4=" Capture in 5s" + option_5=" Capture in 10s" +else + option_1="" + option_2="" + option_3="" + option_4="" + option_5="" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "window {width: $win_width;}" \ + -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd +} + +# Screenshot +time=`date +%Y-%m-%d-%H-%M-%S` +geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` +dir="`xdg-user-dir PICTURES`/Screenshots" +file="Screenshot_${time}_${geometry}.png" + +if [[ ! -d "$dir" ]]; then + mkdir -p "$dir" +fi + +# notify and view screenshot +notify_view() { + notify_cmd_shot='dunstify -u low --replace=699' + ${notify_cmd_shot} "Copied to clipboard." + viewnior ${dir}/"$file" + if [[ -e "$dir/$file" ]]; then + ${notify_cmd_shot} "Screenshot Saved." + else + ${notify_cmd_shot} "Screenshot Deleted." + fi +} + +# Copy screenshot to clipboard +copy_shot () { + tee "$file" | xclip -selection clipboard -t image/png +} + +# countdown +countdown () { + for sec in `seq $1 -1 1`; do + dunstify -t 1000 --replace=699 "Taking shot in : $sec" + sleep 1 + done +} + +# take shots +shotnow () { + cd ${dir} && sleep 0.5 && maim -u -f png | copy_shot + notify_view +} + +shot5 () { + countdown '5' + sleep 1 && cd ${dir} && maim -u -f png | copy_shot + notify_view +} + +shot10 () { + countdown '10' + sleep 1 && cd ${dir} && maim -u -f png | copy_shot + notify_view +} + +shotwin () { + cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | copy_shot + notify_view +} + +shotarea () { + cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | copy_shot + notify_view +} + +# Execute Command +run_cmd() { + if [[ "$1" == '--opt1' ]]; then + shotnow + elif [[ "$1" == '--opt2' ]]; then + shotarea + elif [[ "$1" == '--opt3' ]]; then + shotwin + elif [[ "$1" == '--opt4' ]]; then + shot5 + elif [[ "$1" == '--opt5' ]]; then + shot10 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; + $option_5) + run_cmd --opt5 + ;; +esac + + diff --git a/dot_config/rofi/applets/bin/executable_volume.sh b/dot_config/rofi/applets/bin/executable_volume.sh new file mode 100644 index 0000000..a194592 --- /dev/null +++ b/dot_config/rofi/applets/bin/executable_volume.sh @@ -0,0 +1,134 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Applets : Volume + +# Import Current Theme +source "$HOME"/.config/rofi/applets/shared/theme.bash +theme="$type/$style" + +# Volume Info +mixer="`amixer info Master | grep 'Mixer name' | cut -d':' -f2 | tr -d \',' '`" +speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`" +mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`" + +active="" +urgent="" + +# Speaker Info +amixer get Master | grep '\[on\]' &>/dev/null +if [[ "$?" == 0 ]]; then + active="-a 1" + stext='Unmute' + sicon='' +else + urgent="-u 1" + stext='Mute' + sicon='' +fi + +# Microphone Info +amixer get Capture | grep '\[on\]' &>/dev/null +if [[ "$?" == 0 ]]; then + [ -n "$active" ] && active+=",3" || active="-a 3" + mtext='Unmute' + micon='' +else + [ -n "$urgent" ] && urgent+=",3" || urgent="-u 3" + mtext='Mute' + micon='' +fi + +# Theme Elements +prompt="S:$stext, M:$mtext" +mesg="$mixer - Speaker: $speaker, Mic: $mic" + +if [[ "$theme" == *'type-1'* ]]; then + list_col='1' + list_row='5' + win_width='400px' +elif [[ "$theme" == *'type-3'* ]]; then + list_col='1' + list_row='5' + win_width='120px' +elif [[ "$theme" == *'type-5'* ]]; then + list_col='1' + list_row='5' + win_width='520px' +elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then + list_col='5' + list_row='1' + win_width='670px' +fi + +# Options +layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2` +if [[ "$layout" == 'NO' ]]; then + option_1=" Increase" + option_2="$sicon $stext" + option_3=" Decrese" + option_4="$micon $mtext" + option_5=" Settings" +else + option_1="" + option_2="$sicon" + option_3="" + option_4="$micon" + option_5="" +fi + +# Rofi CMD +rofi_cmd() { + rofi -theme-str "window {width: $win_width;}" \ + -theme-str "listview {columns: $list_col; lines: $list_row;}" \ + -theme-str 'textbox-prompt-colon {str: "";}' \ + -dmenu \ + -p "$prompt" \ + -mesg "$mesg" \ + ${active} ${urgent} \ + -markup-rows \ + -theme ${theme} +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd +} + +# Execute Command +run_cmd() { + if [[ "$1" == '--opt1' ]]; then + amixer -Mq set Master,0 5%+ unmute + elif [[ "$1" == '--opt2' ]]; then + amixer set Master toggle + elif [[ "$1" == '--opt3' ]]; then + amixer -Mq set Master,0 5%- unmute + elif [[ "$1" == '--opt4' ]]; then + amixer set Capture toggle + elif [[ "$1" == '--opt5' ]]; then + pavucontrol + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $option_1) + run_cmd --opt1 + ;; + $option_2) + run_cmd --opt2 + ;; + $option_3) + run_cmd --opt3 + ;; + $option_4) + run_cmd --opt4 + ;; + $option_5) + run_cmd --opt5 + ;; +esac + diff --git a/dot_config/rofi/applets/shared/colors.rasi b/dot_config/rofi/applets/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/applets/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/applets/shared/executable_theme.bash b/dot_config/rofi/applets/shared/executable_theme.bash new file mode 100644 index 0000000..3b25be7 --- /dev/null +++ b/dot_config/rofi/applets/shared/executable_theme.bash @@ -0,0 +1,4 @@ +## Current Theme + +type="$HOME/.config/rofi/applets/type-3" +style='style-1.rasi' diff --git a/dot_config/rofi/applets/shared/fonts.rasi b/dot_config/rofi/applets/shared/fonts.rasi new file mode 100644 index 0000000..430c73d --- /dev/null +++ b/dot_config/rofi/applets/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "JetBrains Mono Nerd Font 10"; +} diff --git a/dot_config/rofi/applets/type-1/style-1.rasi b/dot_config/rofi/applets/type-1/style-1.rasi new file mode 100644 index 0000000..2d3ee5f --- /dev/null +++ b/dot_config/rofi/applets/type-1/style-1.rasi @@ -0,0 +1,152 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=NO +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 1px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 5px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +element normal.normal, +element alternate.normal { + background-color: var(background); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-1/style-2.rasi b/dot_config/rofi/applets/type-1/style-2.rasi new file mode 100644 index 0000000..2c66bee --- /dev/null +++ b/dot_config/rofi/applets/type-1/style-2.rasi @@ -0,0 +1,152 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=NO +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 1px solid; + border-radius: 12px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 12px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 12px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 5px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 10px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +element normal.normal, +element alternate.normal { + background-color: var(background); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-1/style-3.rasi b/dot_config/rofi/applets/type-1/style-3.rasi new file mode 100644 index 0000000..285c376 --- /dev/null +++ b/dot_config/rofi/applets/type-1/style-3.rasi @@ -0,0 +1,152 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=NO +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 1px solid; + border-radius: 30px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 100%; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 100%; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 5px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +element normal.normal, +element alternate.normal { + background-color: var(background); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-2/style-1.rasi b/dot_config/rofi/applets/type-2/style-1.rasi new file mode 100644 index 0000000..30025a7 --- /dev/null +++ b/dot_config/rofi/applets/type-2/style-1.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 28"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-2/style-2.rasi b/dot_config/rofi/applets/type-2/style-2.rasi new file mode 100644 index 0000000..a258620 --- /dev/null +++ b/dot_config/rofi/applets/type-2/style-2.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 12px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 12px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 12px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 28"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-2/style-3.rasi b/dot_config/rofi/applets/type-2/style-3.rasi new file mode 100644 index 0000000..fb3a99c --- /dev/null +++ b/dot_config/rofi/applets/type-2/style-3.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 30px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 100%; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 100%; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 28"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-3/style-1.rasi b/dot_config/rofi/applets/type-3/style-1.rasi new file mode 100644 index 0000000..86b17ef --- /dev/null +++ b/dot_config/rofi/applets/type-3/style-1.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: east; + anchor: east; + fullscreen: false; + width: 120px; + x-offset: -20px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 15px; + background-color: transparent; + children: [ "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 23px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-3/style-2.rasi b/dot_config/rofi/applets/type-3/style-2.rasi new file mode 100644 index 0000000..e4f07ba --- /dev/null +++ b/dot_config/rofi/applets/type-3/style-2.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: east; + anchor: east; + fullscreen: false; + width: 120px; + x-offset: -20px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 15px; + background-color: transparent; + children: [ "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 23px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-3/style-3.rasi b/dot_config/rofi/applets/type-3/style-3.rasi new file mode 100644 index 0000000..06f365f --- /dev/null +++ b/dot_config/rofi/applets/type-3/style-3.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "../shared/colors.rasi" +@import "../shared/fonts.rasi" + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: east; + anchor: east; + fullscreen: false; + width: 120px; + x-offset: -20px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 15px; + background-color: transparent; + children: [ "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 23px 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-4/style-1.rasi b/dot_config/rofi/applets/type-4/style-1.rasi new file mode 100644 index 0000000..1823c56 --- /dev/null +++ b/dot_config/rofi/applets/type-4/style-1.rasi @@ -0,0 +1,164 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 20px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 25px; + padding: 100px 50px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + background-image: url("~/.config/rofi/images/a.png", width); + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy{ + background-color: transparent; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 20px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 28"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-4/style-2.rasi b/dot_config/rofi/applets/type-4/style-2.rasi new file mode 100644 index 0000000..40a98ac --- /dev/null +++ b/dot_config/rofi/applets/type-4/style-2.rasi @@ -0,0 +1,164 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #2D1B14; + background-alt: #462D23; + foreground: #FFFFFF; + selected: #E25F3E; + active: #716251; + urgent: #934A1C; +} + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 20px; + background-color: transparent; + children: [ "inputbar", "listview", "message" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 25px; + padding: 100px 50px; + border: 0px; + border-radius: 20px; + border-color: @selected; + background-color: transparent; + background-image: url("~/.config/rofi/images/d.png", width); + text-color: @foreground; + children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; +} + +dummy{ + background-color: transparent; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 10px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 10px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 20px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 28"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-4/style-3.rasi b/dot_config/rofi/applets/type-4/style-3.rasi new file mode 100644 index 0000000..0199650 --- /dev/null +++ b/dot_config/rofi/applets/type-4/style-3.rasi @@ -0,0 +1,164 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #131D1F; + background-alt: #183A43; + foreground: #FFFFFF; + selected: #649094; + active: #E9CC9D; + urgent: #FEA861; +} + +/* +USE_ICON=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 50px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 20px; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 25px; + padding: 100px 50px; + border: 0px; + border-radius: 40px; + border-color: @selected; + background-color: transparent; + background-image: url("~/.config/rofi/images/i.jpg", width); + text-color: @foreground; + children: [ "textbox-prompt-colon", "dummy", "prompt"]; +} + +dummy{ + background-color: transparent; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 100%; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 100%; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 20px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 28"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +element normal.normal, +element alternate.normal { + background-color: var(background-alt); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-5/style-1.rasi b/dot_config/rofi/applets/type-5/style-1.rasi new file mode 100644 index 0000000..0fdc43d --- /dev/null +++ b/dot_config/rofi/applets/type-5/style-1.rasi @@ -0,0 +1,166 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #231419; + background-alt: #2D1E23; + foreground: #FFFFFF; + selected: #426647; + active: #2E3F34; + urgent: #D08261; +} + +/* +USE_ICON=NO +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listview" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + background-color: transparent; + background-image: url("~/.config/rofi/images/e.jpg", height); + children: [ "dummy", "inputbar", "dummy" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + background-color: transparent; + text-color: @foreground; + children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; +} + +dummy{ + background-color: transparent; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 0px; + background-color: @active; + text-color: @foreground; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 5px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +element normal.normal, +element alternate.normal { + background-color: var(background); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(foreground); +} diff --git a/dot_config/rofi/applets/type-5/style-2.rasi b/dot_config/rofi/applets/type-5/style-2.rasi new file mode 100644 index 0000000..5b9c5b1 --- /dev/null +++ b/dot_config/rofi/applets/type-5/style-2.rasi @@ -0,0 +1,167 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/* +USE_ICON=NO +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listview" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + border-radius: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/j.jpg", height); + children: [ "dummy", "inputbar", "dummy" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + background-color: transparent; + text-color: @foreground; + children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; +} + +dummy{ + background-color: transparent; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border-radius: 15px; + background-color: @urgent; + text-color: @foreground; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 15px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 5px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 10px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +element normal.normal, +element alternate.normal { + background-color: var(background); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/applets/type-5/style-3.rasi b/dot_config/rofi/applets/type-5/style-3.rasi new file mode 100644 index 0000000..416f51b --- /dev/null +++ b/dot_config/rofi/applets/type-5/style-3.rasi @@ -0,0 +1,176 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #101010; + background-alt: #252525; + foreground: #FFFFFF; + selected: #505050; + active: #909090; + urgent: #707070; +} + +/* +USE_ICON=NO +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 30px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listview" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + border: 2px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + background-image: url("~/.config/rofi/images/g.png", height); + children: [ "dummy", "inputbar", "dummy" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + background-color: transparent; + text-color: @foreground; + children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; +} + +dummy{ + background-color: transparent; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 13px; + border: 2px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; +} +prompt { + enabled: true; + padding: 10px; + border: 2px solid; + border-radius: 100%; + border-color: @foreground; + background-color: @foreground; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + scrollbar: false; + layout: vertical; + + spacing: 5px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 11px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +element normal.normal, +element alternate.normal { + background-color: var(background); + text-color: var(foreground); +} +element normal.urgent, +element alternate.urgent, +element selected.active { + background-color: var(urgent); + text-color: var(background); +} +element normal.active, +element alternate.active, +element selected.urgent { + background-color: var(active); + text-color: var(background); +} +element selected.normal { + border: 2px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: var(foreground); +} diff --git a/dot_config/rofi/colors/adapta.rasi b/dot_config/rofi/colors/adapta.rasi new file mode 100644 index 0000000..dcde9e5 --- /dev/null +++ b/dot_config/rofi/colors/adapta.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #222D32FF; + background-alt: #29353BFF; + foreground: #B8C2C6FF; + selected: #00BCD4FF; + active: #21FF90FF; + urgent: #FF4B60FF; +} diff --git a/dot_config/rofi/colors/arc.rasi b/dot_config/rofi/colors/arc.rasi new file mode 100644 index 0000000..0dfb773 --- /dev/null +++ b/dot_config/rofi/colors/arc.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #2F343FFF; + background-alt: #383C4AFF; + foreground: #BAC5D0FF; + selected: #5294E2FF; + active: #98C379FF; + urgent: #E06B74FF; +} diff --git a/dot_config/rofi/colors/black.rasi b/dot_config/rofi/colors/black.rasi new file mode 100644 index 0000000..fa7b76f --- /dev/null +++ b/dot_config/rofi/colors/black.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #000000FF; + background-alt: #101010FF; + foreground: #FFFFFFFF; + selected: #62AEEFFF; + active: #98C379FF; + urgent: #E06B74FF; +} diff --git a/dot_config/rofi/colors/catppuccin.rasi b/dot_config/rofi/colors/catppuccin.rasi new file mode 100644 index 0000000..62c5945 --- /dev/null +++ b/dot_config/rofi/colors/catppuccin.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1E1D2FFF; + background-alt: #282839FF; + foreground: #D9E0EEFF; + selected: #7AA2F7FF; + active: #ABE9B3FF; + urgent: #F28FADFF; +} diff --git a/dot_config/rofi/colors/cyberpunk.rasi b/dot_config/rofi/colors/cyberpunk.rasi new file mode 100644 index 0000000..f5fa0e7 --- /dev/null +++ b/dot_config/rofi/colors/cyberpunk.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #000B1EFF; + background-alt: #0A1528FF; + foreground: #0ABDC6FF; + selected: #0ABDC6FF; + active: #00FF00FF; + urgent: #FF0000FF; +} diff --git a/dot_config/rofi/colors/dracula.rasi b/dot_config/rofi/colors/dracula.rasi new file mode 100644 index 0000000..7ae606d --- /dev/null +++ b/dot_config/rofi/colors/dracula.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1E1F29FF; + background-alt: #282A36FF; + foreground: #FFFFFFFF; + selected: #BD93F9FF; + active: #50FA7BFF; + urgent: #FF5555FF; +} diff --git a/dot_config/rofi/colors/everforest.rasi b/dot_config/rofi/colors/everforest.rasi new file mode 100644 index 0000000..83d4f71 --- /dev/null +++ b/dot_config/rofi/colors/everforest.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #323D43FF; + background-alt: #3C474DFF; + foreground: #DAD1BEFF; + selected: #7FBBB3FF; + active: #A7C080FF; + urgent: #E67E80FF; +} diff --git a/dot_config/rofi/colors/gruvbox.rasi b/dot_config/rofi/colors/gruvbox.rasi new file mode 100644 index 0000000..2ee85d0 --- /dev/null +++ b/dot_config/rofi/colors/gruvbox.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #282828FF; + background-alt: #353535FF; + foreground: #EBDBB2FF; + selected: #83A598FF; + active: #B8BB26FF; + urgent: #FB4934FF; +} diff --git a/dot_config/rofi/colors/lovelace.rasi b/dot_config/rofi/colors/lovelace.rasi new file mode 100644 index 0000000..80140ee --- /dev/null +++ b/dot_config/rofi/colors/lovelace.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1D1F28FF; + background-alt: #282A36FF; + foreground: #FDFDFDFF; + selected: #79E6F3FF; + active: #5ADECDFF; + urgent: #F37F97FF; +} diff --git a/dot_config/rofi/colors/navy.rasi b/dot_config/rofi/colors/navy.rasi new file mode 100644 index 0000000..1289f53 --- /dev/null +++ b/dot_config/rofi/colors/navy.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #021B21FF; + background-alt: #0C252BFF; + foreground: #F2F1B9FF; + selected: #44B5B1FF; + active: #7CBF9EFF; + urgent: #C2454EFF; +} diff --git a/dot_config/rofi/colors/nord.rasi b/dot_config/rofi/colors/nord.rasi new file mode 100644 index 0000000..c6bc05d --- /dev/null +++ b/dot_config/rofi/colors/nord.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #2E3440FF; + background-alt: #383E4AFF; + foreground: #E5E9F0FF; + selected: #81A1C1FF; + active: #A3BE8CFF; + urgent: #BF616AFF; +} diff --git a/dot_config/rofi/colors/onedark.rasi b/dot_config/rofi/colors/onedark.rasi new file mode 100644 index 0000000..7c76108 --- /dev/null +++ b/dot_config/rofi/colors/onedark.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1E2127FF; + background-alt: #282B31FF; + foreground: #FFFFFFFF; + selected: #61AFEFFF; + active: #98C379FF; + urgent: #E06C75FF; +} diff --git a/dot_config/rofi/colors/paper.rasi b/dot_config/rofi/colors/paper.rasi new file mode 100644 index 0000000..c3d76e8 --- /dev/null +++ b/dot_config/rofi/colors/paper.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #F1F1F1FF; + background-alt: #E0E0E0FF; + foreground: #252525FF; + selected: #008EC4FF; + active: #10A778FF; + urgent: #C30771FF; +} diff --git a/dot_config/rofi/colors/solarized.rasi b/dot_config/rofi/colors/solarized.rasi new file mode 100644 index 0000000..9051e13 --- /dev/null +++ b/dot_config/rofi/colors/solarized.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #002B36FF; + background-alt: #073642FF; + foreground: #EEE8D5FF; + selected: #268BD2FF; + active: #859900FF; + urgent: #DC322FFF; +} diff --git a/dot_config/rofi/colors/tokyonight.rasi b/dot_config/rofi/colors/tokyonight.rasi new file mode 100644 index 0000000..1145cbd --- /dev/null +++ b/dot_config/rofi/colors/tokyonight.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Levi Lacoss (fishyfishfish55) + * Github : @fishyfishfish55 + * + * Colors + **/ + +* { + background: #15161EFF; + background-alt: #1A1B26FF; + foreground: #C0CAF5FF; + selected: #33467CFF; + active: #414868FF; + urgent: #F7768EFF; +} diff --git a/dot_config/rofi/colors/yousai.rasi b/dot_config/rofi/colors/yousai.rasi new file mode 100644 index 0000000..757cab3 --- /dev/null +++ b/dot_config/rofi/colors/yousai.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #F5E7DEFF; + background-alt: #EBDCD2FF; + foreground: #34302DFF; + selected: #D97742FF; + active: #BF8F60FF; + urgent: #B23636FF; +} diff --git a/dot_config/rofi/config.rasi b/dot_config/rofi/config.rasi new file mode 100644 index 0000000..58a5e0d --- /dev/null +++ b/dot_config/rofi/config.rasi @@ -0,0 +1,181 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Configuration For Rofi Version: 1.7.3 + **/ + +configuration { + /*---------- General setting ----------*/ + modi: "drun,run,filebrowser,window"; + case-sensitive: false; + cycle: true; + filter: ""; + scroll-method: 0; + normalize-match: true; + show-icons: true; + icon-theme: "Papirus"; +/* cache-dir: ;*/ + steal-focus: false; +/* dpi: -1;*/ + + /*---------- Matching setting ----------*/ + matching: "normal"; + tokenize: true; + + /*---------- SSH settings ----------*/ + ssh-client: "ssh"; + ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]"; + parse-hosts: true; + parse-known-hosts: true; + + /*---------- Drun settings ----------*/ + drun-categories: ""; + drun-match-fields: "name,generic,exec,categories,keywords"; + drun-display-format: "{name} [({generic})]"; + drun-show-actions: false; + drun-url-launcher: "xdg-open"; + drun-use-desktop-cache: false; + drun-reload-desktop-cache: false; + drun { + /** Parse user desktop files. */ + parse-user: true; + /** Parse system desktop files. */ + parse-system: true; + } + + /*---------- Run settings ----------*/ + run-command: "{cmd}"; + run-list-command: ""; + run-shell-command: "{terminal} -e {cmd}"; + + /*---------- Fallback Icon ----------*/ + run,drun { + fallback-icon: "application-x-addon"; + } + + /*---------- Window switcher settings ----------*/ + window-match-fields: "title,class,role,name,desktop"; + window-command: "wmctrl -i -R {window}"; + window-format: "{w} - {c} - {t:0}"; + window-thumbnail: false; + + /*---------- Combi settings ----------*/ +/* combi-modi: "window,run";*/ +/* combi-hide-mode-prefix: false;*/ +/* combi-display-format: "{mode} {text}";*/ + + /*---------- History and Sorting ----------*/ + disable-history: false; + sorting-method: "normal"; + max-history-size: 25; + + /*---------- Display setting ----------*/ + display-window: "Windows"; + display-windowcd: "Window CD"; + display-run: "Run"; + display-ssh: "SSH"; + display-drun: "Apps"; + display-combi: "Combi"; + display-keys: "Keys"; + display-filebrowser: "Files"; + + /*---------- Misc setting ----------*/ + terminal: "rofi-sensible-terminal"; + font: "Mono 12"; + sort: false; + threads: 0; + click-to-exit: true; +/* ignored-prefixes: "";*/ +/* pid: "/run/user/1000/rofi.pid";*/ + + /*---------- File browser settings ----------*/ + filebrowser { +/* directory: "/home";*/ + directories-first: true; + sorting-method: "name"; + } + + /*---------- Other settings ----------*/ + timeout { + action: "kb-cancel"; + delay: 0; + } + + /*---------- Keybindings ----------*/ +/* + kb-primary-paste: "Control+V,Shift+Insert"; + kb-secondary-paste: "Control+v,Insert"; + kb-clear-line: "Control+w"; + kb-move-front: "Control+a"; + kb-move-end: "Control+e"; + kb-move-word-back: "Alt+b,Control+Left"; + kb-move-word-forward: "Alt+f,Control+Right"; + kb-move-char-back: "Left,Control+b"; + kb-move-char-forward: "Right,Control+f"; + kb-remove-word-back: "Control+Alt+h,Control+BackSpace"; + kb-remove-word-forward: "Control+Alt+d"; + kb-remove-char-forward: "Delete,Control+d"; + kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h"; + kb-remove-to-eol: "Control+k"; + kb-remove-to-sol: "Control+u"; + kb-accept-entry: "Control+j,Control+m,Return,KP_Enter"; + kb-accept-custom: "Control+Return"; + kb-accept-custom-alt: "Control+Shift+Return"; + kb-accept-alt: "Shift+Return"; + kb-delete-entry: "Shift+Delete"; + kb-mode-next: "Shift+Right,Control+Tab"; + kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab"; + kb-mode-complete: "Control+l"; + kb-row-left: "Control+Page_Up"; + kb-row-right: "Control+Page_Down"; + kb-row-down: "Down,Control+n"; + kb-page-prev: "Page_Up"; + kb-page-next: "Page_Down"; + kb-row-first: "Home,KP_Home"; + kb-row-last: "End,KP_End"; + kb-row-select: "Control+space"; + kb-screenshot: "Alt+S"; + kb-ellipsize: "Alt+period"; + kb-toggle-case-sensitivity: "grave,dead_grave"; + kb-toggle-sort: "Alt+grave"; + kb-cancel: "Escape,Control+g,Control+bracketleft"; + kb-custom-1: "Alt+1"; + kb-custom-2: "Alt+2"; + kb-custom-3: "Alt+3"; + kb-custom-4: "Alt+4"; + kb-custom-5: "Alt+5"; + kb-custom-6: "Alt+6"; + kb-custom-7: "Alt+7"; + kb-custom-8: "Alt+8"; + kb-custom-9: "Alt+9"; + kb-custom-10: "Alt+0"; + kb-custom-11: "Alt+exclam"; + kb-custom-12: "Alt+at"; + kb-custom-13: "Alt+numbersign"; + kb-custom-14: "Alt+dollar"; + kb-custom-15: "Alt+percent"; + kb-custom-16: "Alt+dead_circumflex"; + kb-custom-17: "Alt+ampersand"; + kb-custom-18: "Alt+asterisk"; + kb-custom-19: "Alt+parenleft"; + kb-select-1: "Super+1"; + kb-select-2: "Super+2"; + kb-select-3: "Super+3"; + kb-select-4: "Super+4"; + kb-select-5: "Super+5"; + kb-select-6: "Super+6"; + kb-select-7: "Super+7"; + kb-select-8: "Super+8"; + kb-select-9: "Super+9"; + kb-select-10: "Super+0"; + ml-row-left: "ScrollLeft"; + ml-row-right: "ScrollRight"; + ml-row-up: "ScrollUp"; + ml-row-down: "ScrollDown"; + me-select-entry: "MousePrimary"; + me-accept-entry: "MouseDPrimary"; + me-accept-custom: "Control+MouseDPrimary"; +*/ +} diff --git a/dot_config/rofi/images/a.png b/dot_config/rofi/images/a.png new file mode 100644 index 0000000..d70c5fb Binary files /dev/null and b/dot_config/rofi/images/a.png differ diff --git a/dot_config/rofi/images/b.png b/dot_config/rofi/images/b.png new file mode 100644 index 0000000..34214a2 Binary files /dev/null and b/dot_config/rofi/images/b.png differ diff --git a/dot_config/rofi/images/c.png b/dot_config/rofi/images/c.png new file mode 100644 index 0000000..9e18e5f Binary files /dev/null and b/dot_config/rofi/images/c.png differ diff --git a/dot_config/rofi/images/d.png b/dot_config/rofi/images/d.png new file mode 100644 index 0000000..5f68a1b Binary files /dev/null and b/dot_config/rofi/images/d.png differ diff --git a/dot_config/rofi/images/e.jpg b/dot_config/rofi/images/e.jpg new file mode 100644 index 0000000..51995e4 Binary files /dev/null and b/dot_config/rofi/images/e.jpg differ diff --git a/dot_config/rofi/images/f.png b/dot_config/rofi/images/f.png new file mode 100644 index 0000000..fb69e73 Binary files /dev/null and b/dot_config/rofi/images/f.png differ diff --git a/dot_config/rofi/images/flowers-1.png b/dot_config/rofi/images/flowers-1.png new file mode 100644 index 0000000..155b593 Binary files /dev/null and b/dot_config/rofi/images/flowers-1.png differ diff --git a/dot_config/rofi/images/flowers-2.png b/dot_config/rofi/images/flowers-2.png new file mode 100644 index 0000000..e4bf205 Binary files /dev/null and b/dot_config/rofi/images/flowers-2.png differ diff --git a/dot_config/rofi/images/flowers-3.png b/dot_config/rofi/images/flowers-3.png new file mode 100644 index 0000000..2c6f3a6 Binary files /dev/null and b/dot_config/rofi/images/flowers-3.png differ diff --git a/dot_config/rofi/images/g.png b/dot_config/rofi/images/g.png new file mode 100644 index 0000000..d42e1f4 Binary files /dev/null and b/dot_config/rofi/images/g.png differ diff --git a/dot_config/rofi/images/gradient.png b/dot_config/rofi/images/gradient.png new file mode 100644 index 0000000..e51c308 Binary files /dev/null and b/dot_config/rofi/images/gradient.png differ diff --git a/dot_config/rofi/images/h.jpg b/dot_config/rofi/images/h.jpg new file mode 100644 index 0000000..7829121 Binary files /dev/null and b/dot_config/rofi/images/h.jpg differ diff --git a/dot_config/rofi/images/i.jpg b/dot_config/rofi/images/i.jpg new file mode 100644 index 0000000..f31ee84 Binary files /dev/null and b/dot_config/rofi/images/i.jpg differ diff --git a/dot_config/rofi/images/j.jpg b/dot_config/rofi/images/j.jpg new file mode 100644 index 0000000..e70a715 Binary files /dev/null and b/dot_config/rofi/images/j.jpg differ diff --git a/dot_config/rofi/images/paper.png b/dot_config/rofi/images/paper.png new file mode 100644 index 0000000..4e073fd Binary files /dev/null and b/dot_config/rofi/images/paper.png differ diff --git a/dot_config/rofi/images/user.jpeg b/dot_config/rofi/images/user.jpeg new file mode 100644 index 0000000..3490fed Binary files /dev/null and b/dot_config/rofi/images/user.jpeg differ diff --git a/dot_config/rofi/launchers/type-1/executable_launcher.sh b/dot_config/rofi/launchers/type-1/executable_launcher.sh new file mode 100644 index 0000000..85b7df4 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/executable_launcher.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 +## style-11 style-12 style-13 style-14 style-15 + +dir="$HOME/.config/rofi/launchers/type-1" +theme='style-1' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/dot_config/rofi/launchers/type-1/shared/colors.rasi b/dot_config/rofi/launchers/type-1/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/launchers/type-1/shared/fonts.rasi b/dot_config/rofi/launchers/type-1/shared/fonts.rasi new file mode 100644 index 0000000..430c73d --- /dev/null +++ b/dot_config/rofi/launchers/type-1/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "JetBrains Mono Nerd Font 10"; +} diff --git a/dot_config/rofi/launchers/type-1/style-1.rasi b/dot_config/rofi/launchers/type-1/style-1.rasi new file mode 100644 index 0000000..2fff263 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-1.rasi @@ -0,0 +1,307 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser"; + show-icons: false; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 10px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 5px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 5px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-10.rasi b/dot_config/rofi/launchers/type-1/style-10.rasi new file mode 100644 index 0000000..e3f413b --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-10.rasi @@ -0,0 +1,323 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(foreground); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: north; + anchor: north; + fullscreen: false; + width: 100%; + x-offset: 0px; + y-offset: 0px; + + children: [ horibox ]; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Horizontal Box -----*****/ +horibox { + spacing: 0px; + background-color: @background-colour; + text-color: @foreground-colour; + orientation: horizontal; + children: [ "prompt", "textbox-prompt-colon","entry", "listview" ]; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 10px; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 10px 0px 10px 0px; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 10px; + expand: false; + width: 20em; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 100; + cycle: true; + dynamic: true; + scrollbar: false; + layout: horizontal; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 8px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 8px; + margin: 0px; + padding: 10px 8px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; +} +button { + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: transparent; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(normal-foreground); + text-color: var(normal-background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 8px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-11.rasi b/dot_config/rofi/launchers/type-1/style-11.rasi new file mode 100644 index 0000000..59f8849 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-11.rasi @@ -0,0 +1,307 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser"; + show-icons: false; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-12.rasi b/dot_config/rofi/launchers/type-1/style-12.rasi new file mode 100644 index 0000000..8d30e4a --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-12.rasi @@ -0,0 +1,325 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser"; + show-icons: false; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); + + /* For Screens with 1920x1080 resolution */ + screen-margin: 310px 400px; + box-spacing: 20px; + element-padding: 15px; + element-radius: 100%; + element-spacing: 15px; + + /* For Screens with 1366x768 resolution */ + /* + screen-margin: 190px 250px; + box-spacing: 20px; + element-padding: 10px; + element-radius: 100%; + element-spacing: 10px; + */ + /* Use this as reference and create for your screen resolution */ +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: @box-spacing; + margin: @screen-margin; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: @element-spacing; + margin: 0px; + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 10px ; + handle-color: @handle-colour; + border-radius: @element-radius; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: @element-spacing; + margin: 0px; + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: @element-padding; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-13.rasi b/dot_config/rofi/launchers/type-1/style-13.rasi new file mode 100644 index 0000000..1b82aa2 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-13.rasi @@ -0,0 +1,325 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: false; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); + + /* For Screens with 1920x1080 resolution */ + screen-margin: 310px 500px; + box-spacing: 20px; + element-padding: 15px; + element-radius: 8px; + element-spacing: 15px; + + /* For Screens with 1366x768 resolution */ + /* + screen-margin: 190px 350px; + box-spacing: 20px; + element-padding: 10px; + element-radius: 6px; + element-spacing: 10px; + */ + /* Use this as reference and create for your screen resolution */ +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: @box-spacing; + margin: @screen-margin; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: @element-spacing; + margin: 0px; + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ":"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 8px ; + handle-color: @handle-colour; + border-radius: @element-radius; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: @element-spacing; + margin: 0px; + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: @element-padding; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-14.rasi b/dot_config/rofi/launchers/type-1/style-14.rasi new file mode 100644 index 0000000..2cbceca --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-14.rasi @@ -0,0 +1,335 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); + + /* For Screens with 1920x1080 resolution */ + screen-margin: 275px 400px; + box-spacing: 20px; + list-padding: 8px; + element-padding: 15px; + element-radius: 8px; + element-spacing: 15px; + + /* For Screens with 1366x768 resolution */ + /* + screen-margin: 120px 225px; + box-spacing: 20px; + list-padding: 4px; + element-padding: 10px; + element-radius: 6px; + element-spacing: 10px; + */ + /* Use this as reference and create for your screen resolution */ +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: @box-spacing; + margin: @screen-margin; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry", "mode-switcher" ]; +} + +prompt { + enabled: true; + padding: @element-padding; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + padding: @element-padding; + str: ""; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; +} +entry { + enabled: true; + expand: true; + padding: @element-padding; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 8px ; + handle-color: @handle-colour; + border-radius: @element-radius; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: @element-spacing; + margin: 0px; + padding: @list-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: @element-padding; + width: 125px; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: @element-padding; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-15.rasi b/dot_config/rofi/launchers/type-1/style-15.rasi new file mode 100644 index 0000000..e443bb6 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-15.rasi @@ -0,0 +1,345 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); + + /* For Screens with 1920x1080 resolution */ + screen-margin: 275px 400px; + box-spacing: 20px; + list-padding: 8px; + element-padding: 15px; + element-radius: 8px; + element-spacing: 15px; + + /* For Screens with 1366x768 resolution */ + /* + screen-margin: 180px 225px; + box-spacing: 20px; + list-padding: 4px; + element-padding: 10px; + element-radius: 6px; + element-spacing: 10px; + */ + /* Use this as reference and create for your screen resolution */ +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: @box-spacing; + margin: @screen-margin; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "custombox" ]; +} + +/*****----- A Custom Box -----*****/ +custombox { + spacing: @box-spacing; + background-color: @background-colour; + text-color: @foreground-colour; + orientation: horizontal; + children: [ "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + padding: @element-padding; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + padding: @element-padding; + str: ""; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; +} +entry { + enabled: true; + expand: true; + padding: @element-padding; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 8px ; + handle-color: @handle-colour; + border-radius: @element-radius; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: @element-spacing; + margin: 0px; + padding: @list-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + orientation: vertical; + spacing: @box-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: @element-padding; + width: 125px; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: @element-padding; + border: 0px solid; + border-radius: @element-radius; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: @element-padding; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-2.rasi b/dot_config/rofi/launchers/type-1/style-2.rasi new file mode 100644 index 0000000..6f99d10 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-2.rasi @@ -0,0 +1,307 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(foreground); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 8px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 8px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(normal-foreground); + text-color: var(normal-background); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-3.rasi b/dot_config/rofi/launchers/type-1/style-3.rasi new file mode 100644 index 0000000..156e039 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-3.rasi @@ -0,0 +1,307 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(foreground); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 8px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 8px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(normal-foreground); + text-color: var(normal-background); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(normal-foreground); + text-color: var(normal-background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-4.rasi b/dot_config/rofi/launchers/type-1/style-4.rasi new file mode 100644 index 0000000..3e41328 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-4.rasi @@ -0,0 +1,308 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(foreground); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: west; + anchor: west; + fullscreen: false; + width: 450px; + height: 100%; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 8px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 8px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(normal-foreground); + text-color: var(normal-background); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; +} +button { + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: transparent; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(normal-foreground); + text-color: var(normal-background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 8px; + border: 0px solid; + border-radius: 4px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-5.rasi b/dot_config/rofi/launchers/type-1/style-5.rasi new file mode 100644 index 0000000..4e88e83 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-5.rasi @@ -0,0 +1,309 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry", "mode-switcher" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 5px 0px; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 5px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 5px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 8px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-6.rasi b/dot_config/rofi/launchers/type-1/style-6.rasi new file mode 100644 index 0000000..51178bf --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-6.rasi @@ -0,0 +1,310 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "mode-switcher", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 5px 0px; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 5px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 0px; + border: 2px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-7.rasi b/dot_config/rofi/launchers/type-1/style-7.rasi new file mode 100644 index 0000000..6f8ef84 --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-7.rasi @@ -0,0 +1,313 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px 0px 10px 0px; + padding: 5px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 5px 0px; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 5px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 10px; + border: 0px 2px 2px 2px ; + border-radius: 0px 0px 10px 10px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 6px; + border: 0px solid; + border-radius: 6px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px 0px 2px 0px ; + border-radius: 10px 10px 0px 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: inherit; + cursor: pointer; +} +button selected { + border: 2px 2px 0px 2px ; + border-radius: 10px 10px 0px 0px; + border-color: @border-colour; + background-color: var(normal-background); + text-color: var(normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px 0px 10px 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 10px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 10px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-8.rasi b/dot_config/rofi/launchers/type-1/style-8.rasi new file mode 100644 index 0000000..ca5623a --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-8.rasi @@ -0,0 +1,323 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,ssh,window"; + show-icons: false; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + display-ssh: " SSH"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "custombox" ]; +} + +/*****----- A Custom Box -----*****/ +custombox { + spacing: 10px; + background-color: @background-colour; + text-color: @foreground-colour; + orientation: horizontal; + children: [ "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 5px 0px; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 5px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + orientation: vertical; + spacing: 10px; + margin: 0px; + padding: 0px 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 0px 20px 0px 20px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-1/style-9.rasi b/dot_config/rofi/launchers/type-1/style-9.rasi new file mode 100644 index 0000000..ebf79ca --- /dev/null +++ b/dot_config/rofi/launchers/type-1/style-9.rasi @@ -0,0 +1,326 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,ssh,window"; + show-icons: false; + display-drun: " Apps"; + display-run: " Run"; + display-filebrowser: " Files"; + display-window: " Windows"; + display-ssh: " SSH"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 700px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @border-colour; + cursor: "default"; + /* Backgroud Colors */ + background-color: @background-colour; + /* Backgroud Image */ + //background-image: url("/path/to/image.png", none); + /* Simple Linear Gradient */ + //background-image: linear-gradient(red, orange, pink, purple); + /* Directional Linear Gradient */ + //background-image: linear-gradient(to bottom, pink, yellow, magenta); + /* Angle Linear Gradient */ + //background-image: linear-gradient(45, cyan, purple, indigo); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "custombox" ]; +} + +/*****----- A Custom Box -----*****/ +custombox { + spacing: 0px; + background-color: @background-colour; + text-color: @foreground-colour; + orientation: horizontal; + children: [ "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + padding: 5px 0px; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 5px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: inherit; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: inherit; + text-color: inherit; +} +case-indicator { + enabled: true; + background-color: inherit; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 10px; + border: 2px 2px 2px 0px; + border-radius: 0px 8px 8px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 10px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + orientation: vertical; + spacing: 0px; + margin: 0px; + padding: 0px 0px; + border: 0px solid; + border-radius: 8px 0px 0px 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; +} +button { + padding: 0px 20px 0px 20px; + border: 0px 2px 0px 0px; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + cursor: pointer; +} +button selected { + border: 2px 0px 2px 2px; + border-radius: 8px 0px 0px 8px; + border-color: @border-colour; + background-color: var(selected-normal-foreground); + text-color: var(selected-normal-background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 12px; + border: 0px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 2px solid; + border-radius: 8px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-2/executable_launcher.sh b/dot_config/rofi/launchers/type-2/executable_launcher.sh new file mode 100644 index 0000000..3422cd7 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/executable_launcher.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 +## style-11 style-12 style-13 style-14 style-15 + +dir="$HOME/.config/rofi/launchers/type-2" +theme='style-1' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/dot_config/rofi/launchers/type-2/shared/colors.rasi b/dot_config/rofi/launchers/type-2/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/launchers/type-2/shared/fonts.rasi b/dot_config/rofi/launchers/type-2/shared/fonts.rasi new file mode 100644 index 0000000..50499c9 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "Iosevka Nerd Font 10"; +} diff --git a/dot_config/rofi/launchers/type-2/style-1.rasi b/dot_config/rofi/launchers/type-2/style-1.rasi new file mode 100644 index 0000000..fe2c342 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-1.rasi @@ -0,0 +1,171 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @selected; + text-color: @background; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-10.rasi b/dot_config/rofi/launchers/type-2/style-10.rasi new file mode 100644 index 0000000..09e3a41 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-10.rasi @@ -0,0 +1,194 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + /* For Screens with 1920x1080 resolution */ + screen-margin: 180px 150px; + box-spacing: 40px; + icon-size: 96px; + element-padding: 30px; + element-spacing: 15px; + + /* For Screens with 1366x768 resolution */ + /* + screen-margin: 120px 60px; + box-spacing: 40px; + icon-size: 64px; + element-padding: 20px; + element-spacing: 10px; + */ + /* Use this as reference and create for your screen resolution */ +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: @box-spacing; + margin: @screen-margin; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px 50% 0px 0px; + padding: 15px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @selected; + text-color: @background; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 8; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: @element-spacing; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: @element-spacing; + margin: 0px; + padding: @element-padding; + border: 0px solid; + border-radius: 30px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + border: 0px 0px 4px 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: @icon-size; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 150px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-11.rasi b/dot_config/rofi/launchers/type-2/style-11.rasi new file mode 100644 index 0000000..58fa61e --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-11.rasi @@ -0,0 +1,183 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: "Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 150px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 12px; + border-radius: 100%; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 12px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 20px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background-alt; + text-color: @foreground; +} +element alternate.normal { + background-color: @background-alt; + text-color: @foreground; +} +element selected.normal { + border: 0px 0px 2px 2px; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @selected; +} +element-icon { + padding: 0px 0px 0px 0px; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-12.rasi b/dot_config/rofi/launchers/type-2/style-12.rasi new file mode 100644 index 0000000..858a905 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-12.rasi @@ -0,0 +1,179 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: " Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 200px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 15px; + border-radius: 100%; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 350px; + padding: 15px 20px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 4; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + padding: 0px 0px 0px 0px; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-13.rasi b/dot_config/rofi/launchers/type-2/style-13.rasi new file mode 100644 index 0000000..b21ca00 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-13.rasi @@ -0,0 +1,179 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: " Apps"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 100%; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 50px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 15px; + border-radius: 15px; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 350px; + padding: 15px 20px; + border-radius: 15px; + background-color: @background-alt; + text-color: @foreground; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 10; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 30px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + padding: 0px 0px 0px 0px; + background-color: transparent; + text-color: inherit; + size: 96px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 50px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-14.rasi b/dot_config/rofi/launchers/type-2/style-14.rasi new file mode 100644 index 0000000..049979b --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-14.rasi @@ -0,0 +1,188 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: " Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1200px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; + orientation: horizontal; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + children: [ "prompt", "entry" ]; + orientation: vertical; +} + +prompt { + enabled: true; + expand: false; + padding: 15px 50px; + border-radius: 10px; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + padding: 15px 20px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 4; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + orientation: horizontal; + cursor: pointer; +} +element normal.normal { + background-color: @background-alt; + text-color: @foreground; +} +element alternate.normal { + background-color: @background-alt; + text-color: @foreground; +} +element selected.normal { + border: 0px 2px 0px 2px; + border-radius: 10px; + border-color: @selected; + background-color: @background-alt; + text-color: @selected; +} +element-icon { + padding: 0px; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-15.rasi b/dot_config/rofi/launchers/type-2/style-15.rasi new file mode 100644 index 0000000..4b14fc1 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-15.rasi @@ -0,0 +1,151 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: " Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 450px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "listview", "entry" ]; +} + +/*****----- Inputbar -----*****/ +entry { + enabled: true; + expand: false; + padding: 20px 0px; + background-color: @selected; + text-color: @background; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 20px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-2.rasi b/dot_config/rofi/launchers/type-2/style-2.rasi new file mode 100644 index 0000000..49502a0 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-2.rasi @@ -0,0 +1,171 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 700px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @background; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-3.rasi b/dot_config/rofi/launchers/type-2/style-3.rasi new file mode 100644 index 0000000..5e3a6f9 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-3.rasi @@ -0,0 +1,171 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @foreground; + text-color: @background; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 6px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @background; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-4.rasi b/dot_config/rofi/launchers/type-2/style-4.rasi new file mode 100644 index 0000000..f5ab848 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-4.rasi @@ -0,0 +1,180 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: "Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 12px; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 12px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background-alt; + text-color: @foreground; +} +element alternate.normal { + background-color: @background-alt; + text-color: @foreground; +} +element selected.normal { + border: 0px 0px 0px 4px; + border-color: @selected; + background-color: @background-alt; + text-color: @selected; +} +element-icon { + padding: 0px 0px 0px 10px; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-5.rasi b/dot_config/rofi/launchers/type-2/style-5.rasi new file mode 100644 index 0000000..50ce121 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-5.rasi @@ -0,0 +1,182 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: "Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 700px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 16px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 16px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 12px; + border-radius: 16px; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 12px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 7; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 16px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background-alt; + text-color: @foreground; +} +element alternate.normal { + background-color: @background-alt; + text-color: @foreground; +} +element selected.normal { + border: 0px 5px 0px 5px; + border-radius: 16px; + border-color: @selected; + background-color: @background-alt; + text-color: @selected; +} +element-icon { + padding: 0px 0px 0px 10px; + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 16px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-6.rasi b/dot_config/rofi/launchers/type-2/style-6.rasi new file mode 100644 index 0000000..2f0ab2b --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-6.rasi @@ -0,0 +1,172 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: west; + anchor: west; + fullscreen: false; + width: 450px; + height: 100%; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @selected; + text-color: @background; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 6px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-7.rasi b/dot_config/rofi/launchers/type-2/style-7.rasi new file mode 100644 index 0000000..49e14be --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-7.rasi @@ -0,0 +1,172 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 750px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @selected; + text-color: @background; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 20px 10px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-8.rasi b/dot_config/rofi/launchers/type-2/style-8.rasi new file mode 100644 index 0000000..ee20df1 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-8.rasi @@ -0,0 +1,184 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: " Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 40px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + padding: 15px; + border-radius: 100%; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + padding: 15px; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 15px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 20px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + background-color: transparent; + text-color: @foreground; +} +element-icon { + padding: 30px; + border-radius: 20px; + background-color: @background-alt; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + padding: 10px; + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element-text selected { + border-radius: 100%; + background-color: @selected; + text-color: @background; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 2px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-2/style-9.rasi b/dot_config/rofi/launchers/type-2/style-9.rasi new file mode 100644 index 0000000..75dc924 --- /dev/null +++ b/dot_config/rofi/launchers/type-2/style-9.rasi @@ -0,0 +1,179 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: " Applications"; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 40px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + padding: 15px; + border-radius: 100%; + background-color: @selected; + text-color: @background; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + padding: 15px; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 15px 0px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: horizontal; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border-radius: 100%; + background-color: @background-alt; + text-color: @selected; +} +element-icon { + padding: 10px; + border-radius: 100%; + background-color: @selected; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 2px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/executable_launcher.sh b/dot_config/rofi/launchers/type-3/executable_launcher.sh new file mode 100644 index 0000000..ae97b5f --- /dev/null +++ b/dot_config/rofi/launchers/type-3/executable_launcher.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 + +dir="$HOME/.config/rofi/launchers/type-3" +theme='style-10' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/dot_config/rofi/launchers/type-3/shared/colors.rasi b/dot_config/rofi/launchers/type-3/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/launchers/type-3/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/launchers/type-3/shared/fonts.rasi b/dot_config/rofi/launchers/type-3/shared/fonts.rasi new file mode 100644 index 0000000..50499c9 --- /dev/null +++ b/dot_config/rofi/launchers/type-3/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "Iosevka Nerd Font 10"; +} diff --git a/dot_config/rofi/launchers/type-3/style-1.rasi b/dot_config/rofi/launchers/type-3/style-1.rasi new file mode 100644 index 0000000..3688452 --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-1.rasi @@ -0,0 +1,172 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 750px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + background-color: black / 10%; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: white / 5%; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: transparent; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: transparent; + text-color: inherit; +} +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 20px 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + background-color: white / 5%; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 10px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-10.rasi b/dot_config/rofi/launchers/type-3/style-10.rasi new file mode 100644 index 0000000..3344d36 --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-10.rasi @@ -0,0 +1,175 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px 500px 0px 0px; + padding: 12px; + border: 0px 0px 0px 4px; + border-radius: 0px 100% 100% 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 7; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border: 0px 0px 0px 4px; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 40px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-2.rasi b/dot_config/rofi/launchers/type-3/style-2.rasi new file mode 100644 index 0000000..3a22461 --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-2.rasi @@ -0,0 +1,173 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 100px; + margin: 0px; + padding: 100px 225px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0% 25%; + padding: 18px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: white / 5%; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: transparent; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: transparent; + text-color: inherit; +} +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 8; + lines: 4; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 35px 10px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + background-color: white / 5%; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 72px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-3.rasi b/dot_config/rofi/launchers/type-3/style-3.rasi new file mode 100644 index 0000000..c604a4b --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-3.rasi @@ -0,0 +1,173 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 100px; + margin: 0px; + padding: 100px 225px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0% 28%; + padding: 10px; + border: 1px solid; + border-radius: 6px; + border-color: white / 25%; + background-color: white / 5%; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: transparent; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: transparent; + text-color: inherit; +} +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 7; + lines: 4; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 35px 10px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + background-color: white / 5%; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 72px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-4.rasi b/dot_config/rofi/launchers/type-3/style-4.rasi new file mode 100644 index 0000000..db9386b --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-4.rasi @@ -0,0 +1,175 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 750px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 12px; + border: 1px solid; + border-radius: 4px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 20px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border: 1px solid; + border-radius: 4px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 10px; + border: 1px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-5.rasi b/dot_config/rofi/launchers/type-3/style-5.rasi new file mode 100644 index 0000000..01b6d47 --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-5.rasi @@ -0,0 +1,175 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: north; + anchor: north; + fullscreen: false; + width: 750px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 1px solid; + border-radius: 4px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 7; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: horizontal; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border: 1px solid; + border-radius: 4px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-6.rasi b/dot_config/rofi/launchers/type-3/style-6.rasi new file mode 100644 index 0000000..1c6c33b --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-6.rasi @@ -0,0 +1,174 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 500px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; + children: [ "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 20px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 128px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-7.rasi b/dot_config/rofi/launchers/type-3/style-7.rasi new file mode 100644 index 0000000..b516c5f --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-7.rasi @@ -0,0 +1,176 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: west; + anchor: west; + fullscreen: false; + width: 600px; + height: 100%; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 40px 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 12px 16px; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search Apps"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border: 0px 0px 2px 0px; + border-radius: 12px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-8.rasi b/dot_config/rofi/launchers/type-3/style-8.rasi new file mode 100644 index 0000000..d9bb6de --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-8.rasi @@ -0,0 +1,175 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: west; + anchor: west; + fullscreen: false; + width: 500px; + x-offset: 20px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 30px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 12px 16px; + border: 0px 0px 2px 0px; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search Apps"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 4; + lines: 4; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border: 0px 0px 2px 0px; + border-radius: 12px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-3/style-9.rasi b/dot_config/rofi/launchers/type-3/style-9.rasi new file mode 100644 index 0000000..dbf1a4e --- /dev/null +++ b/dot_config/rofi/launchers/type-3/style-9.rasi @@ -0,0 +1,176 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: east; + anchor: east; + fullscreen: false; + width: 180px; + height: 100%; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 30px 20px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 12px 16px; + border: 0px 0px 2px 0px; + border-radius: 4px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + orientation: vertical; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: @foreground; +} +element selected.normal { + border: 0px 0px 2px 0px; + border-radius: 4px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: black / 10%; + text-color: @foreground; +} +textbox { + background-color: transparent; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/dot_config/rofi/launchers/type-4/executable_launcher.sh b/dot_config/rofi/launchers/type-4/executable_launcher.sh new file mode 100644 index 0000000..6572cda --- /dev/null +++ b/dot_config/rofi/launchers/type-4/executable_launcher.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 + +dir="$HOME/.config/rofi/launchers/type-4" +theme='style-1' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/dot_config/rofi/launchers/type-4/shared/colors.rasi b/dot_config/rofi/launchers/type-4/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/launchers/type-4/shared/fonts.rasi b/dot_config/rofi/launchers/type-4/shared/fonts.rasi new file mode 100644 index 0000000..50499c9 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "Iosevka Nerd Font 10"; +} diff --git a/dot_config/rofi/launchers/type-4/style-1.rasi b/dot_config/rofi/launchers/type-4/style-1.rasi new file mode 100644 index 0000000..1aaa5b9 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-1.rasi @@ -0,0 +1,274 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 1px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px 0px 1px 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-10.rasi b/dot_config/rofi/launchers/type-4/style-10.rasi new file mode 100644 index 0000000..b4ec747 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-10.rasi @@ -0,0 +1,284 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: false; + display-drun: " Apps"; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: north; + anchor: north; + fullscreen: false; + width: 100%; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 5px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "prompt", "entry", "listview" ]; + orientation: horizontal; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 5px 10px; + border: 0px; + border-radius: 100%; + border-color: @border-colour; + background-color: @border-colour; + text-color: @background-colour; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + padding: 5px 10px; + width: 200px; + border-radius: 100%; + background-color: @alternate-background; + text-color: @foreground-colour; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + lines: 100; + cycle: true; + dynamic: true; + scrollbar: false; + layout: horizontal; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px 10px; + border: 0px solid; + border-radius: 100%; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-2.rasi b/dot_config/rofi/launchers/type-4/style-2.rasi new file mode 100644 index 0000000..78ad79e --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-2.rasi @@ -0,0 +1,274 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 1px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 5px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px 0px 1px dash 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-3.rasi b/dot_config/rofi/launchers/type-4/style-3.rasi new file mode 100644 index 0000000..3f24a03 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-3.rasi @@ -0,0 +1,274 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 50px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px 0px 2px dash 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(alternate-background); + text-color: var(selected-normal-background); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-4.rasi b/dot_config/rofi/launchers/type-4/style-4.rasi new file mode 100644 index 0000000..e84ec56 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-4.rasi @@ -0,0 +1,274 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px 0px 10px 10px; + border: 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: ""; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(alternate-background); + text-color: var(foreground-colour); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-5.rasi b/dot_config/rofi/launchers/type-4/style-5.rasi new file mode 100644 index 0000000..70e602d --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-5.rasi @@ -0,0 +1,279 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: "drun"; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px 0px 1px 0px; + border-radius: 0px; + border-color: @alternate-background; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + padding: 15px; + border: 0px 1px 0px 0px; + border-radius: 0px; + border-color: @alternate-background; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + padding: 15px; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: ""; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px 15px; + border: 0px 0px 1px 0px; + border-radius: 0px; + border-color: @alternate-background; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(alternate-background); + text-color: var(foreground-colour); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-6.rasi b/dot_config/rofi/launchers/type-4/style-6.rasi new file mode 100644 index 0000000..6034b34 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-6.rasi @@ -0,0 +1,275 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: "drun :"; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 35%; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: ""; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(alternate-background); + text-color: var(foreground-colour); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-7.rasi b/dot_config/rofi/launchers/type-4/style-7.rasi new file mode 100644 index 0000000..9cdc9c1 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-7.rasi @@ -0,0 +1,277 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: "drun :"; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + height: 768px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 0px; + padding: 25% 35%; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px; + border-radius: 20px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + children: [ "entry" ]; +} + +prompt { + enabled: true; + background-color: transparent; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: transparent; + text-color: inherit; +} +entry { + enabled: true; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Type here to search for apps"; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 12; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 20px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 12px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: white / 5%; + text-color: var(foreground-colour); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: transparent; + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 100px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @alternate-background; + text-color: @foreground-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-8.rasi b/dot_config/rofi/launchers/type-4/style-8.rasi new file mode 100644 index 0000000..75178de --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-8.rasi @@ -0,0 +1,274 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser"; + show-icons: false; + display-drun: "drun"; + display-run: "run"; + display-filebrowser: "files"; + display-window: "windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px 5px; + border: 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "prompt", "textbox-prompt-colon", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ":"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-background); + text-color: var(urgent-foreground); +} +element normal.active { + background-color: var(active-background); + text-color: var(active-foreground); +} +element selected.normal { + background-color: var(selected-normal-foreground); + text-color: var(selected-normal-background); +} +element selected.urgent { + background-color: var(selected-urgent-background); + text-color: var(selected-urgent-foreground); +} +element selected.active { + background-color: var(selected-active-background); + text-color: var(selected-active-foreground); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-background); + text-color: var(alternate-urgent-foreground); +} +element alternate.active { + background-color: var(alternate-active-background); + text-color: var(alternate-active-foreground); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(alternate-background); + text-color: var(selected-normal-background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @border-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-4/style-9.rasi b/dot_config/rofi/launchers/type-4/style-9.rasi new file mode 100644 index 0000000..73f73c0 --- /dev/null +++ b/dot_config/rofi/launchers/type-4/style-9.rasi @@ -0,0 +1,274 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: false; + display-drun: "drun"; + display-run: "run"; + display-filebrowser: "files"; + display-window: "windows"; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + border-colour: var(selected); + handle-colour: var(selected); + background-colour: var(background); + foreground-colour: var(foreground); + alternate-background: var(background-alt); + normal-background: var(background); + normal-foreground: var(foreground); + urgent-background: var(urgent); + urgent-foreground: var(background); + active-background: var(active); + active-foreground: var(background); + selected-normal-background: var(selected); + selected-normal-foreground: var(background); + selected-urgent-background: var(active); + selected-urgent-foreground: var(background); + selected-active-background: var(urgent); + selected-active-foreground: var(background); + alternate-normal-background: var(background); + alternate-normal-foreground: var(foreground); + alternate-urgent-background: var(urgent); + alternate-urgent-foreground: var(background); + alternate-active-background: var(active); + alternate-active-foreground: var(background); +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + cursor: "default"; + background-color: @background-colour; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 40px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + children: [ "inputbar", "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px 5px; + border: 0px 0px 1px 0px; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; + children: [ "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ":"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: "default"; +} +scrollbar { + handle-width: 1px ; + handle-color: @handle-colour; + border-radius: 0px; + background-color: @alternate-background; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 2px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; + cursor: pointer; +} +element normal.normal { + background-color: var(normal-background); + text-color: var(normal-foreground); +} +element normal.urgent { + background-color: var(urgent-foreground); + text-color: var(urgent-background); +} +element normal.active { + background-color: var(active-foreground); + text-color: var(active-background); +} +element selected.normal { + background-color: var(selected-normal-foreground); + text-color: var(selected-normal-background); +} +element selected.urgent { + background-color: var(selected-urgent-foreground); + text-color: var(selected-urgent-background); +} +element selected.active { + background-color: var(selected-active-foreground); + text-color: var(selected-active-background); +} +element alternate.normal { + background-color: var(alternate-normal-background); + text-color: var(alternate-normal-foreground); +} +element alternate.urgent { + background-color: var(alternate-urgent-foreground); + text-color: var(alternate-urgent-background); +} +element alternate.active { + background-color: var(alternate-active-foreground); + text-color: var(alternate-active-background); +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +button { + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: var(selected-normal-background); + text-color: var(selected-normal-foreground); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @border-colour; + background-color: transparent; + text-color: @foreground-colour; +} +textbox { + padding: 5px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @border-colour; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; + placeholder-color: @foreground-colour; + blink: true; + markup: true; +} +error-message { + padding: 30px; + border: 0px solid; + border-radius: 0px; + border-color: @border-colour; + background-color: @background-colour; + text-color: @foreground-colour; +} diff --git a/dot_config/rofi/launchers/type-5/executable_launcher.sh b/dot_config/rofi/launchers/type-5/executable_launcher.sh new file mode 100644 index 0000000..e9d0a3a --- /dev/null +++ b/dot_config/rofi/launchers/type-5/executable_launcher.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 + +dir="$HOME/.config/rofi/launchers/type-5" +theme='style-1' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/dot_config/rofi/launchers/type-5/style-1.rasi b/dot_config/rofi/launchers/type-5/style-1.rasi new file mode 100644 index 0000000..21d8cba --- /dev/null +++ b/dot_config/rofi/launchers/type-5/style-1.rasi @@ -0,0 +1,190 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: false; + display-drun: "Applications"; + drun-display-format: ">> {name} [({generic})]"; +} + +/*****----- Global Properties -----*****/ +* { + font: "Grape Nuts 14"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 860px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: black; + cursor: "default"; + background-image: url("~/.config/rofi/images/paper.png", none); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 8px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: black; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 95px 0px 0px 0px; + padding: 0px 30px; + border: 0px; + border-radius: 0px; + border-color: #D79290; + background-color: transparent; + text-color: black; + children: [ "prompt", "entry", "num-filtered-rows", "textbox-num-sep", "num-rows" ]; +} + +prompt { + enabled: true; + font: "Grape Nuts Bold 14"; + background-color: transparent; + text-color: inherit; +} +entry { + enabled: true; + expand: true; + padding: 0px 10px 0px 40px; + background-color: transparent; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} +num-filtered-rows { + enabled: true; + expand: false; + background-color: transparent; + text-color: inherit; +} +textbox-num-sep { + enabled: true; + expand: false; + str: "/"; + background-color: transparent; + text-color: inherit; +} +num-rows { + enabled: true; + expand: false; + background-color: transparent; + text-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 15; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 4px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: black; + background-color: transparent; + text-color: black; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: black; + border-radius: 0px; + background-color: transparent; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px 0px 0px 100px; + border: 0px solid; + border-radius: 0px; + border-color: black; + background-color: transparent; + text-color: black; + cursor: pointer; +} +element normal.normal { + background-color: transparent; + text-color: black; +} +element selected.normal { + background-color: transparent; + text-color: #D76A67; +} +element alternate.normal { + background-color: transparent; + text-color: black; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: black; + background-color: white; + text-color: black; +} +textbox { + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/dot_config/rofi/launchers/type-5/style-2.rasi b/dot_config/rofi/launchers/type-5/style-2.rasi new file mode 100644 index 0000000..185718f --- /dev/null +++ b/dot_config/rofi/launchers/type-5/style-2.rasi @@ -0,0 +1,177 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}\n[({generic})]"; + window-format: "Class : {c}\nWorkspace : {w}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "Iosevka Nerd Font 10"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border-radius: 12px; + cursor: "default"; + background-image: url("~/.config/rofi/images/gradient.png", width); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + margin: 40px; + padding: 40px; + border-radius: 12px; + background-color: white/50%; + children: [ "inputbar", "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px 10%; + padding: 0px 0px 10px 0px; + border: 0px 0px 2px 0px; + border-radius: 0px; + border-color: gray/20%; + background-color: transparent; + children: [ "entry" ]; +} + +entry { + enabled: true; + background-color: transparent; + text-color: gray; + cursor: text; + placeholder: "Type to filter"; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 40px; + margin: 0px; + padding: 20px 0px 0px 0px; + border: 0px solid; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 1px solid; + border-radius: 8px; + border-color: gray/30%; + background-color: white; + text-color: black; + cursor: pointer; +} +element normal.active { + background-color: #67FF80; + text-color: black; +} +element selected.normal { + background-color: #FDD66F; + text-color: black; +} +element selected.active { + background-color: #FF7F7C; + text-color: black; +} +element-icon { + background-color: transparent; + size: 48px; + cursor: inherit; +} +element-text { + background-color: inherit; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + spacing: 20px; + margin: 0px 10%; + background-color: transparent; + text-color: white; +} +button { + font: "Iosevka Nerd Font Bold 10"; + padding: 6px; + border: 0px solid; + border-radius: 100%; + background-color: #719DF9; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: #F37277; + text-color: inherit; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + background-color: transparent; + text-color: black; +} +textbox { + padding: 20px; + border-radius: 12px; + background-color: white/30%; + text-color: black; + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/dot_config/rofi/launchers/type-5/style-3.rasi b/dot_config/rofi/launchers/type-5/style-3.rasi new file mode 100644 index 0000000..b1563a4 --- /dev/null +++ b/dot_config/rofi/launchers/type-5/style-3.rasi @@ -0,0 +1,179 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,filebrowser,window"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}\n[({generic})]"; + window-format: "Class : {c}\nWorkspace : {w}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "Iosevka Nerd Font 10"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 500px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border-radius: 10px; + cursor: "default"; + background-color: white; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + padding: 30px; + background-color: transparent; + children: [ "inputbar", "mode-switcher", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + background-color: transparent; + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + padding: 12px 16px; + border: 0px; + border-radius: 10px; + border-color: gray/30%; + background-color: gray/15%; + text-color: black; + str: ""; +} +entry { + enabled: true; + padding: 12px 16px; + border: 0px; + border-radius: 10px; + border-color: gray/30%; + background-color: gray/15%; + text-color: black; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 10px; + background-color: transparent; + text-color: black; + cursor: pointer; +} +element normal.active { + background-image: linear-gradient(to right, #19B466, #7BF4B7); + text-color: black; +} +element selected.normal { + border-radius: 10px; + background-image: linear-gradient(to right, #FF9030, #FFC99B); + text-color: black; +} +element selected.active { + background-image: linear-gradient(to right, #EA5553, #EAACAB); + text-color: black; +} +element-icon { + background-color: transparent; + size: 48px; + cursor: inherit; +} +element-text { + background-color: inherit; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + spacing: 15px; + background-color: transparent; +} +button { + font: "Iosevka Nerd Font Bold 10"; + padding: 10px; + border-radius: 100%; + background-image: linear-gradient(to right, #C03FF2, #EEC2FF); + text-color: white; + cursor: pointer; +} +button selected { + background-image: linear-gradient(to right, #44A2F0, #BDDDF8); + text-color: black; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + background-color: white; + text-color: black; +} +textbox { + padding: 0px; + border-radius: 0px; + text-color: black; + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/dot_config/rofi/launchers/type-5/style-4.rasi b/dot_config/rofi/launchers/type-5/style-4.rasi new file mode 100644 index 0000000..bc1e59d --- /dev/null +++ b/dot_config/rofi/launchers/type-5/style-4.rasi @@ -0,0 +1,185 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} {c} {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "Iosevka Nerd Font 10"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border-radius: 20px; + cursor: "default"; + background-color: #22272C; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 25px; + padding: 50px; + background-color: transparent; + children: [ "inputbar", "message","listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px 200px; + padding: 5px; + border: 1px; + border-radius: 100%; + border-color: gray/25%; + background-color: transparent; + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + padding: 8px 11px; + border-radius: 100%; + background-color: white; + text-color: black; + str: ""; +} +entry { + enabled: true; + padding: 8px 12px; + border: 0px; + background-color: transparent; + text-color: white; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px; + border: 0px; + border-radius: 100%; + border-color: gray/15%; + background-color: transparent; + text-color: gray; + cursor: pointer; +} +element normal.active { + background-image: linear-gradient(to right, #4C4F52, #2E343B); + text-color: #19B466; +} +element selected.normal { + background-image: linear-gradient(to right, #4C4F52, #2E343B); + text-color: #FF9030; +} +element selected.active { + background-image: linear-gradient(to right, #4C4F52, #2E343B); + text-color: #EA5553; +} +element-icon { + background-color: transparent; + size: 24px; + cursor: inherit; +} +element-text { + background-color: inherit; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + expand: false; + spacing: 0px; + margin: 0px 200px; + padding: 12px; + border-radius: 100%; + background-color: #2E343B; +} +button { + background-color: inherit; + text-color: white; + cursor: pointer; +} +button selected { + background-color: inherit; + text-color: #FF9030; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + background-color: #22272C; + text-color: white; +} +message { + padding: 0px; + background-color: inherit; + text-color: #FF9030; +} +textbox { + padding: 0px; + border-radius: 0px; + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/dot_config/rofi/launchers/type-5/style-5.rasi b/dot_config/rofi/launchers/type-5/style-5.rasi new file mode 100644 index 0000000..60e4e22 --- /dev/null +++ b/dot_config/rofi/launchers/type-5/style-5.rasi @@ -0,0 +1,163 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name} [({generic})]"; + window-format: "{w} {c} {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "Iosevka Nerd Font 10"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border-radius: 20px; + cursor: "default"; + background-color: #162022; + background-image: url("~/.config/rofi/images/flowers-1.png", width); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 20px; + padding: 40px; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px 200px 0px 0px; + padding: 25px; + border: 2px; + border-radius: 20px; + border-color: white; + background-image: url("~/.config/rofi/images/flowers-3.png", none); + children: [ "textbox-prompt-colon", "entry" ]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + padding: 8px 11px; + border-radius: 8px; + background-color: white; + text-color: black; + str: ""; +} +entry { + enabled: true; + padding: 8px 12px; + border: 0px; + background-color: transparent; + text-color: white; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px 200px 0px 0px; + padding: 10px; + border: 2px; + border-radius: 20px; + border-color: white; + background-image: url("~/.config/rofi/images/flowers-2.png", width); + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 5px 10px; + border: 0px; + border-radius: 18px; + border-color: white; + background-color: transparent; + text-color: #162022; + cursor: pointer; +} +element selected.normal { + background-color: #162022; + text-color: white; +} +element-icon { + background-color: transparent; + size: 32px; + cursor: inherit; +} +element-text { + background-color: inherit; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 20px; + background-color: transparent; + text-color: white; +} +message { + padding: 0px; + background-color: inherit; + text-color: #FF9030; +} +textbox { + padding: 0px; + border-radius: 0px; + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} diff --git a/dot_config/rofi/launchers/type-6/executable_launcher.sh b/dot_config/rofi/launchers/type-6/executable_launcher.sh new file mode 100644 index 0000000..c0b4d33 --- /dev/null +++ b/dot_config/rofi/launchers/type-6/executable_launcher.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 + +dir="$HOME/.config/rofi/launchers/type-6" +theme='style-1' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/dot_config/rofi/launchers/type-6/style-1.rasi b/dot_config/rofi/launchers/type-6/style-1.rasi new file mode 100644 index 0000000..198a4e0 --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-1.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #201A41; + background-alt: #392684; + foreground: #FFFFFF; + selected: #F801E8; + active: #00CCF5; + urgent: #8D0083; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/a.png", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-10.rasi b/dot_config/rofi/launchers/type-6/style-10.rasi new file mode 100644 index 0000000..07c375d --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-10.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/j.jpg", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-2.rasi b/dot_config/rofi/launchers/type-6/style-2.rasi new file mode 100644 index 0000000..66a1de6 --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-2.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #180F39; + background-alt: #32197D; + foreground: #FFFFFF; + selected: #FF00F1; + active: #9878FF; + urgent: #7D0075; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/b.png", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-3.rasi b/dot_config/rofi/launchers/type-6/style-3.rasi new file mode 100644 index 0000000..a623e2f --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-3.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #09164C; + background-alt: #102886; + foreground: #FFFFFF; + selected: #FA00E9; + active: #3860FF; + urgent: #BB00AF; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/c.png", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-4.rasi b/dot_config/rofi/launchers/type-6/style-4.rasi new file mode 100644 index 0000000..ddf2be1 --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-4.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #2D1B14; + background-alt: #462D23; + foreground: #FFFFFF; + selected: #E25F3E; + active: #7B6C5B; + urgent: #934A1C; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/d.png", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-5.rasi b/dot_config/rofi/launchers/type-6/style-5.rasi new file mode 100644 index 0000000..afc90fb --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-5.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #231419; + background-alt: #2D1E23; + foreground: #FFFFFF; + selected: #426647; + active: #2E3F34; + urgent: #D08261; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/e.jpg", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-6.rasi b/dot_config/rofi/launchers/type-6/style-6.rasi new file mode 100644 index 0000000..7056c85 --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-6.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #D0D0D0; + background-alt: #E9E9E9; + foreground: #161616; + selected: #BEBEBE; + active: #999999; + urgent: #808080; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/f.png", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-7.rasi b/dot_config/rofi/launchers/type-6/style-7.rasi new file mode 100644 index 0000000..77eed40 --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-7.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #101010; + background-alt: #252525; + foreground: #FFFFFF; + selected: #505050; + active: #909090; + urgent: #707070; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/g.png", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-8.rasi b/dot_config/rofi/launchers/type-6/style-8.rasi new file mode 100644 index 0000000..235dad7 --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-8.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #030B16; + background-alt: #0A1B37; + foreground: #FFFFFF; + selected: #CB43A6; + active: #095873; + urgent: #2FC6D8; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/h.jpg", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-6/style-9.rasi b/dot_config/rofi/launchers/type-6/style-9.rasi new file mode 100644 index 0000000..e30583f --- /dev/null +++ b/dot_config/rofi/launchers/type-6/style-9.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOW"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #131D1F; + background-alt: #183A43; + foreground: #FFFFFF; + selected: #649094; + active: #E9CC9D; + urgent: #FEA861; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listbox" ]; +} + +imagebox { + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/i.jpg", height); + orientation: vertical; + children: [ "inputbar", "dummy", "mode-switcher" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +dummy { + background-color: transparent; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 20px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 8px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/executable_launcher.sh b/dot_config/rofi/launchers/type-7/executable_launcher.sh new file mode 100644 index 0000000..aa45aa9 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/executable_launcher.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Launcher (Modi Drun, Run, File Browser, Window) +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 + +dir="$HOME/.config/rofi/launchers/type-7" +theme='style-1' + +## Run +rofi \ + -show drun \ + -theme ${dir}/${theme}.rasi diff --git a/dot_config/rofi/launchers/type-7/style-1.rasi b/dot_config/rofi/launchers/type-7/style-1.rasi new file mode 100644 index 0000000..092f4f8 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-1.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 700px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 20px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 80px 60px; + background-color: transparent; + background-image: url("~/.config/rofi/images/a.png", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 250px; + padding: 12px 16px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + width: 45px; + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 7; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 4px; + border-radius: 100%; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-10.rasi b/dot_config/rofi/launchers/type-7/style-10.rasi new file mode 100644 index 0000000..124df89 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-10.rasi @@ -0,0 +1,207 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: west; + anchor: west; + fullscreen: false; + width: 400px; + x-offset: 20px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 0px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 10px; + padding: 10px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + padding: 100px 40px; + background-color: transparent; + background-image: url("~/.config/rofi/images/j.jpg", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 8px 12px; + border: 0px 2px 2px 2px; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: true; + padding: 8px 12px; + border: 2px 2px 0px 0px; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 8px; + border-radius: 0px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 8px; + border-radius: 0px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 8px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 8px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-2.rasi b/dot_config/rofi/launchers/type-7/style-2.rasi new file mode 100644 index 0000000..40a2375 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-2.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "Apps"; + display-run: "Run"; + display-filebrowser: "Files"; + display-window: "Windows"; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #180F39; + background-alt: #32197D; + foreground: #FFFFFF; + selected: #FF00F1; + active: #9878FF; + urgent: #7D0075; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 20px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 80px 60px; + background-color: transparent; + background-image: url("~/.config/rofi/images/b.png", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 300px; + padding: 12px 16px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + width: 80px; + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 4px; + border-radius: 100%; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-3.rasi b/dot_config/rofi/launchers/type-7/style-3.rasi new file mode 100644 index 0000000..6ac4900 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-3.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #09164C; + background-alt: #102886; + foreground: #FFFFFF; + selected: #FA00E9; + active: #3860FF; + urgent: #BB00AF; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 10px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 15px; + padding: 15px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 100px 60px; + background-color: transparent; + background-image: url("~/.config/rofi/images/c.png", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 12px; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 150px; + padding: 12px 16px; + border-radius: 12px; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + width: 40px; + padding: 12px; + border-radius: 12px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 6px; + border-radius: 10px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 10px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 10px; + border-radius: 10px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-4.rasi b/dot_config/rofi/launchers/type-7/style-4.rasi new file mode 100644 index 0000000..9657878 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-4.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #2D1B14; + background-alt: #462D23; + foreground: #FFFFFF; + selected: #E25F3E; + active: #7B6C5B; + urgent: #934A1C; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: west; + anchor: west; + fullscreen: false; + width: 500px; + height: 100%; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 0px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox", "mode-switcher" ]; +} + +listbox { + spacing: 15px; + padding: 15px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 40px 40px 155px; + background-color: transparent; + background-image: url("~/.config/rofi/images/d.png", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 0px; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: true; + padding: 12px 16px; + border-radius: 0px; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + padding: 15px; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 12px; + border-radius: 0px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 10; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 8px; + border-radius: 0px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 24px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 12px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-5.rasi b/dot_config/rofi/launchers/type-7/style-5.rasi new file mode 100644 index 0000000..0edb39d --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-5.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,filebrowser,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #231419; + background-alt: #2D1E23; + foreground: #FFFFFF; + selected: #426647; + active: #2E3F34; + urgent: #D08261; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 600px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 20px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 80px 60px; + background-color: transparent; + background-image: url("~/.config/rofi/images/e.jpg", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 250px; + padding: 12px 16px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + width: 45px; + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 7; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 4px; + border-radius: 100%; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 20px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-6.rasi b/dot_config/rofi/launchers/type-7/style-6.rasi new file mode 100644 index 0000000..d500569 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-6.rasi @@ -0,0 +1,210 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: true; + display-drun: "APPS"; + display-run: "RUN"; + display-filebrowser: "FILES"; + display-window: "WINDOWS"; + drun-display-format: "{name}"; + window-format: "{w} · {c}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #D0D0D0; + background-alt: #E9E9E9; + foreground: #161616; + selected: #BEBEBE; + active: #999999; + urgent: #808080; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 15px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 100px 60px; + background-color: transparent; + background-image: url("~/.config/rofi/images/f.png", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 300px; + padding: 12px 16px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + width: 80px; + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 10px; + border-radius: 15px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; + orientation: vertical; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 64px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 15px; + border-radius: 15px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 15px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-7.rasi b/dot_config/rofi/launchers/type-7/style-7.rasi new file mode 100644 index 0000000..98d135b --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-7.rasi @@ -0,0 +1,203 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #101010; + background-alt: #252525; + foreground: #FFFFFF; + selected: #505050; + active: #909090; + urgent: #707070; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 20px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview", "mode-switcher" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 100px 40px; + background-color: transparent; + background-image: url("~/.config/rofi/images/g.png", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: true; + padding: 12px 16px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 12px; + border-radius: 100%; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 15px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-8.rasi b/dot_config/rofi/launchers/type-7/style-8.rasi new file mode 100644 index 0000000..0ed4797 --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-8.rasi @@ -0,0 +1,209 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,run,filebrowser,window"; + show-icons: false; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w} · {c} · {t}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #030B16; + background-alt: #0A1B37; + foreground: #FFFFFF; + selected: #CB43A6; + active: #095873; + urgent: #2FC6D8; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 30px 5px 30px 5px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 100px 60px; + background-color: transparent; + background-image: url("~/.config/rofi/images/h.jpg", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 15px 5px 15px 5px; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 250px; + padding: 12px 16px; + border-radius: 5px 15px 5px 15px; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + width: 45px; + padding: 12px; + border-radius: 15px 5px 15px 5px; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 8; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + padding: 12px; + border-radius: 15px 5px 15px 5px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 12px; + border-radius: 15px 5px 15px 5px; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/launchers/type-7/style-9.rasi b/dot_config/rofi/launchers/type-7/style-9.rasi new file mode 100644 index 0000000..ff3bf0a --- /dev/null +++ b/dot_config/rofi/launchers/type-7/style-9.rasi @@ -0,0 +1,210 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun,filebrowser,window"; + show-icons: true; + display-drun: ""; + display-run: ""; + display-filebrowser: ""; + display-window: ""; + drun-display-format: "{name}"; + window-format: "{w}: {c}"; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #131D1F; + background-alt: #183A43; + foreground: #FFFFFF; + selected: #649094; + active: #E9CC9D; + urgent: #FEA861; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 700px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + border-radius: 20px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + background-color: transparent; + orientation: vertical; + children: [ "inputbar", "listbox" ]; +} + +listbox { + spacing: 20px; + padding: 20px; + background-color: transparent; + orientation: vertical; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + padding: 80px 60px; + background-color: transparent; + background-image: url("~/.config/rofi/images/i.jpg", width); + text-color: @foreground; + orientation: horizontal; + children: [ "textbox-prompt-colon", "entry", "dummy", "mode-switcher" ]; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 15px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; +} +entry { + enabled: true; + expand: false; + width: 250px; + padding: 12px 16px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: text; + placeholder: "Search"; + placeholder-color: inherit; +} +dummy { + expand: true; + background-color: transparent; +} + +/*****----- Mode Switcher -----*****/ +mode-switcher{ + enabled: true; + spacing: 10px; + background-color: transparent; + text-color: @foreground; +} +button { + width: 45px; + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: inherit; + cursor: pointer; +} +button selected { + background-color: @selected; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 15px; + padding: 35px 10px; + border-radius: 20px; + background-color: transparent; + text-color: @foreground; + cursor: pointer; + orientation: vertical; +} +element normal.normal { + background-color: inherit; + text-color: inherit; +} +element normal.urgent { + background-color: @urgent; + text-color: @foreground; +} +element normal.active { + background-color: @active; + text-color: @foreground; +} +element selected.normal { + background-color: @selected; + text-color: @foreground; +} +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} +element selected.active { + background-color: @urgent; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 96px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Message -----*****/ +message { + background-color: transparent; +} +textbox { + padding: 12px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; +} +error-message { + padding: 12px; + border-radius: 0px; + background-color: @background; + text-color: @foreground; +} diff --git a/dot_config/rofi/powermenu/type-1/executable_powermenu.sh b/dot_config/rofi/powermenu/type-1/executable_powermenu.sh new file mode 100644 index 0000000..dd978af --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/executable_powermenu.sh @@ -0,0 +1,110 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 + +# Current Theme +dir="$HOME/.config/rofi/powermenu/type-1" +theme='style-1' + +# CMDs +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +shutdown=' Shutdown' +reboot=' Reboot' +lock=' Lock' +suspend=' Suspend' +logout=' Logout' +yes=' Yes' +no=' No' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p "$host" \ + -mesg "Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 250px;}' \ + -theme-str 'mainbox {children: [ "message", "listview" ];}' \ + -theme-str 'listview {columns: 2; lines: 1;}' \ + -theme-str 'element-text {horizontal-align: 0.5;}' \ + -theme-str 'textbox {horizontal-align: 0.5;}' \ + -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/${theme}.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then + qdbus org.kde.ksmserver /KSMServer logout 0 0 0 + fi + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $lock) + if [[ -x '/usr/bin/betterlockscreen' ]]; then + betterlockscreen -l + elif [[ -x '/usr/bin/i3lock' ]]; then + i3lock + fi + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/dot_config/rofi/powermenu/type-1/shared/colors.rasi b/dot_config/rofi/powermenu/type-1/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/powermenu/type-1/shared/fonts.rasi b/dot_config/rofi/powermenu/type-1/shared/fonts.rasi new file mode 100644 index 0000000..430c73d --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "JetBrains Mono Nerd Font 10"; +} diff --git a/dot_config/rofi/powermenu/type-1/style-1.rasi b/dot_config/rofi/powermenu/type-1/style-1.rasi new file mode 100644 index 0000000..2a59b18 --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/style-1.rasi @@ -0,0 +1,161 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 400px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 14px; + border-radius: 10px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 10px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-1/style-2.rasi b/dot_config/rofi/powermenu/type-1/style-2.rasi new file mode 100644 index 0000000..f9499a3 --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/style-2.rasi @@ -0,0 +1,161 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 500px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 2px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 100%; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 100%; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-1/style-3.rasi b/dot_config/rofi/powermenu/type-1/style-3.rasi new file mode 100644 index 0000000..d67c5bd --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/style-3.rasi @@ -0,0 +1,161 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 350px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 1px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 8px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 8px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 8px 12px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 8px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 8px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-1/style-4.rasi b/dot_config/rofi/powermenu/type-1/style-4.rasi new file mode 100644 index 0000000..daee803 --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/style-4.rasi @@ -0,0 +1,161 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 500px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 30px 10px 30px 10px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 14px; + border-radius: 15px 10px 15px 10px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 10px 15px 10px 15px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 15px 10px 15px 10px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 15px 10px 15px 10px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-1/style-5.rasi b/dot_config/rofi/powermenu/type-1/style-5.rasi new file mode 100644 index 0000000..dd330dd --- /dev/null +++ b/dot_config/rofi/powermenu/type-1/style-5.rasi @@ -0,0 +1,167 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 605px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 4px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 20px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", dummy, "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 10px 14px; + border-radius: 4px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 10px; + border-radius: 4px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 4px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 10px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 10px; + border: 0px solid; + border-radius: 4px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + border: 0px 2px 0px 2px; + border-radius: 4px; + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/executable_powermenu.sh b/dot_config/rofi/powermenu/type-2/executable_powermenu.sh new file mode 100644 index 0000000..8638203 --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/executable_powermenu.sh @@ -0,0 +1,111 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 +## style-6 style-7 style-8 style-9 style-10 + +# Current Theme +dir="$HOME/.config/rofi/powermenu/type-2" +theme='style-7' + +# CMDs +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +shutdown='' +reboot='' +lock='' +suspend='' +logout='' +yes='' +no='' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p "Uptime: $uptime" \ + -mesg "Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ + -theme-str 'mainbox {children: [ "message", "listview" ];}' \ + -theme-str 'listview {columns: 2; lines: 1;}' \ + -theme-str 'element-text {horizontal-align: 0.5;}' \ + -theme-str 'textbox {horizontal-align: 0.5;}' \ + -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/${theme}.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then + qdbus org.kde.ksmserver /KSMServer logout 0 0 0 + fi + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $lock) + if [[ -x '/usr/bin/betterlockscreen' ]]; then + betterlockscreen -l + elif [[ -x '/usr/bin/i3lock' ]]; then + i3lock + fi + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/dot_config/rofi/powermenu/type-2/shared/colors.rasi b/dot_config/rofi/powermenu/type-2/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/powermenu/type-2/shared/fonts.rasi b/dot_config/rofi/powermenu/type-2/shared/fonts.rasi new file mode 100644 index 0000000..430c73d --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "JetBrains Mono Nerd Font 10"; +} diff --git a/dot_config/rofi/powermenu/type-2/style-1.rasi b/dot_config/rofi/powermenu/type-2/style-1.rasi new file mode 100644 index 0000000..e310106 --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-1.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 40px 10px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-10.rasi b/dot_config/rofi/powermenu/type-2/style-10.rasi new file mode 100644 index 0000000..d3fd8fd --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-10.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1200px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: transparent; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 25px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 20px 24px; + border-radius: 100% 0px 0px 100%; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 20px; + border-radius: 0px 100% 100% 0px; + background-color: @background; + text-color: @active; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px 50px; + padding: 15px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 70px 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 48"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-2.rasi b/dot_config/rofi/powermenu/type-2/style-2.rasi new file mode 100644 index 0000000..f64703e --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-2.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 100%; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 100%; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 40px 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-3.rasi b/dot_config/rofi/powermenu/type-2/style-3.rasi new file mode 100644 index 0000000..26d2c77 --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-3.rasi @@ -0,0 +1,172 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 30px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 15px 15px 0px 15px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 15px 15px 15px 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 15px 5px 15px 5px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 40px 10px; + border: 0px solid; + border-radius: 50px 20px 50px 20px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + border: 0px 0px 2px 2px ; + border-color: @selected; + background-color: var(background-alt); + text-color: var(selected); +} diff --git a/dot_config/rofi/powermenu/type-2/style-4.rasi b/dot_config/rofi/powermenu/type-2/style-4.rasi new file mode 100644 index 0000000..fbb4ebb --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-4.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: east; + anchor: east; + fullscreen: false; + width: 115px; + x-offset: -15px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 20px 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-5.rasi b/dot_config/rofi/powermenu/type-2/style-5.rasi new file mode 100644 index 0000000..6caffaa --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-5.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: west; + anchor: west; + fullscreen: false; + width: 115px; + x-offset: 15px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 12px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 20px 0px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-6.rasi b/dot_config/rofi/powermenu/type-2/style-6.rasi new file mode 100644 index 0000000..d54b32e --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-6.rasi @@ -0,0 +1,172 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: south; + anchor: south; + fullscreen: false; + width: 500px; + x-offset: 0px; + y-offset: -15px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 12px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 12px; + border: 0px 2px dash 0px 2px dash; + border-radius: 12px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 20px 0px; + border: 0px; + border-radius: 30px 12px 30px 12px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + border: 0px 10px dash 0px 10px dash; + border-color: @selected; + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-7.rasi b/dot_config/rofi/powermenu/type-2/style-7.rasi new file mode 100644 index 0000000..8e8352f --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-7.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: transparent; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px 100px; + padding: 15px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 45px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-8.rasi b/dot_config/rofi/powermenu/type-2/style-8.rasi new file mode 100644 index 0000000..4af18b3 --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-8.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: east; + anchor: east; + fullscreen: false; + width: 95px; + x-offset: -20px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: transparent; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 5; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 25px 10px; + border: 0px solid; + border-radius: 100%; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-2/style-9.rasi b/dot_config/rofi/powermenu/type-2/style-9.rasi new file mode 100644 index 0000000..8b2e483 --- /dev/null +++ b/dot_config/rofi/powermenu/type-2/style-9.rasi @@ -0,0 +1,170 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: north; + anchor: north; + fullscreen: false; + width: 530px; + x-offset: 0px; + y-offset: 20px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: transparent; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: ""; + padding: 12px 16px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: 12px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 25px 10px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 24"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-3/executable_powermenu.sh b/dot_config/rofi/powermenu/type-3/executable_powermenu.sh new file mode 100644 index 0000000..8c1e47f --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/executable_powermenu.sh @@ -0,0 +1,105 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 + +# Current Theme +dir="$HOME/.config/rofi/powermenu/type-3" +theme='style-1' + +# CMDs +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +shutdown='' +reboot='' +lock='' +suspend='' +logout='' +yes='' +no='' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p "Uptime: $uptime" \ + -mesg "Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/shared/confirm.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then + qdbus org.kde.ksmserver /KSMServer logout 0 0 0 + fi + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $lock) + if [[ -x '/usr/bin/betterlockscreen' ]]; then + betterlockscreen -l + elif [[ -x '/usr/bin/i3lock' ]]; then + i3lock + fi + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/dot_config/rofi/powermenu/type-3/shared/colors.rasi b/dot_config/rofi/powermenu/type-3/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/powermenu/type-3/shared/confirm.rasi b/dot_config/rofi/powermenu/type-3/shared/confirm.rasi new file mode 100644 index 0000000..9f74f2a --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/shared/confirm.rasi @@ -0,0 +1,93 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "colors.rasi" +@import "fonts.rasi" + +/*****----- Main Window -----*****/ +window { + location: center; + anchor: center; + fullscreen: false; + width: 500px; + border-radius: 20px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + spacing: 30px; + padding: 30px; + background-color: transparent; + children: [ "message", "listview" ]; +} + +/*****----- Message -----*****/ +message { + margin: 0px; + padding: 20px; + border-radius: 20px; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} + +/*****----- Listview -----*****/ +listview { + columns: 2; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 30px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + padding: 60px 10px; + border-radius: 20px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 48"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-3/shared/fonts.rasi b/dot_config/rofi/powermenu/type-3/shared/fonts.rasi new file mode 100644 index 0000000..68fd613 --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "JetBrains Mono Nerd Font 12"; +} diff --git a/dot_config/rofi/powermenu/type-3/style-1.rasi b/dot_config/rofi/powermenu/type-3/style-1.rasi new file mode 100644 index 0000000..702ce83 --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/style-1.rasi @@ -0,0 +1,179 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + /* Resolution : 1920x1080 */ + box-spacing: 30px; + box-margin: 300px 100px; + inputbar-spacing: 30px; + list-spacing: 30px; + general-padding: 20px; + element-padding: 100px 10px; + element-radius: 0px; + general-radius: 0px; + element-font: "feather 64"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(box-spacing); + margin: 0px; + padding: var(box-margin); + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: var(inputbar-spacing); + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "SYSTEM"; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: var(general-padding); + border: 0px solid; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: var(general-padding); + border: 0px solid; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(list-spacing); + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: var(element-padding); + border: 0px solid; + border-radius: var(element-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: var(element-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-3/style-2.rasi b/dot_config/rofi/powermenu/type-3/style-2.rasi new file mode 100644 index 0000000..1652e04 --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/style-2.rasi @@ -0,0 +1,179 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + /* Resolution : 1920x1080 */ + box-spacing: 50px; + box-margin: 300px 200px; + inputbar-spacing: 0px; + list-spacing: 30px; + general-padding: 20px; + element-padding: 80px 10px; + element-radius: 100%; + general-radius: 100%; + element-font: "feather 64"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(box-spacing); + margin: 0px; + padding: var(box-margin); + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: var(inputbar-spacing); + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "SYSTEM"; + padding: var(general-padding); + border-radius: 100% 0px 0px 100%; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: var(general-padding); + border-radius: 0px 100% 100% 0px; + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: var(general-padding); + border: 0px solid; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: var(general-padding); + border: 0px solid; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(list-spacing); + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: var(element-padding); + border: 0px solid; + border-radius: var(element-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: var(element-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-3/style-3.rasi b/dot_config/rofi/powermenu/type-3/style-3.rasi new file mode 100644 index 0000000..340472d --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/style-3.rasi @@ -0,0 +1,180 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + /* Resolution : 1920x1080 */ + box-spacing: 50px; + box-margin: 370px 350px; + message-margin: 0px 350px; + inputbar-spacing: 0px; + list-spacing: 50px; + general-padding: 20px; + element-padding: 55px 10px; + element-radius: 20px; + general-radius: 100%; + element-font: "feather 48"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(box-spacing); + margin: 0px; + padding: var(box-margin); + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "message", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: var(inputbar-spacing); + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "SYSTEM"; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(general-padding); + border: 0px; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: var(general-padding); + border: 0px solid; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(list-spacing); + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: var(element-padding); + border: 0px solid; + border-radius: var(element-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: var(element-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-3/style-4.rasi b/dot_config/rofi/powermenu/type-3/style-4.rasi new file mode 100644 index 0000000..4c06d8e --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/style-4.rasi @@ -0,0 +1,180 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + /* Resolution : 1920x1080 */ + box-spacing: 70px; + box-margin: 300px 350px; + message-margin: 0px 400px; + inputbar-spacing: 0px; + list-spacing: 40px; + general-padding: 20px; + element-padding: 60px 10px; + element-radius: 80px; + general-radius: 100%; + element-font: "feather 48"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(box-spacing); + margin: 0px; + padding: var(box-margin); + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview", "message" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: var(inputbar-spacing); + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon" ]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "SYSTEM"; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @active; + text-color: @background; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(general-padding); + border: 0px; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: var(general-padding); + border: 0px solid; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(list-spacing); + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: var(element-padding); + border: 0px solid; + border-radius: var(element-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: var(element-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-3/style-5.rasi b/dot_config/rofi/powermenu/type-3/style-5.rasi new file mode 100644 index 0000000..70ce743 --- /dev/null +++ b/dot_config/rofi/powermenu/type-3/style-5.rasi @@ -0,0 +1,181 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "shared/colors.rasi" +@import "shared/fonts.rasi" + +* { + /* Resolution : 1920x1080 */ + box-spacing: 50px; + box-margin: 300px 250px; + box-padding: 50px; + message-margin: 0px 400px; + inputbar-spacing: 0px; + list-spacing: 0px; + general-padding: 20px; + element-padding: 90px 10px; + element-radius: 80px; + general-radius: 100%; + element-font: "feather 48"; +} + +/*****----- Main Window -----*****/ +window { + /* properties for window widget */ + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + width: 1366px; + x-offset: 0px; + y-offset: 0px; + + /* properties for all widgets */ + enabled: true; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(box-spacing); + margin: var(box-margin); + padding: var(box-padding); + border: 0px solid; + border-radius: var(element-radius); + border-color: @selected; + background-color: @background-alt; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: var(inputbar-spacing); + margin: 0px; + padding: 0px; + border: 0px; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + children: [ "textbox-prompt-colon", "dummy", "prompt" ]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: "SYSTEM"; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @background; + text-color: @urgent; +} +prompt { + enabled: true; + padding: var(general-padding); + border-radius: var(general-radius); + background-color: @background; + text-color: @active; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(general-padding); + border: 0px; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} +error-message { + padding: var(general-padding); + border: 0px solid; + border-radius: var(general-radius); + border-color: @selected; + background-color: @background; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(list-spacing); + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: var(element-radius); + border-color: @selected; + background-color: @background; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 0px; + margin: 0px; + padding: var(element-padding); + border: 0px solid; + border-radius: var(element-radius); + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: var(element-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-4/executable_powermenu.sh b/dot_config/rofi/powermenu/type-4/executable_powermenu.sh new file mode 100644 index 0000000..17f20c7 --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/executable_powermenu.sh @@ -0,0 +1,105 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 + +# Current Theme +dir="$HOME/.config/rofi/powermenu/type-4" +theme='style-5' + +# CMDs +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +shutdown='' +reboot='' +lock='' +suspend='' +logout='' +yes='' +no='' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p "Goodbye ${USER}" \ + -mesg "Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/shared/confirm.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then + qdbus org.kde.ksmserver /KSMServer logout 0 0 0 + fi + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $lock) + if [[ -x '/usr/bin/betterlockscreen' ]]; then + betterlockscreen -l + elif [[ -x '/usr/bin/i3lock' ]]; then + i3lock + fi + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/dot_config/rofi/powermenu/type-4/shared/colors.rasi b/dot_config/rofi/powermenu/type-4/shared/colors.rasi new file mode 100644 index 0000000..103ad63 --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/shared/colors.rasi @@ -0,0 +1,18 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + * + * Available Colors Schemes + * + * adapta catppuccin everforest navy paper + * arc cyberpunk gruvbox nord solarized + * black dracula lovelace onedark yousai + * + **/ + +/* Import color-scheme from `colors` directory */ + +@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dot_config/rofi/powermenu/type-4/shared/confirm.rasi b/dot_config/rofi/powermenu/type-4/shared/confirm.rasi new file mode 100644 index 0000000..9f74f2a --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/shared/confirm.rasi @@ -0,0 +1,93 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +@import "colors.rasi" +@import "fonts.rasi" + +/*****----- Main Window -----*****/ +window { + location: center; + anchor: center; + fullscreen: false; + width: 500px; + border-radius: 20px; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + spacing: 30px; + padding: 30px; + background-color: transparent; + children: [ "message", "listview" ]; +} + +/*****----- Message -----*****/ +message { + margin: 0px; + padding: 20px; + border-radius: 20px; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; + placeholder-color: @foreground; + blink: true; + markup: true; +} + +/*****----- Listview -----*****/ +listview { + columns: 2; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 30px; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + padding: 60px 10px; + border-radius: 20px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather 48"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-4/shared/fonts.rasi b/dot_config/rofi/powermenu/type-4/shared/fonts.rasi new file mode 100644 index 0000000..68fd613 --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/shared/fonts.rasi @@ -0,0 +1,12 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Fonts + * + **/ + +* { + font: "JetBrains Mono Nerd Font 12"; +} diff --git a/dot_config/rofi/powermenu/type-4/style-1.rasi b/dot_config/rofi/powermenu/type-4/style-1.rasi new file mode 100644 index 0000000..66dbe42 --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/style-1.rasi @@ -0,0 +1,131 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + /* Resolution : 1920x1080 */ + mainbox-spacing: 100px; + mainbox-margin: 100px 300px; + message-margin: 0px 400px; + message-padding: 15px; + message-border-radius: 100%; + listview-spacing: 50px; + element-padding: 55px 60px; + element-border-radius: 100%; + + prompt-font: "JetBrains Mono Nerd Font Bold Italic 64"; + textbox-font: "JetBrains Mono Nerd Font 16"; + element-text-font: "feather 64"; + + background-window: black/5%; + background-normal: white/5%; + background-selected: white/15%; + foreground-normal: white; + foreground-selected: white; +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + cursor: "default"; + background-color: var(background-window); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(mainbox-spacing); + margin: var(mainbox-margin); + background-color: transparent; + children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + background-color: transparent; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + enabled: true; + font: var(prompt-font); + background-color: transparent; + text-color: var(foreground-normal); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(message-padding); + border-radius: var(message-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); +} +textbox { + font: var(textbox-font); + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + expand: false; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(listview-spacing); + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: var(element-padding); + border-radius: var(element-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); + cursor: pointer; +} +element-text { + font: var(element-text-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(background-selected); + text-color: var(foreground-selected); +} diff --git a/dot_config/rofi/powermenu/type-4/style-2.rasi b/dot_config/rofi/powermenu/type-4/style-2.rasi new file mode 100644 index 0000000..20d4336 --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/style-2.rasi @@ -0,0 +1,131 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + /* Resolution : 1920x1080 */ + mainbox-spacing: 100px; + mainbox-margin: 150px 400px; + message-margin: 0px 350px; + message-padding: 15px; + message-border-radius: 15px; + listview-spacing: 50px; + element-padding: 35px 40px; + element-border-radius: 20px; + + prompt-font: "Iosevka Nerd Font Bold 72"; + textbox-font: "Iosevka Nerd Font 14"; + element-text-font: "feather 64"; + + background-window: black/30%; + background-normal: white/5%; + background-selected: white/15%; + foreground-normal: white; + foreground-selected: white; +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + cursor: "default"; + background-color: var(background-window); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(mainbox-spacing); + margin: var(mainbox-margin); + background-color: transparent; + children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + background-color: transparent; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + enabled: true; + font: var(prompt-font); + background-color: transparent; + text-color: var(foreground-normal); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(message-padding); + border-radius: var(message-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); +} +textbox { + font: var(textbox-font); + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + expand: false; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(listview-spacing); + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: var(element-padding); + border-radius: var(element-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); + cursor: pointer; +} +element-text { + font: var(element-text-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(background-selected); + text-color: var(foreground-selected); +} diff --git a/dot_config/rofi/powermenu/type-4/style-3.rasi b/dot_config/rofi/powermenu/type-4/style-3.rasi new file mode 100644 index 0000000..1ade61a --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/style-3.rasi @@ -0,0 +1,133 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + /* Resolution : 1920x1080 */ + mainbox-spacing: 50px; + mainbox-margin: 50px; + message-margin: 0px 300px; + message-padding: 12px; + message-border-radius: 12px; + listview-spacing: 25px; + element-padding: 35px 0px; + element-border-radius: 60px; + + prompt-font: "Iosevka Nerd Font Bold 48"; + textbox-font: "Iosevka Nerd Font 12"; + element-text-font: "feather 48"; + + background-window: black/20%; + background-normal: white/5%; + background-selected: white/15%; + foreground-normal: white; + foreground-selected: white; +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + border-radius: 50px; + cursor: "default"; + background-color: var(background-window); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(mainbox-spacing); + margin: var(mainbox-margin); + background-color: transparent; + children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + background-color: transparent; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + enabled: true; + font: var(prompt-font); + background-color: transparent; + text-color: var(foreground-normal); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(message-padding); + border-radius: var(message-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); +} +textbox { + font: var(textbox-font); + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + expand: false; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(listview-spacing); + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: var(element-padding); + border-radius: var(element-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); + cursor: pointer; +} +element-text { + font: var(element-text-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(background-selected); + text-color: var(foreground-selected); +} diff --git a/dot_config/rofi/powermenu/type-4/style-4.rasi b/dot_config/rofi/powermenu/type-4/style-4.rasi new file mode 100644 index 0000000..9234684 --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/style-4.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + /* Resolution : 1920x1080 */ + mainbox-spacing: 100px; + mainbox-margin: 150px 400px; + message-margin: 0px 350px; + message-padding: 20px; + message-border-radius: 100%; + listview-spacing: 50px; + element-padding: 35px 40px; + element-border-radius: 80px; + + prompt-font: "Iosevka Nerd Font Bold Italic 72"; + textbox-font: "Iosevka Nerd Font 16"; + element-text-font: "feather Bold 64"; + + /* Gradients */ + gradient-1: linear-gradient(45, #1E98FD, #06FDA5); + gradient-2: linear-gradient(0, #F971C6, #7A72EC); + gradient-3: linear-gradient(70, #FFD56F, #FF6861); + gradient-4: linear-gradient(135, #44C6FA, #3043A1); + gradient-5: linear-gradient(to left, #bdc3c7, #2c3e50); + gradient-6: linear-gradient(to right, #0F2027, #203A43, #2C5364); + gradient-7: linear-gradient(to top, #12c2e9, #c471ed, #f64f59); + gradient-8: linear-gradient(to bottom, #FF0099, #493240); + gradient-9: linear-gradient(0, #1a2a6c, #b21f1f, #fdbb2d); + gradient-10: linear-gradient(0, #283c86, #45a247); + gradient-11: linear-gradient(0, #77A1D3, #79CBCA, #E684AE); + gradient-12: linear-gradient(0, #ff6e7f, #bfe9ff); + gradient-13: linear-gradient(0, #D31027, #EA384D); + gradient-14: linear-gradient(0, #DA22FF, #9733EE); + gradient-15: linear-gradient(0, #1D976C, #93F9B9); + gradient-16: linear-gradient(0, #232526, #414345); + gradient-17: linear-gradient(0, #833ab4, #fd1d1d, #fcb045); + gradient-18: linear-gradient(0, #667db6, #0082c8, #0082c8, #667db6); + gradient-19: linear-gradient(0, #03001e, #7303c0, #ec38bc, #fdeff9); + gradient-20: linear-gradient(0, #780206, #061161); + + background-window: var(gradient-19); + background-normal: white/10%; + background-selected: white/20%; + foreground-normal: white; + foreground-selected: white; +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + cursor: "default"; + background-image: var(background-window); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(mainbox-spacing); + margin: var(mainbox-margin); + background-color: transparent; + children: [ "dummy", "inputbar", "listview", "message", "dummy" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + background-color: transparent; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + enabled: true; + font: var(prompt-font); + background-color: transparent; + text-color: var(foreground-normal); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(message-padding); + border-radius: var(message-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); +} +textbox { + font: var(textbox-font); + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + expand: false; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(listview-spacing); + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: var(element-padding); + border-radius: var(element-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); + cursor: pointer; +} +element-text { + font: var(element-text-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(background-selected); + text-color: var(foreground-selected); +} diff --git a/dot_config/rofi/powermenu/type-4/style-5.rasi b/dot_config/rofi/powermenu/type-4/style-5.rasi new file mode 100644 index 0000000..96b483c --- /dev/null +++ b/dot_config/rofi/powermenu/type-4/style-5.rasi @@ -0,0 +1,163 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + /* Resolution : 1920x1080 */ + mainbox-spacing: 50px; + mainbox-margin: 0px 470px; + message-margin: 0px 350px; + message-padding: 15px; + message-border-radius: 100%; + listview-spacing: 25px; + element-padding: 45px 40px; + element-border-radius: 100%; + + prompt-font: "Iosevka Nerd Font Bold 32"; + textbox-font: "Iosevka Nerd Font 12"; + element-text-font: "feather Bold 48"; + + /* Gradients */ + gradient-1: linear-gradient(45, #1E98FD, #06FDA5); + gradient-2: linear-gradient(0, #F971C6, #7A72EC); + gradient-3: linear-gradient(70, #FFD56F, #FF6861); + gradient-4: linear-gradient(135, #44C6FA, #3043A1); + gradient-5: linear-gradient(to left, #bdc3c7, #2c3e50); + gradient-6: linear-gradient(to right, #0F2027, #203A43, #2C5364); + gradient-7: linear-gradient(to top, #12c2e9, #c471ed, #f64f59); + gradient-8: linear-gradient(to bottom, #FF0099, #493240); + gradient-9: linear-gradient(0, #1a2a6c, #b21f1f, #fdbb2d); + gradient-10: linear-gradient(0, #283c86, #45a247); + gradient-11: linear-gradient(0, #77A1D3, #79CBCA, #E684AE); + gradient-12: linear-gradient(0, #ff6e7f, #bfe9ff); + gradient-13: linear-gradient(0, #D31027, #EA384D); + gradient-14: linear-gradient(0, #DA22FF, #9733EE); + gradient-15: linear-gradient(0, #1D976C, #93F9B9); + gradient-16: linear-gradient(0, #232526, #414345); + gradient-17: linear-gradient(0, #833ab4, #fd1d1d, #fcb045); + gradient-18: linear-gradient(0, #667db6, #0082c8, #0082c8, #667db6); + gradient-19: linear-gradient(0, #03001e, #7303c0, #ec38bc, #fdeff9); + gradient-20: linear-gradient(0, #780206, #061161); + + background-window: var(gradient-6); + background-normal: white/10%; + background-selected: white/20%; + foreground-normal: white; + foreground-selected: white; +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: true; + cursor: "default"; + background-image: var(background-window); +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: var(mainbox-spacing); + margin: var(mainbox-margin); + background-color: transparent; + children: [ "dummy", "userimage", "inputbar", "listview", "message", "dummy" ]; +} + +/*****----- User -----*****/ +userimage { + margin: 0px 400px; + border: 2px; + border-radius: 100%; + border-color: white; + background-color: transparent; + background-image: url("~/.config/rofi/images/user.jpeg", both); +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + background-color: transparent; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + enabled: true; + font: var(prompt-font); + background-color: transparent; + text-color: var(foreground-normal); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: var(message-margin); + padding: var(message-padding); + border-radius: var(message-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); +} +textbox { + font: var(textbox-font); + background-color: transparent; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + expand: false; + columns: 5; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: var(listview-spacing); + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: var(element-padding); + border-radius: var(element-border-radius); + background-color: var(background-normal); + text-color: var(foreground-normal); + cursor: pointer; +} +element-text { + font: var(element-text-font); + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(background-selected); + text-color: var(foreground-selected); +} diff --git a/dot_config/rofi/powermenu/type-5/executable_powermenu.sh b/dot_config/rofi/powermenu/type-5/executable_powermenu.sh new file mode 100644 index 0000000..561e30c --- /dev/null +++ b/dot_config/rofi/powermenu/type-5/executable_powermenu.sh @@ -0,0 +1,117 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 + +# Current Theme +dir="$HOME/.config/rofi/powermenu/type-5" +theme='style-1' + +# CMDs +lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`" +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +hibernate='' +shutdown='' +reboot='' +lock='' +suspend='' +logout='' +yes='' +no='' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p " $USER@$host" \ + -mesg " Last Login: $lastlogin |  Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ + -theme-str 'mainbox {children: [ "message", "listview" ];}' \ + -theme-str 'listview {columns: 2; lines: 1;}' \ + -theme-str 'element-text {horizontal-align: 0.5;}' \ + -theme-str 'textbox {horizontal-align: 0.5;}' \ + -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/${theme}.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$hibernate\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--hibernate' ]]; then + systemctl hibernate + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then + qdbus org.kde.ksmserver /KSMServer logout 0 0 0 + fi + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $hibernate) + run_cmd --hibernate + ;; + $lock) + if [[ -x '/usr/bin/betterlockscreen' ]]; then + betterlockscreen -l + elif [[ -x '/usr/bin/i3lock' ]]; then + i3lock + fi + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/dot_config/rofi/powermenu/type-5/style-1.rasi b/dot_config/rofi/powermenu/type-5/style-1.rasi new file mode 100644 index 0000000..ed3633c --- /dev/null +++ b/dot_config/rofi/powermenu/type-5/style-1.rasi @@ -0,0 +1,147 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview", "message" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + padding: 100px 80px; + background-color: transparent; + background-image: url("~/.config/rofi/images/a.png", width); + children: [ "textbox-prompt-colon", "dummy","prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: " System"; + padding: 12px; + border-radius: 12px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 12px; + background-color: @active; + text-color: @background; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border-radius: 12px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/dot_config/rofi/powermenu/type-5/style-2.rasi b/dot_config/rofi/powermenu/type-5/style-2.rasi new file mode 100644 index 0000000..ae737ca --- /dev/null +++ b/dot_config/rofi/powermenu/type-5/style-2.rasi @@ -0,0 +1,147 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #2D1B14; + background-alt: #462D23; + foreground: #FFFFFF; + selected: #E25F3E; + active: #716251; + urgent: #934A1C; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview", "message" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + padding: 100px 80px; + background-color: transparent; + background-image: url("~/.config/rofi/images/d.png", width); + children: [ "textbox-prompt-colon", "dummy","prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: " System"; + padding: 12px; + border-radius: 100%; + background-color: @urgent; + text-color: @foreground; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 100%; + background-color: @active; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 28px 10px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px 15px 15px 15px; + padding: 15px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/dot_config/rofi/powermenu/type-5/style-3.rasi b/dot_config/rofi/powermenu/type-5/style-3.rasi new file mode 100644 index 0000000..6f80ee1 --- /dev/null +++ b/dot_config/rofi/powermenu/type-5/style-3.rasi @@ -0,0 +1,147 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #231419; + background-alt: #2D1E23; + foreground: #FFFFFF; + selected: #426647; + active: #2E3F34; + urgent: #D08261; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 550px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview", "message" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + padding: 100px 40px; + background-color: transparent; + background-image: url("~/.config/rofi/images/e.jpg", width); + children: [ "textbox-prompt-colon", "dummy","prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: " System"; + padding: 12px; + border-radius: 5px; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 12px; + border-radius: 5px; + background-color: @active; + text-color: @foreground; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 2; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 15px; + margin: 15px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 30px 10px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/dot_config/rofi/powermenu/type-5/style-4.rasi b/dot_config/rofi/powermenu/type-5/style-4.rasi new file mode 100644 index 0000000..247693a --- /dev/null +++ b/dot_config/rofi/powermenu/type-5/style-4.rasi @@ -0,0 +1,153 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #131D1F; + background-alt: #183A43; + foreground: #FFFFFF; + selected: #649094; + active: #E9CC9D; + urgent: #FEA861; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview", "message" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 0px; + padding: 150px 40px; + background-color: transparent; + background-image: url("~/.config/rofi/images/i.jpg", width); + children: [ "textbox-prompt-colon", "dummy","prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: " System"; + padding: 15px; + border: 0px 5px 5px 0px; + border-radius: 15px 5px 15px 5px; + border-color: @selected; + background-color: @urgent; + text-color: @background; +} +prompt { + enabled: true; + padding: 15px; + border: 0px 0px 5px 5px; + border-radius: 5px 15px 5px 15px; + border-color: @selected; + background-color: @active; + text-color: @background; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 25px; + margin: 25px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 40px 10px; + border-radius: 15px 30px 15px 30px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + border: 0px 0px 5px 5px; + border-color: @urgent; + background-color: var(background-alt); + text-color: var(urgent); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/dot_config/rofi/powermenu/type-5/style-5.rasi b/dot_config/rofi/powermenu/type-5/style-5.rasi new file mode 100644 index 0000000..4492512 --- /dev/null +++ b/dot_config/rofi/powermenu/type-5/style-5.rasi @@ -0,0 +1,151 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 20px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview", "message" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 20px; + padding: 100px 40px; + background-color: transparent; + background-image: url("~/.config/rofi/images/j.jpg", width); + children: [ "textbox-prompt-colon", "prompt"]; +} + +dummy { + background-color: transparent; +} + +textbox-prompt-colon { + enabled: true; + expand: false; + str: " System"; + padding: 15px; + border: 0px 0px 0px 10px; + border-radius: 100% 100% 0px 100%; + border-color: @selected; + background-color: @urgent; + text-color: @foreground; +} +prompt { + enabled: true; + padding: 15px; + border: 0px; + border-radius: 0px 100% 100% 100%; + border-color: @selected; + background-color: @active; + text-color: @background; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 6; + lines: 1; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 30px; + margin: 30px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 35px 10px; + border-radius: 55px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} diff --git a/dot_config/rofi/powermenu/type-6/executable_powermenu.sh b/dot_config/rofi/powermenu/type-6/executable_powermenu.sh new file mode 100644 index 0000000..ad93faf --- /dev/null +++ b/dot_config/rofi/powermenu/type-6/executable_powermenu.sh @@ -0,0 +1,117 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya (adi1090x) +## Github : @adi1090x +# +## Rofi : Power Menu +# +## Available Styles +# +## style-1 style-2 style-3 style-4 style-5 + +# Current Theme +dir="$HOME/.config/rofi/powermenu/type-6" +theme='style-1' + +# CMDs +lastlogin="`last $USER | head -n1 | tr -s ' ' | cut -d' ' -f5,6,7`" +uptime="`uptime -p | sed -e 's/up //g'`" +host=`hostname` + +# Options +hibernate='' +shutdown='' +reboot='' +lock='' +suspend='' +logout='' +yes='' +no='' + +# Rofi CMD +rofi_cmd() { + rofi -dmenu \ + -p " $USER@$host" \ + -mesg " Uptime: $uptime" \ + -theme ${dir}/${theme}.rasi +} + +# Confirmation CMD +confirm_cmd() { + rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \ + -theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \ + -theme-str 'listview {columns: 2; lines: 1;}' \ + -theme-str 'element-text {horizontal-align: 0.5;}' \ + -theme-str 'textbox {horizontal-align: 0.5;}' \ + -dmenu \ + -p 'Confirmation' \ + -mesg 'Are you Sure?' \ + -theme ${dir}/${theme}.rasi +} + +# Ask for confirmation +confirm_exit() { + echo -e "$yes\n$no" | confirm_cmd +} + +# Pass variables to rofi dmenu +run_rofi() { + echo -e "$lock\n$suspend\n$logout\n$hibernate\n$reboot\n$shutdown" | rofi_cmd +} + +# Execute Command +run_cmd() { + selected="$(confirm_exit)" + if [[ "$selected" == "$yes" ]]; then + if [[ $1 == '--shutdown' ]]; then + systemctl poweroff + elif [[ $1 == '--reboot' ]]; then + systemctl reboot + elif [[ $1 == '--hibernate' ]]; then + systemctl hibernate + elif [[ $1 == '--suspend' ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $1 == '--logout' ]]; then + if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then + openbox --exit + elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then + bspc quit + elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then + i3-msg exit + elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then + qdbus org.kde.ksmserver /KSMServer logout 0 0 0 + fi + fi + else + exit 0 + fi +} + +# Actions +chosen="$(run_rofi)" +case ${chosen} in + $shutdown) + run_cmd --shutdown + ;; + $reboot) + run_cmd --reboot + ;; + $hibernate) + run_cmd --hibernate + ;; + $lock) + if [[ -x '/usr/bin/betterlockscreen' ]]; then + betterlockscreen -l + elif [[ -x '/usr/bin/i3lock' ]]; then + i3lock + fi + ;; + $suspend) + run_cmd --suspend + ;; + $logout) + run_cmd --logout + ;; +esac diff --git a/dot_config/rofi/powermenu/type-6/style-1.rasi b/dot_config/rofi/powermenu/type-6/style-1.rasi new file mode 100644 index 0000000..2af8289 --- /dev/null +++ b/dot_config/rofi/powermenu/type-6/style-1.rasi @@ -0,0 +1,147 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 15px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listview" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + spacing: 30px; + padding: 30px; + background-color: transparent; + background-image: url("~/.config/rofi/images/a.png", height); + children: [ "inputbar", "dummy", "message" ]; +} + +/*****----- User -----*****/ +userimage { + margin: 0px 0px; + border: 10px; + border-radius: 10px; + border-color: @background-alt; + background-color: transparent; + background-image: url("~/.config/rofi/images/a.png", height); +} + +/*****----- Inputbar -----*****/ +inputbar { + padding: 15px; + border-radius: 10px; + background-color: @urgent; + text-color: @foreground; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + background-color: inherit; + text-color: inherit; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 10px; + background-color: @active; + text-color: @background; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 30px; + margin: 30px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 40px 10px; + border-radius: 10px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-6/style-2.rasi b/dot_config/rofi/powermenu/type-6/style-2.rasi new file mode 100644 index 0000000..f437590 --- /dev/null +++ b/dot_config/rofi/powermenu/type-6/style-2.rasi @@ -0,0 +1,147 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #2D1B14; + background-alt: #462D23; + foreground: #FFFFFF; + selected: #E25F3E; + active: #716251; + urgent: #934A1C; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 1000px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 24px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listview" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + spacing: 20px; + padding: 20px; + background-color: transparent; + background-image: url("~/.config/rofi/images/d.png", height); + children: [ "inputbar", "dummy", "message" ]; +} + +/*****----- User -----*****/ +userimage { + margin: 0px 0px; + border: 10px; + border-radius: 10px; + border-color: @background-alt; + background-color: transparent; + background-image: url("~/.config/rofi/images/d.png", height); +} + +/*****----- Inputbar -----*****/ +inputbar { + padding: 15px; + border-radius: 100%; + background-color: @urgent; + text-color: @foreground; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + background-color: inherit; + text-color: inherit; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 100%; + background-color: @active; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 2; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 20px; + margin: 20px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 40px 10px; + border-radius: 100%; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-6/style-3.rasi b/dot_config/rofi/powermenu/type-6/style-3.rasi new file mode 100644 index 0000000..c03a032 --- /dev/null +++ b/dot_config/rofi/powermenu/type-6/style-3.rasi @@ -0,0 +1,147 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #231419; + background-alt: #2D1E23; + foreground: #FFFFFF; + selected: #426647; + active: #2E3F34; + urgent: #D08261; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 10px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listview" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + spacing: 0px; + padding: 30px; + background-color: transparent; + background-image: url("~/.config/rofi/images/e.jpg", width); + children: [ "inputbar", "dummy", "message" ]; +} + +/*****----- User -----*****/ +userimage { + margin: 0px 0px; + border: 10px; + border-radius: 10px; + border-color: @background-alt; + background-color: transparent; + background-image: url("~/.config/rofi/images/e.jpg", height); +} + +/*****----- Inputbar -----*****/ +inputbar { + padding: 15px; + border-radius: 10px; + background-color: @urgent; + text-color: @background; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + background-color: inherit; + text-color: inherit; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 15px; + border-radius: 10px; + background-color: @active; + text-color: @foreground; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 3; + lines: 2; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 30px; + margin: 30px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 18px 10px; + border-radius: 20px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-6/style-4.rasi b/dot_config/rofi/powermenu/type-6/style-4.rasi new file mode 100644 index 0000000..89978d1 --- /dev/null +++ b/dot_config/rofi/powermenu/type-6/style-4.rasi @@ -0,0 +1,149 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #131D1F; + background-alt: #183A43; + foreground: #FFFFFF; + selected: #649094; + active: #E9CC9D; + urgent: #FEA861; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + background-color: transparent; + orientation: horizontal; + children: [ "imagebox", "listview" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + expand: false; + width: 640px; + spacing: 0px; + padding: 100px; + background-color: transparent; + background-image: url("~/.config/rofi/images/i.jpg", height); + children: [ "inputbar", "dummy", "message" ]; +} + +/*****----- User -----*****/ +userimage { + margin: 0px 0px; + border: 10px; + border-radius: 0px; + border-color: @background-alt; + background-color: transparent; + background-image: url("~/.config/rofi/images/i.jpg", height); +} + +/*****----- Inputbar -----*****/ +inputbar { + padding: 20px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + background-color: inherit; + text-color: inherit; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 20px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 30px; + margin: 30px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 20px 10px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/powermenu/type-6/style-5.rasi b/dot_config/rofi/powermenu/type-6/style-5.rasi new file mode 100644 index 0000000..ad5525a --- /dev/null +++ b/dot_config/rofi/powermenu/type-6/style-5.rasi @@ -0,0 +1,149 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + show-icons: false; +} + +/*****----- Global Properties -----*****/ +* { + font: "JetBrains Mono Nerd Font 10"; + background: #11092D; + background-alt: #281657; + foreground: #FFFFFF; + selected: #DF5296; + active: #6E77FF; + urgent: #8E3596; +} + +/* +USE_BUTTONS=YES +*/ + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + x-offset: 0px; + y-offset: 0px; + + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + cursor: "default"; + background-color: @background; +} + +/*****----- Main Box -----*****/ +mainbox { + background-color: transparent; + orientation: horizontal; + children: [ "listview", "imagebox" ]; +} + +/*****----- Imagebox -----*****/ +imagebox { + expand: false; + width: 500px; + spacing: 0px; + padding: 100px; + background-color: transparent; + background-image: url("~/.config/rofi/images/j.jpg", height); + children: [ "inputbar", "dummy", "message" ]; +} + +/*****----- User -----*****/ +userimage { + margin: 0px 0px; + border: 10px; + border-radius: 0px; + border-color: @background-alt; + background-color: transparent; + background-image: url("~/.config/rofi/images/j.jpg", height); +} + +/*****----- Inputbar -----*****/ +inputbar { + padding: 20px; + border-radius: 0px; + background-color: @urgent; + text-color: @background; + children: [ "dummy", "prompt", "dummy"]; +} + +dummy { + background-color: transparent; +} + +prompt { + background-color: inherit; + text-color: inherit; +} + +/*****----- Message -----*****/ +message { + enabled: true; + margin: 0px; + padding: 20px; + border-radius: 0px; + background-color: @active; + text-color: @background; +} +textbox { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 2; + lines: 3; + cycle: true; + dynamic: true; + scrollbar: false; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 30px; + margin: 30px; + background-color: transparent; + cursor: "default"; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + padding: 20px 10px; + border-radius: 0px; + background-color: @background-alt; + text-color: @foreground; + cursor: pointer; +} +element-text { + font: "feather bold 32"; + background-color: transparent; + text-color: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.5; +} +element selected.normal { + background-color: var(selected); + text-color: var(background); +} diff --git a/dot_config/rofi/scripts/symlink_launcher_t1 b/dot_config/rofi/scripts/symlink_launcher_t1 new file mode 100644 index 0000000..b03fefa --- /dev/null +++ b/dot_config/rofi/scripts/symlink_launcher_t1 @@ -0,0 +1 @@ +../launchers/type-1/launcher.sh diff --git a/dot_config/rofi/scripts/symlink_launcher_t2 b/dot_config/rofi/scripts/symlink_launcher_t2 new file mode 100644 index 0000000..3482d3f --- /dev/null +++ b/dot_config/rofi/scripts/symlink_launcher_t2 @@ -0,0 +1 @@ +../launchers/type-2/launcher.sh diff --git a/dot_config/rofi/scripts/symlink_launcher_t3 b/dot_config/rofi/scripts/symlink_launcher_t3 new file mode 100644 index 0000000..c007af0 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_launcher_t3 @@ -0,0 +1 @@ +../launchers/type-3/launcher.sh diff --git a/dot_config/rofi/scripts/symlink_launcher_t4 b/dot_config/rofi/scripts/symlink_launcher_t4 new file mode 100644 index 0000000..5e6ba83 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_launcher_t4 @@ -0,0 +1 @@ +../launchers/type-4/launcher.sh diff --git a/dot_config/rofi/scripts/symlink_launcher_t5 b/dot_config/rofi/scripts/symlink_launcher_t5 new file mode 100644 index 0000000..b1170e1 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_launcher_t5 @@ -0,0 +1 @@ +../launchers/type-5/launcher.sh diff --git a/dot_config/rofi/scripts/symlink_launcher_t6 b/dot_config/rofi/scripts/symlink_launcher_t6 new file mode 100644 index 0000000..c655642 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_launcher_t6 @@ -0,0 +1 @@ +../launchers/type-6/launcher.sh diff --git a/dot_config/rofi/scripts/symlink_launcher_t7 b/dot_config/rofi/scripts/symlink_launcher_t7 new file mode 100644 index 0000000..8074ebb --- /dev/null +++ b/dot_config/rofi/scripts/symlink_launcher_t7 @@ -0,0 +1 @@ +../launchers/type-7/launcher.sh diff --git a/dot_config/rofi/scripts/symlink_powermenu_t1 b/dot_config/rofi/scripts/symlink_powermenu_t1 new file mode 100644 index 0000000..e9eef5d --- /dev/null +++ b/dot_config/rofi/scripts/symlink_powermenu_t1 @@ -0,0 +1 @@ +../powermenu/type-1/powermenu.sh diff --git a/dot_config/rofi/scripts/symlink_powermenu_t2 b/dot_config/rofi/scripts/symlink_powermenu_t2 new file mode 100644 index 0000000..94511f6 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_powermenu_t2 @@ -0,0 +1 @@ +../powermenu/type-2/powermenu.sh diff --git a/dot_config/rofi/scripts/symlink_powermenu_t3 b/dot_config/rofi/scripts/symlink_powermenu_t3 new file mode 100644 index 0000000..ec822e8 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_powermenu_t3 @@ -0,0 +1 @@ +../powermenu/type-3/powermenu.sh diff --git a/dot_config/rofi/scripts/symlink_powermenu_t4 b/dot_config/rofi/scripts/symlink_powermenu_t4 new file mode 100644 index 0000000..5020385 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_powermenu_t4 @@ -0,0 +1 @@ +../powermenu/type-4/powermenu.sh diff --git a/dot_config/rofi/scripts/symlink_powermenu_t5 b/dot_config/rofi/scripts/symlink_powermenu_t5 new file mode 100644 index 0000000..769da01 --- /dev/null +++ b/dot_config/rofi/scripts/symlink_powermenu_t5 @@ -0,0 +1 @@ +../powermenu/type-5/powermenu.sh diff --git a/dot_config/rofi/scripts/symlink_powermenu_t6 b/dot_config/rofi/scripts/symlink_powermenu_t6 new file mode 100644 index 0000000..c362c6c --- /dev/null +++ b/dot_config/rofi/scripts/symlink_powermenu_t6 @@ -0,0 +1 @@ +../powermenu/type-6/powermenu.sh diff --git a/dot_config/swaylock/config b/dot_config/swaylock/config new file mode 100644 index 0000000..11e7bae --- /dev/null +++ b/dot_config/swaylock/config @@ -0,0 +1,24 @@ +# indicator +# no-unlock-indicator +# daemonize +indicator-caps-lock +# datestr=%A +image=$HOME/.config/sway/swaylock.png +scaling=fill +font=UbuntuMono +font-size=20 + +# Ring +indicator-radius=115 +# line-uses-ring +line-color=#3b4252 +text-color=#d8dee9 +inside-color=#2e344098 +inside-ver-color=#5e81ac +line-ver-color=#5e81ac +ring-ver-color=#5e81ac98 +ring-color=#4c566a +key-hl-color=#5e81ac +separator-color=#4c566a +layout-text-color=#eceff4 +line-wrong-color=#d08770 diff --git a/dot_config/swaylock/qt5ct/qt5ct.conf b/dot_config/swaylock/qt5ct/qt5ct.conf new file mode 100644 index 0000000..b32291b --- /dev/null +++ b/dot_config/swaylock/qt5ct/qt5ct.conf @@ -0,0 +1,28 @@ +[Appearance] +color_scheme_path=/usr/share/qt5ct/colors/airy.conf +custom_palette=false +icon_theme=Papirus +standard_dialogs=default +style=kvantum-dark + +[Fonts] +fixed=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) +general=@Variant(\0\0\0@\0\0\0\x12\0\x43\0\x61\0n\0t\0\x61\0r\0\x65\0l\0l@$\0\0\0\0\0\0\xff\xff\xff\xff\x5\x1\0\x32\x10) + +[Interface] +activate_item_on_single_click=1 +buttonbox_layout=0 +cursor_flash_time=1000 +dialog_buttons_have_icons=1 +double_click_interval=400 +gui_effects=@Invalid() +keyboard_scheme=2 +menus_have_icons=true +show_shortcuts_in_context_menus=true +stylesheets=@Invalid() +toolbutton_style=4 +underline_shortcut=1 +wheel_scroll_lines=3 + +[SettingsWindow] +geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x80\0\0\0\"\0\0\v:\0\0\x4\x1c\0\0\a\x80\0\0\0\"\0\0\xe\xff\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\x80\0\0\a\x80\0\0\0\"\0\0\v:\0\0\x4\x1c) diff --git a/dot_config/wofi/config b/dot_config/wofi/config new file mode 100644 index 0000000..a7f1910 --- /dev/null +++ b/dot_config/wofi/config @@ -0,0 +1,17 @@ +hide_scroll=true +show=drun +width=25% +lines=10 +line_wrap=word +term=xfce4-terminal +allow_markup=true +always_parse_args=true +show_all=true +print_command=true +layer=overlay +allow_images=true +insensitive=true +prompt= +image_size=15 +display_generic=true +location=center diff --git a/dot_config/wofi/config.power b/dot_config/wofi/config.power new file mode 100644 index 0000000..0ad9ecf --- /dev/null +++ b/dot_config/wofi/config.power @@ -0,0 +1,9 @@ +hide_search=true +hide_scroll=true +insensitive=true +show=dmenu +width=100 +lines=4 +location=top_right +x=-120 +y=10 diff --git a/dot_config/wofi/config.screenshot b/dot_config/wofi/config.screenshot new file mode 100644 index 0000000..d18a3c8 --- /dev/null +++ b/dot_config/wofi/config.screenshot @@ -0,0 +1,9 @@ +hide_search=true +hide_scroll=true +insensitive=true +width=1 +show=dmenu +lines=5 +location=centre +x=870 +y=455 diff --git a/dot_config/wofi/executable_windows.py b/dot_config/wofi/executable_windows.py new file mode 100644 index 0000000..6b41a60 --- /dev/null +++ b/dot_config/wofi/executable_windows.py @@ -0,0 +1,119 @@ +#!/bin/python3 +import json +import subprocess +from argparse import ArgumentParser + +ENTER = "\n" + + +def get_windows(): + + command = "swaymsg -t get_tree" + process = subprocess.Popen( + command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE + ) + + process = subprocess.Popen( + command, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE + ) + data = json.loads(process.communicate()[0]) + + # Select outputs that are active + windows = [] + for output in data["nodes"]: + + # The scratchpad (under __i3) is not supported + if output.get("name") != "__i3" and output.get("type") == "output": + workspaces = output.get("nodes", []) + for ws in workspaces: + if ws.get("type") == "workspace": + windows.extend(extract_nodes_iterative(ws)) + return windows + + +# Extracts all windows from a sway workspace json object +def extract_nodes_iterative(workspace): + all_nodes = [] + + floating_nodes = workspace.get("floating_nodes", []) + + for floating_node in floating_nodes: + all_nodes.append(floating_node) + + nodes = workspace.get("nodes", []) + + for node in nodes: + + # Leaf node + if not node.get("nodes"): + all_nodes.append(node) + # Nested node, handled iterative + else: + for inner_node in node.get("nodes"): + nodes.append(inner_node) + + return all_nodes + + +# Returns an array of all windows +def parse_windows(windows): + return [window.get("name") for window in windows] + + +# Returns a newline seperated UFT-8 encoded string of all windows for wofi +def build_wofi_string(windows): + return ENTER.join(windows).encode("UTF-8") + + +# Executes wofi with the given input string +def show_wofi(windows): + + command = 'wofi -c ~/.config/wofi/menu -s ~/.config/wofi/style.css -p "Windows: " -d -i --hide-scroll' + + process = subprocess.Popen( + command, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE + ) + return process.communicate(input=windows)[0] + + +# Returns the sway window id of the window that was selected by the user inside wofi +def parse_id(windows, parsed_windows, selected): + if not selected: + return None + else: + selected = (selected.decode("UTF-8"))[:-1] # Remove new line character + window_index = int( + parsed_windows.index(selected) + ) # Get index of selected window in the parsed window array + return str( + windows[window_index].get("id") + ) # Get sway window id based on the index + + +# Switches the focus to the given id +def switch_window(id): + command = "swaymsg [con_id={}] focus".format(id) + + process = subprocess.Popen(command, shell=True, stdout=subprocess.PIPE) + process.communicate()[0] + + +# Entry point +if __name__ == "__main__": + + parser = ArgumentParser(description="Wofi based window switcher") + + windows = get_windows() + + parsed_windows = parse_windows(windows) + + wofi_string = build_wofi_string(parsed_windows) + + selected = show_wofi(wofi_string) + + # Otherwise no point in running + if selected: + + selected_id = parse_id(windows, parsed_windows, selected) + + switch_window(selected_id) diff --git a/dot_config/wofi/style.css b/dot_config/wofi/style.css new file mode 100644 index 0000000..3a18d9a --- /dev/null +++ b/dot_config/wofi/style.css @@ -0,0 +1,47 @@ +/* +Arc-Dark Color Scheme +*/ + +@define-color highlight #5294e2; +@define-color base1 #404552; +@define-color base2 #40455; +@define-color base3 #4b5160; + +*{ + font-family: UbuntuMono; +} + +window { + border: 1px solid @highlight; +} + +#input { + margin-bottom: 15px; + padding:3px; + border-radius: 5px; + border:none; + color: white; +} + +#inner-box { + background-color: @base3; +} + +#outer-box { + margin: 5px; + padding:15px; + background-color: @base2; +} + +#text { + padding: 5px; + color: white; +} + +#entry:nth-child(even) { + background-color: @base1; +} + +#entry:selected { + background-color: @highlight; +} diff --git a/dot_config/wofi/style.widgets.css b/dot_config/wofi/style.widgets.css new file mode 100644 index 0000000..7718255 --- /dev/null +++ b/dot_config/wofi/style.widgets.css @@ -0,0 +1,45 @@ +/* +Arc-Dark Color Scheme +*/ + +@define-color highlight #5294e2; +@define-color base1 #404552; +@define-color base2 #40455; +@define-color base3 #4b5160; + +*{ + font-family: UbuntuMono; +} + +#window { + border: 1px solid @highlight; + margin: 0px 5px 0px 5px; +} + +#inner-box { + background-color: @base2; +} + +#outer-box { + margin: 5px; + padding:10px; + background-color: @base2; + margin-top: -22px; +} + +#text { + padding: 5px; + color: white; +} + +#entry:nth-child(even) { + background-color: @base1; +} + +#entry { + background-color: @base3; +} + +#entry:selected { + background-color: @highlight; +} diff --git a/private_dot_bashrc b/private_dot_bashrc new file mode 100644 index 0000000..4ffc637 --- /dev/null +++ b/private_dot_bashrc @@ -0,0 +1,95 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +export XDG_CURRENT_DESKTOP=sway +export XDG_SESSION_DESKTOP=sway + +[[ -f ~/.welcome_screen ]] && . ~/.welcome_screen + +_set_liveuser_PS1() { + PS1='[\u@\h \W]\$ ' + if [ "$(whoami)" = "liveuser" ] ; then + local iso_version="$(grep ^VERSION= /usr/lib/endeavouros-release 2>/dev/null | cut -d '=' -f 2)" + if [ -n "$iso_version" ] ; then + local prefix="eos-" + local iso_info="$prefix$iso_version" + PS1="[\u@$iso_info \W]\$ " + fi + fi +} +_set_liveuser_PS1 +unset -f _set_liveuser_PS1 + +ShowInstallerIsoInfo() { + local file=/usr/lib/endeavouros-release + if [ -r $file ] ; then + cat $file + else + echo "Sorry, installer ISO info is not available." >&2 + fi +} + + +alias ls='ls --color=auto' +alias ll='ls -lav --ignore=..' # show long listing of all except ".." +alias l='ls -lav --ignore=.?*' # show long listing but no hidden dotfiles except "." + +[[ "$(whoami)" = "root" ]] && return + +[[ -z "$FUNCNEST" ]] && export FUNCNEST=100 # limits recursive functions, see 'man bash' + +## Use the up and down arrow keys for finding a command in history +## (you can write some initial letters of the command first). +bind '"\e[A":history-search-backward' +bind '"\e[B":history-search-forward' + +################################################################################ +## Some generally useful functions. +## Consider uncommenting aliases below to start using these functions. +## +## October 2021: removed many obsolete functions. If you still need them, please look at +## https://github.com/EndeavourOS-archive/EndeavourOS-archiso/raw/master/airootfs/etc/skel/.bashrc + +_open_files_for_editing() { + # Open any given document file(s) for editing (or just viewing). + # Note1: + # - Do not use for executable files! + # Note2: + # - Uses 'mime' bindings, so you may need to use + # e.g. a file manager to make proper file bindings. + + if [ -x /usr/bin/exo-open ] ; then + echo "exo-open $@" >&2 + setsid exo-open "$@" >& /dev/null + return + fi + if [ -x /usr/bin/xdg-open ] ; then + for file in "$@" ; do + echo "xdg-open $file" >&2 + setsid xdg-open "$file" >& /dev/null + done + return + fi + + echo "$FUNCNAME: package 'xdg-utils' or 'exo' is required." >&2 +} + +#------------------------------------------------------------ + +## Aliases for the functions above. +## Uncomment an alias if you want to use it. +## + +# alias ef='_open_files_for_editing' # 'ef' opens given file(s) for editing +# alias pacdiff=eos-pacdiff +################################################################################ + +alias a='arsenal' +export http_proxy='' +export https_proxy='' +export ftp_proxy='' +export socks_proxy='' diff --git a/private_dot_profile b/private_dot_profile new file mode 100644 index 0000000..63cf88e --- /dev/null +++ b/private_dot_profile @@ -0,0 +1,8 @@ +export MOZ_ENABLE_WAYLAND=1 +export XDG_CURRENT_DESKTOP=sway +export XDG_SESSION_DESKTOP=sway +export XDG_SESSION_TYPE=wayland +export WLR_NO_HARDWARE_CURSORS=1 +#export WLR_NO_HARDWARE_CURSORS=0 +export WLR_RENDERER_ALLOW_SOFTWARE=1 +export _JAVA_AWT_WM_NONREPARENTING=1 diff --git a/private_dot_ssh/config b/private_dot_ssh/config new file mode 100644 index 0000000..e09ddef --- /dev/null +++ b/private_dot_ssh/config @@ -0,0 +1,3 @@ +Host gitlab.nutrio.business + HostName gitlab.nutrio.business + Identityfile ~/.ssh/aurora diff --git a/private_dot_vimrc b/private_dot_vimrc new file mode 100644 index 0000000..0d83e01 --- /dev/null +++ b/private_dot_vimrc @@ -0,0 +1,389 @@ +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Maintainer: +" Amir Salihefendic - @amix3k +" +" Awesome_version: +" Get this config, nice color schemes and lots of plugins! +" +" Install the awesome version from: +" +" https://github.com/amix/vimrc +" +" Sections: +" -> General +" -> VIM user interface +" -> Colors and Fonts +" -> Files and backups +" -> Text, tab and indent related +" -> Visual mode related +" -> Moving around, tabs and buffers +" -> Status line +" -> Editing mappings +" -> vimgrep searching and cope displaying +" -> Spell checking +" -> Misc +" -> Helper functions +" +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => General +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Sets how many lines of history VIM has to remember +set history=500 + +" Enable filetype plugins +filetype plugin on +filetype indent on + +" Set to auto read when a file is changed from the outside +set autoread +au FocusGained,BufEnter * silent! checktime + +" With a map leader it's possible to do extra key combinations +" like w saves the current file +let mapleader = "," + +" Fast saving +nmap w :w! + +" :W sudo saves the file +" (useful for handling the permission-denied error) +command! W execute 'w !sudo tee % > /dev/null' edit! + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => VIM user interface +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Set 7 lines to the cursor - when moving vertically using j/k +set so=7 + +" Avoid garbled characters in Chinese language windows OS +let $LANG='en' +set langmenu=en +source $VIMRUNTIME/delmenu.vim +source $VIMRUNTIME/menu.vim + +" Turn on the Wild menu +set wildmenu + +" Ignore compiled files +set wildignore=*.o,*~,*.pyc +if has("win16") || has("win32") + set wildignore+=.git\*,.hg\*,.svn\* +else + set wildignore+=*/.git/*,*/.hg/*,*/.svn/*,*/.DS_Store +endif + +" Always show current position +set ruler + +" Height of the command bar +set cmdheight=1 + +" A buffer becomes hidden when it is abandoned +set hid + +" Configure backspace so it acts as it should act +set backspace=eol,start,indent +set whichwrap+=<,>,h,l + +" Ignore case when searching +set ignorecase + +" When searching try to be smart about cases +set smartcase + +" Highlight search results +set hlsearch + +" Makes search act like search in modern browsers +set incsearch + +" Don't redraw while executing macros (good performance config) +set lazyredraw + +" For regular expressions turn magic on +set magic + +" Show matching brackets when text indicator is over them +set showmatch + +" How many tenths of a second to blink when matching brackets +set mat=2 + +" No annoying sound on errors +set noerrorbells +set novisualbell +set t_vb= +set tm=500 + +" Properly disable sound on errors on MacVim +if has("gui_macvim") + autocmd GUIEnter * set vb t_vb= +endif + +" Add a bit extra margin to the left +set foldcolumn=0 + +" Show line numbers +set number + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Colors and Fonts +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Enable syntax highlighting +syntax enable + +" Set regular expression engine automatically +set regexpengine=0 + +" Enable 256 colors palette in Gnome Terminal +if $COLORTERM == 'gnome-terminal' + set t_Co=256 +endif + +try + colorscheme solarized +catch +endtry + +set background=dark + +" Set extra options when running in GUI mode +if has("gui_running") + set guioptions-=T + set guioptions-=e + set t_Co=256 + set guitablabel=%M\ %t +endif + +" Set utf8 as standard encoding and en_US as the standard language +set encoding=utf8 + +" Use Unix as the standard file type +set ffs=unix,dos,mac + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Files, backups and undo +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Turn backup off, since most stuff is in SVN, git etc. anyway... +set nobackup +set nowb +set noswapfile + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Text, tab and indent related +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Use spaces instead of tabs +set expandtab + +" Be smart when using tabs ;) +set smarttab + +" 1 tab == 4 spaces +set shiftwidth=4 +set tabstop=4 + +" Linebreak on 500 characters +set lbr +set tw=500 + +set ai "Auto indent +set si "Smart indent +set wrap "Wrap lines + + +"""""""""""""""""""""""""""""" +" => Visual mode related +"""""""""""""""""""""""""""""" +" Visual mode pressing * or # searches for the current selection +" Super useful! From an idea by Michael Naumann +vnoremap * :call VisualSelection('', '')/=@/ +vnoremap # :call VisualSelection('', '')?=@/ + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Moving around, tabs, windows and buffers +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Map to / (search) and Ctrl- to ? (backwards search) +map / +map ? + +" Disable highlight when is pressed +map :noh + +" Smart way to move between windows +map j +map k +map h +map l + +" Close the current buffer +map bd :Bclose:tabclosegT + +" Close all the buffers +map ba :bufdo bd + +map l :bnext +map h :bprevious + +" Useful mappings for managing tabs +map tn :tabnew +map to :tabonly +map tc :tabclose +map tm :tabmove +map t :tabnext + +" Let 'tl' toggle between this and the last accessed tab +let g:lasttab = 1 +nmap tl :exe "tabn ".g:lasttab +au TabLeave * let g:lasttab = tabpagenr() + + +" Opens a new tab with the current buffer's path +" Super useful when editing files in the same directory +map te :tabedit =escape(expand("%:p:h"), " ")/ + +" Switch CWD to the directory of the open buffer +map cd :cd %:p:h:pwd + +" Specify the behavior when switching between buffers +try + set switchbuf=useopen,usetab,newtab + set stal=2 +catch +endtry + +" Return to last edit position when opening files (You want this!) +au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif + + +"""""""""""""""""""""""""""""" +" => Status line +"""""""""""""""""""""""""""""" +" Always show the status line +set laststatus=0 + +" Format the status line +" set statusline=\ %{HasPaste()}%F%m%r%h\ %w\ \ CWD:\ %r%{getcwd()}%h\ \ \ Line:\ %l\ \ Column:\ %c + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Editing mappings +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Remap VIM 0 to first non-blank character +map 0 ^ + +" Move a line of text using ALT+[jk] or Command+[jk] on mac +nmap mz:m+`z +nmap mz:m-2`z +vmap :m'>+`mzgv`yo`z +vmap :m'<-2`>my` + nmap + vmap + vmap +endif + +" Delete trailing white space on save, useful for some filetypes ;) +fun! CleanExtraSpaces() + let save_cursor = getpos(".") + let old_query = getreg('/') + silent! %s/\s\+$//e + call setpos('.', save_cursor) + call setreg('/', old_query) +endfun + +if has("autocmd") + autocmd BufWritePre *.txt,*.js,*.py,*.wiki,*.sh,*.coffee :call CleanExtraSpaces() +endif + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Spell checking +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Pressing ,ss will toggle and untoggle spell checking +map ss :setlocal spell! + +" Shortcuts using +map sn ]s +map sp [s +map sa zg +map s? z= + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Misc +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Remove the Windows ^M - when the encodings gets messed up +noremap m mmHmt:%s///ge'tzt'm + +" Quickly open a buffer for scribble +map q :e ~/buffer + +" Quickly open a markdown buffer for scribble +map x :e ~/buffer.md + +" Toggle paste mode on and off +map pp :setlocal paste! + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Helper functions +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Returns true if paste mode is enabled +function! HasPaste() + if &paste + return 'PASTE MODE ' + endif + return '' +endfunction + +" Don't close window, when deleting a buffer +command! Bclose call BufcloseCloseIt() +function! BufcloseCloseIt() + let l:currentBufNum = bufnr("%") + let l:alternateBufNum = bufnr("#") + + if buflisted(l:alternateBufNum) + buffer # + else + bnext + endif + + if bufnr("%") == l:currentBufNum + new + endif + + if buflisted(l:currentBufNum) + execute("bdelete! ".l:currentBufNum) + endif +endfunction + +function! CmdLine(str) + call feedkeys(":" . a:str) +endfunction + +function! VisualSelection(direction, extra_filter) range + let l:saved_reg = @" + execute "normal! vgvy" + + let l:pattern = escape(@", "\\/.*'$^~[]") + let l:pattern = substitute(l:pattern, "\n$", "", "") + + if a:direction == 'gv' + call CmdLine("Ack '" . l:pattern . "' " ) + elseif a:direction == 'replace' + call CmdLine("%s" . '/'. l:pattern . '/') + endif + + let @/ = l:pattern + let @" = l:saved_reg +endfunction diff --git a/private_dot_zshrc b/private_dot_zshrc new file mode 100644 index 0000000..0397df6 --- /dev/null +++ b/private_dot_zshrc @@ -0,0 +1,123 @@ +# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. +# Initialization code that may require console input (password prompts, [y/n] +# confirmations, etc.) must go above this block; everything else may go below. +if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then + source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" +fi + +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +# Path to your oh-my-zsh installation. +export ZSH="$HOME/.oh-my-zsh" + +# Set name of the theme to load --- if set to "random", it will +# load a random theme each time oh-my-zsh is loaded, in which case, +# to know which specific one was loaded, run: echo $RANDOM_THEME +# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +ZSH_THEME="powerlevel10k/powerlevel10k" + +# Set list of themes to pick from when loading at random +# Setting this variable when ZSH_THEME=random will cause zsh to load +# a theme from this variable instead of looking in $ZSH/themes/ +# If set to an empty array, this variable will have no effect. +# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) + +# Uncomment the following line to use case-sensitive completion. +# CASE_SENSITIVE="true" + +# Uncomment the following line to use hyphen-insensitive completion. +# Case-sensitive completion must be off. _ and - will be interchangeable. +# HYPHEN_INSENSITIVE="true" + +# Uncomment one of the following lines to change the auto-update behavior +# zstyle ':omz:update' mode disabled # disable automatic updates +# zstyle ':omz:update' mode auto # update automatically without asking +# zstyle ':omz:update' mode reminder # just remind me to update when it's time + +# Uncomment the following line to change how often to auto-update (in days). +# zstyle ':omz:update' frequency 13 + +# Uncomment the following line if pasting URLs and other text is messed up. +# DISABLE_MAGIC_FUNCTIONS="true" + +# Uncomment the following line to disable colors in ls. +# DISABLE_LS_COLORS="true" + +# Uncomment the following line to disable auto-setting terminal title. +# DISABLE_AUTO_TITLE="true" + +# Uncomment the following line to enable command auto-correction. +# ENABLE_CORRECTION="true" + +# Uncomment the following line to display red dots whilst waiting for completion. +# You can also set it to another string to have that shown instead of the default red dots. +# e.g. COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f" +# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765) +# COMPLETION_WAITING_DOTS="true" + +# Uncomment the following line if you want to disable marking untracked files +# under VCS as dirty. This makes repository status check for large repositories +# much, much faster. +# DISABLE_UNTRACKED_FILES_DIRTY="true" + +# Uncomment the following line if you want to change the command execution time +# stamp shown in the history command output. +# You can set one of the optional three formats: +# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" +# or set a custom format using the strftime function format specifications, +# see 'man strftime' for details. +# HIST_STAMPS="mm/dd/yyyy" + +# Would you like to use another custom folder than $ZSH/custom? +# ZSH_CUSTOM=/path/to/new-custom-folder + +# Which plugins would you like to load? +# Standard plugins can be found in $ZSH/plugins/ +# Custom plugins may be added to $ZSH_CUSTOM/plugins/ +# Example format: plugins=(rails git textmate ruby lighthouse) +# Add wisely, as too many plugins slow down shell startup. +plugins=(git docker docker-compose sudo fast-syntax-highlighting zsh-autosuggestions colorize colored-man-pages cp extract pip archlinux) + +source $ZSH/oh-my-zsh.sh + +# User configuration + +# export MANPATH="/usr/local/man:$MANPATH" + +# You may need to manually set your language environment +# export LANG=en_US.UTF-8 + +# Preferred editor for local and remote sessions +# if [[ -n $SSH_CONNECTION ]]; then +# export EDITOR='vim' +# else +# export EDITOR='mvim' +# fi + +# Compilation flags +# export ARCHFLAGS="-arch x86_64" + +# Set personal aliases, overriding those provided by oh-my-zsh libs, +# plugins, and themes. Aliases can be placed here, though oh-my-zsh +# users are encouraged to define aliases within the ZSH_CUSTOM folder. +# For a full list of active aliases, run `alias`. +# +# Example aliases +# alias zshconfig="mate ~/.zshrc" +# alias ohmyzsh="mate ~/.oh-my-zsh" +alias rmf="rm -rf" + +# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. +[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh + +export PATH="/home/niklas/.local/bin:$PATH" + +# Download Znap, if it's not there yet. +[[ -r ~/.repos/znap/znap.zsh ]] || + git clone --depth 1 -- \ + https://github.com/marlonrichert/zsh-snap.git ~/.repos/znap +source ~/.repos/znap/znap.zsh # Start Znap + +znap source marlonrichert/zsh-autocomplete +alias a='arsenal'