├── .config ├── BetterDiscord │ ├── README.md │ ├── data │ │ ├── betterdiscord.asar │ │ ├── emotes.asar │ │ └── stable │ │ │ ├── custom.css │ │ │ ├── emotes.json │ │ │ ├── misc.json │ │ │ ├── plugins.json │ │ │ ├── settings.json │ │ │ └── themes.json │ └── themes │ │ └── Dracula.theme.css ├── alacritty │ ├── README.md │ ├── alacritty.yml │ ├── aliScheme.yml │ └── dracula.yml ├── dunst │ ├── README.md │ └── dunstrc ├── neofetch │ ├── README.md │ └── config.conf ├── nvim │ ├── README.md │ ├── init.lua │ ├── lua │ │ ├── autocommand-config │ │ │ └── init.lua │ │ ├── barbar-config │ │ │ └── init.lua │ │ ├── colorizer-config │ │ │ └── init.lua │ │ ├── colorschemes-config │ │ │ ├── base16.lua │ │ │ ├── codedark.lua │ │ │ └── dracula.lua │ │ ├── keymap-config │ │ │ └── init.lua │ │ ├── lsp-config │ │ │ ├── language-servers.lua │ │ │ ├── null-ls.lua │ │ │ └── nvim-cmp.lua │ │ ├── lualine-config │ │ │ └── init.lua │ │ ├── nvim-tree-config │ │ │ └── init.lua │ │ ├── options │ │ │ └── init.lua │ │ ├── packer-config │ │ │ └── init.lua │ │ └── treesitter-conifg │ │ │ └── init.lua │ └── plugin │ │ └── packer_compiled.lua ├── picom │ └── picom.conf ├── qtile │ ├── README.md │ ├── __pycache__ │ │ └── config.cpython-310.pyc │ ├── autostart.sh │ ├── config.py │ └── settings │ │ ├── __pycache__ │ │ ├── colors.cpython-310.pyc │ │ ├── groups.cpython-310.pyc │ │ ├── keys.cpython-310.pyc │ │ ├── layouts.cpython-310.pyc │ │ ├── mouse.cpython-310.pyc │ │ ├── screens.cpython-310.pyc │ │ └── widgets.cpython-310.pyc │ │ ├── colors.py │ │ ├── groups.py │ │ ├── keys.py │ │ ├── layouts.py │ │ ├── mouse.py │ │ ├── screens.py │ │ └── widgets.py ├── qutebrowser │ ├── README.md │ ├── aliScheme │ │ ├── __pycache__ │ │ │ └── draw.cpython-310.pyc │ │ └── draw.py │ ├── autoconfig.yml │ ├── bookmarks │ │ └── urls │ ├── config.py │ ├── dracula │ │ ├── __pycache__ │ │ │ └── draw.cpython-310.pyc │ │ └── draw.py │ ├── qsettings │ │ └── QtProject.conf │ └── quickmarks ├── ranger │ ├── README.md │ ├── colorschemes │ │ ├── __init__.py │ │ ├── __pycache__ │ │ │ ├── __init__.cpython-310.opt-1.pyc │ │ │ └── dracula.cpython-310.opt-1.pyc │ │ └── dracula.py │ ├── commands.py │ ├── commands_full.py │ ├── rc.conf │ ├── rifle.conf │ └── scope.sh ├── rofi │ ├── README.md │ ├── applets │ │ ├── android │ │ │ ├── apps.sh │ │ │ ├── backlight.sh │ │ │ ├── colors.rasi │ │ │ ├── confirm.rasi │ │ │ ├── five.rasi │ │ │ ├── message.rasi │ │ │ ├── mpd.sh │ │ │ ├── powermenu.sh │ │ │ ├── quicklinks.sh │ │ │ ├── screenshot.sh │ │ │ ├── six.rasi │ │ │ ├── three.rasi │ │ │ └── volume.sh │ │ ├── applets │ │ │ ├── apps.sh │ │ │ ├── backlight.sh │ │ │ ├── battery.sh │ │ │ ├── configs │ │ │ │ ├── circle │ │ │ │ │ ├── apps.rasi │ │ │ │ │ ├── backlight.rasi │ │ │ │ │ ├── battery.rasi │ │ │ │ │ ├── mpd.rasi │ │ │ │ │ ├── network.rasi │ │ │ │ │ ├── powermenu.rasi │ │ │ │ │ ├── quicklinks.rasi │ │ │ │ │ ├── screenshot.rasi │ │ │ │ │ ├── time.rasi │ │ │ │ │ └── volume.rasi │ │ │ │ ├── rounded │ │ │ │ │ ├── apps.rasi │ │ │ │ │ ├── backlight.rasi │ │ │ │ │ ├── battery.rasi │ │ │ │ │ ├── mpd.rasi │ │ │ │ │ ├── network.rasi │ │ │ │ │ ├── powermenu.rasi │ │ │ │ │ ├── quicklinks.rasi │ │ │ │ │ ├── screenshot.rasi │ │ │ │ │ ├── time.rasi │ │ │ │ │ └── volume.rasi │ │ │ │ └── square │ │ │ │ │ ├── apps.rasi │ │ │ │ │ ├── backlight.rasi │ │ │ │ │ ├── battery.rasi │ │ │ │ │ ├── mpd.rasi │ │ │ │ │ ├── network.rasi │ │ │ │ │ ├── powermenu.rasi │ │ │ │ │ ├── quicklinks.rasi │ │ │ │ │ ├── screenshot.rasi │ │ │ │ │ ├── time.rasi │ │ │ │ │ └── volume.rasi │ │ │ ├── mpd.sh │ │ │ ├── network.sh │ │ │ ├── powermenu.sh │ │ │ ├── quicklinks.sh │ │ │ ├── screenshot.sh │ │ │ ├── style.sh │ │ │ ├── time.sh │ │ │ └── volume.sh │ │ ├── menu │ │ │ ├── apps.sh │ │ │ ├── backlight.sh │ │ │ ├── battery.sh │ │ │ ├── configs │ │ │ │ ├── circle │ │ │ │ │ ├── apps.rasi │ │ │ │ │ ├── backlight.rasi │ │ │ │ │ ├── battery.rasi │ │ │ │ │ ├── mpd.rasi │ │ │ │ │ ├── network.rasi │ │ │ │ │ ├── powermenu.rasi │ │ │ │ │ ├── quicklinks.rasi │ │ │ │ │ ├── screenshot.rasi │ │ │ │ │ ├── time.rasi │ │ │ │ │ └── volume.rasi │ │ │ │ ├── rounded │ │ │ │ │ ├── apps.rasi │ │ │ │ │ ├── backlight.rasi │ │ │ │ │ ├── battery.rasi │ │ │ │ │ ├── mpd.rasi │ │ │ │ │ ├── network.rasi │ │ │ │ │ ├── powermenu.rasi │ │ │ │ │ ├── quicklinks.rasi │ │ │ │ │ ├── screenshot.rasi │ │ │ │ │ ├── time.rasi │ │ │ │ │ └── volume.rasi │ │ │ │ └── square │ │ │ │ │ ├── apps.rasi │ │ │ │ │ ├── backlight.rasi │ │ │ │ │ ├── battery.rasi │ │ │ │ │ ├── mpd.rasi │ │ │ │ │ ├── network.rasi │ │ │ │ │ ├── powermenu.rasi │ │ │ │ │ ├── quicklinks.rasi │ │ │ │ │ ├── screenshot.rasi │ │ │ │ │ ├── time.rasi │ │ │ │ │ └── volume.rasi │ │ │ ├── mpd.sh │ │ │ ├── network.sh │ │ │ ├── powermenu.sh │ │ │ ├── quicklinks.sh │ │ │ ├── screenshot.sh │ │ │ ├── style.sh │ │ │ ├── time.sh │ │ │ └── volume.sh │ │ └── styles │ │ │ ├── adapta-nokto.rasi │ │ │ ├── adapta.rasi │ │ │ ├── adwaita.rasi │ │ │ ├── arc-dark.rasi │ │ │ ├── arc.rasi │ │ │ ├── armchair.rasi │ │ │ ├── colors.rasi │ │ │ ├── confirm.rasi │ │ │ ├── dark.rasi │ │ │ ├── darkpink.rasi │ │ │ ├── fresh.rasi │ │ │ ├── gruvbox.rasi │ │ │ ├── inside.rasi │ │ │ ├── material-dark │ │ │ ├── amber.rasi │ │ │ ├── blue.rasi │ │ │ ├── blue_grey.rasi │ │ │ ├── brown.rasi │ │ │ ├── cyan.rasi │ │ │ ├── deep_orange.rasi │ │ │ ├── deep_purple.rasi │ │ │ ├── green.rasi │ │ │ ├── grey.rasi │ │ │ ├── indigo.rasi │ │ │ ├── light_blue.rasi │ │ │ ├── light_green.rasi │ │ │ ├── lime.rasi │ │ │ ├── orange.rasi │ │ │ ├── pink.rasi │ │ │ ├── purple.rasi │ │ │ ├── red.rasi │ │ │ ├── teal.rasi │ │ │ └── yellow.rasi │ │ │ ├── material-light │ │ │ ├── amber.rasi │ │ │ ├── blue.rasi │ │ │ ├── blue_grey.rasi │ │ │ ├── brown.rasi │ │ │ ├── cyan.rasi │ │ │ ├── deep_orange.rasi │ │ │ ├── deep_purple.rasi │ │ │ ├── green.rasi │ │ │ ├── grey.rasi │ │ │ ├── indigo.rasi │ │ │ ├── light_blue.rasi │ │ │ ├── light_green.rasi │ │ │ ├── lime.rasi │ │ │ ├── orange.rasi │ │ │ ├── pink.rasi │ │ │ ├── purple.rasi │ │ │ ├── red.rasi │ │ │ ├── teal.rasi │ │ │ └── yellow.rasi │ │ │ ├── message.rasi │ │ │ ├── minimo.rasi │ │ │ ├── party.rasi │ │ │ └── sirin.rasi │ ├── bin │ │ ├── android_apps │ │ ├── android_backlight │ │ ├── android_mpd │ │ ├── android_powermenu │ │ ├── android_quicklinks │ │ ├── android_screenshot │ │ ├── android_volume │ │ ├── applet_apps │ │ ├── applet_backlight │ │ ├── applet_battery │ │ ├── applet_mpd │ │ ├── applet_network │ │ ├── applet_powermenu │ │ ├── applet_quicklinks │ │ ├── applet_screenshot │ │ ├── applet_time │ │ ├── applet_volume │ │ ├── launcher_colorful │ │ ├── launcher_misc │ │ ├── launcher_ribbon │ │ ├── launcher_slate │ │ ├── launcher_text │ │ ├── menu_apps │ │ ├── menu_backlight │ │ ├── menu_battery │ │ ├── menu_mpd │ │ ├── menu_network │ │ ├── menu_powermenu │ │ ├── menu_quicklinks │ │ ├── menu_screenshot │ │ ├── menu_time │ │ ├── menu_volume │ │ ├── powermenu │ │ ├── usedcpu │ │ └── usedram │ ├── config.rasi │ ├── launchers │ │ ├── colorful │ │ │ ├── colors.rasi │ │ │ ├── launcher.sh │ │ │ ├── style_1.rasi │ │ │ ├── style_10.rasi │ │ │ ├── style_11.rasi │ │ │ ├── style_12.rasi │ │ │ ├── style_2.rasi │ │ │ ├── style_3.rasi │ │ │ ├── style_4.rasi │ │ │ ├── style_5.rasi │ │ │ ├── style_6.rasi │ │ │ ├── style_7.rasi │ │ │ ├── style_8.rasi │ │ │ └── style_9.rasi │ │ ├── misc │ │ │ ├── appdrawer.rasi │ │ │ ├── appdrawer_alt.rasi │ │ │ ├── appfolder.rasi │ │ │ ├── blurry.rasi │ │ │ ├── blurry_full.rasi │ │ │ ├── column.rasi │ │ │ ├── gnome_do.rasi │ │ │ ├── kde_krunner.rasi │ │ │ ├── kde_simplemenu.rasi │ │ │ ├── launcher.sh │ │ │ ├── launchpad.rasi │ │ │ ├── row.rasi │ │ │ ├── row_center.rasi │ │ │ ├── row_dock.rasi │ │ │ ├── row_dropdown.rasi │ │ │ ├── screen.rasi │ │ │ └── slingshot.rasi │ │ ├── ribbon │ │ │ ├── full_bottom.rasi │ │ │ ├── full_left.rasi │ │ │ ├── full_right.rasi │ │ │ ├── full_top.rasi │ │ │ ├── launcher.sh │ │ │ ├── ribbon_bottom.rasi │ │ │ ├── ribbon_bottom_round.rasi │ │ │ ├── ribbon_left.rasi │ │ │ ├── ribbon_left_round.rasi │ │ │ ├── ribbon_right.rasi │ │ │ ├── ribbon_right_round.rasi │ │ │ ├── ribbon_top.rasi │ │ │ ├── ribbon_top_round.rasi │ │ │ └── styles │ │ │ │ ├── berry.rasi │ │ │ │ ├── bluish.rasi │ │ │ │ ├── cocoa.rasi │ │ │ │ ├── colors.rasi │ │ │ │ ├── faded.rasi │ │ │ │ ├── gotham.rasi │ │ │ │ ├── mask.rasi │ │ │ │ ├── nightly.rasi │ │ │ │ └── nordic.rasi │ │ ├── slate │ │ │ ├── launcher.sh │ │ │ ├── slate_bottom.rasi │ │ │ ├── slate_center.rasi │ │ │ ├── slate_full.rasi │ │ │ ├── slate_left.rasi │ │ │ ├── slate_right.rasi │ │ │ ├── slate_top.rasi │ │ │ └── styles │ │ │ │ ├── Amber.rasi │ │ │ │ ├── Black.rasi │ │ │ │ ├── Blue.rasi │ │ │ │ ├── Blue_gray.rasi │ │ │ │ ├── Brown.rasi │ │ │ │ ├── Cyan.rasi │ │ │ │ ├── Deep_orange.rasi │ │ │ │ ├── Deep_purple.rasi │ │ │ │ ├── Gray.rasi │ │ │ │ ├── Green.rasi │ │ │ │ ├── Indigo.rasi │ │ │ │ ├── Light_blue.rasi │ │ │ │ ├── Light_green.rasi │ │ │ │ ├── Lime.rasi │ │ │ │ ├── Orange.rasi │ │ │ │ ├── Pink.rasi │ │ │ │ ├── Purple.rasi │ │ │ │ ├── Red.rasi │ │ │ │ ├── Teal.rasi │ │ │ │ ├── Yellow.rasi │ │ │ │ └── colors.rasi │ │ └── text │ │ │ ├── launcher.sh │ │ │ ├── style_1.rasi │ │ │ ├── style_2.rasi │ │ │ ├── style_3.rasi │ │ │ ├── style_4.rasi │ │ │ ├── style_5.rasi │ │ │ ├── style_6.rasi │ │ │ ├── style_7.rasi │ │ │ └── styles │ │ │ ├── berry.rasi │ │ │ ├── black.rasi │ │ │ ├── bluish.rasi │ │ │ ├── cocoa.rasi │ │ │ ├── colors.rasi │ │ │ ├── faded.rasi │ │ │ ├── gotham.rasi │ │ │ ├── mask.rasi │ │ │ ├── nightly.rasi │ │ │ ├── nordic.rasi │ │ │ └── white.rasi │ └── powermenu │ │ ├── card_alt.rasi │ │ ├── card_circle.rasi │ │ ├── card_rounded.rasi │ │ ├── card_square.rasi │ │ ├── column_alt.rasi │ │ ├── column_circle.rasi │ │ ├── column_rounded.rasi │ │ ├── column_square.rasi │ │ ├── confirm.rasi │ │ ├── dock_alt.rasi │ │ ├── dock_circle.rasi │ │ ├── dock_rounded.rasi │ │ ├── dock_square.rasi │ │ ├── drop_alt.rasi │ │ ├── drop_circle.rasi │ │ ├── drop_rounded.rasi │ │ ├── drop_square.rasi │ │ ├── full_alt.rasi │ │ ├── full_circle.rasi │ │ ├── full_rounded.rasi │ │ ├── full_square.rasi │ │ ├── message.rasi │ │ ├── powermenu.sh │ │ ├── row_alt.rasi │ │ ├── row_circle.rasi │ │ ├── row_rounded.rasi │ │ ├── row_square.rasi │ │ └── styles │ │ ├── berry.rasi │ │ ├── bluish.rasi │ │ ├── cocoa.rasi │ │ ├── colors.rasi │ │ ├── faded.rasi │ │ ├── gotham.rasi │ │ ├── mask.rasi │ │ ├── nightly.rasi │ │ └── nordic.rasi └── scrot │ ├── README.md │ └── screenshot ├── .local ├── bin │ ├── README.md │ ├── changevolume │ ├── screenshot │ └── wifimenu └── share │ └── fonts │ ├── JetBrains Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Bold Italic Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Bold Italic Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Bold Italic Nerd Font Complete.ttf │ ├── JetBrains Mono Bold Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Bold Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Bold Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Bold Nerd Font Complete.ttf │ ├── JetBrains Mono ExtBd Ita Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono ExtBd Ita Nerd Font Complete Mono.ttf │ ├── JetBrains Mono ExtBd Ita Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono ExtBd Ita Nerd Font Complete.ttf │ ├── JetBrains Mono Extra Bold Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Extra Bold Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Extra Bold Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Extra Bold Nerd Font Complete.ttf │ ├── JetBrains Mono ExtraBold ExBd I Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono ExtraBold ExBd I Nerd Font Complete Mono.ttf │ ├── JetBrains Mono ExtraBold ExBd I Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono ExtraBold ExBd I Nerd Font Complete.ttf │ ├── JetBrains Mono ExtraBold ExtBd Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono ExtraBold ExtBd Nerd Font Complete Mono.ttf │ ├── JetBrains Mono ExtraBold ExtBd Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono ExtraBold ExtBd Nerd Font Complete.ttf │ ├── JetBrains Mono Italic Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Italic Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Italic Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Italic Nerd Font Complete.ttf │ ├── JetBrains Mono Medium Italic Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Medium Italic Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Medium Italic Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Medium Italic Nerd Font Complete.ttf │ ├── JetBrains Mono Medium Med Ita Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Medium Med Ita Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Medium Med Ita Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Medium Med Ita Nerd Font Complete.ttf │ ├── JetBrains Mono Medium Medium Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Medium Medium Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Medium Medium Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Medium Medium Nerd Font Complete.ttf │ ├── JetBrains Mono Medium Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Medium Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Medium Nerd Font Complete Windows Compatible.ttf │ ├── JetBrains Mono Medium Nerd Font Complete.ttf │ ├── JetBrains Mono Regular Nerd Font Complete Mono Windows Compatible.ttf │ ├── JetBrains Mono Regular Nerd Font Complete Mono.ttf │ ├── JetBrains Mono Regular Nerd Font Complete Windows Compatible.ttf │ └── JetBrains Mono Regular Nerd Font Complete.ttf ├── .p10k.zsh ├── .xinitrc ├── .zshrc └── README.md /.config/BetterDiscord/README.md: -------------------------------------------------------------------------------- 1 | ![2022-03-21-19:59:53-screenshot](https://user-images.githubusercontent.com/96023410/159258436-d26fe080-8bbb-4104-8de5-17644a81bad2.png) 2 | 3 | Install **[Discrod](https://wiki.archlinux.org/title/Discord)** and **BetterDiscord**. 4 | 5 | ```bash 6 | sudo pacman -S discord 7 | yay -S betterdiscord-installer-bin 8 | ``` 9 | 10 | If you not downloaded yet my repository: 11 | 12 | ```bash 13 | git clone https://github.com/igmt-official/dotfiles.git 14 | ``` 15 | 16 | Copy my configs: 17 | 18 | ```bash 19 | cp -r dotfiles/.config/alacritty ~/.config 20 | ``` 21 | -------------------------------------------------------------------------------- /.config/BetterDiscord/data/betterdiscord.asar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/BetterDiscord/data/betterdiscord.asar -------------------------------------------------------------------------------- /.config/BetterDiscord/data/stable/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/BetterDiscord/data/stable/custom.css -------------------------------------------------------------------------------- /.config/BetterDiscord/data/stable/emotes.json: -------------------------------------------------------------------------------- 1 | { 2 | "general": { 3 | "download": true, 4 | "emoteMenu": true, 5 | "hideEmojiMenu": false, 6 | "modifiers": true, 7 | "animateOnHover": false 8 | }, 9 | "categories": { 10 | "twitchglobal": true, 11 | "twitchsubscriber": false, 12 | "frankerfacez": true, 13 | "bttv": true 14 | } 15 | } -------------------------------------------------------------------------------- /.config/BetterDiscord/data/stable/misc.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.5.2", 3 | "emoteVersion": "v1.5.2" 4 | } -------------------------------------------------------------------------------- /.config/BetterDiscord/data/stable/plugins.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.config/BetterDiscord/data/stable/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "general": { 3 | "emotes": true, 4 | "publicServers": true, 5 | "voiceDisconnect": false, 6 | "showToasts": true, 7 | "mediaKeys": false 8 | }, 9 | "addons": { 10 | "addonErrors": true, 11 | "autoReload": true, 12 | "editAction": "detached" 13 | }, 14 | "customcss": { 15 | "customcss": true, 16 | "liveUpdate": false, 17 | "openAction": "settings" 18 | }, 19 | "editor": { 20 | "lineNumbers": true, 21 | "minimap": true, 22 | "hover": true, 23 | "quickSuggestions": true, 24 | "fontSize": 14, 25 | "renderWhitespace": "selection" 26 | }, 27 | "window": { 28 | "transparency": false, 29 | "removeMinimumSize": false, 30 | "frame": false 31 | }, 32 | "developer": { 33 | "debugLogs": false, 34 | "devTools": false, 35 | "debuggerHotkey": false, 36 | "reactDevTools": false, 37 | "inspectElement": false, 38 | "devToolsWarning": false 39 | } 40 | } -------------------------------------------------------------------------------- /.config/BetterDiscord/data/stable/themes.json: -------------------------------------------------------------------------------- 1 | { 2 | "Dracula Theme": true 3 | } -------------------------------------------------------------------------------- /.config/BetterDiscord/themes/Dracula.theme.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @name Dracula Theme 3 | * @author Kabir Kwatra 4 | * @authorId 168376512272269313 5 | * @version 1.0.0 6 | * @description 🧛🏻‍♂️ Dark theme for all the things 7 | * @source https://github.com/Dracula/BetterDiscord 8 | **/ 9 | 10 | @import url("https://dracula.github.io/betterdiscord/base.css") 11 | -------------------------------------------------------------------------------- /.config/alacritty/README.md: -------------------------------------------------------------------------------- 1 | ![2022-03-21-19:37:17-screenshot](https://user-images.githubusercontent.com/96023410/159258114-2ec336eb-dfb1-4160-a972-ed986deb05dc.png) 2 | 3 | Install **[Alacritty](https://github.com/alacritty/alacritty)**. 4 | 5 | ```bash 6 | sudo pacman -S alacritty 7 | ``` 8 | 9 | If you not downloaded yet my repository: 10 | 11 | ```bash 12 | git clone https://github.com/igmt-official/dotfiles.git 13 | ``` 14 | 15 | Copy my configs: 16 | 17 | ```bash 18 | cp -r dotfiles/.config/alacritty ~/.config 19 | ``` 20 | -------------------------------------------------------------------------------- /.config/alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | # import: 2 | # - ~/.config/alacritty/aliScheme.yml 3 | 4 | # Font configuration 5 | font: 6 | # Normal (roman) font face 7 | normal: 8 | # Font family 9 | # 10 | # Default: 11 | # - (macOS) Menlo 12 | # - (Linux/BSD) monospace 13 | # - (Windows) Consolas 14 | family: JetBrainsMono Nerd Font 15 | 16 | # The `style` can be specified to pick a specific face. 17 | #style: Regular 18 | 19 | # Bold font face 20 | bold: 21 | # Font family 22 | # 23 | # If the bold family is not specified, it will fall back to the 24 | # value specified for the normal font. 25 | family: JetBrainsMono Nerd Font 26 | 27 | # The `style` can be specified to pick a specific face. 28 | style: Bold 29 | 30 | # Italic font face 31 | #italic: 32 | # Font family 33 | # 34 | # If the italic family is not specified, it will fall back to the 35 | # value specified for the normal font. 36 | #family: monospace 37 | 38 | # The `style` can be specified to pick a specific face. 39 | #style: Italic 40 | 41 | # Bold italic font face 42 | #bold_italic: 43 | # Font family 44 | # 45 | # If the bold italic family is not specified, it will fall back to the 46 | # value specified for the normal font. 47 | #family: monospace 48 | 49 | # The `style` can be specified to pick a specific face. 50 | #style: Bold Italic 51 | 52 | # Point size 53 | size: 10.0 54 | 55 | # Offset is the extra space around each character. `offset.y` can be thought 56 | # of as modifying the line spacing, and `offset.x` as modifying the letter 57 | # spacing. 58 | #offset: 59 | # x: 0 60 | # y: 0 61 | 62 | # Glyph offset determines the locations of the glyphs within their cells with 63 | # the default being at the bottom. Increasing `x` moves the glyph to the 64 | # right, increasing `y` moves the glyph upward. 65 | #glyph_offset: 66 | # x: 0 67 | # y: 0 68 | 69 | # Thin stroke font rendering (macOS only) 70 | # 71 | # Thin strokes are suitable for retina displays, but for non-retina screens 72 | # it is recommended to set `use_thin_strokes` to `false`. 73 | #use_thin_strokes: true 74 | 75 | # Use built-in font for box drawing characters. 76 | # 77 | # If `true`, Alacritty will use a custom built-in font for box drawing 78 | # characters (Unicode points 2500 - 259f). 79 | # 80 | #builtin_box_drawing: true 81 | 82 | window: 83 | padding: 84 | x: 10 85 | y: 10 86 | 87 | colors: 88 | # Default colors 89 | primary: 90 | background: '#181818' 91 | foreground: '#d8d8d8' 92 | 93 | # Colors the cursor will use if `custom_cursor_colors` is true 94 | cursor: 95 | text: '#d8d8d8' 96 | cursor: '#d8d8d8' 97 | 98 | # Normal colors 99 | normal: 100 | black: '#181818' 101 | red: '#ab4642' 102 | green: '#a1b56c' 103 | yellow: '#f7ca88' 104 | blue: '#7cafc2' 105 | magenta: '#ba8baf' 106 | cyan: '#86c1b9' 107 | white: '#d8d8d8' 108 | 109 | # Bright colors 110 | bright: 111 | black: '#585858' 112 | red: '#ab4642' 113 | green: '#a1b56c' 114 | yellow: '#f7ca88' 115 | blue: '#7cafc2' 116 | magenta: '#ba8baf' 117 | cyan: '#86c1b9' 118 | white: '#f8f8f8' 119 | -------------------------------------------------------------------------------- /.config/alacritty/aliScheme.yml: -------------------------------------------------------------------------------- 1 | colors: 2 | primary: 3 | background: '#2c2c2c' 4 | foreground: '#ffffff' 5 | bright_foreground: '#ffffff' 6 | cursor: 7 | text: CellBackground 8 | cursor: CellForeground 9 | vi_mode_cursor: 10 | text: CellBackground 11 | cursor: CellForeground 12 | search: 13 | matches: 14 | foreground: '#44475a' 15 | background: '#50fa7b' 16 | focused_match: 17 | foreground: '#44475a' 18 | background: '#ffb86c' 19 | bar: 20 | background: '#282a36' 21 | foreground: '#f8f8f2' 22 | hints: 23 | start: 24 | foreground: '#282a36' 25 | background: '#f1fa8c' 26 | end: 27 | foreground: '#f1fa8c' 28 | background: '#282a36' 29 | line_indicator: 30 | foreground: None 31 | background: None 32 | selection: 33 | text: CellForeground 34 | background: '#ffffff' 35 | normal: 36 | black: '#21222c' 37 | red: '#ff5555' 38 | green: '#50fa7b' 39 | yellow: '#f1fa8c' 40 | blue: '#bd93f9' 41 | magenta: '#ff79c6' 42 | cyan: '#8be9fd' 43 | white: '#f8f8f2' 44 | bright: 45 | black: '#6272a4' 46 | red: '#ff6e6e' 47 | green: '#69ff94' 48 | yellow: '#ffffa5' 49 | blue: '#d6acff' 50 | magenta: '#ff92df' 51 | cyan: '#a4ffff' 52 | white: '#ffffff' 53 | -------------------------------------------------------------------------------- /.config/alacritty/dracula.yml: -------------------------------------------------------------------------------- 1 | # Dracula theme for Alacritty 2 | # https://draculatheme.com/alacritty 3 | # 4 | # Color palette 5 | # https://spec.draculatheme.com 6 | # 7 | # Template 8 | # https://github.com/alacritty/alacritty/blob/master/alacritty.yml 9 | 10 | colors: 11 | primary: 12 | background: '#282a36' 13 | foreground: '#f8f8f2' 14 | bright_foreground: '#ffffff' 15 | cursor: 16 | text: CellBackground 17 | cursor: CellForeground 18 | vi_mode_cursor: 19 | text: CellBackground 20 | cursor: CellForeground 21 | search: 22 | matches: 23 | foreground: '#44475a' 24 | background: '#50fa7b' 25 | focused_match: 26 | foreground: '#44475a' 27 | background: '#ffb86c' 28 | bar: 29 | background: '#282a36' 30 | foreground: '#f8f8f2' 31 | hints: 32 | start: 33 | foreground: '#282a36' 34 | background: '#f1fa8c' 35 | end: 36 | foreground: '#f1fa8c' 37 | background: '#282a36' 38 | line_indicator: 39 | foreground: None 40 | background: None 41 | selection: 42 | text: CellForeground 43 | background: '#44475a' 44 | normal: 45 | black: '#21222c' 46 | red: '#ff5555' 47 | green: '#50fa7b' 48 | yellow: '#f1fa8c' 49 | blue: '#bd93f9' 50 | magenta: '#ff79c6' 51 | cyan: '#8be9fd' 52 | white: '#f8f8f2' 53 | bright: 54 | black: '#6272a4' 55 | red: '#ff6e6e' 56 | green: '#69ff94' 57 | yellow: '#ffffa5' 58 | blue: '#d6acff' 59 | magenta: '#ff92df' 60 | cyan: '#a4ffff' 61 | white: '#ffffff' 62 | -------------------------------------------------------------------------------- /.config/dunst/README.md: -------------------------------------------------------------------------------- 1 | Install **[Dunst](https://wiki.archlinux.org/title/Dunst)**. 2 | 3 | And if you want to use my config, just copy my config **[Dunst](https://github.com/igmt-official/dotfiles/tree/main/.config/dunst)** 4 | 5 | ```bash 6 | sudo pacman -S dunst 7 | ``` 8 | 9 | First copy the default **dunstrc** file on our config folder: 10 | 11 | ```bash 12 | cp /etc/dunst/dunstrc .config/dunst/dunstrc 13 | ``` 14 | 15 | If you not downloaded yet my repository: 16 | 17 | ```bash 18 | git clone https://github.com/igmt-official/dotfiles.git 19 | ``` 20 | 21 | Copy my configs: 22 | 23 | ```bash 24 | cp -r dotfiles/.config/dunst ~/.config 25 | ``` 26 | 27 | Also i have **[Custom Scripts](https://github.com/igmt-official/dotfiles/tree/main/.local/bin)**, for wifi, screenshot, and volume notificiation. 28 | -------------------------------------------------------------------------------- /.config/neofetch/README.md: -------------------------------------------------------------------------------- 1 | ![2022-03-21-19:30:39-screenshot](https://user-images.githubusercontent.com/96023410/159258148-ca114681-5a2f-4f80-9d9f-f182b5cf1f2d.png) 2 | 3 | Install **[Neofetch](https://github.com/dylanaraps/neofetch)**: 4 | 5 | ```bash 6 | sudo pacman -S neofetch 7 | neofetch # Type this command for showcase your neofetch 8 | ``` 9 | 10 | If you not downloaded yet my repository: 11 | 12 | ```bash 13 | git clone https://github.com/igmt-official/dotfiles.git 14 | ``` 15 | 16 | Copy my configs: 17 | 18 | ```bash 19 | cp -r dotfiles/.config/neofetch ~/.config 20 | ``` 21 | -------------------------------------------------------------------------------- /.config/neofetch/config.conf: -------------------------------------------------------------------------------- 1 | # Neofetch Themes 2 | # Configuration made by Chick 3 | 4 | # See this wiki page for more info: 5 | # https://github.com/dylanaraps/neofetch/wiki/Customizing-Info 6 | 7 | 8 | print_info() { 9 | 10 | info " ​ ​ ${cl5}██ CPU" cpu 11 | info " ​ ​ ${cl2}██ GPU" gpu 12 | info " ​ ​ ${cl6}██ Distro" distro 13 | info " ​ ​ ${cl4}██ Kernel" kernel 14 | info " ​ ​ ${cl1}██ WM" wm 15 | info " ​ ​ ${cl7}██ Shell" shell 16 | info " ​ ​ ${cl3}██ Packages" packages 17 | info cols 18 | } 19 | 20 | kernel_shorthand="on" 21 | distro_shorthand="off" 22 | os_arch="off" 23 | uptime_shorthand="on" 24 | memory_percent="on" 25 | package_managers="on" 26 | shell_path="off" 27 | shell_version="on" 28 | speed_type="bios_limit" 29 | speed_shorthand="on" 30 | cpu_brand="off" 31 | cpu_speed="off" 32 | cpu_cores="logical" 33 | cpu_temp="off" 34 | gpu_brand="off" 35 | gpu_type="all" 36 | refresh_rate="on" 37 | gtk_shorthand="on" 38 | gtk2="on" 39 | gtk3="on" 40 | public_ip_host="http://ident.me" 41 | public_ip_timeout=2 42 | disk_show=('/') 43 | music_player="vlc" 44 | song_format="%artist% - %title%" 45 | song_shorthand="off" 46 | colors=(distro) 47 | bold="on" 48 | underline_enabled="on" 49 | underline_char="-" 50 | separator="" 51 | color_blocks="off" 52 | block_range=(0 15) # Colorblocks 53 | 54 | # Colors for custom colorblocks 55 | magenta="\033[1;35m" 56 | green="\033[1;32m" 57 | white="\033[1;37m" 58 | blue="\033[1;34m" 59 | red="\033[1;31m" 60 | black="\033[1;40;30m" 61 | yellow="\033[1;33m" 62 | cyan="\033[1;36m" 63 | reset="\033[0m" 64 | bgyellow="\033[1;43;33m" 65 | bgwhite="\033[1;47;37m" 66 | cl0="${reset}" 67 | cl1="${magenta}" 68 | cl2="${green}" 69 | cl3="${white}" 70 | cl4="${blue}" 71 | cl5="${red}" 72 | cl6="${yellow}" 73 | cl7="${cyan}" 74 | cl8="${black}" 75 | cl9="${bgyellow}" 76 | cl10="${bgwhite}" 77 | 78 | block_width=4 79 | block_height=1 80 | 81 | bar_char_elapsed="-" 82 | bar_char_total="=" 83 | bar_border="on" 84 | bar_length=15 85 | bar_color_elapsed="distro" 86 | bar_color_total="distro" 87 | 88 | cpu_display="on" 89 | memory_display="on" 90 | battery_display="on" 91 | disk_display="on" 92 | 93 | image_backend="ascii" 94 | #image_source="$HOME/" 95 | image_size="auto" 96 | image_loop="off" 97 | 98 | ascii_distro="arch_small" 99 | ascii_colors=(distro) 100 | ascii_bold="on" 101 | 102 | thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch" 103 | crop_mode="normal" 104 | crop_offset="center" 105 | 106 | gap=2 107 | 108 | yoffset=0 109 | xoffset=0 110 | 111 | stdout="off" 112 | 113 | -------------------------------------------------------------------------------- /.config/nvim/init.lua: -------------------------------------------------------------------------------- 1 | require "options" 2 | require "keymap-config" 3 | require "packer-config" 4 | require "colorschemes-config.base16" 5 | require "nvim-tree-config" 6 | require "lsp-config.language-servers" 7 | require "lsp-config.nvim-cmp" 8 | require "lsp-config.null-ls" 9 | require "lualine-config" 10 | require "barbar-config" 11 | require "treesitter-conifg" 12 | require "colorizer-config" 13 | -- require "autocommand-config" 14 | -------------------------------------------------------------------------------- /.config/nvim/lua/autocommand-config/init.lua: -------------------------------------------------------------------------------- 1 | vim.cmd [[ 2 | autocmd FileType python map :w:exec '!python3' shellescape(@%, 1) 3 | autocmd FileType python imap :w:exec '!python3' shellescape(@%, 1) 4 | ]] 5 | -------------------------------------------------------------------------------- /.config/nvim/lua/barbar-config/init.lua: -------------------------------------------------------------------------------- 1 | vim.g.bufferline = { 2 | animation = true, 3 | tabpages = true, 4 | clickable = true, 5 | icon_close_tab = "", 6 | icon_separator_active = "", 7 | icon_separator_inactive = "", 8 | } 9 | -------------------------------------------------------------------------------- /.config/nvim/lua/colorizer-config/init.lua: -------------------------------------------------------------------------------- 1 | require'colorizer'.setup() 2 | -------------------------------------------------------------------------------- /.config/nvim/lua/colorschemes-config/base16.lua: -------------------------------------------------------------------------------- 1 | vim.cmd('colorscheme base16-default-dark') 2 | -------------------------------------------------------------------------------- /.config/nvim/lua/colorschemes-config/codedark.lua: -------------------------------------------------------------------------------- 1 | vim.cmd[[colorscheme codedark]] 2 | -------------------------------------------------------------------------------- /.config/nvim/lua/colorschemes-config/dracula.lua: -------------------------------------------------------------------------------- 1 | vim.cmd[[colorscheme dracula]] 2 | -------------------------------------------------------------------------------- /.config/nvim/lua/keymap-config/init.lua: -------------------------------------------------------------------------------- 1 | local map = vim.api.nvim_set_keymap 2 | local opts = { noremap = true, silent = true } 3 | 4 | vim.g.mapleader = " " -- leader key 5 | 6 | --> nvim tree mappings <-- 7 | map("n", "t", ":NvimTreeToggle", opts) 8 | map("n", "gt", ":NvimTreeFocus", opts) 9 | 10 | --> barbar mappings <-- 11 | 12 | -- Move to previous/next 13 | map('n', '', ':BufferPrevious', opts) 14 | map('n', '', ':BufferNext', opts) 15 | -- Re-order to previous/next 16 | map('n', '', ':BufferMovePrevious', opts) 17 | map('n', '>', ' :BufferMoveNext', opts) 18 | -- Goto buffer in position... 19 | map('n', '', ':BufferGoto 1', opts) 20 | map('n', '', ':BufferGoto 2', opts) 21 | map('n', '', ':BufferGoto 3', opts) 22 | map('n', '', ':BufferGoto 4', opts) 23 | map('n', '', ':BufferGoto 5', opts) 24 | map('n', '', ':BufferGoto 6', opts) 25 | map('n', '', ':BufferGoto 7', opts) 26 | map('n', '', ':BufferGoto 8', opts) 27 | map('n', '', ':BufferGoto 9', opts) 28 | map('n', '', ':BufferLast', opts) 29 | -- Close buffer 30 | map('n', '', ':BufferClose', opts) 31 | -- Wipeout buffer 32 | -- :BufferWipeout 33 | -- Close commands 34 | -- :BufferCloseAllButCurrent 35 | -- :BufferCloseBuffersLeft 36 | -- :BufferCloseBuffersRight 37 | -- Magic buffer-picking mode 38 | map('n', '', ':BufferPick', opts) 39 | -- Sort automatically by... 40 | map('n', 'bb', ':BufferOrderByBufferNumber', opts) 41 | map('n', 'bd', ':BufferOrderByDirectory', opts) 42 | map('n', 'bl', ':BufferOrderByLanguage', opts) 43 | 44 | --> Telescope <-- 45 | map('n', 'ff', ':Telescope find_files', opts) 46 | map('n', 'fg', ':Telescope live_grep', opts) 47 | 48 | map('n', 'r', ':vsplit term://python3 %', opts) 49 | -------------------------------------------------------------------------------- /.config/nvim/lua/lsp-config/language-servers.lua: -------------------------------------------------------------------------------- 1 | local on_attach = function(client, bufnr) 2 | local function buf_set_keymap(...) 3 | vim.api.nvim_buf_set_keymap(bufnr, ...) 4 | end 5 | local function buf_set_option(...) 6 | vim.api.nvim_buf_set_option(bufnr, ...) 7 | end 8 | 9 | buf_set_option("omnifunc", "v:lua.vim.lsp.omnifunc") 10 | 11 | local opts = { noremap = true, silent = true } 12 | 13 | buf_set_keymap("n", "gd", ":lua vim.lsp.buf.definition()", opts) --> jumps to the definition of the symbol under the cursor 14 | buf_set_keymap("n", "lh", ":lua vim.lsp.buf.hover()", opts) --> information about the symbol under the cursos in a floating window 15 | buf_set_keymap("n", "gi", ":lua vim.lsp.buf.implementation()", opts) --> lists all the implementations for the symbol under the cursor in the quickfix window 16 | buf_set_keymap("n", "rn", ":lua vim.lsp.util.rename()", opts) --> renaname old_fname to new_fname 17 | buf_set_keymap("n", "ca", ":lua vim.lsp.buf.code_action()", opts) --> selects a code action available at the current cursor position 18 | buf_set_keymap("n", "gr", ":lua vim.lsp.buf.references()", opts) --> lists all the references to the symbl under the cursor in the quickfix window 19 | buf_set_keymap("n", "ld", ":lua vim.diagnostic.open_float()", opts) 20 | buf_set_keymap("n", "[d", ":lua vim.diagnostic.goto_prev()", opts) 21 | buf_set_keymap("n", "]d", ":lua vim.diagnostic.goto_next()", opts) 22 | buf_set_keymap("n", "lq", ":lua vim.diagnostic.setloclist()", opts) 23 | buf_set_keymap("n", "lf", ":lua vim.lsp.buf.formatting()", opts) --> formats the current buffer 24 | end 25 | 26 | -- Add additional capabilities supported by nvim-cmp 27 | local capabilities = vim.lsp.protocol.make_client_capabilities() 28 | capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities) 29 | 30 | -- Use a loop to conveniently call 'setup' on multiple servers and 31 | -- map buffer local keybindings when the language server attaches 32 | local servers = { 'pyright', 'eslint' } 33 | for _, lsp in pairs(servers) do 34 | require('lspconfig')[lsp].setup { 35 | on_attach = on_attach, 36 | capabilities = capabilities, 37 | flags = { 38 | -- This will be the default in neovim 0.7+ 39 | debounce_text_changes = 150, 40 | } 41 | } 42 | end 43 | -------------------------------------------------------------------------------- /.config/nvim/lua/lsp-config/null-ls.lua: -------------------------------------------------------------------------------- 1 | local null_ls = require("null-ls") 2 | 3 | local formatting = null_ls.builtins.formatting 4 | 5 | local sources = { 6 | formatting.eslint, 7 | formatting.autopep8, 8 | } 9 | 10 | null_ls.setup({ 11 | sources = sources, 12 | }) -------------------------------------------------------------------------------- /.config/nvim/lua/lsp-config/nvim-cmp.lua: -------------------------------------------------------------------------------- 1 | local luasnip = require 'luasnip' 2 | local cmp = require 'cmp' 3 | local lspkind = require('lspkind') 4 | 5 | cmp.setup { 6 | snippet = { 7 | expand = function(args) 8 | require('luasnip').lsp_expand(args.body) 9 | end, 10 | }, 11 | mapping = { 12 | [''] = cmp.mapping.select_prev_item(), 13 | [''] = cmp.mapping.select_next_item(), 14 | [''] = cmp.mapping.scroll_docs(-4), 15 | [''] = cmp.mapping.scroll_docs(4), 16 | [''] = cmp.mapping.complete(), 17 | [''] = cmp.mapping.close(), 18 | [''] = cmp.mapping.confirm { 19 | behavior = cmp.ConfirmBehavior.Replace, 20 | select = true, 21 | }, 22 | [''] = function(fallback) 23 | if cmp.visible() then 24 | cmp.select_next_item() 25 | elseif luasnip.expand_or_jumpable() then 26 | luasnip.expand_or_jump() 27 | else 28 | fallback() 29 | end 30 | end, 31 | [''] = function(fallback) 32 | if cmp.visible() then 33 | cmp.select_prev_item() 34 | elseif luasnip.jumpable(-1) then 35 | luasnip.jump(-1) 36 | else 37 | fallback() 38 | end 39 | end, 40 | }, 41 | sources = { 42 | { name = 'nvim_lsp' }, 43 | { name = 'luasnip' }, 44 | }, 45 | formatting = { 46 | format = lspkind.cmp_format({ 47 | mode = 'symbol_text', -- show only symbol annotations 48 | maxwidth = 50, -- prevent the popup from showing more than provided characters (e.g 50 will not show more than 50 characters) 49 | 50 | -- The function below will be called before any actual modifications from lspkind 51 | -- so that you can provide more controls on popup customization. (See [#30](https://github.com/onsails/lspkind-nvim/pull/30)) 52 | before = function (entry, vim_item) 53 | return vim_item 54 | end 55 | }) 56 | }, 57 | } 58 | -------------------------------------------------------------------------------- /.config/nvim/lua/lualine-config/init.lua: -------------------------------------------------------------------------------- 1 | require('lualine').setup{ 2 | options = { 3 | theme = 'codedark', 4 | component_separators = { left = '', right = ''}, 5 | section_separators = { left = '', right = ''}, 6 | }, 7 | } 8 | -------------------------------------------------------------------------------- /.config/nvim/lua/nvim-tree-config/init.lua: -------------------------------------------------------------------------------- 1 | require'nvim-tree'.setup{ 2 | auto_close = true, 3 | diagnostics = { 4 | enable = true, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /.config/nvim/lua/options/init.lua: -------------------------------------------------------------------------------- 1 | local set = vim.opt 2 | 3 | -- set.shell = "/bin/sh" 4 | 5 | set.expandtab = true 6 | set.smarttab = true 7 | set.shiftwidth = 4 8 | set.tabstop = 4 9 | set.number = true 10 | set.hlsearch = true 11 | set.incsearch = true 12 | set.ignorecase = true 13 | set.smartcase = true 14 | set.termguicolors = true 15 | set.showmode = false 16 | set.splitbelow = true 17 | set.splitright = true 18 | set.wrap = false 19 | set.breakindent = true 20 | set.scrolloff = 5 21 | set.fileencoding = "utf-8" 22 | set.conceallevel = 2 23 | set.swapfile = false 24 | set.mouse = "a" 25 | set.smartindent = true 26 | 27 | vim.notify = require("notify") 28 | -------------------------------------------------------------------------------- /.config/nvim/lua/packer-config/init.lua: -------------------------------------------------------------------------------- 1 | return require("packer").startup(function() 2 | -- Plugin Manager 3 | use'wbthomason/packer.nvim' 4 | 5 | -- Colorschemes 6 | use 'Mofiqul/dracula.nvim' 7 | use 'tomasiser/vim-code-dark' 8 | use 'RRethy/nvim-base16' 9 | 10 | -- Nvim Tree 11 | use 'kyazdani42/nvim-tree.lua' 12 | use 'kyazdani42/nvim-web-devicons' 13 | 14 | -- Treesitter 15 | use({ "nvim-treesitter/nvim-treesitter", run = ":TSUpdate" }) 16 | 17 | -- Telescope 18 | use { 19 | 'nvim-telescope/telescope.nvim', 20 | requires = { {'nvim-lua/plenary.nvim'} } 21 | } 22 | 23 | -- Color Preview 24 | use 'norcalli/nvim-colorizer.lua' 25 | 26 | -- Lsp 27 | use 'neovim/nvim-lspconfig' 28 | use 'hrsh7th/nvim-cmp' -- Autocompletion plugin 29 | use 'hrsh7th/cmp-nvim-lsp' -- LSP source for nvim-cmp 30 | use 'saadparwaiz1/cmp_luasnip' -- Snippets source for nvim-cmp 31 | use 'L3MON4D3/LuaSnip' -- Snippets plugin 32 | use 'onsails/lspkind-nvim' 33 | use 'jose-elias-alvarez/null-ls.nvim' -- Format on save 34 | 35 | use 'rcarriga/nvim-notify' 36 | use 'nvim-lualine/lualine.nvim' 37 | use 'romgrk/barbar.nvim' 38 | 39 | end) 40 | 41 | -------------------------------------------------------------------------------- /.config/nvim/lua/treesitter-conifg/init.lua: -------------------------------------------------------------------------------- 1 | require("nvim-treesitter.configs").setup({ 2 | --> parsers <-- 3 | ensure_installed = { 4 | "python", 5 | "lua", 6 | "javascript", 7 | "css", 8 | "html", 9 | "json", 10 | }, 11 | 12 | sync_install = false, 13 | highlight = { 14 | enable = true, 15 | additional_vim_regex_highlighting = false, 16 | }, 17 | 18 | indent = { 19 | enable = true, 20 | }, 21 | 22 | --> refactor module 23 | refactor = { 24 | smart_rename = { 25 | enable = true, 26 | keymaps = { 27 | smart_rename = "grr", 28 | }, 29 | }, 30 | }, 31 | 32 | }) 33 | -------------------------------------------------------------------------------- /.config/qtile/__pycache__/config.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/__pycache__/config.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/autostart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # EXTRAS 4 | volumeicon & 5 | nm-applet & 6 | picom --experimental-backend & 7 | -------------------------------------------------------------------------------- /.config/qtile/config.py: -------------------------------------------------------------------------------- 1 | import os 2 | import subprocess 3 | 4 | from libqtile import hook 5 | 6 | from settings.keys import keys 7 | from settings.groups import groups 8 | from settings.layouts import layouts, floating_layout 9 | from settings.mouse import mouse 10 | from settings.widgets import widget_defaults, extension_defaults 11 | from settings.screens import screens 12 | 13 | dgroups_key_binder = None 14 | dgroups_app_rules = [] # type: list 15 | follow_mouse_focus = True 16 | bring_front_click = False 17 | cursor_warp = False 18 | auto_fullscreen = True 19 | focus_on_window_activation = "smart" 20 | reconfigure_screens = True 21 | auto_minimize = True 22 | wl_input_rules = None 23 | wmname = "LG3D" 24 | 25 | @hook.subscribe.startup_once 26 | def autostart(): 27 | home = os.path.expanduser('~/.config/qtile/autostart.sh') 28 | subprocess.run([home]) 29 | -------------------------------------------------------------------------------- /.config/qtile/settings/__pycache__/colors.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/settings/__pycache__/colors.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/settings/__pycache__/groups.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/settings/__pycache__/groups.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/settings/__pycache__/keys.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/settings/__pycache__/keys.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/settings/__pycache__/layouts.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/settings/__pycache__/layouts.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/settings/__pycache__/mouse.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/settings/__pycache__/mouse.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/settings/__pycache__/screens.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/settings/__pycache__/screens.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/settings/__pycache__/widgets.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qtile/settings/__pycache__/widgets.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qtile/settings/colors.py: -------------------------------------------------------------------------------- 1 | colors = { 2 | "background": '#181818', 3 | "current_line": '#282828', 4 | "foreground": '#f8f8f2', 5 | "comment": '#535453', 6 | "black": '#181818', 7 | "red": '#ab4642', 8 | "green": '#a1b56c', 9 | "yellow": '#f7ca88', 10 | "blue": '#7cafc2', 11 | "magenta": '#ba8baf', 12 | "cyan": '#86c1b9', 13 | "white": '#d8d8d8', 14 | } 15 | -------------------------------------------------------------------------------- /.config/qtile/settings/groups.py: -------------------------------------------------------------------------------- 1 | # Qtile workspaces 2 | 3 | from libqtile.config import Key, Group, Match 4 | from libqtile.lazy import lazy 5 | from .keys import mod, keys 6 | 7 | 8 | # Get the icons at https://www.nerdfonts.com/cheat-sheet (you need a Nerd Font) 9 | # Icons: 10 | # nf-fa-firefox, 11 | # nf-fae-python, 12 | # nf-dev-terminal, 13 | # nf-fa-code, 14 | # nf-oct-git_merge, 15 | # nf-linux-docker, 16 | # nf-mdi-image, 17 | # nf-mdi-layers 18 | 19 | # Groups 20 | groups = [ 21 | Group(name='1', label="HOME", layout="monadtall"), 22 | Group(name='2', label="QB", matches=[ 23 | Match(wm_class='qutebrowser')], layout="monadtall"), 24 | Group(name='3', label="DEV", matches=[ 25 | Match(wm_class='Alacritty'), Match(wm_class='code-git')], layout="monadtall"), 26 | Group(name='4', label="CHAT", matches=[ 27 | Match(wm_class='discord')], layout='max'), 28 | Group(name='5', label="PLAY", matches=[Match(wm_class='vlc')], layout='max'), 29 | ] 30 | 31 | for i in groups: 32 | keys.extend([ 33 | Key([mod], i.name, lazy.group[i.name].toscreen()), 34 | 35 | Key([mod, "shift"], i.name, lazy.window.togroup(i.name)), 36 | ]) 37 | -------------------------------------------------------------------------------- /.config/qtile/settings/layouts.py: -------------------------------------------------------------------------------- 1 | from libqtile.config import Match 2 | from libqtile import layout 3 | from .colors import colors 4 | 5 | # Layouts and layout rules 6 | 7 | 8 | layout_conf = { 9 | 'border_focus': colors['current_line'], 10 | 'border_width': 2, 11 | 'margin': 10 12 | } 13 | 14 | layouts = [ 15 | layout.Max(**layout_conf), 16 | layout.MonadTall(**layout_conf), 17 | layout.MonadWide(**layout_conf), 18 | layout.Bsp(**layout_conf), 19 | layout.Matrix(columns=2, **layout_conf), 20 | layout.RatioTile(**layout_conf), 21 | # layout.Columns(), 22 | # layout.Tile(), 23 | # layout.TreeTab(), 24 | # layout.VerticalTile(), 25 | # layout.Zoomy(), 26 | ] 27 | 28 | floating_layout = layout.Floating( 29 | float_rules=[ 30 | *layout.Floating.default_float_rules, 31 | Match(wm_class='pavucontrol'), 32 | Match(wm_class='ranger'), 33 | Match(wm_class='confirmreset'), 34 | Match(wm_class='makebranch'), 35 | Match(wm_class='maketag'), 36 | Match(wm_class='ssh-askpass'), 37 | Match(title='branchdialog'), 38 | Match(title='pinentry'), 39 | 40 | ], 41 | border_focus=colors['background'] 42 | ) 43 | 44 | -------------------------------------------------------------------------------- /.config/qtile/settings/mouse.py: -------------------------------------------------------------------------------- 1 | from libqtile.config import Click, Drag 2 | from libqtile.lazy import lazy 3 | from .keys import mod, keys 4 | 5 | # Drag floating layouts. 6 | mouse = [ 7 | Drag([mod], "Button1", lazy.window.set_position_floating(), 8 | start=lazy.window.get_position()), 9 | Drag([mod], "Button3", lazy.window.set_size_floating(), 10 | start=lazy.window.get_size()), 11 | Click([mod], "Button2", lazy.window.bring_to_front()), 12 | ] 13 | -------------------------------------------------------------------------------- /.config/qtile/settings/widgets.py: -------------------------------------------------------------------------------- 1 | from .colors import colors 2 | 3 | widget_defaults = dict( 4 | fontsize = 12, 5 | padding = 2, 6 | ) 7 | extension_defaults = widget_defaults.copy() 8 | -------------------------------------------------------------------------------- /.config/qutebrowser/README.md: -------------------------------------------------------------------------------- 1 | ![2022-03-21-19:44:36-screenshot](https://user-images.githubusercontent.com/96023410/159258361-a86e8c77-71eb-4dc8-b6b5-ce160f56d2f9.png) 2 | 3 | Install **[QuteBrowser](https://wiki.archlinux.org/title/Qutebrowser)**. 4 | 5 | ```bash 6 | sudo pacman -S qutebrowser 7 | ``` 8 | 9 | If you not downloaded yet my repository: 10 | 11 | ```bash 12 | git clone https://github.com/igmt-official/dotfiles.git 13 | ``` 14 | 15 | Copy my configs: 16 | 17 | ```bash 18 | cp -r dotfiles/.config/qutebrowser ~/.config 19 | ``` 20 | -------------------------------------------------------------------------------- /.config/qutebrowser/aliScheme/__pycache__/draw.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qutebrowser/aliScheme/__pycache__/draw.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qutebrowser/autoconfig.yml: -------------------------------------------------------------------------------- 1 | # If a config.py file exists, this file is ignored unless it's explicitly loaded 2 | # via config.load_autoconfig(). For more information, see: 3 | # https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml 4 | # DO NOT edit this file by hand, qutebrowser will overwrite it. 5 | # Instead, create a config.py - see :help for details. 6 | 7 | config_version: 2 8 | settings: 9 | content.headers.user_agent: 10 | global: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like 11 | Gecko) Chrome/71.0.3578.98 Safari/537.36 12 | https://accounts.google.com/*: Mozilla/5.0 ({os_info}; rv:90.0) Gecko/20100101 13 | Firefox/90.0 14 | url.searchengines: 15 | global: 16 | DEFAULT: https://www.google.com/search?q={} 17 | g: https://www.google.com/search?q={} 18 | -------------------------------------------------------------------------------- /.config/qutebrowser/bookmarks/urls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qutebrowser/bookmarks/urls -------------------------------------------------------------------------------- /.config/qutebrowser/dracula/__pycache__/draw.cpython-310.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qutebrowser/dracula/__pycache__/draw.cpython-310.pyc -------------------------------------------------------------------------------- /.config/qutebrowser/qsettings/QtProject.conf: -------------------------------------------------------------------------------- 1 | [FileDialog] 2 | history=file:///home/ali/Pictures/Screenshots, file:///home/ali/Pictures/Wallpaper 3 | lastVisited=file:///home/ali/Pictures/Wallpaper 4 | qtVersion=5.15.3 5 | shortcuts=file:, file:///home/ali 6 | sidebarWidth=83 7 | treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x1\xb5\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\0\xe1\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x39\0\0\0\x1\0\0\0\0\0\0\0\x62\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff) 8 | viewMode=Detail 9 | -------------------------------------------------------------------------------- /.config/qutebrowser/quickmarks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/qutebrowser/quickmarks -------------------------------------------------------------------------------- /.config/ranger/README.md: -------------------------------------------------------------------------------- 1 | ![2022-03-21-19:47:30-screenshot](https://user-images.githubusercontent.com/96023410/159258305-38fb1f4d-a0d6-4f8b-ba72-b132a5650a93.png) 2 | 3 | Install **[Ranger](https://wiki.archlinux.org/title/Ranger)**. 4 | 5 | ```bash 6 | sudo pacman -S ranger 7 | ``` 8 | 9 | This is for image preview in **Ranger**: 10 | 11 | ```bash 12 | sudo pacman -S ueberzug 13 | ``` 14 | 15 | If you not downloaded yet my repository: 16 | 17 | ```bash 18 | git clone https://github.com/igmt-official/dotfiles.git 19 | ``` 20 | 21 | Copy my configs: 22 | 23 | ```bash 24 | cp -r dotfiles/.config/ranger ~/.config 25 | ``` 26 | 27 | -------------------------------------------------------------------------------- /.config/ranger/colorschemes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/ranger/colorschemes/__init__.py -------------------------------------------------------------------------------- /.config/ranger/colorschemes/__pycache__/__init__.cpython-310.opt-1.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/ranger/colorschemes/__pycache__/__init__.cpython-310.opt-1.pyc -------------------------------------------------------------------------------- /.config/ranger/colorschemes/__pycache__/dracula.cpython-310.opt-1.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.config/ranger/colorschemes/__pycache__/dracula.cpython-310.opt-1.pyc -------------------------------------------------------------------------------- /.config/ranger/commands.py: -------------------------------------------------------------------------------- 1 | # This is a sample commands.py. You can add your own commands here. 2 | # 3 | # Please refer to commands_full.py for all the default commands and a complete 4 | # documentation. Do NOT add them all here, or you may end up with defunct 5 | # commands when upgrading ranger. 6 | 7 | # A simple command for demonstration purposes follows. 8 | # ----------------------------------------------------------------------------- 9 | 10 | from __future__ import (absolute_import, division, print_function) 11 | 12 | # You can import any python module as needed. 13 | import os 14 | 15 | # You always need to import ranger.api.commands here to get the Command class: 16 | from ranger.api.commands import Command 17 | 18 | 19 | # Any class that is a subclass of "Command" will be integrated into ranger as a 20 | # command. Try typing ":my_edit" in ranger! 21 | class my_edit(Command): 22 | # The so-called doc-string of the class will be visible in the built-in 23 | # help that is accessible by typing "?c" inside ranger. 24 | """:my_edit 25 | 26 | A sample command for demonstration purposes that opens a file in an editor. 27 | """ 28 | 29 | # The execute method is called when you run this command in ranger. 30 | def execute(self): 31 | # self.arg(1) is the first (space-separated) argument to the function. 32 | # This way you can write ":my_edit somefilename". 33 | if self.arg(1): 34 | # self.rest(1) contains self.arg(1) and everything that follows 35 | target_filename = self.rest(1) 36 | else: 37 | # self.fm is a ranger.core.filemanager.FileManager object and gives 38 | # you access to internals of ranger. 39 | # self.fm.thisfile is a ranger.container.file.File object and is a 40 | # reference to the currently selected file. 41 | target_filename = self.fm.thisfile.path 42 | 43 | # This is a generic function to print text in ranger. 44 | self.fm.notify("Let's edit the file " + target_filename + "!") 45 | 46 | # Using bad=True in fm.notify allows you to print error messages: 47 | if not os.path.exists(target_filename): 48 | self.fm.notify("The given file does not exist!", bad=True) 49 | return 50 | 51 | # This executes a function from ranger.core.acitons, a module with a 52 | # variety of subroutines that can help you construct commands. 53 | # Check out the source, or run "pydoc ranger.core.actions" for a list. 54 | self.fm.edit_file(target_filename) 55 | 56 | # The tab method is called when you press tab, and should return a list of 57 | # suggestions that the user will tab through. 58 | # tabnum is 1 for and -1 for by default 59 | def tab(self, tabnum): 60 | # This is a generic tab-completion function that iterates through the 61 | # content of the current directory. 62 | return self._tab_directory_content() 63 | -------------------------------------------------------------------------------- /.config/rofi/README.md: -------------------------------------------------------------------------------- 1 | Install **[Rofi](https://wiki.archlinux.org/title/Rofi)**. 2 | 3 | ```bash 4 | sudo pacman -S rofi 5 | ``` 6 | 7 | If you not downloaded yet my repository: 8 | 9 | ```bash 10 | git clone https://github.com/igmt-official/dotfiles.git 11 | ``` 12 | 13 | Copy my configs: 14 | 15 | ```bash 16 | cp -r dotfiles/.config/rofi ~/.config 17 | ``` 18 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/apps.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | dir="$HOME/.config/rofi/applets/android" 9 | rofi_command="rofi -theme $dir/six.rasi" 10 | 11 | # Links 12 | terminal="" 13 | files="" 14 | editor="" 15 | browser="" 16 | music="" 17 | settings="" 18 | 19 | # Error msg 20 | msg() { 21 | rofi -theme "$dir/message.rasi" -e "$1" 22 | } 23 | 24 | # Variable passed to rofi 25 | options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" 26 | 27 | chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" 28 | case $chosen in 29 | $terminal) 30 | if [[ -f /usr/bin/termite ]]; then 31 | termite & 32 | elif [[ -f /usr/bin/urxvt ]]; then 33 | urxvt & 34 | elif [[ -f /usr/bin/kitty ]]; then 35 | kitty & 36 | elif [[ -f /usr/bin/xterm ]]; then 37 | xterm & 38 | elif [[ -f /usr/bin/xfce4-terminal ]]; then 39 | xfce4-terminal & 40 | elif [[ -f /usr/bin/gnome-terminal ]]; then 41 | gnome-terminal & 42 | else 43 | msg "No suitable terminal found!" 44 | fi 45 | ;; 46 | $files) 47 | if [[ -f /usr/bin/thunar ]]; then 48 | thunar & 49 | elif [[ -f /usr/bin/pcmanfm ]]; then 50 | pcmanfm & 51 | else 52 | msg "No suitable file manager found!" 53 | fi 54 | ;; 55 | $editor) 56 | if [[ -f /usr/bin/geany ]]; then 57 | geany & 58 | elif [[ -f /usr/bin/leafpad ]]; then 59 | leafpad & 60 | elif [[ -f /usr/bin/mousepad ]]; then 61 | mousepad & 62 | elif [[ -f /usr/bin/code ]]; then 63 | code & 64 | else 65 | msg "No suitable text editor found!" 66 | fi 67 | ;; 68 | $browser) 69 | if [[ -f /usr/bin/firefox ]]; then 70 | firefox & 71 | elif [[ -f /usr/bin/chromium ]]; then 72 | chromium & 73 | elif [[ -f /usr/bin/midori ]]; then 74 | midori & 75 | else 76 | msg "No suitable web browser found!" 77 | fi 78 | ;; 79 | $music) 80 | if [[ -f /usr/bin/lxmusic ]]; then 81 | lxmusic & 82 | else 83 | msg "No suitable music player found!" 84 | fi 85 | ;; 86 | $settings) 87 | if [[ -f /usr/bin/xfce4-settings-manager ]]; then 88 | xfce4-settings-manager & 89 | else 90 | msg "No suitable settings manager found!" 91 | fi 92 | ;; 93 | esac 94 | 95 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/backlight.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | dir="$HOME/.config/rofi/applets/android" 9 | rofi_command="rofi -theme $dir/three.rasi" 10 | 11 | # Error msg 12 | msg() { 13 | rofi -theme "$dir/message.rasi" -e "$1" 14 | } 15 | 16 | ## Get Brightness 17 | if [[ -f /bin/brightnessctl ]]; then 18 | BNESS="$(brightnessctl get)" 19 | MAX="$(brightnessctl max)" 20 | PERC="$((BNESS*100/MAX))" 21 | BLIGHT=${PERC%.*} 22 | elif [[ -f /usr/bin/blight ]]; then 23 | DEVICE=$(ls /sys/class/backlight | head -n 1) 24 | BNESS="$(blight -d $DEVICE get brightness)" 25 | PERC="$(($BNESS*100/255))" 26 | BLIGHT=${PERC%.*} 27 | elif [[ -f /usr/bin/xbacklight ]]; then 28 | VAR="$(xbacklight -get)" 29 | BLIGHT="$(printf "%.0f\n" "$VAR")" 30 | else 31 | msg "No suitable backlight utility found!" 32 | exit 1 33 | fi 34 | 35 | if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then 36 | MSG="Low" 37 | elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then 38 | MSG="Optimal" 39 | elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then 40 | MSG="High" 41 | elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then 42 | MSG="Too Much" 43 | fi 44 | 45 | ## Icons 46 | ICON_UP="" 47 | ICON_DOWN="" 48 | ICON_OPT="" 49 | 50 | notify="notify-send -u low -t 1500" 51 | options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" 52 | 53 | ## Main 54 | chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)" 55 | case $chosen in 56 | "$ICON_UP") 57 | if [[ -f /bin/brightnessctl ]]; then 58 | brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" 59 | elif [[ -f /usr/bin/blight ]]; then 60 | blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP" 61 | elif [[ -f /usr/bin/xbacklight ]]; then 62 | xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" 63 | fi 64 | ;; 65 | "$ICON_DOWN") 66 | if [[ -f /bin/brightnessctl ]]; then 67 | brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" 68 | elif [[ -f /usr/bin/blight ]]; then 69 | blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN" 70 | elif [[ -f /usr/bin/xbacklight ]]; then 71 | xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" 72 | fi 73 | ;; 74 | "$ICON_OPT") 75 | if [[ -f /bin/brightnessctl ]]; then 76 | brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" 77 | elif [[ -f /usr/bin/blight ]]; then 78 | blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT" 79 | elif [[ -f /usr/bin/xbacklight ]]; then 80 | xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" 81 | fi 82 | ;; 83 | esac 84 | 85 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/colors.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * Change the colorscheme for every menu simply by editing this file... 3 | * 4 | * Available Color Schemes 5 | * // Dark 6 | * material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange 7 | * material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green 8 | * material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal 9 | * material-dark/yellow 10 | * // Light 11 | * material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange 12 | * material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green 13 | * material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal 14 | * material-light/yellow 15 | * 16 | * // Other 17 | * adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark 18 | * armchair, darkpink, fresh, inside, party, sirin 19 | * 20 | */ 21 | 22 | @import "../styles/arc.rasi" 23 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Confirm Dialog */ 2 | 3 | @import "colors.rasi" 4 | 5 | * { 6 | background-color: @background; 7 | text-color: @foreground; 8 | font: "Iosevka Nerd Font 12"; 9 | } 10 | 11 | window { 12 | width: 225px; 13 | padding: 25px; 14 | border: 0px; 15 | border-radius: 12px; 16 | border-color: @accent; 17 | location: center; 18 | y-offset: -20px; 19 | } 20 | 21 | entry { 22 | expand: true; 23 | text-color: @accent; 24 | } 25 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/five.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Author : Aditya Shakya 4 | * Mail : adi1090x@gmail.com 5 | * Github : @adi1090x 6 | * Twitter : @adi1090x 7 | * 8 | */ 9 | 10 | configuration { 11 | show-icons: false; 12 | disable-history: false; 13 | sidebar-mode: false; 14 | } 15 | 16 | @import "colors.rasi" 17 | 18 | * { 19 | background-color: @background; 20 | text-color: @foreground; 21 | } 22 | 23 | window { 24 | transparency: "real"; 25 | border-radius: 12px; 26 | width: 100px; 27 | location: east; 28 | x-offset: -15px; 29 | y-offset: 0px; 30 | } 31 | 32 | listview { 33 | lines: 5; 34 | margin: 8px; 35 | spacing: 8px; 36 | cycle: true; 37 | dynamic: true; 38 | layout: vertical; 39 | } 40 | 41 | mainbox { 42 | background-color: @background; 43 | children: [ listview ]; 44 | } 45 | 46 | element { 47 | background-color: @background-light; 48 | text-color: @foreground; 49 | orientation: vertical; 50 | border-radius: 12px; 51 | } 52 | 53 | element-text { 54 | background-color: inherit; 55 | text-color: inherit; 56 | font: "feather 20"; 57 | expand: true; 58 | horizontal-align: 0.5; 59 | vertical-align: 0.5; 60 | margin: 26px 26px 26px 26px; 61 | } 62 | 63 | element normal.urgent, 64 | element alternate.urgent { 65 | background-color: @urgent; 66 | text-color: @foreground; 67 | border-radius: 10px; 68 | } 69 | 70 | element normal.active, 71 | element alternate.active { 72 | background-color: @background-alt; 73 | text-color: @foreground; 74 | } 75 | 76 | element selected { 77 | background-color: @accent; 78 | text-color: @background; 79 | border: 0px; 80 | border-radius: 10px; 81 | border-color: @border; 82 | } 83 | 84 | element selected.urgent { 85 | background-color: @urgent; 86 | text-color: @foreground; 87 | } 88 | 89 | element selected.active { 90 | background-color: @background-alt; 91 | color: @foreground; 92 | } 93 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/message.rasi: -------------------------------------------------------------------------------- 1 | /* Confirm Dialog */ 2 | 3 | @import "colors.rasi" 4 | 5 | * { 6 | background-color: @background; 7 | text-color: @foreground; 8 | font: "Iosevka Nerd Font 12"; 9 | } 10 | 11 | window { 12 | width: 360px; 13 | padding: 25px; 14 | border: 0px; 15 | border-radius: 12px; 16 | border-color: @accent; 17 | location: center; 18 | y-offset: -20px; 19 | } 20 | 21 | entry { 22 | expand: true; 23 | text-color: @accent; 24 | } 25 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/mpd.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | dir="$HOME/.config/rofi/applets/android" 9 | rofi_command="rofi -theme $dir/six.rasi" 10 | 11 | # Gets the current status of mpd (for us to parse it later on) 12 | status="$(mpc status)" 13 | # Defines the Play / Pause option content 14 | if [[ $status == *"[playing]"* ]]; then 15 | play_pause="" 16 | else 17 | play_pause="" 18 | fi 19 | active="" 20 | urgent="" 21 | 22 | # Display if repeat mode is on / off 23 | tog_repeat="" 24 | if [[ $status == *"repeat: on"* ]]; then 25 | active="-a 4" 26 | elif [[ $status == *"repeat: off"* ]]; then 27 | urgent="-u 4" 28 | else 29 | tog_repeat=" Parsing error" 30 | fi 31 | 32 | # Display if random mode is on / off 33 | tog_random="" 34 | if [[ $status == *"random: on"* ]]; then 35 | [ -n "$active" ] && active+=",5" || active="-a 5" 36 | elif [[ $status == *"random: off"* ]]; then 37 | [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" 38 | else 39 | tog_random=" Parsing error" 40 | fi 41 | stop="" 42 | next="" 43 | previous="" 44 | 45 | # Variable passed to rofi 46 | options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" 47 | 48 | # Get the current playing song 49 | current=$(mpc -f %title% current) 50 | # If mpd isn't running it will return an empty string, we don't want to display that 51 | if [[ -z "$current" ]]; then 52 | current="-" 53 | fi 54 | 55 | # Spawn the mpd menu with the "Play / Pause" entry selected by default 56 | chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" 57 | case $chosen in 58 | $previous) 59 | mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" 60 | ;; 61 | $play_pause) 62 | mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" 63 | ;; 64 | $stop) 65 | mpc -q stop 66 | ;; 67 | $next) 68 | mpc -q next && notify-send -u low -t 1800 " $(mpc current)" 69 | ;; 70 | $tog_repeat) 71 | mpc -q repeat 72 | ;; 73 | $tog_random) 74 | mpc -q random 75 | ;; 76 | esac 77 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/powermenu.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | dir="$HOME/.config/rofi/applets/android" 9 | rofi_command="rofi -theme $dir/five.rasi" 10 | 11 | uptime=$(uptime -p | sed -e 's/up //g') 12 | 13 | # Options 14 | shutdown="" 15 | reboot="" 16 | lock="" 17 | suspend="" 18 | logout="" 19 | 20 | # Confirmation 21 | confirm_exit() { 22 | rofi -dmenu\ 23 | -i\ 24 | -no-fixed-num-lines\ 25 | -p "Are You Sure? : "\ 26 | -theme $dir/confirm.rasi 27 | } 28 | 29 | # Message 30 | msg() { 31 | rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" 32 | } 33 | 34 | # Variable passed to rofi 35 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 36 | 37 | chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" 38 | case $chosen in 39 | $shutdown) 40 | ans=$(confirm_exit &) 41 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 42 | systemctl poweroff 43 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 44 | exit 0 45 | else 46 | msg 47 | fi 48 | ;; 49 | $reboot) 50 | ans=$(confirm_exit &) 51 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 52 | systemctl reboot 53 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 54 | exit 0 55 | else 56 | msg 57 | fi 58 | ;; 59 | $lock) 60 | if [[ -f /usr/bin/i3lock ]]; then 61 | i3lock 62 | elif [[ -f /usr/bin/betterlockscreen ]]; then 63 | betterlockscreen -l 64 | fi 65 | ;; 66 | $suspend) 67 | ans=$(confirm_exit &) 68 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 69 | mpc -q pause 70 | amixer set Master mute 71 | systemctl suspend 72 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 73 | exit 0 74 | else 75 | msg 76 | fi 77 | ;; 78 | $logout) 79 | ans=$(confirm_exit &) 80 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 81 | if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then 82 | openbox --exit 83 | elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then 84 | bspc quit 85 | elif [[ "$DESKTOP_SESSION" == "i3" ]]; then 86 | i3-msg exit 87 | fi 88 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 89 | exit 0 90 | else 91 | msg 92 | fi 93 | ;; 94 | esac 95 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/quicklinks.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | dir="$HOME/.config/rofi/applets/android" 9 | rofi_command="rofi -theme $dir/six.rasi" 10 | 11 | # Error msg 12 | msg() { 13 | rofi -theme "$dir/message.rasi" -e "$1" 14 | } 15 | 16 | # Browser 17 | if [[ -f /usr/bin/firefox ]]; then 18 | app="firefox" 19 | elif [[ -f /usr/bin/chromium ]]; then 20 | app="chromium" 21 | elif [[ -f /usr/bin/midori ]]; then 22 | app="midori" 23 | else 24 | msg "No suitable web browser found!" 25 | exit 1 26 | fi 27 | 28 | # Links 29 | google="" 30 | facebook="" 31 | twitter="" 32 | github="" 33 | mail="" 34 | youtube="" 35 | 36 | # Variable passed to rofi 37 | options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" 38 | 39 | chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)" 40 | case $chosen in 41 | $google) 42 | $app https://www.google.com & 43 | ;; 44 | $facebook) 45 | $app https://www.facebook.com & 46 | ;; 47 | $twitter) 48 | $app https://www.twitter.com & 49 | ;; 50 | $github) 51 | $app https://www.github.com & 52 | ;; 53 | $mail) 54 | $app https://www.gmail.com & 55 | ;; 56 | $youtube) 57 | $app https://www.youtube.com & 58 | ;; 59 | esac 60 | 61 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/screenshot.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | dir="$HOME/.config/rofi/applets/android" 9 | rofi_command="rofi -theme $dir/three.rasi" 10 | 11 | # Error msg 12 | msg() { 13 | rofi -theme "$dir/message.rasi" -e "Please install 'scrot' first." 14 | } 15 | 16 | # Options 17 | screen="" 18 | area="" 19 | window="" 20 | 21 | # Variable passed to rofi 22 | options="$screen\n$area\n$window" 23 | 24 | chosen="$(echo -e "$options" | $rofi_command -p '' -dmenu -selected-row 1)" 25 | case $chosen in 26 | $screen) 27 | if [[ -f /usr/bin/scrot ]]; then 28 | sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 29 | else 30 | msg 31 | fi 32 | ;; 33 | $area) 34 | if [[ -f /usr/bin/scrot ]]; then 35 | scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 36 | else 37 | msg 38 | fi 39 | ;; 40 | $window) 41 | if [[ -f /usr/bin/scrot ]]; then 42 | sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 43 | else 44 | msg 45 | fi 46 | ;; 47 | esac 48 | 49 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/six.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Author : Aditya Shakya 4 | * Mail : adi1090x@gmail.com 5 | * Github : @adi1090x 6 | * Twitter : @adi1090x 7 | * 8 | */ 9 | 10 | configuration { 11 | show-icons: false; 12 | disable-history: false; 13 | sidebar-mode: false; 14 | } 15 | 16 | @import "colors.rasi" 17 | 18 | * { 19 | background-color: @background; 20 | text-color: @foreground; 21 | } 22 | 23 | window { 24 | transparency: "real"; 25 | border-radius: 12px; 26 | width: 100px; 27 | location: east; 28 | x-offset: -15px; 29 | y-offset: 0px; 30 | } 31 | 32 | listview { 33 | lines: 6; 34 | margin: 8px; 35 | spacing: 8px; 36 | cycle: true; 37 | dynamic: true; 38 | layout: vertical; 39 | } 40 | 41 | mainbox { 42 | background-color: @background; 43 | children: [ listview ]; 44 | } 45 | 46 | element { 47 | background-color: @background-light; 48 | text-color: @foreground; 49 | orientation: vertical; 50 | border-radius: 12px; 51 | } 52 | 53 | element-text { 54 | background-color: inherit; 55 | text-color: inherit; 56 | font: "feather 20"; 57 | expand: true; 58 | horizontal-align: 0.5; 59 | vertical-align: 0.5; 60 | margin: 26px 26px 26px 26px; 61 | } 62 | 63 | element normal.urgent, 64 | element alternate.urgent { 65 | background-color: @off; 66 | text-color: @background; 67 | border-radius: 10px; 68 | } 69 | 70 | element normal.active, 71 | element alternate.active { 72 | background-color: @on; 73 | text-color: @background; 74 | } 75 | 76 | element selected { 77 | background-color: @accent; 78 | text-color: @background; 79 | border: 0px; 80 | border-radius: 10px; 81 | border-color: @border; 82 | } 83 | 84 | element selected.urgent { 85 | background-color: @on; 86 | text-color: @background; 87 | } 88 | 89 | element selected.active { 90 | background-color: @off; 91 | color: @background; 92 | } 93 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/three.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Author : Aditya Shakya 4 | * Mail : adi1090x@gmail.com 5 | * Github : @adi1090x 6 | * Twitter : @adi1090x 7 | * 8 | */ 9 | 10 | configuration { 11 | show-icons: false; 12 | disable-history: false; 13 | sidebar-mode: false; 14 | } 15 | 16 | @import "colors.rasi" 17 | 18 | * { 19 | background-color: @background; 20 | text-color: @foreground; 21 | } 22 | 23 | window { 24 | transparency: "real"; 25 | border-radius: 12px; 26 | width: 100px; 27 | location: east; 28 | x-offset: -15px; 29 | y-offset: 0px; 30 | } 31 | 32 | listview { 33 | lines: 3; 34 | margin: 8px; 35 | spacing: 8px; 36 | cycle: true; 37 | dynamic: true; 38 | layout: vertical; 39 | } 40 | 41 | mainbox { 42 | background-color: @background; 43 | children: [ listview ]; 44 | } 45 | 46 | element { 47 | background-color: @background-light; 48 | text-color: @foreground; 49 | orientation: vertical; 50 | border-radius: 12px; 51 | } 52 | 53 | element-text { 54 | background-color: inherit; 55 | text-color: inherit; 56 | font: "feather 20"; 57 | expand: true; 58 | horizontal-align: 0.5; 59 | vertical-align: 0.5; 60 | margin: 26px 26px 26px 26px; 61 | } 62 | 63 | element normal.urgent, 64 | element alternate.urgent { 65 | background-color: @off; 66 | text-color: @background; 67 | border-radius: 10px; 68 | } 69 | 70 | element normal.active, 71 | element alternate.active { 72 | background-color: @on; 73 | text-color: @background; 74 | } 75 | 76 | element selected { 77 | background-color: @accent; 78 | text-color: @background; 79 | border: 0px; 80 | border-radius: 10px; 81 | border-color: @border; 82 | } 83 | 84 | element selected.urgent { 85 | background-color: @on; 86 | text-color: @background; 87 | } 88 | 89 | element selected.active { 90 | background-color: @off; 91 | color: @background; 92 | } 93 | -------------------------------------------------------------------------------- /.config/rofi/applets/android/volume.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | dir="$HOME/.config/rofi/applets/android" 9 | rofi_command="rofi -theme $dir/three.rasi" 10 | 11 | ## Get Volume 12 | #VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') 13 | MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') 14 | 15 | active="" 16 | urgent="" 17 | 18 | if [[ $MUTE == *"off"* ]]; then 19 | active="-a 1" 20 | else 21 | urgent="-u 1" 22 | fi 23 | 24 | if [[ $MUTE == *"off"* ]]; then 25 | active="-a 1" 26 | else 27 | urgent="-u 1" 28 | fi 29 | 30 | if [[ $MUTE == *"on"* ]]; then 31 | VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" 32 | else 33 | VOLUME="Mu..." 34 | fi 35 | 36 | ## Icons 37 | ICON_UP="" 38 | ICON_DOWN="" 39 | ICON_MUTED="" 40 | 41 | options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" 42 | 43 | ## Main 44 | chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" 45 | case $chosen in 46 | $ICON_UP) 47 | amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" 48 | ;; 49 | $ICON_DOWN) 50 | amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" 51 | ;; 52 | $ICON_MUTED) 53 | amixer -q set Master toggle 54 | ;; 55 | esac 56 | 57 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/apps.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/apps.rasi" 12 | 13 | # Links 14 | terminal="" 15 | files="" 16 | editor="" 17 | browser="" 18 | music="" 19 | settings="" 20 | 21 | # Error msg 22 | msg() { 23 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" 24 | } 25 | 26 | # Variable passed to rofi 27 | options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" 28 | 29 | chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" 30 | case $chosen in 31 | $terminal) 32 | if [[ -f /usr/bin/termite ]]; then 33 | termite & 34 | elif [[ -f /usr/bin/urxvt ]]; then 35 | urxvt & 36 | elif [[ -f /usr/bin/kitty ]]; then 37 | kitty & 38 | elif [[ -f /usr/bin/xterm ]]; then 39 | xterm & 40 | elif [[ -f /usr/bin/xfce4-terminal ]]; then 41 | xfce4-terminal & 42 | elif [[ -f /usr/bin/gnome-terminal ]]; then 43 | gnome-terminal & 44 | else 45 | msg "No suitable terminal found!" 46 | fi 47 | ;; 48 | $files) 49 | if [[ -f /usr/bin/thunar ]]; then 50 | thunar & 51 | elif [[ -f /usr/bin/pcmanfm ]]; then 52 | pcmanfm & 53 | else 54 | msg "No suitable file manager found!" 55 | fi 56 | ;; 57 | $editor) 58 | if [[ -f /usr/bin/geany ]]; then 59 | geany & 60 | elif [[ -f /usr/bin/leafpad ]]; then 61 | leafpad & 62 | elif [[ -f /usr/bin/mousepad ]]; then 63 | mousepad & 64 | elif [[ -f /usr/bin/code ]]; then 65 | code & 66 | else 67 | msg "No suitable text editor found!" 68 | fi 69 | ;; 70 | $browser) 71 | if [[ -f /usr/bin/firefox ]]; then 72 | firefox & 73 | elif [[ -f /usr/bin/chromium ]]; then 74 | chromium & 75 | elif [[ -f /usr/bin/midori ]]; then 76 | midori & 77 | else 78 | msg "No suitable web browser found!" 79 | fi 80 | ;; 81 | $music) 82 | if [[ -f /usr/bin/lxmusic ]]; then 83 | lxmusic & 84 | else 85 | msg "No suitable music player found!" 86 | fi 87 | ;; 88 | $settings) 89 | if [[ -f /usr/bin/xfce4-settings-manager ]]; then 90 | xfce4-settings-manager & 91 | else 92 | msg "No suitable settings manager found!" 93 | fi 94 | ;; 95 | esac 96 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/backlight.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/backlight.rasi" 12 | 13 | # Error msg 14 | msg() { 15 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" 16 | } 17 | 18 | ## Get Brightness 19 | if [[ -f /bin/brightnessctl ]]; then 20 | BNESS="$(brightnessctl get)" 21 | MAX="$(brightnessctl max)" 22 | PERC="$((BNESS*100/MAX))" 23 | BLIGHT=${PERC%.*} 24 | elif [[ -f /usr/bin/blight ]]; then 25 | DEVICE=$(ls /sys/class/backlight | head -n 1) 26 | BNESS="$(blight -d $DEVICE get brightness)" 27 | PERC="$(($BNESS*100/255))" 28 | BLIGHT=${PERC%.*} 29 | elif [[ -f /usr/bin/xbacklight ]]; then 30 | VAR="$(xbacklight -get)" 31 | BLIGHT="$(printf "%.0f\n" "$VAR")" 32 | else 33 | msg "No suitable backlight utility found!" 34 | exit 1 35 | fi 36 | 37 | if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then 38 | MSG="Low" 39 | elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then 40 | MSG="Optimal" 41 | elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then 42 | MSG="High" 43 | elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then 44 | MSG="Too Much" 45 | fi 46 | 47 | ## Icons 48 | ICON_UP="" 49 | ICON_DOWN="" 50 | ICON_OPT="" 51 | 52 | notify="notify-send -u low -t 1500" 53 | options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" 54 | 55 | ## Main 56 | chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)" 57 | case $chosen in 58 | "$ICON_UP") 59 | if [[ -f /bin/brightnessctl ]]; then 60 | brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" 61 | elif [[ -f /usr/bin/blight ]]; then 62 | blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP" 63 | elif [[ -f /usr/bin/xbacklight ]]; then 64 | xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" 65 | fi 66 | ;; 67 | "$ICON_DOWN") 68 | if [[ -f /bin/brightnessctl ]]; then 69 | brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" 70 | elif [[ -f /usr/bin/blight ]]; then 71 | blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN" 72 | elif [[ -f /usr/bin/xbacklight ]]; then 73 | xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" 74 | fi 75 | ;; 76 | "$ICON_OPT") 77 | if [[ -f /bin/brightnessctl ]]; then 78 | brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" 79 | elif [[ -f /usr/bin/blight ]]; then 80 | blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT" 81 | elif [[ -f /usr/bin/xbacklight ]]; then 82 | xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" 83 | fi 84 | ;; 85 | esac 86 | 87 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/battery.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/battery.rasi" 12 | 13 | ## Get data 14 | BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)" 15 | CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)" 16 | 17 | active="" 18 | urgent="" 19 | 20 | if [[ $CHARGE = *"Charging"* ]]; then 21 | active="-a 1" 22 | ICON_CHRG="" 23 | MSG=$CHARGE 24 | elif [[ $CHARGE = *"Full"* ]]; then 25 | active="-u 1" 26 | ICON_CHRG="" 27 | MSG=$CHARGE 28 | else 29 | urgent="-u 1" 30 | ICON_CHRG="" 31 | MSG=$CHARGE 32 | fi 33 | 34 | # Discharging 35 | #if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then 36 | # ICON_DISCHRG="" 37 | if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then 38 | ICON_DISCHRG="" 39 | elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then 40 | ICON_DISCHRG="" 41 | elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then 42 | ICON_DISCHRG="" 43 | elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then 44 | ICON_DISCHRG="" 45 | elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then 46 | ICON_DISCHRG="" 47 | fi 48 | 49 | ## Icons 50 | ICON_PMGR="" 51 | 52 | options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR" 53 | 54 | ## Main 55 | chosen="$(echo -e "$options" | $rofi_command -p "$BATTERY%" -dmenu $active $urgent -selected-row 0)" 56 | case $chosen in 57 | $ICON_CHRG) 58 | ;; 59 | $ICON_DISCHRG) 60 | ;; 61 | $ICON_PMGR) 62 | xfce4-power-manager-settings 63 | ;; 64 | esac 65 | 66 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/mpd.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/mpd.rasi" 12 | 13 | # Gets the current status of mpd (for us to parse it later on) 14 | status="$(mpc status)" 15 | # Defines the Play / Pause option content 16 | if [[ $status == *"[playing]"* ]]; then 17 | play_pause="" 18 | else 19 | play_pause="" 20 | fi 21 | active="" 22 | urgent="" 23 | 24 | # Display if repeat mode is on / off 25 | tog_repeat="" 26 | if [[ $status == *"repeat: on"* ]]; then 27 | active="-a 4" 28 | elif [[ $status == *"repeat: off"* ]]; then 29 | urgent="-u 4" 30 | else 31 | tog_repeat=" Parsing error" 32 | fi 33 | 34 | # Display if random mode is on / off 35 | tog_random="" 36 | if [[ $status == *"random: on"* ]]; then 37 | [ -n "$active" ] && active+=",5" || active="-a 5" 38 | elif [[ $status == *"random: off"* ]]; then 39 | [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" 40 | else 41 | tog_random=" Parsing error" 42 | fi 43 | stop="" 44 | next="" 45 | previous="" 46 | 47 | # Variable passed to rofi 48 | options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" 49 | 50 | # Get the current playing song 51 | current=$(mpc -f "%title%" current) 52 | # If mpd isn't running it will return an empty string, we don't want to display that 53 | if [[ -z "$current" ]]; then 54 | current="-" 55 | fi 56 | 57 | # Spawn the mpd menu with the "Play / Pause" entry selected by default 58 | chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" 59 | case $chosen in 60 | $previous) 61 | mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" 62 | ;; 63 | $play_pause) 64 | mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" 65 | ;; 66 | $stop) 67 | mpc -q stop 68 | ;; 69 | $next) 70 | mpc -q next && notify-send -u low -t 1800 " $(mpc current)" 71 | ;; 72 | $tog_repeat) 73 | mpc -q repeat 74 | ;; 75 | $tog_random) 76 | mpc -q random 77 | ;; 78 | esac 79 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/network.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/network.rasi" 12 | 13 | ## Get info 14 | IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')" 15 | #SSID="$(iwgetid -r)" 16 | #LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')" 17 | #PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" 18 | STATUS="$(nmcli radio wifi)" 19 | 20 | active="" 21 | urgent="" 22 | 23 | if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then 24 | if [[ $STATUS == *"enable"* ]]; then 25 | if [[ $IFACE == e* ]]; then 26 | connected="" 27 | else 28 | connected="" 29 | fi 30 | active="-a 0" 31 | SSID="﬉ $(iwgetid -r)" 32 | PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)" 33 | fi 34 | else 35 | urgent="-u 0" 36 | SSID="Disconnected" 37 | PIP="Not Available" 38 | connected="" 39 | fi 40 | 41 | ## Icons 42 | bmon="" 43 | launch_cli="" 44 | launch="" 45 | 46 | options="$connected\n$bmon\n$launch_cli\n$launch" 47 | 48 | ## Main 49 | chosen="$(echo -e "$options" | $rofi_command -p "$SSID" -dmenu $active $urgent -selected-row 1)" 50 | case $chosen in 51 | $connected) 52 | if [[ $STATUS == *"enable"* ]]; then 53 | nmcli radio wifi off 54 | else 55 | nmcli radio wifi on 56 | fi 57 | ;; 58 | $bmon) 59 | termite -e bmon 60 | ;; 61 | $launch_cli) 62 | termite -e nmtui 63 | ;; 64 | $launch) 65 | nm-connection-editor 66 | ;; 67 | esac 68 | 69 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/powermenu.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/powermenu.rasi" 12 | 13 | uptime=$(uptime -p | sed -e 's/up //g') 14 | cpu=$($HOME/.config/rofi/bin/usedcpu) 15 | memory=$($HOME/.config/rofi/bin/usedram) 16 | 17 | # Options 18 | shutdown="" 19 | reboot="" 20 | lock="" 21 | suspend="" 22 | logout="" 23 | 24 | # Confirmation 25 | confirm_exit() { 26 | rofi -dmenu\ 27 | -i\ 28 | -no-fixed-num-lines\ 29 | -p "Are You Sure? : "\ 30 | -theme $HOME/.config/rofi/applets/styles/confirm.rasi 31 | } 32 | 33 | # Message 34 | msg() { 35 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n" 36 | } 37 | 38 | # Variable passed to rofi 39 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 40 | 41 | chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" 42 | case $chosen in 43 | $shutdown) 44 | ans=$(confirm_exit &) 45 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 46 | systemctl poweroff 47 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 48 | exit 0 49 | else 50 | msg 51 | fi 52 | ;; 53 | $reboot) 54 | ans=$(confirm_exit &) 55 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 56 | systemctl reboot 57 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 58 | exit 0 59 | else 60 | msg 61 | fi 62 | ;; 63 | $lock) 64 | if [[ -f /usr/bin/i3lock ]]; then 65 | i3lock 66 | elif [[ -f /usr/bin/betterlockscreen ]]; then 67 | betterlockscreen -l 68 | fi 69 | ;; 70 | $suspend) 71 | ans=$(confirm_exit &) 72 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 73 | mpc -q pause 74 | amixer set Master mute 75 | systemctl suspend 76 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 77 | exit 0 78 | else 79 | msg 80 | fi 81 | ;; 82 | $logout) 83 | ans=$(confirm_exit &) 84 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 85 | if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then 86 | openbox --exit 87 | elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then 88 | bspc quit 89 | elif [[ "$DESKTOP_SESSION" == "i3" ]]; then 90 | i3-msg exit 91 | fi 92 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 93 | exit 0 94 | else 95 | msg 96 | fi 97 | ;; 98 | esac 99 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/quicklinks.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/quicklinks.rasi" 12 | 13 | # Error msg 14 | msg() { 15 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" 16 | } 17 | 18 | # Browser 19 | if [[ -f /usr/bin/firefox ]]; then 20 | app="firefox" 21 | elif [[ -f /usr/bin/chromium ]]; then 22 | app="chromium" 23 | elif [[ -f /usr/bin/midori ]]; then 24 | app="midori" 25 | else 26 | msg "No suitable web browser found!" 27 | exit 1 28 | fi 29 | 30 | # Links 31 | google="" 32 | facebook="" 33 | twitter="" 34 | github="" 35 | mail="" 36 | youtube="" 37 | 38 | # Variable passed to rofi 39 | options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" 40 | 41 | chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)" 42 | case $chosen in 43 | $google) 44 | $app https://www.google.com & 45 | ;; 46 | $facebook) 47 | $app https://www.facebook.com & 48 | ;; 49 | $twitter) 50 | $app https://www.twitter.com & 51 | ;; 52 | $github) 53 | $app https://www.github.com & 54 | ;; 55 | $mail) 56 | $app https://www.gmail.com & 57 | ;; 58 | $youtube) 59 | $app https://www.youtube.com & 60 | ;; 61 | esac 62 | 63 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/screenshot.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/screenshot.rasi" 12 | 13 | # Error msg 14 | msg() { 15 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first." 16 | } 17 | 18 | # Options 19 | screen="" 20 | area="" 21 | window="" 22 | 23 | # Variable passed to rofi 24 | options="$screen\n$area\n$window" 25 | 26 | chosen="$(echo -e "$options" | $rofi_command -p 'scrot' -dmenu -selected-row 1)" 27 | case $chosen in 28 | $screen) 29 | if [[ -f /usr/bin/scrot ]]; then 30 | sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 31 | else 32 | msg 33 | fi 34 | ;; 35 | $area) 36 | if [[ -f /usr/bin/scrot ]]; then 37 | scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 38 | else 39 | msg 40 | fi 41 | ;; 42 | $window) 43 | if [[ -f /usr/bin/scrot ]]; then 44 | sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 45 | else 46 | msg 47 | fi 48 | ;; 49 | esac 50 | 51 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/style.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Available Styles 4 | # >> Created and tested on : rofi 1.6.0-1 5 | # 6 | # square circle rounded 7 | 8 | style="square" 9 | 10 | # uncomment these lines to enable random style 11 | #styles=('square' 'circle' 'rounded') 12 | #style="${styles[$(( $RANDOM % 3 ))]}" 13 | 14 | # print style name 15 | echo "$style" 16 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/time.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/time.rasi" 12 | 13 | ## Get time and date 14 | TIME="$(date +"%I:%M %p")" 15 | DN=$(date +"%A") 16 | MN=$(date +"%B") 17 | DAY="$(date +"%d")" 18 | MONTH="$(date +"%m")" 19 | YEAR="$(date +"%Y")" 20 | 21 | options="$DAY\n$MONTH\n$YEAR" 22 | 23 | ## Main 24 | chosen="$(echo -e "$options" | $rofi_command -p " $DN, $TIME" -dmenu -selected-row 1)" 25 | -------------------------------------------------------------------------------- /.config/rofi/applets/applets/volume.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/applets/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/applets/configs/$style" 11 | rofi_command="rofi -theme $dir/volume.rasi" 12 | 13 | ## Get Volume 14 | #VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') 15 | MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') 16 | 17 | active="" 18 | urgent="" 19 | 20 | if [[ $MUTE == *"off"* ]]; then 21 | active="-a 1" 22 | else 23 | urgent="-u 1" 24 | fi 25 | 26 | if [[ $MUTE == *"off"* ]]; then 27 | active="-a 1" 28 | else 29 | urgent="-u 1" 30 | fi 31 | 32 | if [[ $MUTE == *"on"* ]]; then 33 | VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" 34 | else 35 | VOLUME="Mute" 36 | fi 37 | 38 | ## Icons 39 | ICON_UP="" 40 | ICON_DOWN="" 41 | ICON_MUTED="" 42 | 43 | options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" 44 | 45 | ## Main 46 | chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" 47 | case $chosen in 48 | $ICON_UP) 49 | amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" 50 | ;; 51 | $ICON_DOWN) 52 | amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" 53 | ;; 54 | $ICON_MUTED) 55 | amixer -q set Master toggle 56 | ;; 57 | esac 58 | 59 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/apps.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/apps.rasi" 12 | 13 | # Links 14 | terminal="" 15 | files="" 16 | editor="" 17 | browser="" 18 | music="" 19 | settings="" 20 | 21 | # Error msg 22 | msg() { 23 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" 24 | } 25 | 26 | # Variable passed to rofi 27 | options="$terminal\n$files\n$editor\n$browser\n$music\n$settings" 28 | 29 | chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)" 30 | case $chosen in 31 | $terminal) 32 | if [[ -f /usr/bin/termite ]]; then 33 | termite & 34 | elif [[ -f /usr/bin/urxvt ]]; then 35 | urxvt & 36 | elif [[ -f /usr/bin/kitty ]]; then 37 | kitty & 38 | elif [[ -f /usr/bin/xterm ]]; then 39 | xterm & 40 | elif [[ -f /usr/bin/xfce4-terminal ]]; then 41 | xfce4-terminal & 42 | elif [[ -f /usr/bin/gnome-terminal ]]; then 43 | gnome-terminal & 44 | else 45 | msg "No suitable terminal found!" 46 | fi 47 | ;; 48 | $files) 49 | if [[ -f /usr/bin/thunar ]]; then 50 | thunar & 51 | elif [[ -f /usr/bin/pcmanfm ]]; then 52 | pcmanfm & 53 | else 54 | msg "No suitable file manager found!" 55 | fi 56 | ;; 57 | $editor) 58 | if [[ -f /usr/bin/geany ]]; then 59 | geany & 60 | elif [[ -f /usr/bin/leafpad ]]; then 61 | leafpad & 62 | elif [[ -f /usr/bin/mousepad ]]; then 63 | mousepad & 64 | elif [[ -f /usr/bin/code ]]; then 65 | code & 66 | else 67 | msg "No suitable text editor found!" 68 | fi 69 | ;; 70 | $browser) 71 | if [[ -f /usr/bin/firefox ]]; then 72 | firefox & 73 | elif [[ -f /usr/bin/chromium ]]; then 74 | chromium & 75 | elif [[ -f /usr/bin/midori ]]; then 76 | midori & 77 | else 78 | msg "No suitable web browser found!" 79 | fi 80 | ;; 81 | $music) 82 | if [[ -f /usr/bin/lxmusic ]]; then 83 | lxmusic & 84 | else 85 | msg "No suitable music player found!" 86 | fi 87 | ;; 88 | $settings) 89 | if [[ -f /usr/bin/xfce4-settings-manager ]]; then 90 | xfce4-settings-manager & 91 | else 92 | msg "No suitable settings manager found!" 93 | fi 94 | ;; 95 | esac 96 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/backlight.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/backlight.rasi" 12 | 13 | # Error msg 14 | msg() { 15 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" 16 | } 17 | 18 | ## Get Brightness 19 | if [[ -f /bin/brightnessctl ]]; then 20 | BNESS="$(brightnessctl get)" 21 | MAX="$(brightnessctl max)" 22 | PERC="$((BNESS*100/MAX))" 23 | BLIGHT=${PERC%.*} 24 | elif [[ -f /usr/bin/blight ]]; then 25 | DEVICE=$(ls /sys/class/backlight | head -n 1) 26 | BNESS="$(blight -d $DEVICE get brightness)" 27 | PERC="$(($BNESS*100/255))" 28 | BLIGHT=${PERC%.*} 29 | elif [[ -f /usr/bin/xbacklight ]]; then 30 | VAR="$(xbacklight -get)" 31 | BLIGHT="$(printf "%.0f\n" "$VAR")" 32 | else 33 | msg "No suitable backlight utility found!" 34 | exit 1 35 | fi 36 | 37 | if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then 38 | MSG="Low" 39 | elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then 40 | MSG="Optimal" 41 | elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then 42 | MSG="High" 43 | elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then 44 | MSG="Too Much" 45 | fi 46 | 47 | ## Icons 48 | ICON_UP="" 49 | ICON_DOWN="" 50 | ICON_OPT="" 51 | 52 | notify="notify-send -u low -t 1500" 53 | options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN" 54 | 55 | ## Main 56 | chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT% : $MSG" -dmenu -selected-row 1)" 57 | case $chosen in 58 | "$ICON_UP") 59 | if [[ -f /bin/brightnessctl ]]; then 60 | brightnessctl -q set +10% && $notify "Brightness Up $ICON_UP" 61 | elif [[ -f /usr/bin/blight ]]; then 62 | blight -d "$DEVICE" set +10% && $notify "Brightness Up $ICON_UP" 63 | elif [[ -f /usr/bin/xbacklight ]]; then 64 | xbacklight -inc 10 && $notify "Brightness Up $ICON_UP" 65 | fi 66 | ;; 67 | "$ICON_DOWN") 68 | if [[ -f /bin/brightnessctl ]]; then 69 | brightnessctl -q set 10%- && $notify "Brightness Down $ICON_DOWN" 70 | elif [[ -f /usr/bin/blight ]]; then 71 | blight -d "$DEVICE" set -10% && $notify "Brightness Down $ICON_DOWN" 72 | elif [[ -f /usr/bin/xbacklight ]]; then 73 | xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN" 74 | fi 75 | ;; 76 | "$ICON_OPT") 77 | if [[ -f /bin/brightnessctl ]]; then 78 | brightnessctl -q set 25% && $notify "Optimal Brightness $ICON_OPT" 79 | elif [[ -f /usr/bin/blight ]]; then 80 | blight -d "$DEVICE" set 25% && $notify "Optimal Brightness $ICON_OPT" 81 | elif [[ -f /usr/bin/xbacklight ]]; then 82 | xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT" 83 | fi 84 | ;; 85 | esac 86 | 87 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/battery.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/battery.rasi" 12 | 13 | ## Get data 14 | BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)" 15 | CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)" 16 | 17 | active="" 18 | urgent="" 19 | 20 | if [[ $CHARGE = *"Charging"* ]]; then 21 | active="-a 1" 22 | ICON_CHRG="" 23 | MSG=$CHARGE 24 | elif [[ $CHARGE = *"Full"* ]]; then 25 | active="-u 1" 26 | ICON_CHRG="" 27 | MSG=$CHARGE 28 | else 29 | urgent="-u 1" 30 | ICON_CHRG="" 31 | MSG=$CHARGE 32 | fi 33 | 34 | # Discharging 35 | #if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then 36 | # ICON_DISCHRG="" 37 | if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then 38 | ICON_DISCHRG="" 39 | elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then 40 | ICON_DISCHRG="" 41 | elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then 42 | ICON_DISCHRG="" 43 | elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then 44 | ICON_DISCHRG="" 45 | elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then 46 | ICON_DISCHRG="" 47 | fi 48 | 49 | ## Icons 50 | ICON_PMGR="" 51 | 52 | options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR" 53 | 54 | ## Main 55 | chosen="$(echo -e "$options" | $rofi_command -p "$MSG : $BATTERY%" -dmenu $active $urgent -selected-row 0)" 56 | case $chosen in 57 | $ICON_CHRG) 58 | ;; 59 | $ICON_DISCHRG) 60 | ;; 61 | $ICON_PMGR) 62 | xfce4-power-manager-settings 63 | ;; 64 | esac 65 | 66 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/mpd.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/mpd.rasi" 12 | 13 | # Gets the current status of mpd (for us to parse it later on) 14 | status="$(mpc status)" 15 | # Defines the Play / Pause option content 16 | if [[ $status == *"[playing]"* ]]; then 17 | play_pause="" 18 | else 19 | play_pause="" 20 | fi 21 | active="" 22 | urgent="" 23 | 24 | # Display if repeat mode is on / off 25 | tog_repeat="" 26 | if [[ $status == *"repeat: on"* ]]; then 27 | active="-a 4" 28 | elif [[ $status == *"repeat: off"* ]]; then 29 | urgent="-u 4" 30 | else 31 | tog_repeat=" Parsing error" 32 | fi 33 | 34 | # Display if random mode is on / off 35 | tog_random="" 36 | if [[ $status == *"random: on"* ]]; then 37 | [ -n "$active" ] && active+=",5" || active="-a 5" 38 | elif [[ $status == *"random: off"* ]]; then 39 | [ -n "$urgent" ] && urgent+=",5" || urgent="-u 5" 40 | else 41 | tog_random=" Parsing error" 42 | fi 43 | stop="" 44 | next="" 45 | previous="" 46 | 47 | # Variable passed to rofi 48 | options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random" 49 | 50 | # Get the current playing song 51 | current=$(mpc -f "%artist% - %title%" current) 52 | # If mpd isn't running it will return an empty string, we don't want to display that 53 | if [[ -z "$current" ]]; then 54 | current="-" 55 | fi 56 | 57 | # Spawn the mpd menu with the "Play / Pause" entry selected by default 58 | chosen="$(echo -e "$options" | $rofi_command -p " $current" -dmenu $active $urgent -selected-row 1)" 59 | case $chosen in 60 | $previous) 61 | mpc -q prev && notify-send -u low -t 1800 " $(mpc current)" 62 | ;; 63 | $play_pause) 64 | mpc -q toggle && notify-send -u low -t 1800 " $(mpc current)" 65 | ;; 66 | $stop) 67 | mpc -q stop 68 | ;; 69 | $next) 70 | mpc -q next && notify-send -u low -t 1800 " $(mpc current)" 71 | ;; 72 | $tog_repeat) 73 | mpc -q repeat 74 | ;; 75 | $tog_random) 76 | mpc -q random 77 | ;; 78 | esac 79 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/network.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/network.rasi" 12 | 13 | ## Get info 14 | IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')" 15 | #SSID="$(iwgetid -r)" 16 | #LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')" 17 | #PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )" 18 | STATUS="$(nmcli radio wifi)" 19 | 20 | active="" 21 | urgent="" 22 | 23 | if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then 24 | if [[ $STATUS == *"enable"* ]]; then 25 | if [[ $IFACE == e* ]]; then 26 | connected="" 27 | else 28 | connected="" 29 | fi 30 | active="-a 0" 31 | SSID="﬉ $(iwgetid -r)" 32 | PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)" 33 | fi 34 | else 35 | urgent="-u 0" 36 | SSID="Disconnected" 37 | PIP="Not Available" 38 | connected="" 39 | fi 40 | 41 | ## Icons 42 | bmon="" 43 | launch_cli="" 44 | launch="" 45 | 46 | options="$connected\n$bmon\n$launch_cli\n$launch" 47 | 48 | ## Main 49 | chosen="$(echo -e "$options" | $rofi_command -p "$SSID : $PIP" -dmenu $active $urgent -selected-row 1)" 50 | case $chosen in 51 | $connected) 52 | if [[ $STATUS == *"enable"* ]]; then 53 | nmcli radio wifi off 54 | else 55 | nmcli radio wifi on 56 | fi 57 | ;; 58 | $bmon) 59 | termite -e bmon 60 | ;; 61 | $launch_cli) 62 | termite -e nmtui 63 | ;; 64 | $launch) 65 | nm-connection-editor 66 | ;; 67 | esac 68 | 69 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/powermenu.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/powermenu.rasi" 12 | 13 | uptime=$(uptime -p | sed -e 's/up //g') 14 | cpu=$($HOME/.config/rofi/bin/usedcpu) 15 | memory=$($HOME/.config/rofi/bin/usedram) 16 | 17 | # Options 18 | shutdown="" 19 | reboot="" 20 | lock="" 21 | suspend="" 22 | logout="" 23 | 24 | # Confirmation 25 | confirm_exit() { 26 | rofi -dmenu\ 27 | -i\ 28 | -no-fixed-num-lines\ 29 | -p "Are You Sure? : "\ 30 | -theme $HOME/.config/rofi/applets/styles/confirm.rasi 31 | } 32 | 33 | # Message 34 | msg() { 35 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n" 36 | } 37 | 38 | # Variable passed to rofi 39 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 40 | 41 | chosen="$(echo -e "$options" | $rofi_command -p "祥 $uptime |  $cpu | ﬙ $memory " -dmenu -selected-row 2)" 42 | case $chosen in 43 | $shutdown) 44 | ans=$(confirm_exit &) 45 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 46 | systemctl poweroff 47 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 48 | exit 0 49 | else 50 | msg 51 | fi 52 | ;; 53 | $reboot) 54 | ans=$(confirm_exit &) 55 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 56 | systemctl reboot 57 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 58 | exit 0 59 | else 60 | msg 61 | fi 62 | ;; 63 | $lock) 64 | if [[ -f /usr/bin/i3lock ]]; then 65 | i3lock 66 | elif [[ -f /usr/bin/betterlockscreen ]]; then 67 | betterlockscreen -l 68 | fi 69 | ;; 70 | $suspend) 71 | ans=$(confirm_exit &) 72 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 73 | mpc -q pause 74 | amixer set Master mute 75 | systemctl suspend 76 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 77 | exit 0 78 | else 79 | msg 80 | fi 81 | ;; 82 | $logout) 83 | ans=$(confirm_exit &) 84 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 85 | if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then 86 | openbox --exit 87 | elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then 88 | bspc quit 89 | elif [[ "$DESKTOP_SESSION" == "i3" ]]; then 90 | i3-msg exit 91 | fi 92 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 93 | exit 0 94 | else 95 | msg 96 | fi 97 | ;; 98 | esac 99 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/quicklinks.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/quicklinks.rasi" 12 | 13 | # Error msg 14 | msg() { 15 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1" 16 | } 17 | 18 | # Browser 19 | if [[ -f /usr/bin/firefox ]]; then 20 | app="firefox" 21 | elif [[ -f /usr/bin/chromium ]]; then 22 | app="chromium" 23 | elif [[ -f /usr/bin/midori ]]; then 24 | app="midori" 25 | else 26 | msg "No suitable web browser found!" 27 | exit 1 28 | fi 29 | 30 | # Links 31 | google="" 32 | facebook="" 33 | twitter="" 34 | github="" 35 | mail="" 36 | youtube="" 37 | 38 | # Variable passed to rofi 39 | options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube" 40 | 41 | chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)" 42 | case $chosen in 43 | $google) 44 | $app https://www.google.com & 45 | ;; 46 | $facebook) 47 | $app https://www.facebook.com & 48 | ;; 49 | $twitter) 50 | $app https://www.twitter.com & 51 | ;; 52 | $github) 53 | $app https://www.github.com & 54 | ;; 55 | $mail) 56 | $app https://www.gmail.com & 57 | ;; 58 | $youtube) 59 | $app https://www.youtube.com & 60 | ;; 61 | esac 62 | 63 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/screenshot.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/screenshot.rasi" 12 | 13 | # Error msg 14 | msg() { 15 | rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first." 16 | } 17 | 18 | # Options 19 | screen="" 20 | area="" 21 | window="" 22 | 23 | # Variable passed to rofi 24 | options="$screen\n$area\n$window" 25 | 26 | chosen="$(echo -e "$options" | $rofi_command -p 'App : scrot' -dmenu -selected-row 1)" 27 | case $chosen in 28 | $screen) 29 | if [[ -f /usr/bin/scrot ]]; then 30 | sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 31 | else 32 | msg 33 | fi 34 | ;; 35 | $area) 36 | if [[ -f /usr/bin/scrot ]]; then 37 | scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 38 | else 39 | msg 40 | fi 41 | ;; 42 | $window) 43 | if [[ -f /usr/bin/scrot ]]; then 44 | sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f' 45 | else 46 | msg 47 | fi 48 | ;; 49 | esac 50 | 51 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/style.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Available Styles 4 | # >> Created and tested on : rofi 1.6.0-1 5 | # 6 | # square circle rounded 7 | 8 | style="square" 9 | 10 | # uncomment these lines to enable random style 11 | #styles=('square' 'circle' 'rounded') 12 | #style="${styles[$(( $RANDOM % 3 ))]}" 13 | 14 | # print style name 15 | echo "$style" 16 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/time.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/time.rasi" 12 | 13 | ## Get time and date 14 | TIME="$(date +"%I:%M %p")" 15 | DN=$(date +"%A") 16 | MN=$(date +"%B") 17 | DAY="$(date +"%d")" 18 | MONTH="$(date +"%m")" 19 | YEAR="$(date +"%Y")" 20 | 21 | options="$DAY\n$MONTH\n$YEAR" 22 | 23 | ## Main 24 | chosen="$(echo -e "$options" | $rofi_command -p " at $TIME on $DN in $MN" -dmenu -selected-row 1)" 25 | -------------------------------------------------------------------------------- /.config/rofi/applets/menu/volume.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | style="$($HOME/.config/rofi/applets/menu/style.sh)" 9 | 10 | dir="$HOME/.config/rofi/applets/menu/configs/$style" 11 | rofi_command="rofi -theme $dir/volume.rasi" 12 | 13 | ## Get Volume 14 | #VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%') 15 | MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%') 16 | 17 | active="" 18 | urgent="" 19 | 20 | if [[ $MUTE == *"off"* ]]; then 21 | active="-a 1" 22 | else 23 | urgent="-u 1" 24 | fi 25 | 26 | if [[ $MUTE == *"off"* ]]; then 27 | active="-a 1" 28 | else 29 | urgent="-u 1" 30 | fi 31 | 32 | if [[ $MUTE == *"on"* ]]; then 33 | VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%" 34 | else 35 | VOLUME="Mute" 36 | fi 37 | 38 | ## Icons 39 | ICON_UP="" 40 | ICON_DOWN="" 41 | ICON_MUTED="" 42 | 43 | options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN" 44 | 45 | ## Main 46 | chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)" 47 | case $chosen in 48 | $ICON_UP) 49 | amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP" 50 | ;; 51 | $ICON_DOWN) 52 | amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN" 53 | ;; 54 | $ICON_MUTED) 55 | amixer -q set Master toggle 56 | ;; 57 | esac 58 | 59 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/adapta-nokto.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #00BCD4; 3 | background: #263238; 4 | background-light: #293840; 5 | foreground: #E7E8EB; 6 | on: #44ad4d; 7 | off: #e34039; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/adapta.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #00ADC2; 3 | background: #FFFFFF; 4 | background-light: #E7E7E7; 5 | foreground: #535353; 6 | on: #44ad4d; 7 | off: #e34039; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/adwaita.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #2E6BB6; 3 | background: #2D2D2D; 4 | background-light: #353535; 5 | foreground: #E7E8EB; 6 | on: #44ad4d; 7 | off: #e34039; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/arc-dark.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #6BA0DE; 3 | background: #383C4A; 4 | background-light: #404552; 5 | foreground: #E4E4E4; 6 | on: #44ad4d; 7 | off: #e34039; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/arc.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #5294E2; 3 | background: #FFFFFF; 4 | background-light: #E7E8EB; 5 | foreground: #333333; 6 | on: #44ad4d; 7 | off: #e34039; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/armchair.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #E85A50; 3 | background: #EAE8DC; 4 | background-light: #E4D9C8; 5 | foreground: #8E8D89; 6 | on: #66bb6a; 7 | off: #F68887; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/colors.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * Change the colorscheme for every menu simply by editing this file... 3 | * 4 | * Available Color Schemes 5 | * // Dark 6 | * material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange 7 | * material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green 8 | * material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal 9 | * material-dark/yellow 10 | * // Light 11 | * material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange 12 | * material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green 13 | * material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal 14 | * material-light/yellow 15 | * 16 | * // Other 17 | * adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark 18 | * armchair, darkpink, fresh, inside, party, sirin 19 | * 20 | */ 21 | 22 | @import "dark.rasi" 23 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Confirm Dialog */ 2 | 3 | @import "colors.rasi" 4 | 5 | * { 6 | background-color: @background; 7 | text-color: @foreground; 8 | font: "Comfortaa 12"; 9 | } 10 | 11 | window { 12 | width: 225px; 13 | padding: 25px; 14 | border: 0px; 15 | border-radius: 0px; 16 | border-color: @accent; 17 | location: center; 18 | y-offset: -20px; 19 | } 20 | 21 | entry { 22 | expand: true; 23 | text-color: @accent; 24 | } 25 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/dark.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #A9C03F; 3 | background: #141c21; 4 | background-light: #1C252A; 5 | foreground: #93a1a1; 6 | on: #5BB462; 7 | off: #DE635E; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/darkpink.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #F75176; 3 | background: #414656; 4 | background-light: #4B5060; 5 | foreground: #F2F7E3; 6 | on: #CDF0D9; 7 | off: #FF796A; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/fresh.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #043968; 3 | background: #5CDB94; 4 | background-light: #59C78A; 5 | foreground: #303030; 6 | on: #2e7d32; 7 | off: #d32f2f; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/gruvbox.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #83a598; 3 | background: #282828; 4 | background-light: #303030; 5 | foreground: #ebdbb2; 6 | on: #44ad4d; 7 | off: #fb4934; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/inside.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #C7493A; 3 | background: #151515; 4 | background-light: #202020; 5 | foreground: #AD8174; 6 | on: #689775; 7 | off: #A33327; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/amber.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ffc107; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/blue.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #1e88e5; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/blue_grey.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #607d8b; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/brown.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #8d6e63; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/cyan.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #26c6da; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/deep_orange.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ff5722; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/deep_purple.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #7e57c2; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/green.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #4caf50; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #a5d6a7; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/grey.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #9e9e9e; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/indigo.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #5c6bc0; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/light_blue.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #039be5; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/light_green.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #8bc34a; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #4caf50; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/lime.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #cddc39; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/orange.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ff9800; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/pink.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ec407a; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/purple.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ab47bc; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/red.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ef5350; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef9a9a; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/teal.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #009688; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-dark/yellow.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ffeb3b; 3 | background: #212121; 4 | background-light: #272727; 5 | foreground: #bdbdbd; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/amber.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ff8f00; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/blue.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #1565c0; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/blue_grey.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #607d8b; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/brown.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #795548; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/cyan.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #00acc1; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/deep_orange.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #f4511e; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/deep_purple.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #5e35b1; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/green.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #43a047; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/grey.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #555555; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/indigo.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #3949ab; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/light_blue.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #039be5; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/light_green.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #558b2f; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/lime.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #afb42b; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/orange.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #ef6c00; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/pink.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #d81b60; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/purple.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #8e24aa; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/red.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #d32f2f; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/teal.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #00796b; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/material-light/yellow.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #f9a825; 3 | background: #f5f5f5; 4 | background-light: #e0e0e0; 5 | foreground: #424242; 6 | on: #66bb6a; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/message.rasi: -------------------------------------------------------------------------------- 1 | /* Confirm Dialog */ 2 | 3 | @import "colors.rasi" 4 | 5 | * { 6 | background-color: @background; 7 | text-color: @foreground; 8 | font: "Comfortaa 12"; 9 | } 10 | 11 | window { 12 | width: 360px; 13 | padding: 25px; 14 | border: 0px; 15 | border-radius: 0px; 16 | border-color: @accent; 17 | location: center; 18 | y-offset: -20px; 19 | } 20 | 21 | entry { 22 | expand: true; 23 | text-color: @accent; 24 | } 25 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/minimo.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #656565; 3 | background: #C6C6C4; 4 | background-light: #FFFFFF; 5 | foreground: #909090; 6 | on: #226827; 7 | off: #682226; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/party.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #FFE401; 3 | background: #272727; 4 | background-light: #323232; 5 | foreground: #747474; 6 | on: #13A76B; 7 | off: #FF652F; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/applets/styles/sirin.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | accent: #106466; 3 | background: #FFCB9B; 4 | background-light: #D8B08C; 5 | foreground: #2C3532; 6 | on: #43a047; 7 | off: #ef5350; 8 | } 9 | -------------------------------------------------------------------------------- /.config/rofi/bin/android_apps: -------------------------------------------------------------------------------- 1 | ../applets/android/apps.sh -------------------------------------------------------------------------------- /.config/rofi/bin/android_backlight: -------------------------------------------------------------------------------- 1 | ../applets/android/backlight.sh -------------------------------------------------------------------------------- /.config/rofi/bin/android_mpd: -------------------------------------------------------------------------------- 1 | ../applets/android/mpd.sh -------------------------------------------------------------------------------- /.config/rofi/bin/android_powermenu: -------------------------------------------------------------------------------- 1 | ../applets/android/powermenu.sh -------------------------------------------------------------------------------- /.config/rofi/bin/android_quicklinks: -------------------------------------------------------------------------------- 1 | ../applets/android/quicklinks.sh -------------------------------------------------------------------------------- /.config/rofi/bin/android_screenshot: -------------------------------------------------------------------------------- 1 | ../applets/android/screenshot.sh -------------------------------------------------------------------------------- /.config/rofi/bin/android_volume: -------------------------------------------------------------------------------- 1 | ../applets/android/volume.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_apps: -------------------------------------------------------------------------------- 1 | ../applets/applets/apps.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_backlight: -------------------------------------------------------------------------------- 1 | ../applets/applets/backlight.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_battery: -------------------------------------------------------------------------------- 1 | ../applets/applets/battery.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_mpd: -------------------------------------------------------------------------------- 1 | ../applets/applets/mpd.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_network: -------------------------------------------------------------------------------- 1 | ../applets/applets/network.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_powermenu: -------------------------------------------------------------------------------- 1 | ../applets/applets/powermenu.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_quicklinks: -------------------------------------------------------------------------------- 1 | ../applets/applets/quicklinks.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_screenshot: -------------------------------------------------------------------------------- 1 | ../applets/applets/screenshot.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_time: -------------------------------------------------------------------------------- 1 | ../applets/applets/time.sh -------------------------------------------------------------------------------- /.config/rofi/bin/applet_volume: -------------------------------------------------------------------------------- 1 | ../applets/applets/volume.sh -------------------------------------------------------------------------------- /.config/rofi/bin/launcher_colorful: -------------------------------------------------------------------------------- 1 | ../launchers/colorful/launcher.sh -------------------------------------------------------------------------------- /.config/rofi/bin/launcher_misc: -------------------------------------------------------------------------------- 1 | ../launchers/misc/launcher.sh -------------------------------------------------------------------------------- /.config/rofi/bin/launcher_ribbon: -------------------------------------------------------------------------------- 1 | ../launchers/ribbon/launcher.sh -------------------------------------------------------------------------------- /.config/rofi/bin/launcher_slate: -------------------------------------------------------------------------------- 1 | ../launchers/slate/launcher.sh -------------------------------------------------------------------------------- /.config/rofi/bin/launcher_text: -------------------------------------------------------------------------------- 1 | ../launchers/text/launcher.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_apps: -------------------------------------------------------------------------------- 1 | ../applets/menu/apps.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_backlight: -------------------------------------------------------------------------------- 1 | ../applets/menu/backlight.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_battery: -------------------------------------------------------------------------------- 1 | ../applets/menu/battery.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_mpd: -------------------------------------------------------------------------------- 1 | ../applets/menu/mpd.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_network: -------------------------------------------------------------------------------- 1 | ../applets/menu/network.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_powermenu: -------------------------------------------------------------------------------- 1 | ../applets/menu/powermenu.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_quicklinks: -------------------------------------------------------------------------------- 1 | ../applets/menu/quicklinks.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_screenshot: -------------------------------------------------------------------------------- 1 | ../applets/menu/screenshot.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_time: -------------------------------------------------------------------------------- 1 | ../applets/menu/time.sh -------------------------------------------------------------------------------- /.config/rofi/bin/menu_volume: -------------------------------------------------------------------------------- 1 | ../applets/menu/volume.sh -------------------------------------------------------------------------------- /.config/rofi/bin/powermenu: -------------------------------------------------------------------------------- 1 | ../powermenu/powermenu.sh -------------------------------------------------------------------------------- /.config/rofi/bin/usedcpu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | PREV_TOTAL=0 4 | PREV_IDLE=0 5 | 6 | cpuFile="/tmp/.cpu" 7 | 8 | if [[ -f "${cpuFile}" ]]; then 9 | fileCont=$(cat "${cpuFile}") 10 | PREV_TOTAL=$(echo "${fileCont}" | head -n 1) 11 | PREV_IDLE=$(echo "${fileCont}" | tail -n 1) 12 | fi 13 | 14 | CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics. 15 | unset CPU[0] # Discard the "cpu" prefix. 16 | IDLE=${CPU[4]} # Get the idle CPU time. 17 | 18 | # Calculate the total CPU time. 19 | TOTAL=0 20 | 21 | for VALUE in "${CPU[@]:0:4}"; do 22 | let "TOTAL=$TOTAL+$VALUE" 23 | done 24 | 25 | if [[ "${PREV_TOTAL}" != "" ]] && [[ "${PREV_IDLE}" != "" ]]; then 26 | # Calculate the CPU usage since we last checked. 27 | let "DIFF_IDLE=$IDLE-$PREV_IDLE" 28 | let "DIFF_TOTAL=$TOTAL-$PREV_TOTAL" 29 | let "DIFF_USAGE=(1000*($DIFF_TOTAL-$DIFF_IDLE)/$DIFF_TOTAL+5)/10" 30 | if [[ $1 = "-i" ]]; then 31 | echo " ${DIFF_USAGE}%" 32 | else 33 | echo "${DIFF_USAGE}%" 34 | fi 35 | else 36 | if [[ $1 = "-i" ]]; then 37 | echo " ?" 38 | else 39 | echo "?" 40 | fi 41 | fi 42 | 43 | # Remember the total and idle CPU times for the next check. 44 | echo "${TOTAL}" > "${cpuFile}" 45 | echo "${IDLE}" >> "${cpuFile}" 46 | -------------------------------------------------------------------------------- /.config/rofi/bin/usedram: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | mem_info=$(> Created and tested on : rofi 1.6.0-1 10 | # 11 | # style_1 style_2 style_3 style_4 style_5 style_6 12 | # style_7 style_8 style_9 style_10 style_11 style_12 13 | 14 | theme="style_2" 15 | dir="$HOME/.config/rofi/launchers/colorful" 16 | 17 | # dark 18 | ALPHA="#00000000" 19 | BG="#181818" 20 | FG="#d8d8d8" 21 | SELECT="#282828" 22 | 23 | # light 24 | #ALPHA="#00000000" 25 | #BG="#FFFFFFff" 26 | #FG="#000000ff" 27 | #SELECT="#f3f3f3ff" 28 | 29 | # accent colors 30 | COLORS=('#181818') 31 | ACCENT="${COLORS[$(( 0 ))]}ff" 32 | 33 | # overwrite colors file 34 | cat > $dir/colors.rasi <<- EOF 35 | /* colors */ 36 | 37 | * { 38 | al: $ALPHA; 39 | bg: $BG; 40 | se: $SELECT; 41 | fg: $FG; 42 | ac: $ACCENT; 43 | } 44 | EOF 45 | 46 | # comment these lines to disable random style 47 | themes=($(ls -p --hide="launcher.sh" --hide="colors.rasi" $dir)) 48 | 49 | rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" 50 | -------------------------------------------------------------------------------- /.config/rofi/launchers/colorful/style_10.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Author : Aditya Shakya 4 | * Mail : adi1090x@gmail.com 5 | * Github : @adi1090x 6 | * Twitter : @adi1090x 7 | * 8 | */ 9 | 10 | configuration { 11 | font: "Iosevka Nerd Font 10"; 12 | show-icons: true; 13 | icon-theme: "Papirus"; 14 | display-drun: "Applications"; 15 | drun-display-format: "{name}"; 16 | disable-history: false; 17 | sidebar-mode: false; 18 | } 19 | 20 | @import "colors.rasi" 21 | 22 | window { 23 | transparency: "real"; 24 | background-color: @bg; 25 | text-color: @fg; 26 | border: 0px; 27 | border-color: @ac; 28 | border-radius: 0px; 29 | width: 100%; 30 | height: 100%; 31 | } 32 | 33 | prompt { 34 | enabled: true; 35 | padding: 1% 0.75% 1% 0.75%; 36 | background-color: @ac; 37 | text-color: @fg; 38 | border-radius: 100%; 39 | font: "Iosevka Nerd Font 12"; 40 | } 41 | 42 | textbox-prompt-colon { 43 | padding: 1% 0% 1% 0%; 44 | background-color: @se; 45 | text-color: @fg; 46 | expand: false; 47 | str: " :: "; 48 | } 49 | 50 | entry { 51 | background-color: @al; 52 | text-color: @fg; 53 | placeholder-color: @fg; 54 | expand: true; 55 | horizontal-align: 0; 56 | placeholder: "Search..."; 57 | padding: 1.15% 0.5% 1% 0.5%; 58 | blink: true; 59 | } 60 | 61 | inputbar { 62 | children: [ prompt, entry ]; 63 | background-color: @se; 64 | text-color: @fg; 65 | expand: false; 66 | border: 0% 0.2% 0.3% 0%; 67 | border-radius: 100%; 68 | border-color: @ac; 69 | } 70 | 71 | listview { 72 | background-color: @al; 73 | padding: 0px; 74 | columns: 3; 75 | spacing: 1%; 76 | cycle: false; 77 | dynamic: true; 78 | layout: vertical; 79 | } 80 | 81 | mainbox { 82 | background-color: @al; 83 | border: 0% 0% 0% 0%; 84 | border-radius: 0% 0% 0% 0%; 85 | border-color: @ac; 86 | children: [ inputbar, listview ]; 87 | spacing: 2%; 88 | padding: 20% 15% 20% 15%; 89 | } 90 | 91 | element { 92 | background-color: @se; 93 | text-color: @fg; 94 | orientation: horizontal; 95 | border-radius: 100%; 96 | padding: 1% 0.5% 1% 0.75%; 97 | } 98 | 99 | element-icon { 100 | background-color: inherit; 101 | text-color: inherit; 102 | horizontal-align: 0.5; 103 | vertical-align: 0.5; 104 | size: 24px; 105 | border: 0px; 106 | } 107 | 108 | element-text { 109 | background-color: @al; 110 | text-color: inherit; 111 | expand: true; 112 | horizontal-align: 0; 113 | vertical-align: 0.5; 114 | margin: 0% 0.25% 0% 0.25%; 115 | } 116 | 117 | element selected { 118 | background-color: @se; 119 | text-color: @ac; 120 | border: 0% 0% 0.3% 0.2%; 121 | border-radius: 100%; 122 | border-color: @ac; 123 | } 124 | -------------------------------------------------------------------------------- /.config/rofi/launchers/colorful/style_6.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * 3 | * Author : Aditya Shakya 4 | * Mail : adi1090x@gmail.com 5 | * Github : @adi1090x 6 | * Twitter : @adi1090x 7 | * 8 | */ 9 | 10 | configuration { 11 | font: "Iosevka Nerd Font 10"; 12 | show-icons: true; 13 | icon-theme: "Papirus"; 14 | display-drun: ""; 15 | drun-display-format: "{name}"; 16 | disable-history: false; 17 | sidebar-mode: false; 18 | } 19 | 20 | @import "colors.rasi" 21 | 22 | window { 23 | transparency: "real"; 24 | background-color: @bg; 25 | text-color: @fg; 26 | border: 0px; 27 | border-color: @ac; 28 | border-radius: 0px; 29 | width: 100%; 30 | height: 100%; 31 | } 32 | 33 | prompt { 34 | enabled: true; 35 | padding: 0.30% 1% 0% -0.5%; 36 | background-color: @al; 37 | text-color: @bg; 38 | font: "FantasqueSansMono Nerd Font 12"; 39 | } 40 | 41 | entry { 42 | background-color: @al; 43 | text-color: @bg; 44 | placeholder-color: @bg; 45 | expand: true; 46 | horizontal-align: 0; 47 | placeholder: "Search"; 48 | padding: 0.10% 0% 0% 0%; 49 | blink: true; 50 | } 51 | 52 | inputbar { 53 | children: [ prompt, entry ]; 54 | background-color: @ac; 55 | text-color: @bg; 56 | expand: false; 57 | border: 0% 0% 0% 0%; 58 | border-radius: 100%; 59 | border-color: @ac; 60 | margin: 0% 54.5% 0% 0%; 61 | padding: 1.5%; 62 | } 63 | 64 | listview { 65 | background-color: @al; 66 | padding: 0px; 67 | columns: 10; 68 | spacing: 0%; 69 | cycle: false; 70 | dynamic: true; 71 | layout: vertical; 72 | } 73 | 74 | mainbox { 75 | background-color: @al; 76 | border: 0% 0% 0% 0%; 77 | border-radius: 0% 0% 0% 0%; 78 | border-color: @ac; 79 | children: [ inputbar, listview ]; 80 | spacing: 2.5%; 81 | padding: 20% 5% 20% 5%; 82 | } 83 | 84 | element { 85 | background-color: @al; 86 | text-color: @fg; 87 | orientation: vertical; 88 | border-radius: 0%; 89 | padding: 4% 0% 4% 0%; 90 | } 91 | 92 | element-icon { 93 | background-color: inherit; 94 | text-color: inherit; 95 | horizontal-align: 0.5; 96 | vertical-align: 0.5; 97 | size: 80px; 98 | border: 0px; 99 | } 100 | 101 | element-text { 102 | background-color: @al; 103 | text-color: inherit; 104 | expand: true; 105 | horizontal-align: 0.5; 106 | vertical-align: 0.5; 107 | margin: 0.5% 0.5% -0.5% 0.5%; 108 | } 109 | 110 | element selected { 111 | background-color: @se; 112 | text-color: @fg; 113 | border: 0% 0% 0.5% 0%; 114 | border-radius: 25px; 115 | border-color: @ac; 116 | } 117 | -------------------------------------------------------------------------------- /.config/rofi/launchers/misc/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | # Available Styles 9 | # >> Created and tested on : rofi 1.6.0-1 10 | # 11 | # blurry blurry_full kde_simplemenu kde_krunner launchpad 12 | # gnome_do slingshot appdrawer appdrawer_alt appfolder 13 | # column row row_center screen row_dock row_dropdown 14 | 15 | theme="screen" 16 | dir="$HOME/.config/rofi/launchers/misc" 17 | 18 | # comment these lines to disable random style 19 | themes=($(ls -p --hide="launcher.sh" $dir)) 20 | theme="${themes[$(( $RANDOM % 16 ))]}" 21 | 22 | rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" 23 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | # Available Styles 9 | # >> Created and tested on : rofi 1.6.0-1 10 | # 11 | # ribbon_top ribbon_top_round ribbon_bottom ribbon_bottom_round 12 | # ribbon_left ribbon_left_round ribbon_right ribbon_right_round 13 | # full_bottom full_top full_left full_right 14 | 15 | theme="ribbon_top_round" 16 | 17 | dir="$HOME/.config/rofi/launchers/ribbon" 18 | styles=($(ls -p --hide="colors.rasi" $dir/styles)) 19 | color="${styles[$(( $RANDOM % 8 ))]}" 20 | 21 | # comment this line to disable random colors 22 | sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi 23 | 24 | # comment these lines to disable random style 25 | themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) 26 | theme="${themes[$(( $RANDOM % 12 ))]}" 27 | 28 | rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" 29 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/berry.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #2D142Cff; 3 | background-alt: #2D142Cff; 4 | foreground: #ffffffA6; 5 | border: #EE4540ff; 6 | border-alt: #C92A42ff; 7 | selected: #510A3299; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/bluish.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #EFF0F1FF; 3 | background-alt: #EFF0F1FF; 4 | foreground: #000000A6; 5 | border: #000B83FF; 6 | border-alt: #3DAEE9FF; 7 | selected: #93CEE999; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/cocoa.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #413E4Aff; 3 | background-alt: #413E4Aff; 4 | foreground: #F7C7B2ff; 5 | border: #B38184ff; 6 | border-alt: #F3B69Eff; 7 | selected: #B381841a; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/colors.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * Change the colorscheme for every menu simply by editing this file... 3 | * 4 | * Available Color Schemes 5 | * 6 | * bluish berry nordic nightly gotham mask faded cocoa 7 | * 8 | */ 9 | 10 | @import "berry.rasi" 11 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/faded.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #5E6C91ff; 3 | background-alt: #5E6C91ff; 4 | foreground: #FFFCFFff; 5 | border: #FF83A7ff; 6 | border-alt: #F4BB6Cff; 7 | selected: #A0B5F44c; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/gotham.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #29384Fff; 3 | background-alt: #29384Fff; 4 | foreground: #FEFFF1ff; 5 | border: #345B7Cff; 6 | border-alt: #715979ff; 7 | selected: #C46C851a; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/mask.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #434C6Dff; 3 | background-alt: #434C6Dff; 4 | foreground: #FAF7CCff; 5 | border: #CA8CA5ff; 6 | border-alt: #F0B2B3ff; 7 | selected: #EFD4B61a; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/nightly.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #2A3950ff; 3 | background-alt: #2A3950ff; 4 | foreground: #FEFFF1ff; 5 | border: #A162F7ff; 6 | border-alt: #45E3FFff; 7 | selected: #6F88FE1a; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/ribbon/styles/nordic.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #475C7Bff; 3 | background-alt: #475C7Bff; 4 | foreground: #ffffffcc; 5 | border: #FDBB6Dff; 6 | border-alt: #DA717Fff; 7 | selected: #685E79ff; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | # Available Styles 9 | # >> Created and tested on : rofi 1.6.0-1 10 | # 11 | # slate_full slate_center slate_left 12 | # slate_right slate_top slate_bottom 13 | 14 | theme="slate_full" 15 | 16 | dir="$HOME/.config/rofi/launchers/slate" 17 | styles=($(ls -p --hide="colors.rasi" $dir/styles)) 18 | color="${styles[$(( $RANDOM % 20 ))]}" 19 | 20 | # comment this line to disable random colors 21 | sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi 22 | 23 | # comment these lines to disable random style 24 | themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) 25 | theme="${themes[$(( $RANDOM % 6 ))]}" 26 | 27 | rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" 28 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Amber.rasi: -------------------------------------------------------------------------------- 1 | /* -- Amber -- */ 2 | 3 | * { 4 | shade1: #FF6F00; 5 | shade2: #FF8F00; 6 | shade3: #FFA000; 7 | shade4: #FFB300; 8 | shade5: #FFC107; 9 | shade6: #FFCA28; 10 | shade7: #FFD54F; 11 | shade8: #FFE082; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #404040; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #404040; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Black.rasi: -------------------------------------------------------------------------------- 1 | /* -- Gray -- */ 2 | 3 | * { 4 | shade1: #000000; 5 | shade2: #050505; 6 | shade3: #101010; 7 | shade4: #151515; 8 | shade5: #202020; 9 | shade6: #252525; 10 | shade7: #303030; 11 | shade8: #353535; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade2; 19 | border-alt: @shade3; 20 | background: @shade4; 21 | background-alt: @shade5; 22 | selected: @shade5; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Blue.rasi: -------------------------------------------------------------------------------- 1 | /* -- Blue -- */ 2 | 3 | * { 4 | shade1: #0D47A1; 5 | shade2: #1565C0; 6 | shade3: #1976D2; 7 | shade4: #1E88E5; 8 | shade5: #2196F3; 9 | shade6: #42A5F5; 10 | shade7: #64B5F6; 11 | shade8: #90CAF9; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #202020; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Blue_gray.rasi: -------------------------------------------------------------------------------- 1 | /* -- Blue Gray -- */ 2 | 3 | * { 4 | shade1: #263238; 5 | shade2: #37474F; 6 | shade3: #455A64; 7 | shade4: #546E7A; 8 | shade5: #607D8B; 9 | shade6: #78909C; 10 | shade7: #90A4AE; 11 | shade8: #B0BEC5; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Brown.rasi: -------------------------------------------------------------------------------- 1 | /* -- Brown -- */ 2 | 3 | * { 4 | shade1: #3E2723; 5 | shade2: #4E342E; 6 | shade3: #5D4037; 7 | shade4: #6D4C41; 8 | shade5: #795548; 9 | shade6: #8D6E63; 10 | shade7: #A1887F; 11 | shade8: #BCAAA4; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Cyan.rasi: -------------------------------------------------------------------------------- 1 | /* -- Cyan -- */ 2 | 3 | * { 4 | shade1: #006064; 5 | shade2: #00838F; 6 | shade3: #0097A7; 7 | shade4: #00ACC1; 8 | shade5: #00BCD4; 9 | shade6: #26C6DA; 10 | shade7: #4DD0E1; 11 | shade8: #80DEEA; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #303030; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Deep_orange.rasi: -------------------------------------------------------------------------------- 1 | /* -- Deep Orange -- */ 2 | 3 | * { 4 | shade1: #BF360C; 5 | shade2: #D84315; 6 | shade3: #E64A19; 7 | shade4: #F4511E; 8 | shade5: #FF5722; 9 | shade6: #FF7043; 10 | shade7: #FF8A65; 11 | shade8: #FFAB91; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #353535; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Deep_purple.rasi: -------------------------------------------------------------------------------- 1 | /* -- Deep Purple -- */ 2 | 3 | * { 4 | shade1: #311B92; 5 | shade2: #4527A0; 6 | shade3: #512DA8; 7 | shade4: #5E35B1; 8 | shade5: #673AB7; 9 | shade6: #7E57C2; 10 | shade7: #9575CD; 11 | shade8: #B39DDB; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Gray.rasi: -------------------------------------------------------------------------------- 1 | /* -- Gray -- */ 2 | 3 | * { 4 | shade1: #212121; 5 | shade2: #424242; 6 | shade3: #616161; 7 | shade4: #757575; 8 | shade5: #9E9E9E; 9 | shade6: #BDBDBD; 10 | shade7: #D4D4D4; 11 | shade8: #EEEEEE; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #303030; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Green.rasi: -------------------------------------------------------------------------------- 1 | /* -- Green -- */ 2 | 3 | * { 4 | shade1: #1B5E20; 5 | shade2: #2E7D32; 6 | shade3: #388E3C; 7 | shade4: #43A047; 8 | shade5: #4CAF50; 9 | shade6: #66BB6A; 10 | shade7: #81C784; 11 | shade8: #A5D6A7; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #202020; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Indigo.rasi: -------------------------------------------------------------------------------- 1 | /* -- Indigo -- */ 2 | 3 | * { 4 | shade1: #1A237E; 5 | shade2: #283593; 6 | shade3: #303F9F; 7 | shade4: #3949AB; 8 | shade5: #3F51B5; 9 | shade6: #5C6BC0; 10 | shade7: #7986CB; 11 | shade8: #9FA8DA; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Light_blue.rasi: -------------------------------------------------------------------------------- 1 | /* -- Light Blue -- */ 2 | 3 | * { 4 | shade1: #01579B; 5 | shade2: #0277BD; 6 | shade3: #0288D1; 7 | shade4: #039BE5; 8 | shade5: #03A9F4; 9 | shade6: #29B6F6; 10 | shade7: #4FC3F7; 11 | shade8: #81D4FA; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #202020; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Light_green.rasi: -------------------------------------------------------------------------------- 1 | /* -- Light Green -- */ 2 | 3 | * { 4 | shade1: #33691E; 5 | shade2: #558B2F; 6 | shade3: #689F38; 7 | shade4: #7CB342; 8 | shade5: #8BC34A; 9 | shade6: #9CCC65; 10 | shade7: #AED581; 11 | shade8: #C5E1A5; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #353535; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Lime.rasi: -------------------------------------------------------------------------------- 1 | /* -- Lime -- */ 2 | 3 | * { 4 | shade1: #827717; 5 | shade2: #9E9D24; 6 | shade3: #AFB42B; 7 | shade4: #C0CA33; 8 | shade5: #CDDC39; 9 | shade6: #D4E157; 10 | shade7: #DCE775; 11 | shade8: #E6EE9C; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #252525; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #404040; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Orange.rasi: -------------------------------------------------------------------------------- 1 | /* -- Orange -- */ 2 | 3 | * { 4 | shade1: #E65100; 5 | shade2: #EF6C00; 6 | shade3: #F57C00; 7 | shade4: #FB8C00; 8 | shade5: #FF9800; 9 | shade6: #FFA726; 10 | shade7: #FFB74D; 11 | shade8: #FFCC80; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #202020; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #353535; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Pink.rasi: -------------------------------------------------------------------------------- 1 | /* -- Pink -- */ 2 | 3 | * { 4 | shade1: #880E4F; 5 | shade2: #AD1457; 6 | shade3: #C2185B; 7 | shade4: #D81B60; 8 | shade5: #E91E63; 9 | shade6: #EC407A; 10 | shade7: #F06292; 11 | shade8: #F48FB1; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Purple.rasi: -------------------------------------------------------------------------------- 1 | /* -- Purple -- */ 2 | 3 | * { 4 | shade1: #4A148C; 5 | shade2: #6A1B9A; 6 | shade3: #7B1FA2; 7 | shade4: #8E24AA; 8 | shade5: #9C27B0; 9 | shade6: #AB47BC; 10 | shade7: #BA68C8; 11 | shade8: #CE93D8; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Red.rasi: -------------------------------------------------------------------------------- 1 | /* -- Red -- */ 2 | 3 | * { 4 | shade1: #B71C1C; 5 | shade2: #C62828; 6 | shade3: #D32F2F; 7 | shade4: #E53935; 8 | shade5: #EE413D; 9 | shade6: #EF5350; 10 | shade7: #E57373; 11 | shade8: #EF9A9A; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Teal.rasi: -------------------------------------------------------------------------------- 1 | /* -- Teal -- */ 2 | 3 | * { 4 | shade1: #004D40; 5 | shade2: #00695C; 6 | shade3: #00796B; 7 | shade4: #00897B; 8 | shade5: #009688; 9 | shade6: #26A69A; 10 | shade7: #4DB6AC; 11 | shade8: #80CBC4; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #ffffff; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #ffffff; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/Yellow.rasi: -------------------------------------------------------------------------------- 1 | /* -- Yellow -- */ 2 | 3 | * { 4 | shade1: #F57F17; 5 | shade2: #F9A825; 6 | shade3: #FBC02D; 7 | shade4: #FDD835; 8 | shade5: #FFEB3B; 9 | shade6: #FFEE58; 10 | shade7: #FFF176; 11 | shade8: #FFF59D; 12 | } 13 | 14 | /**** Comment One First To Use Another ****/ 15 | 16 | /* -- Dark -- */ 17 | * { 18 | border: @shade1; 19 | border-alt: @shade2; 20 | background: @shade3; 21 | background-alt: @shade3; 22 | selected: @shade4; 23 | foreground: #353535; 24 | urgent: #DA4453; 25 | } 26 | 27 | /* -- light -- */ 28 | * { 29 | border: @shade8; 30 | border-alt: @shade7; 31 | background: @shade6; 32 | background-alt: @shade6; 33 | selected: @shade5; 34 | foreground: #505050; 35 | urgent: #DA4453; 36 | } 37 | -------------------------------------------------------------------------------- /.config/rofi/launchers/slate/styles/colors.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * Change the colorscheme for every menu simply by editing this file... 3 | * 4 | * Available Color Schemes 5 | * 6 | * Amber Blue Blue_gray Black Brown Cyan Deep_orange 7 | * Deep_purple Gray Green Indigo Light_blue Light_green Lime 8 | * Orange Pink Purple Red Teal Yellow 9 | * 10 | */ 11 | 12 | @import "Deep_purple.rasi" 13 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | # Available Styles 9 | # >> Created and tested on : rofi 1.6.0-1 10 | # 11 | # style_1 style_2 style_3 style_4 style_5 style_6 style_7 12 | 13 | theme="style_2" 14 | 15 | dir="$HOME/.config/rofi/launchers/text" 16 | styles=($(ls -p --hide="colors.rasi" $dir/styles)) 17 | color="${styles[$(( $RANDOM % 10 ))]}" 18 | 19 | # comment this line to disable random colors 20 | sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi 21 | 22 | # comment these lines to disable random style 23 | themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) 24 | theme="${themes[$(( $RANDOM % 7 ))]}" 25 | 26 | rofi -no-lazy-grab -show drun \ 27 | -modi run,drun,window \ 28 | -theme $dir/"$theme" 29 | 30 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/berry.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #280F28ff; 6 | se: #2D142Cff; 7 | fg: #ffffffA6; 8 | ac: #EE4540ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/black.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #101010ff; 6 | se: #151515ff; 7 | fg: #f5f5f5ff; 8 | ac: #42A5F5ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/bluish.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #EFF0F1FF; 6 | se: #E3E3E3FF; 7 | fg: #000000A6; 8 | ac: #000B83FF; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/cocoa.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #3C3945FF; 6 | se: #413E4Aff; 7 | fg: #F7C7B2ff; 8 | ac: #B38184ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/colors.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * Change the colorscheme for every menu simply by editing this file... 3 | * 4 | * Available Color Schemes 5 | * 6 | * bluish berry nordic nightly gotham mask faded cocoa 7 | * black white 8 | * 9 | */ 10 | 11 | @import "nordic.rasi" 12 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/faded.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #57678CFF; 6 | se: #5E6C91ff; 7 | fg: #FFFCFFff; 8 | ac: #FF83A7ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/gotham.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #24334Aff; 6 | se: #29384Fff; 7 | fg: #FEFFF1ff; 8 | ac: #3A6081ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/mask.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #3E4667ff; 6 | se: #434C6Dff; 7 | fg: #FAF7CCff; 8 | ac: #CA8CA5ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/nightly.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #25344Bff; 6 | se: #2A3950ff; 7 | fg: #FEFFF1ff; 8 | ac: #A162F7ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/nordic.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #425775ff; 6 | se: #475C7Bff; 7 | fg: #ffffffcc; 8 | ac: #FDBB6Dff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/launchers/text/styles/white.rasi: -------------------------------------------------------------------------------- 1 | /* colors */ 2 | 3 | * { 4 | al: #00000000; 5 | bg: #ffffffff; 6 | se: #f5f5f5ff; 7 | fg: #000000ff; 8 | ac: #2900D0ff; 9 | red: #EC7875ff; 10 | green: #61C766ff; 11 | yellow: #FDD835ff; 12 | blue: #42A5F5ff; 13 | purple: #BA68C8ff; 14 | cyan: #4DD0E1ff; 15 | } 16 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Confirm Dialog */ 2 | 3 | @import "styles/colors.rasi" 4 | 5 | * { 6 | background-color: @background; 7 | text-color: @foreground; 8 | font: "FantasqueSansMono Nerd Font 12"; 9 | } 10 | 11 | window { 12 | width: 225px; 13 | padding: 25px; 14 | border: 1px; 15 | border-radius: 0px; 16 | border-color: @border; 17 | location: center; 18 | y-offset: -2em; 19 | } 20 | 21 | entry { 22 | expand: true; 23 | text-color: @border; 24 | } 25 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/message.rasi: -------------------------------------------------------------------------------- 1 | /* Message Dialog */ 2 | 3 | @import "styles/colors.rasi" 4 | 5 | * { 6 | background-color: @background; 7 | text-color: @foreground; 8 | font: "FantasqueSansMono Nerd Font 12"; 9 | } 10 | 11 | window { 12 | width: 360px; 13 | padding: 25px; 14 | border: 1px; 15 | border-radius: 0px; 16 | border-color: @border; 17 | location: center; 18 | y-offset: -2em; 19 | } 20 | 21 | entry { 22 | expand: true; 23 | text-color: @border; 24 | } 25 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/powermenu.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya 4 | ## Mail : adi1090x@gmail.com 5 | ## Github : @adi1090x 6 | ## Twitter : @adi1090x 7 | 8 | # Available Styles 9 | # >> Created and tested on : rofi 1.6.0-1 10 | # 11 | # column_circle column_square column_rounded column_alt 12 | # card_circle card_square card_rounded card_alt 13 | # dock_circle dock_square dock_rounded dock_alt 14 | # drop_circle drop_square drop_rounded drop_alt 15 | # full_circle full_square full_rounded full_alt 16 | # row_circle row_square row_rounded row_alt 17 | 18 | theme="full_circle" 19 | dir="$HOME/.config/rofi/powermenu" 20 | 21 | # random colors 22 | styles=($(ls -p --hide="colors.rasi" $dir/styles)) 23 | color="${styles[$(( $RANDOM % 8 ))]}" 24 | 25 | # comment this line to disable random colors 26 | sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi 27 | 28 | # comment these lines to disable random style 29 | themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir)) 30 | theme="${themes[$(( $RANDOM % 24 ))]}" 31 | 32 | uptime=$(uptime -p | sed -e 's/up //g') 33 | 34 | rofi_command="rofi -theme $dir/$theme" 35 | 36 | # Options 37 | shutdown="" 38 | reboot="" 39 | lock="" 40 | suspend="" 41 | logout="" 42 | 43 | # Confirmation 44 | confirm_exit() { 45 | rofi -dmenu\ 46 | -i\ 47 | -no-fixed-num-lines\ 48 | -p "Are You Sure? : "\ 49 | -theme $dir/confirm.rasi 50 | } 51 | 52 | # Message 53 | msg() { 54 | rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" 55 | } 56 | 57 | # Variable passed to rofi 58 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 59 | 60 | chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)" 61 | case $chosen in 62 | $shutdown) 63 | ans=$(confirm_exit &) 64 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 65 | systemctl poweroff 66 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 67 | exit 0 68 | else 69 | msg 70 | fi 71 | ;; 72 | $reboot) 73 | ans=$(confirm_exit &) 74 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 75 | systemctl reboot 76 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 77 | exit 0 78 | else 79 | msg 80 | fi 81 | ;; 82 | $lock) 83 | if [[ -f /usr/bin/i3lock ]]; then 84 | i3lock 85 | elif [[ -f /usr/bin/betterlockscreen ]]; then 86 | betterlockscreen -l 87 | fi 88 | ;; 89 | $suspend) 90 | ans=$(confirm_exit &) 91 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 92 | mpc -q pause 93 | amixer set Master mute 94 | systemctl suspend 95 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 96 | exit 0 97 | else 98 | msg 99 | fi 100 | ;; 101 | $logout) 102 | ans=$(confirm_exit &) 103 | if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then 104 | if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then 105 | openbox --exit 106 | elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then 107 | bspc quit 108 | elif [[ "$DESKTOP_SESSION" == "i3" ]]; then 109 | i3-msg exit 110 | fi 111 | elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then 112 | exit 0 113 | else 114 | msg 115 | fi 116 | ;; 117 | esac 118 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/berry.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #280F28ff; 3 | background-alt: #2D142Cff; 4 | foreground: #ffffffA6; 5 | border: #EE4540ff; 6 | border-alt: #C92A42ff; 7 | selected: #510A3299; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/bluish.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #EFF0F1FF; 3 | background-alt: #E3E3E3FF; 4 | foreground: #000000A6; 5 | border: #000B83FF; 6 | border-alt: #3DAEE9FF; 7 | selected: #93CEE9FF; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/cocoa.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #3C3945FF; 3 | background-alt: #413E4Aff; 4 | foreground: #F7C7B2ff; 5 | border: #B38184ff; 6 | border-alt: #F3B69Eff; 7 | selected: #B381841a; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/colors.rasi: -------------------------------------------------------------------------------- 1 | /* 2 | * Change the colorscheme for every menu simply by editing this file... 3 | * 4 | * Available Color Schemes 5 | * 6 | * bluish berry nordic nightly gotham mask faded cocoa 7 | * 8 | */ 9 | 10 | @import "nightly.rasi" 11 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/faded.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #57678CFF; 3 | background-alt: #5E6C91ff; 4 | foreground: #FFFCFFff; 5 | border: #FF83A7ff; 6 | border-alt: #F4BB6Cff; 7 | selected: #A0B5F44c; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/gotham.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #24334Aff; 3 | background-alt: #29384Fff; 4 | foreground: #FEFFF1ff; 5 | border: #3A6081ff; 6 | border-alt: #715979ff; 7 | selected: #C46C854C; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/mask.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #3E4667ff; 3 | background-alt: #434C6Dff; 4 | foreground: #FAF7CCff; 5 | border: #CA8CA5ff; 6 | border-alt: #F0B2B3ff; 7 | selected: #EFD4B61a; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/nightly.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #25344Bff; 3 | background-alt: #2A3950ff; 4 | foreground: #FEFFF1ff; 5 | border: #A162F7ff; 6 | border-alt: #45E3FFff; 7 | selected: #6F88FE1a; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/rofi/powermenu/styles/nordic.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #425775ff; 3 | background-alt: #475C7Bff; 4 | foreground: #ffffffcc; 5 | border: #FDBB6Dff; 6 | border-alt: #DA717Fff; 7 | selected: #685E79ff; 8 | urgent: #DA4453FF; 9 | } 10 | -------------------------------------------------------------------------------- /.config/scrot/README.md: -------------------------------------------------------------------------------- 1 | Install **[Scrot](https://wiki.archlinux.org/title/Screen_capture#scrot)**: 2 | 3 | ```bash 4 | sudo pacman -S scrot 5 | ``` 6 | 7 | If you not downloaded yet my repository: 8 | 9 | ```bash 10 | git clone https://github.com/igmt-official/dotfiles.git 11 | ``` 12 | 13 | Copy my configs: 14 | 15 | ```bash 16 | cp -r dotfiles/.config/scrot ~/.config 17 | ``` 18 | 19 | And make it excutable script: 20 | 21 | ```bash 22 | chmod +x screenshot 23 | ``` 24 | 25 | # KeyMap 26 | 27 | | Key | Action | 28 | | ------------------------------------| -----------------------------------| 29 | | **mod + s** | Screenshot | 30 | | **mod + shift + s** | Screenshot Selected Area | 31 | | **mod + control + shift + s** | Screenshot Focus Window | 32 | 33 | -------------------------------------------------------------------------------- /.config/scrot/screenshot: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | output='/home/ali/Pictures/Screenshots/%Y-%m-%d-%T-screenshot.png' 3 | 4 | case "$1" in 5 | "select") scrot "$output" --select --line mode=edge || exit ;; 6 | "window") scrot "$output" --focused --border || exit ;; 7 | *) scrot "$output" || exit ;; 8 | esac 9 | 10 | notify-send "Screenshot taken." 11 | -------------------------------------------------------------------------------- /.local/bin/README.md: -------------------------------------------------------------------------------- 1 | If you not downloaded yet my repository: 2 | 3 | ```bash 4 | git clone https://github.com/igmt-official/dotfiles.git 5 | ``` 6 | 7 | Copy my configs: 8 | 9 | ```bash 10 | cp -r dotfiles/.local/bin ~/.local 11 | ``` 12 | 13 | Make sure you already did this **[Guide](https://github.com/igmt-official/dotfiles#custom-script)**. 14 | -------------------------------------------------------------------------------- /.local/bin/changevolume: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | function send_notification() { 4 | volume=$(pamixer --get-volume) 5 | dunstify -a "changevolume" -u low -r "9993" -h int:value:"$volume" -i "volume-$1" "Volume: ${volume}%" -t 2000 6 | } 7 | 8 | case $1 in 9 | up) 10 | # Set the volume on (if it was muted) 11 | pamixer -u 12 | pamixer -i 5 --allow-boost 13 | send_notification $1 14 | ;; 15 | down) 16 | pamixer -u 17 | pamixer -d 5 --allow-boost 18 | send_notification $1 19 | ;; 20 | mute) 21 | pamixer -t 22 | if $(pamixer --get-mute); then 23 | dunstify -i volume-mute -a "changevolume" -t 2000 -r 9993 -u low "Muted" 24 | else 25 | send_notification up 26 | fi 27 | ;; 28 | esac 29 | -------------------------------------------------------------------------------- /.local/bin/screenshot: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | output='/home/ali/Pictures/Screenshots/%Y-%m-%d-%T-screenshot.png' 3 | 4 | case "$1" in 5 | "select") scrot "$output" --select --line mode=edge || exit ;; 6 | "window") scrot "$output" --focused --border || exit ;; 7 | *) scrot "$output" || exit ;; 8 | esac 9 | 10 | notify-send "Screenshot taken." 11 | -------------------------------------------------------------------------------- /.local/bin/wifimenu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Starts a scan of available broadcasting SSIDs 4 | # nmcli dev wifi rescan 5 | notify-send "Getting list of available Wi-Fi networks..." 6 | wifi_list=$(nmcli --fields "SECURITY,SSID" device wifi list | sed 1d | sed 's/ */ /g' | sed -E "s/WPA*.?\S/ /g" | sed "s/^--/ /g" | sed "s/ //g" | sed "/--/d") 7 | # Gives a list of known connections so we can parse it later 8 | 9 | connected=$(nmcli -fields WIFI g) 10 | if [[ "$connected" =~ "enabled" ]]; then 11 | toggle="睊 Disable Wi-Fi" 12 | elif [[ "$connected" =~ "disabled" ]]; then 13 | toggle="直 Enable Wi-Fi" 14 | fi 15 | 16 | chosen_network=$(echo -e "$toggle\n$wifi_list" | uniq -u | rofi -dmenu -i -selected-row 1 -p "Wi-Fi SSID: " ) 17 | chosen_id=$(echo "${chosen_network:3}" | xargs) 18 | 19 | # Parses the list of preconfigured connections to see if it already contains the chosen SSID. This speeds up the connection process 20 | if [ "$chosen_network" = "" ]; then 21 | exit 22 | elif [ "$chosen_network" = "直 Enable Wi-Fi" ]; then 23 | nmcli radio wifi on 24 | elif [ "$chosen_network" = "睊 Disable Wi-Fi" ]; then 25 | nmcli radio wifi off 26 | else 27 | # Message to show when connection is activated successfully 28 | success_message="You are now connected to the Wi-Fi network \"$chosen_id\"." 29 | # Get known connections 30 | saved_connections=$(nmcli -g NAME connection) 31 | if [[ $(echo "$saved_connections" | grep -w "$chosen_id") = "$chosen_id" ]]; then 32 | nmcli connection up id "$chosen_id" | grep "successfully" && notify-send "Connection Established" "$success_message" 33 | else 34 | if [[ "$chosen_network" =~ "" ]]; then 35 | wifi_password=$(rofi -dmenu -p "Password: " ) 36 | fi 37 | nmcli device wifi connect "$chosen_id" password "$wifi_password" | grep "successfully" && notify-send "Connection Established" "$success_message" 38 | fi 39 | fi 40 | -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Italic Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Bold Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Bold Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtBd Ita Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Extra Bold Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExBd I Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono ExtraBold ExtBd Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Italic Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Italic Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Italic Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Italic Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Italic Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Italic Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Italic Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Italic Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Italic Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Med Ita Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Medium Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Medium Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Medium Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Regular Nerd Font Complete Mono Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Regular Nerd Font Complete Mono Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Regular Nerd Font Complete Mono.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Regular Nerd Font Complete Mono.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Regular Nerd Font Complete Windows Compatible.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Regular Nerd Font Complete Windows Compatible.ttf -------------------------------------------------------------------------------- /.local/share/fonts/JetBrains Mono Regular Nerd Font Complete.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/igmt-official/dotfiles/f44c04b4ed8aad95842cb6bc9a71004e5b918625/.local/share/fonts/JetBrains Mono Regular Nerd Font Complete.ttf -------------------------------------------------------------------------------- /.xinitrc: -------------------------------------------------------------------------------- 1 | xrandr --output LVDS-1 --off --output VGA-1 --off --output HDMI-1 --primary --mode 1920x1080 --pos 1366x0 --rotate normal --output DP-1 --off % 2 | exec qtile start 3 | --------------------------------------------------------------------------------