diff --git a/README.md b/README.md index 1d57321e2..6a385d50b 100644 --- a/README.md +++ b/README.md @@ -1,56 +1,13 @@
-

โœจTue Nhan's Dot Filesโœจ

-

A place where I store all of my own customization

+

Balcony๐ŸšŠ

-
- -![](https://img.shields.io/github/last-commit/iamverysimp1e/dots?&style=for-the-badge&color=C9CBFF&logoColor=D9E0EE&labelColor=302D41) -![](https://img.shields.io/github/stars/iamverysimp1e/dots?style=for-the-badge&logo=starship&color=8bd5ca&logoColor=D9E0EE&labelColor=302D41) -[![](https://img.shields.io/github/repo-size/iamverysimp1e/dots?color=%23DDB6F2&label=SIZE&logo=codesandbox&style=for-the-badge&logoColor=D9E0EE&labelColor=302D41)](https://github.com/iamverysimp1e/dots) - -License - - -Issues - - -
- -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/Combined.png) - -## Contents: - -### **๐Ÿ‘ป Don't blindly use my setup. Use at your own risk!!!** - -### Overview ๐ŸŽ‘ - -- [๐ŸŒฟ Windows Manger](): - - [๐Ÿš HyprLand](#hypr) - - [๐Ÿ™ GNOME](#gnome) -- [๐Ÿ‘ฝ Terminal](): - - **โ˜„ Emulator**: - - [kitty ๐Ÿ˜ฝ](https://sw.kovidgoyal.net/kitty/) - - [Alacritty](https://alacritty.org/) - - [๐ŸŒŒ Shell](#shell): Zsh with [Zap](https://www.zapzsh.org/) plugin manager - - **๐Ÿค– Prompt**: [StarShip Prompt ๐Ÿš€](https://starship.rs/guide/#%F0%9F%9A%80-installation) -- [โœ๏ธ Text Editor & IDE](): - - [๐Ÿ’ซ NeoVim](#neovim): **Main Text Editor** - - [๐Ÿ”ฑ VsCodium](#VsCodium): **Just for back up** +# Gallery ๐Ÿ“ท +![](./ScreenShots/HyprLand/Rice.png) -## Hyprland ๐Ÿš: +# Installations ๐Ÿ“ฆ -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/HyprLand/Rice1.png) -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/HyprLand/Rice2.png) -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/HyprLand/Rice3.png) - -### Setup ๐Ÿ”ง: - -> To install my dots just [R.T.F.M](https://en.wikipedia.org/wiki/RTFM) - -
1. Install Required dependencies:
- -โš ๏ธ This setup instructions only provided for Arch Linux (and other Arch-based distributions) +> Just [R.T.F.M](https://en.wikipedia.org/wiki/RTFM) - First of all, Install the newest [Hyprland](https://hyprland.org/) using this [guide](https://wiki.hyprland.org/Getting-Started/Installation/) depend on your Distro: @@ -58,99 +15,24 @@ yay -S hyprland-git ``` -- Base setups: - - - Install Rofi, Dunst, kitty terminal, swaybg, swaylock-fancy, swayidle, pamixer, light, Brillo: - - ``` - yay -S rofi dunst kitty swaybg swaylock-fancy-git swayidle pamixer light brillo - ``` +### Base setups ๐Ÿ’ป: -
Eww bar version
+- Install waybar, Rofi, Dunst, kitty terminal, swaybg, swaylock-effects, swayidle, pamixer, light, Brillo, Canva: - ``` - yay -S bc blueberry bluez coreutils dbus findutils gawk gnunet jaq light networkmanager network-manager-applet pavucontrol playerctl procps ripgrep socat udev upower util-linux wget wireplumber wlogout eww-wayland pipewire-pulse - ``` - -
- -
Waybar version
- - ![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/HyprLand/archive/Rice1.png) - - - You just simply install waybar-hyprland package: - - ``` - yay -S waybar-hyprland - ``` - -
- -- Other Utilities: - - - For screenshots tools to be work you have to install grim, swappy, slurp: - - ``` - yay -S grim swappy slurp - ``` - - - Emoji icons selector - ``` - yay -S rofi-emoji - ``` - > Also see [must have apps](https://wiki.hyprland.org/Useful-Utilities/Must-have/) and [awesome-hyprland](https://github.com/hyprland-community/awesome-hyprland) for more. - -- Also, if you want gtk applications to fits with my colorscheme on my dots, I recommend the [decay themes](https://github.com/decaycs/decay-gtk). - To change the gtk themes I use nwg-look. - > First, Install nwg-look - ``` - yay -S nwg-look - ``` - > Then, Install decay themes using the [this](https://github.com/decaycs/decay-gtk/#Installation) instruction. - ``` - git clone --depth=1 https://github.com/decaycs/decay-gtk - cd decay-gtk - mkdir -p ~/.themes - # Put any theme you want from the Themes folder into the created .themes folder - cp -r ./Themes/ ~/.themes - ``` - > After that, launch nwg-look then choose the decay themes - -
- -
2. Install my dots:
- -> Clone the repos - -```zsh -git clone https://github.com/iamverysimp1e/dots -cd dots/configs ``` - -> Copy configs files - -```zsh -cp -r waybar kitty hypr rofi dunst swaylock eww ~/.config +yay -S waybar-hyprland rofi dunst kitty swaybg swaylock-effects-git swayidle pamixer light brillo canva ``` -> Install a few font - -Necessary Font: +### Necessary Font ๐Ÿ”‘: - [JetBrains Mono Nerd Font](https://github.com/ryanoasis/nerd-fonts/releases/download/v2.2.2/JetBrainsMono.zip) -- [Material Design Icons](https://github.com/google/material-design-icons/tree/master/variablefont) +- [Iosevka Nerd Font](https://github.com/ryanoasis/nerd-fonts/releases/download/v2.3.3/Iosevka.zip) - > Note that install the [MaterialSymbolsOutlined](https://github.com/google/material-design-icons/raw/master/variablefont/MaterialSymbolsOutlined%5BFILL%2CGRAD%2Copsz%2Cwght%5D.ttf) and [this](https://github.com/google/material-design-icons/raw/master/variablefont/MaterialSymbolsOutlined%5BFILL%2CGRAD%2Copsz%2Cwght%5D.woff2) , **just to make sure** - -- [Products Sans](https://github.com/iamverysimp1e/fonts/raw/master/product-sans.zip) - -Optional Font: - -- [NotoColorEmoji](https://github.com/googlefonts/noto-emoji/raw/main/fonts/NotoColorEmoji.ttf) -- [Codicon](https://github.com/microsoft/vscode-codicons/raw/main/dist/codicon.ttf) - -> Or either way, check my [fonts](https://github.com/iamverysimp1e/fonts) repos where i store all of the programming fonts. +- [Font Awesome](https://archlinux.org/packages/community/any/ttf-font-awesome/) + ``` + yay -S ttf-font-awesome + ``` Once you download them and unpack them, place them into `~/.fonts` or `~/.local/share/fonts.` @@ -160,259 +42,14 @@ Then run this command for your system to detect the newly installed fonts. fc-cache -fv ``` -Congratulations! You had installed this beautiful rice on your machine๐Ÿš -Log out your current desktop session and login to Hyprland:) - -## Credits - -Thanks to: - -- [R/unixporn community](https://www.reddit.com/r/unixporn/) -- [Hyprland Development Discord server](https://discord.com/invite/hQ9XvMUjjr) -- [fufexan](https://github.com/fufexan/dotfiles) for the eww widgets :) - -
- -## GNOME ๐Ÿ™: - -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/Gnome_Rice/Rice1.png) -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/Gnome_Rice/Rice2.png) -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/Gnome_Rice/Rice3.png) - -
Gnome configs
- -- GTK Themes: Based on [AestheticStuff by Rxyhn](https://github.com/rxyhn/AestheticStuff) - -- GTK Icons:[Papirus icons ](https://www.gnome-look.org/p/1166289) - -- [Mutter Rounded (Optional)](https://github.com/yilozt/mutter-rounded): Windows manager for GNOME (for blur windows effect) -- [Gnome Shell Extensions](https://extensions.gnome.org/): - - - [Aylur's Widget](https://extensions.gnome.org/extension/5338/aylurs-widgets/): Beautiful Plugins with customizable bar - - [Blur My Shell](https://extensions.gnome.org/extension/3193/blur-my-shell/): Blur the gnome shell - - [User Themes](https://extensions.gnome.org/extension/19/user-themes/): Load shell themes from user directories - - [Color Picker](https://extensions.gnome.org/extension/3396/color-picker/): The simple color picker for gnome shell - - [Compiz alike magic lamp effect](https://extensions.gnome.org/extension/3740/compiz-alike-magic-lamp-effect/): Magic lamp effect alike the macOS minimize effect - - [Extension List](https://extensions.gnome.org/extension/3088/extension-list/): A Simple Gnome shell extension manager in the top panel - - [Just Perfection](https://extensions.gnome.org/extension/3843/just-perfection/): SImple tweak tools to customize the gnome shell and disable some UI Features - - [Open Weather](https://extensions.gnome.org/extension/750/openweather/): A simple weather app for gnome shell - - [Sound Input & Output Device Chooser](https://extensions.gnome.org/extension/906/sound-output-device-chooser/):Shows a list of sound output and input devices (similar to gnome sound settings) in the status menu below the volume slider. - - [Unite](https://extensions.gnome.org/extension/1287/unite/): Remove the title bars of the windows for the minimalist in windows - - [Vitals](https://extensions.gnome.org/extension/1460/vitals/): A simple system monitor on the top bar - - [gtk title bar](https://extensions.gnome.org/extension/1732/gtk-title-bar/):remove title bar for non-gtk apps with minimal inference - - [Rounded Window Corners](https://extensions.gnome.org/extension/5237/rounded-window-corners/): Rounded corners for all windows - - - Bar (based on [smooth by Aylur Themes ](https://github.com/Aylur/dotfiles/tree/main/Smooth/gnome-shell)): - - **DISCLAIMER โš ๏ธ: This bar color mod is still in progress and some color sections may not appear correctly if you want to contribute really grateful about that !** - - - Install all of the Extensions above then copy .themes to ~/.themes - - Open Gnome tweaks -> Appearance -> Shell -> Choose Smooth - -- Gnome tweaks (for apply themes and icons ) installation: - - ```fish - sudo apt update && sudo apt upgrade - sudo apt install gnome-tweaks - ``` - -
- +## Copy Files ๐Ÿ’พ -## ๐ŸŒŒ Shell & ๐Ÿค– Prompt setups - -![](https://raw.githubusercontent.com/iamverysimp1e/dots/main/ScreenShots/Other/prompt.png) - -
How to โ“
- -- First of all install zsh based on your Linux distributions: - - - For Arch Users: - - ``` - yay -S zsh - ``` - -- For other linux distributions install using ![this](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH) guide -- Then install ![ohmyzsh](https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH) with ![Zap](https://www.zapzsh.org/) plugin manager - - - For the prompt im currently using this awesome ![StarShip Prompt ๐Ÿš€](https://starship.rs/guide/#%F0%9F%9A%80-installation) prompt - -- Also, if you want the terminal icon install **exa** using [this](https://the.exa.website/install) guide - -- Install my prompt: - - Clone the repos and enter that: - ```zsh - git clone https://github.com/iamverysimp1e/dots.git - cd dots/configs/prompt - ``` - - Copy necessary files: - ```zsh - cp starship.toml ~/.config && cp .zshrc $HOME - ``` - > Then relaunch your terminal then congratulations your beautiful prompt is ready ๐Ÿฅณ -- Install the [nerd fonts](https://www.nerdfonts.com/font-downloads) - - Download then extract it to `~/.fonts` - - Then run this from the terminal - ``` - fc-cache -f -v - ``` - -
- -## Neovim Setups : - -- Im currently working on ![OctoVim](https://github.com/OctoVim/OctoVim) which is yet another NeoVim IDE - > The conigs on my dots are still working as well so if you interested in try it out and give it star ๐Ÿ’ซ - -
How to setups
- -- Setups: - -``` -โ”œโ”€โ”€ init.lua -โ”œโ”€โ”€ lua -โ”‚ย ย  โ””โ”€โ”€ user -โ”‚ย ย  โ”œโ”€โ”€ alpha.lua -โ”‚ย ย  โ”œโ”€โ”€ autocommands.lua -โ”‚ย ย  โ”œโ”€โ”€ autopairs.lua -โ”‚ย ย  โ”œโ”€โ”€ bufferline.lua -โ”‚ย ย  โ”œโ”€โ”€ cmp.lua -โ”‚ย ย  โ”œโ”€โ”€ colorizer.lua -โ”‚ย ย  โ”œโ”€โ”€ colorscheme.lua -โ”‚ย ย  โ”œโ”€โ”€ comment.lua -โ”‚ย ย  โ”œโ”€โ”€ gitsigns.lua -โ”‚ย ย  โ”œโ”€โ”€ impatient.lua -โ”‚ย ย  โ”œโ”€โ”€ indentline.lua -โ”‚ย ย  โ”œโ”€โ”€ keymaps.lua -โ”‚ย ย  โ”œโ”€โ”€ lsp -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ configs.lua -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ handlers.lua -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ init.lua -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ lspsaga.lua -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ null-ls.lua -โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ settings -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ jsonls.lua -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ pyright.lua -โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ sumneko_lua.lua -โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ tsserver.lua -โ”‚ย ย  โ”œโ”€โ”€ lualine.lua -โ”‚ย ย  โ”œโ”€โ”€ nvim-transparent.lua -โ”‚ย ย  โ”œโ”€โ”€ nvim-tree.lua -โ”‚ย ย  โ”œโ”€โ”€ options.lua -โ”‚ย ย  โ”œโ”€โ”€ plugins.lua -โ”‚ย ย  โ”œโ”€โ”€ project.lua -โ”‚ย ย  โ”œโ”€โ”€ syntax.lua -โ”‚ย ย  โ”œโ”€โ”€ telescope.lua -โ”‚ย ย  โ”œโ”€โ”€ toggleterm.lua -โ”‚ย ย  โ”œโ”€โ”€ treesitter.lua -โ”‚ย ย  โ”œโ”€โ”€ truezen.lua -โ”‚ย ย  โ”œโ”€โ”€ whichkey.lua -โ”‚ย ย  โ””โ”€โ”€ winbar.lua -โ””โ”€โ”€ plugin - โ””โ”€โ”€ packer_compiled.lua -``` - -
1. Install NeoVim
-I recommend the NeoVim Nightly Version, my NeoVim configs also work with the Release version but there're some error while installations. - -- On Arch: - - > Assume that your package manager is yay - - ``` - yay -S nvim-nightly - # or - yay -S neovim-git - ``` - -- On Ubuntu - -``` -sudo add-apt-repository ppa:neovim-ppa/unstable -sudo apt update && sudo apt upgrade -sudo apt install neovim ``` - -
- -
2. Install required dependencies
-- You probably notice you don't have support for copy and paste also that python and node haven't been setup - - - If you on X11 install xsel and xclip - - - On Ubuntu: - ``` - sudo apt install xsel xclip - ``` - - - On Arch: - ``` - sudo pacman -S xsel xclip - ``` - -- But if you on Wayland like me, install wlcopy & wl-clipboard - - - On Arch: - - ``` - sudo pacman -S wlcopy wl-clipboard - ``` - - - On Ubuntu: - - ``` - sudo apt install wlcopy wl-clipboard - ``` - -- Next we need to install python support (Node is optional) - - Neovim python support: - ``` - pip install pynvim - # or - pip3 install pynvim - ``` - - Neovim Node support - ``` - npm i -g neovim - ``` -- Other dependencies for formatting & finding text:): - - - Prettier - - ```bash - npm install -g prettier - ``` - - - Black (Python formatter) - - ```bash - pip install black - ``` - - - Ripgrep - - ``` - paru -S ripgrep - ``` - -- On Fedora you have to install c++ and lstdc++ : - -```bash -sudo dnf install g++ -#and -sudo yum install glibc-static libstdc++-static -y; +git clone -b balcony๐ŸšŠ https://github.com/iamverysimp1e/dots +cd dots +cp -r ./configs/* ~/.config/ ``` -- On windows you have to install - - [gcc](): - ```bash - sccop install gcc - ``` - - [Zig]() - ```bash - scoop install zig - ``` +> Finally, now you can login with Late Night Hyprland Rice -
-
+Congratulations, at this point you successfully have installed Hyprland Balcony Rice ๐ŸšŠ diff --git a/ScreenShots/Combined.png b/ScreenShots/Combined.png deleted file mode 100644 index ab6506c19..000000000 Binary files a/ScreenShots/Combined.png and /dev/null differ diff --git a/ScreenShots/Gnome_Rice/Rice1.png b/ScreenShots/Gnome_Rice/Rice1.png deleted file mode 100644 index 2351bfc1e..000000000 Binary files a/ScreenShots/Gnome_Rice/Rice1.png and /dev/null differ diff --git a/ScreenShots/Gnome_Rice/Rice2.png b/ScreenShots/Gnome_Rice/Rice2.png deleted file mode 100644 index 069d3c26b..000000000 Binary files a/ScreenShots/Gnome_Rice/Rice2.png and /dev/null differ diff --git a/ScreenShots/Gnome_Rice/Rice3.png b/ScreenShots/Gnome_Rice/Rice3.png deleted file mode 100644 index 0fa277d56..000000000 Binary files a/ScreenShots/Gnome_Rice/Rice3.png and /dev/null differ diff --git a/ScreenShots/Gnome_Rice/Rice4.png b/ScreenShots/Gnome_Rice/Rice4.png deleted file mode 100644 index ae6428a28..000000000 Binary files a/ScreenShots/Gnome_Rice/Rice4.png and /dev/null differ diff --git a/ScreenShots/Gnome_Rice/Rice5.png b/ScreenShots/Gnome_Rice/Rice5.png deleted file mode 100644 index cc6c7059e..000000000 Binary files a/ScreenShots/Gnome_Rice/Rice5.png and /dev/null differ diff --git a/ScreenShots/HyprLand/Rice.png b/ScreenShots/HyprLand/Rice.png new file mode 100644 index 000000000..9285df1ce Binary files /dev/null and b/ScreenShots/HyprLand/Rice.png differ diff --git a/ScreenShots/HyprLand/Rice1.png b/ScreenShots/HyprLand/Rice1.png deleted file mode 100644 index 4f766ad5b..000000000 Binary files a/ScreenShots/HyprLand/Rice1.png and /dev/null differ diff --git a/ScreenShots/HyprLand/Rice2.png b/ScreenShots/HyprLand/Rice2.png deleted file mode 100644 index 9f2bfcab1..000000000 Binary files a/ScreenShots/HyprLand/Rice2.png and /dev/null differ diff --git a/ScreenShots/HyprLand/Rice3.png b/ScreenShots/HyprLand/Rice3.png deleted file mode 100644 index 44f56a85e..000000000 Binary files a/ScreenShots/HyprLand/Rice3.png and /dev/null differ diff --git a/ScreenShots/HyprLand/Rice4.png b/ScreenShots/HyprLand/Rice4.png deleted file mode 100644 index 367878eb6..000000000 Binary files a/ScreenShots/HyprLand/Rice4.png and /dev/null differ diff --git a/ScreenShots/HyprLand/archive/Rice2.png b/ScreenShots/HyprLand/archive/Rice2.png deleted file mode 100644 index ffb62fff2..000000000 Binary files a/ScreenShots/HyprLand/archive/Rice2.png and /dev/null differ diff --git a/ScreenShots/HyprLand/archive/Rice3.png b/ScreenShots/HyprLand/archive/Rice3.png deleted file mode 100644 index 3b49226d3..000000000 Binary files a/ScreenShots/HyprLand/archive/Rice3.png and /dev/null differ diff --git a/ScreenShots/HyprLand/archive/Rice4.png b/ScreenShots/HyprLand/archive/Rice4.png deleted file mode 100644 index 8a48c3296..000000000 Binary files a/ScreenShots/HyprLand/archive/Rice4.png and /dev/null differ diff --git a/ScreenShots/HyprLand/archive/preview.png b/ScreenShots/HyprLand/archive/preview.png deleted file mode 100644 index 1610d537e..000000000 Binary files a/ScreenShots/HyprLand/archive/preview.png and /dev/null differ diff --git a/ScreenShots/Neovim/neovim_rice1.png b/ScreenShots/Neovim/neovim_rice1.png deleted file mode 100644 index b8b100ecb..000000000 Binary files a/ScreenShots/Neovim/neovim_rice1.png and /dev/null differ diff --git a/ScreenShots/Neovim/neovim_rice2.png b/ScreenShots/Neovim/neovim_rice2.png deleted file mode 100644 index df6166974..000000000 Binary files a/ScreenShots/Neovim/neovim_rice2.png and /dev/null differ diff --git a/ScreenShots/Neovim/neovim_rice3.png b/ScreenShots/Neovim/neovim_rice3.png deleted file mode 100644 index 367b80489..000000000 Binary files a/ScreenShots/Neovim/neovim_rice3.png and /dev/null differ diff --git a/ScreenShots/Neovim/neovim_rice4.png b/ScreenShots/Neovim/neovim_rice4.png deleted file mode 100644 index c15a2d4db..000000000 Binary files a/ScreenShots/Neovim/neovim_rice4.png and /dev/null differ diff --git a/ScreenShots/Neovim/neovim_rice5.png b/ScreenShots/Neovim/neovim_rice5.png deleted file mode 100644 index 499c54b69..000000000 Binary files a/ScreenShots/Neovim/neovim_rice5.png and /dev/null differ diff --git a/ScreenShots/Other/prompt.png b/ScreenShots/Other/prompt.png deleted file mode 100644 index ccddea8f1..000000000 Binary files a/ScreenShots/Other/prompt.png and /dev/null differ diff --git a/ScreenShots/Windows_Rice/Windows_Rice.png b/ScreenShots/Windows_Rice/Windows_Rice.png deleted file mode 100644 index f4fcfc0aa..000000000 Binary files a/ScreenShots/Windows_Rice/Windows_Rice.png and /dev/null differ diff --git a/ScreenShots/Windows_Rice/Windows_Rice2.png b/ScreenShots/Windows_Rice/Windows_Rice2.png deleted file mode 100644 index 06db7c6c5..000000000 Binary files a/ScreenShots/Windows_Rice/Windows_Rice2.png and /dev/null differ diff --git a/configs/FireFox/TabCenterReborn/customStyleSheet.css b/configs/FireFox/TabCenterReborn/customStyleSheet.css deleted file mode 100644 index c0581c45c..000000000 --- a/configs/FireFox/TabCenterReborn/customStyleSheet.css +++ /dev/null @@ -1,118 +0,0 @@ -:root { - /* These colours are (mainly) used by the - Container Tabs Plugin */ - --uc-identity-colour-blue: #7ed6df; - --uc-identity-colour-turquoise: #55e6c1; - --uc-identity-colour-green: #b8e994; - --uc-identity-colour-yellow: #f7d794; - --uc-identity-colour-orange: #f19066; - --uc-identity-colour-red: #fc5c65; - --uc-identity-colour-pink: #f78fb3; - --uc-identity-colour-purple: #786fa6; - - --uc-base-colour: #11111b; - --uc-base-fg: #bac2de; - --uc-highlight-colour: #191926; - --uc-inverted-colour: #10131c; - --uc-muted-colour: #10131c; - --uc-accent-colour: #10131c; -} - -#topmenu { - display: none !important; -} - -#tablist-wrapper, -#pinnedtablist { - background: var(--uc-base-colour); -} - -.tab:hover, -.tab.active { - background: var(--uc-highlight-colour); - border-radius: 10px; -} - -#tablist-wrapper .tab-title-wrapper { - opacity: 0; - transform: translateX(-10px); - - transition: all 200ms ease; - transition-delay: 0ms; -} - -body:hover #tablist-wrapper .tab-title-wrapper { - opacity: 1; - transform: translateX(0); - - transition-delay: 50ms; -} - -.tab, -.tab.active { - border-bottom: none !important; - border-radius: 10px; -} - -#pinnedtablist:not(.compact) .tab { - padding: 6px; -} -#tablist .tab { - padding: 0 0 0 6px; -} - -.tab { - overflow: visible; - border-radius: 10px; -} - -#pinnedtablist:not(.compact) .tab[data-identity-color] .tab-context::before, -#tablist .tab[data-identity-color] .tab-context::before { - position: absolute; - top: 4px; - bottom: 4px; - width: 2px; - background: var(--identity-color); - border-radius: 10px; - content: ''; -} - -#tablist .tab[data-identity-color] .tab-context::before { - left: -3px; -} - -#pinnedtablist:not(.compact) .tab .tab-pin, -.tab-close, -.tab-loading-burst { - display: none; -} - -#pinnedtablist:not(.compact) .tab[data-identity-color] .tab-context { - box-shadow: none !important; -} - -[data-identity-color='blue'] { - --identity-color: var(--uc-identity-colour-blue); -} -[data-identity-color='turquoise'] { - --identity-color: var(--uc-identity-colour-turquoise); -} -[data-identity-color='green'] { - --identity-color: var(--uc-identity-colour-green); -} -[data-identity-color='yellow'] { - --identity-color: var(--uc-identity-colour-yellow); -} -[data-identity-color='orange'] { - --identity-color: var(--uc-identity-colour-orange); -} -[data-identity-color='red'] { - --identity-color: var(--uc-identity-colour-red); -} -[data-identity-color='pink'] { - --identity-color: var(--uc-identity-colour-pink); -} -[data-identity-color='purple'] { - --identity-color: var(--uc-identity-colour-purple); -} - diff --git a/configs/FireFox/chrome/userChrome.css b/configs/FireFox/chrome/userChrome.css deleted file mode 100644 index a498d7241..000000000 --- a/configs/FireFox/chrome/userChrome.css +++ /dev/null @@ -1,60 +0,0 @@ -#appcontent - > #tabbrowser-tabbox - > #tabbrowser-tabpanels - > .deck-selected - > .browserContainer - > .browserStack - > browser { - border-radius: 16px !important; - margin: 14px !important; -} - -.browserContainer { - background-color: var( - --lwt-accent-color-inactive, - var(--lwt-accent-color) - ) !important; - background-image: var(--lwt-header-image), var(--lwt-additional-images) !important; - background-repeat: no-repeat, var(--lwt-background-tiling) !important; - background-position: right top, var(--lwt-background-alignment) !important; -} - -#navigator-toolbox-background { - height: 0 !important; -} - -#titlebar { - display: none !important; -} - -.titlebar-buttonbox-container { - display: none !important; -} - -#webrtcIndicator { - display: none !important; -} - -#navigator-toolbox { - position: relative; - z-index: 1; - height: 10px; - margin-bottom: 0px; - overflow: hidden; - transition-property: height; - transition-delay: 1s; - transition-duration: 2s; -} - -#navigator-toolbox:hover { - height: 40px; - transition-property: height; - transition-duration: 0.5s; - transition-delay: 0s; -} - -#navigator-toolbox:focus-within { - height: 40px; - transition-property: height; -} - diff --git a/configs/FireFox/user.js b/configs/FireFox/user.js deleted file mode 100644 index 4519ecf9c..000000000 --- a/configs/FireFox/user.js +++ /dev/null @@ -1,333 +0,0 @@ -// -/* You may copy+paste this file and use it as it is. - * - * If you make changes to your about:config while the program is running, the - * changes will be overwritten by the user.js when the application restarts. - * - * To make lasting changes to preferences, you will have to edit the user.js. - */ - -/**************************************************************************** - * Betterfox * - * "Ad meliora" * - * version: 107 * - * url: https://github.com/yokoffing/Betterfox * -****************************************************************************/ - -/**************************************************************************** - * SECTION: SECUREFOX * -****************************************************************************/ -/** TRACKING PROTECTION ***/ -user_pref("browser.contentblocking.category", "strict"); -user_pref("privacy.trackingprotection.emailtracking.enabled", true); -user_pref("privacy.query_stripping.strip_list", "__hsfp __hssc __hstc __s _hsenc _openstat dclid fbclid gbraid gclid hsCtaTracking igshid mc_eid ml_subscriber ml_subscriber_hash msclkid oft_c oft_ck oft_d oft_id oft_ids oft_k oft_lk oft_sk oly_anon_id oly_enc_id rb_clickid s_cid twclid vero_conv vero_id wbraid wickedid yclid"); -user_pref("urlclassifier.trackingSkipURLs", "*.reddit.com, *.twitter.com, *.twimg.com, *.tiktok.com"); -user_pref("urlclassifier.features.socialtracking.skipURLs", "*.instagram.com, *.twitter.com, *.twimg.com"); -user_pref("privacy.partition.always_partition_third_party_non_cookie_storage", true); -user_pref("privacy.partition.always_partition_third_party_non_cookie_storage.exempt_sessionstorage", false); -user_pref("beacon.enabled", false); -user_pref("browser.uitour.enabled", false); - -/** OCSP & CERTS / HPKP ***/ -user_pref("security.OCSP.enabled", 0); -user_pref("security.remote_settings.crlite_filters.enabled", true); -user_pref("security.pki.crlite_mode", 2); -user_pref("security.cert_pinning.enforcement_level", 2); - -/** SSL / TLS ***/ -user_pref("security.ssl.treat_unsafe_negotiation_as_broken", true); -user_pref("browser.xul.error_pages.expert_bad_cert", true); -user_pref("security.tls.enable_0rtt_data", false); - -/** FONTS ***/ -user_pref("layout.css.font-visibility.private", 1); -user_pref("layout.css.font-visibility.trackingprotection", 1); - -/** RFP ***/ -user_pref("browser.startup.blankWindow", false); -user_pref("browser.display.use_system_colors", false); - -/** DISK AVOIDANCE ***/ -user_pref("browser.cache.disk.enable", false); -user_pref("browser.privatebrowsing.forceMediaMemoryCache", true); -user_pref("media.memory_cache_max_size", 65536); -user_pref("browser.sessionstore.privacy_level", 2); -user_pref("browser.helperApps.deleteTempFileOnExit", true); -user_pref("browser.pagethumbnails.capturing_disabled", true); - -/** SHUTDOWN & SANITIZING ***/ -user_pref("privacy.history.custom", true); - -/** SPECULATIVE CONNECTIONS ***/ -user_pref("network.http.speculative-parallel-limit", 0); -user_pref("network.dns.disablePrefetch", true); -user_pref("browser.urlbar.speculativeConnect.enabled", false); -user_pref("browser.places.speculativeConnect.enabled", false); -user_pref("network.prefetch-next", false); -user_pref("network.predictor.enabled", false); -user_pref("network.predictor.enable-prefetch", false); - -/** SEARCH / URL BAR ***/ -user_pref("browser.search.separatePrivateDefault.ui.enabled", true); -user_pref("browser.urlbar.update2.engineAliasRefresh", true); -user_pref("browser.search.suggest.enabled", false); -user_pref("browser.urlbar.suggest.quicksuggest.sponsored", false); -user_pref("browser.urlbar.suggest.quicksuggest.nonsponsored", false); -user_pref("network.IDN_show_punycode", true); - -/** HTTPS-ONLY MODE ***/ -user_pref("dom.security.https_only_mode", true); -user_pref("dom.security.https_only_mode_error_page_user_suggestions", true); - -/** DNS-over-HTTPS (DOH) ***/ -user_pref("network.dns.skipTRR-when-parental-control-enabled", false); - -/** PROXY / SOCKS / IPv6 ***/ -user_pref("network.proxy.socks_remote_dns", true); -user_pref("network.file.disable_unc_paths", true); -user_pref("network.gio.supported-protocols", ""); - -/** PASSWORDS AND AUTOFILL ***/ -user_pref("signon.formlessCapture.enabled", false); -user_pref("signon.privateBrowsingCapture.enabled", false); -user_pref("signon.autofillForms", false); -user_pref("signon.rememberSignons", false); -user_pref("editor.truncate_user_pastes", false); -user_pref("layout.forms.reveal-password-button.enabled", true); - -/** ADDRESS + CREDIT CARD MANAGER ***/ -user_pref("extensions.formautofill.addresses.enabled", false); -user_pref("extensions.formautofill.creditCards.enabled", false); -user_pref("extensions.formautofill.heuristics.enabled", false); -user_pref("browser.formfill.enable", false); - -/** MIXED CONTENT + CROSS-SITE ***/ -user_pref("network.auth.subresource-http-auth-allow", 1); -user_pref("pdfjs.enableScripting", false); -user_pref("extensions.postDownloadThirdPartyPrompt", false); -user_pref("permissions.delegation.enabled", false); - -/** HEADERS / REFERERS ***/ -user_pref("network.http.referer.XOriginTrimmingPolicy", 2); - -/** CONTAINERS ***/ -user_pref("privacy.userContext.ui.enabled", true); - -/** WEBRTC ***/ -user_pref("media.peerconnection.ice.proxy_only_if_behind_proxy", true); -user_pref("media.peerconnection.ice.default_address_only", true); - -/** GOOGLE SAFE BROWSING ***/ -user_pref("browser.safebrowsing.malware.enabled", false); -user_pref("browser.safebrowsing.phishing.enabled", false); -user_pref("browser.safebrowsing.downloads.enabled", false); -user_pref("browser.safebrowsing.downloads.remote.block_potentially_unwanted", false); -user_pref("browser.safebrowsing.downloads.remote.block_uncommon", false); -user_pref("browser.safebrowsing.blockedURIs.enabled", false); - -/** MOZILLA ***/ -user_pref("identity.fxaccounts.enabled", false); -user_pref("browser.tabs.firefox-view", false); -user_pref("dom.push.enabled", false); -user_pref("permissions.default.desktop-notification", 2); -user_pref("permissions.default.geo", 2); -user_pref("geo.provider.network.url", "https://location.services.mozilla.com/v1/geolocate?key=%MOZILLA_API_KEY%"); -user_pref("geo.provider.ms-windows-location", false); // WINDOWS -user_pref("geo.provider.use_corelocation", false); // MAC -user_pref("geo.provider.use_gpsd", false); // LINUX -user_pref("geo.provider.use_geoclue", false); // LINUX -user_pref("browser.region.update.enabled", false); -user_pref("permissions.manager.defaultsUrl", ""); -user_pref("webchannel.allowObject.urlWhitelist", ""); - - -/** TELEMETRY ***/ -user_pref("toolkit.telemetry.unified", false); -user_pref("toolkit.telemetry.enabled", false); -user_pref("toolkit.telemetry.server", "data:,"); -user_pref("toolkit.telemetry.archive.enabled", false); -user_pref("toolkit.telemetry.newProfilePing.enabled", false); -user_pref("toolkit.telemetry.shutdownPingSender.enabled", false); -user_pref("toolkit.telemetry.updatePing.enabled", false); -user_pref("toolkit.telemetry.bhrPing.enabled", false); -user_pref("toolkit.telemetry.firstShutdownPing.enabled", false); -user_pref("toolkit.telemetry.coverage.opt-out", true); -user_pref("toolkit.coverage.opt-out", true); -user_pref("datareporting.healthreport.uploadEnabled", false); -user_pref("datareporting.policy.dataSubmissionEnabled", false); -user_pref("app.shield.optoutstudies.enabled", false); -user_pref("browser.discovery.enabled", false); -user_pref("browser.tabs.crashReporting.sendReport", false); -user_pref("browser.crashReports.unsubmittedCheck.autoSubmit2", false); -user_pref("captivedetect.canonicalURL", ""); -user_pref("network.captive-portal-service.enabled", false); -user_pref("network.connectivity-service.enabled", false); -user_pref("default-browser-agent.enabled", false); -user_pref("app.normandy.enabled", false); -user_pref("app.normandy.api_url", ""); -user_pref("browser.ping-centre.telemetry", false); -user_pref("browser.newtabpage.activity-stream.feeds.telemetry", false); -user_pref("browser.newtabpage.activity-stream.telemetry", false); - -/**************************************************************************** - * SECTION: PESKYFOX * -****************************************************************************/ -/** MOZILLA UI ***/ -user_pref("layout.css.prefers-color-scheme.content-override", 2); -user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true); -user_pref("app.update.suppressPrompts", true); -user_pref("accessibility.force_disabled", 1); -user_pref("browser.compactmode.show", true); -user_pref("browser.privatebrowsing.vpnpromourl", ""); -user_pref("extensions.getAddons.showPane", false); -user_pref("extensions.htmlaboutaddons.recommendations.enabled", false); -user_pref("browser.shell.checkDefaultBrowser", false); -user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.addons", false); -user_pref("browser.newtabpage.activity-stream.asrouter.userprefs.cfr.features", false); -user_pref("browser.preferences.moreFromMozilla", false); -user_pref("browser.tabs.tabmanager.enabled", false); -user_pref("browser.aboutwelcome.enabled", false); -user_pref("findbar.highlightAll", true); -user_pref("middlemouse.contentLoadURL", false); -user_pref("browser.privatebrowsing.enable-new-indicator", false); - -/** FULLSCREEN ***/ -user_pref("full-screen-api.transition-duration.enter", "0 0"); -user_pref("full-screen-api.transition-duration.leave", "0 0"); -user_pref("full-screen-api.warning.delay", 0); -user_pref("full-screen-api.warning.timeout", 0); - -/** URL BAR ***/ -user_pref("browser.urlbar.suggest.engines", false); -user_pref("browser.urlbar.suggest.topsites", false); -user_pref("browser.urlbar.suggest.calculator", true); -user_pref("browser.urlbar.unitConversion.enabled", true); - -/** NEW TAB PAGE ***/ -user_pref("browser.newtabpage.activity-stream.feeds.topsites", false); -user_pref("browser.newtabpage.activity-stream.feeds.section.topstories", false); - - -// first line is a comment -var {classes:Cc,interfaces:Ci,utils:Cu} = Components; -var newTabURL = "about:blank"; -aboutNewTabService = Cc["@mozilla.org/browser/aboutnewtab-service;1"].getService(Ci.nsIAboutNewTabService); -aboutNewTabService.newTabURL = newTabURL; - -// first line is a comment -var {classes:Cc,interfaces:Ci,utils:Cu} = Components; -var newTabURL = "about:blank"; -aboutNewTabService = Cc["@mozilla.org/browser/aboutnewtab-service;1"].getService(Ci.nsIAboutNewTabService); -aboutNewTabService.newTabURL = newTabURL; - -/*** POCKET ***/ -user_pref("extensions.pocket.enabled", false); - -/** DOWNLOADS ***/ -user_pref("browser.download.useDownloadDir", false); -user_pref("browser.download.alwaysOpenPanel", false); -user_pref("browser.download.manager.addToRecentDocs", false); -user_pref("browser.download.always_ask_before_handling_new_types", true); - -/** PDF ***/ -user_pref("browser.download.open_pdf_attachments_inline", true); -user_pref("pdfjs.sidebarViewOnLoad", 1); - -/** TAB BEHAVIOR ***/ -user_pref("browser.link.open_newwindow.restriction", 0); -user_pref("dom.disable_window_move_resize", true); -user_pref("browser.tabs.loadBookmarksInTabs", true); -user_pref("browser.bookmarks.openInTabClosesMenu", false); -user_pref("clipboard.plainTextOnly", true); -user_pref("dom.popup_allowed_events", "click dblclick"); -user_pref("layout.css.has-selector.enabled", true); - -/**************************************************************************** - * SECTION: FASTFOX * -****************************************************************************/ -user_pref("browser.startup.preXulSkeletonUI", false); -user_pref("layout.css.grid-template-masonry-value.enabled", true); -user_pref("dom.enable_web_task_scheduling", true); -user_pref("layout.css.animation-composition.enabled", true); -user_pref("nglayout.initialpaint.delay", 0); -user_pref("nglayout.initialpaint.delay_in_oopif", 0); -// PREF: faster SSL -user_pref("network.ssl_tokens_cache_capacity", 32768); // more TLS token caching (fast reconnects) - -// PREF: increase DNS cache -user_pref("network.dnsCacheEntries", 20000); -user_pref("network.dnsCacheExpiration", 3600); -user_pref("network.dnsCacheExpirationGracePeriod", 240); - -user_pref("network.buffer.cache.size", 262144); -user_pref("network.buffer.cache.count", 128); - -/** GFX ***/ -user_pref("gfx.webrender.all", true); -user_pref("gfx.webrender.precache-shaders", true); -user_pref("gfx.webrender.compositor", true); -user_pref("gfx.canvas.accelerated", true); -user_pref("gfx.canvas.accelerated.cache-items", 32768); -user_pref("gfx.canvas.accelerated.cache-size", 4096); -user_pref("gfx.content.skia-font-cache-size", 80); -user_pref("image.cache.size", 10485760); -user_pref("image.mem.decode_bytes_at_a_time", 65536); -user_pref("image.mem.shared.unmap.min_expiration_ms", 120000); -user_pref("layers.gpu-process.enabled", true); -user_pref("media.memory_cache_max_size", 1048576); -user_pref("media.memory_caches_combined_limit_kb", 3145728); -user_pref("media.hardware-video-decoding.force-enabled", true); - -/** CACHE ***/ -user_pref("browser.cache.memory.max_entry_size", 51200); - -/**************************************************************************** - * SECTION: SMOOTHFOX * -****************************************************************************/ -// see https://github.com/yokoffing/Betterfox/blob/master/Smoothfox.js -// Enter your scrolling prefs below this line: - -/**************************************************************************************** - * OPTION 1: INSTANT SCROLLING (SIMPLE ADJUSTMENT) * -****************************************************************************************/ -// recommended for 60hz displays -user_pref("general.smoothScroll", true); // DEFAULT -user_pref("mousewheel.default.delta_multiplier_y", 300); // 250-500 - -/**************************************************************************************** - * OPTION 2: SMOOTH SCROLLING * -****************************************************************************************/ -// recommended for 90hz+ displays -// user_pref("general.smoothScroll", true); // DEFAULT -// user_pref("mousewheel.default.delta_multiplier_y", 265); // 250-500 -// user_pref("general.smoothScroll.msdPhysics.enabled", true); - -/**************************************************************************************** - * OPTION 3: NATURAL SMOOTH SCROLLING [MODIFIED] * -****************************************************************************************/ -// from https://github.com/AveYo/fox/blob/main/Natural%20Smooth%20Scrolling%20for%20user.js -// largely matches Chrome flags: Windows Scrolling Personality and Smooth Scrolling -// recommended for 120hz+ displays -// user_pref("general.smoothScroll", true); // DEFAULT -// user_pref("general.smoothScroll.msdPhysics.continuousMotionMaxDeltaMS", 12); -// user_pref("general.smoothScroll.msdPhysics.enabled", true); -// user_pref("general.smoothScroll.msdPhysics.motionBeginSpringConstant", 600); -// user_pref("general.smoothScroll.msdPhysics.regularSpringConstant", 650); -// user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaMS", 25); -// user_pref("general.smoothScroll.msdPhysics.slowdownMinDeltaRatio", 2.0); -// user_pref("general.smoothScroll.msdPhysics.slowdownSpringConstant", 250); -// user_pref("general.smoothScroll.currentVelocityWeighting", 1.0); -// user_pref("general.smoothScroll.stopDecelerationWeighting", 1.0); -// user_pref("mousewheel.default.delta_multiplier_y", 280); - -/**************************************************************************** - * START: MY OVERRIDES * -****************************************************************************/ -// Enter your personal prefs below this line: - -// PREF: restore Firefox accounts -user_pref("identity.fxaccounts.enabled", true); - -/**************************************************************************** - * END: BETTERFOX * -****************************************************************************/ diff --git a/configs/VSCodium/settings.json b/configs/VSCodium/settings.json deleted file mode 100644 index 920475110..000000000 --- a/configs/VSCodium/settings.json +++ /dev/null @@ -1,506 +0,0 @@ -{ - "editor.cursorBlinking": "phase", - "editor.fontFamily": "'JetBrainsMono Nerd Font'", - "editor.fontSize": 15.5, - "editor.minimap.enabled": false, - "editor.renderWhitespace": "none", - "window.menuBarVisibility": "toggle", - "editor.tabCompletion": "on", - "git.enableSmartCommit": true, - "git.confirmSync": false, - "git.autofetch": true, - "editor.defaultFormatter": "esbenp.prettier-vscode", - "[javascript]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - "[json]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, - - "keyboard.dispatch": "keyCode", - "vim.easymotion": true, - "vim.incsearch": true, - "vim.useSystemClipboard": true, - "vim.useCtrlKeys": true, - "vim.hlsearch": true, - "vim.insertModeKeyBindings": [ - { - "before": ["j", "j"], - "after": [""] - } - ], - "vim.normalModeKeyBindingsNonRecursive": [ - { - "before": ["", "d"], - "after": ["d", "d"] - }, - { - "before": [""], - "commands": [":nohl"] - }, - { - "before": ["K"], - "commands": ["lineBreakInsert"], - "silent": true - } - ], - "vim.leader": "", - "vim.handleKeys": { - "": false, - "": false - }, - "liveServer.settings.donotShowInfoMsg": true, - "workbench.startupEditor": "none", - "editor.linkedEditing": true, - "grammarly.files.include": ["**/README.md", "**/readme.md", "**/*.txt"], - "indentOneSpace.workOnSingleLine": true,// Even if 1 character on 1 line is selected - the command will work. - "indentOneSpace.cramReversed": true,// Outdent lines even if one of them has reached column 0 (gutter). - "indentOneSpace.onlyCompleteRange": false,// Indent works only when selection has nothing or whitespace characters on the sides - "editor.cursorSmoothCaretAnimation": true, - "workbench.colorTheme": "Atom One Dark", - "workbench.iconTheme": "material-icon-theme", - "workbench.colorCustomizations": { - "activityBar.background": "#12141b", - "activityBar.foreground": "#a6accd", - "activityBarBadge.background": "#303340", - "activityBarBadge.foreground": "#e4f0fb", - "badge.background": "#303340", - "badge.foreground": "#e4f0fb", - "button.background": "#303340", - "diffEditor.insertedTextBackground": "#50647715", - "diffEditor.removedTextBackground": "#d0679d20", - "dropdown.background": "#12141b", - "dropdown.border": "#ffffff10", - "editor.background": "#14161f", - "editor.findMatchBackground": "#ADD7FF40", - "editor.findMatchBorder": "#ADD7FF", - "editor.findMatchHighlightBackground": "#ADD7FF40", - "editor.foreground": "#a6accd", - "editor.lineHighlightBackground": "#717cb425", - "editor.lineHighlightBorder": "#00000000", - "editor.selectionBackground": "#717cb425", - "editor.selectionHighlightBackground": "#00000000", - "editor.selectionHighlightBorder": "#ADD7FF80", - "editor.wordHighlightBackground": "#ADD7FF20", - "editor.wordHighlightStrongBackground": "#ADD7FF40", - "editorBracketMatch.border": "#e4f0fb40", - "editorCursor.foreground": "#a6accd", - "editorGroup.border": "#00000030", - "editorGroupHeader.tabsBackground": "#14161f", - "editorHoverWidget.background": "#14161f", - "editorHoverWidget.border": "#ffffff10", - "editorIndentGuide.background": "#303340", - "editorLineNumber.foreground": "#767c9d50", - "editorLink.activeForeground": "#ADD7FF", - "editorSuggestWidget.background": "#14161f", - "editorSuggestWidget.border": "#ffffff10", - "editorSuggestWidget.foreground": "#a6accd", - "editorSuggestWidget.highlightForeground": "#5DE4c7", - "editorSuggestWidget.selectedBackground": "#00000050", - "editorWidget.background": "#14161f", - "editor.findRangeHighlightBackground": "#ADD7FF40", - "editor.focusedStackFrameHighlightBackground": "#7abd7a4d", - "editor.foldBackground": "#717cb40b", - "editor.hoverHighlightBackground": "#264f7840", - "editor.inactiveSelectionBackground": "#717cb425", - "editor.linkedEditingBackground": "#d0679d4d", - "editor.rangeHighlightBackground": "#ffffff0b", - "editor.snippetFinalTabstopHighlightBorder": "#525252", - "editor.snippetTabstopHighlightBackground": "#7c7c7c4d", - "editor.stackFrameHighlightBackground": "#ffff0033", - "editor.symbolHighlightBackground": "#89ddff60", - "editorBracketMatch.background": "#00000000", - "editorCodeLens.foreground": "#a6accd", - "editorError.foreground": "#d0679d", - "editorGroup.dropBackground": "#7390AA80", - "editorGroupHeader.noTabsBackground": "#12141b", - "editorGutter.background": "#12141b", - "editorGutter.commentRangeForeground": "#a6accd", - "editorGutter.foldingControlForeground": "#a6accd", - "editorGutter.addedBackground": "#5fb3a140", - "editorGutter.deletedBackground": "#d0679d40", - "editorGutter.modifiedBackground": "#ADD7FF20", - "editorHint.foreground": "#7390AAb3", - "editorHoverWidget.foreground": "#a6accd", - "editorHoverWidget.statusBarBackground": "#202430", - "editorIndentGuide.activeBackground": "#e3e4e229", - "editorInfo.foreground": "#ADD7FF", - "editorInlineHint.background": "#a6accd", - "editorInlineHint.foreground": "#12141b", - "editorLightBulb.foreground": "#fffac2", - "editorLightBulbAutoFix.foreground": "#ADD7FF", - "editorLineNumber.activeForeground": "#a6accd", - "editorMarkerNavigation.background": "#2d2d30", - "editorMarkerNavigationError.background": "#d0679d", - "editorMarkerNavigationInfo.background": "#ADD7FF", - "editorMarkerNavigationWarning.background": "#fffac2", - "editorOverviewRuler.addedForeground": "#5fb3a199", - "editorOverviewRuler.border": "#00000000", - "editorOverviewRuler.bracketMatchForeground": "#a0a0a0", - "editorOverviewRuler.commonContentForeground": "#a6accd66", - "editorOverviewRuler.currentContentForeground": "#5fb3a180", - "editorOverviewRuler.deletedForeground": "#d0679d99", - "editorOverviewRuler.errorForeground": "#d0679db3", - "editorOverviewRuler.findMatchForeground": "#e4f0fb20", - "editorOverviewRuler.incomingContentForeground": "#89ddff80", - "editorOverviewRuler.infoForeground": "#ADD7FF", - "editorOverviewRuler.modifiedForeground": "#89ddff99", - "editorOverviewRuler.rangeHighlightForeground": "#89ddff99", - "editorOverviewRuler.selectionHighlightForeground": "#a0a0a0cc", - "editorOverviewRuler.warningForeground": "#fffac2", - "editorOverviewRuler.wordHighlightForeground": "#a0a0a0cc", - "editorOverviewRuler.wordHighlightStrongForeground": "#89ddffcc", - "editorPane.background": "#12141b", - "editorRuler.foreground": "#e4f0fb10", - "editorUnnecessaryCode.opacity": "#000000aa", - "editorWarning.foreground": "#fffac2", - "editorWhitespace.foreground": "#303340", - "editorWidget.border": "#a6accd", - "editorWidget.foreground": "#a6accd", - "extensionButton.prominentBackground": "#30334090", - "extensionButton.prominentHoverBackground": "#303340", - "focusBorder": "#00000000", - "input.background": "#ffffff05", - "input.border": "#ffffff10", - "input.foreground": "#e4f0fb", - "input.placeholderForeground": "#a6accd60", - "inputValidation.errorBorder": "#d0679d", - "inputValidation.errorForeground": "#d0679d", - "inputValidation.infoBorder": "#89ddff", - "inputValidation.warningBorder": "#fffac2", - "notifications.background": "#12141b", - "notifications.foreground": "#e4f0fb", - "panel.border": "#00000030", - "panelTitle.activeForeground": "#a6accd", - "peekView.border": "#00000030", - "peekViewEditor.background": "#a6accd05", - "peekViewEditorGutter.background": "#a6accd05", - "peekViewResult.background": "#a6accd05", - "peekViewTitle.background": "#a6accd05", - "peekViewTitleDescription.foreground": "#a6accd60", - "scrollbar.shadow": "#00000000", - "scrollbarSlider.activeBackground": "#a6accd25", - "scrollbarSlider.background": "#00000080", - "scrollbarSlider.hoverBackground": "#a6accd25", - "selection.background": "#a6accd", - "sideBar.background": "#12141b", - "sideBar.foreground": "#767c9d", - "sideBarSectionHeader.background": "#12141b", - "sideBarTitle.foreground": "#a6accd", - "statusBar.background": "#12141b", - "statusBar.foreground": "#a6accd", - "statusBar.noFolderBackground": "#12141b", - "tab.activeBackground": "#30334080", - "tab.activeForeground": "#e4f0fb", - "tab.border": "#00000000", - "tab.inactiveBackground": "#12141b", - "tab.inactiveForeground": "#767c9d", - "tab.unfocusedActiveForeground": "#a6accd", - "tab.activeModifiedBorder": "#ADD7FF", - "tab.inactiveModifiedBorder": "#ADD7FF80", - "tab.lastPinnedBorder": "#00000000", - "tab.unfocusedActiveBackground": "#12141b", - "tab.unfocusedActiveModifiedBorder": "#ADD7FF40", - "tab.unfocusedInactiveBackground": "#12141b", - "tab.unfocusedInactiveForeground": "#a6accd80", - "tab.unfocusedInactiveModifiedBorder": "#ADD7FF40", - "terminal.ansiBlack": "#12141b", - "terminal.ansiBlue": "#89ddff", - "terminal.ansiBrightBlack": "#a6accd", - "terminal.ansiBrightBlue": "#ADD7FF", - "terminal.ansiBrightCyan": "#ADD7FF", - "terminal.ansiBrightGreen": "#5DE4c7", - "terminal.ansiBrightMagenta": "#f087bd", - "terminal.ansiBrightRed": "#d0679d", - "terminal.ansiBrightWhite": "#ffffff", - "terminal.ansiBrightYellow": "#fffac2", - "terminal.ansiCyan": "#89ddff", - "terminal.ansiGreen": "#5DE4c7", - "terminal.ansiMagenta": "#f087bd", - "terminal.ansiRed": "#d0679d", - "terminal.ansiWhite": "#ffffff", - "terminal.ansiYellow": "#fffac2", - "textLink.activeForeground": "#ADD7FF", - "textLink.foreground": "#ADD7FF", - "titleBar.activeBackground": "#12141b", - "titleBar.activeForeground": "#a6accd", - "titleBar.inactiveBackground": "#12141b", - "titleBar.inactiveForeground": "#767c9d", - "tree.indentGuidesStroke": "#303340", - "widget.shadow": "#00000030", - "activityBar.activeBorder": "#a6accd", - "activityBar.dropBorder": "#a6accd", - "activityBar.inactiveForeground": "#a6accd66", - "breadcrumb.activeSelectionForeground": "#e4f0fb", - "breadcrumb.background": "#00000000", - "breadcrumb.focusForeground": "#e4f0fb", - "breadcrumb.foreground": "#767c9dcc", - "breadcrumbPicker.background": "#12141b", - "button.foreground": "#ffffff", - "button.hoverBackground": "#50647750", - "button.secondaryBackground": "#a6accd", - "button.secondaryForeground": "#ffffff", - "button.secondaryHoverBackground": "#a6accd", - "charts.blue": "#ADD7FF", - "charts.foreground": "#a6accd", - "charts.green": "#5DE4c7", - "charts.lines": "#a6accd80", - "charts.orange": "#89ddff", - "charts.purple": "#f087bd", - "charts.red": "#d0679d", - "charts.yellow": "#fffac2", - "checkbox.background": "#12141b", - "checkbox.border": "#ffffff10", - "checkbox.foreground": "#e4f0fb", - "debugConsole.errorForeground": "#d0679d", - "debugConsole.infoForeground": "#ADD7FF", - "debugConsole.sourceForeground": "#a6accd", - "debugConsole.warningForeground": "#fffac2", - "debugConsoleInputIcon.foreground": "#a6accd", - "debugExceptionWidget.background": "#d0679d", - "debugExceptionWidget.border": "#d0679d", - "debugIcon.breakpointCurrentStackframeForeground": "#fffac2", - "debugIcon.breakpointDisabledForeground": "#7390AA", - "debugIcon.breakpointForeground": "#d0679d", - "debugIcon.breakpointStackframeForeground": "#5fb3a1", - "debugIcon.breakpointUnverifiedForeground": "#7390AA", - "debugIcon.continueForeground": "#ADD7FF", - "debugIcon.disconnectForeground": "#d0679d", - "debugIcon.pauseForeground": "#ADD7FF", - "debugIcon.restartForeground": "#5fb3a1", - "debugIcon.startForeground": "#5fb3a1", - "debugIcon.stepBackForeground": "#ADD7FF", - "debugIcon.stepIntoForeground": "#ADD7FF", - "debugIcon.stepOutForeground": "#ADD7FF", - "debugIcon.stepOverForeground": "#ADD7FF", - "debugIcon.stopForeground": "#d0679d", - "debugTokenExpression.boolean": "#89ddff", - "debugTokenExpression.error": "#d0679d", - "debugTokenExpression.name": "#e4f0fb", - "debugTokenExpression.number": "#5fb3a1", - "debugTokenExpression.string": "#89ddff", - "debugTokenExpression.value": "#a6accd99", - "debugToolBar.background": "#303340", - "debugView.exceptionLabelBackground": "#d0679d", - "debugView.exceptionLabelForeground": "#e4f0fb", - "debugView.stateLabelBackground": "#303340", - "debugView.stateLabelForeground": "#a6accd", - "debugView.valueChangedHighlight": "#89ddff", - "descriptionForeground": "#a6accdb3", - "diffEditor.diagonalFill": "#a6accd33", - "dropdown.foreground": "#e4f0fb", - "errorForeground": "#d0679d", - "extensionBadge.remoteBackground": "#303340", - "extensionBadge.remoteForeground": "#e4f0fb", - "extensionButton.prominentForeground": "#ffffff", - "extensionIcon.starForeground": "#fffac2", - "foreground": "#a6accd", - "gitDecoration.addedResourceForeground": "#5fb3a1", - "gitDecoration.conflictingResourceForeground": "#d0679d", - "gitDecoration.deletedResourceForeground": "#d0679d", - "gitDecoration.ignoredResourceForeground": "#767c9d70", - "gitDecoration.modifiedResourceForeground": "#ADD7FF", - "gitDecoration.renamedResourceForeground": "#5DE4c7", - "gitDecoration.stageDeletedResourceForeground": "#d0679d", - "gitDecoration.stageModifiedResourceForeground": "#ADD7FF", - "gitDecoration.submoduleResourceForeground": "#89ddff", - "gitDecoration.untrackedResourceForeground": "#5DE4c7", - "icon.foreground": "#a6accd", - "imagePreview.border": "#303340", - "inputOption.activeBackground": "#00000000", - "inputOption.activeBorder": "#00000000", - "inputOption.activeForeground": "#ffffff", - "inputValidation.errorBackground": "#12141b", - "inputValidation.infoBackground": "#506477", - "inputValidation.warningBackground": "#506477", - "list.deemphasizedForeground": "#767c9d", - "list.dropBackground": "#506477", - "list.filterMatchBackground": "#89ddff60", - "list.focusOutline": "#00000000", - "list.invalidItemForeground": "#fffac2", - "list.warningForeground": "#fffac2", - "listFilterWidget.background": "#303340", - "listFilterWidget.noMatchesOutline": "#d0679d", - "listFilterWidget.outline": "#00000000", - "list.activeSelectionBackground": "#30334080", - "list.activeSelectionForeground": "#e4f0fb", - "list.errorForeground": "#d0679d", - "list.focusBackground": "#30334080", - "list.focusForeground": "#a6accd", - "list.highlightForeground": "#5fb3a1", - "list.hoverBackground": "#30334080", - "list.hoverForeground": "#e4f0fb", - "list.inactiveSelectionBackground": "#30334080", - "list.inactiveSelectionForeground": "#e4f0fb", - "menu.background": "#12141b", - "menu.foreground": "#e4f0fb", - "menu.selectionBackground": "#303340", - "menu.selectionForeground": "#7390AA", - "menu.separatorBackground": "#767c9d", - "menubar.selectionBackground": "#717cb425", - "menubar.selectionForeground": "#a6accd", - "merge.commonContentBackground": "#a6accd29", - "merge.commonHeaderBackground": "#a6accd66", - "merge.currentContentBackground": "#5fb3a133", - "merge.currentHeaderBackground": "#5fb3a180", - "merge.incomingContentBackground": "#89ddff33", - "merge.incomingHeaderBackground": "#89ddff80", - "minimap.errorHighlight": "#d0679d", - "minimap.findMatchHighlight": "#ADD7FF", - "minimap.selectionHighlight": "#e4f0fb40", - "minimap.warningHighlight": "#fffac2", - "minimapGutter.addedBackground": "#5fb3a180", - "minimapGutter.deletedBackground": "#d0679d80", - "minimapGutter.modifiedBackground": "#ADD7FF80", - "minimapSlider.activeBackground": "#a6accd30", - "minimapSlider.background": "#a6accd20", - "minimapSlider.hoverBackground": "#a6accd30", - "notebook.cellBorderColor": "#12141b", - "notebook.cellInsertionIndicator": "#00000000", - "notebook.cellStatusBarItemHoverBackground": "#ffffff26", - "notebook.cellToolbarSeparator": "#303340", - "notebook.focusedCellBorder": "#00000000", - "notebook.focusedEditorBorder": "#00000000", - "notebook.focusedRowBorder": "#00000000", - "notebook.inactiveFocusedCellBorder": "#00000000", - "notebook.outputContainerBackgroundColor": "#12141b", - "notebook.rowHoverBackground": "#30334000", - "notebook.selectedCellBackground": "#303340", - "notebook.selectedCellBorder": "#12141b", - "notebook.symbolHighlightBackground": "#ffffff0b", - "notebookScrollbarSlider.activeBackground": "#a6accd25", - "notebookScrollbarSlider.background": "#00000050", - "notebookScrollbarSlider.hoverBackground": "#a6accd25", - "notebookStatusErrorIcon.foreground": "#d0679d", - "notebookStatusRunningIcon.foreground": "#a6accd", - "notebookStatusSuccessIcon.foreground": "#5fb3a1", - "notificationCenterHeader.background": "#303340", - "notificationLink.foreground": "#ADD7FF", - "notifications.border": "#303340", - "notificationsErrorIcon.foreground": "#d0679d", - "notificationsInfoIcon.foreground": "#ADD7FF", - "notificationsWarningIcon.foreground": "#fffac2", - "panel.background": "#12141b", - "panel.dropBorder": "#a6accd", - "panelSection.border": "#12141b", - "panelSection.dropBackground": "#7390AA80", - "panelSectionHeader.background": "#303340", - "panelTitle.activeBorder": "#a6accd", - "panelTitle.inactiveForeground": "#a6accd99", - "peekViewEditor.matchHighlightBackground": "#303340", - "peekViewResult.fileForeground": "#ffffff", - "peekViewResult.lineForeground": "#a6accd", - "peekViewResult.matchHighlightBackground": "#303340", - "peekViewResult.selectionBackground": "#717cb425", - "peekViewResult.selectionForeground": "#ffffff", - "peekViewTitleLabel.foreground": "#ffffff", - "pickerGroup.border": "#a6accd", - "pickerGroup.foreground": "#89ddff", - "problemsErrorIcon.foreground": "#d0679d", - "problemsInfoIcon.foreground": "#ADD7FF", - "problemsWarningIcon.foreground": "#fffac2", - "progressBar.background": "#89ddff", - "quickInput.background": "#12141b", - "quickInput.foreground": "#a6accd", - "quickInputList.focusBackground": "#a6accd10", - "quickInputTitle.background": "#ffffff1b", - "sash.hoverBorder": "#00000000", - "scm.providerBorder": "#e4f0fb10", - "searchEditor.findMatchBackground": "#ADD7FF50", - "searchEditor.textInputBorder": "#ffffff10", - "settings.checkboxBackground": "#12141b", - "settings.checkboxBorder": "#ffffff10", - "settings.checkboxForeground": "#e4f0fb", - "settings.dropdownBackground": "#12141b", - "settings.dropdownBorder": "#ffffff10", - "settings.dropdownForeground": "#e4f0fb", - "settings.dropdownListBorder": "#e4f0fb10", - "settings.focusedRowBackground": "#00000000", - "settings.headerForeground": "#e4f0fb", - "settings.modifiedItemIndicator": "#ADD7FF", - "settings.numberInputBackground": "#ffffff05", - "settings.numberInputBorder": "#ffffff10", - "settings.numberInputForeground": "#e4f0fb", - "settings.textInputBackground": "#ffffff05", - "settings.textInputBorder": "#ffffff10", - "settings.textInputForeground": "#e4f0fb", - "sideBar.dropBackground": "#7390AA80", - "sideBarSectionHeader.foreground": "#a6accd", - "statusBar.debuggingBackground": "#303340", - "statusBar.debuggingForeground": "#ffffff", - "statusBar.noFolderForeground": "#a6accd", - "statusBarItem.activeBackground": "#ffffff2e", - "statusBarItem.errorBackground": "#d0679d", - "statusBarItem.errorForeground": "#ffffff", - "statusBarItem.hoverBackground": "#ffffff1f", - "statusBarItem.prominentBackground": "#00000080", - "statusBarItem.prominentForeground": "#a6accd", - "statusBarItem.prominentHoverBackground": "#0000004d", - "statusBarItem.remoteBackground": "#303340", - "statusBarItem.remoteForeground": "#e4f0fb", - "symbolIcon.arrayForeground": "#a6accd", - "symbolIcon.booleanForeground": "#a6accd", - "symbolIcon.classForeground": "#fffac2", - "symbolIcon.colorForeground": "#a6accd", - "symbolIcon.constantForeground": "#a6accd", - "symbolIcon.constructorForeground": "#f087bd", - "symbolIcon.enumeratorForeground": "#fffac2", - "symbolIcon.enumeratorMemberForeground": "#ADD7FF", - "symbolIcon.eventForeground": "#fffac2", - "symbolIcon.fieldForeground": "#ADD7FF", - "symbolIcon.fileForeground": "#a6accd", - "symbolIcon.folderForeground": "#a6accd", - "symbolIcon.functionForeground": "#f087bd", - "symbolIcon.interfaceForeground": "#ADD7FF", - "symbolIcon.keyForeground": "#a6accd", - "symbolIcon.keywordForeground": "#a6accd", - "symbolIcon.methodForeground": "#f087bd", - "symbolIcon.moduleForeground": "#a6accd", - "symbolIcon.namespaceForeground": "#a6accd", - "symbolIcon.nullForeground": "#a6accd", - "symbolIcon.numberForeground": "#a6accd", - "symbolIcon.objectForeground": "#a6accd", - "symbolIcon.operatorForeground": "#a6accd", - "symbolIcon.packageForeground": "#a6accd", - "symbolIcon.propertyForeground": "#a6accd", - "symbolIcon.referenceForeground": "#a6accd", - "symbolIcon.snippetForeground": "#a6accd", - "symbolIcon.stringForeground": "#a6accd", - "symbolIcon.structForeground": "#a6accd", - "symbolIcon.textForeground": "#a6accd", - "symbolIcon.typeParameterForeground": "#a6accd", - "symbolIcon.unitForeground": "#a6accd", - "symbolIcon.variableForeground": "#ADD7FF", - "terminal.border": "#00000000", - "terminal.foreground": "#a6accd", - "terminal.selectionBackground": "#717cb425", - "terminalCommandDecoration.errorBackground": "#d0679d", - "terminalCommandDecoration.successBackground": "#5DE4c7", - "terminalCommandDecoration.defaultBackground": "#767c9d", - "testing.iconErrored": "#d0679d", - "testing.iconFailed": "#d0679d", - "testing.iconPassed": "#5DE4c7", - "testing.iconQueued": "#fffac2", - "testing.iconSkipped": "#7390AA", - "testing.iconUnset": "#7390AA", - "testing.message.error.decorationForeground": "#d0679d", - "testing.message.error.lineBackground": "#d0679d33", - "testing.message.hint.decorationForeground": "#7390AAb3", - "testing.message.info.decorationForeground": "#ADD7FF", - "testing.message.info.lineBackground": "#89ddff33", - "testing.message.warning.decorationForeground": "#fffac2", - "testing.message.warning.lineBackground": "#fffac233", - "testing.peekBorder": "#d0679d", - "testing.runAction": "#5DE4c7", - "textBlockQuote.background": "#7390AA1a", - "textBlockQuote.border": "#89ddff80", - "textCodeBlock.background": "#00000050", - "textPreformat.foreground": "#e4f0fb", - "textSeparator.foreground": "#ffffff2e", - "tree.tableColumnsBorder": "#a6accd20", - "welcomePage.progress.background": "#ffffff05", - "welcomePage.progress.foreground": "#5fb3a1", - "welcomePage.tileBackground": "#12141b", - "welcomePage.tileHoverBackground": "#303340" - }, -} diff --git a/configs/WebCord/custom.theme.css b/configs/WebCord/custom.theme.css deleted file mode 100644 index 03b8dd096..000000000 --- a/configs/WebCord/custom.theme.css +++ /dev/null @@ -1,169 +0,0 @@ - -/** - * @name Zelk - * @version 1.2.2 - * @description a smooth theme inspired by zorin - * @author schnensch - * @authorId 652801938374656013 - * @source https://github.com/schnensch0/zelk - * @invite tMEcBhsNqA - */ -/* โ–€โ–€โ–ˆ โ–ˆโ–€โ–€ โ–ˆ โ–ˆ โ–ˆ - โ–„โ–€ โ–ˆโ–€โ–€ โ–ˆ โ–ˆโ–€โ–„ - โ–€โ–€โ–€ โ–€โ–€โ–€ โ–€โ–€โ–€ โ–€ โ–€ */ - /*--------------IMPORTS------------- */ -@import url(https://schnensch0.github.io/zelk/main.css); -@import url(https://discord-custom-covers.github.io/usrbg/dist/usrbg.css); -@import url(https://mwittrien.github.io/BetterDiscordAddons/Themes/_res/SettingsIcons.css); -/*--------------COLORS---------------*/ -/*------remove / and * to apply------*/ -/* @import url(https://raw.githack.com/schnensch0/zelk/main/colors/blue.css); */ -/* @import url(https://raw.githack.com/schnensch0/zelk/main/colors/green.css); */ -/* @import url(https://raw.githack.com/schnensch0/zelk/main/colors/gray.css); */ -/* @import url(https://raw.githack.com/schnensch0/zelk/main/colors/orange.css); */ -/* @import url(https://raw.githack.com/schnensch0/zelk/main/colors/purple.css); */ -/* @import url(https://raw.githack.com/schnensch0/zelk/main/colors/red.css); */ -/* @import url(https://raw.githack.com/schnensch0/zelk/main/colors/discord.css); */ -/*-------------VARIABLES-------------*/ -:root { - /* set to 'unset' to show */ - --scrollbars: none; - /* user notes */ - --notes: none; - /* direct message box */ - --message: none; - /* set to '4px solid' to show */ - --embed-color: none; - /* set to 'Inter', sans-serif !important to use Inter font*/ - --font-primary: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif; - --font-display: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif !important; - --border-radius-1: 10px; - --border-radius-2: 8px; -} -/*-----------CUSTOM COLORS-----------*/ -/*-------------DARK MODE-------------*/ -/*---------------BASIC---------------*/ -.theme-dark { - --accent-color: #bde6fb; - --background-1: #191d24; - --background-2: #141820; - --background-accent: #161a20; - --border-color: #273034; -} -/*-------------LIGHT MODE------------*/ -.theme-light { - --accent-color: #22c5fd; - --background-1: #ffffff; - --background-2: #f5f7fa; - --background-accent: var(--background-2); - --border-color: transparent; -} -/*-------------ADVANCED--------------*/ -.theme-dark { - /* background */ - --background-primary: var(--background-1); - --background-primary-alt: var(--background-1); - --background-secondary: var(--background-1); - --background-secondary-alt: var(--background-1); - --background-tertiary: var(--background-2); - --background-accent-gradient: var(--background-2); - --background-floating: var(--background-1); - --background-mentioned: #bde6fb10; - --background-mentioned-hover: #bde6fb15; - /* modifiers */ - --background-modifier-hover: #262e33; - --background-modifier-active: #495a63; - --background-modifier-selected: var(--accent-color); - --background-modifier-accent: transparent; - --background-message-hover: transparent; - /* text */ - --text-normal: var(--accent-color); - --text-positive: var(--text-normal); - --text-muted: #6d8692; - --text-link: #edf8fe; - --interactive-selected: var(--background-primary); - --interactive-active: var(--text-normal); - --interactive-normal: var(--text-normal); - --interactive-muted: var(--button-background-active); - --channels-default: var(--text-muted); - --header-primary: var(--text-normal); - --header-secondary: var(--text-muted); - /* more */ - --settings-icon-color: #8eacbc; - --control-brand-foreground: var(--accent-color); - --info-warning-foreground: var(--accent-color); - --tab-selected: #354249; - --switch: #3d4c53; - --activity-card-background: var(--background-1); - --brand-experiment: var(--accent-color) !important; - /* buttons */ - --button-background: #111b20; - --button-background-hover: #182329; - --button-background-active: #23343d; - --button-accent: var(--accent-color); - --button-accent-hover: #d2f3ff; - --button-accent-active: #8dd4f8; - --button-destructive: #fb7c7c; - --button-destructive-hover: #ff929b; - --button-destructive-active: #fa4a4a; -} -.theme-light { - /* background */ - --background-primary: var(--background-1); - --background-primary-alt: var(--background-1); - --background-secondary: var(--background-1); - --background-secondary-alt: var(--background-1); - --background-tertiary: var(--background-2); - --background-accent-gradient: var(--background-2); - --background-floating: var(--background-1); - --background-mentioned: #22c5fd10; - --background-mentioned-hover: #22c5fd15; - /* modifiers */ - --background-modifier-hover: transparent; - --background-modifier-active: #b7c2cc; - --background-modifier-selected: var(--accent-color); - --background-modifier-accent: transparent; - --background-message-hover: transparent; - /* text */ - --text-normal: #123354; - --text-positive: var(--text-normal); - --text-muted: #8495a7; - --text-link: #15a6f0; - --interactive-selected: var(--background-primary); - --interactive-active: var(--text-normal); - --interactive-normal: var(--text-normal); - --interactive-muted: var(--text-muted); - --channels-default: var(--text-normal); - --header-primary: var(--text-normal); - --header-secondary: var(--text-muted); - /* more */ - --settings-icon-color: #566e86; - --control-brand-foreground: var(--accent-color); - --info-warning-foreground: var(--accent-color); - --tab-selected: var(--background-1); - --switch: #c8d0d9; - --activity-card-background: var(--background-1); - --brand-experiment: var(--accent-color) !important; - /* buttons */ - --button-background: var(--background-1); - --button-background-hover: #d3dae1; - --button-background-active: #b1bcc8; - --button-accent: var(--accent-color); - --button-accent-hover: #22c5fd; - --button-accent-active: #0d87c5; - --button-destructive: #fb7c7c; - --button-destructive-hover: #ff929b; - --button-destructive-active: #fa4a4a; -} -/*-----------DON'T CHANGE------------*/ -:root { - --outdated-122: none !important; -} -/* usrbg | snippet by _david_#0218 */ -.userPopout-2j1gM4[style*="--user-background"] .banner-1YaD3N, .root-8LYsGj[style*="--user-background"] .banner-1YaD3N { - height: 120px; - background: var(--background-tertiary) var(--user-background) var(--user-popout-position, center) center / cover !important; -} -.root-8LYsGj[style*="--user-background"] .banner-1YaD3N { - height: 240px; -} diff --git a/configs/alacritty/alacritty.yml b/configs/alacritty/alacritty.yml deleted file mode 100644 index ab07f4c2b..000000000 --- a/configs/alacritty/alacritty.yml +++ /dev/null @@ -1,157 +0,0 @@ -env: - # TERM variable - # - # This value is used to set the `$TERM` environment variable for - # each instance of Alacritty. If it is not present, alacritty will - # check the local terminfo database and use `alacritty` if it is - # available, otherwise `xterm-256color` is used. - TERM: 'xterm-256color' - -window: - # Window padding (changes require restart) - # - # Blank space added around the window in pixels. This padding is scaled - # by DPI and the specified value is always added at both opposing sides. - padding: - x: 24 - y: 24 - decorations: none - dimensions: - columns: 80 - lines: 35 - opacity: 0.7 - -scrolling: - # Maximum number of lines in the scrollback buffer. - # Specifying '0' will disable scrolling. - history: 1000 - - # Scrolling distance multiplier. - multiplier: 3 - -# Font configuration -font: - # Normal (roman) font face - normal: - # Font family - # - # Default: - # - (macOS) Menlo - # - (Linux/BSD) monospace - # - (Windows) Consolas - family: 'JetBrains Mono Nerd Font' - - # The `style` can be specified to pick a specific face. - style: Regular - - # Bold font face - bold: - # Font family - # - # If the bold family is not specified, it will fall back to the - # value specified for the normal font. - family: 'JetBrains Mono Nerd Font' - - # The `style` can be specified to pick a specific face. - style: Bold - - # Italic font face - italic: - # Font family - # - # If the italic family is not specified, it will fall back to the - # value specified for the normal font. - family: 'JetBrains Mono Nerd Font' - - # The `style` can be specified to pick a specific face. - style: Italic - - # Point size - size: 13 - - offset: - y: 0 - - glyph_offset: - y: 0 - -# Colors (Poimandres) -colors: - # Default colors - primary: - background: "0x131621" - foreground: "0xa6accd" - - # Cursor colors - cursor: - text: CellBackground - cursor: CellForeground - - # Search colors - # - # Colors used for the search bar and match highlighting. - search: - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - matches: - foreground: "0x1b1e28" - background: "0xadd7ff" - - focused_match: - foreground: "0x1b1e28" - background: "0xadd7ff" - - - # Selection colors - # - # Colors which should be used to draw the selection area. - # - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - selection: - text: CellForeground - background: "0x303340" - - # Vi mode cursor colors - # - # Colors for the cursor when the vi mode is active. - # - # Allowed values are CellForeground/CellBackground, which reference the - # affected cell, or hexadecimal colors like #ff00ff. - vi_mode_cursor: - text: CellBackground - cursor: CellForeground - - # Normal colors - normal: - black: "0x1b1e28" - red: "0xd0679d" - green: "0x5de4c7" - yellow: "0xfffac2" - blue: "#435c89" - magenta: "0xfcc5e9" - cyan: "0xadd7ff" - white: "0xffffff" - - # Bright colors - bright: - black: "0xa6accd" - red: "0xd0679d" - green: "0x5de4c7" - yellow: "0xfffac2" - blue: "0xadd7ff" - magenta: "0xfae4fc" - cyan: "0x89ddff" - white: "0xffffff" - -cursor: - # Cursor style - # - # Values for `style`: - # - โ–‡ Block - # - _ Underline - # - | Beam - style: 'Underline' - - vi_mode_style: 'Underline' -theme: iTerm-Default diff --git a/configs/cava/config b/configs/cava/config new file mode 100644 index 000000000..6c43269f7 --- /dev/null +++ b/configs/cava/config @@ -0,0 +1,325 @@ +## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. + + +[general] + +# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. +mode = normal + +# Accepts only non-negative values. +framerate = 60 + +# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off +# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. +; autosens = 1 +; overshoot = 20 + +# Manual sensitivity in %. Autosens must be turned off for this to take effect. +# 200 means double height. Accepts only non-negative values. +; sensitivity = 100 + +# The number of bars (0-200). 0 sets it to auto (fill up console). +# Bars' width and space between bars in number of characters. +bars = 0 +bar_width = 4 +bar_spacing = 1 + +# Lower and higher cutoff frequencies for lowest and highest bars +# the bandwidth of the visualizer. +# Note: there is a minimum total bandwidth of 43Mhz x number of bars. +# Cava will automatically increase the higher cutoff if a too low band is specified. +; lower_cutoff_freq = 50 +; higher_cutoff_freq = 10000 + + + +[input] + +# Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'. +# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink +# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). +# +# For alsa 'source' will be the capture device. +# For fifo 'source' will be the path to fifo-file. +method = pulse +source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = fifo +; source = /tmp/mpd.fifo + + + +[output] + +# Ouput method. Can be 'ncurses', 'noncurses' or 'raw'. +# 'noncurses' is for systems that does not suport ncurses. +# 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications. +# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above. +method = ncurses + +# Visual styles. Can be 'stereo' or 'mono'. +# 'stereo' mirrors both channels with low frequencies in center. +# 'mono' averages both channels and outputs left to right lowest to highest frequencies. +style = mono + +# Raw output target. A fifo will be created if target does not exist. +; raw_target = /dev/stdout + +# Raw data format. Can be 'binary' or 'ascii'. +; data_format = binary + +# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530). +; bit_format = 16bit + +# Ascii max value. In 'ascii' mode range will run from 0 to value specified here +; ascii_max_range = 1000 + +# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters. +# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)). +; bar_delimiter = 59 +; frame_delimiter = 10 + + + +# [color] + +# # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. +# # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a +# # terminal that can change color definitions such as Gnome-terminal or rxvt. +# ; background = black +# ; foreground = cyan + +# # Gradient mode, only hex defined colors are supported, background must also be defined in hex +# # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will +# # not able to restore color definitions on exit, simply restart your terminal to restore colors. +# gradient = 1 +# gradient_color_1 = '#0099ff' +# gradient_color_2 = '#ff3399' + + + +[smoothing] + +# Multiplier for the integral smoothing calculations. Takes values from 0-0.99. +# Higher values means smoother, but less precise. Set to 0 to disable. +; integral = 0.7 + +# Disables or enables the so-called "Monstercat smoothing". Set to 0 to disable. +; monstercat = 1 +; waves = 1 + +# Set gravity multiplier for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 0.5 means half gravity, 2 means double. Set to 0 to disable "drop off". +; gravity = 1 + + +# In bar height, bars that would have been lower that this will not be drawn. +; ignore = 0 + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more then one key! More keys = more precision. +# Look at readme.md on github for further explanations and examples. +; 1 = 1 # bass +; 2 = 1 +; 3 = 1 # midtone +; 4 = 1 +; 5 = 1 # treble + + +[color] + +gradient = 1 +gradient_count = 6 +gradient_color_1 = '#31748f' +gradient_color_2 = '#9ccfd8' +gradient_color_3 = '#c4a7e7' +gradient_color_4 = '#ebbcba' +gradient_color_5 = '#f6c177' +gradient_color_6 = '#eb6f92' + +[color] + +gradient = 1 + +gradient_color_1 = '#94e2d5' +gradient_color_2 = '#89dceb' +gradient_color_3 = '#74c7ec' +gradient_color_4 = '#89b4fa' +gradient_color_5 = '#cba6f7' +gradient_color_6 = '#f5c2e7' +gradient_color_7 = '#eba0ac' +gradient_color_8 = '#f38ba8' +## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting. + + +[general] + +# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. +mode = normal + +# Accepts only non-negative values. +framerate = 60 + +# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off +# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. +; autosens = 1 +; overshoot = 20 + +# Manual sensitivity in %. Autosens must be turned off for this to take effect. +# 200 means double height. Accepts only non-negative values. +; sensitivity = 100 + +# The number of bars (0-200). 0 sets it to auto (fill up console). +# Bars' width and space between bars in number of characters. +bars = 0 +bar_width = 4 +bar_spacing = 1 + +# Lower and higher cutoff frequencies for lowest and highest bars +# the bandwidth of the visualizer. +# Note: there is a minimum total bandwidth of 43Mhz x number of bars. +# Cava will automatically increase the higher cutoff if a too low band is specified. +; lower_cutoff_freq = 50 +; higher_cutoff_freq = 10000 + + + +[input] + +# Audio capturing method. Possible methods are: 'pulse', 'alsa' or 'fifo'. +# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with. +# +# All input methods uses the same config variable 'source' +# to define where it should get the audio. +# +# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink +# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them). +# +# For alsa 'source' will be the capture device. +# For fifo 'source' will be the path to fifo-file. +method = pulse +source = auto + +; method = alsa +; source = hw:Loopback,1 + +; method = fifo +; source = /tmp/mpd.fifo + + + +[output] + +# Ouput method. Can be 'ncurses', 'noncurses' or 'raw'. +# 'noncurses' is for systems that does not suport ncurses. +# 'raw' is a 16 bit data stream of the bar heights that can be used to send to other applications. +# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above. +method = ncurses + +# Visual styles. Can be 'stereo' or 'mono'. +# 'stereo' mirrors both channels with low frequencies in center. +# 'mono' averages both channels and outputs left to right lowest to highest frequencies. +style = mono + +# Raw output target. A fifo will be created if target does not exist. +; raw_target = /dev/stdout + +# Raw data format. Can be 'binary' or 'ascii'. +; data_format = binary + +# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530). +; bit_format = 16bit + +# Ascii max value. In 'ascii' mode range will run from 0 to value specified here +; ascii_max_range = 1000 + +# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters. +# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)). +; bar_delimiter = 59 +; frame_delimiter = 10 + + + +# [color] + +# # Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. +# # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires a +# # terminal that can change color definitions such as Gnome-terminal or rxvt. +# ; background = black +# ; foreground = cyan + +# # Gradient mode, only hex defined colors are supported, background must also be defined in hex +# # or remain commented out. 1 = on, 0 = off. Warning: for certain terminal emulators cava will +# # not able to restore color definitions on exit, simply restart your terminal to restore colors. +# gradient = 1 +# gradient_color_1 = '#0099ff' +# gradient_color_2 = '#ff3399' + + + +[smoothing] + +# Multiplier for the integral smoothing calculations. Takes values from 0-0.99. +# Higher values means smoother, but less precise. Set to 0 to disable. +; integral = 0.7 + +# Disables or enables the so-called "Monstercat smoothing". Set to 0 to disable. +; monstercat = 1 +; waves = 1 + +# Set gravity multiplier for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 0.5 means half gravity, 2 means double. Set to 0 to disable "drop off". +; gravity = 1 + + +# In bar height, bars that would have been lower that this will not be drawn. +; ignore = 0 + + +[eq] + +# This one is tricky. You can have as much keys as you want. +# Remember to uncomment more then one key! More keys = more precision. +# Look at readme.md on github for further explanations and examples. +; 1 = 1 # bass +; 2 = 1 +; 3 = 1 # midtone +; 4 = 1 +; 5 = 1 # treble + + +[color] + +gradient = 1 +gradient_count = 6 +gradient_color_1 = '#31748f' +gradient_color_2 = '#9ccfd8' +gradient_color_3 = '#c4a7e7' +gradient_color_4 = '#ebbcba' +gradient_color_5 = '#f6c177' +gradient_color_6 = '#eb6f92' + +[color] + +gradient = 1 + +gradient_color_1 = '#94e2d5' +gradient_color_2 = '#89dceb' +gradient_color_3 = '#74c7ec' +gradient_color_4 = '#89b4fa' +gradient_color_5 = '#cba6f7' +gradient_color_6 = '#f5c2e7' +gradient_color_7 = '#eba0ac' +gradient_color_8 = '#f38ba8' + diff --git a/configs/dunst/assets/ui/brightness-high.svg b/configs/dunst/assets/ui/brightness-high.svg deleted file mode 100644 index a1dddf1be..000000000 --- a/configs/dunst/assets/ui/brightness-high.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/configs/dunst/assets/ui/brightness-low.svg b/configs/dunst/assets/ui/brightness-low.svg deleted file mode 100644 index f585bd7a9..000000000 --- a/configs/dunst/assets/ui/brightness-low.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/configs/dunst/assets/ui/brightness-medium.svg b/configs/dunst/assets/ui/brightness-medium.svg deleted file mode 100644 index 16023cb31..000000000 --- a/configs/dunst/assets/ui/brightness-medium.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/configs/dunst/assets/ui/brightness-off.svg b/configs/dunst/assets/ui/brightness-off.svg deleted file mode 100644 index 73451c489..000000000 --- a/configs/dunst/assets/ui/brightness-off.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/configs/dunst/assets/ui/brightness_down.png b/configs/dunst/assets/ui/brightness_down.png new file mode 100644 index 000000000..b4b397fd4 Binary files /dev/null and b/configs/dunst/assets/ui/brightness_down.png differ diff --git a/configs/dunst/assets/ui/brightness_up.png b/configs/dunst/assets/ui/brightness_up.png new file mode 100644 index 000000000..a18297ed9 Binary files /dev/null and b/configs/dunst/assets/ui/brightness_up.png differ diff --git a/configs/dunst/assets/ui/volume_down.png b/configs/dunst/assets/ui/volume_down.png new file mode 100644 index 000000000..cc1810db1 Binary files /dev/null and b/configs/dunst/assets/ui/volume_down.png differ diff --git a/configs/dunst/assets/ui/volume_high.svg b/configs/dunst/assets/ui/volume_high.svg deleted file mode 100644 index 38ae1e89a..000000000 --- a/configs/dunst/assets/ui/volume_high.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/configs/dunst/assets/ui/volume_low.svg b/configs/dunst/assets/ui/volume_low.svg deleted file mode 100644 index 24f049787..000000000 --- a/configs/dunst/assets/ui/volume_low.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/configs/dunst/assets/ui/volume_medium.svg b/configs/dunst/assets/ui/volume_medium.svg deleted file mode 100644 index 1a564bb86..000000000 --- a/configs/dunst/assets/ui/volume_medium.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/configs/dunst/assets/ui/volume_off.svg b/configs/dunst/assets/ui/volume_off.svg deleted file mode 100644 index 54f33f4df..000000000 --- a/configs/dunst/assets/ui/volume_off.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/configs/dunst/assets/ui/volume_up.png b/configs/dunst/assets/ui/volume_up.png new file mode 100644 index 000000000..0926b7198 Binary files /dev/null and b/configs/dunst/assets/ui/volume_up.png differ diff --git a/configs/eww/assets/ghost.png b/configs/eww/assets/ghost.png deleted file mode 100644 index 8a692e59e..000000000 Binary files a/configs/eww/assets/ghost.png and /dev/null differ diff --git a/configs/eww/css/_calendar.scss b/configs/eww/css/_calendar.scss deleted file mode 100644 index added0b31..000000000 --- a/configs/eww/css/_calendar.scss +++ /dev/null @@ -1,33 +0,0 @@ -.calendar-win { - @include window; - background-color: $bg; - border: 1px solid $border; - border-radius: 13px; - color: $fg; - padding: .1em; -} - -calendar { - padding: 5px; - border-radius: 13px; - :selected { - color: $mauve; - } - - .header { - color: $subtext1; - } - - .highlight { - color: $maroon; - font-weight: bold; - } - - .button { - color: $sapphire; - } - - :indeterminate { - color: $overlay0; - } -} diff --git a/configs/eww/css/_colors.scss b/configs/eww/css/_colors.scss deleted file mode 100644 index a15901cba..000000000 --- a/configs/eww/css/_colors.scss +++ /dev/null @@ -1,36 +0,0 @@ -$rosewater: #f5e0dc; -$flamingo: #f2cdcd; -$pink: #f5c2e7; -$mauve: #cba6f7; -$red: #f38ba8; -$maroon: #eba0ac; -$peach: #fab387; -$yellow: #f9e2af; -$green: #a6e3a1; -$teal: #94e2d5; -$sky: #89dceb; -$sapphire: #74c7ec; -$blue: #89b4fa; -$lavender: #b4befe; -$white: #cdd6f4; - -$text: #cdd6f4; -$subtext1: #bac2de; -$subtext0: #a6adc8; -$overlay2: #9399b2; -$overlay1: #7f849c; -$overlay0: #6c7086; - -$surface2: #585b70; -$surface1: #45475a; -$surface0: #313244; - -$base: #141521; -$mantle: #181825; -$crust: #11111b; - -$fg: $text; -$bg: $base; -$bg1: $surface0; -$border: #28283d; -$shadow: $crust; diff --git a/configs/eww/css/_music.scss b/configs/eww/css/_music.scss deleted file mode 100644 index e6259a54f..000000000 --- a/configs/eww/css/_music.scss +++ /dev/null @@ -1,64 +0,0 @@ -.song-cover-art { - @include rounding; - background-position: center; - background-size: cover; - margin: 4px 5px 4px 0; - min-height: 24px; - min-width: 24px; -} - -.music-window { - @include window; - background-color: $bg; - border: 1px solid $border; - color: $fg; -} - -.music-cover-art { - background-position: center; - background-size: cover; - border-radius: 8px; - margin: 1em; - min-height: 170px; - min-width: 170px; -} - -.music-box { - margin: 1rem 1rem 1rem 0; -} - -.music-title { - font-weight: bold; - font-size: 1.1rem; -} - -.music-artist { - color: $subtext1; - font-family: ProductSans; - -} - -.music-button label { - color: $subtext1; - font-size: 2rem; -} - -.music-time { - color: $subtext1; - margin: 0 1rem; -} - -.music-bar scale { - highlight { - background-image: linear-gradient(to right, $teal, $sky); - border-radius: 24px; - } - - trough { - background-color: $bg1; - border-radius: 24px; - margin-top: 0; - min-height: 10px; - min-width: 170px; - } -} diff --git a/configs/eww/css/_osd.scss b/configs/eww/css/_osd.scss deleted file mode 100644 index 16af0211b..000000000 --- a/configs/eww/css/_osd.scss +++ /dev/null @@ -1,30 +0,0 @@ -.osd { - @include window; - background: $base; - - label { - color: $text; - font-size: 2rem; - } -} - -.osd trough { - background-color: $bg1; - margin: 1rem 0 .5rem; - min-height: 10rem; - min-width: 3px; - @include rounding; - - highlight { - min-width: 0; - @include rounding; - } -} - -.osd_vol highlight { - background-image: linear-gradient(to top, $teal, $sky); -} - -.osd_brightness highlight { - background-image: linear-gradient(to top, $yellow, $peach); -} diff --git a/configs/eww/css/_sidebar.scss b/configs/eww/css/_sidebar.scss deleted file mode 100644 index 0bf666297..000000000 --- a/configs/eww/css/_sidebar.scss +++ /dev/null @@ -1,126 +0,0 @@ -.system-menu-box { - @include window; - background-color: $bg; - border: 1px solid $border; - color: $text; -} - -.separator { - font-size: 1rem; -} - -.top-row { - margin: 1rem 1.5rem 0; - - .time { font-size: 2rem; } - - .date-box { - margin: 0 1rem; - - label { font-size: 1.1rem; } - - .date { - background: unset; - margin: 0 .5rem 0 0; - padding: 0; - } - } -} - -.system-row { - margin: .5rem .7rem; - - .airplane-box button { - padding: 1rem 3rem; - } - - label { - font-size: 1rem; - margin: 0 .1rem; - } -} - -.element { - @include rounding; - background-color: $surface0; - margin: .3rem; - - button { - @include rounding; - padding: 1rem; - - label { - font-size: 1.5rem; - } - - &:hover { - background-color: $overlay0; - } - } -} - -.sliders { - @include rounding; - background-color: $surface0; - margin: .5rem 1rem; - padding: .6rem 1rem; - - scale { - margin-right: -1rem; - min-width: 21.5rem; - } - - box { margin: .2rem 0; } - - label { font-size: 1.2rem; } -} - -.volume-slider-box, .brightness-slider-box { - trough { background-color: $base; } -} -.volume-bar highlight { - @include rounding; - background-image: linear-gradient(to right, $white, $sky); -} - -.brightness-slider-box scale highlight { - @include rounding; - background-image: linear-gradient(to right, $lavender, $peach); -} - -.bottom-row { - margin: .5rem 1rem; - - .battery-icon { - font-size: 2rem; - } - .battery-wattage { color: $mauve; } - - .battery-status { - color: $subtext0; - margin: 0 .5rem; - } - - button { - background-color: $surface0; - border-radius: 33%; - margin-bottom: .1rem; - padding: 0 .5rem; - - label { font-size: 1.5rem; } - &:hover { background-color: $overlay0; } - } -} - -.bt-connected { - background-color: #89b4fa; - color: #11111b; - button:hover { background-color: #7ba2e1; } -} - -.wifi-connected { - background-color: #cba6f7; - color: #11111b; - - button:hover { background-color: #b695de; } -} diff --git a/configs/eww/css/_system.scss b/configs/eww/css/_system.scss deleted file mode 100644 index a2f974752..000000000 --- a/configs/eww/css/_system.scss +++ /dev/null @@ -1,75 +0,0 @@ -.membar { - color: $peach; -} - -.cpubar { - color: $blue; -} - -.batbar { - color: $green; -} - -.membar, -.cpubar, -.batbar { - background-color: $bg1; -} - -.iconmem { - color: $peach; -} - -.iconcpu { - color: $blue; -} - -.icon-text { - font-size: 3rem; - padding: .7rem; -} - -.sys-text-sub { - color: $text; -} - -.sys-text-mem, -.sys-text-cpu { - font-size: 1rem; - font-weight: bold; -} - -.sys-icon-mem, -.sys-icon-cpu { - font-size: 1.5rem; - margin: 1.5rem; -} - -.system-info-box { - @include rounding; - background-color: $surface0; - margin: .5rem 1rem; - padding: .5rem; -} - -.sys-mem, -.sys-cpu { - background-color: $bg; -} - -.sys-icon-mem, -.sys-text-mem, -.sys-mem { - color: $peach; -} - -.sys-icon-cpu, -.sys-text-cpu, -.sys-cpu { - color: $blue; -} - -.sys-box { - margin: .3em; - box { margin-left: 1rem; } -} diff --git a/configs/eww/css/_volume.scss b/configs/eww/css/_volume.scss deleted file mode 100644 index e0a03a78b..000000000 --- a/configs/eww/css/_volume.scss +++ /dev/null @@ -1,4 +0,0 @@ -.vol-icon { - color: $green; - margin: 0px -8px 0px 0px; -} diff --git a/configs/eww/eww.scss b/configs/eww/eww.scss deleted file mode 100644 index 41f7f08d3..000000000 --- a/configs/eww/eww.scss +++ /dev/null @@ -1,128 +0,0 @@ -@import 'css/colors'; - -@mixin rounding { - border-radius: 16px; -} - -@mixin window { - border: 1px solid $border; - box-shadow: 0 2px 3px $shadow; - margin: 5px 5px 10px; - @include rounding; -} - -* { - all: unset; - transition: 200ms ease; -} - -@import 'css/calendar'; -@import 'css/music'; -@import 'css/osd'; -@import 'css/sidebar'; -@import 'css/system'; -@import 'css/volume'; - -.bar { - background-color: $bg; - color: $fg; - border-radius: 12.5px; - label { - font-size: 1.3rem; - } -} - -tooltip { - background: $bg; - border: 1px solid $border; - border-radius: 8px; - - label { - font-size: 1rem; - } -} - -.icon, -.vol-icon label { - font-family: 'Material Symbols Outlined'; -} - -.module { - margin: 0 5px; -} - -.hour { - font-weight: bold; - padding-left: 5px; -} - -.minute { - font-weight: bold; - padding-right: 0.7rem; -} - -.date { - background: $bg; - color: $flamingo; - - border-radius: 12.5px; - label { - font-size: 1.2rem; - } -} - -.sys-text-sub { - font-family: ProductSans; -} - -.launcher_module { - background-color: $bg; - border-radius: 12.5px; - margin: 0px 7px 0px 10px; -} - -.vol-icon, -.volume-icon { - font-family: 'Material Symbols Outlined'; -} - -.vol-icon label { - font-family: ProductSans; -} - -.bright-icon { - color: $yellow; - margin: 0px -7px 0px 1px; - font-family: ProductSans; -} - -.module-bt { - font-size: 1.2rem; - margin: 0px 1px 0px 1px; - font-family: 'Material Symbols Outlined'; -} - -.net-icon { - font-family: Product Sans; -} - -.net-icon { - font-family: 'Material Symbols Outlined'; -} - -scale trough { - background-color: $bg1; - border-radius: 24px; - margin: 0 1rem; - min-height: 10px; - min-width: 70px; -} - -.workspaces { - margin-left: 8px; - border-radius: 10px; -} - -.seperator { - color: grey; -} diff --git a/configs/eww/eww.yuck b/configs/eww/eww.yuck deleted file mode 100644 index 8dcd0b671..000000000 --- a/configs/eww/eww.yuck +++ /dev/null @@ -1,63 +0,0 @@ -(include "./modules/bluetooth.yuck") -(include "./modules/bright.yuck") -(include "./modules/clock.yuck") -(include "./modules/music.yuck") -(include "./modules/net.yuck") -(include "./modules/sys.yuck") -(include "./modules/variables.yuck") -(include "./modules/volume.yuck") -(include "./modules/workspaces.yuck") -(include "./modules/launcher.yuck") -(include "./modules/weather.yuck") - -(include "./windows/calendar.yuck") -(include "./windows/music.yuck") -(include "./windows/osd.yuck") -(include "./windows/system-menu.yuck") - - -(defwidget left [] - (box - :space-evenly false - :halign "start" - (launcher) - (workspaces) - (weather) - )) - -(defwidget right [] - (box - :space-evenly false - :halign "end" - (bright) - (volume-module) - (bluetooth) - (net) - (label :class "seperator" :text "|") - (sys) - (label :class "seperator" :text "|") - (clock_module))) - -(defwidget center [] - (box - :space-evenly false - :halign "center" - (music-module))) - -(defwidget bar [] - (centerbox - :class "bar" - (left) - (center) - (right))) - -(defwindow bar - :monitor 0 - :geometry (geometry :x "0%" - :y "1%" - :width "95%" - :height "33px" - :anchor "top center") - :stacking "fg" - :exclusive true - (bar)) diff --git a/configs/eww/modules/bluetooth.yuck b/configs/eww/modules/bluetooth.yuck deleted file mode 100644 index 18d32eb6c..000000000 --- a/configs/eww/modules/bluetooth.yuck +++ /dev/null @@ -1,9 +0,0 @@ -(defwidget bluetooth [] - (button - :class "module-bt module icon" - :onclick "blueberry" - :onrightclick "scripts/bluetooth toggle" - :tooltip "${bluetooth.text} ${bluetooth.battery}" - :style "color: ${bluetooth.color};" - {bluetooth.icon})) - diff --git a/configs/eww/modules/bright.yuck b/configs/eww/modules/bright.yuck deleted file mode 100644 index 05af7f417..000000000 --- a/configs/eww/modules/bright.yuck +++ /dev/null @@ -1,19 +0,0 @@ -(defwidget bright [] - (eventbox - :class "module icon" - :onhover "${EWW_CMD} update bright_reveal=true" - :onhoverlost "${EWW_CMD} update bright_reveal=false" - (box - (button - :onscroll "echo {} | sed -e 's/up/-U 1/g' -e 's/down/-A 1/g' | xargs light" - :class "bright-icon" - :tooltip "brightness ${round(brightness.level, 0)}%" - {brightness.icon}) - (revealer - :transition "slideright" - :reveal bright_reveal - :duration "350ms" - (label - :text "${round(brightness.level, 0)}%" - :style "font-family: ProductSans;" - :tooltip "brightness ${round(brightness.level, 0)}%"))))) diff --git a/configs/eww/modules/clock.yuck b/configs/eww/modules/clock.yuck deleted file mode 100644 index b3ecfe4a3..000000000 --- a/configs/eww/modules/clock.yuck +++ /dev/null @@ -1,29 +0,0 @@ -(defvar date_rev false) - -(defwidget clock_module [] - (eventbox - :onhover "${EWW_CMD} update date_rev=true" - :style "font-family: ProductSans;" - :onhoverlost "${EWW_CMD} update date_rev=false" - (overlay - :class "module" - (box - :space-evenly false - :style "font-family: ProductSans;" - (label - :text {time.hour} - :style "font-family: ProductSans;" - :class "hour") - (label - :text ":") - (label - :text {time.minute} - :class "minute")) - (revealer - :reveal date_rev - :style "font-family: ProductSans;" - (button - :class "date" - :onclick "${EWW_CMD} open --toggle calendar" - :style "font-family: ProductSans;" - {time.date}))))) diff --git a/configs/eww/modules/launcher.yuck b/configs/eww/modules/launcher.yuck deleted file mode 100644 index 5dc3fe19c..000000000 --- a/configs/eww/modules/launcher.yuck +++ /dev/null @@ -1,10 +0,0 @@ -(defwidget launcher [] - (box - :class "launcher_module" - :orientation "h" - (button - (image - :class "launcher-icon" - :path "assets/ghost.png" - :image-width 28)) -)) diff --git a/configs/eww/modules/music.yuck b/configs/eww/modules/music.yuck deleted file mode 100644 index cda274ef5..000000000 --- a/configs/eww/modules/music.yuck +++ /dev/null @@ -1,25 +0,0 @@ -(defwidget music-module [] - (eventbox - :onhover "${EWW_CMD} update music_reveal=true" - :onhoverlost "${EWW_CMD} update music_reveal=false" - (box - :class "module" - :space-evenly false - (box - :class "song-cover-art" - :style "background-image: url(\"${music_cover}\");") - (button - :class "module" - :onclick "${EWW_CMD} open --toggle music" - :style "font-family: ProductSans;" - {music.title}) - (revealer - :transition "slideright" - :reveal music_reveal - :style "font-family: ProductSans;" - :duration "350ms" - (box - :class "icon" - (button :class "song-button" :onclick "playerctl previous" "๎…") - (button :class "song-button" :onclick "playerctl play-pause" {music.status}) - (button :class "song-button" :onclick "playerctl next" "๎„")))))) diff --git a/configs/eww/modules/net.yuck b/configs/eww/modules/net.yuck deleted file mode 100644 index af02016ec..000000000 --- a/configs/eww/modules/net.yuck +++ /dev/null @@ -1,7 +0,0 @@ -(defwidget net [] - (button - :class "module icon" - :onclick "~/.config/eww/scripts/network_manager/rofi-network-manager.sh &" - :tooltip {net.essid} - :style "color: ${net.color};" - "${net.icon}")) diff --git a/configs/eww/modules/sys.yuck b/configs/eww/modules/sys.yuck deleted file mode 100644 index 97ec71bc3..000000000 --- a/configs/eww/modules/sys.yuck +++ /dev/null @@ -1,33 +0,0 @@ -(defwidget sys [] - (box - :class "module" - :space-evenly false - :spacing 5 - :style "font-family: ProductSans;" - (circular-progress - :value "${EWW_CPU.avg}" - :class "cpubar" - :thickness 3 - (button - :tooltip "using ${round(EWW_CPU.avg,0)}% cpu" - :onclick "${EWW_CMD} open --toggle system-menu" - (label :class "icon-text" :text ""))) - - (circular-progress - :value {memory.percentage} - :class "membar" - :thickness 3 - (button - :tooltip "using ${round(memory.percentage,0)}% ram" - :onclick "${EWW_CMD} open --toggle system-menu" - (label :class "icon-text" :text ""))) - - (circular-progress - :value "${EWW_BATTERY["BAT0"].capacity}" - :class "batbar" - :style "color: ${battery.color};" - :thickness 3 - (button - :tooltip "battery on ${EWW_BATTERY["BAT0"].capacity}%" - :onclick "${EWW_CMD} open --toggle system-menu" - (label :class "icon-text" :text ""))))) diff --git a/configs/eww/modules/variables.yuck b/configs/eww/modules/variables.yuck deleted file mode 100644 index e8374656e..000000000 --- a/configs/eww/modules/variables.yuck +++ /dev/null @@ -1,19 +0,0 @@ -(defvar bright_reveal false) -(defvar bt_rev false) -(defvar music_reveal false) -(defvar net_rev false) -(defvar time_rev false) -(defvar vol_reveal false) - -(defpoll time :interval "5s" `date +'{"date": "%d/%m", "hour": "%H", "minute": "%M", "day": "%A"}'`) - -(deflisten airplane "scripts/airplane") -(deflisten battery "scripts/battery") -(deflisten bluetooth "scripts/bluetooth") -(deflisten brightness "scripts/brightness") -(deflisten memory "scripts/memory") -(deflisten music "scripts/music") -(deflisten music_cover "scripts/music cover") -(deflisten net "scripts/net") -(deflisten volume "scripts/volume") -(deflisten workspace "scripts/workspaces") diff --git a/configs/eww/modules/volume.yuck b/configs/eww/modules/volume.yuck deleted file mode 100644 index 3171e985d..000000000 --- a/configs/eww/modules/volume.yuck +++ /dev/null @@ -1,22 +0,0 @@ -(defwidget volume-module [] - (eventbox - :class "module icon" - :onhover "${EWW_CMD} update vol_reveal=true" - :onhoverlost "${EWW_CMD} update vol_reveal=false" - (box - (button - :onscroll "echo {} | sed -e 's/up/-/g' -e 's/down/+/g' | xargs -I% wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.005%" - :onclick "pavucontrol &" - :onrightclick "scripts/volume mute SINK" - :class "vol-icon" - :tooltip "volume ${volume.percent}%" - {volume.icon}) - (revealer - :transition "slideright" - :reveal vol_reveal - :duration "350ms" - (label - :class "vol-text" - :style "font-family: ProductSans;" - :text "${volume.percent}%") - )))) diff --git a/configs/eww/modules/weather.yuck b/configs/eww/modules/weather.yuck deleted file mode 100644 index 01e146a6c..000000000 --- a/configs/eww/modules/weather.yuck +++ /dev/null @@ -1,7 +0,0 @@ -(defpoll weather :interval "1h" "scripts/weather.sh") - -(defwidget weather [] - (box :class "weather" - (label :class "weathertext" :text weather) - ) -) diff --git a/configs/eww/modules/workspaces.yuck b/configs/eww/modules/workspaces.yuck deleted file mode 100644 index 924fdf4c3..000000000 --- a/configs/eww/modules/workspaces.yuck +++ /dev/null @@ -1,16 +0,0 @@ -(defvar ws-icons '["ไธ€", "ไบŒ", "ไธ‰", "ๅ››", "ไบ”", "ๅ…ญ", "ไธƒ", "ๅ…ซ", "ไน", "ๅ"]') - - -(defwidget workspaces [] - (eventbox - :onscroll "echo {} | sed -e \"s/up/-1/g\" -e \"s/down/+1/g\" | xargs hyprctl dispatch workspace" - (box - :class "module workspaces" - :spacing 8 - (for i in workspace - (button - :onclick "hyprctl dispatch workspace ${i.number}" - :class "ws icon" - :style "color: ${i.color};" - (label :style "font-size: 15pt;" :text "${ws-icons[i.number - 1]}")))))) - diff --git a/configs/eww/scripts/airplane b/configs/eww/scripts/airplane deleted file mode 100755 index 8a976aefb..000000000 --- a/configs/eww/scripts/airplane +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -icon() { - if [[ $STATUS == "no" ]]; then - echo "๎†”" - else - echo "๎†•" - fi -} - -toggle() { - if [[ $STATUS == "no" ]]; then - rfkill block all - notify-send --urgency=normal -i airplane-mode-symbolic "Airplane Mode" "Airplane mode has been turned on!" - else - rfkill unblock all - notify-send --urgency=normal -i airplane-mode-disabled-symbolic "Airplane Mode" "Airplane mode has been turned off!" - fi -} - -if [[ $1 == "toggle" ]]; then - toggle -else - while true; do - STATUS="$(rfkill list | sed -n 2p | awk '{print $3}')" - icon - sleep 3; - done -fi diff --git a/configs/eww/scripts/battery b/configs/eww/scripts/battery deleted file mode 100755 index 6dcddb698..000000000 --- a/configs/eww/scripts/battery +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash - -icons=("๎ฏœ" "๎ฏ™" "๎ฏ " "๎ฏ" "๎ฏข" "๎ฏ’" "๎ฏ”" "๏‚ก") - -geticon() { - if [ "$STATE" = "Charging" ]; then - level=$(awk -v n="$CAPACITY" 'BEGIN{print int((n-1)/12)}') - echo "${icons[$level]}๎จ‹" - else - level=$(awk -v n="$CAPACITY" 'BEGIN{print int((n-1)/12)}') - echo "${icons[$level]}" - fi -} - -status() { - if [ "$STATE" = "Charging" ]; then - echo -n "charging" - - if [ "$RATE" -gt 0 ]; then - echo ", $(gettime) left" - else - echo "" - fi - elif [ "$STATE" = "Discharging" ]; then - echo "$(gettime)h left" - else - echo "fully charged" - fi -} - -color() { - if [ "$CAPACITY" -le 20 ]; then - echo '#f38ba8' - else - echo '#a6e3a1' - fi -} - -wattage() { - echo "$(bc -l <<< "scale=1; $RATE / 1000000") W" -} - -gettime() { - FULL=$(cat /sys/class/power_supply/BAT0/energy_full) - NOW=$(cat /sys/class/power_supply/BAT0/energy_now) - - if [ "$RATE" -gt 0 ]; then - if [ "$STATE" = "Discharging" ]; then - EX="$NOW / $RATE" - else - EX="($FULL - $NOW) / $RATE" - fi - date -u -d@"$(bc -l <<< "$EX * 3600")" +%H:%M - fi -} - -while true; do - RATE=$(cat /sys/class/power_supply/BAT0/power_now) - CAPACITY=$(cat /sys/class/power_supply/BAT0/capacity) - STATE=$(cat /sys/class/power_supply/BAT0/status) - - echo '{ "icon": "'"$(geticon)"'", "percentage": '"$CAPACITY"', "wattage": "'"$(wattage)"'", "status": "'"$(status)"'", "color": "'"$(color)"'" }' - sleep 3 -done diff --git a/configs/eww/scripts/bluetooth b/configs/eww/scripts/bluetooth deleted file mode 100755 index 63ce54796..000000000 --- a/configs/eww/scripts/bluetooth +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env bash - -toggle() { - status=$(rfkill -J | jaq -r '.rfkilldevices[] | select(.type == "bluetooth") | .soft' | head -1) - - if [ "$status" = "unblocked" ]; then - rfkill block bluetooth - else - rfkill unblock bluetooth - fi -} - -if [ "$1" = "toggle" ]; then - toggle -else - while true; do - powered=$(bluetoothctl show | rg Powered | cut -f 2- -d ' ') - status=$(bluetoothctl info) - name=$(echo "$status" | rg Name | cut -f 2- -d ' ') - mac=$(echo "$status" | head -1 | awk '{print $2}' | tr ':' '_') - - if [[ "$(echo "$status" | rg Percentage)" != "" ]]; then - battery="$(upower -i /org/freedesktop/UPower/devices/headset_dev_"$mac" | rg percentage | awk '{print $2}' | cut -f 1 -d '%')%" - else - battery="" - fi - - if [ "$powered" = "yes" ]; then - if [ "$status" != "Missing device address argument" ]; then - text="$name" - icon="๎†จ" - color="#89b4fa" - class="bt-connected" - else - icon="๎†ง" - text="Disconnected" - color="#45475a" - class="" - fi - else - icon="๎†ฉ" - text="Bluetooth off" - color="#45475a" - class="" - fi - - echo '{ "icon": "'"$icon"'", "battery": "'"$battery"'", "text": "'"$text"'", "color": "'"$color"'", "class": "'"$class"'" }' - - sleep 3 - done -fi diff --git a/configs/eww/scripts/brightness b/configs/eww/scripts/brightness deleted file mode 100755 index 93002dd48..000000000 --- a/configs/eww/scripts/brightness +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -icons=("๎†ญ" "๎†ฎ" "๎†ฌ") - -# initial -icon=${icons[$(awk -v n="$(light)" 'BEGIN{print int(n/34)}')]} -echo '{ "level": '"$(light)"', "icon": "'"$icon"'" }' - -udevadm monitor | rg --line-buffered "backlight" | while read -r _; do - icon="${icons[$(awk -v n="$(light)" 'BEGIN{print int(n/34)}')]}" - - echo '{ "level": '"$(light)"', "icon": "'"$icon"'" }' -done diff --git a/configs/eww/scripts/memory b/configs/eww/scripts/memory deleted file mode 100755 index 051c4004e..000000000 --- a/configs/eww/scripts/memory +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -while true; do - # human-readable - freeH=$(free -h --si | rg "Mem:") - # non-human-readable - freeN=$(free --mega | rg "Mem:") - - total="$(echo "$freeH" | awk '{ print $2 }')" - used="$(echo "$freeH" | awk '{ print $3 }')" - t="$(echo "$freeN" | awk '{ print $2 }')" - u="$(echo "$freeN" | awk '{ print $3 }')" - - free=$(printf '%.1fG' "$(bc -l <<< "($t - $u) / 1000")") - perc=$(printf '%.1f' "$(free -m | rg Mem | awk '{print ($3/$2)*100}')") - - echo '{ "total": "'"$total"'", "used": "'"$used"'", "free": "'"$free"'", "percentage": '"$perc"' }' - - sleep 3 -done diff --git a/configs/eww/scripts/music b/configs/eww/scripts/music deleted file mode 100755 index 720741f99..000000000 --- a/configs/eww/scripts/music +++ /dev/null @@ -1,94 +0,0 @@ -#!/usr/bin/env bash - -get_status() { - s=$1 - if [ "$s" = "Playing" ]; then - echo "๎€ถ" - else - echo "๎€น" - fi -} - -get_length_sec() { - len=$1 - if [ -z "$len" ]; then - echo 0 - else - bc <<< "$len / 1000000" - fi -} - -get_length_time() { - len=$1 - if [ -n "$len" ]; then - len=$(bc <<< "$len / 1000000 + 1") - date -d@"$len" +%M:%S - else - echo "" - fi -} - -get_position() { - pos=$1 - len=$2 - if [ -n "$pos" ]; then - bc -l <<< "$pos / $len * 100" - else - echo 0 - fi -} - -get_position_time() { - pos=$1 - len=$2 - if [ -n "$pos" ]; then - date -d@"$(bc <<< "$pos / 1000000")" +%M:%S - else - echo "" - fi -} - -get_cover() { - # COVER_URL=$1 - mkdir -p "$XDG_CACHE_HOME/eww_covers" - cd "$XDG_CACHE_HOME/eww_covers" || exit - - IMGPATH="$XDG_CACHE_HOME/eww_covers/cover_art.png" - - playerctl -F metadata mpris:artUrl 2>/dev/null | while read -r COVER_URL; do - if [[ "$COVER_URL" = https* ]]; then - if [ ! -e "$XDG_CACHE_HOME/eww_covers/$(basename "$COVER_URL")" ]; then - wget -N "$COVER_URL" -o /dev/null - fi - - rm "$IMGPATH" - ln -s "$(basename "$COVER_URL")" "$IMGPATH" - - echo "$IMGPATH" - elif [ "$COVER_URL" = "" ]; then - echo "" - else - echo "$COVER_URL" - fi - done -} - -sanitize() { - echo "$1" | sed 's/"/\"/g' -} - -if [ "$1" = "cover" ]; then - get_cover -else - playerctl -F metadata -f '{{title}}\{{artist}}\{{status}}\{{position}}\{{mpris:length}}\' 2>/dev/null | while IFS="$(printf '\\')" read -r title artist status position len; do - jaq --null-input \ - -r -c \ - --arg artist "$(sanitize "$artist")" \ - --arg title "$(sanitize "$title")" \ - --arg status "$(get_status "$status")" \ - --arg pos "$(get_position "$position" "$len")" \ - --arg pos_time "$(get_position_time "$position" "$len")" \ - --arg length "$(get_length_time "$len")" \ - '{"artist": $artist, "title": $title, "status": $status, "position": $pos, "position_time": $pos_time, "length": $length}' - done -fi diff --git a/configs/eww/scripts/net b/configs/eww/scripts/net deleted file mode 100755 index 85aa71af9..000000000 --- a/configs/eww/scripts/net +++ /dev/null @@ -1,43 +0,0 @@ -#!/usr/bin/env bash - -toggle() { - status=$(rfkill -J | jaq -r '.rfkilldevices[] | select(.type == "wlan") | .soft' | head -1) - - if [ "$status" = "unblocked" ]; then - rfkill block wlan - else - rfkill unblock wlan - fi -} - -if [ "$1" = "toggle" ]; then - toggle -else - while true; do - status=$(nmcli g | tail -n 1 | awk '{print $1}') - signal=$(nmcli -f in-use,signal dev wifi | rg "\*" | awk '{ print $2 }') - essid=$(nmcli -t -f NAME connection show --active | head -n1 | sed 's/\"/\\"/g') - - icons=("๎ฏค" "๎ฏ–" "๎ฏก" "๎†บ" "๎‡˜") - - if [ "$status" = "disconnected" ] ; then - icon="๎‡š" - color="#988ba2" - class="" - else - level=$(awk -v n="$signal" 'BEGIN{print int((n-1)/20)}') - if [ "$level" -gt 4 ]; then - level=4 - fi - - icon=${icons[$level]} - color="#cba6f7" - class="wifi-connected" - fi - - echo '{ "essid": "'"$essid"'", "icon": "'"$icon"'", "color": "'"$color"'", "class": "'"$class"'" }' - - sleep 3 - done -fi - diff --git a/configs/eww/scripts/volume b/configs/eww/scripts/volume deleted file mode 100755 index aadf2b132..000000000 --- a/configs/eww/scripts/volume +++ /dev/null @@ -1,55 +0,0 @@ -#!/usr/bin/env bash - -volicons=("๎Ž" "๎" "๎") - -vol() { - wpctl get-volume @DEFAULT_AUDIO_$1@ | awk '{print int($2*100)}' -} -ismuted() { - wpctl get-volume @DEFAULT_AUDIO_"$1"@ | rg -i muted - echo $? -} -setvol() { - wpctl set-volume @DEFAULT_AUDIO_"$1"@ "$(awk -v n="$2" 'BEGIN{print (n / 100)}')" -} -setmute() { - wpctl set-mute @DEFAULT_AUDIO_"$1"@ toggle -} - -if [ "$1" = "mute" ]; then - if [ "$2" != "SOURCE" ] && [ "$2" != "SINK" ]; then - echo "Can only mute SINK or SOURCE"; exit 1 - fi - setmute "$2" -elif [ "$1" = "setvol" ]; then - if [ "$2" != "SOURCE" ] && [ "$2" != "SINK" ]; then - echo "Can only set volume for SINK or SOURCE"; exit 1 - elif [ "$3" -lt 1 ] || [ "$3" -gt 100 ]; then - echo "Volume must be between 1 and 100"; exit 1 - fi - setvol "$2" "$3" -else - # initial values - lvl=$(awk -v n="$(vol "SINK")" 'BEGIN{print int(n/34)}') - ismuted=$(ismuted "SINK") - - if [ "$ismuted" = 1 ]; then - icon="${volicons[$lvl]}" - else - icon="๎" - fi - echo '{ "icon": "'"$icon"'", "percent": "'"$(vol "SINK")"'", "microphone": "'"$(vol "SOURCE")"'" }' - - # event loop - pactl subscribe | rg --line-buffered "change" | while read -r _; do - lvl=$(awk -v n="$(vol "SINK")" 'BEGIN{print int(n/34)}') - ismuted=$(ismuted "SINK") - - if [ "$ismuted" = 1 ]; then - icon="${volicons[$lvl]}" - else - icon="๎" - fi - echo '{ "icon": "'"$icon"'", "percent": "'"$(vol "SINK")"'", "microphone": "'"$(vol "SOURCE")"'" }' - done -fi diff --git a/configs/eww/scripts/weather.sh b/configs/eww/scripts/weather.sh deleted file mode 100755 index d01e443a6..000000000 --- a/configs/eww/scripts/weather.sh +++ /dev/null @@ -1 +0,0 @@ -curl -s 'wttr.in/?m&format=%c%C+%f' | sed 's/+//' diff --git a/configs/eww/scripts/workspaces b/configs/eww/scripts/workspaces deleted file mode 100755 index 0b9c1a9dd..000000000 --- a/configs/eww/scripts/workspaces +++ /dev/null @@ -1,86 +0,0 @@ -#!/usr/bin/env bash - -colors=("#89b4fa") -dimmed=("#b4befe") -empty="#313244" - -# get initial focused workspace -focusedws=$(hyprctl -j monitors | jaq -r '.[] | select(.focused == true) | .activeWorkspace.id') - -declare -A o=([1]=0 [2]=0 [3]=0 [4]=0 [5]=0 [6]=0 [7]=0 [8]=0 [9]=0 [10]=0) -declare -A monitormap -declare -A workspaces - -# set color for each workspace -status() { - if [ "${o[$1]}" -eq 1 ]; then - mon=${monitormap[${workspaces[$1]}]} - - if [ $focusedws -eq "$1" ]; then - echo -n "${colors[$mon]}" - else - echo -n "${dimmed[$mon]}" - fi - else - echo -n "$empty" - fi -} - -# handle workspace create/destroy -workspace_event() { - o[$1]=$2 - while read -r k v; do workspaces[$k]="$v"; done < <(hyprctl -j workspaces | gojq -r '.[]|"\(.id) \(.monitor)"') -} -# handle monitor (dis)connects -monitor_event() { - while read -r k v; do monitormap["$k"]=$v; done < <(hyprctl -j monitors | gojq -r '.[]|"\(.name) \(.id) "') -} - -# generate the json for eww -generate() { - echo -n '[' - - for i in {1..10}; do - echo -n ''$([ $i -eq 1 ] || echo ,) '{ "number": "'"$i"'", "color": "'$(status "$i")'" }' - done - - echo ']' -} - -# setup - -# add monitors -monitor_event - -# add workspaces -while read -r k v; do workspaces[$k]="$v"; done < <(hyprctl -j workspaces | gojq -r '.[]|"\(.id) \(.monitor)"') - -# check occupied workspaces -for num in "${!workspaces[@]}"; do - o[$num]=1 -done -# generate initial widget -generate - -# main loop -socat -u UNIX-CONNECT:/tmp/hypr/"$HYPRLAND_INSTANCE_SIGNATURE"/.socket2.sock - | while read -r line; do - case ${line%>>*} in - "workspace") - focusedws=${line#*>>} - ;; - "focusedmon") - focusedws=${line#*,} - ;; - "createworkspace") - workspace_event "${line#*>>}" 1 - ;; - "destroyworkspace") - workspace_event "${line#*>>}" 0 - ;; - "monitor"*) - monitor_event - ;; - esac - generate -done - diff --git a/configs/eww/windows/calendar.yuck b/configs/eww/windows/calendar.yuck deleted file mode 100644 index a1690730e..000000000 --- a/configs/eww/windows/calendar.yuck +++ /dev/null @@ -1,16 +0,0 @@ -(defwidget calendar-win [] - (box - :class "calendar-win" - :style "font-family: ProductSans;" - (calendar))) - -(defwindow calendar - :monitor 0 - :geometry (geometry - :x "0%" - :y "0%" - :anchor "top right" - :width "0px" - :style "font-family: ProductSans;" - :height "0px") - (calendar-win)) diff --git a/configs/eww/windows/music.yuck b/configs/eww/windows/music.yuck deleted file mode 100644 index 22dc3cba6..000000000 --- a/configs/eww/windows/music.yuck +++ /dev/null @@ -1,52 +0,0 @@ -(defwidget music [] - (box - :class "music-window" - :space-evenly false - (box - :class "music-cover-art" - :style "background-image: url(\"${music_cover}\");") - (box - :orientation "v" - :class "music-box" - (label - :class "music-title" - :wrap true - :text {music.title}) - (label - :class "music-artist" - :wrap true - :text {music.artist}) - (centerbox - :halign "center" - :class "music-button-box icon" - (button :class "music-button" :onclick "playerctl previous" "๎…") - (button :class "music-button" :onclick "playerctl play-pause" {music.status}) - (button :class "music-button" :onclick "playerctl next" "๎„")) - (box - :orientation "v" - (box - (label - :xalign 0 - :class "music-time" - :text {music.position_time}) - (label - :xalign 1 - :class "music-time" - :text {music.length})) - (box - :class "music-bar" - (scale - :onchange "playerctl position `bc <<< \"{} * $(playerctl metadata mpris:length) / 1000000 / 100\"`" - :value {music.position})))))) - -(defwindow music - :stacking "fg" - :focusable false - :monitor 0 - :geometry (geometry - :x "0%" - :y "0%" - :width "0%" - :height "0%" - :anchor "top center") - (music)) diff --git a/configs/eww/windows/osd.yuck b/configs/eww/windows/osd.yuck deleted file mode 100644 index 8aac75c44..000000000 --- a/configs/eww/windows/osd.yuck +++ /dev/null @@ -1,39 +0,0 @@ -(defwidget osd [icon value] - (box - :class "osd" - :orientation "v" - :space-evenly false - (scale - :flipped true - :orientation "v" - :value value) - (label - :text icon))) - -(defwindow osd_vol - :stacking "fg" - :focusable false - :monitor 0 - :geometry (geometry - :x "1%" - :y "0%" - :width "0%" - :height "0%" - :anchor "center left") - (osd - :icon {volume.icon} - :value {volume.percent})) - -(defwindow osd_brightness - :stacking "fg" - :focusable false - :monitor 0 - :geometry (geometry - :x "1%" - :y "0%" - :width "0%" - :height "0%" - :anchor "center left") - (osd - :icon {brightness.icon} - :value {brightness.level})) diff --git a/configs/eww/windows/system-menu.yuck b/configs/eww/windows/system-menu.yuck deleted file mode 100644 index b996b5a5a..000000000 --- a/configs/eww/windows/system-menu.yuck +++ /dev/null @@ -1,235 +0,0 @@ -(defwidget system-menu [] - (box - :class "system-menu-box" - :space-evenly false - :orientation "v" - (box - :class "top-row" - :space-evenly false - (label - :class "time" - :style "font-family:ProductSans;" - :text "${time.hour}:${time.minute}") - (box - :class "date-box" - :space-evenly false - (label - :class "date" - :style "font-family:ProductSans;" - :text {time.date}) - (label - :class "day" - :style "font-family:ProductSans;" - :text {time.day}))) - - (centerbox - :class "system-row" - (box - :class "wifi-box" - :space-evenly false - :orientation "v" - (box - :class "element icon ${net.class}" - :space-evenly false - (button - :class "wifi-button" - :onclick "scripts/net toggle" - - {net.icon}) - (label - :class "separator" - :text "โ”‚") - (button - :class "wifi-arrow-btn" - :onclick "eww close system-menu && nm-connection-editor &" - "๎—Œ")) - (label - :text {net.essid} - :style "font-family:ProductSans;" - :xalign 0.5 - :limit-width 15)) - - (box - :class "bluetooth-box" - :space-evenly false - :orientation "v" - (box - :class "element icon ${bluetooth.class}" - :space-evenly false - (button - :class "bluetooth-button" - :onclick "scripts/bluetooth toggle" - {bluetooth.icon}) - (label - :class "separator" - :text "โ”‚") - (button - :class "bluetooth-arrow-btn" - :onclick "eww close system-menu && blueberry" - "๎—Œ")) - (label - :text {bluetooth.text} - :style "font-family:ProductSans;" - :xalign 0.5 - :tooltip "${bluetooth.text} ${bluetooth.battery}" - :limit-width 15)) - - (box - :class "airplane-box" - :space-evenly false - :orientation "v" - (box - :class "element" - (button - :class "airplane-button" - :style "font-family:Material Symbols Outlined;" - :onclick "scripts/airplane toggle" - airplane)) - (label - :text "Airplane Mode" - :style "font-family:ProductSans;" - :xalign 0.5 - :limit-width 16))) - - (box - :class "sliders" - :orientation "v" - (box - :class "volume-slider-box" - :space-evenly false - (button - :style "font-family:ProductSans;" - :class "volume-icon icon" - :onclick "scripts/volume mute SINK" - {volume.icon}) - (scale - :class "volume-bar" - :value {volume.percent} - :tooltip "volume on ${volume.percent}%" - :onchange "scripts/volume setvol SINK {}")) - (box - :class "volume-slider-box" - :space-evenly false - (button - :class "volume-icon icon" - :onclick "scripts/volume mute SOURCE" - :style "font-family:ProductSans;" - "๎€ฉ") - (scale - :class "volume-bar" - :value {volume.microphone} - :tooltip "mic on ${volume.microphone}%" - :onchange "scripts/volume setvol SOURCE {}")) - (box - :class "brightness-slider-box" - :space-evenly false - (button - :class "brightness-slider-icon icon" - :style "font-family:ProductSans;" - {brightness.icon}) - (scale - :class "brightness-slider" - :value {brightness.level} - :marks true - :onchange "light -S {}"))) - - (box - :class "system-info-box" - - ; cpu - (box - :class "sys-box" - :space-evenly false - :halign "start" - (circular-progress - :value "${EWW_CPU.avg}" - :class "sys-cpu" - :thickness 3 - (label - :text "๎Œข" - :class "sys-icon-cpu icon")) - (box - :orientation "v" - :vexpand false - (label - :text "cpu" - :halign "start" - :class "sys-text-cpu") - (label - :text "${round(EWW_CPU.avg,2)}%" - :halign "start" - :class "sys-text-sub") - (label - :text "${EWW_CPU.cores[0].freq} MHz" - :halign "start" - :class "sys-text-sub"))) - - ; memory - (box - :class "sys-box" - :space-evenly false - :halign "end" - (circular-progress - :value {memory.percentage} - :style "font-family:ProductSans;" - :class "sys-mem" - :thickness 3 - (label - :text "๎Œข" - :class "sys-icon-mem icon")) - (box - :orientation "v" - (label - :text "memory" - :style "font-family:ProductSans;" - :halign "start" - :class "sys-text-mem") - (label - :text "${memory.used} | ${memory.total}" - :style "font-family:ProductSans;" - :halign "start" - :class "sys-text-sub")))) - - (centerbox - :class "bottom-row" - (box - :class "battery-box" - :space-evenly false - :halign "start" - (label - :class "battery-icon icon" - :style "color: ${battery.color}; font-family:ProductSans;" - :text {battery.icon}) - (label - :class "battery-percentage" - :style "font-family:ProductSans;" - :text {EWW_BATTERY["BAT0"].capacity}) - (label - :class "battery-status" - :style "font-family:ProductSans;" - :text {battery.status}) - (label - :class "battery-wattage" - :style "font-family:ProductSans;" - :text {battery.wattage})) - (label) - (box - :space-evenly false - :halign "end" - (button - :halign "end" - :class "power-button icon" - :onclick "wlogout -p layer-shell &" - "๎ขฌ"))))) - -;; windows -(defwindow system-menu - :stacking "fg" - :monitor 0 - :geometry (geometry - :x "0" - :y "0" - :width "0%" - :height "0%" - :anchor "right top") - (system-menu)) diff --git a/configs/gnome/themes/Smooth/gnome-shell/gnome-shell.css b/configs/gnome/themes/Smooth/gnome-shell/gnome-shell.css deleted file mode 100644 index 4a97b7eec..000000000 --- a/configs/gnome/themes/Smooth/gnome-shell/gnome-shell.css +++ /dev/null @@ -1,367 +0,0 @@ -/* SMOOTH43 */ - -/* colors */ -/* accent_bg: #3584e4 */ -/* hover_bg: #4f5761 */ -/* accent_fg: #ffffff */ -/* slider_red: #bb6271 */ - -.workspace-background{ - border: 1px solid rgba(255, 255, 255, 0.03); -} - -#panel{ - background-color: #162026; - height: 38px; -} -.workspace-animation{ background-color: #0f0f0f; } -.panel-button, -.clock, -.clock-display StIcon{ - border-radius: 14px; - border: 3px solid transparent; - background-color: #1A252C; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.clock-display StIcon{ - padding: 8px; - margin: 0; -} -.panel-button:hover, -.panel-button:hover .clock{ - background-color: #222F37; -} -.panel-button:active, -.panel-button:overview, /* activites */ -.panel-button:active .clock{ - background-color: #3584e4; - color: #ffffff; -} -/* clock fix */ -.clock-display{ - background-color: transparent !important; - box-shadow: none !important; - border: none !important; -} -.clock{ - margin: 0 !important; -} - -/* POPOVERS */ -.popup-menu-content{ - padding: 16px; - border-radius: 24px; - border: 1px solid rgba(255,ruiiiiii 255, 255, 0.03); -} -.popup-menu-item{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.popup-menu-item:active{ - background-color: #3584e4; - color: #ffffff; -} -.popup-sub-menu{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.popup-sub-menu .popup-menu-item{ - box-shadow: none; -} - -/* calendar */ -#calendarArea{ padding: 0; } -.datemenu-calendar-column{ margin: 0px; color: #ffffff; } -.pager-button:hover, -.pager-button:focus{ - background-color: #595959; - border-radius: 10px; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -/* calendar-days */ -.calendar-day-base{ border-radius: 10px; color: #ffffff } -.calendar-day-base:hover, -.calendar-day-base:focus, -.calendar-day-base:active:hover, -.calendar-day-base:selected:hover{ -color: #ffffff; - background-color: #595959; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.calendar-day-base:active, -.calendar-day-base:selected{ -color: #ffffff; - box-shadow: inset 0 0 0 2px #3584e4; - background-color: #4f5761; -} -.calendar-today, -.calendar-today:selected{ - box-shadow: inset 0 0 0 2px #3584e4; - background-color: #3584e4; -} -.calendar-day-with-events{ font-weight: 800; } -/* events */ -.calendar{ -color: #ffffff; - border-radius: 11px; - background-color: #3f3f3f; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03) !important; -} -.events-button, -.world-clocks-button, -.weather-button{ - border-radius: 11px; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.events-button:active, -.world-clock-button:active, -.weather-button:active{ - background-color: #3584e4; - color: #ffffff; -} - -/* message-list */ -.message-list{ - border: none; - padding: 5px 0 0 5px; -} -.message{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.message-close-button{ - border-radius: 10px; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.message-close-button:active{ - background-color: #3584e4; - color: #ffffff; -} - -.message-media-control:hover{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.message-media-control:active{ - background-color: #3584e4; - color: #ffffff; -} - -.toggle-switch{ - background-image: url("./toggle10-on.svg"); - background-color: transparent; - border-radius: 10px; -} -.toggle-switch:checked{ - background-image: url("./toggle10-off.svg"); - background-color: #3584e4; -} -.dnd-button:hover{ - background-color: #595959 !important; - border: 1px solid transparent !important; -} -.dnd-button{ - width: 48px; - border-radius: 10px; - border: 1px solid rgba(255, 255, 255, 0.03); - background-color: #474747; - /* box-shadow: 0 2px 5px -4px black !important; */ - box-shadow: none !important; -} - -.button{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.button:insensitive{ - box-shadow: none; -} -.button:active{ - background-color: #3584e4; - color: #ffffff; -} -.message-list-clear-button{ border-radius: 10px; } - -/* quick-settings */ -.icon-button{ box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); } -.quick-settings{ - padding: 20px; - border-radius: 24px; -} -.quick-toggle{ border-radius: 12px; } -.quick-toggle-arrow { border-radius: 0 12px 12px 0; } -.quick-slider .icon-button{ box-shadow: none; } -.quick-slider .icon-button:hover{ - background-color: #474747; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.quick-slider .icon-button:active{ - background-color: #3584e4; - color: #ffffff; -} -.quick-toggle-menu{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} - - -/* NOTIFICATIONS */ -.notification-banner{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.notification-button{ - border-radius: 10px !important; - margin: 6px !important; - border: 1px solid rgba(255, 255, 255, 0.03); -} -.notification-button:active{ - background-color: #3584e4; - color: #ffffff; -} - -.slider, -.level { - height: 16px; - -barlevel-height: 16px; - -barlevel-background-color: #595959; - /* fill */ - -barlevel-active-background-color: #3584e4; - /* overfill */ - -barlevel-overdrive-color: #bb6271; - -barlevel-overdrive-separator-width: 2px; - -slider-handle-radius: 7px; -} - -/* overview-ws-thumbnail */ -.workspace-thumbnail{ - background-color: #595959; - border: none; - border-radius: 9px; - border: 1px solid rgba(255, 255, 255, 0.03); - background-image: url('/home/demeter/.config/background'); - background-size: cover; -} -.workspace-thumbnail-indicator { - border-color: #3584e4; - border-width: 3px; - border-radius: 12px; -} - -/* APP-GRID */ -.app-well-app:hover .overview-icon, -.app-well-app:focus .overview-icon, -.app-well-app:selected .overview-icon, -.app-well-app.app-folder .overview-icon{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.app-well-app.app-folder:active .overview-icon, -.app-well-app:active .overview-icon{ - background-color: #3584e4; - color: #ffffff; -} - -/* DASH */ -#dash .dash-background{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.dash-label { - background-color: #303030; - border-radius: 11px; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.app-well-app-running-dot{ - width: 10px; - height: 5px; - border-radius: 4px; -} -.show-apps:hover .overview-icon, -.show-apps:focus .overview-icon, -.show-apps:selected .overview-icon{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.show-apps:active .overview-icon, -.show-apps:checked .overview-icon, -#dash .app-well-app:active .overview-icon{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); - background-color: #3584e4; - color: #ffffff; -} - -/* folder */ -.app-folder-dialog{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.edit-folder-button{ - border-radius: 12px; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.edit-folder-button:active{ - background-color: #3584e4; - color: #ffffff; -} - -/* SEARCH */ -StEntry{ - border-radius: 12px; - border: 1px solid rgba(255, 255, 255, 0.03); -} -StEntry:hover, StEntry:focus, StEntry:active{ - border: 1px solid #3584e4; - box-shadow: inset 0 0 0 1px #3584e4; -} - -.search-section-content{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); - border-radius: 17px; -} - -.list-search-result:focus, .search-provider-icon:focus, -.list-search-result:hover, .search-provider-icon:hover, -.list-search-result:selected, .search-provider-icon:selected{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.list-search-result:active, .search-provider-icon:active{ - background-color: #3584e4; - color: #ffffff; -} - -/* OSD */ -.modal-dialog{ - border-radius: 16px; - background-color: #272727; - border: 1px solid rgba(255, 255, 255, 0.03); -} -.switcher-list, -.resize-popup, -.workspace-switcher, -.osd-window{ - border-radius: 22px; - box-shadow: 0 8px 8px 0 rgba(0,0,0,0.1); - border: 1px solid rgba(255, 255, 255, 0.03); -} -.ws-switcher-indicator{ - height: 10px; - width: 10px; -} -.switcher-list .item-box:hover, -.switcher-list .item-box:focus, -.switcher-list .item-box:selected{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.modal-dialog-linked-button { - padding: 10px 0 !important; - margin: 12px !important; - border-radius: 10px !important; - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} -.modal-dialog-linked-button:focus{ - box-shadow: inset 0 0 0 2px #3584e4; - background-color: #4f5761; -} -.modal-dialog-linked-button:active{ - background-color: #3584e4; - color: #ffffff; -} -.nm-dialog-scroll-view{ - border: 1px solid rgba(255, 255, 255, 0.03); -} -.nm-dialog-item:selected{ - box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03); -} - -/* */ -.level-bar{ background-color: #595959; } diff --git a/configs/gnome/themes/Smooth/gnome-shell/toggle10-off.svg b/configs/gnome/themes/Smooth/gnome-shell/toggle10-off.svg deleted file mode 100644 index c0759e127..000000000 --- a/configs/gnome/themes/Smooth/gnome-shell/toggle10-off.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/configs/gnome/themes/Smooth/gnome-shell/toggle10-on.svg b/configs/gnome/themes/Smooth/gnome-shell/toggle10-on.svg deleted file mode 100644 index d100e1d7e..000000000 --- a/configs/gnome/themes/Smooth/gnome-shell/toggle10-on.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/configs/hypr/hyprland.conf b/configs/hypr/hyprland.conf old mode 100755 new mode 100644 index 7426704fe..f5dc8b7ae --- a/configs/hypr/hyprland.conf +++ b/configs/hypr/hyprland.conf @@ -1,179 +1,197 @@ -######################################################################################## - __ __ _ _ _ -| \/ (_)_ __ (_)_ __ ___ __ _| | -| |\/| | | '_ \| | '_ ` _ \ / _` | | -| | | | | | | | | | | | | | (_| | | -|_| |_|_|_| |_|_|_| |_| |_|\__,_|_| - - _ _ _ _ ____ __ _ -| | | |_ _ _ __ _ __| | __ _ _ __ __| | / ___|___ _ __ / _(_) __ _ ___ -| |_| | | | | '_ \| '__| |/ _` | '_ \ / _` | | | / _ \| '_ \| |_| |/ _` / __| -| _ | |_| | |_) | | | | (_| | | | | (_| | | |__| (_) | | | | _| | (_| \__ \ -|_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_| \____\___/|_| |_|_| |_|\__, |___/ - |___/|_| |___/ -######################################################################################### +# ######################################################################################## + +# โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— +# โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• +# โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— +# โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ• โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘ +# โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ +# โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•šโ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ• + +# ######################################################################################### # You have to change this based on your monitor monitor=eDP-1,1920x1080@60,0x0,1 # Status bar :) -exec-once=eww open bar -#Notification +exec-once=waybar +# Notification exec-once=dunst # Wallpaper -exec-once=swaybg -o \* -i ~/.config/hypr/wallpapers/landscape.jpg -m fill +exec-once=swaybg -o \* -i ~/.config/hypr/wallpapers/AnimeWaiting.png -m fill # For screen sharing exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # For keyboard exec-once=fcitx5 -D -# For lockscreen -exec-once=swayidle -w timeout 200 'swaylock-fancy' -# Start Page +# My Custom Start Page (Bento) exec-once=~/.config/hypr/scripts/startpage.sh # Bluetooth -exec-once=blueman-applet # Make sure you have installed blueman +exec-once=blueman-applet # Make sure you have installed blueman + blueman-utils # Screen Sharing exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=~/.config/hypr/scripts/screensharing.sh + input { - # Remap Capslock -> Esc for Vim users - kb_options=caps:escape - repeat_rate=50 - repeat_delay=240 - - touchpad { - disable_while_typing=1 - natural_scroll=1 - clickfinger_behavior=1 - middle_button_emulation=0 - tap-to-click=1 - } + kb_layout = us + follow_mouse = 1 + + touchpad { + natural_scroll = no + } + + sensitivity = 0 + force_no_accel = 1 } +# See https://wiki.hyprland.org/Configuring/Keywords/#executing -gestures { - workspace_swipe=true - workspace_swipe_min_speed_to_force=5 +device { + name = epic mouse V1 + sensitivity = -0.5 } +# See https://wiki.hyprland.org/Configuring/Variables/ + +gestures { + workspace_swipe = true + workspace_swipe_fingers = 3 +} + + + + general { layout=dwindle - sensitivity=1.0 # for mouse cursor - gaps_in=5 - gaps_out=20 + gaps_in=11.8 + gaps_out=15.5 border_size=2 col.active_border=0xff5e81ac col.inactive_border=0x66333333 - - apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse) } decoration { - rounding=18 - blur=1 - blur_size=6.8 # minimum 1 - blur_passes=2 # minimum 1, more passes = more resource intensive. - blur_new_optimizations = true - # Your blur "amount" is blur_size * blur_passes, but high blur_size (over around 5-ish) will produce artifacts. - # if you want heavy blur, you need to up the blur_passes. - # the more passes, the more you can up the blur_size without noticing artifacts. - drop_shadow=true - shadow_range=15 - col.shadow=0xffa7caff - col.shadow_inactive=0x50000000 + rounding=19 + blur { + enabled=1 + size=13 # minimum 1 + passes=3 # minimum 1, more passes = more resource intensive. + new_optimizations = true + + # Your blur "amount" is size * passes, but high size (over around 5-ish) + # will produce artifacts. + # if you want heavy blur, you need to up the passes. + # the more passes, the more you can up the size without noticing artifacts. + } + + shadow { + enabled = true + range = 30 + color = 0xffa7caff #86AAEC + color_inactive = 0x50000000 + } } # Blur for waybar blurls=waybar -blurls=lockscreen animations { enabled=1 - # bezier=overshot,0.05,0.9,0.1,1.1 bezier=overshot,0.13,0.99,0.29,1.1 - animation=windows,1,4,overshot,popin + animation=windows,1,4,overshot,slide animation=fade,1,10,default - animation=workspaces,1,6,overshot,slide - animation=border,1,10,default + animation=workspaces,1,8.8,overshot,slide + animation=border,1,14,default } dwindle { pseudotile=1 # enable pseudotiling on dwindle - # force_split=2 force_split=0 - no_gaps_when_only = true } master { new_on_top=true - no_gaps_when_only = true } misc { disable_hyprland_logo=true disable_splash_rendering=true mouse_move_enables_dpms=true - no_vfr=1 + vfr = true } -######################################################################################## - -\ \ / (_) | | | __ \ | | - \ \ /\ / / _ _ __ __| | _____ _____ | |__) | _| | ___ ___ - \ \/ \/ / | | '_ \ / _` |/ _ \ \ /\ / / __| | _ / | | | |/ _ \/ __| - \ /\ / | | | | | (_| | (_) \ V V /\__ \ | | \ \ |_| | | __/\__ \ - \/ \/ |_|_| |_|\__,_|\___/ \_/\_/ |___/ |_| \_\__,_|_|\___||___/ - -######################################################################################## +# ######################################################################################## +# โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— +# โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• +# โ–ˆโ–ˆโ•‘ โ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— +# โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•โ•โ• โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘ +# โ•šโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ +# โ•šโ•โ•โ•โ•šโ•โ•โ• โ•šโ•โ•โ•šโ•โ• โ•šโ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•šโ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ•โ• +# ######################################################################################## # Float Necessary Windows windowrule=float,Rofi windowrule=float,pavucontrol -windowrulev2 = float,class:^()$,title:^(Picture in picture)$ + +windowrulev2=size 800 500,title:^(float_kitty)$ +windowrulev2=float,title:^(full_kitty)$ +windowrulev2=tile,title:^(kitty)$ +windowrulev2=float,title:^(fly_is_kitty)$ +windowrulev2=animation popin,Rofi + + windowrulev2 = float,class:^(brave)$,title:^(Save File)$ windowrulev2 = float,class:^(brave)$,title:^(Open File)$ -windowrulev2 = float,class:^(LibreWolf)$,title:^(Picture-in-Picture)$ +windowrulev2 = float,class:^(firefox)$,title:^(Picture-in-Picture)$ windowrulev2 = float,class:^(blueman-manager)$ windowrulev2 = float,class:^(org.twosheds.iwgtk)$ windowrulev2 = float,class:^(blueberry.py)$ windowrulev2 = float,class:^(xdg-desktop-portal-gtk)$ windowrulev2 = float,class:^(geeqie)$ +windowrulev2 = tile,class:^(neovide)$ # Increase the opacity windowrule=opacity 0.92,Thunar windowrule=opacity 0.96,discord windowrule=opacity 0.9,VSCodium windowrule=opacity 0.88,obsidian +windowrule=opacity 0.7,neovide -^.*nvim.*$ -windowrule=tile,librewolf -windowrule=tile,spotify +# ^.*nvim.*$ windowrule=opacity 1,neovim bindm=SUPER,mouse:272,movewindow bindm=SUPER,mouse:273,resizewindow -########################################### - ____ _ _ _ - | _ \(_) | (_) - | |_) |_ _ __ __| |_ _ __ __ _ ___ - | _ <| | '_ \ / _` | | '_ \ / _` / __| - | |_) | | | | | (_| | | | | | (_| \__ \ - |____/|_|_| |_|\__,_|_|_| |_|\__, |___/ - __/ | - |___/ +# Smart gaps +workspace = w[tv1], gapsout:0, gapsin:0 +workspace = f[1], gapsout:0, gapsin:0 +windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1] +windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1] +windowrulev2 = bordersize 0, floating:0, onworkspace:f[1] +windowrulev2 = rounding 0, floating:0, onworkspace:f[1] -########################################### +# ########################################### + +# โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— +# โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ•šโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ• +# โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— +# โ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•”โ•โ•โ• โ•šโ–ˆโ–ˆโ•”โ• โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•‘โ•šโ•โ•โ•โ•โ–ˆโ–ˆโ•‘ +# โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•‘ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•‘ +# โ•šโ•โ• โ•šโ•โ•โ•šโ•โ•โ•โ•โ•โ•โ• โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•šโ•โ• โ•šโ•โ•โ•โ•โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•šโ•โ• โ•šโ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ• +# ########################################### # example binds bind=SUPER,Q,killactive -bind=SUPER,B,exec,librewolf +bind=SUPER,B,exec,firefox bind=SUPER,F,fullscreen,1 bind=SUPERSHIFT,F,fullscreen,0 -bind=SUPER,RETURN,exec,kitty + +bind=SUPERSHIFT,t,exec,kitty --start-as=fullscreen -o 'font_size=20' --title all_is_kitty +bind=ALT,RETURN,exec,kitty --title fly_is_kitty +bind=SUPER,RETURN,exec,kitty --title kitty_term + bind=SUPER,C,killactive, bind=SUPERSHIFT,Q,exit, bind=SUPER,E,exec,pcmanfm @@ -191,21 +209,16 @@ bindle=,XF86MonBrightnessDown,exec,~/.config/hypr/scripts/brightness down # decr bind=SUPERSHIFT,C,exec,bash ~/.config/hypr/scripts/hyprPicker.sh bind=SUPERSHIFT,E,exec,wlogout bind = SUPER, T, togglefloating, -bind=SUPERSHIFT,P,exec,pomotroid --in-process-gpu # Screen shot bind=SUPERSHIFT,S,exec,grim -g "$(slurp)" - | swappy -f - # Screen recorder -bind=SUPER,R,exec,wf-recorder -g "$(slurp)" +bind=SUPERSHIFT,R,exec,wf-recorder -g "$(slurp)" # Emoji selector bind=SUPER,E,exec,rofi -modi emoji -show emoji - bind=SUPERSHIFT,RETURN,layoutmsg,swapwithmaster -# bind=SUPER,j,layoutmsg,cyclenext -# bind=SUPER,k,layoutmsg,cycleprev - bind=SUPER,j,movefocus,d bind=SUPER,k,movefocus,u diff --git a/configs/hypr/scripts/appLaunch/launcher.sh b/configs/hypr/scripts/appLaunch/launcher.sh old mode 100755 new mode 100644 diff --git a/configs/hypr/scripts/brightness b/configs/hypr/scripts/brightness index 542b91711..50086256e 100755 --- a/configs/hypr/scripts/brightness +++ b/configs/hypr/scripts/brightness @@ -3,13 +3,13 @@ down() { brillo -u 150000 -U 2 brightness=$(light -g) -dunstify -a "BRIGHTNESS" "Decreasing to $brightness%" -h int:value:"$brightness" -i display-brightness-symbolic -r 2593 -u normal +dunstify -a "BRIGHTNESS" "Decreasing to $brightness%" -h int:value:"$brightness" -i ~/.config/dunst/assets/ui/brightness-down.png -r 2593 -u normal } up() { brillo -u 150000 -A 2 brightness=$(light -g) -dunstify -a "BRIGHTNESS" "Increasing to $brightness%" -h int:value:"$brightness" -i display-brightness-symbolic -r 2593 -u normal +dunstify -a "BRIGHTNESS" "Increasing to $brightness%" -h int:value:"$brightness" -i ~/.config/dunst/assets/ui/brightness-up.png -r 2593 -u normal } case "$1" in diff --git a/configs/hypr/scripts/hyprPicker.sh b/configs/hypr/scripts/hyprPicker.sh index 3b6d93a41..6d988ddab 100755 --- a/configs/hypr/scripts/hyprPicker.sh +++ b/configs/hypr/scripts/hyprPicker.sh @@ -1,4 +1,4 @@ #!/bin/sh -~/.config/hypr/scripts/hyprpicker --format hex | head -c -1 | wl-copy +hyprpicker --format hex | head -c -1 | wl-copy convert -size 100x100 xc:$(wl-paste) /tmp/color.png dunstify --icon=/tmp/color.png "$(wl-paste)" "Copied to your clipboard!" diff --git a/configs/hypr/scripts/startpage.sh b/configs/hypr/scripts/startpage.sh index 9dc89fdeb..9d32d63ee 100755 --- a/configs/hypr/scripts/startpage.sh +++ b/configs/hypr/scripts/startpage.sh @@ -1,4 +1,5 @@ #!/bin/sh -cd ~/Repos/PersonalProjects/startpage/ +if cd ~/Developer/Bento/; then python -m http.server 10002 +fi diff --git a/configs/hypr/scripts/volume b/configs/hypr/scripts/volume index 520d82a4f..8d97c4078 100755 --- a/configs/hypr/scripts/volume +++ b/configs/hypr/scripts/volume @@ -4,15 +4,15 @@ down() { pamixer -d 2 volume=$(pamixer --get-volume) [$volume -gt 0 ] && volume=`expr $volume` -dunstify -a "VOLUME" "Decreasing to $volume%" -h int:value:"$volume" -i audio-volume-low-symbolic -r 2593 -u normal +dunstify -a "VOLUME" "Decreasing to $volume%" -h int:value:"$volume" -i ~/.config/dunst/assets/ui/volume_down.png -r 2593 -u normal canberra-gtk-play -i audio-volume-change -d "changevolume" } up() { pamixer -i 2 volume=$(pamixer --get-volume) -[ $volume -lt 100 ] && volume=`expr $volume` -dunstify -a "VOLUME" "Increasing to $volume%" -h int:value:"$volume" -i audio-volume-high-symbolic -r 2593 -u normal +[ $volume -lt 1000 ] && volume=`expr $volume` +dunstify -a "VOLUME" "Increasing to $volume%" -h int:value:"$volume" -i ~/.config/dunst/assets/ui/volume_up.png -r 2593 -u normal canberra-gtk-play -i audio-volume-change -d "changevolume" } @@ -20,10 +20,10 @@ mute() { muted="$(pamixer --get-mute)" if $muted; then pamixer -u - dunstify -a "VOLUME" "UNMUTED" -i audio-volume-high-symbolic -r 2593 -u normal + dunstify -a "VOLUME" "UNMUTED" -i ~/.config/dunst/assets/ui/volume_up.png -r 2593 -u normal else pamixer -m - dunstify -a "VOLUME" "MUTED" -i audio-volume-muted-symbolic -r 2593 -u normal + dunstify -a "VOLUME" "MUTED" -i ~/.config/dunst/assets/ui/volume_muted.svg -r 2593 -u normal fi } diff --git a/configs/hypr/wallpapers/AnimeWaiting.png b/configs/hypr/wallpapers/AnimeWaiting.png new file mode 100644 index 000000000..456e3f228 Binary files /dev/null and b/configs/hypr/wallpapers/AnimeWaiting.png differ diff --git a/configs/hypr/wallpapers/city.jpg b/configs/hypr/wallpapers/city.jpg deleted file mode 100644 index 320bd3e67..000000000 Binary files a/configs/hypr/wallpapers/city.jpg and /dev/null differ diff --git a/configs/hypr/wallpapers/flowers.png b/configs/hypr/wallpapers/flowers.png deleted file mode 100644 index 51a9fd1f9..000000000 Binary files a/configs/hypr/wallpapers/flowers.png and /dev/null differ diff --git a/configs/hypr/wallpapers/karsten-wurth-7BjhtdogU3A-unsplash.jpg b/configs/hypr/wallpapers/karsten-wurth-7BjhtdogU3A-unsplash.jpg deleted file mode 100644 index 0ffe93737..000000000 Binary files a/configs/hypr/wallpapers/karsten-wurth-7BjhtdogU3A-unsplash.jpg and /dev/null differ diff --git a/configs/hypr/wallpapers/landscape.jpg b/configs/hypr/wallpapers/landscape.jpg deleted file mode 100644 index c5f5bd93d..000000000 Binary files a/configs/hypr/wallpapers/landscape.jpg and /dev/null differ diff --git a/configs/hypr/wallpapers/lofi-cafe.jpg b/configs/hypr/wallpapers/lofi-cafe.jpg deleted file mode 100644 index 31dbeaa3a..000000000 Binary files a/configs/hypr/wallpapers/lofi-cafe.jpg and /dev/null differ diff --git a/configs/hypr/wallpapers/night.jpg b/configs/hypr/wallpapers/night.jpg deleted file mode 100644 index 8a967c44e..000000000 Binary files a/configs/hypr/wallpapers/night.jpg and /dev/null differ diff --git a/configs/hypr/wallpapers/tree.jpg b/configs/hypr/wallpapers/tree.jpg deleted file mode 100644 index 300a4a72a..000000000 Binary files a/configs/hypr/wallpapers/tree.jpg and /dev/null differ diff --git a/configs/kitty/kitty.conf b/configs/kitty/kitty.conf index 8bbf9ca76..64073c570 100644 --- a/configs/kitty/kitty.conf +++ b/configs/kitty/kitty.conf @@ -6,8 +6,8 @@ bold_font auto italic_font auto bold_italic_font auto -font_size 13 -# background_opacity 0.8 +font_size 14 +background_opacity 0.3 # window settings initial_window_width 95c diff --git a/configs/lazygit/config.yml b/configs/lazygit/config.yml deleted file mode 100644 index f2898a620..000000000 --- a/configs/lazygit/config.yml +++ /dev/null @@ -1,31 +0,0 @@ -gui: - theme: - activeBorderColor: - - blue - - bold - inactiveBorderColor: - - white - optionsTextColor: - - blue - selectedLineBgColor: - - default # set to `default` to have no background colour - selectedRangeBgColor: - - default - cherryPickedCommitBgColor: - - cyan - cherryPickedCommitFgColor: - - blue - unstagedChangesColor: - - red - - showFileTree: true # for rendering changes files in a tree format - showListFooter: false # for seeing the '5 of 20' message in list panels - showRandomTip: false - showBottomLine: false # for hiding the bottom information line (unless it has important information to tell you) - showCommandLog: true - showIcons: true - -disableStartupPopups: true -notARepository: 'skip' # one of: 'prompt' | 'create' | 'skip' -os: - editCommand: 'nvim' diff --git a/configs/lazygit/state.yml b/configs/lazygit/state.yml deleted file mode 100644 index ac2b25fe9..000000000 --- a/configs/lazygit/state.yml +++ /dev/null @@ -1,7 +0,0 @@ -lastupdatecheck: 0 -recentrepos: -- /home/peter/Repos/dots -- /home/peter/Repos/PersonalProjects/startpage -startuppopupversion: 5 -customcommandshistory: [] -hidecommandlog: true diff --git a/configs/neofetch/ascii.txt b/configs/neofetch/ascii.txt deleted file mode 100644 index e77fd8b32..000000000 --- a/configs/neofetch/ascii.txt +++ /dev/null @@ -1,21 +0,0 @@ -# ascii/distro/redstar -${c2} - - โ–Ÿโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–‚โ–”โ–€โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–…โ–‚โ–โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–›โ–€โ–€โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–› โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–†โ–…โ–„โ–ƒโ–‚ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–› โ–œโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€โ–€โ–€ โ–€โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–ˆโ–ˆโ–ˆโ–€โ–˜ โ–โ–€โ–ˆโ–ˆโ–ˆโ–™ - โ–Ÿโ–›โ–€ โ–€โ–œโ–™ diff --git a/configs/neofetch/config.conf b/configs/neofetch/config.conf deleted file mode 100644 index 9c825de82..000000000 --- a/configs/neofetch/config.conf +++ /dev/null @@ -1,198 +0,0 @@ -# https://github.com/chick2d/neofetch-themes - -print_info() { - info "\e[31m๏ˆ›" users - info "\e[32m๏Œƒ" kernel - info "\e[33m๏€—" uptime - info "\e[34m๏†ฒ" packages - info "\e[35m๏’ˆ" wm - info "\e[32m๏„ " shell - info "\e[33m๏กš" memory -} - -# Shorten the output of the kernel function. -kernel_shorthand="off" - -# Shorten the output of the distro function -distro_shorthand="off" - -# Show/Hide OS Architecture. -os_arch="on" - -# Shorten the output of the uptime function -uptime_shorthand="on" - -# Show memory pecentage in output. -memory_percent="off" - -# Change memory output unit ('kib', 'mib', 'gib') -memory_unit="mib" - -# Show/Hide Package Manager names. -# Values: 'on', 'tiny' 'off' -# on: '998 (pacman), 8 (flatpak), 4 (snap)' -# tiny: '908 (pacman, flatpak, snap)' -# off: '908' -package_managers="on" - -# Show the path to $SHELL -# Example: -# on: '/bin/bash' -# off: 'bash' -shell_path="off" - -# Show $SHELL version -shell_version="on" - -# Display refresh rate next to each monitor -refresh_rate="off" - -# Show Desktop Environment version -de_version="on" - -# Text Colors -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Each number represents a different part of the text in -# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info' -# Example: -# colors=(distro) - Text is colored based on Distro colors. -# colors=(4 6 1 8 8 6) - Text is colored in the order above. -# colors=(4 7 7 4 7 7) -colors=(distro) - -# Toggle bold text -bold="on" - -# Enable/Disable Underline -underline_enabled="on" - -# Underline character (string) -underline_char="โ”€" - -# Info Separator -separator=" โ€ข" - -# Color block range. The range of colors to print. -# Values: 'num' -block_range=(0 7) - -# Toggle color blocks -color_blocks="on" - -# Color block width in spaces -block_width=3 - -# Color block height in lines -block_height=1 - -# Color Alignment -# Values: 'auto', 'num' -# Number specifies how far from the left side of the terminal (in spaces) to -# begin printing the columns, in case you want to e.g. center them under your -# text. -# Example: -# col_offset="auto" - Default behavior of neofetch -# col_offset=7 - Leave 7 spaces then print the colors -col_offset="auto" - -# Progress Bar characters -bar_char_elapsed="-" -bar_char_total="=" - -# Toggle Progress Bar border -bar_border="on" - -# Progress bar length in spaces -# Number of chars long to make the progress bars. -bar_length=15 - -# Progress bar colors -# When set to distro, uses your distro's logo colors. -# Values: 'distro', 'num' -bar_color_elapsed="distro" -bar_color_total="distro" - -# Info display -# Display a bar with the info. -# Values: 'bar', 'infobar', 'barinfo', 'off' -# Example: -# bar: '[---=======]' -# infobar: 'info [---=======]' -# barinfo: '[---=======] info' -# off: 'info' -cpu_display="off" -memory_display="off" -battery_display="off" -disk_display="off" - -# Image backend. -# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off', -# 'pot', 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty' -image_backend="ascii" - -# Image Source -# Default: 'auto' -# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/' -# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")' -image_source="${HOME}/.config/neofetch/ascii.txt" - -# Ascii distro (Which distro's ascii art to display). -# Default: 'auto' -# Values: 'auto', 'distro_name' -ascii_distro="arch_small" - -# Ascii Colors -# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num' -# Example: -# ascii_colors=(distro) - Ascii is colored based on Distro colors. -# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors. -ascii_colors=(distro) - -# Whether or not to bold the ascii logo. -ascii_bold="on" - -# Image loop -# Setting this to on will make neofetch redraw the image constantly until -# Ctrl+C is pressed. This fixes display issues in some terminal emulators. -image_loop="off" - -# Thumbnail directory -# Default: '~/.cache/thumbnails/neofetch' -thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" - -# Crop mode -# Values: 'normal', 'fit', 'fill' -# See this wiki page to learn about the fit and fill options. -# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F -crop_mode="normal" - -# Crop offset -# Note: Only affects 'normal' crop mode. -# Values: 'northwest', 'north', 'northeast', 'west', 'center' -# 'east', 'southwest', 'south', 'southeast' -crop_offset="center" - -# Image size -# The image is half the terminal width by default. -# Values: 'auto', '00px', '00%', 'none' -image_size="auto" - -# Gap between image and text. Can be a positive or negative integer -gap=5 - -# Image offsets -# Only works with the w3m backend. -# Values: 'px' -yoffset=0 -xoffset=0 - -# Image background color -# Only works with the w3m backend. -# Values: 'color', 'blue' -background_color= - -# Stdout mode -# Turn off all colors and disables image backend (ASCII/Image). -# Useful for piping into another command. -stdout="off" - diff --git a/configs/nvim/init.lua b/configs/nvim/init.lua deleted file mode 100644 index fcdb3b29b..000000000 --- a/configs/nvim/init.lua +++ /dev/null @@ -1,2 +0,0 @@ -require("core") -require("plugins") diff --git a/configs/nvim/lua/core/init.lua b/configs/nvim/lua/core/init.lua deleted file mode 100644 index 4fd0f833c..000000000 --- a/configs/nvim/lua/core/init.lua +++ /dev/null @@ -1,2 +0,0 @@ -require('core.options') -require('core.mappings') diff --git a/configs/nvim/lua/core/mappings.lua b/configs/nvim/lua/core/mappings.lua deleted file mode 100644 index befdce82a..000000000 --- a/configs/nvim/lua/core/mappings.lua +++ /dev/null @@ -1,86 +0,0 @@ --- Shorten function name -local keymap = vim.keymap.set --- Silent keymap option -local opts = { silent = true } - ---Remap space as leader key -keymap("", "", "", opts) -vim.g.mapleader = " " - --- Modes --- normal_mode = "n", --- insert_mode = "i", --- visual_mode = "v", --- visual_block_mode = "x", --- term_mode = "t", --- command_mode = "c", - --- Normal -- --- Better window navigation -keymap("n", "", "h", opts) -keymap("n", "", "j", opts) -keymap("n", "", "k", opts) -keymap("n", "", "l", opts) - --- Resize with arrows -keymap("n", "", ":resize -2", opts) -keymap("n", "", ":resize +2", opts) -keymap("n", "", ":vertical resize -2", opts) -keymap("n", "", ":vertical resize +2", opts) - --- Navigate buffers -keymap("n", "", ":bnext", opts) -keymap("n", "", ":bprevious", opts) - --- -- Clear highlights --- keymap("n", "h", "nohlsearch", opts) - --- Close buffers -keymap("n", "", ":bdelete", opts) - --- Better paste -keymap("v", "p", '"_dP', opts) - --- Insert -- --- Press jk fast to enter -keymap("i", "jk", "", opts) - --- Visual -- --- Stay in indent mode -keymap("v", "<", "", ">gv", opts) - --- Plugins -- - --- Telescope -keymap("n", "ff", ":Telescope find_files", opts) -keymap("n", "ft", ":Telescope live_grep", opts) -keymap("n", "fp", ":Telescope projects", opts) -keymap("n", "fb", ":Telescope buffers", opts) - --- DAP -keymap("n", "db", "lua require'dap'.toggle_breakpoint()", opts) -keymap("n", "dc", "lua require'dap'.continue()", opts) -keymap("n", "di", "lua require'dap'.step_into()", opts) -keymap("n", "do", "lua require'dap'.step_over()", opts) -keymap("n", "dO", "lua require'dap'.step_out()", opts) -keymap("n", "dr", "lua require'dap'.repl.toggle()", opts) -keymap("n", "dl", "lua require'dap'.run_last()", opts) -keymap("n", "du", "lua require'dapui'.toggle()", opts) -keymap("n", "dt", "lua require'dap'.terminate()", opts) - --- Lsp -keymap("n", "lf", "lua vim.lsp.buf.format{ async = true }", opts) - --- Other Ultilities -vim.keymap.set("n", "s", [[:%s/\<\>//gI]]) -vim.keymap.set("n", "x", "!chmod +x %", { silent = true }) - -vim.keymap.set("v", "J", ":m '>+1gv=gv") -vim.keymap.set("v", "K", ":m '<-2gv=gv") - --- LazyGit -keymap("n", "gg", "LazyGit", opts) - --- Control all select -keymap("n", "", "ggVG", opts) diff --git a/configs/nvim/lua/core/options.lua b/configs/nvim/lua/core/options.lua deleted file mode 100644 index d440334e5..000000000 --- a/configs/nvim/lua/core/options.lua +++ /dev/null @@ -1,43 +0,0 @@ -vim.opt.backup = false -- creates a backup file -vim.opt.clipboard = "unnamedplus" -- allows neovim to access the system clipboard -vim.opt.cmdheight = 1 -- more space in the neovim command line for displaying messages -vim.opt.completeopt = { "menuone", "noselect" } -- mostly just for cmp -vim.opt.conceallevel = 0 -- so that `` is visible in markdown files -vim.opt.fileencoding = "utf-8" -- the encoding written to a file -vim.opt.hlsearch = true -- highlight all matches on previous search pattern -vim.opt.ignorecase = true -- ignore case in search patterns -vim.opt.mouse = "a" -- allow the mouse to be used in neovim -vim.opt.pumheight = 10 -- pop up menu height -vim.opt.showmode = false -- we don't need to see things like -- INSERT -- anymore -vim.opt.showtabline = 0 -- always show tabs -vim.opt.smartcase = true -- smart case -vim.opt.smartindent = true -- make indenting smarter again -vim.opt.splitbelow = true -- force all horizontal splits to go below current window -vim.opt.splitright = true -- force all vertical splits to go to the right of current window -vim.opt.swapfile = false -- creates a swapfile -vim.opt.termguicolors = true -- set term gui colors (most terminals support this) -vim.opt.timeoutlen = 1000 -- time to wait for a mapped sequence to complete (in milliseconds) -vim.opt.undofile = true -- enable persistent undo -vim.opt.updatetime = 300 -- faster completion (4000ms default) -vim.opt.writebackup = false -- if a file is being edited by another program (or was written to file while editing with another program), it is not allowed to be edited -vim.opt.expandtab = true -- convert tabs to spaces -vim.opt.shiftwidth = 4 -- the number of spaces inserted for each indentation -vim.opt.tabstop = 4 -- insert 2 spaces for a tab -vim.opt.softtabstop = 4 -vim.opt.cursorline = true -- highlight the current line -vim.opt.number = true -- set numbered lines -vim.opt.laststatus = 3 -- only the last window will always have a status line -vim.opt.showcmd = false -- hide (partial) command in the last line of the screen (for performance) -vim.opt.ruler = false -- hide the line and column number of the cursor position -vim.opt.numberwidth = 2 -- minimal number of columns to use for the line number {default 4} -vim.opt.signcolumn = "yes" -- always show the sign column, otherwise it would shift the text each time -vim.opt.wrap = false -- display lines as one long line -vim.opt.scrolloff = 8 -- minimal number of screen lines to keep above and below the cursor -vim.opt.sidescrolloff = 8 -- minimal number of screen columns to keep to the left and right of the cursor if wrap is `false` -vim.opt.guifont = "monospace:h17" -- the font used in graphical neovim applications -vim.opt.fillchars.eob=" " -- show empty lines at the end of a buffer as ` ` {default `~`} -vim.opt.shortmess:append "c" -- hide all the completion messages, e.g. "-- XXX completion (YYY)", "match 1 of 2", "The only match", "Pattern not found" -vim.opt.whichwrap:append("<,>,[,],h,l") -- keys allowed to move to the previous/next line when the beginning/end of line is reached -vim.opt.iskeyword:append("-") -- treats words with `-` as single words -vim.opt.formatoptions:remove({ "c", "r", "o" }) -- This is a sequence of letters which describes how automatic formatting is to be done -vim.opt.linebreak = true diff --git a/configs/nvim/lua/plugins/configs/bbq.lua b/configs/nvim/lua/plugins/configs/bbq.lua deleted file mode 100644 index 0fac3ead4..000000000 --- a/configs/nvim/lua/plugins/configs/bbq.lua +++ /dev/null @@ -1,7 +0,0 @@ -return { - symbols = { - modified = "โ—", - ellipsis = "โ€ฆ", - separator = ">", - }, -} diff --git a/configs/nvim/lua/plugins/configs/bufferline.lua b/configs/nvim/lua/plugins/configs/bufferline.lua deleted file mode 100644 index 57086f7af..000000000 --- a/configs/nvim/lua/plugins/configs/bufferline.lua +++ /dev/null @@ -1,30 +0,0 @@ -local status_ok, bl = pcall(require,"bufferline") -if not status_ok then - return -end - -bl.setup({ - options = { - close_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" - right_mouse_command = "Bdelete! %d", -- can be a string | function, see "Mouse actions" - offsets = { { filetype = "NvimTree", text = "", padding = 1 } }, - separator_style = "slant", -- | "thick" | "thin" | { 'any', 'any' }, - color_icons = true, - diagnostics = "nvim_lsp", - diagnostics_update_in_insert = false, - diagnostics_indicator = function(count, level, diagnostics_dict, context) - local icon = level:match("error") and "๏œ " or "๏ฑ " - return " " .. icon .. count - end, - always_show_bufferline = false, - }, - - highlights = { - background = { - italic = true, - }, - buffer_selected = { - bold = true, - }, - }, -}) diff --git a/configs/nvim/lua/plugins/configs/cmp.lua b/configs/nvim/lua/plugins/configs/cmp.lua deleted file mode 100644 index 48a92c970..000000000 --- a/configs/nvim/lua/plugins/configs/cmp.lua +++ /dev/null @@ -1,132 +0,0 @@ -local cmp_status_ok, cmp = pcall(require, "cmp") -if not cmp_status_ok then - return -end - -local snip_status_ok, luasnip = pcall(require, "luasnip") -if not snip_status_ok then - return -end - -require("luasnip/loaders/from_vscode").lazy_load() - -local check_backspace = function() - local col = vim.fn.col(".") - 1 - return col == 0 or vim.fn.getline("."):sub(col, col):match("%s") -end - -local kind_icons = { - Text = "๏พ", - Method = "๏šฆ", - Function = "๏šฆ", - Constructor = "๏šฆ", - Field = "๎œ–", - Variable = "๎œ–", - Class = "๎ญ›", - Interface = "๏ƒจ", - Module = "๏™จ", - Property = "๏‚ญ", - Unit = "๎ˆŸ", - Value = "๏ขŸ", - Enum = "๏…", - Keyword = "๏ง", - Snippet = "๏—", - Color = "๏ฃ—", - File = "๏œ˜", - Reference = "๏’", - Folder = "๏Š", - EnumMember = "๏…", - Constant = "๏›ผ", - Struct = "๎ช‘", - Event = "๏ƒง", - Operator = "๎ญค", - TypeParameter = "๏žƒ", -} - -cmp.setup({ - snippet = { - expand = function(args) - luasnip.lsp_expand(args.body) -- For `luasnip` users. - end, - }, - - mapping = cmp.mapping.preset.insert({ - [""] = cmp.mapping.select_prev_item(), - [""] = cmp.mapping.select_next_item(), - [""] = cmp.mapping(cmp.mapping.scroll_docs(-1), { "i", "c" }), - [""] = cmp.mapping(cmp.mapping.scroll_docs(1), { "i", "c" }), - [""] = cmp.mapping(cmp.mapping.complete(), { "i", "c" }), - [""] = cmp.mapping({ - i = cmp.mapping.abort(), - c = cmp.mapping.close(), - }), - -- Accept currently selected item. If none selected, `select` first item. - -- Set `select` to `false` to only confirm explicitly selected items. - [""] = cmp.mapping.confirm({ select = true }), - [""] = cmp.mapping(function(fallback) - if cmp.visible() then - cmp.select_next_item() - elseif luasnip.expandable() then - luasnip.expand() - elseif luasnip.expand_or_jumpable() then - luasnip.expand_or_jump() - elseif check_backspace() then - fallback() - else - fallback() - end - end, { - "i", - "s", - }), - [""] = cmp.mapping(function(fallback) - if cmp.visible() then - cmp.select_prev_item() - elseif luasnip.jumpable(-1) then - luasnip.jump(-1) - else - fallback() - end - end, { - "i", - "s", - }), - }), - - formatting = { - format = function(_, vim_item) - vim_item.kind = string.format("%s %s", kind_icons[vim_item.kind], vim_item.kind) - return vim_item - end, - }, - sources = { - { name = "nvim_lsp" }, - { name = "nvim_lua" }, - { name = "vsnip" }, - { name = "luasnip" }, - { name = "buffer" }, - { name = "path" }, - }, - confirm_opts = { - behavior = cmp.ConfirmBehavior.Replace, - select = false, - }, - window = { - completion = cmp.config.window.bordered(), - }, - sorting = { - comparators = { - cmp.config.compare.offset, - cmp.config.compare.exact, - cmp.config.compare.score, - require("cmp-under-comparator").under, - cmp.config.compare.kind, - cmp.config.compare.sort_text, - cmp.config.compare.length, - cmp.config.compare.order, - }, - }, - experimental = { - ghost_text = true, - }, -}) diff --git a/configs/nvim/lua/plugins/configs/colorschemes.lua b/configs/nvim/lua/plugins/configs/colorschemes.lua deleted file mode 100644 index d2be7ea99..000000000 --- a/configs/nvim/lua/plugins/configs/colorschemes.lua +++ /dev/null @@ -1,76 +0,0 @@ -local colors = require("catppuccin.palettes").get_palette() -require("catppuccin").setup({ - flavour = "mocha", - color_overrides = { - mocha = { - base = "#141521", - }, - }, - custom_highlights = { - Comment = { fg = colors.overlay1 }, - LineNr = { fg = colors.overlay1 }, - }, - integrations = { - cmp = true, - dap = { - enabled = true, - enable_ui = true, - }, - fidget = true, - gitsigns = true, - indent_blankline = { - enabled = true, - colored_indent_levels = true, - }, - markdown = true, - mason = true, - native_lsp = { - enabled = true, - }, - neogit = true, - neotree = true, - notify = true, - nvimtree = true, - symbols_outline = true, - telescope = true, - treesitter = true, - treesitter_context = true, - which_key = true, - ts_rainbow = true, - barbecue = { - dim_dirname = true, - }, - }, -}) - -local colorscheme = "catppuccin" - - -local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) -if not status_ok then - return -end - --- Transparent - --- vim.api.nvim_create_autocmd("ColorScheme", { --- pattern = "*", --- callback = function() --- local hl_groups = { --- "Normal", --- "SignColumn", --- "NormalNC", --- "TelescopeBorder", --- "NvimTreeNormal", --- "EndOfBuffer", --- "MsgArea", --- } --- for _, name in ipairs(hl_groups) do --- vim.cmd(string.format("highlight %s ctermbg=none guibg=none", name)) --- end --- end, --- }) --- --- vim.opt.fillchars = "eob: " - --- setup must be called before loading diff --git a/configs/nvim/lua/plugins/configs/lsp/handlers.lua b/configs/nvim/lua/plugins/configs/lsp/handlers.lua deleted file mode 100644 index ffa904583..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/handlers.lua +++ /dev/null @@ -1,91 +0,0 @@ -local M = {} - -local status_cmp_ok, cmp_nvim_lsp = pcall(require, "cmp_nvim_lsp") -if not status_cmp_ok then - return -end - -M.capabilities = vim.lsp.protocol.make_client_capabilities() -M.capabilities.textDocument.completion.completionItem.snippetSupport = true -M.capabilities = cmp_nvim_lsp.default_capabilities(M.capabilities) - -M.setup = function() - local signs = { - - { name = "DiagnosticSignError", text = "๎ฉฑ" }, - { name = "DiagnosticSignWarn", text = "๎ฉฑ" }, - { name = "DiagnosticSignHint", text = "๎ฉฑ" }, - { name = "DiagnosticSignInfo", text = "๎ฉฑ" }, - } - - for _, sign in ipairs(signs) do - vim.fn.sign_define(sign.name, { texthl = sign.name, text = sign.text, numhl = "" }) - end - - local config = { - virtual_text = true, - signs = { - active = signs, -- show signs - }, - update_in_insert = false, - underline = true, - severity_sort = true, - float = { - focusable = true, - style = "minimal", - border = "rounded", - source = "always", - header = "", - prefix = "", - }, - } - - vim.diagnostic.config(config) - - vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { - border = "rounded", - }) - - vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { - border = "rounded", - }) -end - -local function lsp_keymaps(bufnr) - local opts = { noremap = true, silent = true } - local keymap = vim.api.nvim_buf_set_keymap - keymap(bufnr, "n", "gD", "lua vim.lsp.buf.declaration()", opts) - keymap(bufnr, "n", "gd", "lua vim.lsp.buf.definition()", opts) - keymap(bufnr, "n", "K", "lua vim.lsp.buf.hover()", opts) - keymap(bufnr, "n", "gI", "lua vim.lsp.buf.implementation()", opts) - keymap(bufnr, "n", "gr", "lua vim.lsp.buf.references()", opts) - keymap(bufnr, "n", "gl", "lua vim.diagnostic.open_float()", opts) - keymap(bufnr, "n", "li", "LspInfo", opts) - keymap(bufnr, "n", "lI", "Mason", opts) - keymap(bufnr, "n", "la", "lua vim.lsp.buf.code_action()", opts) - keymap(bufnr, "n", "lj", "lua vim.diagnostic.goto_next({buffer=0})", opts) - keymap(bufnr, "n", "lk", "lua vim.diagnostic.goto_prev({buffer=0})", opts) - keymap(bufnr, "n", "lr", "lua vim.lsp.buf.rename()", opts) - keymap(bufnr, "n", "ls", "lua vim.lsp.buf.signature_help()", opts) - keymap(bufnr, "n", "lq", "lua vim.diagnostic.setloclist()", opts) -end - -M.on_attach = function(client, bufnr) - if client.name == "tsserver" then - client.server_capabilities.documentFormattingProvider = false - end - - if client.name == "sumneko_lua" then - client.server_capabilities.documentFormattingProvider = false - end - - lsp_keymaps(bufnr) - local status_ok, illuminate = pcall(require, "illuminate") - if not status_ok then - return - end - illuminate.on_attach(client) -end - -return M - diff --git a/configs/nvim/lua/plugins/configs/lsp/init.lua b/configs/nvim/lua/plugins/configs/lsp/init.lua deleted file mode 100644 index 2e2189162..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/init.lua +++ /dev/null @@ -1,9 +0,0 @@ -local status_ok, _ = pcall(require, "lspconfig") -if not status_ok then - return -end - -require("plugins.configs.lsp.mason") -require("plugins.configs.lsp.handlers").setup() -require("plugins.configs.lsp.null-ls") -require("plugins.configs.lsp.lspsaga") diff --git a/configs/nvim/lua/plugins/configs/lsp/lspsaga.lua b/configs/nvim/lua/plugins/configs/lsp/lspsaga.lua deleted file mode 100644 index a7d82a320..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/lspsaga.lua +++ /dev/null @@ -1,48 +0,0 @@ -local status_ok, saga = pcall(require, "lspsaga") -if not status_ok then - return -end - -saga.setup({ - ui = { - winblend = 10, - border = "rounded", - colors = require("catppuccin.groups.integrations.lsp_saga").custom_colors(), - kind = require("catppuccin.groups.integrations.lsp_saga").custom_kind(), - }, - -- Migrate to BBQ - symbol_in_winbar = { - enable = false, - }, -}) - -local keymap = vim.keymap.set - --- Lsp finder find the symbol definition implement reference --- if there is no implement it will hide --- when you use action in finder like open vsplit then you can --- use to jump back -keymap("n", "gh", "Lspsaga lsp_finder") - --- Code action -keymap({ "n", "v" }, "ca", "Lspsaga code_action") - --- Rename -keymap("n", "gr", "Lspsaga rename") - --- Go to Definition -keymap("n", "gd", "Lspsaga goto_definition") - --- Show cursor diagnostic --- also like show_line_diagnostics support pass ++unfocus -keymap("n", "sc", "Lspsaga show_cursor_diagnostics") - --- Show buffer diagnostic -keymap("n", "sb", "Lspsaga show_buf_diagnostics") - --- Diagnostic jump can use `` to jump back -keymap("n", "", "Lspsaga diagnostic_jump_prev") -keymap("n", "", "Lspsaga diagnostic_jump_next") - -keymap("i", "", "lua vim.lsp.buf.signature_help()") -keymap("n", "gp", "Lspsaga peek_definition") diff --git a/configs/nvim/lua/plugins/configs/lsp/mason.lua b/configs/nvim/lua/plugins/configs/lsp/mason.lua deleted file mode 100644 index c3e5fbe88..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/mason.lua +++ /dev/null @@ -1,54 +0,0 @@ -local servers = { - "sumneko_lua", - "cssls", - "html", - "tsserver", - "pyright", - "bashls", - "jsonls", - "yamlls", - "marksman", - "ltex", -} - -local settings = { - ui = { - border = "none", - icons = { - package_installed = "โ—", - package_pending = "โ—", - package_uninstalled = "โ—", - }, - }, - log_level = vim.log.levels.INFO, - max_concurrent_installers = 4, -} - -require("mason").setup(settings) -require("mason-lspconfig").setup({ - ensure_installed = servers, - automatic_installation = true, -}) - -local lspconfig_status_ok, lspconfig = pcall(require, "lspconfig") -if not lspconfig_status_ok then - return -end - -local opts = {} - -for _, server in pairs(servers) do - opts = { - on_attach = require("plugins.configs.lsp.handlers").on_attach, - capabilities = require("plugins.configs.lsp.handlers").capabilities, - } - - server = vim.split(server, "@")[1] - - local require_ok, conf_opts = pcall(require, "plugins.configs.lsp.settings." .. server) - if require_ok then - opts = vim.tbl_deep_extend("force", conf_opts, opts) - end - - lspconfig[server].setup(opts) -end diff --git a/configs/nvim/lua/plugins/configs/lsp/null-ls.lua b/configs/nvim/lua/plugins/configs/lsp/null-ls.lua deleted file mode 100644 index d67ef82eb..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/null-ls.lua +++ /dev/null @@ -1,24 +0,0 @@ -local null_ls_status_ok, null_ls = pcall(require, "null-ls") -if not null_ls_status_ok then - return -end - --- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/formatting -local formatting = null_ls.builtins.formatting --- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics -local diagnostics = null_ls.builtins.diagnostics - --- https://github.com/prettier-solidity/prettier-plugin-solidity -null_ls.setup({ - debug = false, - sources = { - formatting.prettier.with({ - extra_filetypes = { "toml" }, - extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" }, - }), - formatting.black.with({ extra_args = { "--fast" } }), - formatting.stylua, - -- formatting.google_java_format, - -- diagnostics.flake8, - }, -}) diff --git a/configs/nvim/lua/plugins/configs/lsp/settings/emmet_ls.lua b/configs/nvim/lua/plugins/configs/lsp/settings/emmet_ls.lua deleted file mode 100644 index 32f553e96..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/settings/emmet_ls.lua +++ /dev/null @@ -1,24 +0,0 @@ -return { - cmd = { "emmet-ls", "--stdio" }, - filetypes = { - "html", - "css", - "scss", - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "haml", - "xml", - "xsl", - "pug", - "slim", - "sass", - "stylus", - "less", - "sss", - "hbs", - "handlebars", - }, - single_file_support = true, -} diff --git a/configs/nvim/lua/plugins/configs/lsp/settings/pyright.lua b/configs/nvim/lua/plugins/configs/lsp/settings/pyright.lua deleted file mode 100644 index c2a518dba..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/settings/pyright.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - settings = { - python = { - analysis = { - typeCheckingMode = "off", - }, - }, - }, -} diff --git a/configs/nvim/lua/plugins/configs/lsp/settings/sumneko_lua.lua b/configs/nvim/lua/plugins/configs/lsp/settings/sumneko_lua.lua deleted file mode 100644 index ad4d55fa8..000000000 --- a/configs/nvim/lua/plugins/configs/lsp/settings/sumneko_lua.lua +++ /dev/null @@ -1,18 +0,0 @@ -return { - settings = { - Lua = { - diagnostics = { - globals = { "vim"}, - }, - workspace = { - library = { - [vim.fn.expand("$VIMRUNTIME/lua")] = true, - [vim.fn.stdpath("config") .. "/lua"] = true, - }, - }, - telemetry = { - enable = false, - }, - }, - }, -} diff --git a/configs/nvim/lua/plugins/configs/telescope.lua b/configs/nvim/lua/plugins/configs/telescope.lua deleted file mode 100644 index 06ba74c17..000000000 --- a/configs/nvim/lua/plugins/configs/telescope.lua +++ /dev/null @@ -1,40 +0,0 @@ -local status_ok, telescope = pcall(require, "telescope") -if not status_ok then - return -end - -local actions = require("telescope.actions") - -telescope.setup({ - defaults = { - prompt_prefix = "๏‘ซ ", - selection_caret = "๏ค ", - path_display = { "smart" }, - file_ignore_patterns = { ".git/", "node_modules" }, - - mappings = { - i = { - [""] = actions.cycle_history_next, - [""] = actions.cycle_history_prev, - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - [""] = actions.close, - }, - }, - }, - pickers = { - find_files = { - theme = "dropdown", - }, - live_grep = { - theme = "dropdown", - }, - codeactions = { - theme = "dropdown", - }, - }, - extensions = { - ["ui-select"] = {}, - }, - telescope.load_extension("ui-select"), -}) diff --git a/configs/nvim/lua/plugins/configs/ui/alpha.lua b/configs/nvim/lua/plugins/configs/ui/alpha.lua deleted file mode 100644 index e69de29bb..000000000 diff --git a/configs/nvim/lua/plugins/configs/ui/bufferline.lua b/configs/nvim/lua/plugins/configs/ui/bufferline.lua deleted file mode 100644 index e69de29bb..000000000 diff --git a/configs/nvim/lua/plugins/configs/ui/lualine.lua b/configs/nvim/lua/plugins/configs/ui/lualine.lua deleted file mode 100755 index 61a7ec489..000000000 --- a/configs/nvim/lua/plugins/configs/ui/lualine.lua +++ /dev/null @@ -1,226 +0,0 @@ -local status_ok, lualine = pcall(require, "lualine") -if not status_ok then - return -end - -local hide_in_width = function() - return vim.fn.winwidth(0) > 80 -end -local spaces = { - function() - return " " - end, - padding = -1, -} - -local diagnostics = { - "diagnostics", - sources = { "nvim_diagnostic" }, - sections = { - "error", - "warn", - "hint", - }, - symbols = { - error = "๏™˜ ", - warn = "๏ฑ ", - hint = "๏ ด ", - info = "๏Ÿป ", - }, - colored = true, - always_visible = false, -} - -local branch = { - "branch", - icon = "๎—ป", - separator = { left = "๎‚ถ", right = "๎‚ด" }, - padding = 0.1 -} - -local diff = { - "diff", - colored = true, - symbols = { - added = "๏‘— ", - modified = "๏‘™ ", - removed = "๏‘˜ ", - }, - separator = { left = "๎‚ถ", right = "๎‚ด" }, -} - -local filetype = { - "filetype", - icons_enabled = true, -} - -local location = { - "location", -} - -local custom_icons = { - function() - return "๎Ÿ…" - end, - separator = { left = "๎‚ถ", right = "๎‚ด" }, -} - -local modes = { - "mode", - separator = { left = "๎‚ถ", right = "๎‚ด" }, - padding = 0.8, -} - -local indent = function() - return "" .. vim.api.nvim_buf_get_option(0, "shiftwidth") -end - -local lsp_progess = function() - msg = msg or "LS Inactive" - local buf_clients = vim.lsp.buf_get_clients() - if next(buf_clients) == nil then - -- TODO: clean up this if statement - if type(msg) == "boolean" or #msg == 0 then - return "LS Inactive" - end - return msg - end - local buf_ft = vim.bo.filetype - local buf_client_names = {} - local copilot_active = false - local null_ls = require("null-ls") - local alternative_methods = { - null_ls.methods.DIAGNOSTICS, - null_ls.methods.DIAGNOSTICS_ON_OPEN, - null_ls.methods.DIAGNOSTICS_ON_SAVE, - } - - -- add client - for _, client in pairs(buf_clients) do - if client.name ~= "null-ls" and client.name ~= "copilot" then - table.insert(buf_client_names, client.name) - end - - if client.name == "copilot" then - copilot_active = true - end - end - - function list_registered_providers_names(filetype) - local s = require("null-ls.sources") - local available_sources = s.get_available(filetype) - local registered = {} - for _, source in ipairs(available_sources) do - for method in pairs(source.methods) do - registered[method] = registered[method] or {} - table.insert(registered[method], source.name) - end - end - return registered - end - function list_registered(filetype) - local registered_providers = list_registered_providers_names(filetype) - local providers_for_methods = vim.tbl_flatten(vim.tbl_map(function(m) - return registered_providers[m] or {} - end, alternative_methods)) - return providers_for_methods - end - - function formatters_list_registered(filetype) - local registered_providers = list_registered_providers_names(filetype) - return registered_providers[null_ls.methods.FORMATTING] or {} - end - -- formatters - -- local supported_formatters = formatters_list_registered(buf_ft) - -- vim.list_extend(buf_client_names, supported_formatters) - - -- linters - local supported_linters = list_registered(buf_ft) - vim.list_extend(buf_client_names, supported_linters) - local unique_client_names = vim.fn.uniq(buf_client_names) - - local language_servers = "๎œ† " .. table.concat(unique_client_names, ", ") .. "" - - if copilot_active then - language_servers = language_servers .. "%#SLCopilot#" .. "๎ฌง" - end - - return language_servers -end - -lualine.setup({ - options = { - globalstatus = true, - icons_enabled = true, - theme = "auto", - component_separators = { left = "", right = "" }, - section_separators = { left = "", right = "" }, - disabled_filetypes = { "alpha", "dashboard", "packer", "neo-tree" }, - always_divide_middle = true, - }, - sections = { - lualine_a = { - custom_icons, - modes, - }, - lualine_b = { - }, - lualine_c = { - spaces, - { - "filetype", - icon_only = true, - colored = true, - padding = 1, - color = { bg = "#2a2c3f" }, - separator = { left = "๎‚ถ", right = "๎‚ด " }, - }, - { - "filename", - file_status = false, - padding = 0.3, - separator = { left = "๎‚ถ", right = "๎‚ด " }, - color = { bg = "#2a2c3f" }, - }, - branch, - diff, - }, - lualine_x = { - diagnostics, - { - lsp_progess, - }, - { - function() - return "๏ฌŒ" - end, - separator = { left = "๎‚ถ", right = "๎‚ด" }, - color = { bg = "#8FBCBB", fg = "#000000" }, - padding = 0.3, - }, - { - indent, - }, - { - function() - return "๎˜’" - end, - separator = { left = "๎‚ถ", right = "๎‚ด" }, - color = { bg = "#ECD3A0", fg = "#000000" }, - padding = 0.3, - }, - "progress", - { - function() - return "๏‘" - end, - separator = { left = "๎‚ถ", right = "๎‚ด" }, - color = { bg = "#86AAEC", fg = "#000000" }, - padding = 0.1, - }, - location, - }, - lualine_y = {}, - lualine_z = {}, - }, -}) diff --git a/configs/nvim/lua/plugins/configs/ui/neotree.lua b/configs/nvim/lua/plugins/configs/ui/neotree.lua deleted file mode 100644 index 1cf287e43..000000000 --- a/configs/nvim/lua/plugins/configs/ui/neotree.lua +++ /dev/null @@ -1,21 +0,0 @@ -local status_ok, ntree = pcall(require, "neo-tree") - -if not status_ok then - return -end - -ntree.setup({ - popup_border_style = "rounded", - enable_git_status = true, - icon = { - folder_closed = "๎—ฟ", - folder_open = "๏ผ", - folder_empty = "๏ฐŠ", - default = "*", - highlight = "NeoTreeFileIcon", - }, - window = { - position = "left", - width = 30, - }, -}) diff --git a/configs/nvim/lua/plugins/configs/ui/noti.lua b/configs/nvim/lua/plugins/configs/ui/noti.lua deleted file mode 100644 index 2914e8541..000000000 --- a/configs/nvim/lua/plugins/configs/ui/noti.lua +++ /dev/null @@ -1,46 +0,0 @@ -local status_ok, noice = pcall(require, "noice") - -if not status_ok then - return -end - -require("noice").setup({ - lsp = { - -- override markdown rendering so that **cmp** and other plugins use **Treesitter** - override = { - ["vim.lsp.util.convert_input_to_markdown_lines"] = true, - ["vim.lsp.util.stylize_markdown"] = true, - ["cmp.entry.get_documentation"] = true, - }, - }, - messages = { - -- NOTE: If you enable messages, then the cmdline is enabled automatically. - -- This is a current Neovim limitation. - enabled = false, -- enables the Noice messages UI - view = "notify", -- default view for messages - view_error = "notify", -- view for errors - view_warn = "notify", -- view for warnings - view_history = "notify", -- view for :messages - view_search = "virtualtext", -- view for search count messages. Set to `false` to disable - }, - presets = { - bottom_search = true, - command_palette = false, - long_message_to_split = true, - inc_rename = false, - lsp_doc_border = true, - }, - cmdline = { - enabled = true, - view = "cmdline", - opts = {}, - format = { - cmdline = { pattern = "^:", icon = "๏„ต", lang = "vim" }, - search_down = { kind = "search", pattern = "^/", icon = "๏ข ๏„ƒ", lang = "regex" }, - search_up = { kind = "search", pattern = "^%?", icon = "๏ข ๏„‚", lang = "regex" }, - filter = { pattern = "^:%s*!", icon = "$", lang = "bash" }, - lua = { pattern = "^:%s*lua%s+", icon = "๎˜ ", lang = "lua" }, - help = { pattern = "^:%s*he?l?p?%s+", icon = "๏Ÿ•" }, - }, - }, -}) diff --git a/configs/nvim/lua/plugins/configs/ui/scrollbar.lua b/configs/nvim/lua/plugins/configs/ui/scrollbar.lua deleted file mode 100644 index 54bf46f75..000000000 --- a/configs/nvim/lua/plugins/configs/ui/scrollbar.lua +++ /dev/null @@ -1,129 +0,0 @@ -local status_ok, sc = pcall(require,'scrollbar') - -if not status_ok then - return -end; - -sc.setup({ - show = true, - show_in_active_only = false, - set_highlights = true, - folds = 1000, -- handle folds, set to number to disable folds if no. of lines in buffer exceeds this - max_lines = false, -- disables if no. of lines in buffer exceeds this - handle = { - text = " ", - color = "#2A2C3F", - cterm = nil, - -- highlight = "CursorColumn", - hide_if_all_visible = false, -- Hides handle if all lines are visible - }, - marks = { - Cursor = { - -- text = "โ€ข", - text = "โ”€", - priority = 0, - color = "#2A2C3F", - cterm = nil, - -- highlight = "Normal", - }, - Search = { - text = { "-", "=" }, - priority = 1, - color = nil, - cterm = nil, - highlight = "Search", - }, - Error = { - text = { "-", "=" }, - priority = 2, - color = nil, - cterm = nil, - highlight = "DiagnosticVirtualTextError", - }, - Warn = { - text = { "-", "=" }, - priority = 3, - color = nil, - cterm = nil, - highlight = "DiagnosticVirtualTextWarn", - }, - Info = { - text = { "-", "=" }, - priority = 4, - color = nil, - cterm = nil, - highlight = "DiagnosticVirtualTextInfo", - }, - Hint = { - text = { "-", "=" }, - priority = 5, - color = nil, - cterm = nil, - highlight = "DiagnosticVirtualTextHint", - }, - Misc = { - text = { "-", "=" }, - priority = 6, - color = nil, - cterm = nil, - highlight = "Normal", - }, - GitAdd = { - text = "โ”†", - priority = 7, - color = nil, - cterm = nil, - highlight = "GitSignsAdd", - }, - GitChange = { - text = "โ”†", - priority = 7, - color = nil, - cterm = nil, - highlight = "GitSignsChange", - }, - GitDelete = { - text = "โ–", - priority = 7, - color = nil, - cterm = nil, - highlight = "GitSignsDelete", - }, - }, - excluded_buftypes = { - "terminal", - }, - excluded_filetypes = { - "prompt", - "TelescopePrompt", - "noice", - "alpha", - "NvimTree", - "", - }, - autocmd = { - render = { - "BufWinEnter", - "TabEnter", - "TermEnter", - "WinEnter", - "CmdwinLeave", - "TextChanged", - "VimResized", - "WinScrolled", - }, - clear = { - "BufWinLeave", - "TabLeave", - "TermLeave", - "WinLeave", - }, - }, - handlers = { - cursor = true, - diagnostic = false, - gitsigns = false, -- Requires gitsigns - handle = true, - search = false, -- Requires hlslens - }, -}) diff --git a/configs/nvim/lua/plugins/configs/ui/toggleterm.lua b/configs/nvim/lua/plugins/configs/ui/toggleterm.lua deleted file mode 100644 index 538b457a7..000000000 --- a/configs/nvim/lua/plugins/configs/ui/toggleterm.lua +++ /dev/null @@ -1,40 +0,0 @@ -local status_ok, toggleterm = pcall(require, "toggleterm") -if not status_ok then - return -end - -toggleterm.setup({ - size = 20, - open_mapping = [[]], - hide_numbers = true, - shade_terminals = true, - shading_factor = 2, - start_in_insert = true, - insert_mappings = true, - persist_size = true, - direction = "float", - close_on_exit = true, - shell = vim.o.shell, - float_opts = { - border = "curved", - }, -}) - -function _G.set_terminal_keymaps() - local opts = {noremap = true} - -- vim.api.nvim_buf_set_keymap(0, 't', '', [[]], opts) - vim.api.nvim_buf_set_keymap(0, 't', '', [[h]], opts) - vim.api.nvim_buf_set_keymap(0, 't', '', [[j]], opts) - vim.api.nvim_buf_set_keymap(0, 't', '', [[k]], opts) - vim.api.nvim_buf_set_keymap(0, 't', '', [[l]], opts) -end - -vim.cmd('autocmd! TermOpen term://* lua set_terminal_keymaps()') - -local Terminal = require("toggleterm.terminal").Terminal -local lazygit = Terminal:new({ cmd = "lazygit", hidden = true }) - -function _LAZYGIT_TOGGLE() - lazygit:toggle() -end - diff --git a/configs/nvim/lua/plugins/init.lua b/configs/nvim/lua/plugins/init.lua deleted file mode 100644 index e22fa859d..000000000 --- a/configs/nvim/lua/plugins/init.lua +++ /dev/null @@ -1,169 +0,0 @@ -local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" -if not vim.loop.fs_stat(lazypath) then - vim.fn.system({ - "git", - "clone", - "--filter=blob:none", - "--single-branch", - "https://github.com/folke/lazy.nvim.git", - lazypath, - }) -end - -vim.opt.runtimepath:prepend(lazypath) - -local ok, lazy = pcall(require, "lazy") -if not ok then - return -end - -lazy.setup({ - root = vim.fn.stdpath("data") .. "/lazy", - { - "neovim/nvim-lspconfig", - dependencies = { - -- LSP Stuff - "williamboman/mason.nvim", - "williamboman/mason-lspconfig.nvim", - "jose-elias-alvarez/null-ls.nvim", - "glepnir/lspsaga.nvim", - - -- Completions - "hrsh7th/nvim-cmp", - "hrsh7th/cmp-buffer", - "hrsh7th/cmp-path", - "saadparwaiz1/cmp_luasnip", - "hrsh7th/cmp-nvim-lsp", - "hrsh7th/cmp-nvim-lua", - "lukas-reineke/cmp-under-comparator", - "L3MON4D3/LuaSnip", - "hrsh7th/cmp-vsnip", - "rafamadriz/friendly-snippets", - "hrsh7th/cmp-nvim-lsp-signature-help", - "onsails/lspkind.nvim", - }, - config = function() - -- Lsp Configs - require("plugins.configs.lsp") - -- Completions - require("plugins.configs.cmp") - end, - }, - { - "akinsho/bufferline.nvim", - dependencies = { - "kyazdani42/nvim-web-devicons", - }, - config = function() - require("plugins.configs.bufferline") - end, - }, - { - "nvim-lualine/lualine.nvim", - dependencies = { - "kyazdani42/nvim-web-devicons", - }, - config = function() - require("plugins.configs.ui.lualine") - end, - }, - { - "utilyre/barbecue.nvim", - name = "barbecue", - version = "*", - dependencies = { - "SmiteshP/nvim-navic", - }, - opts = require("plugins.configs.bbq"), - }, - { - "nvim-neo-tree/neo-tree.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - "MunifTanjim/nui.nvim", - }, - keys = { - { "e", "NeoTreeFocusToggle", desc = "NeoTree" }, - }, - config = function() - require("plugins.configs.ui.neotree") - end, - }, - - { "lukas-reineke/indent-blankline.nvim", event = "BufEnter" }, - { "nvim-treesitter/nvim-treesitter" }, - { "windwp/nvim-ts-autotag" }, - { - "alvan/vim-closetag", - config = function() - vim.g.closetag_filenames = "*.html,*.xhtml,*.phtml" - vim.g.closetag_xhtml_filenames = "*.xhtml,*.jsx" - end, - }, - { - "rose-pine/neovim", - name = "rose-pine", - lazy = false, - priority = 1000, - config = function() - require("plugins.configs.colorschemes") - end, - }, - { "catppuccin/nvim", name = "catppuccin" }, - { "windwp/nvim-autopairs", config = true, event = "InsertEnter" }, - { - "nvim-telescope/telescope.nvim", - dependencies = { - "nvim-lua/plenary.nvim", - }, - config = function() - require("plugins.configs.telescope") - end, - }, - - { "nvim-telescope/telescope-ui-select.nvim" }, - - { "numToStr/Comment.nvim", config = true, event = "BufEnter" }, - { "lewis6991/gitsigns.nvim", config = true, event = "BufEnter" }, - { - "kdheepak/lazygit.nvim", - keys = { - { "gg", "LazyGit", desc = "NeoTree" }, - }, - }, - { "iamcco/markdown-preview.nvim", ft = "markdown" }, - - { - "karb94/neoscroll.nvim", - event = "BufEnter", - config = function() - require("neoscroll").setup({}) - end, - }, - { "goolord/alpha-nvim" }, - { - "akinsho/toggleterm.nvim", - config = function() - require("plugins.configs.ui.toggleterm") - end, - }, - { - "norcalli/nvim-colorizer.lua", - config = function() - require("colorizer").setup() - end, - }, - { - "aurum77/live-server.nvim", - cmd = { "LiveServer", "LiveServerStart", "LiveServerStop" }, - config = function() - require("live_server.util").install() - end, - }, - { - "petertriho/nvim-scrollbar", - config = function() - require("plugins.configs.ui.scrollbar") - end, - }, -}) diff --git a/configs/prompt/.zshrc b/configs/prompt/.zshrc deleted file mode 100644 index 638f06d59..000000000 --- a/configs/prompt/.zshrc +++ /dev/null @@ -1,156 +0,0 @@ -# Zap/ install at https://github.com/zap-zsh/zap -[ -f "$HOME/.local/share/zap/zap.zsh" ] && source "$HOME/.local/share/zap/zap.zsh" - -export ZSH="$HOME/.oh-my-zsh" -export PATH="$HOME/.local/bin:$PATH" -export PATH="$HOME/.cargo/bin:$PATH" -export EDITOR=nvim - -ZSH_THEME="robbyrussell" - -# Plugins -plugins=(git) -source $ZSH/oh-my-zsh.sh - -# Zap -plug "zap-zsh/supercharge" -plug "zsh-users/zsh-autosuggestions" -plug "zsh-users/zsh-syntax-highlighting" -plug "agkozak/zsh-z" -plug "esc/conda-zsh-completion" - -# Alias - # Replacement Icons for ls -alias ll="exa -l --icons" -alias la="exa -Ga --icons" -alias lt="exa -lT --icons" -alias lta="exa -lTa --icons" -alias l="exa -l --icons" - -#list -alias sps='sudo pacman -S' -alias spr='sudo pacman -R' -alias sprs='sudo pacman -Rs' -alias sprdd='sudo pacman -Rdd' - -#fix obvious typo's -alias cd..='cd ..' -alias pdw='pwd' -alias udpate='sudo pacman -Syyu' -alias upate='sudo pacman -Syyu' -alias updte='sudo pacman -Syyu' -alias updqte='sudo pacman -Syyu' -alias upqll='paru -Syu --noconfirm' -alias upal='paru -Syu --noconfirm' - -## Colorize the grep command output for ease of use (good for log files)## -alias grep='grep --color=auto' -alias egrep='egrep --color=auto' -alias fgrep='fgrep --color=auto' - -#readable output -alias df='df -h' - -#which graphical card is working -alias whichvga="/usr/local/bin/arcolinux-which-vga" - -#free -alias free="free -mt" - -#continue download -alias wget="wget -c" - - -# Aliases for software managment -# pacman or pm -alias pacman='sudo pacman --color auto' -alias update='sudo pacman -Syyu' - -# paru as aur helper - updates everything -alias pksyua="paru -Syu --noconfirm" -alias upall="paru -Syu --noconfirm" - -#ps -alias psa="ps auxf" -alias psgrep="ps aux | grep -v grep | grep -i -e VSZ -e" - -#grub update -alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg" - -#add new fonts -alias update-fc='sudo fc-cache -fv' - -#switch between bash and zsh and zsh -alias tobash="sudo chsh $USER -s /bin/bash && echo 'Now log out.'" -alias tozsh="sudo chsh $USER -s /bin/zsh && echo 'Now log out.'" -alias tofish="sudo chsh $USER -s /bin/fish && echo 'Now log out.'" - -alias yta-aac="yt-dlp --extract-audio --audio-format aac " -alias yta-best="yt-dlp --extract-audio --audio-format best " -alias yta-flac="yt-dlp --extract-audio --audio-format flac " -alias yta-mp3="yt-dlp --extract-audio --audio-format mp3 " -alias ytv-best="yt-dlp -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/bestvideo+bestaudio' --merge-output-format mp4 " - -#Recent Installed Packages -alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl" -alias riplong="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -3000 | nl" - - -#Cleanup orphaned packages -alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' - -#clear -alias clean="clear; seq 1 $(tput cols) | sort -R | sparklines | lolcat" - - -#get the error messages from journalctl -alias jctl="journalctl -p 3 -xb" - -# Bash, zsh, fish configs -alias nb="$EDITOR ~/.bashrc" -alias nz="$EDITOR ~/.zshrc" -alias nf="$EDITOR ~/.config/fish/config.fish" - - -# # ex = EXtractor for all kinds of archives -# # usage: ex -ex () -{ - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xjf $1 ;; - *.tar.gz) tar xzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xf $1 ;; - *.tbz2) tar xjf $1 ;; - *.tgz) tar xzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1;; - *.7z) 7z x $1 ;; - *.deb) ar x $1 ;; - *.tar.xz) tar xf $1 ;; - *.tar.zst) tar xf $1 ;; - *) echo "'$1' cannot be extracted via ex()" ;; - esac - else - echo "'$1' is not a valid file" - fi -} - -# Apps alias -alias nv="nvim" -alias g="git" -alias lg="lazygit" -alias pvt="pipe-viewer -n --no-video-info --player=mpvt" -alias neofetch='neofetch --source ~/.config/neofetch/logo' -alias vs='vscodium' -alias lv='lvim' - - -# Starship prompt -eval "$(starship init zsh)" - -# Neofetch -neofetch diff --git a/configs/prompt/awsome_prompt.omp.json b/configs/prompt/awsome_prompt.omp.json deleted file mode 100644 index e6f418bb5..000000000 --- a/configs/prompt/awsome_prompt.omp.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", - "blocks": [ - { - "alignment": "left", - "segments": [ - { - "foreground": "#F1FA8C", - "properties": { - "style": "folder" - }, - "style": "diamond", - "template": "<#42E66C>\uf135 \ue5ff {{ .Path }} ", - "type": "path" - }, - { - "foreground": "#43CCEA", - "properties": { - "branch_icon": "" - }, - "style": "diamond", - "template": "<#ffffff>\u26A1 {{ .HEAD }}", - "type": "git" - }, - { - "foreground": "", - "style": "diamond", - "template": "", - "type": "text" - } - ], - "type": "prompt" - }, - { - "alignment": "left", - "newline": true, - "segments": [ - { - "foreground": "#e95678", - "style": "plain", - "template": "\u279c", - "type": "text" - } - ], - "type": "prompt" - } - ], - "final_space": true, - "version": 2 -} diff --git a/configs/prompt/nitch b/configs/prompt/nitch deleted file mode 100755 index 2004a7c0c..000000000 Binary files a/configs/prompt/nitch and /dev/null differ diff --git a/configs/prompt/starship.toml b/configs/prompt/starship.toml deleted file mode 100644 index 46420a0d4..000000000 --- a/configs/prompt/starship.toml +++ /dev/null @@ -1,65 +0,0 @@ -## โ–‘โ–ˆโ–€โ–€โ–‘โ–€โ–ˆโ–€โ–‘โ–ˆโ–€โ–ˆโ–‘โ–ˆโ–€โ–„โ–‘โ–ˆโ–€โ–€โ–‘โ–ˆโ–‘โ–ˆโ–‘โ–€โ–ˆโ–€โ–‘โ–ˆโ–€โ–ˆ -## โ–‘โ–€โ–€โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆโ–€โ–ˆโ–‘โ–ˆโ–€โ–„โ–‘โ–€โ–€โ–ˆโ–‘โ–ˆโ–€โ–ˆโ–‘โ–‘โ–ˆโ–‘โ–‘โ–ˆโ–€โ–€ -## โ–‘โ–€โ–€โ–€โ–‘โ–‘โ–€โ–‘โ–‘โ–€โ–‘โ–€โ–‘โ–€โ–‘โ–€โ–‘โ–€โ–€โ–€โ–‘โ–€โ–‘โ–€โ–‘โ–€โ–€โ–€โ–‘โ–€โ–‘โ–‘ - -# Setups -format="$directory$git_branch$character" -right_format = """$git_status$cmd_duration""" -add_newline = false - -# Other languages configurations: -c.disabled = true -cmake.disabled = true -haskell.disabled = true -python.disabled = true -ruby.disabled = true -rust.disabled = true -perl.disabled = true -package.disabled = true -lua.disabled = true -nodejs.disabled = true -java.disabled = true -golang.disabled = true - -[conda] -format = ' [$symbol$environment](dimmed green) ' - -# Prompt symbols -[character] -success_symbol = "[๎ฉฑ](#a6e3a1 bold)" -error_symbol = "[๎ชผ](#f38ba8)" -vicmd_symbol = "[๎Ÿ…](#f9e2af)" - -[directory] -format = "[๎‚ถ]($style)[๎—ฟ ](bg:#24263a fg:#ECD3A0)[$path](bg:#24263a fg:#BBC3DF bold)[๎‚ด ]($style)" -style = "bg:none fg:#24263a" -truncation_length = 3 -truncate_to_repo=false - -[git_branch] -format = "[๎‚ถ]($style)[[๎ฌง ](bg:#24263a fg:#A2DD9D bold)$branch](bg:#24263a fg:#86AAEC)[๎‚ด ]($style)" -style = "bg:none fg:#24263a" - -[git_status] -# $all status$ahead_behind -format = "[๎‚ถ]($style)[$all_status$ahead_behind](bg:#24263a fg:#b4befe)[๎‚ด ]($style)" -style = "bg:none fg:#24263a" -conflicted = "=" -ahead = "โ‡ก${count}" -behind = "โ‡ฃ${count}" -diverged = "โ‡•โ‡ก${ahead_count}โ‡ฃ${behind_count}" -up_to_date = "๏˜ซ" -untracked = "?${count}" -stashed = "๏ฃ•" -modified = "!${count}" -staged = "+${count}" -renamed = "ยป${count}" -deleted = "๏™•${count}" - -[cmd_duration] -min_time = 1 -# duration & style -format = "[๎‚ถ]($style)[[๏จ™](bg:#24263a fg:#eba0ac bold)$duration](bg:#24263a fg:#BBC3DF)[๎‚ด ]($style)" -disabled = false -style = "bg:none fg:#24263a" - diff --git a/configs/ranger/__pycache__/commands.cpython-38.opt-1.pyc b/configs/ranger/__pycache__/commands.cpython-38.opt-1.pyc deleted file mode 100755 index 27c3eedf0..000000000 Binary files a/configs/ranger/__pycache__/commands.cpython-38.opt-1.pyc and /dev/null differ diff --git a/configs/ranger/__pycache__/commands.cpython-39.opt-1.pyc b/configs/ranger/__pycache__/commands.cpython-39.opt-1.pyc deleted file mode 100755 index 059a23521..000000000 Binary files a/configs/ranger/__pycache__/commands.cpython-39.opt-1.pyc and /dev/null differ diff --git a/configs/ranger/commands.py b/configs/ranger/commands.py deleted file mode 100755 index 97b790965..000000000 --- a/configs/ranger/commands.py +++ /dev/null @@ -1,62 +0,0 @@ -# This is a sample commands.py. You can add your own commands here. -# -# Please refer to commands_full.py for all the default commands and a complete -# documentation. Do NOT add them all here, or you may end up with defunct -# commands when upgrading ranger. - -# A simple command for demonstration purposes follows. -# ----------------------------------------------------------------------------- - -from __future__ import (absolute_import, division, print_function) - -# You can import any python module as needed. -import os - -# You always need to import ranger.api.commands here to get the Command class: -from ranger.api.commands import Command - - -# Any class that is a subclass of "Command" will be integrated into ranger as a -# command. Try typing ":my_edit" in ranger! -class my_edit(Command): - # The so-called doc-string of the class will be visible in the built-in - # help that is accessible by typing "?c" inside ranger. - """:my_edit - - A sample command for demonstration purposes that opens a file in an editor. - """ - - # The execute method is called when you run this command in ranger. - def execute(self): - # self.arg(1) is the first (space-separated) argument to the function. - # This way you can write ":my_edit somefilename". - if self.arg(1): - # self.rest(1) contains self.arg(1) and everything that follows - target_filename = self.rest(1) - else: - # self.fm is a ranger.core.filemanager.FileManager object and gives - # you access to internals of ranger. - # self.fm.thisfile is a ranger.container.file.File object and is a - # reference to the currently selected file. - target_filename = self.fm.thisfile.path - - # This is a generic function to print text in ranger. - self.fm.notify("Let's edit the file " + target_filename + "!") - - # Using bad=True in fm.notify allows you to print error messages: - if not os.path.exists(target_filename): - self.fm.notify("The given file does not exist!", bad=True) - return - - # This executes a function from ranger.core.acitons, a module with a - # variety of subroutines that can help you construct commands. - # Check out the source, or run "pydoc ranger.core.actions" for a list. - self.fm.edit_file(target_filename) - - # The tab method is called when you press tab, and should return a list of - # suggestions that the user will tab through. - # tabnum is 1 for and -1 for by default - def tab(self, tabnum): - # This is a generic tab-completion function that iterates through the - # content of the current directory. - return self._tab_directory_content() diff --git a/configs/ranger/commands_full.py b/configs/ranger/commands_full.py deleted file mode 100755 index 5defa6779..000000000 --- a/configs/ranger/commands_full.py +++ /dev/null @@ -1,1993 +0,0 @@ -# -*- coding: utf-8 -*- -# This file is part of ranger, the console file manager. -# This configuration file is licensed under the same terms as ranger. -# =================================================================== -# -# NOTE: If you copied this file to /etc/ranger/commands_full.py or -# ~/.config/ranger/commands_full.py, then it will NOT be loaded by ranger, -# and only serve as a reference. -# -# =================================================================== -# This file contains ranger's commands. -# It's all in python; lines beginning with # are comments. -# -# Note that additional commands are automatically generated from the methods -# of the class ranger.core.actions.Actions. -# -# You can customize commands in the files /etc/ranger/commands.py (system-wide) -# and ~/.config/ranger/commands.py (per user). -# They have the same syntax as this file. In fact, you can just copy this -# file to ~/.config/ranger/commands_full.py with -# `ranger --copy-config=commands_full' and make your modifications, don't -# forget to rename it to commands.py. You can also use -# `ranger --copy-config=commands' to copy a short sample commands.py that -# has everything you need to get started. -# But make sure you update your configs when you update ranger. -# -# =================================================================== -# Every class defined here which is a subclass of `Command' will be used as a -# command in ranger. Several methods are defined to interface with ranger: -# execute(): called when the command is executed. -# cancel(): called when closing the console. -# tab(tabnum): called when is pressed. -# quick(): called after each keypress. -# -# tab() argument tabnum is 1 for and -1 for by default -# -# The return values for tab() can be either: -# None: There is no tab completion -# A string: Change the console to this string -# A list/tuple/generator: cycle through every item in it -# -# The return value for quick() can be: -# False: Nothing happens -# True: Execute the command afterwards -# -# The return value for execute() and cancel() doesn't matter. -# -# =================================================================== -# Commands have certain attributes and methods that facilitate parsing of -# the arguments: -# -# self.line: The whole line that was written in the console. -# self.args: A list of all (space-separated) arguments to the command. -# self.quantifier: If this command was mapped to the key "X" and -# the user pressed 6X, self.quantifier will be 6. -# self.arg(n): The n-th argument, or an empty string if it doesn't exist. -# self.rest(n): The n-th argument plus everything that followed. For example, -# if the command was "search foo bar a b c", rest(2) will be "bar a b c" -# self.start(n): Anything before the n-th argument. For example, if the -# command was "search foo bar a b c", start(2) will be "search foo" -# -# =================================================================== -# And this is a little reference for common ranger functions and objects: -# -# self.fm: A reference to the "fm" object which contains most information -# about ranger. -# self.fm.notify(string): Print the given string on the screen. -# self.fm.notify(string, bad=True): Print the given string in RED. -# self.fm.reload_cwd(): Reload the current working directory. -# self.fm.thisdir: The current working directory. (A File object.) -# self.fm.thisfile: The current file. (A File object too.) -# self.fm.thistab.get_selection(): A list of all selected files. -# self.fm.execute_console(string): Execute the string as a ranger command. -# self.fm.open_console(string): Open the console with the given string -# already typed in for you. -# self.fm.move(direction): Moves the cursor in the given direction, which -# can be something like down=3, up=5, right=1, left=1, to=6, ... -# -# File objects (for example self.fm.thisfile) have these useful attributes and -# methods: -# -# tfile.path: The path to the file. -# tfile.basename: The base name only. -# tfile.load_content(): Force a loading of the directories content (which -# obviously works with directories only) -# tfile.is_directory: True/False depending on whether it's a directory. -# -# For advanced commands it is unavoidable to dive a bit into the source code -# of ranger. -# =================================================================== - -from __future__ import (absolute_import, division, print_function) - -from collections import deque -import os -import re - -from ranger.api.commands import Command - - -class alias(Command): - """:alias - - Copies the oldcommand as newcommand. - """ - - context = 'browser' - resolve_macros = False - - def execute(self): - if not self.arg(1) or not self.arg(2): - self.fm.notify('Syntax: alias ', bad=True) - return - - self.fm.commands.alias(self.arg(1), self.rest(2)) - - -class echo(Command): - """:echo - - Display the text in the statusbar. - """ - - def execute(self): - self.fm.notify(self.rest(1)) - - -class cd(Command): - """:cd [-r] - - The cd command changes the directory. - If the path is a file, selects that file. - The command 'cd -' is equivalent to typing ``. - Using the option "-r" will get you to the real path. - """ - - def execute(self): - if self.arg(1) == '-r': - self.shift() - destination = os.path.realpath(self.rest(1)) - if os.path.isfile(destination): - self.fm.select_file(destination) - return - else: - destination = self.rest(1) - - if not destination: - destination = '~' - - if destination == '-': - self.fm.enter_bookmark('`') - else: - self.fm.cd(destination) - - def _tab_args(self): - # dest must be rest because path could contain spaces - if self.arg(1) == '-r': - start = self.start(2) - dest = self.rest(2) - else: - start = self.start(1) - dest = self.rest(1) - - if dest: - head, tail = os.path.split(os.path.expanduser(dest)) - if head: - dest_exp = os.path.join(os.path.normpath(head), tail) - else: - dest_exp = tail - else: - dest_exp = '' - return (start, dest_exp, os.path.join(self.fm.thisdir.path, dest_exp), - dest.endswith(os.path.sep)) - - @staticmethod - def _tab_paths(dest, dest_abs, ends_with_sep): - if not dest: - try: - return next(os.walk(dest_abs))[1], dest_abs - except (OSError, StopIteration): - return [], '' - - if ends_with_sep: - try: - return [os.path.join(dest, path) for path in next(os.walk(dest_abs))[1]], '' - except (OSError, StopIteration): - return [], '' - - return None, None - - def _tab_match(self, path_user, path_file): - if self.fm.settings.cd_tab_case == 'insensitive': - path_user = path_user.lower() - path_file = path_file.lower() - elif self.fm.settings.cd_tab_case == 'smart' and path_user.islower(): - path_file = path_file.lower() - return path_file.startswith(path_user) - - def _tab_normal(self, dest, dest_abs): - dest_dir = os.path.dirname(dest) - dest_base = os.path.basename(dest) - - try: - dirnames = next(os.walk(os.path.dirname(dest_abs)))[1] - except (OSError, StopIteration): - return [], '' - - return [os.path.join(dest_dir, d) for d in dirnames if self._tab_match(dest_base, d)], '' - - def _tab_fuzzy_match(self, basepath, tokens): - """ Find directories matching tokens recursively """ - if not tokens: - tokens = [''] - paths = [basepath] - while True: - token = tokens.pop() - matches = [] - for path in paths: - try: - directories = next(os.walk(path))[1] - except (OSError, StopIteration): - continue - matches += [os.path.join(path, d) for d in directories - if self._tab_match(token, d)] - if not tokens or not matches: - return matches - paths = matches - - return None - - def _tab_fuzzy(self, dest, dest_abs): - tokens = [] - basepath = dest_abs - while True: - basepath_old = basepath - basepath, token = os.path.split(basepath) - if basepath == basepath_old: - break - if os.path.isdir(basepath_old) and not token.startswith('.'): - basepath = basepath_old - break - tokens.append(token) - - paths = self._tab_fuzzy_match(basepath, tokens) - if not os.path.isabs(dest): - paths_rel = self.fm.thisdir.path - paths = [os.path.relpath(os.path.join(basepath, path), paths_rel) - for path in paths] - else: - paths_rel = '' - return paths, paths_rel - - def tab(self, tabnum): - from os.path import sep - - start, dest, dest_abs, ends_with_sep = self._tab_args() - - paths, paths_rel = self._tab_paths(dest, dest_abs, ends_with_sep) - if paths is None: - if self.fm.settings.cd_tab_fuzzy: - paths, paths_rel = self._tab_fuzzy(dest, dest_abs) - else: - paths, paths_rel = self._tab_normal(dest, dest_abs) - - paths.sort() - - if self.fm.settings.cd_bookmarks: - paths[0:0] = [ - os.path.relpath(v.path, paths_rel) if paths_rel else v.path - for v in self.fm.bookmarks.dct.values() for path in paths - if v.path.startswith(os.path.join(paths_rel, path) + sep) - ] - - if not paths: - return None - if len(paths) == 1: - return start + paths[0] + sep - return [start + dirname + sep for dirname in paths] - - -class chain(Command): - """:chain ; ; ... - - Calls multiple commands at once, separated by semicolons. - """ - resolve_macros = False - - def execute(self): - if not self.rest(1).strip(): - self.fm.notify('Syntax: chain ; ; ...', bad=True) - return - for command in [s.strip() for s in self.rest(1).split(";")]: - self.fm.execute_console(command) - - -class shell(Command): - escape_macros_for_shell = True - - def execute(self): - if self.arg(1) and self.arg(1)[0] == '-': - flags = self.arg(1)[1:] - command = self.rest(2) - else: - flags = '' - command = self.rest(1) - - if command: - self.fm.execute_command(command, flags=flags) - - def tab(self, tabnum): - from ranger.ext.get_executables import get_executables - if self.arg(1) and self.arg(1)[0] == '-': - command = self.rest(2) - else: - command = self.rest(1) - start = self.line[0:len(self.line) - len(command)] - - try: - position_of_last_space = command.rindex(" ") - except ValueError: - return (start + program + ' ' for program - in get_executables() if program.startswith(command)) - if position_of_last_space == len(command) - 1: - selection = self.fm.thistab.get_selection() - if len(selection) == 1: - return self.line + selection[0].shell_escaped_basename + ' ' - return self.line + '%s ' - - before_word, start_of_word = self.line.rsplit(' ', 1) - return (before_word + ' ' + file.shell_escaped_basename - for file in self.fm.thisdir.files or [] - if file.shell_escaped_basename.startswith(start_of_word)) - - -class open_with(Command): - - def execute(self): - app, flags, mode = self._get_app_flags_mode(self.rest(1)) - self.fm.execute_file( - files=[f for f in self.fm.thistab.get_selection()], - app=app, - flags=flags, - mode=mode) - - def tab(self, tabnum): - return self._tab_through_executables() - - def _get_app_flags_mode(self, string): # pylint: disable=too-many-branches,too-many-statements - """Extracts the application, flags and mode from a string. - - examples: - "mplayer f 1" => ("mplayer", "f", 1) - "atool 4" => ("atool", "", 4) - "p" => ("", "p", 0) - "" => None - """ - - app = '' - flags = '' - mode = 0 - split = string.split() - - if len(split) == 1: - part = split[0] - if self._is_app(part): - app = part - elif self._is_flags(part): - flags = part - elif self._is_mode(part): - mode = part - - elif len(split) == 2: - part0 = split[0] - part1 = split[1] - - if self._is_app(part0): - app = part0 - if self._is_flags(part1): - flags = part1 - elif self._is_mode(part1): - mode = part1 - elif self._is_flags(part0): - flags = part0 - if self._is_mode(part1): - mode = part1 - elif self._is_mode(part0): - mode = part0 - if self._is_flags(part1): - flags = part1 - - elif len(split) >= 3: - part0 = split[0] - part1 = split[1] - part2 = split[2] - - if self._is_app(part0): - app = part0 - if self._is_flags(part1): - flags = part1 - if self._is_mode(part2): - mode = part2 - elif self._is_mode(part1): - mode = part1 - if self._is_flags(part2): - flags = part2 - elif self._is_flags(part0): - flags = part0 - if self._is_mode(part1): - mode = part1 - elif self._is_mode(part0): - mode = part0 - if self._is_flags(part1): - flags = part1 - - return app, flags, int(mode) - - def _is_app(self, arg): - return not self._is_flags(arg) and not arg.isdigit() - - @staticmethod - def _is_flags(arg): - from ranger.core.runner import ALLOWED_FLAGS - return all(x in ALLOWED_FLAGS for x in arg) - - @staticmethod - def _is_mode(arg): - return all(x in '0123456789' for x in arg) - - -class set_(Command): - """:set