├── Network-Manager-Config └── NetManagerDM.ini ├── README.md ├── alacritty ├── alacritty.toml ├── font.toml └── themes │ ├── colors-gruvbox.toml │ ├── colors-nord.toml │ └── colors-oxide.toml ├── asciiart ├── blocks1 ├── burger ├── colorbars ├── crunchbang ├── elfman ├── invader-fire-flower-m ├── kaisen ├── mario-xs ├── pacman ├── pacman-ghosts-l ├── pinguco ├── pizza ├── rupees ├── skullys ├── skullz ├── taco ├── zfetch └── zwaves ├── bin ├── Mediacontrol ├── audiomicmute ├── backlight ├── backlight-bspwm ├── blur-lock ├── colorscript ├── dmenu-bluetooth ├── dmenu-netman ├── dmenupass ├── dmenuunicode ├── dwmbar ├── dwmbar.save ├── ifinstalled ├── lfrun ├── maimshot ├── mounter ├── musicup ├── pagalnew ├── pmenu ├── powermenu ├── pulsedaemon ├── rofi-wifi-menu ├── setbg ├── sshot ├── statusbar │ ├── sb-battery │ ├── sb-clock │ ├── sb-cpu │ ├── sb-cpubars │ ├── sb-disk │ ├── sb-doppler │ ├── sb-forecast │ ├── sb-help-icon │ ├── sb-internet │ ├── sb-iplocate │ ├── sb-kbselect │ ├── sb-mailbox │ ├── sb-memory │ ├── sb-mic │ ├── sb-moonphase │ ├── sb-mpdup │ ├── sb-music │ ├── sb-nettraf │ ├── sb-news │ ├── sb-pacpackages │ ├── sb-popupgrade │ ├── sb-price │ ├── sb-tasks │ ├── sb-torrent │ └── sb-volume ├── sysfetch ├── td-toggle ├── unmounter ├── volume ├── volume-bspwm └── xwp ├── cava ├── config └── shaders │ ├── bar_spectrum.frag │ ├── northern_lights.frag │ └── pass_through.vert ├── chars ├── emoji └── font-awesome ├── dunst ├── dunstrc ├── dunstrc-everforest ├── dunstrc-nord ├── dunstrc-onedark └── dunstrc-tokyonight ├── eww ├── dashboard │ ├── eww.scss │ ├── eww.yuck │ ├── images │ │ ├── bg.png │ │ ├── icons │ │ │ ├── code.svg │ │ │ ├── discord.svg │ │ │ ├── files.svg │ │ │ ├── firefox.svg │ │ │ ├── geany.svg │ │ │ ├── gimp.svg │ │ │ ├── neovim.svg │ │ │ ├── telegram.svg │ │ │ ├── terminal.svg │ │ │ └── virtualbox.svg │ │ ├── music.png │ │ └── profile.jpg │ ├── launch_dashboard │ └── scripts │ │ ├── mails │ │ ├── music_info │ │ ├── open_apps │ │ ├── open_folders │ │ ├── open_links │ │ ├── sys_info │ │ └── weather_info ├── eww.scss └── eww.yuck ├── fastfetch ├── config.jsonc └── logo.txt ├── firefox ├── chrome │ ├── README.md │ └── userChrome.css └── startup-page │ ├── app.css │ ├── assets │ ├── background.jpg │ ├── icons │ │ ├── Dark │ │ │ ├── 01d.png │ │ │ ├── 01n.png │ │ │ ├── 02d.png │ │ │ ├── 02n.png │ │ │ ├── 03d.png │ │ │ ├── 03n.png │ │ │ ├── 04d.png │ │ │ ├── 04n.png │ │ │ ├── 09d.png │ │ │ ├── 09n.png │ │ │ ├── 10d.png │ │ │ ├── 10n.png │ │ │ ├── 11d.png │ │ │ ├── 11n.png │ │ │ ├── 13d.png │ │ │ ├── 13n.png │ │ │ ├── 50d.png │ │ │ ├── 50n.png │ │ │ └── unknown.png │ │ ├── Nord │ │ │ ├── 01d.png │ │ │ ├── 01n.png │ │ │ ├── 02d.png │ │ │ ├── 02n.png │ │ │ ├── 03d.png │ │ │ ├── 03n.png │ │ │ ├── 04d.png │ │ │ ├── 04n.png │ │ │ ├── 09d.png │ │ │ ├── 09n.png │ │ │ ├── 10d.png │ │ │ ├── 10n.png │ │ │ ├── 11d.png │ │ │ ├── 11n.png │ │ │ ├── 13d.png │ │ │ ├── 13n.png │ │ │ ├── 50d.png │ │ │ ├── 50n.png │ │ │ └── unknown.png │ │ ├── OneDark │ │ │ ├── 01d.png │ │ │ ├── 01n.png │ │ │ ├── 02d.png │ │ │ ├── 02n.png │ │ │ ├── 03d.png │ │ │ ├── 03n.png │ │ │ ├── 04d.png │ │ │ ├── 04n.png │ │ │ ├── 09d.png │ │ │ ├── 09n.png │ │ │ ├── 10d.png │ │ │ ├── 10n.png │ │ │ ├── 11d.png │ │ │ ├── 11n.png │ │ │ ├── 13d.png │ │ │ ├── 13n.png │ │ │ ├── 50d.png │ │ │ ├── 50n.png │ │ │ └── unknown.png │ │ ├── White │ │ │ ├── 01d.png │ │ │ ├── 01n.png │ │ │ ├── 02d.png │ │ │ ├── 02n.png │ │ │ ├── 03d.png │ │ │ ├── 03n.png │ │ │ ├── 04d.png │ │ │ ├── 04n.png │ │ │ ├── 09d.png │ │ │ ├── 09n.png │ │ │ ├── 10d.png │ │ │ ├── 10n.png │ │ │ ├── 11d.png │ │ │ ├── 11n.png │ │ │ ├── 13d.png │ │ │ ├── 13n.png │ │ │ ├── 50d.png │ │ │ ├── 50n.png │ │ │ └── unknown.png │ │ └── favicon.svg │ └── js │ │ ├── buttons.js │ │ ├── greeting.js │ │ ├── layout.js │ │ ├── lists.js │ │ ├── theme.js │ │ ├── time.js │ │ └── weather.js │ ├── config.js │ └── index.html ├── gtk-3.0 └── settings.ini ├── i3 ├── autostart.sh ├── config ├── rules.conf ├── scripts │ ├── battery │ ├── blur-lock │ ├── date │ ├── hdd │ ├── internet │ ├── nettraff │ ├── powermenu │ ├── volume │ └── weather └── themes │ └── gruvbox │ ├── gruvbox.conf │ └── i3-block-gruvbox.conf ├── icons ├── brightness-dunst.svg ├── volume-high.svg ├── volume-low.svg ├── volume-medium.svg └── volume-mute.svg ├── jgmenu └── jgmenurc ├── kitty ├── kitty.conf └── themes │ ├── gruvmaterial-kitty.conf │ ├── nord-kitty.conf │ ├── rose_pine-kitty.conf │ ├── solarized_osaka-kitty.conf │ ├── teal-kitty.conf │ └── tokyonight_night.conf ├── lf ├── cleaner ├── icons ├── lfrc └── preview ├── mpd ├── log ├── mpd.conf ├── mpd.db └── mpdstate ├── mpv ├── fonts │ ├── uosc_icons.otf │ └── uosc_textures.ttf ├── mpv.conf ├── script-opts │ └── uosc.conf └── scripts │ └── uosc │ ├── bin │ ├── ziggy-darwin │ ├── ziggy-linux │ └── ziggy-windows.exe │ ├── char-conv │ └── zh.json │ ├── elements │ ├── BufferingIndicator.lua │ ├── Button.lua │ ├── Controls.lua │ ├── Curtain.lua │ ├── CycleButton.lua │ ├── Element.lua │ ├── Elements.lua │ ├── Menu.lua │ ├── PauseIndicator.lua │ ├── Speed.lua │ ├── Timeline.lua │ ├── TopBar.lua │ ├── Updater.lua │ ├── Volume.lua │ └── WindowBorder.lua │ ├── intl │ ├── de.json │ ├── es.json │ ├── fr.json │ ├── ro.json │ ├── ru.json │ ├── uk.json │ └── zh-hans.json │ ├── lib │ ├── ass.lua │ ├── char_conv.lua │ ├── cursor.lua │ ├── intl.lua │ ├── menus.lua │ ├── std.lua │ ├── text.lua │ └── utils.lua │ └── main.lua ├── ncmpcpp ├── config └── error.log ├── nvim ├── .stylua.toml ├── after │ └── queries │ │ └── ecma │ │ └── textobjects.scm ├── init.lua └── lua │ └── craftzcat │ ├── core │ ├── autocmds.lua │ ├── init.lua │ ├── keymaps.lua │ └── options.lua │ ├── lazy_init.lua │ ├── plugins │ ├── alpha.lua │ ├── auto-session.lua │ ├── autopairs.lua │ ├── bufferline.lua │ ├── colorscheme.lua │ ├── comment.lua │ ├── dressing.lua │ ├── formatting.lua │ ├── gitsigns.lua │ ├── harpoon.lua │ ├── incline.lua │ ├── indent-blankline.lua │ ├── init.lua │ ├── lazygit.lua │ ├── linting.lua │ ├── lsp │ │ ├── lspconfig.lua │ │ └── mason.lua │ ├── lualine.lua │ ├── mini-animate.lua │ ├── mini-hipatterns.lua │ ├── mini-indentscope.lua │ ├── noice.lua │ ├── notify.lua │ ├── nvim-cmp.lua │ ├── nvim-maximizer.lua │ ├── nvim-tree.lua │ ├── nvim-treesitter-text-objects.lua │ ├── nvim-treesitter.lua │ ├── substitute.lua │ ├── surround.lua │ ├── telescope.lua │ ├── todo-comment.lua │ ├── trouble.lua │ ├── undotree.lua │ └── which-key.lua │ └── utils │ └── discipline.lua ├── picom └── picom.conf ├── polybar ├── bspwm │ ├── launch.sh │ └── styles │ │ └── config-underline.ini ├── herbstluftwm │ ├── config.ini │ ├── launch.sh │ └── styles │ │ └── config-underline.ini └── kabinspace │ ├── config.ini │ ├── launch.sh │ └── scripts │ ├── get_spotify_status.sh │ └── scroll_spotify_status.sh ├── qtile ├── __pycache__ │ ├── colors.cpython-312.pyc │ ├── config.cpython-312.pyc │ ├── spotify.cpython-312.pyc │ └── unicodes.cpython-312.pyc ├── autostart.sh ├── colors.py ├── config.py ├── icons │ ├── arch.png │ └── void.png ├── scripts │ └── vol-helper └── spotify.py ├── ranger ├── colorschemes │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.opt-1.pyc │ │ ├── __init__.cpython-311.pyc │ │ ├── default.cpython-310.opt-1.pyc │ │ └── default.cpython-311.pyc │ └── default.py ├── plugins │ ├── __init__.py │ ├── __pycache__ │ │ ├── __init__.cpython-310.opt-1.pyc │ │ └── __init__.cpython-311.pyc │ └── ranger_devicons │ │ ├── __init__.py │ │ ├── __pycache__ │ │ ├── __init__.cpython-310.opt-1.pyc │ │ ├── __init__.cpython-311.pyc │ │ ├── devicons.cpython-310.opt-1.pyc │ │ └── devicons.cpython-311.pyc │ │ └── devicons.py ├── rc.conf ├── rifle.conf └── scope.sh ├── rofi ├── NetworkManager │ ├── NetManagerDM.ini │ ├── NetManagerDM.rasi │ └── shared.rasi ├── applets │ ├── bin │ │ ├── appasroot.sh │ │ ├── apps.sh │ │ ├── battery.sh │ │ ├── brightness.sh │ │ ├── mpd.sh │ │ ├── powermenu.sh │ │ ├── quicklinks.sh │ │ ├── screenshot.sh │ │ └── volume.sh │ ├── shared │ │ ├── colors.rasi │ │ ├── fonts.rasi │ │ └── theme.bash │ ├── type-1 │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ └── style-3.rasi │ ├── type-2 │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ └── style-3.rasi │ ├── type-3 │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ └── style-3.rasi │ ├── type-4 │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ └── style-3.rasi │ └── type-5 │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ └── style-3.rasi ├── colors │ ├── adapta.rasi │ ├── arc.rasi │ ├── black.rasi │ ├── catppuccin.rasi │ ├── cyberpunk.rasi │ ├── dracula.rasi │ ├── everforest.rasi │ ├── gruvbox.rasi │ ├── gruvmaterial.rasi │ ├── lovelace.rasi │ ├── navy.rasi │ ├── nord.rasi │ ├── onedark.rasi │ ├── paper.rasi │ ├── solarized.rasi │ ├── tokyonight.rasi │ └── yousai.rasi ├── config.rasi ├── images │ ├── a.png │ ├── b.png │ ├── c.png │ ├── d.png │ ├── e.jpg │ ├── f.png │ ├── flowers-1.png │ ├── flowers-2.png │ ├── flowers-3.png │ ├── g.png │ ├── gradient.png │ ├── h.jpg │ ├── i.jpg │ ├── j.jpg │ ├── paper.png │ └── user.jpeg ├── launchers │ ├── type-1 │ │ ├── launcher.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-10.rasi │ │ ├── style-11.rasi │ │ ├── style-12.rasi │ │ ├── style-13.rasi │ │ ├── style-14.rasi │ │ ├── style-15.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 │ ├── type-2 │ │ ├── launcher.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-10.rasi │ │ ├── style-11.rasi │ │ ├── style-12.rasi │ │ ├── style-13.rasi │ │ ├── style-14.rasi │ │ ├── style-15.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 │ ├── type-3 │ │ ├── launcher.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-10.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 │ ├── type-4 │ │ ├── launcher.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-10.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 │ ├── type-5 │ │ ├── launcher.sh │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ ├── style-3.rasi │ │ ├── style-4.rasi │ │ └── style-5.rasi │ ├── type-6 │ │ ├── launcher.sh │ │ ├── style-1.rasi │ │ ├── style-10.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 │ └── type-7 │ │ ├── launcher.sh │ │ ├── style-1.rasi │ │ ├── style-10.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 ├── powermenu │ ├── type-1 │ │ ├── powermenu.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ ├── style-3.rasi │ │ ├── style-4.rasi │ │ └── style-5.rasi │ ├── type-2 │ │ ├── powermenu.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-10.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 │ ├── type-3 │ │ ├── powermenu.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ ├── confirm.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ ├── style-3.rasi │ │ ├── style-4.rasi │ │ └── style-5.rasi │ ├── type-4 │ │ ├── powermenu.sh │ │ ├── shared │ │ │ ├── colors.rasi │ │ │ ├── confirm.rasi │ │ │ └── fonts.rasi │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ ├── style-3.rasi │ │ ├── style-4.rasi │ │ └── style-5.rasi │ ├── type-5 │ │ ├── powermenu.sh │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ ├── style-3.rasi │ │ ├── style-4.rasi │ │ └── style-5.rasi │ └── type-6 │ │ ├── powermenu.sh │ │ ├── style-1.rasi │ │ ├── style-2.rasi │ │ ├── style-3.rasi │ │ ├── style-4.rasi │ │ └── style-5.rasi └── scripts │ ├── launcher_t1 │ ├── launcher_t2 │ ├── launcher_t3 │ ├── launcher_t4 │ ├── launcher_t5 │ ├── launcher_t6 │ ├── launcher_t7 │ ├── powermenu_t1 │ ├── powermenu_t2 │ ├── powermenu_t3 │ ├── powermenu_t4 │ ├── powermenu_t5 │ └── powermenu_t6 ├── shell ├── bm-dirs ├── inputrc └── profile ├── spicetify ├── Extensions │ └── adblock.js └── Themes │ └── Dribbblish │ ├── assets │ └── glue-resources │ │ └── fonts │ │ ├── GoogleSansDisplayMedium.woff2 │ │ ├── GoogleSansDisplayRegular.woff2 │ │ ├── Roboto.woff2 │ │ └── RobotoMedium.woff2 │ ├── color.ini │ ├── theme.js │ └── user.css ├── starship └── starship.toml ├── statusbar-catppuccin ├── sb-battery ├── sb-brightness ├── sb-clock ├── sb-cpu ├── sb-internet ├── sb-pacupdate ├── sb-ram ├── sb-volume └── sb-weather ├── sxhkd └── sxhkdrc ├── wal ├── postrun └── templates │ ├── dunstrc │ └── zathurarc ├── wezterm ├── colors │ ├── solarized-osaka.toml │ └── tokyonight-night.toml └── wezterm.lua ├── wget └── wgetrc ├── x11 ├── xinitrc ├── xprofile └── xresources ├── xorg-conf └── 30-touchpad.conf ├── zathura ├── zathurarc └── zathurarc.bak └── zsh ├── .zshrc └── zcompdump /Network-Manager-Config/NetManagerDM.ini: -------------------------------------------------------------------------------- 1 | [dmenu] 2 | dmenu_command = dmenu -l 20 -g 1 3 | highlight = True 4 | compact = True 5 | wifi_chars = ▂▄▆█ 6 | format = {name} {bars} 7 | 8 | [dmenu_passphrase] 9 | # # Uses the -password flag for Rofi, -x for bemenu. For dmenu, sets -nb and 10 | # # -nf to the same color or uses -P if the dmenu password patch is applied 11 | # # https://tools.suckless.org/dmenu/patches/password/ 12 | # obscure = True 13 | # obscure_color = #222222 14 | 15 | [pinentry] 16 | # description = (Default: Get network password) 17 | # prompt = (Default: Password:) 18 | 19 | [editor] 20 | terminal = kitty 21 | gui_if_available = True 22 | 23 | [nmdm] 24 | # rescan_delay = # (seconds to wait after a wifi rescan before redisplaying the results) 25 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # My dot files for programs & wm(s) 2 | -------------------------------------------------------------------------------- /alacritty/font.toml: -------------------------------------------------------------------------------- 1 | [font] 2 | size = 8.0 3 | 4 | [font.normal] 5 | family = "Hermit" 6 | style = "Regular" 7 | 8 | [font.bold] 9 | family = "Hermit" 10 | style = "Bold" 11 | 12 | [font.bold_italic] 13 | family = "Hermit" 14 | style = "Bold Italic" 15 | 16 | [font.italic] 17 | family = "Hermit" 18 | style = "Italic" 19 | 20 | 21 | -------------------------------------------------------------------------------- /alacritty/themes/colors-gruvbox.toml: -------------------------------------------------------------------------------- 1 | # Colors (Gruvbox dark) 2 | 3 | # Default colors 4 | [colors.primary] 5 | background = '#1d2021' 6 | foreground = '#ebdbb2' 7 | 8 | # Normal colors 9 | [colors.normal] 10 | black = '#282828' 11 | red = '#cc241d' 12 | green = '#98971a' 13 | yellow = '#d79921' 14 | blue = '#458588' 15 | magenta = '#b16286' 16 | cyan = '#689d6a' 17 | white = '#a89984' 18 | 19 | # Bright colors 20 | [colors.bright] 21 | black = '#928374' 22 | red = '#fb4934' 23 | green = '#b8bb26' 24 | yellow = '#fabd2f' 25 | blue = '#83a598' 26 | magenta = '#d3869b' 27 | cyan = '#8ec07c' 28 | -------------------------------------------------------------------------------- /alacritty/themes/colors-nord.toml: -------------------------------------------------------------------------------- 1 | [colors.primary] 2 | background = "#2e3440" 3 | foreground = "#d8dee9" 4 | dim_foreground = "#a5abb6" 5 | 6 | [colors.cursor] 7 | text = "#2e3440" 8 | cursor = "#d8dee9" 9 | 10 | [colors.vi_mode_cursor] 11 | text = "#2e3440" 12 | cursor = "#d8dee9" 13 | 14 | [colors.selection] 15 | text = "CellForeground" 16 | background = "#4c566a" 17 | 18 | [colors.search.matches] 19 | foreground = "CellBackground" 20 | background = "#88c0d0" 21 | 22 | 23 | [colors.normal] 24 | black = "#3b4252" 25 | red = "#bf616a" 26 | green = "#a3be8c" 27 | yellow = "#ebcb8b" 28 | blue = "#81a1c1" 29 | magenta = "#b48ead" 30 | cyan = "#88c0d0" 31 | white = "#e5e9f0" 32 | 33 | [colors.bright] 34 | black = "#4c566a" 35 | red = "#bf616a" 36 | green = "#a3be8c" 37 | yellow = "#ebcb8b" 38 | blue = "#81a1c1" 39 | magenta = "#b48ead" 40 | cyan = "#8fbcbb" 41 | white = "#eceff4" 42 | 43 | [colors.dim] 44 | black = "#373e4d" 45 | red = "#94545d" 46 | green = "#809575" 47 | yellow = "#b29e75" 48 | blue = "#68809a" 49 | magenta = "#8c738c" 50 | cyan = "#6d96a5" 51 | white = "#aeb3bb" 52 | -------------------------------------------------------------------------------- /alacritty/themes/colors-oxide.toml: -------------------------------------------------------------------------------- 1 | # Colors (oxide) 2 | 3 | [colors.primary] 4 | background = "#000000" 5 | foreground = "#eeeeee" 6 | 7 | [colors.normal] 8 | black = "#1b1d1e" 9 | red = "#d84949" 10 | green = "#5f875f" 11 | yellow = "#737074" 12 | blue = "#005f87" 13 | magenta = "#737271" 14 | cyan = "#008080" 15 | white = "#c5c5be" 16 | 17 | [colors.bright] 18 | black = "#505354" 19 | red = "#d84949" 20 | green = "#5f875f" 21 | yellow = "#909495" 22 | blue = "#005f87" 23 | magenta = "#9a999d" 24 | cyan = "#008080" 25 | white = "#dadad5" 26 | -------------------------------------------------------------------------------- /asciiart/blocks1: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | pcs() { for i in {0..7}; do echo -en "\e[${1}$((30+$i))m \u2588\u2588 \e[0m"; done; } 3 | pcsbright() { for i in {0..7}; do echo -en "\e[${1}$((90+$i))m \u2588\u2588 \e[0m"; done; } 4 | printf "\n%s\n%s\n\n" "$(pcs)" "$(pcsbright '1;')" 5 | 6 | -------------------------------------------------------------------------------- /asciiart/colorbars: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # colorbars - smpte color bars in sh 4 | # http://git.io/colorbars 5 | 6 | echo 7 | 8 | for y in $(seq 0 13); do 9 | printf %s ' ' 10 | for color in 7 3 6 2 5 1 4; do 11 | tput setab ${color} 12 | printf %s ' ' 13 | done 14 | tput sgr0 15 | echo 16 | done 17 | 18 | for y in 0 1; do 19 | printf %s ' ' 20 | for color in 4 0 5 0 6 0 7; do 21 | tput setab ${color} 22 | printf %s ' ' 23 | done 24 | tput sgr0 25 | echo 26 | done 27 | 28 | for y in $(seq 0 4); do 29 | printf %s ' ' 30 | for color in 4 4 4 4 4 7 7 7 7 7 5 5 5 5 5 0 0 0 0 0 0 0 0 0 0 0 0 0; do 31 | tput setab ${color} 32 | printf %s ' ' 33 | done 34 | tput sgr0 35 | echo 36 | done 37 | 38 | echo -------------------------------------------------------------------------------- /asciiart/mario-xs: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Mario 4 | # 5 | # Author: Rob O'Leary 6 | 7 | f=3 b=4 8 | 9 | for j in f b; do 10 | for i in {0..7}; do 11 | printf -v $j$i %b "\e[${!j}${i}m" 12 | done 13 | done 14 | 15 | for i in {0..7}; do 16 | printf -v g$i %b "\e[9${i}m" 17 | done 18 | 19 | bd=$'\e[1m' 20 | rt=$'\e[0m' 21 | iv=$'\e[7m' 22 | 23 | # █ ■ ▄ ▀ ▐ ▌ ▬ ▓ ▒ ░ ● ═ ║ ╔ ╦ ╗ ╚ ╩ ╝ ▲ ▼ ◄ ► 24 | # ◐ ◑ ◒ ◓ ͻ ͼ ͽ Δ Ѻ ∟ ┌ ┐└ ┘┘ 25 | 26 | # colors: 27 | # f0=black, f1=red, f2=green, f3=yellow, f4=blue 28 | # f5=magenta, f6=cyan, f7=white 29 | # g0=bright black, g1=bright red, g2=bright green, g3=bright yellow, 30 | # g4=bright blue, g5=bright magneta, g6=bright cyan, f7=bright white 31 | 32 | cat << EOF 33 | 34 | ${g3} ██████ 35 | ${f1} ████████ ${g3}██████ 36 | ${f1} ████████████████${g3}████ 37 | ${g0} ████${g3}████${g0}██${g3}█ ${g0}███████ 38 | ${g0} ██${g3}█${g0}██${g3}██████${g0}██${g3}████${g0}██████ 39 | ${g0} ██${g3}██${g0}███${g3}██████${g0}██${g3}████${g0}████ 40 | ${g0} ███${g3}████████${g0}████████ 41 | ${g3} █████████████${g0}██ 42 | ${g0} ████████${f1}██${g0}█████${f1}██${g0}██ 43 | ${g0} ████████████${f1}██${g0}█████${f1}██ ${g0}██ 44 | ${g3}████${g0}█████████${f1}█████████ ${g0}██ 45 | ${g3}█████ ${f1}██${g0}██${f1}███${g3}██${f1}██${g3}██${f1}███${g0}█████ 46 | ${g3} ██ ${g0}██ ${f1}█████████████████${g0}█████ 47 | ${g0} ██████${f1}█████████████████${g0}█████ 48 | ${g0}█████${f1}█████████████ 49 | ${g0}██ ${f1}██████${rt} 50 | 51 | EOF 52 | 53 | 54 | 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /asciiart/pacman-ghosts-l: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Pacman ghosts 4 | # 5 | # Author: Rob O'Leary 6 | # 7 | 8 | f=3 b=4 9 | 10 | for j in f b; do 11 | for i in {0..7}; do 12 | printf -v $j$i %b "\e[${!j}${i}m" 13 | done 14 | done 15 | 16 | for i in {0..7}; do 17 | printf -v g$i %b "\e[9${i}m" 18 | done 19 | 20 | bd=$'\e[1m' 21 | rt=$'\e[0m' 22 | iv=$'\e[7m' 23 | 24 | 25 | cat << EOF 26 | 27 | $f1 ██████ $f3 ██████ $f6 ██████ $f5 ██████ 28 | $f1 ██████████ $f3 ██████████ $f6 ██████████ $f5 ██████████ 29 | $f1██████████████ $f3██████████████ $f6██████████████ $f5██████████████ 30 | $f1██$f7████$f1██$f7████$f1██ $f3██$f7████$f3██$f7████$f3██ $f6██$f7█$f0██$f7█$f6██$f7█$f0██$f7█$f6██ $f5██$f7████$f5██$f7████$f5██ 31 | $f1██$f7█$f0██$f7█$f1██$f7█$f0██$f7█$f1██ $f3██$f7██$f0██$f3██$f7██$f0██$f3██ $f6██$f7████$f6██$f7████$f6██ $f5██$f0██$f7██$f5██$f0██$f7██$f5██ 32 | $f1██████████████ $f3██████████████ $f6██████████████ $f5██████████████ 33 | $f1██████████████ $f3██████████████ $f6██████████████ $f5██████████████ 34 | $f1██ ██ ██ ██ $f3██ ██ ██ ██ $f6██ ██ ██ ██ $f5██ ██ ██ ██$rt 35 | 36 | EOF 37 | -------------------------------------------------------------------------------- /asciiart/pinguco: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Author: lantlos 3 | 4 | initializeANSI() 5 | { 6 | esc="" 7 | 8 | blackf="${esc}[30m"; redf="${esc}[31m"; greenf="${esc}[32m" 9 | yellowf="${esc}[33m" bluef="${esc}[34m"; purplef="${esc}[35m" 10 | cyanf="${esc}[36m"; whitef="${esc}[37m" 11 | 12 | blackb="${esc}[40m"; redb="${esc}[41m"; greenb="${esc}[42m" 13 | yellowb="${esc}[43m" blueb="${esc}[44m"; purpleb="${esc}[45m" 14 | cyanb="${esc}[46m"; whiteb="${esc}[47m" 15 | 16 | boldon="${esc}[1m"; boldoff="${esc}[22m" 17 | italicson="${esc}[3m"; italicsoff="${esc}[23m" 18 | ulon="${esc}[4m"; uloff="${esc}[24m" 19 | invon="${esc}[7m"; invoff="${esc}[27m" 20 | 21 | reset="${esc}[0m" 22 | } 23 | 24 | initializeANSI 25 | 26 | cat << EOF 27 | 28 | ${boldon}${blackf} ██████${reset} 29 | ${boldon}${blackf}██${reset}██${reset}${bluef}██${reset}${boldon}${blackf}██${reset}${bluef}██${reset} 30 | ${boldon}${blackf}██${reset}██${bluef}██${reset}${boldon}${blackf}██${reset}${bluef}██${reset} 31 | ${boldon}${blackf}██████${reset}${purplef}██████${reset} 32 | ${boldon}${blackf}████${reset}████${boldon}${blackf}██${reset} 33 | ${boldon}${blackf}████${reset}████████${boldon}${blackf}██${reset} 34 | ${boldon}${blackf}████${reset}████████${boldon}${blackf}██${reset} 35 | ${boldon}${blackf}████${reset}████████${boldon}${blackf}██${reset} 36 | ${boldon}${blackf}████${reset}████${boldon}${blackf}██${reset} 37 | ${boldon}${blackf}███${reset}${purplef}███ ████${reset} 38 | 39 | EOF 40 | -------------------------------------------------------------------------------- /asciiart/skullys: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # ██ ██ ██ 3 | # ░██ ░██ ░██ 4 | # ██████░██ ██ ██ ██ ░██ ░██ ██████ 5 | # ██░░░░ ░██ ██ ░██ ░██ ░██ ░██ ██░░░░ 6 | # ░░█████ ░████ ░██ ░██ ░██ ░██░░█████ 7 | # ░░░░░██░██░██ ░██ ░██ ░██ ░██ ░░░░░██ 8 | # ██████ ░██░░██░░██████ ███ ███ ██████ 9 | # ░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ 10 | # 11 | # ANSI color scheme script by pyratebeard 12 | # original `ghosts` script by pfh 13 | # 14 | # Initializing mod by lolilolicon from Archlinux 15 | # 16 | 17 | f=3 b=4 18 | for j in f b; do 19 | for i in {0..7}; do 20 | printf -v $j$i %b "\e[${!j}${i}m" 21 | done 22 | done 23 | bld=$'\e[1m' 24 | rst=$'\e[0m' 25 | inv=$'\e[7m' 26 | cat << EOF 27 | 28 | $f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ 29 | $f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ 30 | $f1 ██ █ ██ $f2 ██ █ ██ $f3 ██ █ ██ $f4 ██ █ ██ $f5 ██ █ ██ $f6 ██ █ ██ 31 | $f1 ███████ $f2 ███████ $f3 ███████ $f4 ███████ $f5 ███████ $f6 ███████ 32 | $f1 █ █ █ $f2 █ █ █ $f3 █ █ █ $f4 █ █ █ $f5 █ █ █ $f6 █ █ █ 33 | $bld 34 | $f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ 35 | $f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ 36 | $f1 ██ █ ██ $f2 ██ █ ██ $f3 ██ █ ██ $f4 ██ █ ██ $f5 ██ █ ██ $f6 ██ █ ██ 37 | $f1 ███████ $f2 ███████ $f3 ███████ $f4 ███████ $f5 ███████ $f6 ███████ 38 | $f1 █ █ █ $f2 █ █ █ $f3 █ █ █ $f4 █ █ █ $f5 █ █ █ $f6 █ █ █ 39 | $rst 40 | EOF 41 | -------------------------------------------------------------------------------- /asciiart/skullz: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # ██ ██ ██ 4 | # ░██ ░██ ░██ 5 | # ██████░██ ██ ██ ██ ░██ ░██ ██████ 6 | # ██░░░░ ░██ ██ ░██ ░██ ░██ ░██░░░░██ 7 | # ░░█████ ░████ ░██ ░██ ░██ ░██ ██ 8 | # ░░░░░██░██░██ ░██ ░██ ░██ ░██ ██ 9 | # ██████ ░██░░██░░██████ ███ ███ ██████ 10 | # ░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░░░░░ 11 | # 12 | # ANSI color scheme script by pyratebeard 13 | # original `ghosts` script by pfh 14 | # 15 | # Initializing mod by lolilolicon from Archlinux 16 | # 17 | 18 | f=3 b=4 19 | for j in f b; do 20 | for i in {0..7}; do 21 | printf -v $j$i %b "\e[${!j}${i}m" 22 | done 23 | done 24 | bld=$'\e[1m' 25 | rst=$'\e[0m' 26 | inv=$'\e[7m' 27 | cat << EOF 28 | 29 | $f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ 30 | $f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ 31 | $f1░██ ░█ ░██ $f2░██ ░█ ░██ $f3░██ ░█ ░██ $f4░██ ░█ ░██ $f5░██ ░█ ░██ $f6░██ ░█ ░██ 32 | $f1░░███████ $f2░░███████ $f3░░███████ $f4░░███████ $f5░░███████ $f6░░███████ 33 | $f1 ░░█░█░█ $f2 ░░█░█░█ $f3 ░░█░█░█ $f4 ░░█░█░█ $f5 ░░█░█░█ $f6 ░░█░█░█ 34 | $f1 ░ ░ ░ $f2 ░ ░ ░ $f3 ░ ░ ░ $f4 ░ ░ ░ $f5 ░ ░ ░ $f6 ░ ░ ░ 35 | $bld 36 | $f1 ▄█████▄ $f2 ▄█████▄ $f3 ▄█████▄ $f4 ▄█████▄ $f5 ▄█████▄ $f6 ▄█████▄ 37 | $f1 ▄███████▄ $f2 ▄███████▄ $f3 ▄███████▄ $f4 ▄███████▄ $f5 ▄███████▄ $f6 ▄███████▄ 38 | $f1░██ ░█ ░██ $f2░██ ░█ ░██ $f3░██ ░█ ░██ $f4░██ ░█ ░██ $f5░██ ░█ ░██ $f6░██ ░█ ░██ 39 | $f1░░███████ $f2░░███████ $f3░░███████ $f4░░███████ $f5░░███████ $f6░░███████ 40 | $f1 ░░█░█░█ $f2 ░░█░█░█ $f3 ░░█░█░█ $f4 ░░█░█░█ $f5 ░░█░█░█ $f6 ░░█░█░█ 41 | $f1 ░ ░ ░ $f2 ░ ░ ░ $f3 ░ ░ ░ $f4 ░ ░ ░ $f5 ░ ░ ░ $f6 ░ ░ ░ 42 | $rst 43 | EOF 44 | -------------------------------------------------------------------------------- /asciiart/zwaves: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # ANSI color scheme script by pfh 4 | # Source: http://crunchbang.org/forums/viewtopic.php?pid=141044#p141044 5 | # Initializing mod by lolilolicon from Archlinux 6 | 7 | 8 | f=3 b=4 9 | for j in f b; do 10 | for i in {0..7}; do 11 | printf -v $j$i %b "\e[${!j}${i}m" 12 | done 13 | done 14 | for i in {0..7}; do 15 | printf -v fbright$i %b "\e[9${i}m" 16 | done 17 | bld=$'\e[1m' 18 | rst=$'\e[0m' 19 | inv=$'\e[7m' 20 | 21 | cat << EOF 22 | 23 | $f1▀■▄ $f2▀■▄ $f3▀■▄ $f4▀■▄ $f5▀■▄ $f6▀■▄ 24 | $bld$fbright1▀■▄ $fbright2▀■▄ $fbright3▀■▄ $fbright4▀■▄ $fbright5▀■▄ $fbright6▀■▄$rst 25 | 26 | EOF 27 | -------------------------------------------------------------------------------- /bin/audiomicmute: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | wpctl set-mute @DEFAULT_SOURCE@ toggle 3 | 4 | mute_val=$(wpctl get-volume @DEFAULT_SOURCE@ | awk -F '[][]' '{print $2}') 5 | 6 | [ $mute_val == "MUTED" ] && dunstify -u low -i "mic-mute" "Mic is muted" && exit 7 | 8 | dunstify -u low -i "mic-unmute" "Mic is unmuted" 9 | -------------------------------------------------------------------------------- /bin/backlight: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Use brillo to naturally adjust laptop screen brightness and send a notification 4 | 5 | send_notification() { 6 | brightness=$(printf "%.0f\n" "$(xbacklight -get)") 7 | dunstify -a "Backlight" -u low -r 9994 -h int:value:"$brightness" -i "brightness-dunst" "Brightness" "Currently at $brightness%" -t 1000 8 | } 9 | 10 | case $1 in 11 | up) 12 | xbacklight -inc 10 13 | send_notification "$1" 14 | ;; 15 | down) 16 | xbacklight -dec 10 17 | send_notification "$1" 18 | ;; 19 | esac 20 | -------------------------------------------------------------------------------- /bin/backlight-bspwm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Use brillo to naturally adjust laptop screen brightness and send a notification 4 | 5 | send_notification() { 6 | brightness=$(printf "%.0f\n" "$(xbacklight -get)") 7 | dunstify -a "Backlight" -u low -r 9994 -h int:value:"$brightness" -i "brightness" "Brightness" "Currently at $brightness%" -t 1000 8 | } 9 | 10 | case $1 in 11 | up) 12 | xbacklight -inc 10 13 | send_notification "$1" 14 | ;; 15 | down) 16 | xbacklight -dec 10 17 | send_notification "$1" 18 | ;; 19 | esac 20 | -------------------------------------------------------------------------------- /bin/blur-lock: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PICTURE=~/wallpapers/gruvbox-wallpapers/anime_skull.png 4 | SCREENSHOT="scrot -z $PICTURE" 5 | 6 | BLUR="5x4" 7 | 8 | $SCREENSHOT 9 | convert $PICTURE -blur $BLUR $PICTURE 10 | i3lock -i $PICTURE 11 | rm $PICTURE 12 | -------------------------------------------------------------------------------- /bin/dmenupass: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script is the SUDO_ASKPASS variable, meaning that it will be used as a 4 | # password prompt if needed. 5 | 6 | dmenu -fn JetBrainsMonoNerdFont-18 -P -p "$1" <&- && echo 7 | -------------------------------------------------------------------------------- /bin/dmenuunicode: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # The famous "get a menu of emojis to copy" script. 4 | 5 | # Get user selection via dmenu from emoji file. 6 | chosen=$(cut -d ';' -f1 ~/.local/share/chars/* | dmenu -i -l 30 | sed "s/ .*//") 7 | 8 | # Exit if none chosen. 9 | [ -z "$chosen" ] && exit 10 | 11 | # If you run this command with an argument, it will automatically insert the 12 | # character. Otherwise, show a message that the emoji has been copied. 13 | if [ -n "$1" ]; then 14 | xdotool type "$chosen" 15 | else 16 | printf "%s" "$chosen" | xclip -selection clipboard 17 | notify-send "'$chosen' copied to clipboard." & 18 | fi 19 | -------------------------------------------------------------------------------- /bin/ifinstalled: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Some optional functions in LARBS require programs not installed by default. I 4 | # use this little script to check to see if a command exists and if it doesn't 5 | # it informs the user that they need that command to continue. This is used in 6 | # various other scripts for clarity's sake. 7 | 8 | for x in "$@"; do 9 | if ! which "$x" >/dev/null 2>&1 && ! pacman -Qq "$x" >/dev/null 2>&1; then 10 | notify-send "📦 $x" "must be installed for this function." && exit 1 ; 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /bin/lfrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This is a wrapper script for lf that allows it to create image previews with 4 | # ueberzug. This works in concert with the lf configuration file and the 5 | # lf-cleaner script. 6 | 7 | set -e 8 | 9 | UB_PID=0 10 | UB_SOCKET="" 11 | 12 | case "$(uname -a)" in 13 | *Darwin*) UEBERZUG_TMP_DIR="$TMPDIR" ;; 14 | *) UEBERZUG_TMP_DIR="/tmp" ;; 15 | esac 16 | 17 | cleanup() { 18 | exec 3>&- 19 | ueberzugpp cmd -s "$UB_SOCKET" -a exit 20 | } 21 | 22 | if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then 23 | lf "$@" 24 | else 25 | [ ! -d "$HOME/.cache/lf" ] && mkdir -p "$HOME/.cache/lf" 26 | UB_PID_FILE="$UEBERZUG_TMP_DIR/.$(uuidgen)" 27 | ueberzugpp layer --silent --no-stdin --use-escape-codes --pid-file "$UB_PID_FILE" 28 | UB_PID=$(cat "$UB_PID_FILE") 29 | rm "$UB_PID_FILE" 30 | UB_SOCKET="$UEBERZUG_TMP_DIR/ueberzugpp-${UB_PID}.socket" 31 | export UB_PID UB_SOCKET 32 | trap cleanup HUP INT QUIT TERM EXIT 33 | lf "$@" 3>&- 34 | fi 35 | -------------------------------------------------------------------------------- /bin/musicup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Signal the statusbar's music block whenever the music player changes state. 3 | # Supports MPRIS-compatible music players and mpd. 4 | 5 | { 6 | playerctl metadata --follow --format "{{title}}{{artist}}{{status}}" & 7 | while ! mpc idleloop 2>/dev/null; do 8 | sleep 1 9 | done 10 | } | while read -r _; do 11 | pkill -RTMIN+2 "$STATUSBAR" 12 | done 13 | -------------------------------------------------------------------------------- /bin/pagalnew: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | printf "Enter the albumname" 4 | 5 | read albumname 6 | 7 | mkdir -p $albumname 8 | 9 | urls=$(curl -s "$1"|grep -oiE "https://pagalnew.com/songs/.*" | cut -d\" -f1 | sort | uniq) 10 | 11 | for url in $urls 12 | do 13 | echo "Downloading $url" 14 | aria2c -d "$albumname" "https://pagalnew.com$(curl -s "$url" | grep "320 KBPS Song Download" | cut -d'"' -f8)" 15 | done 16 | -------------------------------------------------------------------------------- /bin/pmenu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # A dmenu wrapper script for system functions. 4 | export WM="dwm" 5 | case "$(readlink -f /sbin/init)" in 6 | *systemd*) ctl='systemctl' ;; 7 | *) ctl='loginctl' ;; 8 | esac 9 | 10 | wmpid(){ # This function is needed if there are multiple instances of the window manager. 11 | tree="$(pstree -ps $$)" 12 | tree="${tree#*$WM(}" 13 | echo "${tree%%)*}" 14 | } 15 | 16 | case "$(printf "󰌾 lock\n󰴩 leave $WM\n󰑌 renew $WM\n󱣻 hibernate\n reboot\n shutdown\n󰒲 sleep\n󰶐 display off" | dmenu -i -p 'Action: ')" in 17 | '󰌾 lock') slock ;; 18 | "󰴩 leave $WM") kill -TERM "$(wmpid)" ;; 19 | "󰑌 renew $WM") kill -HUP "$(wmpid)" ;; 20 | '󱣻 hibernate') slock $ctl hibernate -i ;; 21 | '󰒲 sleep') slock $ctl suspend -i ;; 22 | ' reboot') $ctl reboot -i ;; 23 | ' shutdown') $ctl poweroff -i ;; 24 | '󰶐 display off') xset dpms force off ;; 25 | *) exit 1 ;; 26 | esac 27 | -------------------------------------------------------------------------------- /bin/pulsedaemon: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # This script should be autostarted with X session 3 | # It signals volume block to update on audio related events 4 | pactl subscribe | 5 | while IFS='' read -r output ; do 6 | case "$output" in 7 | *" sink "*) kill -39 $(pidof dwmblocks) ;; 8 | esac 9 | done 10 | -------------------------------------------------------------------------------- /bin/setbg: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This script does the following: 4 | # Run by itself, set the wallpaper (at X start). 5 | # If given a file, set that as the new wallpaper. 6 | # If given a directory, choose random file in it. 7 | # If wal is installed, also generates a colorscheme. 8 | 9 | # Location of link to wallpaper link. 10 | bgloc="${XDG_DATA_HOME:-$HOME/.local/share}/bg" 11 | 12 | # Configuration files of applications that have their themes changed by pywal. 13 | dunstconf="${XDG_CONFIG_HOME:-$HOME/.config}/dunst/dunstrc" 14 | zathuraconf="${XDG_CONFIG_HOME:-$HOME/.config}/zathura/zathurarc" 15 | 16 | # Give -s as parameter to make notifications silent. 17 | while getopts "s" o; do case "${o}" in 18 | s) silent='1' ;; 19 | esac done 20 | 21 | shift $((OPTIND - 1)) 22 | 23 | trueloc="$(readlink -f "$1")" && 24 | case "$(file --mime-type -b "$trueloc")" in 25 | image/* ) ln -sf "$trueloc" "$bgloc" && [ -z "$silent" ] && notify-send -i "$bgloc" "Changing wallpaper..." ;; 26 | inode/directory ) ln -sf "$(find "$trueloc" -iregex '.*.\(jpg\|jpeg\|png\|gif\)' -type f | shuf -n 1)" "$bgloc" && [ -z "$silent" ] && notify-send -i "$bgloc" "Random Wallpaper chosen." ;; 27 | *) [ -z "$silent" ] && notify-send "🖼️ Error" "Not a valid image or directory." ; exit 1;; 28 | esac 29 | 30 | # If pywal is installed, use it. 31 | if command -v wal >/dev/null 2>&1 ; then 32 | wal -n -i "$(readlink -f $bgloc)" -o "${XDG_CONFIG_HOME:-$HOME/.config}/wal/postrun" >/dev/null 2>&1 33 | # If pywal is removed, return config files to normal. 34 | else 35 | [ -f "$dunstconf.bak" ] && unlink "$dunstconf" && mv "$dunstconf.bak" "$dunstconf" 36 | [ -f "$zathuraconf.bak" ] && unlink "$zathuraconf" && mv "$zathuraconf.bak" "$zathuraconf" 37 | fi 38 | 39 | xwallpaper --zoom "$bgloc" 40 | # If running, dwm hit the key to refresh the color scheme. 41 | pidof dwm >/dev/null && xdotool key super+F1 42 | -------------------------------------------------------------------------------- /bin/statusbar/sb-battery: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Prints all batteries, their percentage remaining and an emoji corresponding 4 | # to charge status ( for plugged up, 󱧥 for discharging on battery, etc.). 5 | 6 | case $BLOCK_BUTTON in 7 | 3) notify-send "󱧥 Battery module" "󱧥 : discharging 8 |  : not charging 9 | 󰑌 : stagnant charge 10 |  : charging 11 | 󱐋 : charged 12 |  : battery very low! 13 | - Scroll to change adjust xbacklight." ;; 14 | 4) xbacklight -inc 10 ;; 15 | 5) xbacklight -dec 10 ;; 16 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 17 | esac 18 | 19 | # Loop through all attached batteries and format the info 20 | for battery in /sys/class/power_supply/BAT?*; do 21 | # If non-first battery, print a space separator. 22 | [ -n "${capacity+x}" ] && printf " " 23 | # Sets up the status and capacity 24 | case "$(cat "$battery/status" 2>&1)" in 25 | "Full") status="󱐋 " ;; 26 | "Discharging") status="󱧥 " ;; 27 | "Charging") status=" " ;; 28 | "Not charging") status=" " ;; 29 | "Unknown") status="󰑌 " ;; 30 | *) exit 1 ;; 31 | esac 32 | capacity="$(cat "$battery/capacity" 2>&1)" 33 | # Will make a warn variable if discharging and low 34 | [ "$status" = "󱧥 " ] && [ "$capacity" -le 25 ] && warn=" " 35 | # Prints the info 36 | printf "%s%s%d%%" "$status" "$warn" "$capacity"; unset warn 37 | done && printf "\\n" 38 | -------------------------------------------------------------------------------- /bin/statusbar/sb-clock: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | clock=$(date '+%I') 4 | 5 | case "$clock" in 6 | "00") icon="󱑊 " ;; 7 | "01") icon="󱐿 " ;; 8 | "02") icon="󱑀 " ;; 9 | "03") icon="󱑁 " ;; 10 | "04") icon="󱑂 " ;; 11 | "05") icon="󱑃 " ;; 12 | "06") icon="󱑄 " ;; 13 | "07") icon="󱑅 " ;; 14 | "08") icon="󱑆 " ;; 15 | "09") icon="󱑇 " ;; 16 | "10") icon="󱑈 " ;; 17 | "11") icon="󱑉 " ;; 18 | "12") icon="󱑊 " ;; 19 | esac 20 | 21 | case $BLOCK_BUTTON in 22 | 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e'|sed 's/ //g')\>/&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; 23 | 2) setsid -f "$TERMINAL" -e calcurse ;; 24 | 3) notify-send " Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` 25 | - Middle click opens calcurse if installed" ;; 26 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 27 | esac 28 | 29 | date "+ %Y %b %d (%a) $icon%I:%M%p" 30 | -------------------------------------------------------------------------------- /bin/statusbar/sb-cpu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case $BLOCK_BUTTON in 4 | 1) notify-send "󰻠 CPU hogs" "$(ps axch -o cmd:15,%cpu --sort=-%cpu | head)\\n(100% per core)" ;; 5 | 2) setsid -f "$TERMINAL" -e htop ;; 6 | 3) notify-send "󰻠 CPU module " "\- Shows CPU temperature. 7 | - Click to show intensive processes. 8 | - Middle click to open htop." ;; 9 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 10 | esac 11 | 12 | sensors | awk '/Tctl/ {print " 󰻠 " $2}' 13 | -------------------------------------------------------------------------------- /bin/statusbar/sb-cpubars: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Module showing CPU load as a changing bars. 4 | # Just like in polybar. 5 | # Each bar represents amount of load on one core since 6 | # last run. 7 | 8 | # Cache in tmpfs to improve speed and reduce SSD load 9 | cache=/tmp/cpubarscache 10 | 11 | case $BLOCK_BUTTON in 12 | 2) setsid -f "$TERMINAL" -e htop ;; 13 | 3) notify-send "🪨 CPU load module" "Each bar represents 14 | one CPU core";; 15 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 16 | esac 17 | 18 | # id total idle 19 | stats=$(awk '/cpu[0-9]+/ {printf "%d %d %d\n", substr($1,4), ($2 + $3 + $4 + $5), $5 }' /proc/stat) 20 | [ ! -f $cache ] && echo "$stats" > "$cache" 21 | old=$(cat "$cache") 22 | printf "🪨" 23 | echo "$stats" | while read -r row; do 24 | id=${row%% *} 25 | rest=${row#* } 26 | total=${rest%% *} 27 | idle=${rest##* } 28 | 29 | case "$(echo "$old" | awk '{if ($1 == id) 30 | printf "%d\n", (1 - (idle - $3) / (total - $2))*100 /12.5}' \ 31 | id="$id" total="$total" idle="$idle")" in 32 | 33 | "0") printf "▁";; 34 | "1") printf "▂";; 35 | "2") printf "▃";; 36 | "3") printf "▄";; 37 | "4") printf "▅";; 38 | "5") printf "▆";; 39 | "6") printf "▇";; 40 | "7") printf "█";; 41 | "8") printf "█";; 42 | esac 43 | done; printf "\\n" 44 | echo "$stats" > "$cache" 45 | -------------------------------------------------------------------------------- /bin/statusbar/sb-disk: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Status bar module for disk space 4 | # $1 should be drive mountpoint, otherwise assumed /. 5 | 6 | location=${1:-/} 7 | 8 | [ -d "$location" ] || exit 9 | 10 | case $BLOCK_BUTTON in 11 | 1) notify-send "💽 Disk space" "$(df -h --output=target,used,size)" ;; 12 | 3) notify-send "💽 Disk module" "\- Shows used hard drive space. 13 | - Click to show all disk info." ;; 14 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 15 | esac 16 | 17 | case "$location" in 18 | "/home"* ) icon="🏠" ;; 19 | "/mnt"* ) icon="💾" ;; 20 | *) icon="🖥";; 21 | esac 22 | 23 | printf "%s: %s\n" "$icon" "$(df -h "$location" | awk ' /[0-9]/ {print $3 "/" $2}')" 24 | -------------------------------------------------------------------------------- /bin/statusbar/sb-help-icon: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # The clickable help menu. Middle click to restart wm. 4 | 5 | # If dwm is running, use dwm's readme and restart. 6 | pidof dwm >/dev/null && 7 | READMEFILE=/usr/local/share/dwm/larbs.mom 8 | restartwm() { pkill -HUP dwm ;} || 9 | restartwm() { i3 restart ;} 10 | 11 | case $BLOCK_BUTTON in 12 | 1) groff -mom "${READMEFILE:-${XDG_DATA_HOME:-$HOME/.local/share}/larbs/readme.mom}" -Tpdf | zathura - ;; 13 | 2) restartwm ;; 14 | 3) notify-send "❓ Help module" "\- Left click to open LARBS guide. 15 | - Middle click to refresh window manager." ;; 16 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 17 | esac; echo "❓" 18 | -------------------------------------------------------------------------------- /bin/statusbar/sb-internet: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Show wifi 󰤨 and percent strength or 󰤉 if none. 4 | # Show  if connected to ethernet or 󰞇 if none. 5 | # Show 󰌾 if a vpn connection is active 6 | 7 | case $BLOCK_BUTTON in 8 | 1) "$TERMINAL" -e nmtui; pkill -RTMIN+4 dwmblocks ;; 9 | 3) notify-send " Internet module" "\- Click to connect 10 | 󰤭 : wifi disabled 11 | 󰤉 : no wifi connection 12 | 󰤨 : wifi connection with quality 13 | 󰞇 : no ethernet 14 |  : ethernet working 15 | 󰌾 : vpn is active 16 | " ;; 17 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 18 | esac 19 | 20 | # Wifi 21 | if [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'up' ] ; then 22 | wifiicon="$(awk '/^\s*w/ { print "󰤨 ", int($3 * 100 / 70) "% " }' /proc/net/wireless)" 23 | elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then 24 | [ "$(cat /sys/class/net/w*/flags 2>/dev/null)" = '0x1003' ] && wifiicon="󰤉 " || wifiicon="󰤭 " 25 | fi 26 | 27 | # Ethernet 28 | [ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon=" " || ethericon="󰞇 " 29 | 30 | # TUN 31 | [ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 󰌾 " 32 | 33 | printf "%s%s%s\n" "$wifiicon" "$ethericon" "$tunicon" 34 | -------------------------------------------------------------------------------- /bin/statusbar/sb-iplocate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Gets your public ip address checks which country you are in and 4 | # displays that information in the statusbar 5 | # 6 | # https://www.maketecheasier.com/ip-address-geolocation-lookups-linux/ 7 | 8 | set -e 9 | 10 | ifinstalled "geoip" 11 | addr="$(geoiplookup "$(curl -sfm 1 ifconfig.me 2>/dev/null)")" 12 | name="${addr##*, }" 13 | flag="$(grep "flag: $name" "${XDG_DATA_HOME:-$HOME/.local/share}/larbs/emoji")" 14 | flag="${flag%% *}" 15 | printf "%s %s\\n" "$flag" "$name" 16 | -------------------------------------------------------------------------------- /bin/statusbar/sb-kbselect: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # works on any init system 3 | # requirements: dmenu, xorg-setxkbmap 4 | kb="$(setxkbmap -query | grep -oP 'layout:\s*\K\w+')" || exit 1 5 | 6 | case $BLOCK_BUTTON in 7 | 1) kb_choice="$(awk '/! layout/{flag=1; next} /! variant/{flag=0} flag {print $2, "- " $1}' /usr/share/X11/xkb/rules/base.lst | dmenu -l 15)" 8 | [ -z "$kb_choice" ] && exit 0 9 | kb="$(echo "$kb_choice" | awk '{print $3}')" 10 | setxkbmap "$kb" 11 | pkill -RTMIN+30 "${STATUSBAR:-dwmblocks}";; 12 | 3) notify-send "⌨ Keyboard/language module" "$(printf "%s" "\- Current layout: $(setxkbmap -query | grep -oP 'layout:\s*\K\w+')") 13 | - Left click to change keyboard.";; 14 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 15 | esac 16 | 17 | echo "$kb" 18 | -------------------------------------------------------------------------------- /bin/statusbar/sb-mailbox: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Displays number of unread mail and an loading icon if updating. 4 | # When clicked, brings up `neomutt`. 5 | 6 | case $BLOCK_BUTTON in 7 | 1) setsid -w -f "$TERMINAL" -e neomutt; pkill -RTMIN+12 "${STATUSBAR:-dwmblocks}" ;; 8 | 2) setsid -f mw -Y >/dev/null ;; 9 | 3) notify-send "📬 Mail module" "\- Shows unread mail 10 | - Shows 🔃 if syncing mail 11 | - Left click opens neomutt 12 | - Middle click syncs mail" ;; 13 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 14 | esac 15 | 16 | unread="$(find "${XDG_DATA_HOME:-$HOME/.local/share}"/mail/*/[Ii][Nn][Bb][Oo][Xx]/new/* -type f | wc -l 2>/dev/null)" 17 | 18 | pidof mbsync >/dev/null 2>&1 && icon="🔃" 19 | 20 | [ "$unread" = "0" ] && [ "$icon" = "" ] || echo "📬$unread$icon" 21 | -------------------------------------------------------------------------------- /bin/statusbar/sb-memory: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | case $BLOCK_BUTTON in 4 | 1) notify-send "󰍛 Memory hogs" "$(ps axch -o cmd:15,%mem --sort=-%mem | head)" ;; 5 | 2) setsid -f "$TERMINAL" -e htop ;; 6 | 3) notify-send "󰍛 Memory module" "\- Shows Memory Used/Total. 7 | - Click to show memory hogs. 8 | - Middle click to open htop." ;; 9 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 10 | esac 11 | 12 | free --mebi | sed -n '2{p;q}' | awk '{printf ("󰍛 %2.2fGiB/%2.2fGiB\n", ( $3 / 1024), ($2 / 1024))}' 13 | -------------------------------------------------------------------------------- /bin/statusbar/sb-mic: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Display an icon if the microphone is muted. 3 | 4 | if pactl get-source-mute @DEFAULT_SOURCE@ | grep -q "^Mute: no"; then 5 | printf "%s\n" " 󰍬" 6 | else 7 | printf "%s\n" " 󰍭" 8 | fi 9 | -------------------------------------------------------------------------------- /bin/statusbar/sb-moonphase: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Shows the current moon phase. 4 | 5 | moonfile="${XDG_DATA_HOME:-$HOME/.local/share}/moonphase" 6 | 7 | [ -s "$moonfile" ] && [ "$(stat -c %y "$moonfile" 2>/dev/null | cut -d' ' -f1)" = "$(date '+%Y-%m-%d')" ] || 8 | { curl -sf "wttr.in/?format=%m" > "$moonfile" || exit 1 ;} 9 | 10 | icon="$(cat "$moonfile")" 11 | 12 | case "$icon" in 13 | 🌑) name="New" ;; 14 | 🌒) name="Waxing Crescent" ;; 15 | 🌓) name="First Quarter" ;; 16 | 🌔) name="Waxing Gibbous" ;; 17 | 🌕) name="Full" ;; 18 | 🌖) name="Waning Gibbous" ;; 19 | 🌗) name="Last Quarter" ;; 20 | 🌘) name="Waning Crescent" ;; 21 | *) exit 1 ;; 22 | esac 23 | 24 | echo "${icon-?}" 25 | 26 | case $BLOCK_BUTTON in 27 | 3) notify-send "🌜 Moon phase module" "Displays current moon phase. 28 | - 🌑: New 29 | - 🌒: Waxing Crescent 30 | - 🌓: First Quarter 31 | - 🌔: Waxing Gibbous 32 | - 🌕: Full 33 | - 🌖: Waning Gibbous 34 | - 🌗: Last Quarter 35 | - 🌘: Waning Crescent" ;; 36 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 37 | esac 38 | -------------------------------------------------------------------------------- /bin/statusbar/sb-mpdup: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # This loop will update the mpd statusbar module whenever a command changes the 4 | # music player's status. mpd must be running on X's start for this to work. 5 | 6 | while : ; do 7 | mpc idle >/dev/null && kill -45 "$(pidof "${STATUSBAR:-dwmblocks}")" || break 8 | done 9 | -------------------------------------------------------------------------------- /bin/statusbar/sb-music: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | filter() { sed "/^volume:/d;s/\\[paused\\].*/⏸/g;/\\[playing\\].*/d;/^ERROR/Q" | paste -sd ' ' -;} 4 | 5 | pidof -x sb-mpdup >/dev/null 2>&1 || sb-mpdup >/dev/null 2>&1 & 6 | 7 | case $BLOCK_BUTTON in 8 | 1) mpc status | filter ; setsid -f "$TERMINAL" -e ncmpcpp ;; # right click, pause/unpause 9 | 2) mpc toggle | filter ;; # right click, pause/unpause 10 | 3) mpc status | filter ; notify-send "🎵 Music module" "\- Shows mpd song playing. 11 | - ⏸ when paused. 12 | - Left click opens ncmpcpp. 13 | - Middle click pauses. 14 | - Scroll changes track.";; # right click, pause/unpause 15 | 4) mpc prev | filter ;; # scroll up, previous 16 | 5) mpc next | filter ;; # scroll down, next 17 | 6) mpc status | filter ; setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 18 | *) mpc status | filter ;; 19 | esac 20 | -------------------------------------------------------------------------------- /bin/statusbar/sb-nettraf: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Module showing network traffic. Shows how much data has been received (RX) or 4 | # transmitted (TX) since the previous time this script ran. So if run every 5 | # second, gives network traffic per second. 6 | 7 | case $BLOCK_BUTTON in 8 | 1) setsid -f "$TERMINAL" -e bmon ;; 9 | 3) notify-send " Network traffic module" "󰁆 : Traffic received 10 | 󰁞 : Traffic transmitted" ;; 11 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 12 | esac 13 | 14 | update() { 15 | sum=0 16 | for arg; do 17 | read -r i < "$arg" 18 | sum=$(( sum + i )) 19 | done 20 | cache=/tmp/${1##*/} 21 | [ -f "$cache" ] && read -r old < "$cache" || old=0 22 | printf %d\\n "$sum" > "$cache" 23 | printf %d\\n $(( sum - old )) 24 | } 25 | 26 | rx=$(update /sys/class/net/[ew]*/statistics/rx_bytes) 27 | tx=$(update /sys/class/net/[ew]*/statistics/tx_bytes) 28 | 29 | printf "󰁆 %4sB 󰁞 %4sB\\n" $(numfmt --to=iec $rx $tx) 30 | -------------------------------------------------------------------------------- /bin/statusbar/sb-news: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Displays number of unread news items and an loading icon if updating. 4 | # When clicked, brings up `newsboat`. 5 | 6 | case $BLOCK_BUTTON in 7 | 1) setsid "$TERMINAL" -e newsboat ;; 8 | 2) setsid -f newsup >/dev/null && exit ;; 9 | 3) notify-send "📰 News module" "\- Shows unread news items 10 | - Shows 🔃 if updating with \`newsup\` 11 | - Left click opens newsboat 12 | - Middle click syncs RSS feeds 13 | Note: Only one instance of newsboat (including updates) may be running at a time." ;; 14 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 15 | esac 16 | 17 | cat /tmp/newsupdate 2>/dev/null || echo "$(newsboat -x print-unread | awk '{ if($1>0) print "📰" $1}')$(cat "${XDG_CONFIG_HOME:-$HOME/.config}"/newsboat/.update 2>/dev/null)" 18 | -------------------------------------------------------------------------------- /bin/statusbar/sb-pacpackages: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Displays number of upgradeable packages. 4 | # For this to work, have a `pacman -Sy` command run in the background as a 5 | # cronjob every so often as root. This script will then read those packages. 6 | # When clicked, it will run an upgrade via pacman. 7 | # 8 | # Add the following text as a file in /usr/share/libalpm/hooks/statusbar.hook: 9 | # 10 | # [Trigger] 11 | # Operation = Upgrade 12 | # Type = Package 13 | # Target = * 14 | # 15 | # [Action] 16 | # Description = Updating statusbar... 17 | # When = PostTransaction 18 | # Exec = /usr/bin/pkill -RTMIN+8 dwmblocks # Or i3blocks if using i3. 19 | 20 | case $BLOCK_BUTTON in 21 | 1) setsid -f "$TERMINAL" -e sb-popupgrade ;; 22 | 2) notify-send "$(/usr/bin/pacman -Qu)" ;; 23 | 3) notify-send "🎁 Upgrade module" "📦: number of upgradable packages 24 | - Left click to upgrade packages 25 | - Middle click to show upgradable packages" ;; 26 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 27 | esac 28 | 29 | pacman -Qu | grep -Fcv "[ignored]" | sed "s/^/📦/;s/^📦0$//g" 30 | -------------------------------------------------------------------------------- /bin/statusbar/sb-popupgrade: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | printf "Beginning upgrade.\\n" 4 | 5 | yay -Syu 6 | pkill -RTMIN+8 "${STATUSBAR:-dwmblocks}" 7 | 8 | printf "\\nUpgrade complete.\\nPress to exit window.\\n\\n" 9 | read -r _ 10 | -------------------------------------------------------------------------------- /bin/statusbar/sb-tasks: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Originally by Andr3as07 4 | # Some changes by Luke 5 | # Rebuild by Tenyun 6 | 7 | # This block displays the number running background tasks. Requires tsp. 8 | 9 | num=$(tsp -l | awk -v numr=0 -v numq=0 '{if (/running/)numr++; if (/queued/)numq++} END{print numr+numq"("numq")"}') 10 | 11 | # Handle mouse clicks 12 | case $BLOCK_BUTTON in 13 | 1) setsid -f "$TERMINAL" -e tsp -l ;; 14 | 3) notify-send "Tasks module" "🤖: number of running/queued background tasks 15 | - Left click opens tsp" ;; # Right click 16 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 17 | esac 18 | 19 | [ "$num" != "0(0)" ] && 20 | echo "🤖$num" 21 | -------------------------------------------------------------------------------- /bin/statusbar/sb-torrent: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | transmission-remote -l | grep % | 4 | sed " # The letters are for sorting and will not appear. 5 | s/.*Stopped.*/A  /; 6 | s/.*Seeding.*/Z  /; 7 | s/.*100%.*/N  /; 8 | s/.*Idle.*/B 󱦟 /; 9 | s/.*Uploading.*/L 󰠽 /; 10 | s/.*%.*/M 󰧩 /" | 11 | sort -h | uniq -c | awk '{print $3 $1}' | paste -sd ' ' - 12 | 13 | case $BLOCK_BUTTON in 14 | 1) setsid -f "$TERMINAL" -e stig ;; 15 | 2) td-toggle ;; 16 | 3) notify-send " Torrent module" "\- Left click to open stig. 17 | - Middle click to toggle transmission. 18 | - Shift click to edit script. 19 | Module shows number of torrents: 20 |  : paused 21 | 󱦟 : idle (seeds needed) 22 | 󰠽 : uploading (unfinished) 23 | 󰧩 : downloading 24 |  : done 25 |  : done and seeding" ;; 26 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 27 | esac 28 | -------------------------------------------------------------------------------- /bin/statusbar/sb-volume: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Prints the current volume or 󰖁 if muted. 4 | 5 | case $BLOCK_BUTTON in 6 | 1) setsid -w -f "$TERMINAL" -e pulsemixer; pkill -RTMIN+10 "${STATUSBAR:-dwmblocks}" ;; 7 | 2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle ;; 8 | 4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ ;; 9 | 5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- ;; 10 | 3) notify-send " Volume module" "\- Shows volume  , 󰖁 if muted. 11 | - Middle click to mute. 12 | - Scroll to change." ;; 13 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 14 | esac 15 | 16 | black=#1E1E2E 17 | 18 | vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" 19 | 20 | # If muted, print 󰖁 and exit. 21 | [ "$vol" != "${vol%\[MUTED\]}" ] && printf "^c$black^^B1^ 󰖁 ^d^" && exit 22 | 23 | vol="${vol#Volume: }" 24 | 25 | split() { 26 | # For ommiting the . without calling and external program. 27 | IFS=$2 28 | set -- $1 29 | printf '%s' "$@" 30 | } 31 | 32 | vol="$(printf "%.0f" "$(split "$vol" ".")")" 33 | 34 | case 1 in 35 | $((vol >= 70)) ) icon="  " ;; 36 | $((vol >= 30)) ) icon="  " ;; 37 | $((vol >= 1)) ) icon="  " ;; 38 | * ) printf "^c$black^^B1^ 󰖁 ^d^" && exit ;; 39 | esac 40 | 41 | printf "^B1^^c$black^$icon^d^ $vol%%" 42 | -------------------------------------------------------------------------------- /bin/td-toggle: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # If transmission-daemon is running, will ask to kill, else will ask to start. 4 | 5 | if pidof transmission-daemon >/dev/null ; 6 | then 7 | [ "$(printf "No\\nYes" | dmenu -i -p "Turn off transmission-daemon?")" = "Yes" ] && killall transmission-daemon && notify-send "transmission-daemon disabled." 8 | else 9 | ifinstalled transmission-cli || exit 10 | [ "$(printf "No\\nYes" | dmenu -i -p "Turn on transmission daemon?")" = "Yes" ] && transmission-daemon && notify-send "transmission-daemon enabled." 11 | fi 12 | sleep 3 && pkill -RTMIN+7 "${STATUSBAR:-dwmblocks}" 13 | -------------------------------------------------------------------------------- /bin/unmounter: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Unmount USB drives or Android phones. Replaces the older `dmenuumount`. Fewer 4 | # prompt and also de-decrypts LUKS drives that are unmounted. 5 | 6 | set -e 7 | 8 | mounteddroids="$(grep simple-mtpfs /etc/mtab | awk '{print "📱" $2}')" 9 | lsblkoutput="$(lsblk -nrpo "name,type,size,mountpoint")" 10 | mounteddrives="$(echo "$lsblkoutput" | awk '($2=="part"||$2="crypt")&&$4!~/\/boot|\/home$|SWAP/&&length($4)>1{printf "💾%s (%s)\n",$4,$3}')" 11 | 12 | allunmountable="$(echo "$mounteddroids 13 | $mounteddrives" | sed "/^$/d;s/ *$//")" 14 | test -n "$allunmountable" 15 | 16 | chosen="$(echo "$allunmountable" | dmenu -i -g 1 -p "Unmount which drive?")" 17 | chosen="${chosen%% *}" 18 | test -n "$chosen" 19 | 20 | sudo -A umount -l "/${chosen#*/}" 21 | notify-send "Device unmounted." "$chosen has been unmounted." 22 | 23 | # Close the chosen drive if decrypted. 24 | cryptid="$(echo "$lsblkoutput" | grep "/${chosen#*/}$")" 25 | cryptid="${cryptid%% *}" 26 | test -b /dev/mapper/"${cryptid##*/}" 27 | sudo -A cryptsetup close "$cryptid" 28 | notify-send "🔒Device dencryption closed." "Drive is now securely locked again." 29 | -------------------------------------------------------------------------------- /bin/volume: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Increment, decrement, or mute the volume using Pipewire and send a notification 4 | 5 | case $1 in 6 | up) 7 | # Set the volume on (if it was muted) 8 | wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 9 | wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 5%+ 10 | ;; 11 | down) 12 | wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 13 | wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 5%- 14 | ;; 15 | mute) 16 | wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 17 | ;; 18 | esac 19 | 20 | VOLUME=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | tr -dc '0-9' | sed 's/^0\{1,2\}//') 21 | 22 | 23 | send_notification() { 24 | if [ "$1" = "mute" ]; then ICON="mute"; elif [ "$VOLUME" -lt 33 ]; then ICON="low"; elif [ "$VOLUME" -lt 66 ]; then ICON="medium"; else ICON="high"; fi 25 | if [ "$1" = "mute" ]; then TEXT="Currently muted"; else TEXT="Currently at ${VOLUME}%"; fi 26 | 27 | dunstify -a "Volume" -r 9993 -h int:value:"$VOLUME" -i "volume-$ICON" "Volume" "$TEXT" -t 2000 28 | } 29 | 30 | case $1 in 31 | mute) 32 | case "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" in 33 | *MUTED* ) send_notification mute;; 34 | * ) send_notification;; 35 | esac;; 36 | *) 37 | send_notification;; 38 | esac 39 | -------------------------------------------------------------------------------- /bin/volume-bspwm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Increment, decrement, or mute the volume using Pipewire and send a notification 4 | 5 | case $1 in 6 | up) 7 | # Set the volume on (if it was muted) 8 | wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 9 | wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 5%+ 10 | ;; 11 | down) 12 | wpctl set-mute @DEFAULT_AUDIO_SINK@ 0 13 | wpctl set-volume -l 2.0 @DEFAULT_AUDIO_SINK@ 5%- 14 | ;; 15 | mute) 16 | wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle 17 | ;; 18 | esac 19 | 20 | VOLUME=$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | tr -dc '0-9' | sed 's/^0\{1,2\}//') 21 | 22 | 23 | send_notification() { 24 | if [ "$1" = "mute" ]; then ICON="mute"; elif [ "$VOLUME" -lt 33 ]; then ICON="low"; elif [ "$VOLUME" -lt 66 ]; then ICON="medium"; else ICON="high"; fi 25 | if [ "$1" = "mute" ]; then TEXT="Currently muted"; else TEXT="Currently at ${VOLUME}%"; fi 26 | 27 | dunstify -a "Volume" -r 9993 -h int:value:"$VOLUME" -i "volume-$ICON" "Volume" "$TEXT" -t 2000 28 | } 29 | 30 | case $1 in 31 | mute) 32 | case "$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" in 33 | *MUTED* ) send_notification mute;; 34 | * ) send_notification;; 35 | esac;; 36 | *) 37 | send_notification;; 38 | esac 39 | -------------------------------------------------------------------------------- /bin/xwp: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # wallpaper directory # 4 | wall_dir=~/gruvy-walls 5 | 6 | # finding random wallpaper 7 | if [ -z "$1" ]; then 8 | wall="$(find "$wall_dir" -type f -name "*.jpg" -o -name "*.png" | shuf -n1)" 9 | else 10 | wall="$1" 11 | fi 12 | 13 | # setting wallpaper 14 | xwallpaper --zoom $wall 15 | 16 | -------------------------------------------------------------------------------- /cava/config: -------------------------------------------------------------------------------- 1 | [color] 2 | background = '#1d2021' 3 | gradient = 1 4 | gradient_count = 6 5 | gradient_color_1 = '#7daea3' 6 | gradient_color_2 = '#ea6962' 7 | gradient_color_3 = '#a9b665' 8 | gradient_color_4 = '#89b482' 9 | gradient_color_5 = '#d3869b' 10 | gradient_color_6 = '#e78a4e' 11 | -------------------------------------------------------------------------------- /cava/shaders/northern_lights.frag: -------------------------------------------------------------------------------- 1 | #version 330 2 | 3 | in vec2 fragCoord; 4 | out vec4 fragColor; 5 | 6 | // bar values. defaults to left channels first (low to high), then right (high to low). 7 | uniform float bars[512]; 8 | 9 | uniform int bars_count; // number of bars (left + right) (configurable) 10 | 11 | uniform vec3 u_resolution; // window resolution, not used here 12 | 13 | //colors, configurable in cava config file 14 | uniform vec3 bg_color; // background color(r,g,b) (0.0 - 1.0), not used here 15 | uniform vec3 fg_color; // foreground color, not used here 16 | 17 | void main() 18 | { 19 | // find which bar to use based on where we are on the x axis 20 | int bar = int(bars_count * fragCoord.x); 21 | 22 | float bar_y = 1.0 - abs((fragCoord.y - 0.5)) * 2.0; 23 | float y = (bars[bar]) * bar_y; 24 | 25 | float bar_x = (fragCoord.x - float(bar) / float(bars_count)) * bars_count; 26 | float bar_r = 1.0 - abs((bar_x - 0.5)) * 2; 27 | 28 | bar_r = bar_r * bar_r * 2; 29 | 30 | // set color 31 | fragColor.r = fg_color.x * y * bar_r; 32 | fragColor.g = fg_color.y * y * bar_r; 33 | fragColor.b = fg_color.z * y * bar_r; 34 | } 35 | -------------------------------------------------------------------------------- /cava/shaders/pass_through.vert: -------------------------------------------------------------------------------- 1 | #version 330 2 | 3 | 4 | // Input vertex data, different for all executions of this shader. 5 | layout(location = 0) in vec3 vertexPosition_modelspace; 6 | 7 | // Output data ; will be interpolated for each fragment. 8 | out vec2 fragCoord; 9 | 10 | void main() 11 | { 12 | gl_Position = vec4(vertexPosition_modelspace,1); 13 | fragCoord = (vertexPosition_modelspace.xy+vec2(1,1))/2.0; 14 | } 15 | -------------------------------------------------------------------------------- /dunst/dunstrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | # 4 | # █▀▀▄ █░░█ █▀▀▄ █▀▀ ▀▀█▀▀ █▀▀█ █▀▀ ░░ █▀▀█ █▀▀▄ █▀▀ █▀▀▄ █▀▀█ █▀▀█ █░█ 5 | # █░░█ █░░█ █░░█ ▀▀█ ░░█░░ █▄▄▀ █░░ ▀▀ █░░█ █░░█ █▀▀ █░░█ █▄▄█ █▄▄▀ █▀▄ 6 | # ▀▀▀░ ░▀▀▀ ▀░░▀ ▀▀▀ ░░▀░░ ▀░▀▀ ▀▀▀ ░░ ▀▀▀▀ ▀░░▀ ▀▀▀ ▀▀▀░ ▀░░▀ ▀░▀▀ ▀░▀ 7 | # 8 | 9 | [global] 10 | monitor = 0 11 | separator_color= frame 12 | follow = keyboard 13 | gap_size = 3 14 | width = 370 15 | height = 350 16 | offset = 10x92 17 | padding = 10 18 | horizontal_padding = 10 19 | transparency = 0 20 | markup = full 21 | font = JetBrainsMono Nerd Font 22 | format = "%s\n\n%b" 23 | min_icon_size = 32 24 | max_icon_size = 128 25 | icon_path = usr/share/icons/Papirus-Dark/48x48/actions/:/usr/share/icons/Papirus-Dark/48x48/apps/:/usr/share/icons/Papirus-Dark/48x48/devices/:/usr/share/icons/Papirus-Dark/48x48/emblems/:/usr/share/icons/Papirus-Dark/48x48/emotes/:/usr/share/icons/Papirus-Dark/48x48/mimetypes/:/usr/share/icons/Papirus-Dark/48x48/places/:/usr/share/icons/Papirus-Dark/48x48/status/:/home/bugs/.config/icons/ 26 | corner_radius = 10 27 | 28 | 29 | [urgency_low] 30 | background = "#282c34" 31 | foreground = "#c8ccd4" 32 | highlight = "#e06c75" 33 | frame_color = "#282c34" 34 | default_icon = "dialog-information" 35 | 36 | [urgency_normal] 37 | background = "#282c34" 38 | foreground = "#c8ccd4" 39 | highlight = "#e06c75" 40 | frame_color = "#282c34" 41 | default_icon = "dialog-information" 42 | 43 | 44 | [urgency_critical] 45 | background = "#282c34" 46 | foreground = "#1e2327" 47 | highlight = "#e06c75" 48 | frame_color = "#e06c75" 49 | default_icon = "dialog-error" 50 | timeout = 10 51 | -------------------------------------------------------------------------------- /dunst/dunstrc-onedark: -------------------------------------------------------------------------------- 1 | 2 | 3 | # 4 | # █▀▀▄ █░░█ █▀▀▄ █▀▀ ▀▀█▀▀ █▀▀█ █▀▀ ░░ █▀▀█ █▀▀▄ █▀▀ █▀▀▄ █▀▀█ █▀▀█ █░█ 5 | # █░░█ █░░█ █░░█ ▀▀█ ░░█░░ █▄▄▀ █░░ ▀▀ █░░█ █░░█ █▀▀ █░░█ █▄▄█ █▄▄▀ █▀▄ 6 | # ▀▀▀░ ░▀▀▀ ▀░░▀ ▀▀▀ ░░▀░░ ▀░▀▀ ▀▀▀ ░░ ▀▀▀▀ ▀░░▀ ▀▀▀ ▀▀▀░ ▀░░▀ ▀░▀▀ ▀░▀ 7 | # 8 | 9 | [global] 10 | monitor = 0 11 | separator_color= frame 12 | follow = keyboard 13 | gap_size = 3 14 | width = 370 15 | height = 350 16 | offset = 10x92 17 | padding = 10 18 | horizontal_padding = 10 19 | transparency = 0 20 | markup = full 21 | font = JetBrainsMono Nerd Font 22 | format = "%s\n\n%b" 23 | min_icon_size = 32 24 | max_icon_size = 128 25 | icon_path = usr/share/icons/Papirus-Dark/48x48/actions/:/usr/share/icons/Papirus-Dark/48x48/apps/:/usr/share/icons/Papirus-Dark/48x48/devices/:/usr/share/icons/Papirus-Dark/48x48/emblems/:/usr/share/icons/Papirus-Dark/48x48/emotes/:/usr/share/icons/Papirus-Dark/48x48/mimetypes/:/usr/share/icons/Papirus-Dark/48x48/places/:/usr/share/icons/Papirus-Dark/48x48/status/:/home/bugs/.config/icons/ 26 | corner_radius = 10 27 | 28 | 29 | [urgency_low] 30 | background = "#282c34" 31 | foreground = "#c8ccd4" 32 | highlight = "#e06c75" 33 | frame_color = "#282c34" 34 | default_icon = "dialog-information" 35 | 36 | [urgency_normal] 37 | background = "#282c34" 38 | foreground = "#c8ccd4" 39 | highlight = "#e06c75" 40 | frame_color = "#282c34" 41 | default_icon = "dialog-information" 42 | 43 | 44 | [urgency_critical] 45 | background = "#282c34" 46 | foreground = "#1e2327" 47 | highlight = "#e06c75" 48 | frame_color = "#e06c75" 49 | default_icon = "dialog-error" 50 | timeout = 10 51 | -------------------------------------------------------------------------------- /eww/dashboard/images/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/eww/dashboard/images/bg.png -------------------------------------------------------------------------------- /eww/dashboard/images/icons/code.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /eww/dashboard/images/icons/discord.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /eww/dashboard/images/icons/files.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /eww/dashboard/images/icons/neovim.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/eww/dashboard/images/icons/neovim.svg -------------------------------------------------------------------------------- /eww/dashboard/images/icons/telegram.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /eww/dashboard/images/icons/terminal.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /eww/dashboard/images/music.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/eww/dashboard/images/music.png -------------------------------------------------------------------------------- /eww/dashboard/images/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/eww/dashboard/images/profile.jpg -------------------------------------------------------------------------------- /eww/dashboard/launch_dashboard: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## Files and cmd 4 | FILE="$HOME/.cache/eww_launch.dashboard" 5 | CFG="$HOME/.config/eww/dashboard" 6 | EWW=`which eww` 7 | 8 | ## Run eww daemon if not running already 9 | if [[ ! `pidof eww` ]]; then 10 | ${EWW} daemon 11 | sleep 1 12 | fi 13 | 14 | ## Open widgets 15 | run_eww() { 16 | ${EWW} --config "$CFG" open-many \ 17 | background \ 18 | profile \ 19 | system \ 20 | clock \ 21 | uptime \ 22 | music \ 23 | github \ 24 | reddit \ 25 | twitter \ 26 | youtube \ 27 | weather \ 28 | apps \ 29 | mail \ 30 | logout \ 31 | sleep \ 32 | reboot \ 33 | poweroff \ 34 | folders 35 | } 36 | 37 | ## Launch or close widgets accordingly 38 | if [[ ! -f "$FILE" ]]; then 39 | touch "$FILE" 40 | run_eww 41 | else 42 | ${EWW} --config "$CFG" close \ 43 | background profile system clock uptime music github \ 44 | reddit twitter youtube weather apps mail logout sleep reboot poweroff folders 45 | rm "$FILE" 46 | fi 47 | -------------------------------------------------------------------------------- /eww/dashboard/scripts/mails: -------------------------------------------------------------------------------- 1 | #!/bin/python 2 | 3 | import imaplib 4 | obj = imaplib.IMAP4_SSL('imap.gmail.com',993) 5 | obj.login('abhramondal9674@gmail.com','yuzj rkcr rlqi jtea') # write your email and password 6 | obj.select() 7 | print(len(obj.search(None, 'UnSeen')[1][0].split())) 8 | -------------------------------------------------------------------------------- /eww/dashboard/scripts/open_apps: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## Open Applications 4 | FILE="$HOME/.cache/eww_launch.dashboard" 5 | CFG="$HOME/.config/eww/dashboard" 6 | EWW=`which eww` 7 | 8 | close_dash() { 9 | ${EWW} --config "$CFG" close \ 10 | background profile system clock uptime music github \ 11 | reddit twitter youtube weather apps mail logout sleep reboot poweroff folders 12 | rm -rf "$FILE" 13 | } 14 | 15 | if [[ "$1" == "--ff" ]]; then 16 | close_dash && firefox & 17 | 18 | elif [[ "$1" == "--tg" ]]; then 19 | close_dash && telegram-desktop & 20 | 21 | elif [[ "$1" == "--dc" ]]; then 22 | close_dash && discord & 23 | 24 | elif [[ "$1" == "--tr" ]]; then 25 | close_dash && st -d ~ & 26 | 27 | elif [[ "$1" == "--fm" ]]; then 28 | close_dash && thunar ~ & 29 | 30 | elif [[ "$1" == "--nv" ]]; then 31 | close_dash && st -e nvim & 32 | 33 | elif [[ "$1" == "--cd" ]]; then 34 | close_dash && code & 35 | 36 | elif [[ "$1" == "--gp" ]]; then 37 | close_dash && gimp & 38 | 39 | elif [[ "$1" == "--vb" ]]; then 40 | close_dash && virtualbox & 41 | 42 | fi 43 | -------------------------------------------------------------------------------- /eww/dashboard/scripts/open_folders: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## Open folders in thunar 4 | FILE="$HOME/.cache/eww_launch.dashboard" 5 | CFG="$HOME/.config/eww/dashboard" 6 | EWW=`which eww` 7 | 8 | close_dash() { 9 | ${EWW} --config "$CFG" close \ 10 | background profile system clock uptime music github \ 11 | reddit twitter youtube weather apps mail logout sleep reboot poweroff folders 12 | rm -rf "$FILE" 13 | } 14 | 15 | if [[ "$1" == "--dl" ]]; then 16 | close_dash && thunar ~/Downloads & 17 | 18 | elif [[ "$1" == "--docs" ]]; then 19 | close_dash && thunar ~/Documents & 20 | 21 | elif [[ "$1" == "--music" ]]; then 22 | close_dash && thunar ~/Music & 23 | 24 | elif [[ "$1" == "--pics" ]]; then 25 | close_dash && thunar ~/Pictures & 26 | 27 | elif [[ "$1" == "--cfg" ]]; then 28 | close_dash && thunar ~/.config & 29 | 30 | elif [[ "$1" == "--local" ]]; then 31 | close_dash && thunar ~/.local/share & 32 | 33 | fi 34 | -------------------------------------------------------------------------------- /eww/dashboard/scripts/open_links: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | ## Open links in firefox 4 | FILE="$HOME/.cache/eww_launch.dashboard" 5 | CFG="$HOME/.config/eww/dashboard" 6 | EWW=`which eww` 7 | cmd="firefox --new-tab" 8 | 9 | close_dash() { 10 | ${EWW} --config "$CFG" close \ 11 | background profile system clock uptime music github \ 12 | reddit twitter youtube weather apps mail logout sleep reboot poweroff folders 13 | rm -rf "$FILE" 14 | } 15 | 16 | if [[ "$1" == "--mail" ]]; then 17 | close_dash && ${cmd} "https://mail.google.com" 18 | 19 | elif [[ "$1" == "--gh" ]]; then 20 | close_dash && ${cmd} "https://github.com" 21 | 22 | elif [[ "$1" == "--rd" ]]; then 23 | close_dash && ${cmd} "https://reddit.com" 24 | 25 | elif [[ "$1" == "--tw" ]]; then 26 | close_dash && ${cmd} "https://twitter.com" 27 | 28 | elif [[ "$1" == "--yt" ]]; then 29 | close_dash && ${cmd} "https://youtube.com" 30 | 31 | fi 32 | -------------------------------------------------------------------------------- /eww/eww.scss: -------------------------------------------------------------------------------- 1 | @import "dashboard/eww.scss"; 2 | -------------------------------------------------------------------------------- /eww/eww.yuck: -------------------------------------------------------------------------------- 1 | (include "dashboard/eww.yuck") 2 | -------------------------------------------------------------------------------- /fastfetch/logo.txt: -------------------------------------------------------------------------------- 1 | ▄ 2 | ▄█▄ 3 | ▄███▄ 4 | ▄█████▄ 5 | ▄███████▄ 6 | ▄ ▀▀██████▄ 7 | ▄██▄▄ ▀█████▄ 8 | ▄█████████████▄ 9 | ▄███████████████▄ 10 | ▄█████████████████▄ 11 | ▄███████████████████▄ 12 | ▄█████████▀▀▀▀████████▄ 13 | ▄████████▀ ▀███████▄ 14 | ▄█████████ ████▀▀██▄ 15 | ▄██████████ █████▄▄▄ 16 | ▄██████████▀ ▀█████████▄ 17 | ▄██████▀▀▀ ▀▀██████▄ 18 | ▄███▀▀ ▀▀███▄ 19 | ▄▀▀ ▀▀▄ 20 | -------------------------------------------------------------------------------- /firefox/startup-page/assets/background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/background.jpg -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/01d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/01d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/01n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/01n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/02d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/02d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/02n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/02n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/03d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/03d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/03n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/03n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/04d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/04d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/04n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/04n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/09d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/09d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/09n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/09n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/10d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/10d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/10n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/10n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/11d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/11d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/11n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/11n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/13d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/13d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/13n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/13n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/50d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/50d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/50n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/50n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Dark/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Dark/unknown.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/01d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/01d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/01n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/01n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/02d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/02d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/02n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/02n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/03d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/03d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/03n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/03n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/04d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/04d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/04n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/04n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/09d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/09d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/09n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/09n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/10d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/10d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/10n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/10n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/11d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/11d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/11n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/11n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/13d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/13d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/13n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/13n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/50d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/50d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/50n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/50n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/Nord/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/Nord/unknown.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/01d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/01d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/01n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/01n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/02d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/02d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/02n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/02n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/03d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/03d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/03n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/03n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/04d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/04d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/04n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/04n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/09d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/09d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/09n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/09n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/10d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/10d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/10n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/10n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/11d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/11d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/11n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/11n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/13d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/13d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/13n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/13n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/50d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/50d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/50n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/50n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/OneDark/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/OneDark/unknown.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/01d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/01d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/01n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/01n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/02d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/02d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/02n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/02n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/03d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/03d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/03n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/03n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/04d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/04d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/04n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/04n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/09d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/09d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/09n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/09n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/10d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/10d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/10n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/10n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/11d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/11d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/11n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/11n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/13d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/13d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/13n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/13n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/50d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/50d.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/50n.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/50n.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/White/unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/firefox/startup-page/assets/icons/White/unknown.png -------------------------------------------------------------------------------- /firefox/startup-page/assets/icons/favicon.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /firefox/startup-page/assets/js/buttons.js: -------------------------------------------------------------------------------- 1 | // ┌┐ ┬ ┬┌┬┐┌┬┐┌─┐┌┐┌┌─┐ 2 | // ├┴┐│ │ │ │ │ ││││└─┐ 3 | // └─┘└─┘ ┴ ┴ └─┘┘└┘└─┘ 4 | // Function to print Button Cards. 5 | 6 | const generateFirstButtonsContainer = () => { 7 | for (const button of CONFIG.firstButtonsContainer) { 8 | let item = ` 9 | 14 | 15 | 16 | `; 17 | 18 | const position = 'beforeend'; 19 | 20 | buttons_1.insertAdjacentHTML(position, item); 21 | } 22 | }; 23 | 24 | const generateSecondButtonsContainer = () => { 25 | for (const button of CONFIG.secondButtonsContainer) { 26 | let item = ` 27 | 32 | 33 | 34 | `; 35 | 36 | const position = 'beforeend'; 37 | 38 | buttons_2.insertAdjacentHTML(position, item); 39 | } 40 | }; 41 | 42 | const generateButtons = () => { 43 | switch (CONFIG.bentoLayout) { 44 | case 'bento': 45 | generateFirstButtonsContainer(); 46 | break; 47 | case 'buttons': 48 | generateFirstButtonsContainer(); 49 | generateSecondButtonsContainer(); 50 | break; 51 | default: 52 | break; 53 | } 54 | }; 55 | 56 | generateButtons(); 57 | -------------------------------------------------------------------------------- /firefox/startup-page/assets/js/greeting.js: -------------------------------------------------------------------------------- 1 | // ┌─┐┬─┐┌─┐┌─┐┌┬┐┬┌┐┌┌─┐┌─┐ 2 | // │ ┬├┬┘├┤ ├┤ │ │││││ ┬└─┐ 3 | // └─┘┴└─└─┘└─┘ ┴ ┴┘└┘└─┘└─┘ 4 | // Function to set Greetings 5 | 6 | const today = new Date(); 7 | const hour = today.getHours(); 8 | const name = CONFIG.name; 9 | 10 | const gree1 = `${CONFIG.greetingNight}\xa0`; 11 | const gree2 = `${CONFIG.greetingMorning}\xa0`; 12 | const gree3 = `${CONFIG.greetingAfternoon}\xa0`; 13 | const gree4 = `${CONFIG.greetingEvening}\xa0`; 14 | 15 | if (hour >= 23 || hour < 6) { 16 | document.getElementById('greetings').innerText = gree1 + name; 17 | } else if (hour >= 6 && hour < 12) { 18 | document.getElementById('greetings').innerText = gree2 + name; 19 | } else if (hour >= 12 && hour < 17) { 20 | document.getElementById('greetings').innerText = gree3 + name; 21 | } else { 22 | document.getElementById('greetings').innerText = gree4 + name; 23 | } 24 | -------------------------------------------------------------------------------- /firefox/startup-page/assets/js/layout.js: -------------------------------------------------------------------------------- 1 | // ┬ ┌─┐┬ ┬┌─┐┬ ┬┌┬┐ 2 | // │ ├─┤└┬┘│ ││ │ │ 3 | // ┴─┘┴ ┴ ┴ └─┘└─┘ ┴ 4 | // Generate Layout. 5 | 6 | const generateLayout = () => { 7 | let firstButtonsContainer = ` 8 |
9 | `; 10 | let secondButtonsContainer = ` 11 |
12 | `; 13 | let firstListsContainer = ` 14 |
15 | `; 16 | 17 | let secondListsContainer = ` 18 |
19 | `; 20 | 21 | const position = 'beforeend'; 22 | 23 | switch (CONFIG.bentoLayout) { 24 | case 'bento': 25 | linksBlockLeft.insertAdjacentHTML(position, firstButtonsContainer); 26 | linksBlockRight.insertAdjacentHTML(position, firstListsContainer); 27 | linksBlock.classList.remove('reduceGap'); 28 | linksBlock.classList.remove('removeGap'); 29 | break; 30 | case 'lists': 31 | linksBlockLeft.insertAdjacentHTML(position, firstListsContainer); 32 | linksBlockRight.insertAdjacentHTML(position, secondListsContainer); 33 | linksBlock.classList.add('reduceGap'); 34 | break; 35 | case 'buttons': 36 | linksBlockLeft.insertAdjacentHTML(position, firstButtonsContainer); 37 | linksBlockRight.insertAdjacentHTML(position, secondButtonsContainer); 38 | linksBlock.classList.add('removeGap'); 39 | break; 40 | default: 41 | break; 42 | } 43 | }; 44 | 45 | generateLayout(); 46 | -------------------------------------------------------------------------------- /firefox/startup-page/assets/js/time.js: -------------------------------------------------------------------------------- 1 | // ┌┬┐┬┌┬┐┌─┐ 2 | // │ ││││├┤ 3 | // ┴ ┴┴ ┴└─┘ 4 | // Set time and Date 5 | 6 | const displayClock = () => { 7 | const options = {day:'numeric', month:'short', hour: 'numeric', minute: 'numeric', hour12: CONFIG.twelveHourFormat, timeZone: CONFIG.timeZone} 8 | const date = new Date().toLocaleString("en-US", options).split(/[\s,]+/) 9 | 10 | document.getElementById('date').innerText = `${date[0]} ${date[1]}` 11 | document.getElementById('time').innerText = `${date[2]} ${CONFIG.twelveHourFormat ? ` ${date[3]}` : ''}` 12 | 13 | setTimeout(displayClock, 1000) 14 | } 15 | 16 | window.addEventListener("DOMContentLoaded", displayClock) 17 | -------------------------------------------------------------------------------- /gtk-3.0/settings.ini: -------------------------------------------------------------------------------- 1 | [Settings] 2 | gtk-theme-name=yoru 3 | gtk-icon-theme-name=Papirus-Dark 4 | gtk-font-name=Sans 10 5 | gtk-cursor-theme-size=0 6 | gtk-toolbar-style=GTK_TOOLBAR_TEXT 7 | gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR 8 | gtk-button-images=0 9 | gtk-menu-images=1 10 | gtk-enable-event-sounds=1 11 | gtk-enable-input-feedback-sounds=1 12 | gtk-xft-antialias=1 13 | gtk-xft-hinting=1 14 | gtk-xft-hintstyle=hintfull 15 | gtk-xft-rgba=rgb 16 | gtk-cursor-theme-name=Adwaita 17 | -------------------------------------------------------------------------------- /i3/autostart.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set-bg & 4 | picom & 5 | /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 6 | xfce4-power-manager & 7 | dunst & 8 | nm-applet & 9 | 10 | -------------------------------------------------------------------------------- /i3/rules.conf: -------------------------------------------------------------------------------- 1 | 2 | ###------------------Borders-----------------### 3 | ###------------------------------------------### 4 | for_window [class="^.*"] border pixel 3 5 | default_border pixel 3 6 | default_floating_border normal 0 7 | hide_edge_borders smart 8 | 9 | ###----------------Gaps-------------------### 10 | ###---------------------------------------### 11 | gaps inner 10 12 | gaps outer 10 13 | 14 | 15 | ###------------------Application Rules---------------### 16 | ###--------------------------------------------------### 17 | 18 | ###---------Float rules-------### 19 | ###---------------------------### 20 | 21 | ###---Applications-----### 22 | ###--------------------### 23 | for_window [class="Pavucontrol" instance="pavucontrol"] floating enable 24 | for_window [class="Thunar"] floating enable 25 | for_window [class="mpv"] floating enable 26 | 27 | 28 | ###--------Scratchpad Rules-------### 29 | ###-------------------------------### 30 | for_window [class="spterm|spfm|spmusic"] floating enable, resize set 1000 600, move scratchpad, border pixel 0 31 | 32 | ###---Statusbar scripts----### 33 | ###------------------------### 34 | for_window [class="calender"] floating enable 35 | for_window [class="pulsemixer"] floating enable 36 | for_window [class="bmon"] floating enable 37 | for_window [class="net"] floating enable 38 | for_window [class="weather"] floating enable resize set 1200 500 39 | 40 | ###-------Misc------### 41 | ###-----------------### 42 | for_window [window_role="About"] floating enable 43 | 44 | ###----App specific workspace rules----### 45 | ###------------------------------------### 46 | assign [class="firefox"] $ws3 47 | -------------------------------------------------------------------------------- /i3/scripts/battery: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Prints all batteries, their percentage remaining and an emoji corresponding 4 | # to charge status (🔌 for plugged up, 🔋 for discharging on battery, etc.). 5 | 6 | case $BLOCK_BUTTON in 7 | 3) notify-send "🔋 Battery module" "🔋: discharging 8 | 🛑: not charging 9 | ♻: stagnant charge 10 | 🔌: charging 11 | ⚡: charged 12 | ❗: battery very low! 13 | - Scroll to change adjust xbacklight." ;; 14 | 4) brillo -A 5 -q ;; 15 | 5) brillo -U 5 -q ;; 16 | esac 17 | 18 | # Loop through all attached batteries and format the info 19 | for battery in /sys/class/power_supply/BAT?*; do 20 | # If non-first battery, print a space separator. 21 | [ -n "${capacity+x}" ] && printf " " 22 | # Sets up the status and capacity 23 | case "$(cat "$battery/status" 2>&1)" in 24 | "Full") status="⚡" ;; 25 | "Discharging") status="🔋" ;; 26 | "Charging") status="🔌" ;; 27 | "Not charging") status="🛑" ;; 28 | "Unknown") status="♻️" ;; 29 | *) exit 1 ;; 30 | esac 31 | capacity="$(cat "$battery/capacity" 2>&1)" 32 | # Will make a warn variable if discharging and low 33 | [ "$status" = "🔋" ] && [ "$capacity" -le 25 ] && warn="❗" 34 | # Prints the info 35 | printf "%s%s%d%%" "$status" "$warn" "$capacity"; unset warn 36 | done && printf "\\n" 37 | -------------------------------------------------------------------------------- /i3/scripts/blur-lock: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | PICTURE=~/wallpapers/gruvbox-wallpapers/anime_skull.png 4 | SCREENSHOT="scrot -z $PICTURE" 5 | 6 | BLUR="5x4" 7 | 8 | $SCREENSHOT 9 | convert $PICTURE -blur $BLUR $PICTURE 10 | i3lock -i $PICTURE 11 | rm $PICTURE 12 | -------------------------------------------------------------------------------- /i3/scripts/date: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | clock=$(date '+%I') 4 | 5 | case "$clock" in 6 | "00") icon="🕛" ;; 7 | "01") icon="🕐" ;; 8 | "02") icon="🕑" ;; 9 | "03") icon="🕒" ;; 10 | "04") icon="🕓" ;; 11 | "05") icon="🕔" ;; 12 | "06") icon="🕕" ;; 13 | "07") icon="🕖" ;; 14 | "08") icon="🕗" ;; 15 | "09") icon="🕘" ;; 16 | "10") icon="🕙" ;; 17 | "11") icon="🕚" ;; 18 | "12") icon="🕛" ;; 19 | esac 20 | 21 | case $BLOCK_BUTTON in 22 | 1) notify-send "This Month" "$(cal | sed "s/\<$(date +'%e')\>/&<\/span><\/b>/")" && notify-send "Appointments" "$(calcurse -d3)" ;; 23 | 2) setsid -f alacritty --class "calender" -e calcurse ;; 24 | 3) notify-send "📅 Time/date module" "\- Left click to show upcoming appointments for the next three days via \`calcurse -d3\` and show the month via \`cal\` 25 | - Middle click opens calcurse if installed" ;; 26 | 6) setsid -f alacritty -e "$EDITOR" "$0" ;; 27 | esac 28 | 29 | date "+%Y %b %d (%a) $icon%I:%M%p" 30 | -------------------------------------------------------------------------------- /i3/scripts/hdd: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Status bar module for disk space 4 | # $1 should be drive mountpoint, otherwise assumed /. 5 | 6 | location=${1:-/} 7 | 8 | [ -d "$location" ] || exit 9 | 10 | case $BLOCK_BUTTON in 11 | 1) notify-send "💽 Disk space" "$(df -h --output=target,used,size)" ;; 12 | 3) notify-send "💽 Disk module" "\- Shows used hard drive space. 13 | - Click to show all disk info." ;; 14 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 15 | esac 16 | 17 | case "$location" in 18 | "/home"* ) icon="🏠" ;; 19 | "/mnt"* ) icon="💾" ;; 20 | *) icon="🖥";; 21 | esac 22 | 23 | printf "%s: %s\n" "$icon" "$(df -h "$location" | awk ' /[0-9]/ {print $3 "/" $2}')" 24 | -------------------------------------------------------------------------------- /i3/scripts/internet: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Show wifi 📶 and percent strength or 📡 if none. 4 | # Show 🌐 if connected to ethernet or ❎ if none. 5 | # Show 🔒 if a vpn connection is active 6 | 7 | case $BLOCK_BUTTON in 8 | 1) alacritty --class "net" -e nmtui;; 9 | 3) notify-send "🌐 Internet module" "\- Click to connect 10 | ❌: wifi disabled 11 | 📡: no wifi connection 12 | 📶: wifi connection with quality 13 | ❎: no ethernet 14 | 🌐: ethernet working 15 | 🔒: vpn is active 16 | " ;; 17 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 18 | esac 19 | 20 | # Wifi 21 | if [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'up' ] ; then 22 | wifiicon="$(awk '/^\s*w/ { print "📶", int($3 * 100 / 70) "% " }' /proc/net/wireless)" 23 | elif [ "$(cat /sys/class/net/w*/operstate 2>/dev/null)" = 'down' ] ; then 24 | [ "$(cat /sys/class/net/w*/flags 2>/dev/null)" = '0x1003' ] && wifiicon="📡 " || wifiicon="❌ " 25 | fi 26 | 27 | # Ethernet 28 | [ "$(cat /sys/class/net/e*/operstate 2>/dev/null)" = 'up' ] && ethericon="🌐" || ethericon="❎" 29 | 30 | # TUN 31 | [ -n "$(cat /sys/class/net/tun*/operstate 2>/dev/null)" ] && tunicon=" 🔒" 32 | 33 | printf "%s%s%s\n" "$wifiicon" "$ethericon" "$tunicon" 34 | -------------------------------------------------------------------------------- /i3/scripts/nettraff: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Module showing network traffic. Shows how much data has been received (RX) or 4 | # transmitted (TX) since the previous time this script ran. So if run every 5 | # second, gives network traffic per second. 6 | 7 | case $BLOCK_BUTTON in 8 | 1) setsid -f alacritty --class "bmon" -e bmon ;; 9 | 3) notify-send "🌐 Network traffic module" "🔻: Traffic received 10 | 🔺: Traffic transmitted" ;; 11 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 12 | esac 13 | 14 | update() { 15 | sum=0 16 | for arg; do 17 | read -r i < "$arg" 18 | sum=$(( sum + i )) 19 | done 20 | cache=/tmp/${1##*/} 21 | [ -f "$cache" ] && read -r old < "$cache" || old=0 22 | printf %d\\n "$sum" > "$cache" 23 | printf %d\\n $(( sum - old )) 24 | } 25 | 26 | rx=$(update /sys/class/net/[ew]*/statistics/rx_bytes) 27 | tx=$(update /sys/class/net/[ew]*/statistics/tx_bytes) 28 | 29 | printf "🔻%4sB 🔺%4sB\\n" $(numfmt --to=iec $rx $tx) 30 | -------------------------------------------------------------------------------- /i3/scripts/volume: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Prints the current volume or 🔇 if muted. 4 | 5 | case $BLOCK_BUTTON in 6 | 1) setsid -w -f alacritty --class "pulsemixer" -e pulsemixer;; 7 | 2) wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle ;; 8 | 4) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%+ ;; 9 | 5) wpctl set-volume @DEFAULT_AUDIO_SINK@ 1%- ;; 10 | 3) notify-send "📢 Volume module" "\- Shows volume 🔊, 🔇 if muted. 11 | - Middle click to mute. 12 | - Scroll to change." ;; 13 | 6) setsid -f "$TERMINAL" -e "$EDITOR" "$0" ;; 14 | esac 15 | 16 | vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" 17 | 18 | # If muted, print 🔇 and exit. 19 | [ "$vol" != "${vol%\[MUTED\]}" ] && echo 🔇 && exit 20 | 21 | vol="${vol#Volume: }" 22 | 23 | split() { 24 | # For ommiting the . without calling and external program. 25 | IFS=$2 26 | set -- $1 27 | printf '%s' "$@" 28 | } 29 | 30 | vol="$(printf "%.0f" "$(split "$vol" ".")")" 31 | 32 | case 1 in 33 | $((vol >= 70)) ) icon="🔊" ;; 34 | $((vol >= 30)) ) icon="🔉" ;; 35 | $((vol >= 1)) ) icon="🔈" ;; 36 | * ) echo 🔇 && exit ;; 37 | esac 38 | 39 | echo "$icon$vol%" 40 | -------------------------------------------------------------------------------- /i3/themes/gruvbox/gruvbox.conf: -------------------------------------------------------------------------------- 1 | ###------------------------Gruvbox-----------------------### 2 | ###------------------------------------------------------### 3 | 4 | ###-----------------------Borders-----------------------### 5 | ###-----------------------------------------------------### 6 | 7 | # class border background text indicator child_border 8 | client.focused #cc241d #cc241d #ebdbb2 #cc241d #cc241d 9 | client.focused_inactive #ebdbb2 #5f676a #ebdbb2 #ebdbb2 #ebdbb2 10 | client.unfocused #a89984 #a89984 #ebdbb2 #a89984 #a89984 11 | client.urgent #d65d0e #d65d0e #ebdbb2 #d65d0e #d65d0e 12 | client.placeholder #000000 #0c0c0c #ebdbb2 #000000 #0c0c0c 13 | 14 | client.background #282828 15 | 16 | 17 | ###--------------------------Bar----------------------### 18 | ###---------------------------------------------------### 19 | bar { 20 | id bar-primary 21 | status_command i3blocks -c ~/.config/i3/themes/gruvbox/i3-block-gruvbox.conf 22 | position top 23 | strip_workspace_numbers yes 24 | 25 | colors { 26 | separator #ebdbb2 27 | background #282828 28 | statusline #ebdbb2 29 | ###-------------------------------------border bg txt indicator------------### 30 | focused_workspace #282828 #458588 #cdd6f4 #ebdbb2 31 | active_workspace #282828 #282828 #a6adc8 #ebdbb2 32 | inactive_workspace #282828 #282828 #7f849c #ebdbb2 33 | urgent_workspace #282828 #d65d0e #a6e3a1 #ebdbb2 34 | 35 | } 36 | } 37 | 38 | -------------------------------------------------------------------------------- /i3/themes/gruvbox/i3-block-gruvbox.conf: -------------------------------------------------------------------------------- 1 | 2 | # Global properties 3 | separator=true 4 | separator_block_width=15 5 | 6 | 7 | 8 | [weather] 9 | color=#689d6a 10 | command=~/.config/i3/scripts/weather 11 | interval=1 12 | 13 | 14 | [hdd] 15 | color=#b16286 16 | command=~/.config/i3/scripts/hdd 17 | interval=1 18 | 19 | [volume] 20 | color=#689d6a 21 | command=~/.config/i3/scripts/volume 22 | interval=1 23 | 24 | 25 | [nettraff] 26 | color=#ebdbb2 27 | command=~/.config/i3/scripts/nettraff 28 | interval=1 29 | 30 | [internet] 31 | color=#458588 32 | command=~/.config/i3/scripts/internet 33 | interval=1 34 | 35 | [battery] 36 | color=#98971a 37 | command=~/.config/i3/scripts/battery 38 | interval=1 39 | 40 | [date] 41 | color=#d65d0e 42 | command=~/.config/i3/scripts/date 43 | interval=1 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /icons/brightness-dunst.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /icons/volume-high.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /icons/volume-low.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /icons/volume-medium.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /icons/volume-mute.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /jgmenu/jgmenurc: -------------------------------------------------------------------------------- 1 | position = fixed 2 | stay_alive = 1 3 | menu_width = 240 4 | menu_padding_top = 8 5 | menu_padding_right = 5 6 | menu_padding_bottom = 8 7 | menu_padding_left = 5 8 | menu_radius = 10 9 | menu_border = 0 10 | menu_halign = left 11 | menu_valign = top 12 | menu_margin_x = 1 13 | menu_margin_y = 33 14 | sub_hover_action = 1 15 | item_margin_y = 3 16 | item_height = 38 17 | item_padding_x = 10 18 | item_radius = 7 19 | item_border = 0 20 | sep_height = 5 21 | font = IosevkaMayukaiCodepro 16px 22 | icon_size = 26 23 | icon_theme = WhiteSur 24 | arrow_string = • 25 | at_pointer = 1 26 | color_menu_bg = #191724 100 27 | color_menu_border = #ebbcba 100 28 | color_norm_bg = #191724 0 29 | color_norm_fg = #e0def4 100 30 | color_sel_bg = #1f1d2e 100 31 | color_sel_fg = #ebbcba 100 32 | color_sep_fg = #191724 100 33 | sub_spacing = 20 34 | color_title_bg = #191724 100 35 | color_title_border = #191724 100 36 | color_title_fg = #ebbcba 100 37 | sep_markup = 38 | sep_halign = Center 39 | color_sel_border = #191724 100 40 | 41 | -------------------------------------------------------------------------------- /kitty/kitty.conf: -------------------------------------------------------------------------------- 1 | 2 | # Fonts 3 | font_family JetBrainsMono Nerd Font 4 | bold_font JetBrainsMono Nerd Font 5 | italic_font JetBrainsMono Nerd Font 6 | bold_italic_font JetBrainsMono Nerd Font 7 | # font_family Cascadia Mono 8 | # bold_font Cascadia Mono Bold 9 | font_size 12.0 10 | 11 | # Background opacity 12 | background_opacity 1.0 13 | 14 | # Padding 15 | window_padding_width 10 16 | 17 | # Misc 18 | scrollback_lines 10000 19 | touch_scroll_multiplier 2.0 20 | copy_on_select yes 21 | enable_audio_bell no 22 | remember_window_size yes 23 | initial_window_width 1600 24 | initial_window_height 1000 25 | enabled_layouts Splits,Stack 26 | hide_window_decorations yes 27 | tab_bar_style powerline 28 | tab_separator " " 29 | dynamic_background_opacity yes 30 | # scrollback_pager $SHELL -c 'nvim -c "Baleia"' 31 | scrollback_pager ~/.local/share/bob/nvim-bin/nvim -c "lua require('util').colorize()" 32 | 33 | tab_title_template "{title}{fmt.bold}{'  ' if num_windows > 1 and layout_name == 'stack' else ''}" 34 | 35 | # Key Mappings 36 | kitty_mod control+shift 37 | map kitty_mod+pageup change_font_size all +2.0 38 | map kitty_mod+pagedown change_font_size all -2.0 39 | map kitty_mod+l next_tab 40 | map kitty_mod+h previous_tab 41 | map kitty_mod+m toggle_layout stack 42 | map kitty_mod+z toggle_layout stack 43 | map kitty_mod+enter launch --location=split --cwd=current 44 | map kitty_mod+\ launch --location=vsplit --cwd=current 45 | map kitty_mod+minus launch --location=hsplit --cwd=currentt 46 | map kitty_mod+left neighboring_window left 47 | map kitty_mod+right neighboring_window right 48 | map kitty_mod+up neighboring_window up 49 | map kitty_mod+down neighboring_window down 50 | map kitty_mod+r show_scrollback 51 | 52 | # Theme 53 | include /home/bugs/.config/kitty/themes/gruvmaterial-kitty.conf 54 | cursor none 55 | 56 | -------------------------------------------------------------------------------- /kitty/themes/gruvmaterial-kitty.conf: -------------------------------------------------------------------------------- 1 | background #1d2021 2 | foreground #d4be98 3 | 4 | selection_background #d4be98 5 | selection_foreground #1d2021 6 | 7 | cursor #a89984 8 | cursor_text_color background 9 | 10 | active_tab_background #1d2021 11 | active_tab_foreground #d4be98 12 | active_tab_font_style bold 13 | inactive_tab_background #1d2021 14 | inactive_tab_foreground #a89984 15 | inactive_tab_font_style normal 16 | 17 | # Black 18 | color0 #665c54 19 | color8 #928374 20 | 21 | # Red 22 | color1 #ea6962 23 | color9 #ea6962 24 | 25 | # Green 26 | color2 #a9b665 27 | color10 #a9b665 28 | 29 | # Yellow 30 | color3 #e78a4e 31 | color11 #d8a657 32 | 33 | # Blue 34 | color4 #7daea3 35 | color12 #7daea3 36 | 37 | # Magenta 38 | color5 #d3869b 39 | color13 #d3869b 40 | 41 | # Cyan 42 | color6 #89b482 43 | color14 #89b482 44 | 45 | # White 46 | color7 #d4be98 47 | color15 #d4be98 48 | -------------------------------------------------------------------------------- /kitty/themes/nord-kitty.conf: -------------------------------------------------------------------------------- 1 | ## Polar night (dark -> bright) 2 | #nord0 #2e3440 3 | #nord1 #3b4252 4 | #nord2 #434c5e 5 | #nord3 #4c566a 6 | # 7 | ## Snow storm (dark -> bright) 8 | #nord4 #d8dee9 9 | #nord5 #e5e9f0 10 | #nord6 #eceff4 11 | # 12 | ## Frost 13 | #nord7 #8fbcbb 14 | #nord8 #88c0d0 15 | #nord9 #81a1c1 16 | #nord10 #5e81ac 17 | # 18 | ## Aurora 19 | #nord11 #bf616a 20 | #nord12 #d08770 21 | #nord13 #ebcb8b 22 | #nord14 #a3be8c 23 | #nord15 #b48ead 24 | 25 | 26 | # Dark 27 | foreground #d8dee9 28 | background #2e3440 29 | selection_foreground #d8dee9 30 | selection_background #3b4252 31 | 32 | mark1_foreground #d08770 33 | mark2_foreground #d08770 34 | mark3_foreground #d08770 35 | 36 | url_color #e5e9f0 37 | 38 | # Cursor colors 39 | cursor #d8dee9 40 | cursor_text_color #4c566a 41 | 42 | # Tab bar colors 43 | active_tab_foreground #e5e9f0 44 | active_tab_background #4c566a 45 | inactive_tab_foreground #d8dee9 46 | inactive_tab_background #3b4252 47 | 48 | # black (nord1 / nord3) 49 | color0 #3b4252 50 | color8 #4c566a 51 | 52 | # red (nord11) 53 | color1 #bf616a 54 | color9 #bf616a 55 | 56 | # green (nord14) 57 | color2 #a3be8c 58 | color10 #a3be8c 59 | 60 | # yellow (nord13) 61 | color3 #ebcb8b 62 | color11 #ebcb8b 63 | 64 | # blue (nord9) 65 | color4 #81a1c1 66 | color12 #81a1c1 67 | 68 | # magenta (nord15) 69 | color5 #b48ead 70 | color13 #b48ead 71 | 72 | # cyan (nord8) 73 | color6 #88c0d0 74 | color14 #88c0d0 75 | 76 | # white (nord5) 77 | color7 #e5e9f0 78 | color15 #e5e9f0 79 | -------------------------------------------------------------------------------- /kitty/themes/rose_pine-kitty.conf: -------------------------------------------------------------------------------- 1 | foreground #e0def4 2 | background #191724 3 | selection_foreground #e0def4 4 | selection_background #403d52 5 | 6 | cursor #e0def4 7 | cursor_text_color #524f67 8 | 9 | url_color #c4a7e7 10 | 11 | active_tab_foreground #e0def4 12 | active_tab_background #26233a 13 | inactive_tab_foreground #6e6a86 14 | inactive_tab_background #191724 15 | 16 | active_border_color #31748f 17 | inactive_border_color #403d52 18 | 19 | # black 20 | color0 #26233a 21 | color8 #6e6a86 22 | 23 | # red 24 | color1 #eb6f92 25 | color9 #eb6f92 26 | 27 | # green 28 | color2 #31748f 29 | color10 #31748f 30 | 31 | # yellow 32 | color3 #f6c177 33 | color11 #f6c177 34 | 35 | # blue 36 | color4 #9ccfd8 37 | color12 #9ccfd8 38 | 39 | # magenta 40 | color5 #c4a7e7 41 | color13 #c4a7e7 42 | 43 | # cyan 44 | color6 #ebbcba 45 | color14 #ebbcba 46 | 47 | # white 48 | color7 #e0def4 49 | color15 #e0def4 50 | -------------------------------------------------------------------------------- /kitty/themes/solarized_osaka-kitty.conf: -------------------------------------------------------------------------------- 1 | background #00141A 2 | foreground #839495 3 | cursor #FDF6E2 4 | 5 | # Normal colors 6 | color0 #00141A 7 | color1 #DC312E 8 | color2 #859900 9 | color3 #B38600 10 | color4 #278BD3 11 | color5 #D33682 12 | color6 #2AA298 13 | color7 #EDE7D4 14 | 15 | # Bright colors 16 | color8 #002D38 17 | color9 #F65351 18 | color10 #B7FA00 19 | color11 #FFBF00 20 | color12 #47ADF5 21 | color13 #F254A1 22 | color14 #2BEEDE 23 | color15 #FDF6E2 24 | 25 | background_blur 10 26 | -------------------------------------------------------------------------------- /kitty/themes/teal-kitty.conf: -------------------------------------------------------------------------------- 1 | 2 | #foregrounds and backgrounds 3 | 4 | background #000000 5 | foreground #eeeeee 6 | cursor #FFFFFF 7 | 8 | 9 | # black 10 | color0 #1b1d1e 11 | color8 #505354 12 | 13 | # red 14 | color1 #d84949 15 | color9 #d84949 16 | 17 | # green 18 | color2 #5f875f 19 | color10 #5f875f 20 | 21 | # yellow 22 | color3 #737074 23 | color11 #909495 24 | 25 | # blue 26 | color4 #005f87 27 | color12 #005f87 28 | 29 | # magenta 30 | color5 #737271 31 | color13 #9a999d 32 | 33 | # cyan 34 | color6 #008080 35 | color14 #008080 36 | 37 | # white 38 | color7 #c5c5be 39 | color15 #dadad5 40 | -------------------------------------------------------------------------------- /kitty/themes/tokyonight_night.conf: -------------------------------------------------------------------------------- 1 | # vim:ft=kitty 2 | 3 | ## name: Tokyo Night 4 | ## license: MIT 5 | ## author: Folke Lemaitre 6 | ## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf 7 | 8 | 9 | background #1a1b26 10 | foreground #c0caf5 11 | selection_background #283457 12 | selection_foreground #c0caf5 13 | url_color #73daca 14 | cursor #c0caf5 15 | cursor_text_color #1a1b26 16 | 17 | # Tabs 18 | active_tab_background #7aa2f7 19 | active_tab_foreground #16161e 20 | inactive_tab_background #292e42 21 | inactive_tab_foreground #545c7e 22 | #tab_bar_background #15161e 23 | 24 | # Windows 25 | active_border_color #7aa2f7 26 | inactive_border_color #292e42 27 | 28 | # normal 29 | color0 #15161e 30 | color1 #f7768e 31 | color2 #9ece6a 32 | color3 #e0af68 33 | color4 #7aa2f7 34 | color5 #bb9af7 35 | color6 #7dcfff 36 | color7 #a9b1d6 37 | 38 | # bright 39 | color8 #414868 40 | color9 #f7768e 41 | color10 #9ece6a 42 | color11 #e0af68 43 | color12 #7aa2f7 44 | color13 #bb9af7 45 | color14 #7dcfff 46 | color15 #c0caf5 47 | 48 | # extended colors 49 | color16 #ff9e64 50 | color17 #db4b4b 51 | -------------------------------------------------------------------------------- /lf/cleaner: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | ueberzugpp cmd -s $UB_SOCKET -a remove -i PREVIEW 4 | -------------------------------------------------------------------------------- /mpd/log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpd/log -------------------------------------------------------------------------------- /mpd/mpd.conf: -------------------------------------------------------------------------------- 1 | # An example configuration file for MPD. 2 | # Read the user manual for documentation: http://www.musicpd.org/doc/user/ 3 | 4 | music_directory "~/Music" 5 | playlist_directory "~/.config/mpd/playlists" 6 | db_file "~/.config/mpd/mpd.db" 7 | state_file "~/.config/mpd/mpdstate" 8 | auto_update "yes" 9 | 10 | # For network 11 | bind_to_address "127.0.0.1" 12 | bind_to_address "~/.config/mpd/socket" 13 | 14 | # Inputs 15 | 16 | audio_output { 17 | type "pulse" 18 | name "pulse audio" 19 | } 20 | 21 | #audio_output { 22 | # type "pipewire" 23 | # name "PipeWire Sound Server" 24 | # mixer_type "hardware" 25 | #} 26 | 27 | audio_output { 28 | type "fifo" 29 | name "my_fifo" 30 | path "/tmp/mpd.fifo" 31 | format "44100:16:2" 32 | } 33 | -------------------------------------------------------------------------------- /mpd/mpd.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpd/mpd.db -------------------------------------------------------------------------------- /mpd/mpdstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpd/mpdstate -------------------------------------------------------------------------------- /mpv/fonts/uosc_icons.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpv/fonts/uosc_icons.otf -------------------------------------------------------------------------------- /mpv/fonts/uosc_textures.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpv/fonts/uosc_textures.ttf -------------------------------------------------------------------------------- /mpv/mpv.conf: -------------------------------------------------------------------------------- 1 | geometry=33% 2 | -------------------------------------------------------------------------------- /mpv/scripts/uosc/bin/ziggy-darwin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpv/scripts/uosc/bin/ziggy-darwin -------------------------------------------------------------------------------- /mpv/scripts/uosc/bin/ziggy-linux: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpv/scripts/uosc/bin/ziggy-linux -------------------------------------------------------------------------------- /mpv/scripts/uosc/bin/ziggy-windows.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/mpv/scripts/uosc/bin/ziggy-windows.exe -------------------------------------------------------------------------------- /mpv/scripts/uosc/elements/Curtain.lua: -------------------------------------------------------------------------------- 1 | local Element = require('elements/Element') 2 | 3 | ---@class Curtain : Element 4 | local Curtain = class(Element) 5 | 6 | function Curtain:new() return Class.new(self) --[[@as Curtain]] end 7 | function Curtain:init() 8 | Element.init(self, 'curtain', {render_order = 999}) 9 | self.opacity = 0 10 | ---@type string[] 11 | self.dependents = {} 12 | end 13 | 14 | ---@param id string 15 | function Curtain:register(id) 16 | self.dependents[#self.dependents + 1] = id 17 | if #self.dependents == 1 then self:tween_property('opacity', self.opacity, 1) end 18 | end 19 | 20 | ---@param id string 21 | function Curtain:unregister(id) 22 | self.dependents = itable_filter(self.dependents, function(item) return item ~= id end) 23 | if #self.dependents == 0 then self:tween_property('opacity', self.opacity, 0) end 24 | end 25 | 26 | function Curtain:render() 27 | if self.opacity == 0 or config.opacity.curtain == 0 then return end 28 | local ass = assdraw.ass_new() 29 | ass:rect(0, 0, display.width, display.height, { 30 | color = config.color.curtain, opacity = config.opacity.curtain * self.opacity, 31 | }) 32 | return ass 33 | end 34 | 35 | return Curtain 36 | -------------------------------------------------------------------------------- /mpv/scripts/uosc/elements/WindowBorder.lua: -------------------------------------------------------------------------------- 1 | local Element = require('elements/Element') 2 | 3 | ---@class WindowBorder : Element 4 | local WindowBorder = class(Element) 5 | 6 | function WindowBorder:new() return Class.new(self) --[[@as WindowBorder]] end 7 | function WindowBorder:init() 8 | Element.init(self, 'window_border', {render_order = 9999}) 9 | self.size = 0 10 | self:decide_enabled() 11 | end 12 | 13 | function WindowBorder:decide_enabled() 14 | self.enabled = options.window_border_size > 0 and not state.fullormaxed and not state.border 15 | self.size = self.enabled and round(options.window_border_size * state.scale) or 0 16 | end 17 | 18 | function WindowBorder:on_prop_border() self:decide_enabled() end 19 | function WindowBorder:on_prop_title_bar() self:decide_enabled() end 20 | function WindowBorder:on_prop_fullormaxed() self:decide_enabled() end 21 | function WindowBorder:on_options() self:decide_enabled() end 22 | 23 | function WindowBorder:render() 24 | if self.size > 0 then 25 | local ass = assdraw.ass_new() 26 | local clip = '\\iclip(' .. self.size .. ',' .. self.size .. ',' .. 27 | (display.width - self.size) .. ',' .. (display.height - self.size) .. ')' 28 | ass:rect(0, 0, display.width + 1, display.height + 1, { 29 | color = bg, clip = clip, opacity = config.opacity.border, 30 | }) 31 | return ass 32 | end 33 | end 34 | 35 | return WindowBorder 36 | -------------------------------------------------------------------------------- /ncmpcpp/error.log: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ncmpcpp/error.log -------------------------------------------------------------------------------- /nvim/.stylua.toml: -------------------------------------------------------------------------------- 1 | indent_type = "Spaces" 2 | indent_width = 2 3 | -------------------------------------------------------------------------------- /nvim/after/queries/ecma/textobjects.scm: -------------------------------------------------------------------------------- 1 | ; extends 2 | (object 3 | (pair 4 | key: (_) @property.lhs 5 | value: (_) @property.inner @property.rhs) @property.outer) 6 | -------------------------------------------------------------------------------- /nvim/init.lua: -------------------------------------------------------------------------------- 1 | require("craftzcat.core") 2 | require("craftzcat.lazy_init") 3 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/core/autocmds.lua: -------------------------------------------------------------------------------- 1 | -- Turn off paste mode when leaving insert 2 | vim.api.nvim_create_autocmd("InsertLeave", { 3 | pattern = "*", 4 | command = "set nopaste", 5 | }) 6 | 7 | -- Disable the concealing in some file formats 8 | -- The default conceallevel is 3 in LazyVim 9 | vim.api.nvim_create_autocmd("FileType", { 10 | pattern = { "json", "jsonc", "markdown" }, 11 | callback = function() 12 | vim.opt.conceallevel = 0 13 | end, 14 | }) 15 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/core/init.lua: -------------------------------------------------------------------------------- 1 | require("craftzcat.core.keymaps") 2 | require("craftzcat.core.options") 3 | require("craftzcat.core.autocmds") 4 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/core/keymaps.lua: -------------------------------------------------------------------------------- 1 | vim.g.mapleader = " " -- mapping leaderkey to 2 | 3 | -- setting up discipline 4 | local discipline = require("craftzcat.utils.discipline") 5 | discipline.cowboy() 6 | 7 | local keymap = vim.keymap -- for conciseness 8 | 9 | keymap.set("i", "jk", "", { desc = "Exit insert mode with jk" }) 10 | 11 | keymap.set("n", "nh", ":nohl", { desc = "Clear search highlights" }) 12 | 13 | -- increment/decrement numbers 14 | keymap.set("n", "+", "", { desc = "Increment number" }) -- increment 15 | keymap.set("n", "-", "", { desc = "Decrement number" }) -- decrement 16 | 17 | -- window management 18 | keymap.set("n", "sv", "v", { desc = "Split window vertically" }) -- split window vertically 19 | keymap.set("n", "sh", "s", { desc = "Split window horizontally" }) -- split window horizontally 20 | keymap.set("n", "se", "=", { desc = "Make splits equal size" }) -- make split windows equal width & height 21 | keymap.set("n", "sx", "close", { desc = "Close current split" }) -- close current split window 22 | keymap.set("n", "to", "tabnew", { desc = "Open new tab" }) -- open new tab 23 | keymap.set("n", "tx", "tabclose", { desc = "Close current tab" }) -- close current tab 24 | keymap.set("n", "tn", "tabn", { desc = "Go to next tab" }) -- go to next tab 25 | keymap.set("n", "tp", "tabp", { desc = "Go to previous tab" }) -- go to previous tab 26 | keymap.set("n", "tf", "tabnew %", { desc = "Open current buffer in new tab" }) -- move current buffer to new tab 27 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/core/options.lua: -------------------------------------------------------------------------------- 1 | vim.cmd("let g:netrw_liststyle = 3") 2 | 3 | local opt = vim.opt 4 | 5 | opt.relativenumber = true 6 | opt.number = true 7 | 8 | -- tabs & indentation 9 | opt.tabstop = 2 -- 2 spaces for tabs (prettier default) 10 | opt.shiftwidth = 2 -- 2 spaces for indent width 11 | opt.expandtab = true -- expand tab to spaces 12 | opt.autoindent = true -- copy indent from current line when starting new one 13 | 14 | opt.wrap = false 15 | 16 | -- search settings 17 | opt.ignorecase = true -- ignore case when searching 18 | opt.smartcase = true -- if you include mixed case in your search, assumes you want case-sensitive 19 | 20 | opt.cursorline = true 21 | 22 | -- turn on termguicolors for tokyonight colorscheme to work 23 | -- (have to use iterm2 or any other true color terminal) 24 | opt.termguicolors = true 25 | opt.background = "dark" -- colorschemes that can be light or dark will be made dark 26 | opt.signcolumn = "yes" -- show sign column so that text doesn't shift 27 | 28 | -- backspace 29 | opt.backspace = "indent,eol,start" -- allow backspace on indent, end of line or insert mode start position 30 | 31 | -- clipboard 32 | opt.clipboard:append("unnamedplus") -- use system clipboard as default register 33 | 34 | -- split windows 35 | opt.splitright = true -- split vertical window to the right 36 | opt.splitbelow = true -- split horizontal window to the bottom 37 | 38 | -- turn off swapfile 39 | opt.swapfile = false 40 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/lazy_init.lua: -------------------------------------------------------------------------------- 1 | local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" 2 | if not vim.loop.fs_stat(lazypath) then 3 | vim.fn.system({ 4 | "git", 5 | "clone", 6 | "--filter=blob:none", 7 | "https://github.com/folke/lazy.nvim.git", 8 | "--branch=stable", -- latest stable release 9 | lazypath, 10 | }) 11 | end 12 | vim.opt.rtp:prepend(lazypath) 13 | 14 | require("lazy").setup({ { import = "craftzcat.plugins" }, { import = "craftzcat.plugins.lsp" }, }, { 15 | checker = { 16 | enabled = true, 17 | notify = true, 18 | }, 19 | change_detection = { 20 | notify = true, 21 | }, 22 | }) 23 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/auto-session.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "rmagatti/auto-session", 3 | config = function() 4 | local auto_session = require("auto-session") 5 | 6 | auto_session.setup({ 7 | auto_restore_enabled = false, 8 | auto_session_suppress_dirs = { "~/", "~/Dev/", "~/Downloads", "~/Documents", "~/Desktop/" }, 9 | }) 10 | 11 | local keymap = vim.keymap 12 | 13 | keymap.set("n", "wr", "SessionRestore", { desc = "Restore session for cwd" }) -- restore last workspace session for current directory 14 | keymap.set("n", "ws", "SessionSave", { desc = "Save session for auto session root dir" }) -- save workspace session for current working directory 15 | end, 16 | } 17 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/autopairs.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "windwp/nvim-autopairs", 3 | event = { "InsertEnter" }, 4 | dependencies = { 5 | "hrsh7th/nvim-cmp", 6 | }, 7 | config = function() 8 | -- import nvim-autopairs 9 | local autopairs = require("nvim-autopairs") 10 | 11 | -- configure autopairs 12 | autopairs.setup({ 13 | check_ts = true, -- enable treesitter 14 | ts_config = { 15 | lua = { "string" }, -- don't add pairs in lua string treesitter nodes 16 | javascript = { "template_string" }, -- don't add pairs in javscript template_string treesitter nodes 17 | java = false, -- don't check treesitter on java 18 | }, 19 | }) 20 | 21 | -- import nvim-autopairs completion functionality 22 | local cmp_autopairs = require("nvim-autopairs.completion.cmp") 23 | 24 | -- import nvim-cmp plugin (completions plugin) 25 | local cmp = require("cmp") 26 | 27 | -- make autopairs and completion work together 28 | cmp.event:on("confirm_done", cmp_autopairs.on_confirm_done()) 29 | end, 30 | } 31 | 32 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/bufferline.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "akinsho/bufferline.nvim", 3 | dependencies = { "nvim-tree/nvim-web-devicons" }, 4 | version = "*", 5 | opts = { 6 | options = { 7 | mode = "tabs", 8 | separator_style = "slant", 9 | show_buffer_close_icons = false, 10 | show_close_icon = false, 11 | }, 12 | }, 13 | } 14 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/colorscheme.lua: -------------------------------------------------------------------------------- 1 | function ColorMyNvim(color) 2 | color = color or "base16-gruvbox-material-dark-hard" 3 | vim.cmd.colorscheme(color) 4 | 5 | -- -- Set transparency for various highlights 6 | -- vim.cmd([[highlight Normal guibg=NONE ctermbg=NONE]]) 7 | -- vim.cmd([[highlight NonText guibg=NONE ctermbg=NONE]]) 8 | -- vim.cmd([[highlight LineNr guibg=NONE ctermbg=NONE]]) 9 | -- vim.cmd([[highlight CursorLine guibg=NONE ctermbg=NONE]]) 10 | -- vim.cmd([[highlight NormalNC guibg=NONE ctermbg=NONE]]) 11 | -- vim.cmd([[highlight SignColumn guibg=NONE ctermbg=NONE]]) 12 | -- vim.cmd([[highlight EndOfBuffer guibg=NONE ctermbg=NONE]]) 13 | -- 14 | -- -- Set transparency for Telescope highlights 15 | -- vim.cmd([[highlight TelescopeNormal guibg=NONE ctermbg=NONE]]) 16 | -- vim.cmd([[highlight TelescopeBorder guibg=NONE ctermbg=NONE]]) 17 | -- vim.cmd([[highlight TelescopePromptNormal guibg=NONE ctermbg=NONE]]) 18 | -- vim.cmd([[highlight TelescopePromptBorder guibg=NONE ctermbg=NONE]]) 19 | -- vim.cmd([[highlight TelescopeResultsNormal guibg=NONE ctermbg=NONE]]) 20 | -- vim.cmd([[highlight TelescopeResultsBorder guibg=NONE ctermbg=NONE]]) 21 | -- vim.cmd([[highlight TelescopePreviewNormal guibg=NONE ctermbg=NONE]]) 22 | -- vim.cmd([[highlight TelescopePreviewBorder guibg=NONE ctermbg=NONE]]) 23 | end 24 | 25 | return { 26 | { 27 | "RRethy/base16-nvim", 28 | config = function() 29 | ColorMyNvim() 30 | end, 31 | }, 32 | } 33 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/comment.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "numToStr/Comment.nvim", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | dependencies = { 5 | "JoosepAlviste/nvim-ts-context-commentstring", 6 | }, 7 | config = function() 8 | -- import comment plugin safely 9 | local comment = require("Comment") 10 | 11 | local ts_context_commentstring = require("ts_context_commentstring.integrations.comment_nvim") 12 | 13 | -- enable comment 14 | comment.setup({ 15 | -- for commenting tsx, jsx, svelte, html files 16 | pre_hook = ts_context_commentstring.create_pre_hook(), 17 | }) 18 | end, 19 | } 20 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/dressing.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "stevearc/dressing.nvim", 3 | event = "VeryLazy", 4 | opts = {}, 5 | } 6 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/formatting.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "stevearc/conform.nvim", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | config = function() 5 | local conform = require("conform") 6 | 7 | conform.setup({ 8 | formatters_by_ft = { 9 | javascript = { "prettier" }, 10 | typescript = { "prettier" }, 11 | javascriptreact = { "prettier" }, 12 | typescriptreact = { "prettier" }, 13 | svelte = { "prettier" }, 14 | css = { "prettier" }, 15 | cpp = { "clangd" }, 16 | html = { "prettier" }, 17 | json = { "prettier" }, 18 | yaml = { "prettier" }, 19 | markdown = { "prettier" }, 20 | graphql = { "prettier" }, 21 | liquid = { "prettier" }, 22 | lua = { "stylua" }, 23 | python = { "isort", "black" }, 24 | }, 25 | format_on_save = { 26 | lsp_fallback = true, 27 | async = false, 28 | timeout_ms = 1000, 29 | }, 30 | }) 31 | 32 | vim.keymap.set({ "n", "v" }, "mp", function() 33 | conform.format({ 34 | lsp_fallback = true, 35 | async = false, 36 | timeout_ms = 1000, 37 | }) 38 | end, { desc = "Format file or range (in visual mode)" }) 39 | end, 40 | } 41 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/gitsigns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "lewis6991/gitsigns.nvim", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | opts = { 5 | on_attach = function(bufnr) 6 | local gs = package.loaded.gitsigns 7 | 8 | local function map(mode, l, r, desc) 9 | vim.keymap.set(mode, l, r, { buffer = bufnr, desc = desc }) 10 | end 11 | 12 | -- Navigation 13 | map("n", "]h", gs.next_hunk, "Next Hunk") 14 | map("n", "[h", gs.prev_hunk, "Prev Hunk") 15 | 16 | -- Actions 17 | map("n", "hs", gs.stage_hunk, "Stage hunk") 18 | map("n", "hr", gs.reset_hunk, "Reset hunk") 19 | map("v", "hs", function() 20 | gs.stage_hunk({ vim.fn.line("."), vim.fn.line("v") }) 21 | end, "Stage hunk") 22 | map("v", "hr", function() 23 | gs.reset_hunk({ vim.fn.line("."), vim.fn.line("v") }) 24 | end, "Reset hunk") 25 | 26 | map("n", "hS", gs.stage_buffer, "Stage buffer") 27 | map("n", "hR", gs.reset_buffer, "Reset buffer") 28 | 29 | map("n", "hu", gs.undo_stage_hunk, "Undo stage hunk") 30 | 31 | map("n", "hp", gs.preview_hunk, "Preview hunk") 32 | 33 | map("n", "hb", function() 34 | gs.blame_line({ full = true }) 35 | end, "Blame line") 36 | map("n", "hB", gs.toggle_current_line_blame, "Toggle line blame") 37 | 38 | map("n", "hd", gs.diffthis, "Diff this") 39 | map("n", "hD", function() 40 | gs.diffthis("~") 41 | end, "Diff this ~") 42 | 43 | -- Text object 44 | map({ "o", "x" }, "ih", ":Gitsigns select_hunk", "Gitsigns select hunk") 45 | end, 46 | }, 47 | } 48 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/harpoon.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "ThePrimeagen/harpoon", 3 | branch = "harpoon2", 4 | opts = { 5 | menu = { 6 | width = vim.api.nvim_win_get_width(0) - 4, 7 | }, 8 | settings = { 9 | save_on_toggle = true, 10 | }, 11 | }, 12 | keys = function() 13 | local keys = { 14 | { 15 | "a", 16 | function() 17 | require("harpoon"):list():add() 18 | end, 19 | desc = "Harpoon File", 20 | }, 21 | { 22 | "qa", 23 | function() 24 | local harpoon = require("harpoon") 25 | harpoon.ui:toggle_quick_menu(harpoon:list()) 26 | end, 27 | desc = "Harpoon Quick Menu", 28 | }, 29 | } 30 | 31 | for i = 1, 5 do 32 | table.insert(keys, { 33 | "" .. i, 34 | function() 35 | require("harpoon"):list():select(i) 36 | end, 37 | desc = "Harpoon to File " .. i, 38 | }) 39 | end 40 | return keys 41 | end, 42 | } 43 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/incline.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "b0o/incline.nvim", 3 | event = "BufReadPre", 4 | config = function() 5 | local colors = require("base16-colorscheme").colors 6 | require("incline").setup({ 7 | highlight = { 8 | groups = { 9 | InclineNormal = { guibg = colors.base08, guifg = colors.base01 }, 10 | InclineNormalNC = { guifg = colors.base01, guibg = colors.base09 }, 11 | }, 12 | }, 13 | window = { margin = { vertical = 0, horizontal = 1 } }, 14 | hide = { 15 | cursorline = true, 16 | }, 17 | render = function(props) 18 | local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t") 19 | if vim.bo[props.buf].modified then 20 | filename = "[+] " .. filename 21 | end 22 | 23 | local icon, color = require("nvim-web-devicons").get_icon_color(filename) 24 | return { { icon, guifg = color }, { " " }, { filename } } 25 | end, 26 | }) 27 | end, 28 | } 29 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/indent-blankline.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "lukas-reineke/indent-blankline.nvim", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | main = "ibl", 5 | opts = { 6 | indent = { char = "│" }, 7 | scope = { enabled = false }, 8 | }, 9 | } 10 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/init.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "nvim-lua/plenary.nvim", -- lua functions that many plugins use 3 | "christoomey/vim-tmux-navigator", -- tmux & split window navigation 4 | } 5 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/lazygit.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "kdheepak/lazygit.nvim", 3 | cmd = { 4 | "LazyGit", 5 | "LazyGitConfig", 6 | "LazyGitCurrentFile", 7 | "LazyGitFilter", 8 | "LazyGitFilterCurrentFile", 9 | }, 10 | -- optional for floating window border decoration 11 | dependencies = { 12 | "nvim-lua/plenary.nvim", 13 | }, 14 | -- setting the keybinding for LazyGit with 'keys' is recommended in 15 | -- order to load the plugin when the command is run for the first time 16 | keys = { 17 | { "lg", "LazyGit", desc = "Open lazy git" }, 18 | }, 19 | } 20 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/linting.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "mfussenegger/nvim-lint", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | config = function() 5 | local lint = require("lint") 6 | 7 | lint.linters_by_ft = { 8 | javascript = { "eslint_d" }, 9 | typescript = { "eslint_d" }, 10 | javascriptreact = { "eslint_d" }, 11 | typescriptreact = { "eslint_d" }, 12 | svelte = { "eslint_d" }, 13 | python = { "pylint" }, 14 | cpp = { "cpplint" }, 15 | } 16 | 17 | local lint_augroup = vim.api.nvim_create_augroup("lint", { clear = true }) 18 | 19 | vim.api.nvim_create_autocmd({ "BufEnter", "BufWritePost", "InsertLeave" }, { 20 | group = lint_augroup, 21 | callback = function() 22 | lint.try_lint() 23 | end, 24 | }) 25 | 26 | vim.keymap.set("n", "l", function() 27 | lint.try_lint() 28 | end, { desc = "Trigger linting for current file" }) 29 | end, 30 | } 31 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/lsp/mason.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "williamboman/mason.nvim", 3 | dependencies = { 4 | "williamboman/mason-lspconfig.nvim", 5 | "WhoIsSethDaniel/mason-tool-installer.nvim", 6 | }, 7 | config = function() 8 | -- import mason 9 | local mason = require("mason") 10 | 11 | -- import mason-lspconfig 12 | local mason_lspconfig = require("mason-lspconfig") 13 | 14 | local mason_tool_installer = require("mason-tool-installer") 15 | 16 | -- enable mason and configure icons 17 | mason.setup({ 18 | ui = { 19 | icons = { 20 | package_installed = "✓", 21 | package_pending = "➜", 22 | package_uninstalled = "✗", 23 | }, 24 | }, 25 | }) 26 | 27 | mason_lspconfig.setup({ 28 | -- list of servers for mason to install 29 | ensure_installed = { 30 | "vtsls", 31 | "html", 32 | "cssls", 33 | "clangd", 34 | "tailwindcss", 35 | "svelte", 36 | "lua_ls", 37 | "graphql", 38 | "emmet_ls", 39 | "prismals", 40 | "pyright", 41 | }, 42 | }) 43 | 44 | mason_tool_installer.setup({ 45 | ensure_installed = { 46 | "prettier", -- prettier formatter 47 | "stylua", -- lua formatter 48 | "isort", -- python formatter 49 | "black", -- python formatter 50 | "pylint", 51 | "eslint_d", 52 | "clang-format", 53 | "cpplint", 54 | }, 55 | }) 56 | end, 57 | } 58 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/lualine.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "nvim-lualine/lualine.nvim", 3 | dependencies = { "nvim-tree/nvim-web-devicons" }, 4 | config = function() 5 | local lualine = require("lualine") 6 | local lazy_status = require("lazy.status") -- to configure lazy pending updates count 7 | 8 | lualine.setup({ 9 | options = { 10 | theme = "base16", 11 | icons_enabled = true, 12 | component_separators = { left = "", right = "" }, 13 | section_separators = { left = "", right = "" }, 14 | }, 15 | sections = { 16 | lualine_a = { 17 | { 18 | "mode", 19 | right_padding = 2, 20 | icon = "", 21 | }, 22 | }, 23 | lualine_x = { 24 | { 25 | lazy_status.updates, 26 | cond = lazy_status.has_updates, 27 | color = { fg = "#7daea3" }, 28 | }, 29 | { "encoding" }, 30 | { "fileformat", symbols = { unix = "󰣇" } }, 31 | { "filetype" }, 32 | }, 33 | }, 34 | }) 35 | end, 36 | } 37 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/mini-animate.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "echasnovski/mini.animate", 3 | event = "VeryLazy", 4 | opts = function(_, opts) 5 | opts.scroll = { 6 | enable = false, 7 | } 8 | opts.cursor = { 9 | enable = true, 10 | } 11 | end, 12 | } 13 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/mini-hipatterns.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "echasnovski/mini.hipatterns", 3 | version = "*", 4 | event = "BufReadPre", 5 | config = function() 6 | local hipatterns = require("mini.hipatterns") 7 | hipatterns.setup({ 8 | highlighters = { 9 | -- Highlight standalone 'FIXME', 'HACK', 'TODO', 'NOTE' 10 | fixme = { pattern = "%f[%w]()FIXME()%f[%W]", group = "MiniHipatternsFixme" }, 11 | hack = { pattern = "%f[%w]()HACK()%f[%W]", group = "MiniHipatternsHack" }, 12 | todo = { pattern = "%f[%w]()TODO()%f[%W]", group = "MiniHipatternsTodo" }, 13 | note = { pattern = "%f[%w]()NOTE()%f[%W]", group = "MiniHipatternsNote" }, 14 | 15 | -- Highlight hex color strings (`#rrggbb`) using that color 16 | hex_color = hipatterns.gen_highlighter.hex_color(), 17 | }, 18 | }) 19 | end, 20 | } 21 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/mini-indentscope.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "echasnovski/mini.indentscope", 3 | version = false, -- wait till new 0.7.0 release to put it back on semver 4 | event = { "BufReadPre", "BufNewFile" }, 5 | opts = { 6 | -- symbol = "▏", 7 | symbol = "│", 8 | options = { try_as_border = true }, 9 | }, 10 | } 11 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/notify.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "rcarriga/nvim-notify", 3 | opts = { 4 | render = "default", 5 | stages = "fade_in_slide_out", 6 | fps = 120, 7 | timeout = 6000, 8 | max_height = function() 9 | return math.floor(vim.o.lines * 0.75) 10 | end, 11 | max_width = function() 12 | return math.floor(vim.o.columns * 0.75) 13 | end, 14 | on_open = function(win) 15 | vim.api.nvim_win_set_config(win, { zindex = 100 }) 16 | end, 17 | background_colour = "FloatShadow", 18 | }, 19 | keys = { 20 | { 21 | "un", 22 | function() 23 | require("notify").dismiss({ silent = true, pending = true }) 24 | end, 25 | desc = "Dismiss All Notifications", 26 | }, 27 | }, 28 | config = function(_, opts) 29 | require("notify").setup(opts) 30 | vim.notify = require("notify") 31 | end, 32 | } 33 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/nvim-maximizer.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "szw/vim-maximizer", 3 | keys = { 4 | { "sm", "MaximizerToggle", desc = "Split window maximize/minimize" }, 5 | }, 6 | } 7 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/nvim-treesitter.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "nvim-treesitter/nvim-treesitter", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | build = ":TSUpdate", 5 | dependencies = { 6 | "windwp/nvim-ts-autotag", 7 | }, 8 | config = function() 9 | -- import nvim-treesitter plugin 10 | local treesitter = require("nvim-treesitter.configs") 11 | 12 | -- configure treesitter 13 | treesitter.setup({ -- enable syntax highlighting 14 | highlight = { 15 | enable = true, 16 | }, 17 | -- enable indentation 18 | indent = { enable = true }, 19 | -- enable autotagging (w/ nvim-ts-autotag plugin) 20 | autotag = { 21 | enable = true, 22 | }, 23 | -- ensure these language parsers are installed 24 | ensure_installed = { 25 | "json", 26 | "javascript", 27 | "typescript", 28 | "tsx", 29 | "yaml", 30 | "html", 31 | "css", 32 | "prisma", 33 | "markdown", 34 | "markdown_inline", 35 | "svelte", 36 | "graphql", 37 | "bash", 38 | "lua", 39 | "vim", 40 | "dockerfile", 41 | "gitignore", 42 | "query", 43 | "vimdoc", 44 | "c", 45 | }, 46 | incremental_selection = { 47 | enable = true, 48 | keymaps = { 49 | init_selection = "", 50 | node_incremental = "", 51 | scope_incremental = false, 52 | node_decremental = "", 53 | }, 54 | }, 55 | }) 56 | end, 57 | } 58 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/substitute.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "gbprod/substitute.nvim", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | config = function() 5 | local substitute = require("substitute") 6 | 7 | substitute.setup() 8 | 9 | -- set keymaps 10 | local keymap = vim.keymap -- for conciseness 11 | 12 | keymap.set("n", "s", substitute.operator, { desc = "Substitute with motion" }) 13 | keymap.set("n", "ss", substitute.line, { desc = "Substitute line" }) 14 | keymap.set("n", "S", substitute.eol, { desc = "Substitute to end of line" }) 15 | keymap.set("x", "s", substitute.visual, { desc = "Substitute in visual mode" }) 16 | end, 17 | } 18 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/surround.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "kylechui/nvim-surround", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | version = "*", -- Use for stability; omit to use `main` branch for the latest features 5 | config = true, 6 | } 7 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/todo-comment.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "folke/todo-comments.nvim", 3 | event = { "BufReadPre", "BufNewFile" }, 4 | dependencies = { "nvim-lua/plenary.nvim" }, 5 | config = function() 6 | local todo_comments = require("todo-comments") 7 | 8 | -- set keymaps 9 | local keymap = vim.keymap -- for conciseness 10 | 11 | keymap.set("n", "]t", function() 12 | todo_comments.jump_next() 13 | end, { desc = "Next todo comment" }) 14 | 15 | keymap.set("n", "[t", function() 16 | todo_comments.jump_prev() 17 | end, { desc = "Previous todo comment" }) 18 | 19 | todo_comments.setup() 20 | end, 21 | } 22 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/trouble.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "folke/trouble.nvim", 3 | dependencies = { "nvim-tree/nvim-web-devicons", "folke/todo-comments.nvim" }, 4 | opts = { 5 | focus = true, 6 | }, 7 | cmd = "Trouble", 8 | keys = { 9 | { "xw", "Trouble diagnostics toggle", desc = "Open trouble workspace diagnostics" }, 10 | { "xd", "Trouble diagnostics toggle filter.buf=0", desc = "Open trouble document diagnostics" }, 11 | { "xq", "Trouble quickfix toggle", desc = "Open trouble quickfix list" }, 12 | { "xl", "Trouble loclist toggle", desc = "Open trouble location list" }, 13 | { "xt", "Trouble todo toggle", desc = "Open todos in trouble" }, 14 | }, 15 | } 16 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/undotree.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "mbbill/undotree", 3 | 4 | config = function() 5 | vim.keymap.set("n", "u", vim.cmd.UndotreeToggle, { desc = "Toggle undotree" }) 6 | end, 7 | } 8 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/plugins/which-key.lua: -------------------------------------------------------------------------------- 1 | return { 2 | "folke/which-key.nvim", 3 | dependencies = { 4 | "echasnovski/mini.icons", 5 | "nvim-tree/nvim-web-devicons", 6 | }, 7 | event = "VeryLazy", 8 | opts = { 9 | -- your configuration comes here 10 | -- or leave it empty to use the default settings 11 | -- refer to the configuration section below 12 | }, 13 | keys = { 14 | { 15 | "?", 16 | function() 17 | require("which-key").show({ global = false }) 18 | end, 19 | desc = "Buffer Local Keymaps (which-key)", 20 | }, 21 | }, 22 | } 23 | -------------------------------------------------------------------------------- /nvim/lua/craftzcat/utils/discipline.lua: -------------------------------------------------------------------------------- 1 | local M = {} 2 | function M.cowboy() 3 | ---@type table? 4 | local id 5 | local ok = true 6 | for _, key in ipairs({ "h", "j", "k", "l", "+", "-" }) do 7 | local count = 0 8 | local timer = assert(vim.uv.new_timer()) 9 | local map = key 10 | vim.keymap.set("n", key, function() 11 | if vim.v.count > 0 then 12 | count = 0 13 | end 14 | if count >= 10 and vim.bo.buftype ~= "nofile" then 15 | ok, id = pcall(vim.notify, "Hold it Cowboy!", vim.log.levels.WARN, { 16 | icon = "🤠", 17 | replace = id, 18 | keep = function() 19 | return count >= 10 20 | end, 21 | }) 22 | if not ok then 23 | id = nil 24 | return map 25 | end 26 | else 27 | count = count + 1 28 | timer:start(2000, 0, function() 29 | count = 0 30 | end) 31 | return map 32 | end 33 | end, { expr = true, silent = true }) 34 | end 35 | end 36 | 37 | return M 38 | -------------------------------------------------------------------------------- /polybar/bspwm/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Terminate already running bar instances 4 | # If all your bars have ipc enabled, you can use 5 | polybar-msg cmd quit 6 | # Otherwise you can use the nuclear option: 7 | # killall -q polybar 8 | 9 | # Launch bar1 and bar2 10 | echo "---" | tee -a /tmp/polybar1.log 11 | polybar mainbar 2>&1 | tee -a /tmp/polybar1.log & disown 12 | 13 | echo "Bars launched..." 14 | -------------------------------------------------------------------------------- /polybar/herbstluftwm/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Terminate already running bar instances 4 | # If all your bars have ipc enabled, you can use 5 | polybar-msg cmd quit 6 | # Otherwise you can use the nuclear option: 7 | # killall -q polybar 8 | 9 | # Launch bar1 and bar2 10 | echo "---" | tee -a /tmp/polybar1.log 11 | polybar mainbar --config=~/.config/polybar/herbstluftwm/config.ini 2>&1 | tee -a /tmp/polybar1.log & disown 12 | 13 | echo "Bars launched..." 14 | -------------------------------------------------------------------------------- /polybar/kabinspace/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Terminate already running bar instances 4 | killall -q polybar 5 | # If all your bars have ipc enabled, you can also use 6 | # polybar-msg cmd quit 7 | 8 | # Launch bar1 and bar2 9 | echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log 10 | polybar mybar --config=~/.config/polybar/kabinspace/config.ini 2>&1 | tee -a /tmp/polybar1.log & 11 | disown 12 | 13 | echo "Bars launched..." 14 | -------------------------------------------------------------------------------- /polybar/kabinspace/scripts/get_spotify_status.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # The name of polybar bar which houses the main spotify module and the control modules. 4 | PARENT_BAR="now-playing" 5 | PARENT_BAR_PID=$(pgrep -a "polybar" | grep "$PARENT_BAR" | cut -d" " -f1) 6 | 7 | # Set the source audio player here. 8 | # Players supporting the MPRIS spec are supported. 9 | # Examples: spotify, vlc, chrome, mpv and others. 10 | # Use `playerctld` to always detect the latest player. 11 | # See more here: https://github.com/altdesktop/playerctl/#selecting-players-to-control 12 | PLAYER="spotify" 13 | 14 | # Format of the information displayed 15 | # Eg. {{ artist }} - {{ album }} - {{ title }} 16 | # See more attributes here: https://github.com/altdesktop/playerctl/#printing-properties-and-metadata 17 | FORMAT="{{ title }} - {{ artist }}" 18 | 19 | # Sends $2 as message to all polybar PIDs that are part of $1 20 | update_hooks() { 21 | while IFS= read -r id; do 22 | polybar-msg -p "$id" hook spotify-play-pause $2 1>/dev/null 2>&1 23 | done < <(echo "$1") 24 | } 25 | 26 | PLAYERCTL_STATUS=$(playerctl --player=$PLAYER status 2>/dev/null) 27 | EXIT_CODE=$? 28 | 29 | if [ $EXIT_CODE -eq 0 ]; then 30 | STATUS=$PLAYERCTL_STATUS 31 | else 32 | STATUS="No player is running" 33 | fi 34 | 35 | if [ "$1" == "--status" ]; then 36 | echo "$STATUS" 37 | else 38 | if [ "$STATUS" = "Stopped" ]; then 39 | echo "No music is playing" 40 | elif [ "$STATUS" = "Paused" ]; then 41 | update_hooks "$PARENT_BAR_PID" 2 42 | playerctl --player=$PLAYER metadata --format "$FORMAT" 43 | elif [ "$STATUS" = "No player is running" ]; then 44 | echo "$STATUS" 45 | else 46 | update_hooks "$PARENT_BAR_PID" 1 47 | playerctl --player=$PLAYER metadata --format "$FORMAT" 48 | fi 49 | fi 50 | -------------------------------------------------------------------------------- /polybar/kabinspace/scripts/scroll_spotify_status.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # see man zscroll for documentation of the following parameters 4 | zscroll -l 30 \ 5 | --delay 0.1 \ 6 | --scroll-padding " | " \ 7 | --match-command "$(dirname $0)/get_spotify_status.sh --status" \ 8 | --match-text "Playing" "--scroll 1" \ 9 | --match-text "Paused" "--scroll 0" \ 10 | --update-check true "$(dirname $0)/get_spotify_status.sh" & 11 | 12 | wait 13 | -------------------------------------------------------------------------------- /qtile/__pycache__/colors.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/qtile/__pycache__/colors.cpython-312.pyc -------------------------------------------------------------------------------- /qtile/__pycache__/config.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/qtile/__pycache__/config.cpython-312.pyc -------------------------------------------------------------------------------- /qtile/__pycache__/spotify.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/qtile/__pycache__/spotify.cpython-312.pyc -------------------------------------------------------------------------------- /qtile/__pycache__/unicodes.cpython-312.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/qtile/__pycache__/unicodes.cpython-312.pyc -------------------------------------------------------------------------------- /qtile/autostart.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | nm-applet & 3 | dunst & 4 | mpd & 5 | picom & 6 | -------------------------------------------------------------------------------- /qtile/icons/void.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/qtile/icons/void.png -------------------------------------------------------------------------------- /qtile/scripts/vol-helper: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" 4 | 5 | # If muted, print 󰖁 and exit. 6 | [ "$vol" != "${vol%\[MUTED\]}" ] && echo 󰖁 && exit 7 | 8 | vol="${vol#Volume: }" 9 | 10 | split() { 11 | # For ommiting the . without calling and external program. 12 | IFS=$2 13 | set -- $1 14 | printf '%s' "$@" 15 | } 16 | 17 | vol="$(printf "%.0f" "$(split "$vol" ".")")" 18 | 19 | case 1 in 20 | $((vol >= 70)) ) icon=" " ;; 21 | $((vol >= 30)) ) icon=" " ;; 22 | $((vol >= 1)) ) icon=" " ;; 23 | * ) echo 󰖁 && exit ;; 24 | esac 25 | 26 | echo "$icon$vol%" 27 | -------------------------------------------------------------------------------- /ranger/colorschemes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/colorschemes/__init__.py -------------------------------------------------------------------------------- /ranger/colorschemes/__pycache__/__init__.cpython-310.opt-1.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/colorschemes/__pycache__/__init__.cpython-310.opt-1.pyc -------------------------------------------------------------------------------- /ranger/colorschemes/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/colorschemes/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /ranger/colorschemes/__pycache__/default.cpython-310.opt-1.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/colorschemes/__pycache__/default.cpython-310.opt-1.pyc -------------------------------------------------------------------------------- /ranger/colorschemes/__pycache__/default.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/colorschemes/__pycache__/default.cpython-311.pyc -------------------------------------------------------------------------------- /ranger/plugins/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/plugins/__init__.py -------------------------------------------------------------------------------- /ranger/plugins/__pycache__/__init__.cpython-310.opt-1.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/plugins/__pycache__/__init__.cpython-310.opt-1.pyc -------------------------------------------------------------------------------- /ranger/plugins/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/plugins/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /ranger/plugins/ranger_devicons/__init__.py: -------------------------------------------------------------------------------- 1 | import os 2 | import ranger.api 3 | from ranger.core.linemode import LinemodeBase 4 | from .devicons import * 5 | 6 | SEPARATOR = os.getenv('RANGER_DEVICONS_SEPARATOR', ' ') 7 | 8 | @ranger.api.register_linemode 9 | class DevIconsLinemode(LinemodeBase): 10 | name = "devicons" 11 | 12 | uses_metadata = False 13 | 14 | def filetitle(self, file, metadata): 15 | return devicon(file) + SEPARATOR + file.relative_path 16 | -------------------------------------------------------------------------------- /ranger/plugins/ranger_devicons/__pycache__/__init__.cpython-310.opt-1.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/plugins/ranger_devicons/__pycache__/__init__.cpython-310.opt-1.pyc -------------------------------------------------------------------------------- /ranger/plugins/ranger_devicons/__pycache__/__init__.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/plugins/ranger_devicons/__pycache__/__init__.cpython-311.pyc -------------------------------------------------------------------------------- /ranger/plugins/ranger_devicons/__pycache__/devicons.cpython-310.opt-1.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/plugins/ranger_devicons/__pycache__/devicons.cpython-310.opt-1.pyc -------------------------------------------------------------------------------- /ranger/plugins/ranger_devicons/__pycache__/devicons.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/ranger/plugins/ranger_devicons/__pycache__/devicons.cpython-311.pyc -------------------------------------------------------------------------------- /rofi/NetworkManager/NetManagerDM.ini: -------------------------------------------------------------------------------- 1 | [dmenu] 2 | dmenu_command = rofi -dmenu -i -theme ~/.config/rofi/NetworkManager/NetManagerDM.rasi 3 | highlight = True 4 | compact = True 5 | wifi_chars = ▂▄▆█ 6 | format = {name} {bars} 7 | 8 | [dmenu_passphrase] 9 | # # Uses the -password flag for Rofi, -x for bemenu. For dmenu, sets -nb and 10 | # # -nf to the same color or uses -P if the dmenu password patch is applied 11 | # # https://tools.suckless.org/dmenu/patches/password/ 12 | # obscure = True 13 | # obscure_color = #222222 14 | 15 | [pinentry] 16 | # description = (Default: Get network password) 17 | # prompt = (Default: Password:) 18 | 19 | [editor] 20 | terminal = kitty 21 | gui_if_available = True 22 | 23 | [nmdm] 24 | # rescan_delay = # (seconds to wait after a wifi rescan before redisplaying the results) 25 | -------------------------------------------------------------------------------- /rofi/NetworkManager/shared.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | font: "IosevkaMayukaiCodepro 9"; 3 | background: #1D2021FF; 4 | background-alt: #282828FF; 5 | foreground: #d4be98FF; 6 | selected: #7daea3FF; 7 | active: #a9b665FF; 8 | urgent: #ea6962FF; 9 | } 10 | -------------------------------------------------------------------------------- /rofi/applets/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/gruvmaterial.rasi" 19 | -------------------------------------------------------------------------------- /rofi/applets/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "JetBrains Mono Nerd Font 10"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/applets/shared/theme.bash: -------------------------------------------------------------------------------- 1 | ## Current Theme 2 | 3 | type="$HOME/.config/rofi/applets/type-2" 4 | style='style-1.rasi' 5 | -------------------------------------------------------------------------------- /rofi/colors/adapta.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #222D32FF; 11 | background-alt: #29353BFF; 12 | foreground: #B8C2C6FF; 13 | selected: #00BCD4FF; 14 | active: #21FF90FF; 15 | urgent: #FF4B60FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/arc.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #2F343FFF; 11 | background-alt: #383C4AFF; 12 | foreground: #BAC5D0FF; 13 | selected: #5294E2FF; 14 | active: #98C379FF; 15 | urgent: #E06B74FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/black.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #000000FF; 11 | background-alt: #101010FF; 12 | foreground: #FFFFFFFF; 13 | selected: #62AEEFFF; 14 | active: #98C379FF; 15 | urgent: #E06B74FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/catppuccin.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #1E1D2FFF; 11 | background-alt: #282839FF; 12 | foreground: #D9E0EEFF; 13 | selected: #7AA2F7FF; 14 | active: #ABE9B3FF; 15 | urgent: #F28FADFF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/cyberpunk.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #000B1EFF; 11 | background-alt: #0A1528FF; 12 | foreground: #0ABDC6FF; 13 | selected: #0ABDC6FF; 14 | active: #00FF00FF; 15 | urgent: #FF0000FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/dracula.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #1E1F29FF; 11 | background-alt: #282A36FF; 12 | foreground: #FFFFFFFF; 13 | selected: #BD93F9FF; 14 | active: #50FA7BFF; 15 | urgent: #FF5555FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/everforest.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #323D43FF; 11 | background-alt: #3C474DFF; 12 | foreground: #DAD1BEFF; 13 | selected: #7FBBB3FF; 14 | active: #A7C080FF; 15 | urgent: #E67E80FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/gruvbox.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #282828FF; 11 | background-alt: #353535FF; 12 | foreground: #EBDBB2FF; 13 | selected: #83A598FF; 14 | active: #B8BB26FF; 15 | urgent: #FB4934FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/gruvmaterial.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #1D2021FF; 3 | background-alt: #282828FF; 4 | foreground: #D4Be98FF; 5 | selected: #7DAEA3FF; 6 | active: #A9B665FF; 7 | urgent: #EA6962FF; 8 | } 9 | 10 | -------------------------------------------------------------------------------- /rofi/colors/lovelace.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #1D1F28FF; 11 | background-alt: #282A36FF; 12 | foreground: #FDFDFDFF; 13 | selected: #79E6F3FF; 14 | active: #5ADECDFF; 15 | urgent: #F37F97FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/navy.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #021B21FF; 11 | background-alt: #0C252BFF; 12 | foreground: #F2F1B9FF; 13 | selected: #44B5B1FF; 14 | active: #7CBF9EFF; 15 | urgent: #C2454EFF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/nord.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #2E3440FF; 11 | background-alt: #383E4AFF; 12 | foreground: #E5E9F0FF; 13 | selected: #81A1C1FF; 14 | active: #A3BE8CFF; 15 | urgent: #BF616AFF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/onedark.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #1E2127FF; 11 | background-alt: #282B31FF; 12 | foreground: #FFFFFFFF; 13 | selected: #61AFEFFF; 14 | active: #98C379FF; 15 | urgent: #E06C75FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/paper.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #F1F1F1FF; 11 | background-alt: #E0E0E0FF; 12 | foreground: #252525FF; 13 | selected: #008EC4FF; 14 | active: #10A778FF; 15 | urgent: #C30771FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/solarized.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #002B36FF; 11 | background-alt: #073642FF; 12 | foreground: #EEE8D5FF; 13 | selected: #268BD2FF; 14 | active: #859900FF; 15 | urgent: #DC322FFF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/tokyonight.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Levi Lacoss (fishyfishfish55) 4 | * Github : @fishyfishfish55 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #15161EFF; 11 | background-alt: #1A1B26FF; 12 | foreground: #C0CAF5FF; 13 | selected: #33467CFF; 14 | active: #414868FF; 15 | urgent: #F7768EFF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/colors/yousai.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | **/ 8 | 9 | * { 10 | background: #F5E7DEFF; 11 | background-alt: #EBDCD2FF; 12 | foreground: #34302DFF; 13 | selected: #D97742FF; 14 | active: #BF8F60FF; 15 | urgent: #B23636FF; 16 | } 17 | -------------------------------------------------------------------------------- /rofi/images/a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/a.png -------------------------------------------------------------------------------- /rofi/images/b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/b.png -------------------------------------------------------------------------------- /rofi/images/c.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/c.png -------------------------------------------------------------------------------- /rofi/images/d.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/d.png -------------------------------------------------------------------------------- /rofi/images/e.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/e.jpg -------------------------------------------------------------------------------- /rofi/images/f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/f.png -------------------------------------------------------------------------------- /rofi/images/flowers-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/flowers-1.png -------------------------------------------------------------------------------- /rofi/images/flowers-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/flowers-2.png -------------------------------------------------------------------------------- /rofi/images/flowers-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/flowers-3.png -------------------------------------------------------------------------------- /rofi/images/g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/g.png -------------------------------------------------------------------------------- /rofi/images/gradient.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/gradient.png -------------------------------------------------------------------------------- /rofi/images/h.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/h.jpg -------------------------------------------------------------------------------- /rofi/images/i.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/i.jpg -------------------------------------------------------------------------------- /rofi/images/j.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/j.jpg -------------------------------------------------------------------------------- /rofi/images/paper.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/paper.png -------------------------------------------------------------------------------- /rofi/images/user.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/rofi/images/user.jpeg -------------------------------------------------------------------------------- /rofi/launchers/type-1/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya (adi1090x) 4 | ## Github : @adi1090x 5 | # 6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window) 7 | # 8 | ## Available Styles 9 | # 10 | ## style-1 style-2 style-3 style-4 style-5 11 | ## style-6 style-7 style-8 style-9 style-10 12 | ## style-11 style-12 style-13 style-14 style-15 13 | 14 | dir="$HOME/.config/rofi/launchers/type-1" 15 | theme='style-1' 16 | 17 | ## Run 18 | rofi \ 19 | -show drun \ 20 | -theme ${dir}/${theme}.rasi 21 | -------------------------------------------------------------------------------- /rofi/launchers/type-1/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/onedark.rasi" 19 | -------------------------------------------------------------------------------- /rofi/launchers/type-1/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "JetBrains Mono Nerd Font 10"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/launchers/type-2/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya (adi1090x) 4 | ## Github : @adi1090x 5 | # 6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window) 7 | # 8 | ## Available Styles 9 | # 10 | ## style-1 style-2 style-3 style-4 style-5 11 | ## style-6 style-7 style-8 style-9 style-10 12 | ## style-11 style-12 style-13 style-14 style-15 13 | 14 | dir="$HOME/.config/rofi/launchers/type-2" 15 | theme='style-1' 16 | 17 | ## Run 18 | rofi \ 19 | -show drun \ 20 | -theme ${dir}/${theme}.rasi 21 | -------------------------------------------------------------------------------- /rofi/launchers/type-2/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/gruvmaterial.rasi" 19 | -------------------------------------------------------------------------------- /rofi/launchers/type-2/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "Iosevka Nerd Font 10"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/launchers/type-3/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya (adi1090x) 4 | ## Github : @adi1090x 5 | # 6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window) 7 | # 8 | ## Available Styles 9 | # 10 | ## style-1 style-2 style-3 style-4 style-5 11 | ## style-6 style-7 style-8 style-9 style-10 12 | 13 | dir="$HOME/.config/rofi/launchers/type-3" 14 | theme='style-10' 15 | 16 | ## Run 17 | rofi \ 18 | -show drun \ 19 | -theme ${dir}/${theme}.rasi 20 | -------------------------------------------------------------------------------- /rofi/launchers/type-3/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/onedark.rasi" 19 | -------------------------------------------------------------------------------- /rofi/launchers/type-3/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "Iosevka Nerd Font 10"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/launchers/type-4/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya (adi1090x) 4 | ## Github : @adi1090x 5 | # 6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window) 7 | # 8 | ## Available Styles 9 | # 10 | ## style-1 style-2 style-3 style-4 style-5 11 | ## style-6 style-7 style-8 style-9 style-10 12 | 13 | dir="$HOME/.config/rofi/launchers/type-4" 14 | theme='style-1' 15 | 16 | ## Run 17 | rofi \ 18 | -show drun \ 19 | -theme ${dir}/${theme}.rasi 20 | -------------------------------------------------------------------------------- /rofi/launchers/type-4/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/onedark.rasi" 19 | -------------------------------------------------------------------------------- /rofi/launchers/type-4/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "Iosevka Nerd Font 10"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/launchers/type-5/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya (adi1090x) 4 | ## Github : @adi1090x 5 | # 6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window) 7 | # 8 | ## Available Styles 9 | # 10 | ## style-1 style-2 style-3 style-4 style-5 11 | 12 | dir="$HOME/.config/rofi/launchers/type-5" 13 | theme='style-1' 14 | 15 | ## Run 16 | rofi \ 17 | -show drun \ 18 | -theme ${dir}/${theme}.rasi 19 | -------------------------------------------------------------------------------- /rofi/launchers/type-6/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya (adi1090x) 4 | ## Github : @adi1090x 5 | # 6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window) 7 | # 8 | ## Available Styles 9 | # 10 | ## style-1 style-2 style-3 style-4 style-5 11 | ## style-6 style-7 style-8 style-9 style-10 12 | 13 | dir="$HOME/.config/rofi/launchers/type-6" 14 | theme='style-1' 15 | 16 | ## Run 17 | rofi \ 18 | -show drun \ 19 | -theme ${dir}/${theme}.rasi 20 | -------------------------------------------------------------------------------- /rofi/launchers/type-7/launcher.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Author : Aditya Shakya (adi1090x) 4 | ## Github : @adi1090x 5 | # 6 | ## Rofi : Launcher (Modi Drun, Run, File Browser, Window) 7 | # 8 | ## Available Styles 9 | # 10 | ## style-1 style-2 style-3 style-4 style-5 11 | ## style-6 style-7 style-8 style-9 style-10 12 | 13 | dir="$HOME/.config/rofi/launchers/type-7" 14 | theme='style-1' 15 | 16 | ## Run 17 | rofi \ 18 | -show drun \ 19 | -theme ${dir}/${theme}.rasi 20 | -------------------------------------------------------------------------------- /rofi/powermenu/type-1/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/onedark.rasi" 19 | -------------------------------------------------------------------------------- /rofi/powermenu/type-1/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "JetBrains Mono Nerd Font 10"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/powermenu/type-2/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/onedark.rasi" 19 | -------------------------------------------------------------------------------- /rofi/powermenu/type-2/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "JetBrains Mono Nerd Font 10"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/powermenu/type-3/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/onedark.rasi" 19 | -------------------------------------------------------------------------------- /rofi/powermenu/type-3/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "JetBrains Mono Nerd Font 12"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/powermenu/type-4/shared/colors.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Colors 7 | * 8 | * Available Colors Schemes 9 | * 10 | * adapta catppuccin everforest navy paper 11 | * arc cyberpunk gruvbox nord solarized 12 | * black dracula lovelace onedark yousai 13 | * 14 | **/ 15 | 16 | /* Import color-scheme from `colors` directory */ 17 | 18 | @import "~/.config/rofi/colors/onedark.rasi" 19 | -------------------------------------------------------------------------------- /rofi/powermenu/type-4/shared/fonts.rasi: -------------------------------------------------------------------------------- 1 | /** 2 | * 3 | * Author : Aditya Shakya (adi1090x) 4 | * Github : @adi1090x 5 | * 6 | * Fonts 7 | * 8 | **/ 9 | 10 | * { 11 | font: "JetBrains Mono Nerd Font 12"; 12 | } 13 | -------------------------------------------------------------------------------- /rofi/scripts/launcher_t1: -------------------------------------------------------------------------------- 1 | ../launchers/type-1/launcher.sh -------------------------------------------------------------------------------- /rofi/scripts/launcher_t2: -------------------------------------------------------------------------------- 1 | ../launchers/type-2/launcher.sh -------------------------------------------------------------------------------- /rofi/scripts/launcher_t3: -------------------------------------------------------------------------------- 1 | ../launchers/type-3/launcher.sh -------------------------------------------------------------------------------- /rofi/scripts/launcher_t4: -------------------------------------------------------------------------------- 1 | ../launchers/type-4/launcher.sh -------------------------------------------------------------------------------- /rofi/scripts/launcher_t5: -------------------------------------------------------------------------------- 1 | ../launchers/type-5/launcher.sh -------------------------------------------------------------------------------- /rofi/scripts/launcher_t6: -------------------------------------------------------------------------------- 1 | ../launchers/type-6/launcher.sh -------------------------------------------------------------------------------- /rofi/scripts/launcher_t7: -------------------------------------------------------------------------------- 1 | ../launchers/type-7/launcher.sh -------------------------------------------------------------------------------- /rofi/scripts/powermenu_t1: -------------------------------------------------------------------------------- 1 | ../powermenu/type-1/powermenu.sh -------------------------------------------------------------------------------- /rofi/scripts/powermenu_t2: -------------------------------------------------------------------------------- 1 | ../powermenu/type-2/powermenu.sh -------------------------------------------------------------------------------- /rofi/scripts/powermenu_t3: -------------------------------------------------------------------------------- 1 | ../powermenu/type-3/powermenu.sh -------------------------------------------------------------------------------- /rofi/scripts/powermenu_t4: -------------------------------------------------------------------------------- 1 | ../powermenu/type-4/powermenu.sh -------------------------------------------------------------------------------- /rofi/scripts/powermenu_t5: -------------------------------------------------------------------------------- 1 | ../powermenu/type-5/powermenu.sh -------------------------------------------------------------------------------- /rofi/scripts/powermenu_t6: -------------------------------------------------------------------------------- 1 | ../powermenu/type-6/powermenu.sh -------------------------------------------------------------------------------- /shell/bm-dirs: -------------------------------------------------------------------------------- 1 | # You can add comments to these files with # 2 | cac ${XDG_CACHE_HOME:-$HOME/.cache} 3 | cf ${XDG_CONFIG_HOME:-$HOME/.config} 4 | D ${XDG_DOWNLOAD_DIR:-$HOME/Downloads} 5 | d ${XDG_DOCUMENTS_DIR:-$HOME/Documents} 6 | dt ${XDG_DATA_HOME:-$HOME/.local/share} 7 | rr $HOME/.local/src 8 | h $HOME 9 | m ${XDG_MUSIC_DIR:-$HOME/Music} 10 | mn /mnt 11 | pp ${XDG_PICTURES_DIR:-$HOME/Pictures} 12 | sc $HOME/.local/bin 13 | src $HOME/.local/src 14 | vv ${XDG_VIDEOS_DIR:-$HOME/Videos} 15 | -------------------------------------------------------------------------------- /shell/inputrc: -------------------------------------------------------------------------------- 1 | $include /etc/inputrc 2 | set editing-mode vi 3 | $if mode=vi 4 | 5 | set show-mode-in-prompt on 6 | set vi-ins-mode-string \1\e[6 q\2 7 | set vi-cmd-mode-string \1\e[2 q\2 8 | 9 | set keymap vi-command 10 | # these are for vi-command mode 11 | Control-l: clear-screen 12 | Control-a: beginning-of-line 13 | 14 | set keymap vi-insert 15 | # these are for vi-insert mode 16 | Control-l: clear-screen 17 | Control-a: beginning-of-line 18 | 19 | $endif 20 | -------------------------------------------------------------------------------- /spicetify/Themes/Dribbblish/assets/glue-resources/fonts/GoogleSansDisplayMedium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/spicetify/Themes/Dribbblish/assets/glue-resources/fonts/GoogleSansDisplayMedium.woff2 -------------------------------------------------------------------------------- /spicetify/Themes/Dribbblish/assets/glue-resources/fonts/GoogleSansDisplayRegular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/spicetify/Themes/Dribbblish/assets/glue-resources/fonts/GoogleSansDisplayRegular.woff2 -------------------------------------------------------------------------------- /spicetify/Themes/Dribbblish/assets/glue-resources/fonts/Roboto.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/spicetify/Themes/Dribbblish/assets/glue-resources/fonts/Roboto.woff2 -------------------------------------------------------------------------------- /spicetify/Themes/Dribbblish/assets/glue-resources/fonts/RobotoMedium.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhra00/dotfiles/986cd362fc706f3744e78bad2780d20c21d343fa/spicetify/Themes/Dribbblish/assets/glue-resources/fonts/RobotoMedium.woff2 -------------------------------------------------------------------------------- /starship/starship.toml: -------------------------------------------------------------------------------- 1 | format="$directory$git_branch$git_status$nodejs$lua$cmd_duration\n$shell$character" 2 | add_newline = false 3 | 4 | [character] 5 | success_symbol = "[#](green)" 6 | error_symbol = "[#](red)" 7 | vimcmd_symbol = "[#](purple)" 8 | 9 | 10 | [directory] 11 | truncation_length = 1 12 | format = "[󰉋 ](yellow) [$path]($style)[$read_only]($read_only_style) " 13 | read_only = "  " 14 | truncation_symbol = "" 15 | 16 | [git_branch] 17 | format = '\[[$symbol$branch]($style)\]' 18 | 19 | [git_status] 20 | format = '([\[$all_status$ahead_behind\]]($style))' 21 | 22 | [nodejs] 23 | format = '\[[$symbol($version)]($style)\]' 24 | 25 | [lua] 26 | format = '\[[$symbol($version)]($style)\]' 27 | 28 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-battery: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | black=#1E1E2E 4 | 5 | CHARGE=$(cat /sys/class/power_supply/BAT1/capacity) 6 | STATUS=$(cat /sys/class/power_supply/BAT1/status) 7 | if [ "$STATUS" = "Charging" ]; then 8 | printf "^B4^^c$black^  ^d^ ^C4^$CHARGE%% $STATUS" 9 | else 10 | printf "^B4^^c$black^  ^d^ ^C4^$CHARGE%% $STATUS" 11 | fi 12 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-brightness: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | printf "^C5^ " 3 | printf "^C5^%.0f\n" $(cat /sys/class/backlight/*/brightness) 4 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-clock: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | black=#1E1E2E 4 | 5 | clock=$(date '+%I') 6 | 7 | case "$clock" in 8 | "00") icon="󱑊 " ;; 9 | "01") icon="󱐿 " ;; 10 | "02") icon="󱑀 " ;; 11 | "03") icon="󱑁 " ;; 12 | "04") icon="󱑂 " ;; 13 | "05") icon="󱑃 " ;; 14 | "06") icon="󱑄 " ;; 15 | "07") icon="󱑅 " ;; 16 | "08") icon="󱑆 " ;; 17 | "09") icon="󱑇 " ;; 18 | "10") icon="󱑈 " ;; 19 | "11") icon="󱑉 " ;; 20 | "12") icon="󱑊 " ;; 21 | esac 22 | 23 | 24 | printf "^c$black^ ^B4^ $icon" 25 | printf "^d^^C4^ $(date '+%H:%M') " 26 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-cpu: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | black=#1E1E2E 4 | 5 | cpu_val=$(grep -o "^[^ ]*" /proc/loadavg) 6 | printf "^B2^^c$black^ CPU " 7 | printf "^d^^C2^ $cpu_val" 8 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-internet: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | black=#1E1E2E 3 | case "$(cat /sys/class/net/wl*/operstate 2>/dev/null)" in 4 | up) printf "^c$black^^B2^ 󰤨 ^d^%s" " ^C2^Connected" ;; 5 | down) printf "^c$black^^B2^ 󰤭 ^d^%s" " ^C2^Disconnected" ;; 6 | esac 7 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-pacupdate: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | updates=$({ timeout 20 checkupdates 2>/dev/null || true; } | wc -l) 4 | 5 | 6 | if [ -z "$updates" ]; then 7 | printf " ^C6^  Fully Updated" 8 | else 9 | printf " ^C6^  $updates"" updates" 10 | fi 11 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-ram: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | black=#1E1E2E 4 | printf "^B4^^c$black^  " 5 | printf "^d^^C4^ $(free -h | awk '/^Mem/ { print $3 }' | sed s/i//g)" 6 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-volume: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | black=#1E1E2E 4 | 5 | vol="$(wpctl get-volume @DEFAULT_AUDIO_SINK@)" 6 | 7 | # If muted, print 󰖁 and exit. 8 | [ "$vol" != "${vol%\[MUTED\]}" ] && printf "^c$black^^B1^ 󰖁 ^d^" && exit 9 | 10 | vol="${vol#Volume: }" 11 | 12 | split() { 13 | # For ommiting the . without calling and external program. 14 | IFS=$2 15 | set -- $1 16 | printf '%s' "$@" 17 | } 18 | 19 | vol="$(printf "%.0f" "$(split "$vol" ".")")" 20 | 21 | case 1 in 22 | $((vol >= 70)) ) icon="  " ;; 23 | $((vol >= 30)) ) icon="  " ;; 24 | $((vol >= 1)) ) icon="  " ;; 25 | * ) printf "^c$black^^B1^ 󰖁 ^d^" && exit ;; 26 | esac 27 | 28 | printf "^B1^^c$black^$icon^d^ $vol%%" 29 | -------------------------------------------------------------------------------- /statusbar-catppuccin/sb-weather: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | black=#1E1E2E 4 | LOCATION=Memari 5 | DATA=$(curl -s wttr.in/$LOCATION?format=1 | grep -o ".[0-9].*") 6 | printf "^c$black^^B3^  ^d^^C3^${DATA}" 7 | 8 | -------------------------------------------------------------------------------- /wal/postrun: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | dunstconf="${XDG_CONFIG_HOME:-$HOME/.config}/dunst/dunstrc" 4 | zathuraconf="${XDG_CONFIG_HOME:-$HOME/.config}/zathura/zathurarc" 5 | 6 | source "${XDG_CACHE_HOME:-$HOME/.cache}/wal/colors.sh" 7 | 8 | mkdir -p "${dunstconf%/*}" "${zathuraconf%/*}" 9 | 10 | mv -n "$dunstconf" "$dunstconf.bak" 11 | mv -n "$zathuraconf" "$zathuraconf.bak" 12 | 13 | ln -sf "${XDG_CACHE_HOME:-$HOME/.cache}/wal/dunstrc" "$dunstconf" 14 | ln -sf "${XDG_CACHE_HOME:-$HOME/.cache}/wal/zathurarc" "$zathuraconf" 15 | 16 | fix_sequences() { 17 | e=$'\e' 18 | sequences=$(cat) 19 | foreground_color="$(echo -e "${sequences}\c" | grep --color=never -Eo "${e}]10[^${e}\\\\]*?${e}\\\\" | grep --color=never -Eo "#[0-9A-Fa-f]{6}")" 20 | background_color="$(echo -e "${sequences}\c" | grep --color=never -Eo "${e}]11[^${e}\\\\]*?${e}\\\\" | grep --color=never -Eo "#[0-9A-Fa-f]{6}")" 21 | cursor_color="$(echo -e "${sequences}\c" | grep --color=never -Eo "${e}]12[^${e}\\\\]*?${e}\\\\" | grep --color=never -Eo "#[0-9A-Fa-f]{6}")" 22 | 23 | for term in /dev/pts/{0..9}*; do 24 | echo -e "\e]4;256;${cursor_color}\a\c" > "${term}" 2>/dev/null 25 | echo -e "\e]4;258;${background_color}\a\c" > "${term}" 2>/dev/null 26 | echo -e "\e]4;259;${foreground_color}\a\c" > "${term}" 2>/dev/null 27 | done 28 | } 29 | 30 | fix_sequences <"${XDG_CACHE_HOME:-$HOME/.cache}/wal/sequences" 31 | 32 | pkill dunst; setsid -f dunst 33 | -------------------------------------------------------------------------------- /wal/templates/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | monitor = 0 3 | frame_color = "{color0}" 4 | separator_color= frame 5 | follow = keyboard 6 | width = 370 7 | height = 350 8 | offset = 10x92 9 | padding = 10 10 | horizontal_padding = 10 11 | transparency = 0 12 | font = IosevkaMayuKaiCodePro 12 13 | format = "%s\n%b" 14 | min_icon_size = 32 15 | max_icon_size = 128 16 | icon_path = usr/share/icons/Papirus-Dark/48x48/actions/:/usr/share/icons/Papirus-Dark/48x48/apps/:/usr/share/icons/Papirus-Dark/48x48/devices/:/usr/share/icons/Papirus-Dark/48x48/emblems/:/usr/share/icons/Papirus-Dark/48x48/emotes/:/usr/share/icons/Papirus-Dark/48x48/mimetypes/:/usr/share/icons/Papirus-Dark/48x48/places/:/usr/share/icons/Papirus-Dark/48x48/status/:/home/bugs/.config/icons/ 17 | corner_radius = 10 18 | 19 | [urgency_low] 20 | background = "{color0}" # color0 21 | highlight = "{color15}" 22 | foreground = "{color8}" # color8 23 | timeout = 3 24 | 25 | [urgency_normal] 26 | foreground = "{color15}" # color15 27 | highlight = "{color15}" 28 | background = "{color0}" # color4 29 | timeout = 5 30 | 31 | [urgency_critical] 32 | background = "{color1}" # color1 33 | foreground = "{color15}" # color15 34 | frame_color = "{color11}" # color11 35 | timeout = 10 36 | -------------------------------------------------------------------------------- /wal/templates/zathurarc: -------------------------------------------------------------------------------- 1 | set sandbox none 2 | set statusbar-h-padding 0 3 | set statusbar-v-padding 0 4 | set page-padding 1 5 | set selection-clipboard clipboard 6 | map u scroll half-up 7 | map d scroll half-down 8 | map D toggle_page_mode 9 | map r reload 10 | map R rotate 11 | map K zoom in 12 | map J zoom out 13 | map i recolor 14 | map p print 15 | map g goto top 16 | map [fullscreen] u scroll half-up 17 | map [fullscreen] d scroll half-down 18 | map [fullscreen] D toggle_page_mode 19 | map [fullscreen] r reload 20 | map [fullscreen] R rotate 21 | map [fullscreen] K zoom in 22 | map [fullscreen] J zoom out 23 | map [fullscreen] i recolor 24 | map [fullscreen] p print 25 | map [fullscreen] g goto top 26 | 27 | set default-bg "{background}" 28 | set default-fg "{foreground}" 29 | set statusbar-bg "{background}" 30 | set statusbar-fg "{foreground}" 31 | set inputbar-bg "{background}" 32 | set inputbar-fg "{foreground}" 33 | set notification-bg "{background}" 34 | set notification-fg "{foreground}" 35 | set notification-error-bg "{background}" 36 | set notification-error-fg "{foreground}" 37 | set notification-warning-bg "{background}" 38 | set notification-warning-fg "{foreground}" 39 | set highlight-color "{color3}" 40 | set highlight-active-color "{color4}" 41 | set completion-bg "{color3}" 42 | set completion-fg "{color4}" 43 | set completion-highlight-bg "{color3}" 44 | set completion-highlight-fg "{color4}" 45 | set recolor-lightcolor "{background}" 46 | set recolor-darkcolor "{foreground}" 47 | -------------------------------------------------------------------------------- /wezterm/colors/solarized-osaka.toml: -------------------------------------------------------------------------------- 1 | 2 | [colors] 3 | foreground = "#839495" 4 | background = "#00141A" 5 | cursor_bg = "#FDF6E2" 6 | cursor_border = "#FDF6E2" 7 | cursor_fg = "#00141A" 8 | selection_bg = "#FDF6E2" 9 | selection_fg = "#00141A" 10 | 11 | ansi = ["#00141A", "#DC312E", "#859900", "#B38600", "#278BD3", "#D33682", "#2AA298", "#EDE7D4"] 12 | brights = ["#002D38", "#F65351", "#B7FA00", "#FFBF00", "#47ADF5", "#F254A1", "#2BEEDE", "#FDF6E2"] 13 | 14 | [colors.tab_bar] 15 | inactive_tab_edge = "#002D38" 16 | background = "#00141A" 17 | 18 | [colors.tab_bar.active_tab] 19 | fg_color = "#839495" 20 | bg_color = "#00141A" 21 | 22 | [colors.tab_bar.inactive_tab] 23 | bg_color = "#002D38" 24 | fg_color = "#839495" 25 | 26 | [colors.tab_bar.inactive_tab_hover] 27 | bg_color = "#002D38" 28 | fg_color = "#839495" 29 | 30 | [colors.tab_bar.new_tab_hover] 31 | fg_color = "#002D38" 32 | bg_color = "#839495" 33 | 34 | [colors.tab_bar.new_tab] 35 | fg_color = "#839495" 36 | bg_color = "#00141A" 37 | 38 | [metadata] 39 | aliases = [] 40 | author = "craftzdog" 41 | name = "solarized-osaka" 42 | 43 | -------------------------------------------------------------------------------- /wezterm/colors/tokyonight-night.toml: -------------------------------------------------------------------------------- 1 | [colors] 2 | foreground = "#c0caf5" 3 | background = "#1a1b26" 4 | cursor_bg = "#c0caf5" 5 | cursor_border = "#c0caf5" 6 | cursor_fg = "#1a1b26" 7 | selection_bg = "#283457" 8 | selection_fg = "#c0caf5" 9 | split = "#7aa2f7" 10 | compose_cursor = "#ff9e64" 11 | scrollbar_thumb = "#292e42" 12 | 13 | ansi = ["#15161e", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff", "#a9b1d6"] 14 | brights = ["#414868", "#f7768e", "#9ece6a", "#e0af68", "#7aa2f7", "#bb9af7", "#7dcfff", "#c0caf5"] 15 | 16 | [colors.tab_bar] 17 | inactive_tab_edge = "#16161e" 18 | background = "#1a1b26" 19 | 20 | [colors.tab_bar.active_tab] 21 | fg_color = "#16161e" 22 | bg_color = "#7aa2f7" 23 | 24 | [colors.tab_bar.inactive_tab] 25 | fg_color = "#545c7e" 26 | bg_color = "#292e42" 27 | 28 | [colors.tab_bar.inactive_tab_hover] 29 | fg_color = "#7aa2f7" 30 | bg_color = "#292e42" 31 | # intensity = "Bold" 32 | 33 | [colors.tab_bar.new_tab_hover] 34 | fg_color = "#7aa2f7" 35 | bg_color = "#1a1b26" 36 | intensity = "Bold" 37 | 38 | [colors.tab_bar.new_tab] 39 | fg_color = "#7aa2f7" 40 | bg_color = "#1a1b26" 41 | 42 | [metadata] 43 | aliases = [] 44 | author = "folke" 45 | name = "tokyonight_night" 46 | -------------------------------------------------------------------------------- /wget/wgetrc: -------------------------------------------------------------------------------- 1 | hsts-file=~/.cache/wget-hsts 2 | -------------------------------------------------------------------------------- /x11/xinitrc: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # xinitrc runs automatically when you run startx. 4 | 5 | # There are some small but important commands that need to be run when we start 6 | # the graphical environment. There is a link to this file in ~/.xprofile 7 | # because that file is run automatically if someone uses a display manager 8 | # (login screen) and so they are needed there. To prevent doubling up commands, 9 | # I source them here with the line below. 10 | 11 | if [ -f "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" ]; then 12 | . "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xprofile" 13 | else 14 | . "$HOME/.xprofile" 15 | fi 16 | # Activate dbus variables 17 | dbus-update-activation-environment --all 18 | dbus-launch ssh-agent dwm 19 | -------------------------------------------------------------------------------- /x11/xprofile: -------------------------------------------------------------------------------- 1 | !/bin/sh 2 | 3 | This file runs when a DM logs you into a graphical session. 4 | If you use startx/xinit like a Chad, this file will also be sourced. 5 | 6 | xrandr --dpi 96 # Set DPI. User may want to use a larger number for larger screens. 7 | 8 | xwp & 9 | 10 | pidof -q eww || { eww -c "${HOME}"/.config/eww daemon & } 11 | 12 | xrdb ${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources & xrdbpid=$! # Uncomment to use Xresources colors/settings on startup 13 | 14 | /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 15 | 16 | 17 | autostart="mpd dwmblocks picom dunst unclutter nm-applet pulsedaemon" 18 | 19 | for program in $autostart; do 20 | pidof -sx "$program" || "$program" & 21 | done >/dev/null 2>&1 22 | 23 | # Ensure that xrdb has finished running before moving on to start the WM/DE. 24 | [ -n "$xrdbpid" ] && wait "$xrdbpid" 25 | -------------------------------------------------------------------------------- /x11/xresources: -------------------------------------------------------------------------------- 1 | Xft.antialias: 1 2 | Xft.hinting: 1 3 | Xft.autohint: 0 4 | Xft.hintstyle: hintslight 5 | Xft.rgba: rgb 6 | Xft.lcdfilter: lcddefault 7 | 8 | ! window padding 9 | st.borderpx: 20 10 | 11 | !-- values between 0.1 - 1.0 --! 12 | 13 | st.alpha: 1.0 14 | st.font: JetBrainsMono Nerd Font:style:medium:pixelsize=15 15 | 16 | 17 | !! 18 | !! ▒█▀▀▀█ ▒█▄░▒█ ▒█▀▀▀ ▒█▀▀▄ ░█▀▀█ ▒█▀▀█ ▒█░▄▀ 19 | !! ▒█░░▒█ ▒█▒█▒█ ▒█▀▀▀ ▒█░▒█ ▒█▄▄█ ▒█▄▄▀ ▒█▀▄░ 20 | !! ▒█▄▄▄█ ▒█░░▀█ ▒█▄▄▄ ▒█▄▄▀ ▒█░▒█ ▒█░▒█ ▒█░▒█ 21 | !! 22 | 23 | #define base00 #282c34 24 | #define base01 #353b45 25 | #define base02 #3e4451 26 | #define base03 #545862 27 | #define base04 #565c64 28 | #define base05 #abb2bf 29 | #define base06 #b6bdca 30 | #define base07 #c8ccd4 31 | #define base08 #e06c75 32 | #define base09 #d19a66 33 | #define base0A #e5c07b 34 | #define base0B #98c379 35 | #define base0C #56b6c2 36 | #define base0D #61afef 37 | #define base0E #c678dd 38 | #define base0F #be5046 39 | 40 | *foreground: base07 41 | *background: #1e222a 42 | *cursorColor: base05 43 | 44 | *color0: base00 45 | *color1: base08 46 | *color2: base0B 47 | *color3: base0A 48 | *color4: base0D 49 | *color5: base0E 50 | *color6: base0C 51 | *color7: base05 52 | 53 | *color8: base03 54 | *color9: base08 55 | *color10: base0B 56 | *color11: base0A 57 | *color12: base0D 58 | *color13: base0E 59 | *color14: base0C 60 | *color15: base07 61 | -------------------------------------------------------------------------------- /xorg-conf/30-touchpad.conf: -------------------------------------------------------------------------------- 1 | Section "InputClass" 2 | Identifier "LENOVOTOUCHPAD" 3 | Driver "libinput" 4 | MatchIsTouchpad "on" 5 | Option "Tapping" "on" 6 | Option "NaturalScrolling" "true" 7 | EndSection 8 | -------------------------------------------------------------------------------- /zathura/zathurarc: -------------------------------------------------------------------------------- 1 | /home/bugs/.cache/wal/zathurarc -------------------------------------------------------------------------------- /zathura/zathurarc.bak: -------------------------------------------------------------------------------- 1 | set sandbox none 2 | set statusbar-h-padding 0 3 | set statusbar-v-padding 0 4 | set page-padding 1 5 | set selection-clipboard clipboard 6 | map u scroll half-up 7 | map d scroll half-down 8 | map D toggle_page_mode 9 | map r reload 10 | map R rotate 11 | map K zoom in 12 | map J zoom out 13 | map i recolor 14 | map p print 15 | map g goto top 16 | map [fullscreen] u scroll half-up 17 | map [fullscreen] d scroll half-down 18 | map [fullscreen] D toggle_page_mode 19 | map [fullscreen] r reload 20 | map [fullscreen] R rotate 21 | map [fullscreen] K zoom in 22 | map [fullscreen] J zoom out 23 | map [fullscreen] i recolor 24 | map [fullscreen] p print 25 | map [fullscreen] g goto top 26 | --------------------------------------------------------------------------------