├── Installer ├── ascii.txt └── install.sh ├── LICENSE ├── README.md ├── bluemal ├── bspwm │ ├── alacritty │ │ ├── alacritty.yml │ │ ├── colors.yml │ │ ├── fonts.yml │ │ ├── r │ │ │ └── colors.yml │ │ └── themes │ │ │ └── hor │ │ │ ├── alacritty.yml │ │ │ ├── colors.yml │ │ │ └── fonts.yml │ ├── bar │ │ ├── config.ini │ │ ├── launch.sh │ │ ├── modules.ini │ │ └── modules.ini.save │ ├── bin │ │ ├── bspborder │ │ └── themechanger.sh │ ├── bspwmrc │ └── rofi │ │ ├── bin │ │ ├── confirm │ │ ├── launcher │ │ ├── powermenu │ │ └── screenshot │ │ └── themes │ │ ├── askpass.rasi │ │ ├── confirm.rasi │ │ ├── launcher.rasi │ │ ├── networkmenu.rasi │ │ ├── networkmenu_config.ini │ │ ├── new_colors.rasi │ │ ├── powermenu.rasi │ │ ├── screenshot.rasi │ │ └── window.rasi ├── dunst │ └── dunstrc ├── neofetch │ └── config.conf ├── wallpapers │ ├── test │ └── wall.jpg └── zathura │ └── zathurarc ├── catppuccin ├── bspwm │ ├── alacritty │ │ ├── alacritty.yml │ │ ├── colors.yml │ │ └── fonts.yml │ ├── bar │ │ ├── config.ini │ │ ├── launch.sh │ │ └── modules.ini │ ├── bin │ │ ├── bspborder │ │ └── themechanger.sh │ ├── bspwmrc │ └── rofi │ │ ├── bin │ │ ├── confirm │ │ ├── launcher │ │ ├── powermenu │ │ └── screenshot │ │ └── themes │ │ ├── askpass.rasi │ │ ├── confirm.rasi │ │ ├── launcher.rasi │ │ ├── networkmenu.rasi │ │ ├── networkmenu_config.ini │ │ ├── new_colors.rasi │ │ ├── powermenu.rasi │ │ ├── screenshot.rasi │ │ └── window.rasi ├── dunst │ └── dunstrc ├── neofetch │ └── config.conf ├── wallpapers │ ├── test │ └── wall.jpg └── zathura │ └── zathurarc ├── hord ├── bspwm │ ├── alacritty │ │ ├── alacritty.yml │ │ ├── colors.yml │ │ └── fonts.yml │ ├── bar │ │ ├── config.ini │ │ ├── launch.sh │ │ └── modules.ini │ ├── bin │ │ ├── bspborder │ │ └── themechanger.sh │ ├── bspwmrc │ └── rofi │ │ ├── bin │ │ ├── confirm │ │ ├── launcher │ │ ├── powermenu │ │ └── screenshot │ │ └── themes │ │ ├── askpass.rasi │ │ ├── confirm.rasi │ │ ├── launcher.rasi │ │ ├── networkmenu.rasi │ │ ├── networkmenu_config.ini │ │ ├── new_colors.rasi │ │ ├── powermenu.rasi │ │ ├── screenshot.rasi │ │ └── window.rasi ├── dunst │ └── dunstrc ├── neofetch │ └── config.conf ├── wallpapers │ └── wall.jpg └── zathura │ └── zathurarc ├── lotus ├── bspwm │ ├── alacritty │ │ ├── alacritty.yml │ │ ├── colors.yml │ │ └── fonts.yml │ ├── bar │ │ ├── config.ini │ │ ├── launch.sh │ │ └── modules.ini │ ├── bin │ │ ├── bspborder │ │ └── themechanger.sh │ ├── bspwmrc │ └── rofi │ │ ├── bin │ │ ├── confirm │ │ ├── launcher │ │ ├── powermenu │ │ └── screenshot │ │ └── themes │ │ ├── askpass.rasi │ │ ├── confirm.rasi │ │ ├── launcher.rasi │ │ ├── networkmenu.rasi │ │ ├── networkmenu_config.ini │ │ ├── new_colors.rasi │ │ ├── powermenu.rasi │ │ ├── screenshot.rasi │ │ └── window.rasi ├── dunst │ └── dunstrc ├── neofetch │ └── config.conf ├── wallpapers │ └── wall.jpg └── zathura │ └── zathurarc └── mountain ├── bspwm ├── alacritty │ ├── alacritty.yml │ ├── colors.yml │ └── fonts.yml ├── bar │ ├── config.ini │ ├── launch.sh │ └── modules.ini ├── bin │ ├── bspborder │ └── themechanger.sh ├── bspwmrc └── rofi │ ├── bin │ ├── confirm │ ├── launcher │ ├── powermenu │ └── screenshot │ └── themes │ ├── askpass.rasi │ ├── confirm.rasi │ ├── launcher.rasi │ ├── networkmenu.rasi │ ├── networkmenu_config.ini │ ├── new_colors.rasi │ ├── powermenu.rasi │ ├── screenshot.rasi │ └── window.rasi ├── dunst └── dunstrc ├── neofetch └── config.conf ├── wallpapers ├── test └── wall.jpg └── zathura └── zathurarc /Installer/ascii.txt: -------------------------------------------------------------------------------- 1 | ............................................................ 2 | ............................................................ 3 | ..............................,##........................... 4 | .............................,##............................ 5 | ...........................,###............................. 6 | ..........................,###.............................. 7 | ........................,####............................... 8 | .......................,####,............................... 9 | .....................,######................................ 10 | ...................,,#########(((((((((((/.................. 11 | ..................,########################................. 12 | ................,,#######################................... 13 | .................,,,,,,,,,,,,**########..................... 14 | .............................,*#######...................... 15 | .............................,######........................ 16 | ............................,#####/......................... 17 | ...........................,#####........................... 18 | ..........................,/###............................. 19 | .........................,*###.............................. 20 | ........................,,##................................ 21 | .......................,,#.................................. 22 | .......................,#................................... 23 | ............................................................ 24 | ............................................................ 25 | -------------------------------------------------------------------------------- /Installer/install.sh: -------------------------------------------------------------------------------- 1 | #clear && curl -s https://raw.githubusercontent.com/FastShard/Themes/main/Installer/ascii.txt 2 | 3 | echo "🢒 Updating Themes" 4 | sudo rm -rf ~/.config/fastshard/ 5 | sudo rm -rf ~/fastshard 6 | sudo rm -rf /usr/bin/fastshard 7 | 8 | # Create the Themes Directory 9 | echo "🢒 Creating Directories" 10 | mkdir ~/.config/fastshard > /dev/null 11 | 12 | # Install Themes 13 | echo "🢒 Installing Themes" 14 | cd ~/ && git clone -q https://github.com/FastShard/Themes && cd ~/Themes && cp -r * ~/.config/fastshard 15 | rm -rf ~/Themes > /dev/null 16 | #sudo cp ~/.config/fastshard/lotus/bspwm/bin/themechanger.sh ~/.config/bspwm/bin/ 17 | #sudo cp ~/.config/fastshard/lotus/sxhkd/sxhkdrc ~/.config/sxhkd/ 18 | #bspc wm -r > /dev/null 19 | 20 | # Install Binary 21 | echo "🢒 Installing Binary" 22 | cd ~/ && curl -s https://raw.githubusercontent.com/FastShard/Binary/main/Binary/fastshard -o fastshard 23 | sudo chmod +x ~/fastshard > /dev/null 24 | sudo mv fastshard /usr/bin/ 25 | echo " " 26 | echo "🢒 ThemeSwitcher has been installed." 27 | echo " " 28 | echo " - Terminal" 29 | echo " sy: fastshard " 30 | echo " ex: fastshard mountain" 31 | echo " - Rofi" 32 | echo " sy: WinKey + LAlt + Space" 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 FastShard 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🍁 Hord 2 | 3 | ![image](https://user-images.githubusercontent.com/117211251/204068505-ee1de7d1-0b0e-4cc4-ad58-4f2e172320dc.png) 4 | 5 |
6 | 7 | # 🌼 Lotus 8 | 9 | ![image](https://media.discordapp.net/attachments/635625917623828520/1046578524355567697/image.png) 10 | 11 |
12 | 13 | # 🐈‍⬛ Catppuccin 14 | 15 | ![image](https://user-images.githubusercontent.com/117211251/204863922-4c9e64a3-6515-45e8-81ee-02cf94c5b9db.png) 16 | 17 |
18 | 19 | # ⛰️ Mountain 20 | 21 | ![image](https://user-images.githubusercontent.com/117211251/204980116-baf72bc1-e7d4-4737-9e4a-afc903828f05.png) 22 | 23 |
24 | 25 | # Set Theme 26 | 27 | 1. Set Theme (Terminal) 28 | 29 | ```bash 30 | fastshard hord 31 | ``` 32 | 33 | 1. Set Theme (Rofi) 34 | 35 | ```bash 36 | WinKey + LAlt + Space #Then choose The desired THeme you want! 37 | ``` 38 | 39 | # Themes Installation 40 | 41 | 1. Install the Themes and the Binary 42 | 43 | ```bash 44 | sudo clear && curl -s https://raw.githubusercontent.com/FastShard/Themes/main/Installer/install.sh | bash 45 | ``` 46 |
47 | 48 | 2. Execute FastShard 49 | 50 | * Open Alacritty 51 | 52 | Firstly you need to Open Alacritty using `LAlt + t` 53 | 54 |
55 | 56 | * Execute Binary 57 | 58 | In your Terminal type `fastshard ` 59 | 60 | Ex. `fastshard hord` 61 | 62 |
63 | 64 | 65 | 66 | # Keybinds 67 | 68 | 1. APPS 69 | 70 | ``` 71 | LAlt + T = Alacritty 72 | LAlt + SPACE = Rofi 73 | ``` 74 | 75 | 2. WM 76 | 77 | ``` 78 | WinKey + LAlt + R = Restart BSPWM 79 | WinKey + LAlt + Q = Exit BSPWM 80 | ``` 81 | 82 | 3. STATES 83 | 84 | ``` 85 | WinKey + S = Floating Window 86 | WinKey + T = Tiling Window 87 | WinKey + F = Fullscreen Window 88 | WinKey + LShift + T = Pseudo Tiling Window 89 | ``` 90 | 91 | 4. WINDOWS 92 | 93 | ``` 94 | WinKey + MBLClick = Move Window 95 | WinKey + MBRClick = Resize Window 96 | ``` 97 | 98 | 5. THEMES 99 | 100 | ``` 101 | WinKey + LAlt + Space = Theme Selector 102 | 103 | First Install themes at https://github.com/fastshard/themes 104 | ``` 105 | -------------------------------------------------------------------------------- /bluemal/bspwm/alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | ## Import files (Colors, Fonts, Etc) 2 | import: 3 | - ~/.config/bspwm/alacritty/colors.yml 4 | - ~/.config/bspwm/alacritty/fonts.yml 5 | 6 | ## Set environment variables 7 | #env: 8 | # TERM: alacritty 9 | # WINIT_X11_SCALE_FACTOR: '1.0' 10 | 11 | ## Terminal window settings 12 | window: 13 | dimensions: 14 | columns: 82 15 | lines: 25 16 | 17 | padding: 18 | x: 30 19 | y: 25 20 | 21 | decorations: full 22 | startup_mode: Windowed 23 | dynamic_title: true 24 | 25 | ## scrolling 26 | history: 10000 27 | multiplier: 3 28 | 29 | ## Background opacity 30 | opacity: 1.0 31 | 32 | ## Cursor 33 | cursor: 34 | style: 35 | shape: Beam 36 | blinking: On 37 | 38 | unfocused_hollow: false 39 | 40 | ## Live config reload 41 | live_config_reload: true 42 | #key_bindings: 43 | -------------------------------------------------------------------------------- /bluemal/bspwm/alacritty/colors.yml: -------------------------------------------------------------------------------- 1 | colors: 2 | primary: 3 | background: '#090B0F' 4 | foreground: '#c7c6ce' 5 | cursor: 6 | text: CellForeground 7 | cursor: '#c7c6ce' 8 | bright: 9 | black: '#090B0F' 10 | red: '#686A78' 11 | green: '#767987' 12 | yellow: '#807F8F' 13 | blue: '#7E8190' 14 | magenta: '#888B99' 15 | cyan: '#9799A8' 16 | white: '#c7c6ce' 17 | normal: 18 | black: '#8b8a90' 19 | red: '#686A78' 20 | green: '#767987' 21 | yellow: '#807F8F' 22 | blue: '#7E8190' 23 | magenta: '#888B99' 24 | cyan: '#9799A8' 25 | white: '#c7c6ce' 26 | 27 | cursor: 28 | style: Beam 29 | -------------------------------------------------------------------------------- /bluemal/bspwm/alacritty/fonts.yml: -------------------------------------------------------------------------------- 1 | # Font configuration 2 | font: 3 | # Normal (roman) font face 4 | normal: 5 | family: "JetBrainsMono Nerd Font" 6 | #style: Regular 7 | 8 | # Bold font face 9 | bold: 10 | family: "JetBrainsMono Nerd Font" 11 | #style: Bold 12 | 13 | # Italic font face 14 | italic: 15 | family: "JetBrainsMono Nerd Font" 16 | #style: Italic 17 | 18 | # Bold italic font face 19 | bold_italic: 20 | family: "JetBrainsMono Nerd Font" 21 | #style: Bold Italic 22 | 23 | # Point size 24 | size: 8.5 25 | 26 | # Offset 27 | #offset: 28 | # x: 0 29 | # y: 0 30 | 31 | # Glyph offset 32 | #glyph_offset: 33 | # x: 0 34 | # y: 0 35 | -------------------------------------------------------------------------------- /bluemal/bspwm/alacritty/r/colors.yml: -------------------------------------------------------------------------------- 1 | ## Colors configuration 2 | colors: 3 | # Default colors 4 | primary: 5 | background: '#12161b' 6 | foreground: '#b7b5b8' 7 | 8 | # Normal colors 9 | bright: 10 | black: '#12161b' 11 | red: '#50484C' 12 | green: '#695654' 13 | yellow: '#716567' 14 | blue: '#935C35' 15 | magenta: '#8F7168' 16 | cyan: '#AB8976' 17 | white: '#b7b5b8' 18 | 19 | # Bright colors 20 | normal: 21 | black: '#807e80' 22 | red: '#50484C' 23 | green: '#695654' 24 | yellow: '#716567' 25 | blue: '#935C35' 26 | magenta: '#8F7168' 27 | cyan: '#AB8976' 28 | white: '#b7b5b8' 29 | 30 | # ## Colors configuration 31 | # colors: 32 | # # Default colors 33 | # primary: 34 | # background: '#181f21' 35 | # foreground: '#dadada' 36 | 37 | # # Normal colors 38 | # bright: 39 | # black: '#48494B' 40 | # red: '#88807D' 41 | # green: '#D9DDDC' 42 | # yellow: '#D6CFC7' 43 | # blue: '#999EA1' 44 | # magenta: '#88807D' 45 | # cyan: '#BEBDB8' 46 | # white: '#b3b9b8' 47 | 48 | # # Bright colors 49 | # normal: 50 | # black: '#5F6062' 51 | # red: '#86746A' 52 | # green: '#BDBEB0' 53 | # yellow: '#E0E0DE' 54 | # blue: '#D1D4D9' 55 | # magenta: '#BAB0A4' 56 | # cyan: '#C5C6C8' 57 | # white: '#FFFFFF' 58 | -------------------------------------------------------------------------------- /bluemal/bspwm/alacritty/themes/hor/alacritty.yml: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | ## Configuration for Alacritty, the GPU enhanced terminal emulator. 5 | ## It's a very basic and simple config file, for full configuration... 6 | ## See, /usr/share/doc/alacritty/example/alacritty.yml 7 | 8 | ## Import files (Colors, Fonts, Etc) 9 | import: 10 | - ~/.config/bspwm/alacritty/themes/hor/colors.yml 11 | - ~/.config/bspwm/alacritty/themes/hor/fonts.yml 12 | 13 | ## Set environment variables 14 | #env: 15 | # TERM: alacritty 16 | # WINIT_X11_SCALE_FACTOR: '1.0' 17 | 18 | ## Terminal window settings 19 | window: 20 | dimensions: 21 | columns: 82 22 | lines: 25 23 | 24 | padding: 25 | x: 30 26 | y: 25 27 | 28 | decorations: full 29 | startup_mode: Windowed 30 | dynamic_title: true 31 | 32 | ## scrolling 33 | history: 10000 34 | multiplier: 3 35 | 36 | ## Background opacity 37 | opacity: 1.0 38 | 39 | ## Cursor 40 | cursor: 41 | style: 42 | shape: Beam 43 | blinking: On 44 | 45 | unfocused_hollow: false 46 | 47 | ## Live config reload 48 | live_config_reload: true 49 | #key_bindings: 50 | -------------------------------------------------------------------------------- /bluemal/bspwm/alacritty/themes/hor/colors.yml: -------------------------------------------------------------------------------- 1 | ## Colors configuration 2 | colors: 3 | # Default colors 4 | primary: 5 | background: '#181f21' 6 | foreground: '#dadada' 7 | 8 | # Normal colors 9 | bright: 10 | black: '#48494B' 11 | red: '#88807D' 12 | green: '#D9DDDC' 13 | yellow: '#D6CFC7' 14 | blue: '#999EA1' 15 | magenta: '#88807D' 16 | cyan: '#BEBDB8' 17 | white: '#b3b9b8' 18 | 19 | # Bright colors 20 | normal: 21 | black: '#5F6062' 22 | red: '#86746A' 23 | green: '#BDBEB0' 24 | yellow: '#E0E0DE' 25 | blue: '#D1D4D9' 26 | magenta: '#BAB0A4' 27 | cyan: '#C5C6C8' 28 | white: '#FFFFFF' 29 | -------------------------------------------------------------------------------- /bluemal/bspwm/alacritty/themes/hor/fonts.yml: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | # Font configuration 5 | font: 6 | # Normal (roman) font face 7 | normal: 8 | family: "JetBrainsMono Nerd Font" 9 | #style: Regular 10 | 11 | # Bold font face 12 | bold: 13 | family: "JetBrainsMono Nerd Font" 14 | #style: Bold 15 | 16 | # Italic font face 17 | italic: 18 | family: "JetBrainsMono Nerd Font" 19 | #style: Italic 20 | 21 | # Bold italic font face 22 | bold_italic: 23 | family: "JetBrainsMono Nerd Font" 24 | #style: Bold Italic 25 | 26 | # Point size 27 | size: 8.5 28 | 29 | # Offset 30 | #offset: 31 | # x: 0 32 | # y: 0 33 | 34 | # Glyph offset 35 | #glyph_offset: 36 | # x: 0 37 | # y: 0 38 | -------------------------------------------------------------------------------- /bluemal/bspwm/bar/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm/bar" 4 | 5 | killall -q polybar 6 | #while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 7 | 8 | # launch the bars 9 | # polybar -q border-menu -c "$DIR"/config.ini & 10 | polybar -q border-center -c "$DIR"/config.ini & 11 | polybar -q border-left -c "$DIR"/config.ini & 12 | polybar -q border-right -c "$DIR"/config.ini & 13 | # polybar -q border-power -c "$DIR"/config.ini & 14 | sleep 3s 15 | # polybar -q bar-menu -c "$DIR"/config.ini & 16 | polybar -q bar-left -c "$DIR"/config.ini & 17 | polybar -q bar-center -c "$DIR"/config.ini & 18 | polybar -q bar-right -c "$DIR"/config.ini & 19 | # polybar -q bar-power -c "$DIR"/config.ini & 20 | -------------------------------------------------------------------------------- /bluemal/bspwm/bin/bspborder: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Enable double borders 3 | # Dependencies: chwb2 from wmutils/opt 4 | # 5 | # Yes, this is stolen from gk. 6 | 7 | outer='0x090B0F' # outer 8 | inner1='0x2C3649' # focused 9 | inner2='0x2C3649' # normal 10 | 11 | trap 'bspc config border_width 0; kill -9 -$$' INT TERM 12 | 13 | targets() { 14 | case $1 in 15 | focused) bspc query -N -n .local.focused.\!fullscreen;; 16 | normal) bspc query -N -n .local.\!focused.\!fullscreen 17 | esac | grep -iv "$v" 18 | } 19 | 20 | bspc config border_width 14 21 | 22 | draw() { chwb2 -I "$inner" -O "$outer" -i "8" -o "4" $* |:; } 23 | 24 | #initial draw, and then subscribe to events 25 | { echo; bspc subscribe node_geometry node_focus; } | 26 | while read -r _; do 27 | [ "$v" ] || v='abcdefg' 28 | inner=$inner1 draw "$(targets focused)" 29 | inner=$inner2 draw "$(targets normal)" 30 | done 31 | 32 | -------------------------------------------------------------------------------- /bluemal/bspwm/bin/themechanger.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | selected=$(echo "Hord 4 | Lotus 5 | Catppuccin 6 | Mountain" | rofi -dmenu -theme ~/.config/bspwm/rofi/themes/launcher.rasi) 7 | 8 | echo "$selected" 9 | 10 | if [ "$selected" = "Hord" ] 11 | then 12 | fastshard hord 13 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/hord/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 14 | bspc wm -r 15 | exit 16 | fi 17 | if [ "$selected" = "Lotus" ] 18 | then 19 | fastshard lotus 20 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/lotus/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 21 | bspc wm -r 22 | exit 23 | fi 24 | if [ "$selected" = "Catppuccin" ] 25 | then 26 | fastshard catppuccin 27 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/cappuccin/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 28 | bspc wm -r 29 | exit 30 | fi 31 | if [ "$selected" = "Mountain" ] 32 | then 33 | fastshard mountain 34 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/mountain/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 35 | bspc wm -r 36 | exit 37 | fi 38 | -------------------------------------------------------------------------------- /bluemal/bspwm/bspwmrc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | pgrep -x sxhkd > /dev/null || sxhkd & 4 | killall -9 sxhkd ksuperkey 5 | killall -q picom 6 | killall -9 dunst 7 | killall -9 bspborder 8 | 9 | bspc monitor -d I II III IV V VI VII VIII IX X 10 | 11 | #bspc config border_width 0 12 | bspc config window_gap 15 13 | bspc config split_ratio 0.50 14 | bspc config borderless_monocle true 15 | bspc config gapless_monocle true 16 | bspc config pointer_follows_focus false 17 | bspc config focus_follows_pointer true 18 | bspc rule -a Kupfer.py focus=on 19 | bspc rule -a Screenkey manage=off 20 | bspc rule -a Thunar state=tiled 21 | bspc config focused_border_color "#22292B" 22 | bspc config normal_border_color "#22292B" 23 | bspc config active_border_color "#22292B" 24 | ksuperkey -e 'Super_L=Alt_L|F1' & 25 | ksuperkey -e 'Super_R=Alt_L|F1' & 26 | 27 | xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 28 | 29 | ~/.config/bspwm/bar/launch.sh & 30 | /usr/bin/dunst & 31 | xsetroot -cursor_name left_ptr & 32 | 33 | ~/.config/bspwm/bin/bspborder & 34 | feh --bg-scale --zoom fill ~/.config/fastshard/bluemal/wallpapers/wall.jpg 35 | sleep 5s 36 | xdo lower -N "Polybar" 37 | xdo above -N "Polybar" -t $(xdo id -N Bspwm -n root) 38 | sxhkd & 39 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/bin/confirm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | rofi -dmenu\ 7 | -i\ 8 | -no-fixed-num-lines\ 9 | -p "Are You Sure? : "\ 10 | -theme ~/.config/bspwm/rofi/themes/confirm.rasi -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/bin/launcher: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi \ 9 | -show drun \ 10 | -modi run,drun,ssh \ 11 | -no-lazy-grab \ 12 | -scroll-method 0 \ 13 | -drun-match-fields all \ 14 | -drun-display-format "{name}" \ 15 | -no-drun-show-actions \ 16 | -terminal alacritty \ 17 | -kb-cancel Alt-F1 \ 18 | -theme "$DIR"/rofi/themes/launcher.rasi -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/bin/powermenu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi_command="rofi -theme $DIR/rofi/themes/powermenu.rasi" 9 | 10 | uptime=$(uptime -p | sed -e 's/up //g') 11 | 12 | # Options 13 | shutdown="" 14 | reboot="" 15 | lock="" 16 | suspend="" 17 | logout="" 18 | 19 | # Variable passed to rofi 20 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 21 | _msg="Options - yes / y / no / n" 22 | 23 | chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" 24 | case $chosen in 25 | $shutdown) 26 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 27 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 28 | systemctl poweroff 29 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 30 | exit 31 | else 32 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 33 | fi 34 | ;; 35 | $reboot) 36 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 37 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 38 | systemctl reboot 39 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 40 | exit 41 | else 42 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 43 | fi 44 | ;; 45 | $lock) 46 | betterlockscreen --lock 47 | ;; 48 | $suspend) 49 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 50 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 51 | mpc -q pause 52 | amixer set Master mute 53 | betterlockscreen --suspend 54 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 55 | exit 56 | else 57 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 58 | fi 59 | ;; 60 | $logout) 61 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 62 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 63 | bspc quit 64 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 65 | exit 66 | else 67 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 68 | fi 69 | ;; 70 | esac 71 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/bin/screenshot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | rofi_command="rofi -theme $DIR/rofi/themes/screenshot.rasi" 8 | 9 | time=`date +%Y-%m-%d-%H-%M-%S` 10 | geometry=`xrandr | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` 11 | dir="`xdg-user-dir PICTURES`/Screenshots" 12 | file="Screenshot_${time}_${geometry}.png" 13 | 14 | # Buttons 15 | screen="" 16 | area="" 17 | window="" 18 | infive="" 19 | inten="" 20 | 21 | # notify and view screenshot 22 | notify_view () { 23 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Copied to clipboard." 24 | viewnior ${dir}/"$file" 25 | if [[ -e "$dir/$file" ]]; then 26 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Saved." 27 | else 28 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Deleted." 29 | fi 30 | } 31 | 32 | # countdown 33 | countdown () { 34 | for sec in `seq $1 -1 1`; do 35 | dunstify -t 1000 --replace=699 -i /usr/share/archcraft/icons/dunst/timer.png "Taking shot in : $sec" 36 | sleep 1 37 | done 38 | } 39 | 40 | # take shots 41 | shotnow () { 42 | cd ${dir} && sleep 0.5 && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 43 | notify_view 44 | } 45 | 46 | shot5 () { 47 | countdown '5' 48 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 49 | notify_view 50 | } 51 | 52 | shot10 () { 53 | countdown '10' 54 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 55 | notify_view 56 | } 57 | 58 | shotwin () { 59 | cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | tee "$file" | xclip -selection clipboard -t image/png 60 | notify_view 61 | } 62 | 63 | shotarea () { 64 | cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | tee "$file" | xclip -selection clipboard -t image/png 65 | notify_view 66 | } 67 | 68 | if [[ ! -d "$dir" ]]; then 69 | mkdir -p "$dir" 70 | fi 71 | 72 | # Variable passed to rofi 73 | options="$screen\n$area\n$window\n$infive\n$inten" 74 | 75 | chosen="$(echo -e "$options" | $rofi_command -p 'Take Screenshot' -dmenu -selected-row 0)" 76 | case $chosen in 77 | $screen) 78 | shotnow 79 | ;; 80 | $area) 81 | shotarea 82 | ;; 83 | $window) 84 | shotwin 85 | ;; 86 | $infive) 87 | shot5 88 | ;; 89 | $inten) 90 | shot10 91 | ;; 92 | esac 93 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/askpass.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | 3 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 4 | 5 | @import "new_colors.rasi" 6 | 7 | * { 8 | background-color: @background; 9 | text-color: @foreground; 10 | font: "JetBrains Mono Nerd Font Medium 10"; 11 | } 12 | 13 | window { 14 | width: 300px; 15 | padding: 25px; 16 | border: 1px; 17 | border-radius: 0px; 18 | border-color: @brdr; 19 | location: center; 20 | x-offset: 0; 21 | y-offset: -4%; 22 | } 23 | 24 | entry { 25 | expand: true; 26 | width: 150px; 27 | text-color: @selected; 28 | } 29 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | @import "new_colors.rasi" 5 | 6 | * { 7 | background-color: @background; 8 | text-color: @foreground; 9 | font: "JetBrains Mono Nerd Font 10"; 10 | } 11 | 12 | window { 13 | width: 230px; 14 | padding: 25px; 15 | border: 1px; 16 | border-radius: 0px; 17 | border-color: @brdr; 18 | location: center; 19 | x-offset: 0; 20 | y-offset: -4%; 21 | } 22 | 23 | entry { 24 | expand: true; 25 | width: 150px; 26 | text-color: @selected; 27 | } 28 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/launcher.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | show-icons: false; 6 | display-drun: ""; 7 | drun-display-format: "{name}"; 8 | disable-history: false; 9 | click-to-exit: true; 10 | location: 0; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | * { 16 | font: "JetBrains Mono Nerd Font 10"; 17 | background-color: @background; 18 | } 19 | 20 | window { 21 | border: 1px; 22 | border-color: @brdr; 23 | border-radius: 0px; 24 | width: 350px; 25 | height: 0px; 26 | anchor: North West; 27 | location: North West; 28 | x-offset: 20px; 29 | y-offset: 67px; 30 | } 31 | 32 | prompt { 33 | spacing: 0; 34 | border: 0; 35 | border-radius: 8px; 36 | background-color: @background-alt; 37 | text-color: @foreground; 38 | padding: 6px 14px 6px 14px; 39 | font: "Iosevka Nerd Font 10"; 40 | } 41 | 42 | textbox-prompt-colon { 43 | expand: false; 44 | str: ""; 45 | padding: 6px 4px 6px 4px; 46 | text-color: inherit; 47 | font: "Iosevka Nerd Font 10"; 48 | } 49 | 50 | entry { 51 | spacing: 0; 52 | expand: true; 53 | horizontal-align: 0; 54 | text-color: @foreground; 55 | placeholder-color: @foreground; 56 | placeholder: "Search..."; 57 | padding: 6px 2px 6px 2px; 58 | border: 0px 0px 0px 0px; 59 | border-color: @selected; 60 | border-radius: 0px; 61 | } 62 | 63 | case-indicator { 64 | spacing: 0; 65 | text-color: @foreground; 66 | } 67 | 68 | inputbar { 69 | spacing: 0px; 70 | text-color: @foreground; 71 | border: 0px; 72 | border-color: @selected; 73 | border-radius: 0px; 74 | children: [ prompt,textbox-prompt-colon,entry ]; 75 | } 76 | 77 | mainbox { 78 | border: 0px; 79 | border-color: @selected; 80 | spacing: 15px; 81 | padding: 30px; 82 | } 83 | 84 | listview { 85 | lines: 7; 86 | columns: 1; 87 | fixed-height: 0; 88 | border: 0px; 89 | border-color: @foreground; 90 | spacing: 5px; 91 | scrollbar: false; 92 | padding: 5px 0px 0px; 93 | } 94 | 95 | element-text, element-icon { 96 | background-color: inherit; 97 | text-color: inherit; 98 | } 99 | 100 | element { 101 | border: 0px; 102 | padding: 8px; 103 | } 104 | element normal.normal { 105 | background-color: @background; 106 | text-color: @foreground; 107 | } 108 | element normal.urgent { 109 | background-color: @background; 110 | text-color: @off; 111 | } 112 | element normal.active { 113 | background-color: @background; 114 | text-color: @on; 115 | } 116 | element selected.normal { 117 | background-color: @selected; 118 | text-color: @foreground; 119 | border: 0px; 120 | border-radius: 8px; 121 | border-color: @selected; 122 | } 123 | element selected.urgent { 124 | background-color: @background; 125 | text-color: @off; 126 | } 127 | element selected.active { 128 | background-color: @background; 129 | text-color: @selected; 130 | } 131 | element alternate.normal { 132 | background-color: @background; 133 | text-color: @foreground; 134 | } 135 | element alternate.urgent { 136 | background-color: @background; 137 | text-color: @foreground; 138 | } 139 | element alternate.active { 140 | background-color: @background; 141 | text-color: @foreground; 142 | } 143 | 144 | sidebar { 145 | border: 0px; 146 | border-color: @selected; 147 | border-radius: 0px; 148 | } 149 | 150 | button { 151 | margin: 5px 10px 0px 10px; 152 | horizontal-align: 0.5; 153 | vertical-align: 0.5; 154 | padding: 8px; 155 | background-color: @background-alt; 156 | text-color: @foreground; 157 | border: 0px; 158 | border-radius: 8px; 159 | border-color: @selected; 160 | } 161 | 162 | button selected { 163 | background-color: @selected; 164 | text-color: @background; 165 | border: 0px; 166 | border-radius: 8px; 167 | border-color: @selected; 168 | } 169 | 170 | scrollbar { 171 | width: 4px; 172 | border: 0px; 173 | handle-color: @foreground; 174 | handle-width: 8px; 175 | padding: 0; 176 | } 177 | 178 | message { 179 | border: 0px; 180 | border-color: @selected; 181 | padding: 1px; 182 | } 183 | 184 | textbox { 185 | text-color: @foreground; 186 | } 187 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/networkmenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 400px; 23 | height: 420px; 24 | location: center; 25 | anchor: center; 26 | x-offset: 0; 27 | y-offset: 0; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 8px; 33 | padding: 6px 0px 6px 0px; 34 | background-color: @background; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @selected; 38 | border-radius: 0px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: "直"; 44 | border-radius: 8px; 45 | background-color: @background-alt; 46 | text-color: @foreground; 47 | padding: 6px 10px 6px 10px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | placeholder: ""; 56 | expand: true; 57 | horizontal-align: 0; 58 | blink: false; 59 | padding: 6px; 60 | } 61 | 62 | inputbar { 63 | children: [ textbox-prompt-colon, prompt, entry ]; 64 | spacing: 0; 65 | background-color: @background; 66 | text-color: @foreground; 67 | border: 0px; 68 | border-radius: 0px; 69 | border-color: @selected; 70 | expand: false; 71 | margin: 0px 0px 0px 0px; 72 | padding: 0px; 73 | position: center; 74 | } 75 | 76 | case-indicator { 77 | background-color: @background; 78 | text-color: @foreground; 79 | spacing: 0; 80 | } 81 | 82 | 83 | listview { 84 | background-color: @background; 85 | columns: 1; 86 | lines: 8; 87 | spacing: 4px; 88 | cycle: true; 89 | dynamic: true; 90 | layout: vertical; 91 | } 92 | 93 | mainbox { 94 | background-color: @background; 95 | children: [ inputbar, listview ]; 96 | spacing: 10px; 97 | padding: 20px; 98 | } 99 | 100 | element { 101 | background-color: @background; 102 | text-color: @foreground; 103 | orientation: horizontal; 104 | border-radius: 0px; 105 | padding: 6px; 106 | } 107 | 108 | element-icon { 109 | background-color: inherit; 110 | text-color: inherit; 111 | horizontal-align: 0.5; 112 | vertical-align: 0.5; 113 | size: 0px; 114 | border: 0px; 115 | } 116 | 117 | element-text { 118 | background-color: inherit; 119 | text-color: inherit; 120 | expand: true; 121 | horizontal-align: 0; 122 | vertical-align: 0.5; 123 | margin: 2px 0px 2px 2px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | } 140 | 141 | element.selected.urgent { 142 | border-color: @selected; 143 | } 144 | 145 | element.urgent, 146 | element.selected.active { 147 | background-color: @off; 148 | text-color: @background; 149 | border-color: @off; 150 | } 151 | 152 | element.selected.active { 153 | border-color: @selected; 154 | } 155 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/networkmenu_config.ini: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | [dmenu] 5 | dmenu_command = rofi -dmenu -theme ~/.config/herbstluftwm/rofi/themes/networkmenu.rasi 6 | # # Note that dmenu_command can contain arguments as well like `rofi -width 30` 7 | # # Rofi and dmenu are set to case insensitive by default `-i` 8 | # l = number of lines to display, defaults to number of total network options 9 | # fn = font string 10 | # nb = normal background (name, #RGB, or #RRGGBB) 11 | # nf = normal foreground 12 | # sb = selected background 13 | # sf = selected foreground 14 | # b = (just set to empty value and menu will appear at the bottom 15 | # m = number of monitor to display on 16 | # p = Custom Prompt for the networks menu 17 | # pinentry = Pinentry command 18 | # rofi_highlight = # (Default: False) use rofi highlighting instead of '**' 19 | 20 | # # override normal foreground and background colors (dmenu) or use the 21 | # # -password option (rofi) to obscure passphrase entry 22 | # [dmenu_passphrase] 23 | # nf = #222222 24 | # nb = #222222 25 | # rofi_obscure = True 26 | 27 | [editor] 28 | terminal = alacritty 29 | gui_if_available = True 30 | # terminal = 31 | # gui_if_available = 32 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/new_colors.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #090B0F; 3 | background-alt: #2C3649; 4 | brdr: #090B0F; 5 | foreground: #c7c6ce; 6 | foresel: #c7c6ce; 7 | selected: #2C3649; 8 | urgent: #E06C75; 9 | on: #87A181; 10 | off: #D88B9F; 11 | } 12 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/powermenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | show-icons: false; 6 | display-drun: ""; 7 | drun-display-format: "{name}"; 8 | disable-history: false; 9 | click-to-exit: true; 10 | location: 4; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | /* Line Responsible For Button Layouts */ 16 | /* BUTTON = TRUE */ 17 | 18 | window { 19 | transparency: "real"; 20 | background-color: @background; 21 | text-color: @foreground; 22 | border: 1px; 23 | border-color: @brdr; 24 | border-radius: 0px; 25 | width: 88px; 26 | x-offset: -20px; 27 | y-offset: 0px; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 0px; 33 | padding: 8px; 34 | background-color: @background-alt; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @background; 38 | border-radius: 10px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: ""; 44 | border-radius: 0px; 45 | background-color: @selected; 46 | text-color: @background; 47 | padding: 8px 12px 8px 12px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background-alt; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | expand: true; 56 | horizontal-align: 0; 57 | placeholder: "Search..."; 58 | blink: true; 59 | border: 0px 0px 0px 0px; 60 | border-color: @background; 61 | border-radius: 0px; 62 | padding: 8px; 63 | } 64 | 65 | inputbar { 66 | children: [ textbox-prompt-colon, prompt ]; 67 | background-color: @background-alt; 68 | text-color: @foreground; 69 | expand: false; 70 | border: 0px 0px 0px 0px; 71 | border-radius: 0px; 72 | border-color: @background; 73 | margin: 0px 0px 0px 0px; 74 | padding: 0px; 75 | position: center; 76 | } 77 | 78 | case-indicator { 79 | background-color: @background; 80 | text-color: @foreground; 81 | spacing: 0; 82 | } 83 | 84 | 85 | listview { 86 | background-color: @background; 87 | columns: 1; 88 | lines: 5; 89 | spacing: 10px; 90 | cycle: false; 91 | dynamic: true; 92 | layout: vertical; 93 | } 94 | 95 | mainbox { 96 | background-color: @background; 97 | children: [ listview ]; 98 | spacing: 15px; 99 | padding: 15px; 100 | } 101 | 102 | element { 103 | background-color: @background; 104 | text-color: @foreground; 105 | orientation: horizontal; 106 | border-radius: 0px; 107 | padding: 12.5px 5px 10px 5px; 108 | } 109 | 110 | element-icon { 111 | background-color: inherit; 112 | text-color: inherit; 113 | horizontal-align: 0.5; 114 | vertical-align: 0.5; 115 | size: 0px; 116 | border: 0px; 117 | } 118 | 119 | element-text { 120 | background-color: inherit; 121 | text-color: inherit; 122 | font: "feather 14"; 123 | expand: true; 124 | horizontal-align: 0.5; 125 | vertical-align: 0.5; 126 | margin: 0px; 127 | } 128 | 129 | element selected { 130 | background-color: @selected; 131 | text-color: @foreground; 132 | border: 0px 0px 0px 0px; 133 | border-radius: 10px; 134 | border-color: @background; 135 | } 136 | 137 | element.active, 138 | element.selected.urgent { 139 | background-color: @on; 140 | text-color: @background; 141 | border-color: @on; 142 | } 143 | 144 | element.selected.urgent { 145 | border-color: @background; 146 | } 147 | 148 | element.urgent, 149 | element.selected.active { 150 | background-color: @off; 151 | text-color: @background; 152 | border-color: @off; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @background; 157 | } 158 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/screenshot.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 380px; 23 | location: center; 24 | anchor: center; 25 | x-offset: 0; 26 | y-offset: 0; 27 | } 28 | 29 | prompt { 30 | enabled: true; 31 | margin: 0px 0px 0px 8px; 32 | padding: 6px 0px 6px 0px; 33 | background-color: @background; 34 | text-color: @foreground; 35 | border: 0px 0px 0px 0px; 36 | border-color: @selected; 37 | border-radius: 0px; 38 | } 39 | 40 | textbox-prompt-colon { 41 | expand: false; 42 | str: ""; 43 | border-radius: 8px; 44 | background-color: @background-alt; 45 | text-color: @foreground; 46 | padding: 6px 10px 6px 10px; 47 | font: "Iosevka Nerd Font 10"; 48 | } 49 | 50 | entry { 51 | background-color: @background; 52 | text-color: @background; 53 | placeholder-color: @background; 54 | placeholder: ""; 55 | expand: true; 56 | horizontal-align: 0; 57 | blink: false; 58 | padding: 6px; 59 | } 60 | 61 | inputbar { 62 | children: [ textbox-prompt-colon, prompt ]; 63 | spacing: 0; 64 | background-color: @background; 65 | text-color: @foreground; 66 | border: 0px; 67 | border-radius: 0px; 68 | border-color: @selected; 69 | expand: false; 70 | margin: 0px 0px 0px 0px; 71 | padding: 0px; 72 | position: center; 73 | } 74 | 75 | case-indicator { 76 | background-color: @background; 77 | text-color: @foreground; 78 | spacing: 0; 79 | } 80 | 81 | 82 | listview { 83 | background-color: @background; 84 | columns: 6; 85 | lines: 1; 86 | spacing: 10px; 87 | cycle: true; 88 | dynamic: true; 89 | layout: vertical; 90 | } 91 | 92 | mainbox { 93 | background-color: @background; 94 | children: [ inputbar, listview ]; 95 | spacing: 10px; 96 | padding: 20px; 97 | } 98 | 99 | element { 100 | background-color: @background; 101 | text-color: @foreground; 102 | orientation: horizontal; 103 | border-radius: 8px; 104 | padding: 14px; 105 | } 106 | 107 | element-icon { 108 | background-color: inherit; 109 | text-color: inherit; 110 | horizontal-align: 0.5; 111 | vertical-align: 0.5; 112 | size: 0px; 113 | border: 0px; 114 | } 115 | 116 | element-text { 117 | background-color: inherit; 118 | text-color: inherit; 119 | font: "feather 16"; 120 | expand: true; 121 | horizontal-align: 0.5; 122 | vertical-align: 0.5; 123 | margin: 0px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | border-radius: 8px; 140 | } 141 | 142 | element.selected.urgent { 143 | border-color: @selected; 144 | } 145 | 146 | element.urgent, 147 | element.selected.active { 148 | background-color: @off; 149 | text-color: @background; 150 | border-color: @off; 151 | border-radius: 8px; 152 | } 153 | 154 | element.selected.active { 155 | border-color: @selected; 156 | } 157 | -------------------------------------------------------------------------------- /bluemal/bspwm/rofi/themes/window.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Medium 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | display-window: "Windows :"; 10 | window-format: " {w} · {c} · {t}"; 11 | disable-history: false; 12 | click-to-exit: true; 13 | } 14 | 15 | @import "new_colors.rasi" 16 | 17 | window { 18 | transparency: "real"; 19 | background-color: @background; 20 | text-color: @foreground; 21 | border: 0px; 22 | border-color: @selected; 23 | border-radius: 0px; 24 | width: 450px; 25 | location: center; 26 | anchor: center; 27 | x-offset: 0; 28 | y-offset: 0; 29 | } 30 | 31 | prompt { 32 | enabled: true; 33 | margin: 0px 0px 0px 8px; 34 | padding: 6px 0px 6px 0px; 35 | background-color: @background; 36 | text-color: @foreground; 37 | border: 0px 0px 0px 0px; 38 | border-color: @selected; 39 | border-radius: 0px; 40 | } 41 | 42 | textbox-prompt-colon { 43 | expand: false; 44 | str: ""; 45 | border-radius: 8px; 46 | background-color: @background-alt; 47 | text-color: @foreground; 48 | padding: 6px 10px 6px 10px; 49 | font: "Iosevka Nerd Font 10"; 50 | } 51 | 52 | entry { 53 | background-color: @background; 54 | text-color: @background; 55 | placeholder-color: @background; 56 | placeholder: ""; 57 | expand: true; 58 | horizontal-align: 0; 59 | blink: false; 60 | padding: 6px; 61 | } 62 | 63 | inputbar { 64 | children: [ textbox-prompt-colon, prompt ]; 65 | spacing: 0; 66 | background-color: @background; 67 | text-color: @foreground; 68 | border: 0px; 69 | border-radius: 0px; 70 | border-color: @selected; 71 | expand: false; 72 | margin: 0px 0px 0px 0px; 73 | padding: 0px; 74 | position: center; 75 | } 76 | 77 | case-indicator { 78 | background-color: @background; 79 | text-color: @foreground; 80 | spacing: 0; 81 | } 82 | 83 | 84 | listview { 85 | background-color: @background; 86 | columns: 1; 87 | lines: 6; 88 | spacing: 4px; 89 | cycle: true; 90 | dynamic: true; 91 | layout: vertical; 92 | } 93 | 94 | mainbox { 95 | background-color: @background; 96 | children: [ inputbar, listview ]; 97 | spacing: 10px; 98 | padding: 20px; 99 | } 100 | 101 | element { 102 | background-color: @background; 103 | text-color: @foreground; 104 | orientation: horizontal; 105 | border-radius: 0px; 106 | padding: 5px; 107 | } 108 | 109 | element-icon { 110 | background-color: inherit; 111 | text-color: inherit; 112 | horizontal-align: 0.5; 113 | vertical-align: 0.5; 114 | size: 0px; 115 | border: 0px; 116 | } 117 | 118 | element-text { 119 | background-color: inherit; 120 | text-color: inherit; 121 | expand: true; 122 | horizontal-align: 0; 123 | vertical-align: 0.5; 124 | margin: 2px 0px 2px 2px; 125 | } 126 | 127 | element selected { 128 | background-color: @selected; 129 | text-color: @foreground; 130 | border: 0px; 131 | border-radius: 8px; 132 | border-color: @selected; 133 | } 134 | 135 | element.active, 136 | element.selected.urgent { 137 | background-color: @on; 138 | text-color: @background; 139 | border-color: @on; 140 | border-radius: 10px; 141 | } 142 | 143 | element.selected.urgent { 144 | border-color: @selected; 145 | } 146 | 147 | element.urgent, 148 | element.selected.active { 149 | background-color: @off; 150 | text-color: @background; 151 | border-color: @off; 152 | border-radius: 10px; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @selected; 157 | } 158 | -------------------------------------------------------------------------------- /bluemal/dunst/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | monitor = 0 3 | follow = mouse 4 | geometry = "547x50-10+50" 5 | indicate_hidden = yes 6 | shrink = no 7 | separator_height = 4 8 | separator_color = auto 9 | padding = 15 10 | horizontal_padding = 15 11 | frame_width = 7 12 | sort = no 13 | idle_threshold = 120 14 | font = JetBrains Mono 10 15 | line_height = 4 16 | markup = full 17 | format = %s\n%b 18 | alignment = left 19 | show_age_threshold = 60 20 | word_wrap = yes 21 | ignore_newline = no 22 | stack_duplicates = false 23 | hide_duplicate_count = yes 24 | show_indicators = no 25 | icon_position = left 26 | max_icon_size = 48 27 | sticky_history = yes 28 | history_length = 1000 29 | browser = x-www-browser -new-tab 30 | always_run_script = true 31 | title = Dunst 32 | class = Dunst 33 | 34 | [shortcuts] 35 | close = ctrl+shift+space 36 | close_all = ctrl+shift+space 37 | history = ctrl+grave 38 | context = ctrl+shift+period 39 | 40 | [urgency_low] 41 | timeout = 2 42 | background = "#090B0F" 43 | foreground = "#c7c6ce" 44 | frame_color = "#090B0F" 45 | 46 | [urgency_normal] 47 | timeout = 5 48 | background = "#0f0f0f" 49 | foreground = "#c7c6ce" 50 | frame_color = "#090B0F" 51 | 52 | [urgency_critical] 53 | timeout = 0 54 | background = "#090B0F" 55 | foreground = "#c7c6ce" 56 | frame_color = "#090B0F" 57 | 9 58 | -------------------------------------------------------------------------------- /bluemal/wallpapers/test: -------------------------------------------------------------------------------- 1 | ff 2 | -------------------------------------------------------------------------------- /bluemal/wallpapers/wall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastShard/Themes/007b9715c1697e85799a8311e428089d9f99ec2b/bluemal/wallpapers/wall.jpg -------------------------------------------------------------------------------- /bluemal/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | set adjust-open "best-fit" 2 | set pages-per-row 1 3 | set scroll-page-aware "true" 4 | set smooth-scroll "true" 5 | set scroll-full-overlap 0.01 6 | set scroll-step 100 7 | set zoom-min 10 8 | set guioptions "" 9 | set font "inconsolata 15" 10 | set default-bg "#0f0f0f" 11 | set default-fg "#CDD6F4" 12 | set statusbar-fg "#CDD6F4" 13 | set statusbar-bg "#0f0f0f" 14 | set inputbar-bg "#0f0f0f" 15 | set inputbar-fg "#CDD6F4" 16 | set notification-error-bg "#AC4142" 17 | set notification-error-fg "#0f0f0f" 18 | set notification-warning-bg "#AC4142" 19 | set notification-warning-fg "#0f0f0f" 20 | set highlight-color "#F4BF75" 21 | set highlight-active-color "#6A9FB5" 22 | set completion-highlight-fg "#0f0f0f" 23 | set completion-highlight-bg "#90A959" 24 | set completion-bg "#0f0f0f" 25 | set completion-fg "#CDD6F4" 26 | set notification-bg "#90A959" 27 | set notification-fg "#0f0f0f" 28 | set recolor "true" 29 | set recolor-lightcolor "#0f0f0f" 30 | set recolor-darkcolor "#CDD6F4" 31 | set recolor-reverse-video "true" 32 | set recolor-keephue "true" 33 | set render-loading "false" 34 | set scroll-step 50 35 | unmap f 36 | map f toggle_fullscreen 37 | map [fullscreen] f toggle_fullscreen 38 | -------------------------------------------------------------------------------- /catppuccin/bspwm/alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | ## Import files (Colors, Fonts, Etc) 2 | import: 3 | - ~/.config/bspwm/alacritty/colors.yml 4 | - ~/.config/bspwm/alacritty/fonts.yml 5 | 6 | ## Set environment variables 7 | #env: 8 | # TERM: alacritty 9 | # WINIT_X11_SCALE_FACTOR: '1.0' 10 | 11 | ## Terminal window settings 12 | window: 13 | dimensions: 14 | columns: 82 15 | lines: 25 16 | 17 | padding: 18 | x: 30 19 | y: 25 20 | 21 | decorations: full 22 | startup_mode: Windowed 23 | dynamic_title: true 24 | 25 | ## scrolling 26 | history: 10000 27 | multiplier: 3 28 | 29 | ## Background opacity 30 | opacity: 1.0 31 | 32 | ## Cursor 33 | cursor: 34 | style: 35 | shape: Beam 36 | blinking: On 37 | 38 | unfocused_hollow: false 39 | 40 | ## Live config reload 41 | live_config_reload: true 42 | #key_bindings: 43 | -------------------------------------------------------------------------------- /catppuccin/bspwm/alacritty/colors.yml: -------------------------------------------------------------------------------- 1 | colors: 2 | primary: 3 | background: "#1E1E2E" # base 4 | foreground: "#CDD6F4" # text 5 | # Bright and dim foreground colors 6 | dim_foreground: "#CDD6F4" # text 7 | bright_foreground: "#CDD6F4" # text 8 | 9 | # Cursor colors 10 | cursor: 11 | text: "#1E1E2E" # base 12 | cursor: "#F5E0DC" # rosewater 13 | vi_mode_cursor: 14 | text: "#1E1E2E" # base 15 | cursor: "#B4BEFE" # lavender 16 | 17 | # Search colors 18 | search: 19 | matches: 20 | foreground: "#1E1E2E" # base 21 | background: "#A6ADC8" # subtext0 22 | focused_match: 23 | foreground: "#1E1E2E" # base 24 | background: "#A6E3A1" # green 25 | footer_bar: 26 | foreground: "#1E1E2E" # base 27 | background: "#A6ADC8" # subtext0 28 | 29 | # Keyboard regex hints 30 | hints: 31 | start: 32 | foreground: "#1E1E2E" # base 33 | background: "#F9E2AF" # yellow 34 | end: 35 | foreground: "#1E1E2E" # base 36 | background: "#A6ADC8" # subtext0 37 | 38 | # Selection colors 39 | selection: 40 | text: "#1E1E2E" # base 41 | background: "#F5E0DC" # rosewater 42 | 43 | # Normal colors 44 | normal: 45 | black: "#45475A" # surface1 46 | red: "#F38BA8" # red 47 | green: "#A6E3A1" # green 48 | yellow: "#F9E2AF" # yellow 49 | blue: "#89B4FA" # blue 50 | magenta: "#F5C2E7" # pink 51 | cyan: "#94E2D5" # teal 52 | white: "#BAC2DE" # subtext1 53 | 54 | # Bright colors 55 | bright: 56 | black: "#585B70" # surface2 57 | red: "#F38BA8" # red 58 | green: "#A6E3A1" # green 59 | yellow: "#F9E2AF" # yellow 60 | blue: "#89B4FA" # blue 61 | magenta: "#F5C2E7" # pink 62 | cyan: "#94E2D5" # teal 63 | white: "#A6ADC8" # subtext0 64 | 65 | # Dim colors 66 | dim: 67 | black: "#45475A" # surface1 68 | red: "#F38BA8" # red 69 | green: "#A6E3A1" # green 70 | yellow: "#F9E2AF" # yellow 71 | blue: "#89B4FA" # blue 72 | magenta: "#F5C2E7" # pink 73 | cyan: "#94E2D5" # teal 74 | white: "#BAC2DE" # subtext1 75 | 76 | indexed_colors: 77 | - { index: 16, color: "#FAB387" } 78 | - { index: 17, color: "#F5E0DC" } 79 | -------------------------------------------------------------------------------- /catppuccin/bspwm/alacritty/fonts.yml: -------------------------------------------------------------------------------- 1 | # Font configuration 2 | font: 3 | # Normal (roman) font face 4 | normal: 5 | family: "JetBrainsMono Nerd Font" 6 | #style: Regular 7 | 8 | # Bold font face 9 | bold: 10 | family: "JetBrainsMono Nerd Font" 11 | #style: Bold 12 | 13 | # Italic font face 14 | italic: 15 | family: "JetBrainsMono Nerd Font" 16 | #style: Italic 17 | 18 | # Bold italic font face 19 | bold_italic: 20 | family: "JetBrainsMono Nerd Font" 21 | #style: Bold Italic 22 | 23 | # Point size 24 | size: 8.5 25 | 26 | # Offset 27 | #offset: 28 | # x: 0 29 | # y: 0 30 | 31 | # Glyph offset 32 | #glyph_offset: 33 | # x: 0 34 | # y: 0 35 | -------------------------------------------------------------------------------- /catppuccin/bspwm/bar/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm/bar" 4 | 5 | killall -q polybar 6 | #while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 7 | 8 | # launch the bars 9 | # polybar -q border-menu -c "$DIR"/config.ini & 10 | polybar -q border-center -c "$DIR"/config.ini & 11 | polybar -q border-left -c "$DIR"/config.ini & 12 | polybar -q border-right -c "$DIR"/config.ini & 13 | # polybar -q border-power -c "$DIR"/config.ini & 14 | sleep 3s 15 | # polybar -q bar-menu -c "$DIR"/config.ini & 16 | polybar -q bar-left -c "$DIR"/config.ini & 17 | polybar -q bar-center -c "$DIR"/config.ini & 18 | polybar -q bar-right -c "$DIR"/config.ini & 19 | # polybar -q bar-power -c "$DIR"/config.ini & 20 | -------------------------------------------------------------------------------- /catppuccin/bspwm/bin/bspborder: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Enable double borders 3 | # Dependencies: chwb2 from wmutils/opt 4 | # 5 | # Yes, this is stolen from gk. 6 | 7 | outer='0x1E1E2E' # outer 8 | inner1='0x45475A' # focused 9 | inner2='0x45475A' # normal 10 | 11 | trap 'bspc config border_width 0; kill -9 -$$' INT TERM 12 | 13 | targets() { 14 | case $1 in 15 | focused) bspc query -N -n .local.focused.\!fullscreen;; 16 | normal) bspc query -N -n .local.\!focused.\!fullscreen 17 | esac | grep -iv "$v" 18 | } 19 | 20 | bspc config border_width 14 21 | 22 | draw() { chwb2 -I "$inner" -O "$outer" -i "8" -o "4" $* |:; } 23 | 24 | #initial draw, and then subscribe to events 25 | { echo; bspc subscribe node_geometry node_focus; } | 26 | while read -r _; do 27 | [ "$v" ] || v='abcdefg' 28 | inner=$inner1 draw "$(targets focused)" 29 | inner=$inner2 draw "$(targets normal)" 30 | done 31 | 32 | -------------------------------------------------------------------------------- /catppuccin/bspwm/bin/themechanger.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | selected=$(echo "Hord 4 | Lotus 5 | Catppuccin 6 | Mountain" | rofi -dmenu -theme ~/.config/bspwm/rofi/themes/launcher.rasi) 7 | 8 | echo "$selected" 9 | 10 | if [ "$selected" = "Hord" ] 11 | then 12 | fastshard hord 13 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/hord/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 14 | bspc wm -r 15 | exit 16 | fi 17 | if [ "$selected" = "Lotus" ] 18 | then 19 | fastshard lotus 20 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/lotus/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 21 | bspc wm -r 22 | exit 23 | fi 24 | if [ "$selected" = "Catppuccin" ] 25 | then 26 | fastshard catppuccin 27 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/cappuccin/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 28 | bspc wm -r 29 | exit 30 | fi 31 | if [ "$selected" = "Mountain" ] 32 | then 33 | fastshard mountain 34 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/mountain/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 35 | bspc wm -r 36 | exit 37 | fi 38 | -------------------------------------------------------------------------------- /catppuccin/bspwm/bspwmrc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | pgrep -x sxhkd > /dev/null || sxhkd & 4 | killall -9 sxhkd ksuperkey 5 | killall -q picom 6 | killall -9 dunst 7 | killall -9 bspborder 8 | 9 | bspc monitor -d I II III IV V VI VII VIII IX X 10 | 11 | #bspc config border_width 0 12 | bspc config window_gap 15 13 | bspc config split_ratio 0.50 14 | bspc config borderless_monocle true 15 | bspc config gapless_monocle true 16 | bspc config pointer_follows_focus false 17 | bspc config focus_follows_pointer true 18 | bspc rule -a Kupfer.py focus=on 19 | bspc rule -a Screenkey manage=off 20 | bspc rule -a Thunar state=tiled 21 | bspc config focused_border_color "#22292B" 22 | bspc config normal_border_color "#22292B" 23 | bspc config active_border_color "#22292B" 24 | ksuperkey -e 'Super_L=Alt_L|F1' & 25 | ksuperkey -e 'Super_R=Alt_L|F1' & 26 | 27 | xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 28 | 29 | ~/.config/bspwm/bar/launch.sh & 30 | /usr/bin/dunst & 31 | xsetroot -cursor_name left_ptr & 32 | 33 | ~/.config/bspwm/bin/bspborder & 34 | feh --bg-scale --zoom fill ~/.config/fastshard/catppuccin/wallpapers/wall.jpg 35 | sleep 5s 36 | xdo lower -N "Polybar" 37 | xdo above -N "Polybar" -t $(xdo id -N Bspwm -n root) 38 | sxhkd & 39 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/bin/confirm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | rofi -dmenu\ 7 | -i\ 8 | -no-fixed-num-lines\ 9 | -p "Are You Sure? : "\ 10 | -theme ~/.config/bspwm/rofi/themes/confirm.rasi -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/bin/launcher: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi \ 9 | -show drun \ 10 | -modi run,drun,ssh \ 11 | -no-lazy-grab \ 12 | -scroll-method 0 \ 13 | -drun-match-fields all \ 14 | -drun-display-format "{name}" \ 15 | -no-drun-show-actions \ 16 | -terminal alacritty \ 17 | -kb-cancel Alt-F1 \ 18 | -theme "$DIR"/rofi/themes/launcher.rasi -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/bin/powermenu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi_command="rofi -theme $DIR/rofi/themes/powermenu.rasi" 9 | 10 | uptime=$(uptime -p | sed -e 's/up //g') 11 | 12 | # Options 13 | shutdown="" 14 | reboot="" 15 | lock="" 16 | suspend="" 17 | logout="" 18 | 19 | # Variable passed to rofi 20 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 21 | _msg="Options - yes / y / no / n" 22 | 23 | chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" 24 | case $chosen in 25 | $shutdown) 26 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 27 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 28 | systemctl poweroff 29 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 30 | exit 31 | else 32 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 33 | fi 34 | ;; 35 | $reboot) 36 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 37 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 38 | systemctl reboot 39 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 40 | exit 41 | else 42 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 43 | fi 44 | ;; 45 | $lock) 46 | betterlockscreen --lock 47 | ;; 48 | $suspend) 49 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 50 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 51 | mpc -q pause 52 | amixer set Master mute 53 | betterlockscreen --suspend 54 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 55 | exit 56 | else 57 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 58 | fi 59 | ;; 60 | $logout) 61 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 62 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 63 | bspc quit 64 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 65 | exit 66 | else 67 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 68 | fi 69 | ;; 70 | esac 71 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/bin/screenshot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | rofi_command="rofi -theme $DIR/rofi/themes/screenshot.rasi" 8 | 9 | time=`date +%Y-%m-%d-%H-%M-%S` 10 | geometry=`xrandr | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` 11 | dir="`xdg-user-dir PICTURES`/Screenshots" 12 | file="Screenshot_${time}_${geometry}.png" 13 | 14 | # Buttons 15 | screen="" 16 | area="" 17 | window="" 18 | infive="" 19 | inten="" 20 | 21 | # notify and view screenshot 22 | notify_view () { 23 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Copied to clipboard." 24 | viewnior ${dir}/"$file" 25 | if [[ -e "$dir/$file" ]]; then 26 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Saved." 27 | else 28 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Deleted." 29 | fi 30 | } 31 | 32 | # countdown 33 | countdown () { 34 | for sec in `seq $1 -1 1`; do 35 | dunstify -t 1000 --replace=699 -i /usr/share/archcraft/icons/dunst/timer.png "Taking shot in : $sec" 36 | sleep 1 37 | done 38 | } 39 | 40 | # take shots 41 | shotnow () { 42 | cd ${dir} && sleep 0.5 && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 43 | notify_view 44 | } 45 | 46 | shot5 () { 47 | countdown '5' 48 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 49 | notify_view 50 | } 51 | 52 | shot10 () { 53 | countdown '10' 54 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 55 | notify_view 56 | } 57 | 58 | shotwin () { 59 | cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | tee "$file" | xclip -selection clipboard -t image/png 60 | notify_view 61 | } 62 | 63 | shotarea () { 64 | cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | tee "$file" | xclip -selection clipboard -t image/png 65 | notify_view 66 | } 67 | 68 | if [[ ! -d "$dir" ]]; then 69 | mkdir -p "$dir" 70 | fi 71 | 72 | # Variable passed to rofi 73 | options="$screen\n$area\n$window\n$infive\n$inten" 74 | 75 | chosen="$(echo -e "$options" | $rofi_command -p 'Take Screenshot' -dmenu -selected-row 0)" 76 | case $chosen in 77 | $screen) 78 | shotnow 79 | ;; 80 | $area) 81 | shotarea 82 | ;; 83 | $window) 84 | shotwin 85 | ;; 86 | $infive) 87 | shot5 88 | ;; 89 | $inten) 90 | shot10 91 | ;; 92 | esac 93 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/askpass.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | 3 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 4 | 5 | @import "new_colors.rasi" 6 | 7 | * { 8 | background-color: @background; 9 | text-color: @foreground; 10 | font: "JetBrains Mono Nerd Font Medium 10"; 11 | } 12 | 13 | window { 14 | width: 300px; 15 | padding: 25px; 16 | border: 1px; 17 | border-radius: 0px; 18 | border-color: @brdr; 19 | location: center; 20 | x-offset: 0; 21 | y-offset: -4%; 22 | } 23 | 24 | entry { 25 | expand: true; 26 | width: 150px; 27 | text-color: @selected; 28 | } 29 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | @import "new_colors.rasi" 5 | 6 | * { 7 | background-color: @background; 8 | text-color: @foreground; 9 | font: "JetBrains Mono Nerd Font 10"; 10 | } 11 | 12 | window { 13 | width: 230px; 14 | padding: 25px; 15 | border: 1px; 16 | border-radius: 0px; 17 | border-color: @brdr; 18 | location: center; 19 | x-offset: 0; 20 | y-offset: -4%; 21 | } 22 | 23 | entry { 24 | expand: true; 25 | width: 150px; 26 | text-color: @selected; 27 | } 28 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/networkmenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 400px; 23 | height: 420px; 24 | location: center; 25 | anchor: center; 26 | x-offset: 0; 27 | y-offset: 0; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 8px; 33 | padding: 6px 0px 6px 0px; 34 | background-color: @background; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @selected; 38 | border-radius: 0px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: "直"; 44 | border-radius: 8px; 45 | background-color: @background-alt; 46 | text-color: @foreground; 47 | padding: 6px 10px 6px 10px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | placeholder: ""; 56 | expand: true; 57 | horizontal-align: 0; 58 | blink: false; 59 | padding: 6px; 60 | } 61 | 62 | inputbar { 63 | children: [ textbox-prompt-colon, prompt, entry ]; 64 | spacing: 0; 65 | background-color: @background; 66 | text-color: @foreground; 67 | border: 0px; 68 | border-radius: 0px; 69 | border-color: @selected; 70 | expand: false; 71 | margin: 0px 0px 0px 0px; 72 | padding: 0px; 73 | position: center; 74 | } 75 | 76 | case-indicator { 77 | background-color: @background; 78 | text-color: @foreground; 79 | spacing: 0; 80 | } 81 | 82 | 83 | listview { 84 | background-color: @background; 85 | columns: 1; 86 | lines: 8; 87 | spacing: 4px; 88 | cycle: true; 89 | dynamic: true; 90 | layout: vertical; 91 | } 92 | 93 | mainbox { 94 | background-color: @background; 95 | children: [ inputbar, listview ]; 96 | spacing: 10px; 97 | padding: 20px; 98 | } 99 | 100 | element { 101 | background-color: @background; 102 | text-color: @foreground; 103 | orientation: horizontal; 104 | border-radius: 0px; 105 | padding: 6px; 106 | } 107 | 108 | element-icon { 109 | background-color: inherit; 110 | text-color: inherit; 111 | horizontal-align: 0.5; 112 | vertical-align: 0.5; 113 | size: 0px; 114 | border: 0px; 115 | } 116 | 117 | element-text { 118 | background-color: inherit; 119 | text-color: inherit; 120 | expand: true; 121 | horizontal-align: 0; 122 | vertical-align: 0.5; 123 | margin: 2px 0px 2px 2px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | } 140 | 141 | element.selected.urgent { 142 | border-color: @selected; 143 | } 144 | 145 | element.urgent, 146 | element.selected.active { 147 | background-color: @off; 148 | text-color: @background; 149 | border-color: @off; 150 | } 151 | 152 | element.selected.active { 153 | border-color: @selected; 154 | } 155 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/networkmenu_config.ini: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | [dmenu] 5 | dmenu_command = rofi -dmenu -theme ~/.config/herbstluftwm/rofi/themes/networkmenu.rasi 6 | # # Note that dmenu_command can contain arguments as well like `rofi -width 30` 7 | # # Rofi and dmenu are set to case insensitive by default `-i` 8 | # l = number of lines to display, defaults to number of total network options 9 | # fn = font string 10 | # nb = normal background (name, #RGB, or #RRGGBB) 11 | # nf = normal foreground 12 | # sb = selected background 13 | # sf = selected foreground 14 | # b = (just set to empty value and menu will appear at the bottom 15 | # m = number of monitor to display on 16 | # p = Custom Prompt for the networks menu 17 | # pinentry = Pinentry command 18 | # rofi_highlight = # (Default: False) use rofi highlighting instead of '**' 19 | 20 | # # override normal foreground and background colors (dmenu) or use the 21 | # # -password option (rofi) to obscure passphrase entry 22 | # [dmenu_passphrase] 23 | # nf = #222222 24 | # nb = #222222 25 | # rofi_obscure = True 26 | 27 | [editor] 28 | terminal = alacritty 29 | gui_if_available = True 30 | # terminal = 31 | # gui_if_available = 32 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/new_colors.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #1E1E2E; 3 | background-alt: #45475A; 4 | brdr: #45475A; 5 | foreground: #d4d5d8; 6 | foresel: #d4d5d8; 7 | selected: #45475A; 8 | urgent: #E06C75; 9 | on: #87A181; 10 | off: #D88B9F; 11 | } 12 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/powermenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | show-icons: false; 6 | display-drun: ""; 7 | drun-display-format: "{name}"; 8 | disable-history: false; 9 | click-to-exit: true; 10 | location: 4; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | /* Line Responsible For Button Layouts */ 16 | /* BUTTON = TRUE */ 17 | 18 | window { 19 | transparency: "real"; 20 | background-color: @background; 21 | text-color: @foreground; 22 | border: 1px; 23 | border-color: @brdr; 24 | border-radius: 0px; 25 | width: 88px; 26 | x-offset: -20px; 27 | y-offset: 0px; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 0px; 33 | padding: 8px; 34 | background-color: @background-alt; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @background; 38 | border-radius: 10px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: ""; 44 | border-radius: 0px; 45 | background-color: @selected; 46 | text-color: @background; 47 | padding: 8px 12px 8px 12px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background-alt; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | expand: true; 56 | horizontal-align: 0; 57 | placeholder: "Search..."; 58 | blink: true; 59 | border: 0px 0px 0px 0px; 60 | border-color: @background; 61 | border-radius: 0px; 62 | padding: 8px; 63 | } 64 | 65 | inputbar { 66 | children: [ textbox-prompt-colon, prompt ]; 67 | background-color: @background-alt; 68 | text-color: @foreground; 69 | expand: false; 70 | border: 0px 0px 0px 0px; 71 | border-radius: 0px; 72 | border-color: @background; 73 | margin: 0px 0px 0px 0px; 74 | padding: 0px; 75 | position: center; 76 | } 77 | 78 | case-indicator { 79 | background-color: @background; 80 | text-color: @foreground; 81 | spacing: 0; 82 | } 83 | 84 | 85 | listview { 86 | background-color: @background; 87 | columns: 1; 88 | lines: 5; 89 | spacing: 10px; 90 | cycle: false; 91 | dynamic: true; 92 | layout: vertical; 93 | } 94 | 95 | mainbox { 96 | background-color: @background; 97 | children: [ listview ]; 98 | spacing: 15px; 99 | padding: 15px; 100 | } 101 | 102 | element { 103 | background-color: @background; 104 | text-color: @foreground; 105 | orientation: horizontal; 106 | border-radius: 0px; 107 | padding: 12.5px 5px 10px 5px; 108 | } 109 | 110 | element-icon { 111 | background-color: inherit; 112 | text-color: inherit; 113 | horizontal-align: 0.5; 114 | vertical-align: 0.5; 115 | size: 0px; 116 | border: 0px; 117 | } 118 | 119 | element-text { 120 | background-color: inherit; 121 | text-color: inherit; 122 | font: "feather 14"; 123 | expand: true; 124 | horizontal-align: 0.5; 125 | vertical-align: 0.5; 126 | margin: 0px; 127 | } 128 | 129 | element selected { 130 | background-color: @selected; 131 | text-color: @foreground; 132 | border: 0px 0px 0px 0px; 133 | border-radius: 10px; 134 | border-color: @background; 135 | } 136 | 137 | element.active, 138 | element.selected.urgent { 139 | background-color: @on; 140 | text-color: @background; 141 | border-color: @on; 142 | } 143 | 144 | element.selected.urgent { 145 | border-color: @background; 146 | } 147 | 148 | element.urgent, 149 | element.selected.active { 150 | background-color: @off; 151 | text-color: @background; 152 | border-color: @off; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @background; 157 | } 158 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/screenshot.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 380px; 23 | location: center; 24 | anchor: center; 25 | x-offset: 0; 26 | y-offset: 0; 27 | } 28 | 29 | prompt { 30 | enabled: true; 31 | margin: 0px 0px 0px 8px; 32 | padding: 6px 0px 6px 0px; 33 | background-color: @background; 34 | text-color: @foreground; 35 | border: 0px 0px 0px 0px; 36 | border-color: @selected; 37 | border-radius: 0px; 38 | } 39 | 40 | textbox-prompt-colon { 41 | expand: false; 42 | str: ""; 43 | border-radius: 8px; 44 | background-color: @background-alt; 45 | text-color: @foreground; 46 | padding: 6px 10px 6px 10px; 47 | font: "Iosevka Nerd Font 10"; 48 | } 49 | 50 | entry { 51 | background-color: @background; 52 | text-color: @background; 53 | placeholder-color: @background; 54 | placeholder: ""; 55 | expand: true; 56 | horizontal-align: 0; 57 | blink: false; 58 | padding: 6px; 59 | } 60 | 61 | inputbar { 62 | children: [ textbox-prompt-colon, prompt ]; 63 | spacing: 0; 64 | background-color: @background; 65 | text-color: @foreground; 66 | border: 0px; 67 | border-radius: 0px; 68 | border-color: @selected; 69 | expand: false; 70 | margin: 0px 0px 0px 0px; 71 | padding: 0px; 72 | position: center; 73 | } 74 | 75 | case-indicator { 76 | background-color: @background; 77 | text-color: @foreground; 78 | spacing: 0; 79 | } 80 | 81 | 82 | listview { 83 | background-color: @background; 84 | columns: 6; 85 | lines: 1; 86 | spacing: 10px; 87 | cycle: true; 88 | dynamic: true; 89 | layout: vertical; 90 | } 91 | 92 | mainbox { 93 | background-color: @background; 94 | children: [ inputbar, listview ]; 95 | spacing: 10px; 96 | padding: 20px; 97 | } 98 | 99 | element { 100 | background-color: @background; 101 | text-color: @foreground; 102 | orientation: horizontal; 103 | border-radius: 8px; 104 | padding: 14px; 105 | } 106 | 107 | element-icon { 108 | background-color: inherit; 109 | text-color: inherit; 110 | horizontal-align: 0.5; 111 | vertical-align: 0.5; 112 | size: 0px; 113 | border: 0px; 114 | } 115 | 116 | element-text { 117 | background-color: inherit; 118 | text-color: inherit; 119 | font: "feather 16"; 120 | expand: true; 121 | horizontal-align: 0.5; 122 | vertical-align: 0.5; 123 | margin: 0px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | border-radius: 8px; 140 | } 141 | 142 | element.selected.urgent { 143 | border-color: @selected; 144 | } 145 | 146 | element.urgent, 147 | element.selected.active { 148 | background-color: @off; 149 | text-color: @background; 150 | border-color: @off; 151 | border-radius: 8px; 152 | } 153 | 154 | element.selected.active { 155 | border-color: @selected; 156 | } 157 | -------------------------------------------------------------------------------- /catppuccin/bspwm/rofi/themes/window.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Medium 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | display-window: "Windows :"; 10 | window-format: " {w} · {c} · {t}"; 11 | disable-history: false; 12 | click-to-exit: true; 13 | } 14 | 15 | @import "new_colors.rasi" 16 | 17 | window { 18 | transparency: "real"; 19 | background-color: @background; 20 | text-color: @foreground; 21 | border: 0px; 22 | border-color: @selected; 23 | border-radius: 0px; 24 | width: 450px; 25 | location: center; 26 | anchor: center; 27 | x-offset: 0; 28 | y-offset: 0; 29 | } 30 | 31 | prompt { 32 | enabled: true; 33 | margin: 0px 0px 0px 8px; 34 | padding: 6px 0px 6px 0px; 35 | background-color: @background; 36 | text-color: @foreground; 37 | border: 0px 0px 0px 0px; 38 | border-color: @selected; 39 | border-radius: 0px; 40 | } 41 | 42 | textbox-prompt-colon { 43 | expand: false; 44 | str: ""; 45 | border-radius: 8px; 46 | background-color: @background-alt; 47 | text-color: @foreground; 48 | padding: 6px 10px 6px 10px; 49 | font: "Iosevka Nerd Font 10"; 50 | } 51 | 52 | entry { 53 | background-color: @background; 54 | text-color: @background; 55 | placeholder-color: @background; 56 | placeholder: ""; 57 | expand: true; 58 | horizontal-align: 0; 59 | blink: false; 60 | padding: 6px; 61 | } 62 | 63 | inputbar { 64 | children: [ textbox-prompt-colon, prompt ]; 65 | spacing: 0; 66 | background-color: @background; 67 | text-color: @foreground; 68 | border: 0px; 69 | border-radius: 0px; 70 | border-color: @selected; 71 | expand: false; 72 | margin: 0px 0px 0px 0px; 73 | padding: 0px; 74 | position: center; 75 | } 76 | 77 | case-indicator { 78 | background-color: @background; 79 | text-color: @foreground; 80 | spacing: 0; 81 | } 82 | 83 | 84 | listview { 85 | background-color: @background; 86 | columns: 1; 87 | lines: 6; 88 | spacing: 4px; 89 | cycle: true; 90 | dynamic: true; 91 | layout: vertical; 92 | } 93 | 94 | mainbox { 95 | background-color: @background; 96 | children: [ inputbar, listview ]; 97 | spacing: 10px; 98 | padding: 20px; 99 | } 100 | 101 | element { 102 | background-color: @background; 103 | text-color: @foreground; 104 | orientation: horizontal; 105 | border-radius: 0px; 106 | padding: 5px; 107 | } 108 | 109 | element-icon { 110 | background-color: inherit; 111 | text-color: inherit; 112 | horizontal-align: 0.5; 113 | vertical-align: 0.5; 114 | size: 0px; 115 | border: 0px; 116 | } 117 | 118 | element-text { 119 | background-color: inherit; 120 | text-color: inherit; 121 | expand: true; 122 | horizontal-align: 0; 123 | vertical-align: 0.5; 124 | margin: 2px 0px 2px 2px; 125 | } 126 | 127 | element selected { 128 | background-color: @selected; 129 | text-color: @foreground; 130 | border: 0px; 131 | border-radius: 8px; 132 | border-color: @selected; 133 | } 134 | 135 | element.active, 136 | element.selected.urgent { 137 | background-color: @on; 138 | text-color: @background; 139 | border-color: @on; 140 | border-radius: 10px; 141 | } 142 | 143 | element.selected.urgent { 144 | border-color: @selected; 145 | } 146 | 147 | element.urgent, 148 | element.selected.active { 149 | background-color: @off; 150 | text-color: @background; 151 | border-color: @off; 152 | border-radius: 10px; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @selected; 157 | } 158 | -------------------------------------------------------------------------------- /catppuccin/dunst/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | monitor = 0 3 | follow = mouse 4 | geometry = "547x50-10+50" 5 | indicate_hidden = yes 6 | shrink = no 7 | separator_height = 4 8 | separator_color = auto 9 | padding = 15 10 | horizontal_padding = 15 11 | frame_width = 7 12 | sort = no 13 | idle_threshold = 120 14 | font = JetBrains Mono 10 15 | line_height = 4 16 | markup = full 17 | format = %s\n%b 18 | alignment = left 19 | show_age_threshold = 60 20 | word_wrap = yes 21 | ignore_newline = no 22 | stack_duplicates = false 23 | hide_duplicate_count = yes 24 | show_indicators = no 25 | icon_position = left 26 | max_icon_size = 48 27 | sticky_history = yes 28 | history_length = 1000 29 | browser = x-www-browser -new-tab 30 | always_run_script = true 31 | title = Dunst 32 | class = Dunst 33 | 34 | [shortcuts] 35 | close = ctrl+shift+space 36 | close_all = ctrl+shift+space 37 | history = ctrl+grave 38 | context = ctrl+shift+period 39 | 40 | [urgency_low] 41 | timeout = 2 42 | background = "#1E1E2E" 43 | foreground = "#CDD6F4" 44 | frame_color = "#45475A" 45 | 46 | [urgency_normal] 47 | timeout = 5 48 | background = "#1E1E2E" 49 | foreground = "#CDD6F4" 50 | frame_color = "#45475A" 51 | 52 | [urgency_critical] 53 | timeout = 0 54 | background = "#1E1E2E" 55 | foreground = "#CDD6F4" 56 | frame_color = "#45475A" 57 | 9 58 | -------------------------------------------------------------------------------- /catppuccin/wallpapers/test: -------------------------------------------------------------------------------- 1 | g 2 | -------------------------------------------------------------------------------- /catppuccin/wallpapers/wall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastShard/Themes/007b9715c1697e85799a8311e428089d9f99ec2b/catppuccin/wallpapers/wall.jpg -------------------------------------------------------------------------------- /catppuccin/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | set adjust-open "best-fit" 2 | set pages-per-row 1 3 | set scroll-page-aware "true" 4 | set smooth-scroll "true" 5 | set scroll-full-overlap 0.01 6 | set scroll-step 100 7 | set zoom-min 10 8 | set guioptions "" 9 | set font "inconsolata 15" 10 | set default-bg "#1E1E2E" 11 | set default-fg "#CDD6F4" 12 | set statusbar-fg "#CDD6F4" 13 | set statusbar-bg "#1E1E2E" 14 | set inputbar-bg "#1E1E2E" 15 | set inputbar-fg "#CDD6F4" 16 | set notification-error-bg "#AC4142" 17 | set notification-error-fg "#1E1E2E" 18 | set notification-warning-bg "#AC4142" 19 | set notification-warning-fg "#1E1E2E" 20 | set highlight-color "#F4BF75" 21 | set highlight-active-color "#6A9FB5" 22 | set completion-highlight-fg "#1E1E2E" 23 | set completion-highlight-bg "#90A959" 24 | set completion-bg "#1E1E2E" 25 | set completion-fg "#CDD6F4" 26 | set notification-bg "#90A959" 27 | set notification-fg "#1E1E2E" 28 | set recolor "true" 29 | set recolor-lightcolor "#1E1E2E" 30 | set recolor-darkcolor "#CDD6F4" 31 | set recolor-reverse-video "true" 32 | set recolor-keephue "true" 33 | set render-loading "false" 34 | set scroll-step 50 35 | unmap f 36 | map f toggle_fullscreen 37 | map [fullscreen] f toggle_fullscreen 38 | -------------------------------------------------------------------------------- /hord/bspwm/alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | ## Configuration for Alacritty, the GPU enhanced terminal emulator. 5 | ## It's a very basic and simple config file, for full configuration... 6 | ## See, /usr/share/doc/alacritty/example/alacritty.yml 7 | 8 | ## Import files (Colors, Fonts, Etc) 9 | import: 10 | - ~/.config/bspwm/alacritty/colors.yml 11 | - ~/.config/bspwm/alacritty/fonts.yml 12 | 13 | ## Set environment variables 14 | #env: 15 | # TERM: alacritty 16 | # WINIT_X11_SCALE_FACTOR: '1.0' 17 | 18 | ## Terminal window settings 19 | window: 20 | dimensions: 21 | columns: 82 22 | lines: 25 23 | 24 | padding: 25 | x: 30 26 | y: 25 27 | 28 | decorations: full 29 | startup_mode: Windowed 30 | dynamic_title: true 31 | 32 | ## scrolling 33 | history: 10000 34 | multiplier: 3 35 | 36 | ## Background opacity 37 | opacity: 1.0 38 | 39 | ## Cursor 40 | cursor: 41 | style: 42 | shape: Beam 43 | blinking: On 44 | 45 | unfocused_hollow: false 46 | 47 | ## Live config reload 48 | live_config_reload: true 49 | #key_bindings: 50 | -------------------------------------------------------------------------------- /hord/bspwm/alacritty/colors.yml: -------------------------------------------------------------------------------- 1 | ## Colors configuration 2 | #colors: 3 | # Default colors 4 | # primary: 5 | # background: '#0f0f0f' 6 | # foreground: '#dadada' 7 | 8 | # Normal colors 9 | #bright: 10 | # black: '#4C4C4C' 11 | # red: '#C49EA0' 12 | # green: '#93C49F' 13 | # yellow: '#CEB188' 14 | # blue: '#A5B4CB' 15 | # magenta: '#A39EC4' 16 | # cyan: '#9EC3C4' 17 | # white: '#F0F0F0' 18 | 19 | # Bright colors 20 | #normal: 21 | # black: '#4C4C4C' 22 | # red: '#C49EA0' 23 | # green: '#93C49F' 24 | # yellow: '#CEB188' 25 | # blue: '#A5B4CB' 26 | # magenta: '#A39EC4' 27 | # cyan: '#9EC3C4' 28 | # white: '#F0F0F0' 29 | 30 | # ------------------------------------ Hord 31 | # ## Colors configuration 32 | # colors: 33 | # # Default colors 34 | # primary: 35 | # background: '#181f21' 36 | # foreground: '#dadada' 37 | # # Normal colors 38 | # bright: 39 | # black: '#48494B' 40 | # red: '#88807D' 41 | # green: '#D9DDDC' 42 | # yellow: '#D6CFC7' 43 | # blue: '#999EA1' 44 | # magenta: '#88807D' 45 | # cyan: '#BEBDB8' 46 | # white: '#b3b9b8' 47 | 48 | # # Bright colors 49 | # normal: 50 | # black: '#5F6062' 51 | # red: '#86746A' 52 | # green: '#BDBEB0' 53 | # yellow: '#E0E0DE' 54 | # blue: '#D1D4D9' 55 | # magenta: '#BAB0A4' 56 | # cyan: '#C5C6C8' 57 | # white: '#FFFFFF' 58 | 59 | # ------------------------------------ Flower 60 | ## Colors configuration 61 | colors: 62 | # Default colors 63 | primary: 64 | background: '#12161b' 65 | foreground: '#b7b5b8' 66 | 67 | # Normal colors 68 | bright: 69 | black: '#12161b' 70 | red: '#50484C' 71 | green: '#695654' 72 | yellow: '#716567' 73 | blue: '#935C35' 74 | magenta: '#8F7168' 75 | cyan: '#AB8976' 76 | white: '#b7b5b8' 77 | 78 | # Bright colors 79 | normal: 80 | black: '#807e80' 81 | red: '#50484C' 82 | green: '#695654' 83 | yellow: '#716567' 84 | blue: '#935C35' 85 | magenta: '#8F7168' 86 | cyan: '#AB8976' 87 | white: '#b7b5b8' -------------------------------------------------------------------------------- /hord/bspwm/alacritty/fonts.yml: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | # Font configuration 5 | font: 6 | # Normal (roman) font face 7 | normal: 8 | family: "JetBrainsMono Nerd Font" 9 | #style: Regular 10 | 11 | # Bold font face 12 | bold: 13 | family: "JetBrainsMono Nerd Font" 14 | #style: Bold 15 | 16 | # Italic font face 17 | italic: 18 | family: "JetBrainsMono Nerd Font" 19 | #style: Italic 20 | 21 | # Bold italic font face 22 | bold_italic: 23 | family: "JetBrainsMono Nerd Font" 24 | #style: Bold Italic 25 | 26 | # Point size 27 | size: 8.5 28 | 29 | # Offset 30 | #offset: 31 | # x: 0 32 | # y: 0 33 | 34 | # Glyph offset 35 | #glyph_offset: 36 | # x: 0 37 | # y: 0 38 | -------------------------------------------------------------------------------- /hord/bspwm/bar/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm/bar" 4 | 5 | killall -q polybar 6 | #while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 7 | 8 | # launch the bars 9 | # polybar -q border-menu -c "$DIR"/config.ini & 10 | polybar -q border-center -c "$DIR"/config.ini & 11 | polybar -q border-left -c "$DIR"/config.ini & 12 | polybar -q border-right -c "$DIR"/config.ini & 13 | # polybar -q border-power -c "$DIR"/config.ini & 14 | sleep 3s 15 | # polybar -q bar-menu -c "$DIR"/config.ini & 16 | polybar -q bar-left -c "$DIR"/config.ini & 17 | polybar -q bar-center -c "$DIR"/config.ini & 18 | polybar -q bar-right -c "$DIR"/config.ini & 19 | # polybar -q bar-power -c "$DIR"/config.ini & 20 | -------------------------------------------------------------------------------- /hord/bspwm/bin/bspborder: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Enable double borders 3 | # Dependencies: chwb2 from wmutils/opt 4 | # 5 | # Yes, this is stolen from gk. 6 | 7 | outer='0x12161b' # outer 8 | inner1='0x1c2026' # focused 9 | inner2='0x1c2026' # normal 10 | 11 | trap 'bspc config border_width 0; kill -9 -$$' INT TERM 12 | 13 | targets() { 14 | case $1 in 15 | focused) bspc query -N -n .local.focused.\!fullscreen;; 16 | normal) bspc query -N -n .local.\!focused.\!fullscreen 17 | esac | grep -iv "$v" 18 | } 19 | 20 | bspc config border_width 14 21 | 22 | draw() { chwb2 -I "$inner" -O "$outer" -i "8" -o "4" $* |:; } 23 | 24 | #initial draw, and then subscribe to events 25 | { echo; bspc subscribe node_geometry node_focus; } | 26 | while read -r _; do 27 | [ "$v" ] || v='abcdefg' 28 | inner=$inner1 draw "$(targets focused)" 29 | inner=$inner2 draw "$(targets normal)" 30 | done 31 | 32 | -------------------------------------------------------------------------------- /hord/bspwm/bin/themechanger.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | selected=$(echo "Hord 4 | Lotus 5 | Catppuccin 6 | Mountain" | rofi -dmenu -theme ~/.config/bspwm/rofi/themes/launcher.rasi) 7 | 8 | echo "$selected" 9 | 10 | if [ "$selected" = "Hord" ] 11 | then 12 | fastshard hord 13 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/hord/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 14 | bspc wm -r 15 | exit 16 | fi 17 | if [ "$selected" = "Lotus" ] 18 | then 19 | fastshard lotus 20 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/lotus/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 21 | bspc wm -r 22 | exit 23 | fi 24 | if [ "$selected" = "Catppuccin" ] 25 | then 26 | fastshard catppuccin 27 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/cappuccin/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 28 | bspc wm -r 29 | exit 30 | fi 31 | if [ "$selected" = "Mountain" ] 32 | then 33 | fastshard mountain 34 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/mountain/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 35 | bspc wm -r 36 | exit 37 | fi 38 | -------------------------------------------------------------------------------- /hord/bspwm/bspwmrc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | pgrep -x sxhkd > /dev/null || sxhkd & 4 | killall -9 sxhkd ksuperkey 5 | killall -q picom 6 | killall -9 dunst 7 | killall -9 bspborder 8 | 9 | bspc monitor -d I II III IV V VI VII VIII IX X 10 | 11 | #bspc config border_width 0 12 | bspc config window_gap 15 13 | bspc config split_ratio 0.50 14 | bspc config borderless_monocle true 15 | bspc config gapless_monocle true 16 | bspc config pointer_follows_focus false 17 | bspc config focus_follows_pointer true 18 | bspc rule -a Kupfer.py focus=on 19 | bspc rule -a Screenkey manage=off 20 | bspc rule -a Thunar state=tiled 21 | bspc config focused_border_color "#22292B" 22 | bspc config normal_border_color "#22292B" 23 | bspc config active_border_color "#22292B" 24 | ksuperkey -e 'Super_L=Alt_L|F1' & 25 | ksuperkey -e 'Super_R=Alt_L|F1' & 26 | 27 | xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 28 | 29 | ~/.config/bspwm/bar/launch.sh & 30 | /usr/bin/dunst & 31 | xsetroot -cursor_name left_ptr & 32 | 33 | ~/.config/bspwm/bin/bspborder & 34 | feh --bg-scale --zoom fill ~/.config/fastshard/hord/wallpapers/wall.jpg 35 | sleep 5s 36 | xdo lower -N "Polybar" 37 | xdo above -N "Polybar" -t $(xdo id -N Bspwm -n root) 38 | sxhkd & 39 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/bin/confirm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | rofi -dmenu\ 7 | -i\ 8 | -no-fixed-num-lines\ 9 | -p "Are You Sure? : "\ 10 | -theme ~/.config/bspwm/rofi/themes/confirm.rasi -------------------------------------------------------------------------------- /hord/bspwm/rofi/bin/launcher: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi \ 9 | -show drun \ 10 | -modi run,drun,ssh \ 11 | -no-lazy-grab \ 12 | -scroll-method 0 \ 13 | -drun-match-fields all \ 14 | -drun-display-format "{name}" \ 15 | -no-drun-show-actions \ 16 | -terminal alacritty \ 17 | -kb-cancel Alt-F1 \ 18 | -theme "$DIR"/rofi/themes/launcher.rasi -------------------------------------------------------------------------------- /hord/bspwm/rofi/bin/powermenu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi_command="rofi -theme $DIR/rofi/themes/powermenu.rasi" 9 | 10 | uptime=$(uptime -p | sed -e 's/up //g') 11 | 12 | # Options 13 | shutdown="" 14 | reboot="" 15 | lock="" 16 | suspend="" 17 | logout="" 18 | 19 | # Variable passed to rofi 20 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 21 | _msg="Options - yes / y / no / n" 22 | 23 | chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" 24 | case $chosen in 25 | $shutdown) 26 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 27 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 28 | systemctl poweroff 29 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 30 | exit 31 | else 32 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 33 | fi 34 | ;; 35 | $reboot) 36 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 37 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 38 | systemctl reboot 39 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 40 | exit 41 | else 42 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 43 | fi 44 | ;; 45 | $lock) 46 | betterlockscreen --lock 47 | ;; 48 | $suspend) 49 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 50 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 51 | mpc -q pause 52 | amixer set Master mute 53 | betterlockscreen --suspend 54 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 55 | exit 56 | else 57 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 58 | fi 59 | ;; 60 | $logout) 61 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 62 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 63 | bspc quit 64 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 65 | exit 66 | else 67 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 68 | fi 69 | ;; 70 | esac 71 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/bin/screenshot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | rofi_command="rofi -theme $DIR/rofi/themes/screenshot.rasi" 8 | 9 | time=`date +%Y-%m-%d-%H-%M-%S` 10 | geometry=`xrandr | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` 11 | dir="`xdg-user-dir PICTURES`/Screenshots" 12 | file="Screenshot_${time}_${geometry}.png" 13 | 14 | # Buttons 15 | screen="" 16 | area="" 17 | window="" 18 | infive="" 19 | inten="" 20 | 21 | # notify and view screenshot 22 | notify_view () { 23 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Copied to clipboard." 24 | viewnior ${dir}/"$file" 25 | if [[ -e "$dir/$file" ]]; then 26 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Saved." 27 | else 28 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Deleted." 29 | fi 30 | } 31 | 32 | # countdown 33 | countdown () { 34 | for sec in `seq $1 -1 1`; do 35 | dunstify -t 1000 --replace=699 -i /usr/share/archcraft/icons/dunst/timer.png "Taking shot in : $sec" 36 | sleep 1 37 | done 38 | } 39 | 40 | # take shots 41 | shotnow () { 42 | cd ${dir} && sleep 0.5 && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 43 | notify_view 44 | } 45 | 46 | shot5 () { 47 | countdown '5' 48 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 49 | notify_view 50 | } 51 | 52 | shot10 () { 53 | countdown '10' 54 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 55 | notify_view 56 | } 57 | 58 | shotwin () { 59 | cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | tee "$file" | xclip -selection clipboard -t image/png 60 | notify_view 61 | } 62 | 63 | shotarea () { 64 | cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | tee "$file" | xclip -selection clipboard -t image/png 65 | notify_view 66 | } 67 | 68 | if [[ ! -d "$dir" ]]; then 69 | mkdir -p "$dir" 70 | fi 71 | 72 | # Variable passed to rofi 73 | options="$screen\n$area\n$window\n$infive\n$inten" 74 | 75 | chosen="$(echo -e "$options" | $rofi_command -p 'Take Screenshot' -dmenu -selected-row 0)" 76 | case $chosen in 77 | $screen) 78 | shotnow 79 | ;; 80 | $area) 81 | shotarea 82 | ;; 83 | $window) 84 | shotwin 85 | ;; 86 | $infive) 87 | shot5 88 | ;; 89 | $inten) 90 | shot10 91 | ;; 92 | esac 93 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/askpass.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | 3 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 4 | 5 | @import "new_colors.rasi" 6 | 7 | * { 8 | background-color: @background; 9 | text-color: @foreground; 10 | font: "JetBrains Mono Nerd Font Medium 10"; 11 | } 12 | 13 | window { 14 | width: 300px; 15 | padding: 25px; 16 | border: 1px; 17 | border-radius: 0px; 18 | border-color: @brdr; 19 | location: center; 20 | x-offset: 0; 21 | y-offset: -4%; 22 | } 23 | 24 | entry { 25 | expand: true; 26 | width: 150px; 27 | text-color: @selected; 28 | } 29 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | @import "new_colors.rasi" 5 | 6 | * { 7 | background-color: @background; 8 | text-color: @foreground; 9 | font: "JetBrains Mono Nerd Font 10"; 10 | } 11 | 12 | window { 13 | width: 230px; 14 | padding: 25px; 15 | border: 1px; 16 | border-radius: 0px; 17 | border-color: @brdr; 18 | location: center; 19 | x-offset: 0; 20 | y-offset: -4%; 21 | } 22 | 23 | entry { 24 | expand: true; 25 | width: 150px; 26 | text-color: @selected; 27 | } 28 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/networkmenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 400px; 23 | height: 420px; 24 | location: center; 25 | anchor: center; 26 | x-offset: 0; 27 | y-offset: 0; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 8px; 33 | padding: 6px 0px 6px 0px; 34 | background-color: @background; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @selected; 38 | border-radius: 0px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: "直"; 44 | border-radius: 8px; 45 | background-color: @background-alt; 46 | text-color: @foreground; 47 | padding: 6px 10px 6px 10px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | placeholder: ""; 56 | expand: true; 57 | horizontal-align: 0; 58 | blink: false; 59 | padding: 6px; 60 | } 61 | 62 | inputbar { 63 | children: [ textbox-prompt-colon, prompt, entry ]; 64 | spacing: 0; 65 | background-color: @background; 66 | text-color: @foreground; 67 | border: 0px; 68 | border-radius: 0px; 69 | border-color: @selected; 70 | expand: false; 71 | margin: 0px 0px 0px 0px; 72 | padding: 0px; 73 | position: center; 74 | } 75 | 76 | case-indicator { 77 | background-color: @background; 78 | text-color: @foreground; 79 | spacing: 0; 80 | } 81 | 82 | 83 | listview { 84 | background-color: @background; 85 | columns: 1; 86 | lines: 8; 87 | spacing: 4px; 88 | cycle: true; 89 | dynamic: true; 90 | layout: vertical; 91 | } 92 | 93 | mainbox { 94 | background-color: @background; 95 | children: [ inputbar, listview ]; 96 | spacing: 10px; 97 | padding: 20px; 98 | } 99 | 100 | element { 101 | background-color: @background; 102 | text-color: @foreground; 103 | orientation: horizontal; 104 | border-radius: 0px; 105 | padding: 6px; 106 | } 107 | 108 | element-icon { 109 | background-color: inherit; 110 | text-color: inherit; 111 | horizontal-align: 0.5; 112 | vertical-align: 0.5; 113 | size: 0px; 114 | border: 0px; 115 | } 116 | 117 | element-text { 118 | background-color: inherit; 119 | text-color: inherit; 120 | expand: true; 121 | horizontal-align: 0; 122 | vertical-align: 0.5; 123 | margin: 2px 0px 2px 2px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | } 140 | 141 | element.selected.urgent { 142 | border-color: @selected; 143 | } 144 | 145 | element.urgent, 146 | element.selected.active { 147 | background-color: @off; 148 | text-color: @background; 149 | border-color: @off; 150 | } 151 | 152 | element.selected.active { 153 | border-color: @selected; 154 | } 155 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/networkmenu_config.ini: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | [dmenu] 5 | dmenu_command = rofi -dmenu -theme ~/.config/herbstluftwm/rofi/themes/networkmenu.rasi 6 | # # Note that dmenu_command can contain arguments as well like `rofi -width 30` 7 | # # Rofi and dmenu are set to case insensitive by default `-i` 8 | # l = number of lines to display, defaults to number of total network options 9 | # fn = font string 10 | # nb = normal background (name, #RGB, or #RRGGBB) 11 | # nf = normal foreground 12 | # sb = selected background 13 | # sf = selected foreground 14 | # b = (just set to empty value and menu will appear at the bottom 15 | # m = number of monitor to display on 16 | # p = Custom Prompt for the networks menu 17 | # pinentry = Pinentry command 18 | # rofi_highlight = # (Default: False) use rofi highlighting instead of '**' 19 | 20 | # # override normal foreground and background colors (dmenu) or use the 21 | # # -password option (rofi) to obscure passphrase entry 22 | # [dmenu_passphrase] 23 | # nf = #222222 24 | # nb = #222222 25 | # rofi_obscure = True 26 | 27 | [editor] 28 | terminal = alacritty 29 | gui_if_available = True 30 | # terminal = 31 | # gui_if_available = 32 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/new_colors.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | * { 5 | background: #12161b; 6 | background-alt: #1c2026; 7 | brdr: #1c2026; 8 | foreground: #b7b5b8; 9 | foresel: #b7b5b8; 10 | selected: #1c2026; 11 | urgent: #E06C75; 12 | on: #87A181; 13 | off: #D88B9F; 14 | } 15 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/powermenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | show-icons: false; 6 | display-drun: ""; 7 | drun-display-format: "{name}"; 8 | disable-history: false; 9 | click-to-exit: true; 10 | location: 4; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | /* Line Responsible For Button Layouts */ 16 | /* BUTTON = TRUE */ 17 | 18 | window { 19 | transparency: "real"; 20 | background-color: @background; 21 | text-color: @foreground; 22 | border: 1px; 23 | border-color: @brdr; 24 | border-radius: 0px; 25 | width: 88px; 26 | x-offset: -20px; 27 | y-offset: 0px; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 0px; 33 | padding: 8px; 34 | background-color: @background-alt; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @background; 38 | border-radius: 10px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: ""; 44 | border-radius: 0px; 45 | background-color: @selected; 46 | text-color: @background; 47 | padding: 8px 12px 8px 12px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background-alt; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | expand: true; 56 | horizontal-align: 0; 57 | placeholder: "Search..."; 58 | blink: true; 59 | border: 0px 0px 0px 0px; 60 | border-color: @background; 61 | border-radius: 0px; 62 | padding: 8px; 63 | } 64 | 65 | inputbar { 66 | children: [ textbox-prompt-colon, prompt ]; 67 | background-color: @background-alt; 68 | text-color: @foreground; 69 | expand: false; 70 | border: 0px 0px 0px 0px; 71 | border-radius: 0px; 72 | border-color: @background; 73 | margin: 0px 0px 0px 0px; 74 | padding: 0px; 75 | position: center; 76 | } 77 | 78 | case-indicator { 79 | background-color: @background; 80 | text-color: @foreground; 81 | spacing: 0; 82 | } 83 | 84 | 85 | listview { 86 | background-color: @background; 87 | columns: 1; 88 | lines: 5; 89 | spacing: 10px; 90 | cycle: false; 91 | dynamic: true; 92 | layout: vertical; 93 | } 94 | 95 | mainbox { 96 | background-color: @background; 97 | children: [ listview ]; 98 | spacing: 15px; 99 | padding: 15px; 100 | } 101 | 102 | element { 103 | background-color: @background; 104 | text-color: @foreground; 105 | orientation: horizontal; 106 | border-radius: 0px; 107 | padding: 12.5px 5px 10px 5px; 108 | } 109 | 110 | element-icon { 111 | background-color: inherit; 112 | text-color: inherit; 113 | horizontal-align: 0.5; 114 | vertical-align: 0.5; 115 | size: 0px; 116 | border: 0px; 117 | } 118 | 119 | element-text { 120 | background-color: inherit; 121 | text-color: inherit; 122 | font: "feather 14"; 123 | expand: true; 124 | horizontal-align: 0.5; 125 | vertical-align: 0.5; 126 | margin: 0px; 127 | } 128 | 129 | element selected { 130 | background-color: @selected; 131 | text-color: @foreground; 132 | border: 0px 0px 0px 0px; 133 | border-radius: 10px; 134 | border-color: @background; 135 | } 136 | 137 | element.active, 138 | element.selected.urgent { 139 | background-color: @on; 140 | text-color: @background; 141 | border-color: @on; 142 | } 143 | 144 | element.selected.urgent { 145 | border-color: @background; 146 | } 147 | 148 | element.urgent, 149 | element.selected.active { 150 | background-color: @off; 151 | text-color: @background; 152 | border-color: @off; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @background; 157 | } 158 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/screenshot.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 380px; 23 | location: center; 24 | anchor: center; 25 | x-offset: 0; 26 | y-offset: 0; 27 | } 28 | 29 | prompt { 30 | enabled: true; 31 | margin: 0px 0px 0px 8px; 32 | padding: 6px 0px 6px 0px; 33 | background-color: @background; 34 | text-color: @foreground; 35 | border: 0px 0px 0px 0px; 36 | border-color: @selected; 37 | border-radius: 0px; 38 | } 39 | 40 | textbox-prompt-colon { 41 | expand: false; 42 | str: ""; 43 | border-radius: 8px; 44 | background-color: @background-alt; 45 | text-color: @foreground; 46 | padding: 6px 10px 6px 10px; 47 | font: "Iosevka Nerd Font 10"; 48 | } 49 | 50 | entry { 51 | background-color: @background; 52 | text-color: @background; 53 | placeholder-color: @background; 54 | placeholder: ""; 55 | expand: true; 56 | horizontal-align: 0; 57 | blink: false; 58 | padding: 6px; 59 | } 60 | 61 | inputbar { 62 | children: [ textbox-prompt-colon, prompt ]; 63 | spacing: 0; 64 | background-color: @background; 65 | text-color: @foreground; 66 | border: 0px; 67 | border-radius: 0px; 68 | border-color: @selected; 69 | expand: false; 70 | margin: 0px 0px 0px 0px; 71 | padding: 0px; 72 | position: center; 73 | } 74 | 75 | case-indicator { 76 | background-color: @background; 77 | text-color: @foreground; 78 | spacing: 0; 79 | } 80 | 81 | 82 | listview { 83 | background-color: @background; 84 | columns: 6; 85 | lines: 1; 86 | spacing: 10px; 87 | cycle: true; 88 | dynamic: true; 89 | layout: vertical; 90 | } 91 | 92 | mainbox { 93 | background-color: @background; 94 | children: [ inputbar, listview ]; 95 | spacing: 10px; 96 | padding: 20px; 97 | } 98 | 99 | element { 100 | background-color: @background; 101 | text-color: @foreground; 102 | orientation: horizontal; 103 | border-radius: 8px; 104 | padding: 14px; 105 | } 106 | 107 | element-icon { 108 | background-color: inherit; 109 | text-color: inherit; 110 | horizontal-align: 0.5; 111 | vertical-align: 0.5; 112 | size: 0px; 113 | border: 0px; 114 | } 115 | 116 | element-text { 117 | background-color: inherit; 118 | text-color: inherit; 119 | font: "feather 16"; 120 | expand: true; 121 | horizontal-align: 0.5; 122 | vertical-align: 0.5; 123 | margin: 0px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | border-radius: 8px; 140 | } 141 | 142 | element.selected.urgent { 143 | border-color: @selected; 144 | } 145 | 146 | element.urgent, 147 | element.selected.active { 148 | background-color: @off; 149 | text-color: @background; 150 | border-color: @off; 151 | border-radius: 8px; 152 | } 153 | 154 | element.selected.active { 155 | border-color: @selected; 156 | } 157 | -------------------------------------------------------------------------------- /hord/bspwm/rofi/themes/window.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Medium 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | display-window: "Windows :"; 10 | window-format: " {w} · {c} · {t}"; 11 | disable-history: false; 12 | click-to-exit: true; 13 | } 14 | 15 | @import "new_colors.rasi" 16 | 17 | window { 18 | transparency: "real"; 19 | background-color: @background; 20 | text-color: @foreground; 21 | border: 0px; 22 | border-color: @selected; 23 | border-radius: 0px; 24 | width: 450px; 25 | location: center; 26 | anchor: center; 27 | x-offset: 0; 28 | y-offset: 0; 29 | } 30 | 31 | prompt { 32 | enabled: true; 33 | margin: 0px 0px 0px 8px; 34 | padding: 6px 0px 6px 0px; 35 | background-color: @background; 36 | text-color: @foreground; 37 | border: 0px 0px 0px 0px; 38 | border-color: @selected; 39 | border-radius: 0px; 40 | } 41 | 42 | textbox-prompt-colon { 43 | expand: false; 44 | str: ""; 45 | border-radius: 8px; 46 | background-color: @background-alt; 47 | text-color: @foreground; 48 | padding: 6px 10px 6px 10px; 49 | font: "Iosevka Nerd Font 10"; 50 | } 51 | 52 | entry { 53 | background-color: @background; 54 | text-color: @background; 55 | placeholder-color: @background; 56 | placeholder: ""; 57 | expand: true; 58 | horizontal-align: 0; 59 | blink: false; 60 | padding: 6px; 61 | } 62 | 63 | inputbar { 64 | children: [ textbox-prompt-colon, prompt ]; 65 | spacing: 0; 66 | background-color: @background; 67 | text-color: @foreground; 68 | border: 0px; 69 | border-radius: 0px; 70 | border-color: @selected; 71 | expand: false; 72 | margin: 0px 0px 0px 0px; 73 | padding: 0px; 74 | position: center; 75 | } 76 | 77 | case-indicator { 78 | background-color: @background; 79 | text-color: @foreground; 80 | spacing: 0; 81 | } 82 | 83 | 84 | listview { 85 | background-color: @background; 86 | columns: 1; 87 | lines: 6; 88 | spacing: 4px; 89 | cycle: true; 90 | dynamic: true; 91 | layout: vertical; 92 | } 93 | 94 | mainbox { 95 | background-color: @background; 96 | children: [ inputbar, listview ]; 97 | spacing: 10px; 98 | padding: 20px; 99 | } 100 | 101 | element { 102 | background-color: @background; 103 | text-color: @foreground; 104 | orientation: horizontal; 105 | border-radius: 0px; 106 | padding: 5px; 107 | } 108 | 109 | element-icon { 110 | background-color: inherit; 111 | text-color: inherit; 112 | horizontal-align: 0.5; 113 | vertical-align: 0.5; 114 | size: 0px; 115 | border: 0px; 116 | } 117 | 118 | element-text { 119 | background-color: inherit; 120 | text-color: inherit; 121 | expand: true; 122 | horizontal-align: 0; 123 | vertical-align: 0.5; 124 | margin: 2px 0px 2px 2px; 125 | } 126 | 127 | element selected { 128 | background-color: @selected; 129 | text-color: @foreground; 130 | border: 0px; 131 | border-radius: 8px; 132 | border-color: @selected; 133 | } 134 | 135 | element.active, 136 | element.selected.urgent { 137 | background-color: @on; 138 | text-color: @background; 139 | border-color: @on; 140 | border-radius: 10px; 141 | } 142 | 143 | element.selected.urgent { 144 | border-color: @selected; 145 | } 146 | 147 | element.urgent, 148 | element.selected.active { 149 | background-color: @off; 150 | text-color: @background; 151 | border-color: @off; 152 | border-radius: 10px; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @selected; 157 | } 158 | -------------------------------------------------------------------------------- /hord/dunst/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | monitor = 0 3 | follow = mouse 4 | geometry = "547x50-10+50" 5 | indicate_hidden = yes 6 | shrink = no 7 | separator_height = 4 8 | separator_color = auto 9 | padding = 15 10 | horizontal_padding = 15 11 | frame_width = 7 12 | sort = no 13 | idle_threshold = 120 14 | font = JetBrains Mono 10 15 | line_height = 4 16 | markup = full 17 | format = %s\n%b 18 | alignment = left 19 | show_age_threshold = 60 20 | word_wrap = yes 21 | ignore_newline = no 22 | stack_duplicates = false 23 | hide_duplicate_count = yes 24 | show_indicators = no 25 | icon_position = left 26 | max_icon_size = 48 27 | sticky_history = yes 28 | history_length = 1000 29 | browser = x-www-browser -new-tab 30 | always_run_script = true 31 | title = Dunst 32 | class = Dunst 33 | 34 | [shortcuts] 35 | close = ctrl+shift+space 36 | close_all = ctrl+shift+space 37 | history = ctrl+grave 38 | context = ctrl+shift+period 39 | 40 | [urgency_low] 41 | timeout = 2 42 | background = "#12161b" 43 | foreground = "#b7b5b8" 44 | frame_color = "#1c2026" 45 | 46 | [urgency_normal] 47 | timeout = 5 48 | background = "#12161b" 49 | foreground = "#b7b5b8" 50 | frame_color = "#1c2026" 51 | 52 | [urgency_critical] 53 | timeout = 0 54 | background = "#12161b" 55 | foreground = "#b7b5b8" 56 | frame_color = "#1c2026" 57 | 9 58 | -------------------------------------------------------------------------------- /hord/wallpapers/wall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastShard/Themes/007b9715c1697e85799a8311e428089d9f99ec2b/hord/wallpapers/wall.jpg -------------------------------------------------------------------------------- /hord/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | set adjust-open "best-fit" 2 | set pages-per-row 1 3 | set scroll-page-aware "true" 4 | set smooth-scroll "true" 5 | set scroll-full-overlap 0.01 6 | set scroll-step 100 7 | set zoom-min 10 8 | set guioptions "" 9 | set font "inconsolata 15" 10 | set default-bg "#12161b" 11 | set default-fg "#F7F7F6" 12 | set statusbar-fg "#B0B0B0" 13 | set statusbar-bg "#202020" 14 | set inputbar-bg "#151515" 15 | set inputbar-fg "#b7b5b8" 16 | set notification-error-bg "#AC4142" 17 | set notification-error-fg "#151515" 18 | set notification-warning-bg "#AC4142" 19 | set notification-warning-fg "#151515" 20 | set highlight-color "#F4BF75" 21 | set highlight-active-color "#6A9FB5" 22 | set completion-highlight-fg "#151515" 23 | set completion-highlight-bg "#90A959" 24 | set completion-bg "#303030" 25 | set completion-fg "#b7b5b8" 26 | set notification-bg "#90A959" 27 | set notification-fg "#151515" 28 | set recolor "true" 29 | set recolor-lightcolor "#12161b" 30 | set recolor-darkcolor "#b7b5b8" 31 | set recolor-reverse-video "true" 32 | set recolor-keephue "true" 33 | set render-loading "false" 34 | set scroll-step 50 35 | unmap f 36 | map f toggle_fullscreen 37 | map [fullscreen] f toggle_fullscreen -------------------------------------------------------------------------------- /lotus/bspwm/alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | ## Import files (Colors, Fonts, Etc) 2 | import: 3 | - ~/.config/bspwm/alacritty/colors.yml 4 | - ~/.config/bspwm/alacritty/fonts.yml 5 | 6 | ## Set environment variables 7 | #env: 8 | # TERM: alacritty 9 | # WINIT_X11_SCALE_FACTOR: '1.0' 10 | 11 | ## Terminal window settings 12 | window: 13 | dimensions: 14 | columns: 82 15 | lines: 25 16 | 17 | padding: 18 | x: 30 19 | y: 25 20 | 21 | decorations: full 22 | startup_mode: Windowed 23 | dynamic_title: true 24 | 25 | ## scrolling 26 | history: 10000 27 | multiplier: 3 28 | 29 | ## Background opacity 30 | opacity: 1.0 31 | 32 | ## Cursor 33 | cursor: 34 | style: 35 | shape: Beam 36 | blinking: On 37 | 38 | unfocused_hollow: false 39 | 40 | ## Live config reload 41 | live_config_reload: true 42 | #key_bindings: 43 | -------------------------------------------------------------------------------- /lotus/bspwm/alacritty/colors.yml: -------------------------------------------------------------------------------- 1 | colors: 2 | # Default colors 3 | primary: 4 | background: '#121a1e' 5 | foreground: '#d4d5d8' 6 | 7 | # Normal colors 8 | bright: 9 | black: '#121a1e' 10 | red: '#919491' 11 | green: '#A2A29B' 12 | yellow: '#969BA5' 13 | blue: '#9DA2AA' 14 | magenta: '#AFB2B8' 15 | cyan: '#C0C0BE' 16 | white: '#d4d5d8' 17 | 18 | # Bright colors 19 | normal: 20 | black: '#949597' 21 | red: '#919491' 22 | green: '#A2A29B' 23 | yellow: '#969BA5' 24 | blue: '#9DA2AA' 25 | magenta: '#AFB2B8' 26 | cyan: '#C0C0BE' 27 | white: '#d4d5d8' 28 | -------------------------------------------------------------------------------- /lotus/bspwm/alacritty/fonts.yml: -------------------------------------------------------------------------------- 1 | # Font configuration 2 | font: 3 | # Normal (roman) font face 4 | normal: 5 | family: "JetBrainsMono Nerd Font" 6 | #style: Regular 7 | 8 | # Bold font face 9 | bold: 10 | family: "JetBrainsMono Nerd Font" 11 | #style: Bold 12 | 13 | # Italic font face 14 | italic: 15 | family: "JetBrainsMono Nerd Font" 16 | #style: Italic 17 | 18 | # Bold italic font face 19 | bold_italic: 20 | family: "JetBrainsMono Nerd Font" 21 | #style: Bold Italic 22 | 23 | # Point size 24 | size: 8.5 25 | 26 | # Offset 27 | #offset: 28 | # x: 0 29 | # y: 0 30 | 31 | # Glyph offset 32 | #glyph_offset: 33 | # x: 0 34 | # y: 0 35 | -------------------------------------------------------------------------------- /lotus/bspwm/bar/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm/bar" 4 | 5 | killall -q polybar 6 | #while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 7 | 8 | # launch the bars 9 | # polybar -q border-menu -c "$DIR"/config.ini & 10 | polybar -q border-center -c "$DIR"/config.ini & 11 | polybar -q border-left -c "$DIR"/config.ini & 12 | polybar -q border-right -c "$DIR"/config.ini & 13 | # polybar -q border-power -c "$DIR"/config.ini & 14 | sleep 3s 15 | # polybar -q bar-menu -c "$DIR"/config.ini & 16 | polybar -q bar-left -c "$DIR"/config.ini & 17 | polybar -q bar-center -c "$DIR"/config.ini & 18 | polybar -q bar-right -c "$DIR"/config.ini & 19 | # polybar -q bar-power -c "$DIR"/config.ini & 20 | -------------------------------------------------------------------------------- /lotus/bspwm/bin/bspborder: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Enable double borders 3 | # Dependencies: chwb2 from wmutils/opt 4 | # 5 | # Yes, this is stolen from gk. 6 | 7 | outer='0x121a1e' # outer 8 | inner1='0x1d272b' # focused 9 | inner2='0x1d272b' # normal 10 | 11 | trap 'bspc config border_width 0; kill -9 -$$' INT TERM 12 | 13 | targets() { 14 | case $1 in 15 | focused) bspc query -N -n .local.focused.\!fullscreen;; 16 | normal) bspc query -N -n .local.\!focused.\!fullscreen 17 | esac | grep -iv "$v" 18 | } 19 | 20 | bspc config border_width 14 21 | 22 | draw() { chwb2 -I "$inner" -O "$outer" -i "8" -o "4" $* |:; } 23 | 24 | #initial draw, and then subscribe to events 25 | { echo; bspc subscribe node_geometry node_focus; } | 26 | while read -r _; do 27 | [ "$v" ] || v='abcdefg' 28 | inner=$inner1 draw "$(targets focused)" 29 | inner=$inner2 draw "$(targets normal)" 30 | done 31 | 32 | -------------------------------------------------------------------------------- /lotus/bspwm/bin/themechanger.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | selected=$(echo "Hord 4 | Lotus 5 | Catppuccin 6 | Mountain" | rofi -dmenu -theme ~/.config/bspwm/rofi/themes/launcher.rasi) 7 | 8 | echo "$selected" 9 | 10 | if [ "$selected" = "Hord" ] 11 | then 12 | fastshard hord 13 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/hord/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 14 | bspc wm -r 15 | exit 16 | fi 17 | if [ "$selected" = "Lotus" ] 18 | then 19 | fastshard lotus 20 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/lotus/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 21 | bspc wm -r 22 | exit 23 | fi 24 | if [ "$selected" = "Catppuccin" ] 25 | then 26 | fastshard catppuccin 27 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/cappuccin/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 28 | bspc wm -r 29 | exit 30 | fi 31 | if [ "$selected" = "Mountain" ] 32 | then 33 | fastshard mountain 34 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/mountain/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 35 | bspc wm -r 36 | exit 37 | fi 38 | -------------------------------------------------------------------------------- /lotus/bspwm/bspwmrc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | pgrep -x sxhkd > /dev/null || sxhkd & 4 | killall -9 sxhkd ksuperkey 5 | killall -q picom 6 | killall -9 dunst 7 | killall -9 bspborder 8 | 9 | bspc monitor -d I II III IV V VI VII VIII IX X 10 | 11 | #bspc config border_width 0 12 | bspc config window_gap 15 13 | bspc config split_ratio 0.50 14 | bspc config borderless_monocle true 15 | bspc config gapless_monocle true 16 | bspc config pointer_follows_focus false 17 | bspc config focus_follows_pointer true 18 | bspc rule -a Kupfer.py focus=on 19 | bspc rule -a Screenkey manage=off 20 | bspc rule -a Thunar state=tiled 21 | bspc config focused_border_color "#22292B" 22 | bspc config normal_border_color "#22292B" 23 | bspc config active_border_color "#22292B" 24 | ksuperkey -e 'Super_L=Alt_L|F1' & 25 | ksuperkey -e 'Super_R=Alt_L|F1' & 26 | 27 | xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 28 | 29 | ~/.config/bspwm/bar/launch.sh & 30 | /usr/bin/dunst & 31 | xsetroot -cursor_name left_ptr & 32 | 33 | ~/.config/bspwm/bin/bspborder & 34 | feh --bg-scale --zoom fill ~/.config/fastshard/lotus/wallpapers/wall.jpg 35 | sleep 5s 36 | xdo lower -N "Polybar" 37 | xdo above -N "Polybar" -t $(xdo id -N Bspwm -n root) 38 | sxhkd & 39 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/bin/confirm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | rofi -dmenu\ 4 | -i\ 5 | -no-fixed-num-lines\ 6 | -p "Are You Sure? : "\ 7 | -theme ~/.config/bspwm/rofi/themes/confirm.rasi 8 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/bin/launcher: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm" 4 | 5 | rofi \ 6 | -show drun \ 7 | -modi run,drun,ssh \ 8 | -no-lazy-grab \ 9 | -scroll-method 0 \ 10 | -drun-match-fields all \ 11 | -drun-display-format "{name}" \ 12 | -no-drun-show-actions \ 13 | -terminal alacritty \ 14 | -kb-cancel Alt-F1 \ 15 | -theme "$DIR"/rofi/themes/launcher.rasi 16 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/bin/powermenu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm" 4 | 5 | rofi_command="rofi -theme $DIR/rofi/themes/powermenu.rasi" 6 | 7 | uptime=$(uptime -p | sed -e 's/up //g') 8 | 9 | # Options 10 | shutdown="" 11 | reboot="" 12 | lock="" 13 | suspend="" 14 | logout="" 15 | 16 | # Variable passed to rofi 17 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 18 | _msg="Options - yes / y / no / n" 19 | 20 | chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" 21 | case $chosen in 22 | $shutdown) 23 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 24 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 25 | systemctl poweroff 26 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 27 | exit 28 | else 29 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 30 | fi 31 | ;; 32 | $reboot) 33 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 34 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 35 | systemctl reboot 36 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 37 | exit 38 | else 39 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 40 | fi 41 | ;; 42 | $lock) 43 | betterlockscreen --lock 44 | ;; 45 | $suspend) 46 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 47 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 48 | mpc -q pause 49 | amixer set Master mute 50 | betterlockscreen --suspend 51 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 52 | exit 53 | else 54 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 55 | fi 56 | ;; 57 | $logout) 58 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 59 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 60 | bspc quit 61 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 62 | exit 63 | else 64 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 65 | fi 66 | ;; 67 | esac 68 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/bin/screenshot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm" 4 | rofi_command="rofi -theme $DIR/rofi/themes/screenshot.rasi" 5 | 6 | time=`date +%Y-%m-%d-%H-%M-%S` 7 | geometry=`xrandr | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` 8 | dir="`xdg-user-dir PICTURES`/Screenshots" 9 | file="Screenshot_${time}_${geometry}.png" 10 | 11 | # Buttons 12 | screen="" 13 | area="" 14 | window="" 15 | infive="" 16 | inten="" 17 | 18 | # notify and view screenshot 19 | notify_view () { 20 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Copied to clipboard." 21 | viewnior ${dir}/"$file" 22 | if [[ -e "$dir/$file" ]]; then 23 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Saved." 24 | else 25 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Deleted." 26 | fi 27 | } 28 | 29 | # countdown 30 | countdown () { 31 | for sec in `seq $1 -1 1`; do 32 | dunstify -t 1000 --replace=699 -i /usr/share/archcraft/icons/dunst/timer.png "Taking shot in : $sec" 33 | sleep 1 34 | done 35 | } 36 | 37 | # take shots 38 | shotnow () { 39 | cd ${dir} && sleep 0.5 && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 40 | notify_view 41 | } 42 | 43 | shot5 () { 44 | countdown '5' 45 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 46 | notify_view 47 | } 48 | 49 | shot10 () { 50 | countdown '10' 51 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 52 | notify_view 53 | } 54 | 55 | shotwin () { 56 | cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | tee "$file" | xclip -selection clipboard -t image/png 57 | notify_view 58 | } 59 | 60 | shotarea () { 61 | cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | tee "$file" | xclip -selection clipboard -t image/png 62 | notify_view 63 | } 64 | 65 | if [[ ! -d "$dir" ]]; then 66 | mkdir -p "$dir" 67 | fi 68 | 69 | # Variable passed to rofi 70 | options="$screen\n$area\n$window\n$infive\n$inten" 71 | 72 | chosen="$(echo -e "$options" | $rofi_command -p 'Take Screenshot' -dmenu -selected-row 0)" 73 | case $chosen in 74 | $screen) 75 | shotnow 76 | ;; 77 | $area) 78 | shotarea 79 | ;; 80 | $window) 81 | shotwin 82 | ;; 83 | $infive) 84 | shot5 85 | ;; 86 | $inten) 87 | shot10 88 | ;; 89 | esac 90 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/askpass.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | 3 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 4 | 5 | @import "new_colors.rasi" 6 | 7 | * { 8 | background-color: @background; 9 | text-color: @foreground; 10 | font: "JetBrains Mono Nerd Font Medium 10"; 11 | } 12 | 13 | window { 14 | width: 300px; 15 | padding: 25px; 16 | border: 1px; 17 | border-radius: 0px; 18 | border-color: @brdr; 19 | location: center; 20 | x-offset: 0; 21 | y-offset: -4%; 22 | } 23 | 24 | entry { 25 | expand: true; 26 | width: 150px; 27 | text-color: @selected; 28 | } 29 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | @import "new_colors.rasi" 5 | 6 | * { 7 | background-color: @background; 8 | text-color: @foreground; 9 | font: "JetBrains Mono Nerd Font 10"; 10 | } 11 | 12 | window { 13 | width: 230px; 14 | padding: 25px; 15 | border: 1px; 16 | border-radius: 0px; 17 | border-color: @brdr; 18 | location: center; 19 | x-offset: 0; 20 | y-offset: -4%; 21 | } 22 | 23 | entry { 24 | expand: true; 25 | width: 150px; 26 | text-color: @selected; 27 | } 28 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/networkmenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 400px; 23 | height: 420px; 24 | location: center; 25 | anchor: center; 26 | x-offset: 0; 27 | y-offset: 0; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 8px; 33 | padding: 6px 0px 6px 0px; 34 | background-color: @background; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @selected; 38 | border-radius: 0px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: "直"; 44 | border-radius: 8px; 45 | background-color: @background-alt; 46 | text-color: @foreground; 47 | padding: 6px 10px 6px 10px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | placeholder: ""; 56 | expand: true; 57 | horizontal-align: 0; 58 | blink: false; 59 | padding: 6px; 60 | } 61 | 62 | inputbar { 63 | children: [ textbox-prompt-colon, prompt, entry ]; 64 | spacing: 0; 65 | background-color: @background; 66 | text-color: @foreground; 67 | border: 0px; 68 | border-radius: 0px; 69 | border-color: @selected; 70 | expand: false; 71 | margin: 0px 0px 0px 0px; 72 | padding: 0px; 73 | position: center; 74 | } 75 | 76 | case-indicator { 77 | background-color: @background; 78 | text-color: @foreground; 79 | spacing: 0; 80 | } 81 | 82 | 83 | listview { 84 | background-color: @background; 85 | columns: 1; 86 | lines: 8; 87 | spacing: 4px; 88 | cycle: true; 89 | dynamic: true; 90 | layout: vertical; 91 | } 92 | 93 | mainbox { 94 | background-color: @background; 95 | children: [ inputbar, listview ]; 96 | spacing: 10px; 97 | padding: 20px; 98 | } 99 | 100 | element { 101 | background-color: @background; 102 | text-color: @foreground; 103 | orientation: horizontal; 104 | border-radius: 0px; 105 | padding: 6px; 106 | } 107 | 108 | element-icon { 109 | background-color: inherit; 110 | text-color: inherit; 111 | horizontal-align: 0.5; 112 | vertical-align: 0.5; 113 | size: 0px; 114 | border: 0px; 115 | } 116 | 117 | element-text { 118 | background-color: inherit; 119 | text-color: inherit; 120 | expand: true; 121 | horizontal-align: 0; 122 | vertical-align: 0.5; 123 | margin: 2px 0px 2px 2px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | } 140 | 141 | element.selected.urgent { 142 | border-color: @selected; 143 | } 144 | 145 | element.urgent, 146 | element.selected.active { 147 | background-color: @off; 148 | text-color: @background; 149 | border-color: @off; 150 | } 151 | 152 | element.selected.active { 153 | border-color: @selected; 154 | } 155 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/networkmenu_config.ini: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | [dmenu] 5 | dmenu_command = rofi -dmenu -theme ~/.config/herbstluftwm/rofi/themes/networkmenu.rasi 6 | # # Note that dmenu_command can contain arguments as well like `rofi -width 30` 7 | # # Rofi and dmenu are set to case insensitive by default `-i` 8 | # l = number of lines to display, defaults to number of total network options 9 | # fn = font string 10 | # nb = normal background (name, #RGB, or #RRGGBB) 11 | # nf = normal foreground 12 | # sb = selected background 13 | # sf = selected foreground 14 | # b = (just set to empty value and menu will appear at the bottom 15 | # m = number of monitor to display on 16 | # p = Custom Prompt for the networks menu 17 | # pinentry = Pinentry command 18 | # rofi_highlight = # (Default: False) use rofi highlighting instead of '**' 19 | 20 | # # override normal foreground and background colors (dmenu) or use the 21 | # # -password option (rofi) to obscure passphrase entry 22 | # [dmenu_passphrase] 23 | # nf = #222222 24 | # nb = #222222 25 | # rofi_obscure = True 26 | 27 | [editor] 28 | terminal = alacritty 29 | gui_if_available = True 30 | # terminal = 31 | # gui_if_available = 32 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/new_colors.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #121a1e; 3 | background-alt: #1d272b; 4 | brdr: #1d272b; 5 | foreground: #d4d5d8; 6 | foresel: #d4d5d8; 7 | selected: #1d272b; 8 | urgent: #E06C75; 9 | on: #87A181; 10 | off: #D88B9F; 11 | } 12 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/powermenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | show-icons: false; 6 | display-drun: ""; 7 | drun-display-format: "{name}"; 8 | disable-history: false; 9 | click-to-exit: true; 10 | location: 4; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | /* Line Responsible For Button Layouts */ 16 | /* BUTTON = TRUE */ 17 | 18 | window { 19 | transparency: "real"; 20 | background-color: @background; 21 | text-color: @foreground; 22 | border: 1px; 23 | border-color: @brdr; 24 | border-radius: 0px; 25 | width: 88px; 26 | x-offset: -20px; 27 | y-offset: 0px; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 0px; 33 | padding: 8px; 34 | background-color: @background-alt; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @background; 38 | border-radius: 10px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: ""; 44 | border-radius: 0px; 45 | background-color: @selected; 46 | text-color: @background; 47 | padding: 8px 12px 8px 12px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background-alt; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | expand: true; 56 | horizontal-align: 0; 57 | placeholder: "Search..."; 58 | blink: true; 59 | border: 0px 0px 0px 0px; 60 | border-color: @background; 61 | border-radius: 0px; 62 | padding: 8px; 63 | } 64 | 65 | inputbar { 66 | children: [ textbox-prompt-colon, prompt ]; 67 | background-color: @background-alt; 68 | text-color: @foreground; 69 | expand: false; 70 | border: 0px 0px 0px 0px; 71 | border-radius: 0px; 72 | border-color: @background; 73 | margin: 0px 0px 0px 0px; 74 | padding: 0px; 75 | position: center; 76 | } 77 | 78 | case-indicator { 79 | background-color: @background; 80 | text-color: @foreground; 81 | spacing: 0; 82 | } 83 | 84 | 85 | listview { 86 | background-color: @background; 87 | columns: 1; 88 | lines: 5; 89 | spacing: 10px; 90 | cycle: false; 91 | dynamic: true; 92 | layout: vertical; 93 | } 94 | 95 | mainbox { 96 | background-color: @background; 97 | children: [ listview ]; 98 | spacing: 15px; 99 | padding: 15px; 100 | } 101 | 102 | element { 103 | background-color: @background; 104 | text-color: @foreground; 105 | orientation: horizontal; 106 | border-radius: 0px; 107 | padding: 12.5px 5px 10px 5px; 108 | } 109 | 110 | element-icon { 111 | background-color: inherit; 112 | text-color: inherit; 113 | horizontal-align: 0.5; 114 | vertical-align: 0.5; 115 | size: 0px; 116 | border: 0px; 117 | } 118 | 119 | element-text { 120 | background-color: inherit; 121 | text-color: inherit; 122 | font: "feather 14"; 123 | expand: true; 124 | horizontal-align: 0.5; 125 | vertical-align: 0.5; 126 | margin: 0px; 127 | } 128 | 129 | element selected { 130 | background-color: @selected; 131 | text-color: @foreground; 132 | border: 0px 0px 0px 0px; 133 | border-radius: 10px; 134 | border-color: @background; 135 | } 136 | 137 | element.active, 138 | element.selected.urgent { 139 | background-color: @on; 140 | text-color: @background; 141 | border-color: @on; 142 | } 143 | 144 | element.selected.urgent { 145 | border-color: @background; 146 | } 147 | 148 | element.urgent, 149 | element.selected.active { 150 | background-color: @off; 151 | text-color: @background; 152 | border-color: @off; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @background; 157 | } 158 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/screenshot.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 380px; 23 | location: center; 24 | anchor: center; 25 | x-offset: 0; 26 | y-offset: 0; 27 | } 28 | 29 | prompt { 30 | enabled: true; 31 | margin: 0px 0px 0px 8px; 32 | padding: 6px 0px 6px 0px; 33 | background-color: @background; 34 | text-color: @foreground; 35 | border: 0px 0px 0px 0px; 36 | border-color: @selected; 37 | border-radius: 0px; 38 | } 39 | 40 | textbox-prompt-colon { 41 | expand: false; 42 | str: ""; 43 | border-radius: 8px; 44 | background-color: @background-alt; 45 | text-color: @foreground; 46 | padding: 6px 10px 6px 10px; 47 | font: "Iosevka Nerd Font 10"; 48 | } 49 | 50 | entry { 51 | background-color: @background; 52 | text-color: @background; 53 | placeholder-color: @background; 54 | placeholder: ""; 55 | expand: true; 56 | horizontal-align: 0; 57 | blink: false; 58 | padding: 6px; 59 | } 60 | 61 | inputbar { 62 | children: [ textbox-prompt-colon, prompt ]; 63 | spacing: 0; 64 | background-color: @background; 65 | text-color: @foreground; 66 | border: 0px; 67 | border-radius: 0px; 68 | border-color: @selected; 69 | expand: false; 70 | margin: 0px 0px 0px 0px; 71 | padding: 0px; 72 | position: center; 73 | } 74 | 75 | case-indicator { 76 | background-color: @background; 77 | text-color: @foreground; 78 | spacing: 0; 79 | } 80 | 81 | 82 | listview { 83 | background-color: @background; 84 | columns: 6; 85 | lines: 1; 86 | spacing: 10px; 87 | cycle: true; 88 | dynamic: true; 89 | layout: vertical; 90 | } 91 | 92 | mainbox { 93 | background-color: @background; 94 | children: [ inputbar, listview ]; 95 | spacing: 10px; 96 | padding: 20px; 97 | } 98 | 99 | element { 100 | background-color: @background; 101 | text-color: @foreground; 102 | orientation: horizontal; 103 | border-radius: 8px; 104 | padding: 14px; 105 | } 106 | 107 | element-icon { 108 | background-color: inherit; 109 | text-color: inherit; 110 | horizontal-align: 0.5; 111 | vertical-align: 0.5; 112 | size: 0px; 113 | border: 0px; 114 | } 115 | 116 | element-text { 117 | background-color: inherit; 118 | text-color: inherit; 119 | font: "feather 16"; 120 | expand: true; 121 | horizontal-align: 0.5; 122 | vertical-align: 0.5; 123 | margin: 0px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | border-radius: 8px; 140 | } 141 | 142 | element.selected.urgent { 143 | border-color: @selected; 144 | } 145 | 146 | element.urgent, 147 | element.selected.active { 148 | background-color: @off; 149 | text-color: @background; 150 | border-color: @off; 151 | border-radius: 8px; 152 | } 153 | 154 | element.selected.active { 155 | border-color: @selected; 156 | } 157 | -------------------------------------------------------------------------------- /lotus/bspwm/rofi/themes/window.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Medium 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | display-window: "Windows :"; 10 | window-format: " {w} · {c} · {t}"; 11 | disable-history: false; 12 | click-to-exit: true; 13 | } 14 | 15 | @import "new_colors.rasi" 16 | 17 | window { 18 | transparency: "real"; 19 | background-color: @background; 20 | text-color: @foreground; 21 | border: 0px; 22 | border-color: @selected; 23 | border-radius: 0px; 24 | width: 450px; 25 | location: center; 26 | anchor: center; 27 | x-offset: 0; 28 | y-offset: 0; 29 | } 30 | 31 | prompt { 32 | enabled: true; 33 | margin: 0px 0px 0px 8px; 34 | padding: 6px 0px 6px 0px; 35 | background-color: @background; 36 | text-color: @foreground; 37 | border: 0px 0px 0px 0px; 38 | border-color: @selected; 39 | border-radius: 0px; 40 | } 41 | 42 | textbox-prompt-colon { 43 | expand: false; 44 | str: ""; 45 | border-radius: 8px; 46 | background-color: @background-alt; 47 | text-color: @foreground; 48 | padding: 6px 10px 6px 10px; 49 | font: "Iosevka Nerd Font 10"; 50 | } 51 | 52 | entry { 53 | background-color: @background; 54 | text-color: @background; 55 | placeholder-color: @background; 56 | placeholder: ""; 57 | expand: true; 58 | horizontal-align: 0; 59 | blink: false; 60 | padding: 6px; 61 | } 62 | 63 | inputbar { 64 | children: [ textbox-prompt-colon, prompt ]; 65 | spacing: 0; 66 | background-color: @background; 67 | text-color: @foreground; 68 | border: 0px; 69 | border-radius: 0px; 70 | border-color: @selected; 71 | expand: false; 72 | margin: 0px 0px 0px 0px; 73 | padding: 0px; 74 | position: center; 75 | } 76 | 77 | case-indicator { 78 | background-color: @background; 79 | text-color: @foreground; 80 | spacing: 0; 81 | } 82 | 83 | 84 | listview { 85 | background-color: @background; 86 | columns: 1; 87 | lines: 6; 88 | spacing: 4px; 89 | cycle: true; 90 | dynamic: true; 91 | layout: vertical; 92 | } 93 | 94 | mainbox { 95 | background-color: @background; 96 | children: [ inputbar, listview ]; 97 | spacing: 10px; 98 | padding: 20px; 99 | } 100 | 101 | element { 102 | background-color: @background; 103 | text-color: @foreground; 104 | orientation: horizontal; 105 | border-radius: 0px; 106 | padding: 5px; 107 | } 108 | 109 | element-icon { 110 | background-color: inherit; 111 | text-color: inherit; 112 | horizontal-align: 0.5; 113 | vertical-align: 0.5; 114 | size: 0px; 115 | border: 0px; 116 | } 117 | 118 | element-text { 119 | background-color: inherit; 120 | text-color: inherit; 121 | expand: true; 122 | horizontal-align: 0; 123 | vertical-align: 0.5; 124 | margin: 2px 0px 2px 2px; 125 | } 126 | 127 | element selected { 128 | background-color: @selected; 129 | text-color: @foreground; 130 | border: 0px; 131 | border-radius: 8px; 132 | border-color: @selected; 133 | } 134 | 135 | element.active, 136 | element.selected.urgent { 137 | background-color: @on; 138 | text-color: @background; 139 | border-color: @on; 140 | border-radius: 10px; 141 | } 142 | 143 | element.selected.urgent { 144 | border-color: @selected; 145 | } 146 | 147 | element.urgent, 148 | element.selected.active { 149 | background-color: @off; 150 | text-color: @background; 151 | border-color: @off; 152 | border-radius: 10px; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @selected; 157 | } 158 | -------------------------------------------------------------------------------- /lotus/dunst/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | monitor = 0 3 | follow = mouse 4 | geometry = "547x50-10+50" 5 | indicate_hidden = yes 6 | shrink = no 7 | separator_height = 4 8 | separator_color = auto 9 | padding = 15 10 | horizontal_padding = 15 11 | frame_width = 7 12 | sort = no 13 | idle_threshold = 120 14 | font = JetBrains Mono 10 15 | line_height = 4 16 | markup = full 17 | format = %s\n%b 18 | alignment = left 19 | show_age_threshold = 60 20 | word_wrap = yes 21 | ignore_newline = no 22 | stack_duplicates = false 23 | hide_duplicate_count = yes 24 | show_indicators = no 25 | icon_position = left 26 | max_icon_size = 48 27 | sticky_history = yes 28 | history_length = 1000 29 | browser = x-www-browser -new-tab 30 | always_run_script = true 31 | title = Dunst 32 | class = Dunst 33 | 34 | [shortcuts] 35 | close = ctrl+shift+space 36 | close_all = ctrl+shift+space 37 | history = ctrl+grave 38 | context = ctrl+shift+period 39 | 40 | [urgency_low] 41 | timeout = 2 42 | background = "#121a1e" 43 | foreground = "#d4d5d8" 44 | frame_color = "#1c2026" 45 | 46 | [urgency_normal] 47 | timeout = 5 48 | background = "#121a1e" 49 | foreground = "#d4d5d8" 50 | frame_color = "#1c2026" 51 | 52 | [urgency_critical] 53 | timeout = 0 54 | background = "#121a1e" 55 | foreground = "#d4d5d8" 56 | frame_color = "#1c2026" 57 | 9 58 | -------------------------------------------------------------------------------- /lotus/wallpapers/wall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastShard/Themes/007b9715c1697e85799a8311e428089d9f99ec2b/lotus/wallpapers/wall.jpg -------------------------------------------------------------------------------- /lotus/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | set adjust-open "best-fit" 2 | set pages-per-row 1 3 | set scroll-page-aware "true" 4 | set smooth-scroll "true" 5 | set scroll-full-overlap 0.01 6 | set scroll-step 100 7 | set zoom-min 10 8 | set guioptions "" 9 | set font "inconsolata 15" 10 | set default-bg "#121a1e" 11 | set default-fg "#d4d5d8" 12 | set statusbar-fg "#d4d5d8" 13 | set statusbar-bg "#121a1e" 14 | set inputbar-bg "#121a1e" 15 | set inputbar-fg "#d4d5d8" 16 | set notification-error-bg "#AC4142" 17 | set notification-error-fg "#121a1e" 18 | set notification-warning-bg "#AC4142" 19 | set notification-warning-fg "#121a1e" 20 | set highlight-color "#F4BF75" 21 | set highlight-active-color "#6A9FB5" 22 | set completion-highlight-fg "#121a1e" 23 | set completion-highlight-bg "#90A959" 24 | set completion-bg "#121a1e" 25 | set completion-fg "#d4d5d8" 26 | set notification-bg "#90A959" 27 | set notification-fg "#121a1e" 28 | set recolor "true" 29 | set recolor-lightcolor "#121a1e" 30 | set recolor-darkcolor "#d4d5d8" 31 | set recolor-reverse-video "true" 32 | set recolor-keephue "true" 33 | set render-loading "false" 34 | set scroll-step 50 35 | unmap f 36 | map f toggle_fullscreen 37 | map [fullscreen] f toggle_fullscreen 38 | -------------------------------------------------------------------------------- /mountain/bspwm/alacritty/alacritty.yml: -------------------------------------------------------------------------------- 1 | ## Import files (Colors, Fonts, Etc) 2 | import: 3 | - ~/.config/bspwm/alacritty/colors.yml 4 | - ~/.config/bspwm/alacritty/fonts.yml 5 | 6 | ## Set environment variables 7 | #env: 8 | # TERM: alacritty 9 | # WINIT_X11_SCALE_FACTOR: '1.0' 10 | 11 | ## Terminal window settings 12 | window: 13 | dimensions: 14 | columns: 82 15 | lines: 25 16 | 17 | padding: 18 | x: 30 19 | y: 25 20 | 21 | decorations: full 22 | startup_mode: Windowed 23 | dynamic_title: true 24 | 25 | ## scrolling 26 | history: 10000 27 | multiplier: 3 28 | 29 | ## Background opacity 30 | opacity: 1.0 31 | 32 | ## Cursor 33 | cursor: 34 | style: 35 | shape: Beam 36 | blinking: On 37 | 38 | unfocused_hollow: false 39 | 40 | ## Live config reload 41 | live_config_reload: true 42 | #key_bindings: 43 | -------------------------------------------------------------------------------- /mountain/bspwm/alacritty/colors.yml: -------------------------------------------------------------------------------- 1 | colors: 2 | primary: 3 | background: '0x0f0f0f' 4 | foreground: '0xf0f0f0' 5 | 6 | normal: 7 | black: '0x262626' 8 | red: '0xac8a8c' 9 | green: '0x8aac8b' 10 | yellow: '0xaca98a' 11 | blue: '0x8f8aac' 12 | magenta: '0xac8aac' 13 | cyan: '0x8aabac' 14 | white: '0xe7e7e7' 15 | orange: '0xc6a679' #Here for reference 16 | 17 | bright: 18 | black: '0x4c4c4c' 19 | red: '0xc49ea0' 20 | green: '0x9ec49f' 21 | yellow: '0xc4c19e' 22 | blue: '0xa39ec4' 23 | magenta: '0xc49ec4' 24 | cyan: '0x9ec3c4' 25 | white: '0xf5f5f5' 26 | orange: '0xceb188' #Here for referenc 27 | -------------------------------------------------------------------------------- /mountain/bspwm/alacritty/fonts.yml: -------------------------------------------------------------------------------- 1 | # Font configuration 2 | font: 3 | # Normal (roman) font face 4 | normal: 5 | family: "JetBrainsMono Nerd Font" 6 | #style: Regular 7 | 8 | # Bold font face 9 | bold: 10 | family: "JetBrainsMono Nerd Font" 11 | #style: Bold 12 | 13 | # Italic font face 14 | italic: 15 | family: "JetBrainsMono Nerd Font" 16 | #style: Italic 17 | 18 | # Bold italic font face 19 | bold_italic: 20 | family: "JetBrainsMono Nerd Font" 21 | #style: Bold Italic 22 | 23 | # Point size 24 | size: 8.5 25 | 26 | # Offset 27 | #offset: 28 | # x: 0 29 | # y: 0 30 | 31 | # Glyph offset 32 | #glyph_offset: 33 | # x: 0 34 | # y: 0 35 | -------------------------------------------------------------------------------- /mountain/bspwm/bar/launch.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | DIR="$HOME/.config/bspwm/bar" 4 | 5 | killall -q polybar 6 | #while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done 7 | 8 | # launch the bars 9 | # polybar -q border-menu -c "$DIR"/config.ini & 10 | polybar -q border-center -c "$DIR"/config.ini & 11 | polybar -q border-left -c "$DIR"/config.ini & 12 | polybar -q border-right -c "$DIR"/config.ini & 13 | # polybar -q border-power -c "$DIR"/config.ini & 14 | sleep 3s 15 | # polybar -q bar-menu -c "$DIR"/config.ini & 16 | polybar -q bar-left -c "$DIR"/config.ini & 17 | polybar -q bar-center -c "$DIR"/config.ini & 18 | polybar -q bar-right -c "$DIR"/config.ini & 19 | # polybar -q bar-power -c "$DIR"/config.ini & 20 | -------------------------------------------------------------------------------- /mountain/bspwm/bin/bspborder: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Enable double borders 3 | # Dependencies: chwb2 from wmutils/opt 4 | # 5 | # Yes, this is stolen from gk. 6 | 7 | outer='0x0f0f0f' # outer 8 | inner1='0x222222' # focused 9 | inner2='0x222222' # normal 10 | 11 | trap 'bspc config border_width 0; kill -9 -$$' INT TERM 12 | 13 | targets() { 14 | case $1 in 15 | focused) bspc query -N -n .local.focused.\!fullscreen;; 16 | normal) bspc query -N -n .local.\!focused.\!fullscreen 17 | esac | grep -iv "$v" 18 | } 19 | 20 | bspc config border_width 14 21 | 22 | draw() { chwb2 -I "$inner" -O "$outer" -i "8" -o "4" $* |:; } 23 | 24 | #initial draw, and then subscribe to events 25 | { echo; bspc subscribe node_geometry node_focus; } | 26 | while read -r _; do 27 | [ "$v" ] || v='abcdefg' 28 | inner=$inner1 draw "$(targets focused)" 29 | inner=$inner2 draw "$(targets normal)" 30 | done 31 | 32 | -------------------------------------------------------------------------------- /mountain/bspwm/bin/themechanger.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | selected=$(echo "Hord 4 | Lotus 5 | Catppuccin 6 | Mountain" | rofi -dmenu -theme ~/.config/bspwm/rofi/themes/launcher.rasi) 7 | 8 | echo "$selected" 9 | 10 | if [ "$selected" = "Hord" ] 11 | then 12 | fastshard hord 13 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/hord/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 14 | bspc wm -r 15 | exit 16 | fi 17 | if [ "$selected" = "Lotus" ] 18 | then 19 | fastshard lotus 20 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/lotus/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 21 | bspc wm -r 22 | exit 23 | fi 24 | if [ "$selected" = "Catppuccin" ] 25 | then 26 | fastshard catppuccin 27 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/cappuccin/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 28 | bspc wm -r 29 | exit 30 | fi 31 | if [ "$selected" = "Mountain" ] 32 | then 33 | fastshard mountain 34 | curl -s https://raw.githubusercontent.com/FastShard/Discord/main/mountain/custom.css -o ~/.config/BetterDiscord/data/stable/custom.css 35 | bspc wm -r 36 | exit 37 | fi 38 | -------------------------------------------------------------------------------- /mountain/bspwm/bspwmrc: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | 3 | pgrep -x sxhkd > /dev/null || sxhkd & 4 | killall -9 sxhkd ksuperkey 5 | killall -q picom 6 | killall -9 dunst 7 | killall -9 bspborder 8 | 9 | bspc monitor -d I II III IV V VI VII VIII IX X 10 | 11 | #bspc config border_width 0 12 | bspc config window_gap 15 13 | bspc config split_ratio 0.50 14 | bspc config borderless_monocle true 15 | bspc config gapless_monocle true 16 | bspc config pointer_follows_focus false 17 | bspc config focus_follows_pointer true 18 | bspc rule -a Kupfer.py focus=on 19 | bspc rule -a Screenkey manage=off 20 | bspc rule -a Thunar state=tiled 21 | bspc config focused_border_color "#22292B" 22 | bspc config normal_border_color "#22292B" 23 | bspc config active_border_color "#22292B" 24 | ksuperkey -e 'Super_L=Alt_L|F1' & 25 | ksuperkey -e 'Super_R=Alt_L|F1' & 26 | 27 | xrandr --output `xrandr | grep " connected"|cut -f1 -d" "` --mode 1920x1080 28 | 29 | ~/.config/bspwm/bar/launch.sh & 30 | /usr/bin/dunst & 31 | xsetroot -cursor_name left_ptr & 32 | 33 | ~/.config/bspwm/bin/bspborder & 34 | feh --bg-scale --zoom fill ~/.config/fastshard/mountain/wallpapers/wall.jpg 35 | sleep 5s 36 | xdo lower -N "Polybar" 37 | xdo above -N "Polybar" -t $(xdo id -N Bspwm -n root) 38 | sxhkd & 39 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/bin/confirm: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | rofi -dmenu\ 7 | -i\ 8 | -no-fixed-num-lines\ 9 | -p "Are You Sure? : "\ 10 | -theme ~/.config/bspwm/rofi/themes/confirm.rasi -------------------------------------------------------------------------------- /mountain/bspwm/rofi/bin/launcher: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi \ 9 | -show drun \ 10 | -modi run,drun,ssh \ 11 | -no-lazy-grab \ 12 | -scroll-method 0 \ 13 | -drun-match-fields all \ 14 | -drun-display-format "{name}" \ 15 | -no-drun-show-actions \ 16 | -terminal alacritty \ 17 | -kb-cancel Alt-F1 \ 18 | -theme "$DIR"/rofi/themes/launcher.rasi -------------------------------------------------------------------------------- /mountain/bspwm/rofi/bin/powermenu: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | 8 | rofi_command="rofi -theme $DIR/rofi/themes/powermenu.rasi" 9 | 10 | uptime=$(uptime -p | sed -e 's/up //g') 11 | 12 | # Options 13 | shutdown="" 14 | reboot="" 15 | lock="" 16 | suspend="" 17 | logout="" 18 | 19 | # Variable passed to rofi 20 | options="$shutdown\n$reboot\n$lock\n$suspend\n$logout" 21 | _msg="Options - yes / y / no / n" 22 | 23 | chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)" 24 | case $chosen in 25 | $shutdown) 26 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 27 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 28 | systemctl poweroff 29 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 30 | exit 31 | else 32 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 33 | fi 34 | ;; 35 | $reboot) 36 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 37 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 38 | systemctl reboot 39 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 40 | exit 41 | else 42 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 43 | fi 44 | ;; 45 | $lock) 46 | betterlockscreen --lock 47 | ;; 48 | $suspend) 49 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 50 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 51 | mpc -q pause 52 | amixer set Master mute 53 | betterlockscreen --suspend 54 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 55 | exit 56 | else 57 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 58 | fi 59 | ;; 60 | $logout) 61 | ans=$($HOME/.config/bspwm/rofi/bin/confirm) 62 | if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then 63 | bspc quit 64 | elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then 65 | exit 66 | else 67 | rofi -theme ~/.config/bspwm/rofi/themes/askpass.rasi -e "$_msg" 68 | fi 69 | ;; 70 | esac 71 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/bin/screenshot: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ## Copyright (C) 2020-2022 Aditya Shakya 4 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 5 | 6 | DIR="$HOME/.config/bspwm" 7 | rofi_command="rofi -theme $DIR/rofi/themes/screenshot.rasi" 8 | 9 | time=`date +%Y-%m-%d-%H-%M-%S` 10 | geometry=`xrandr | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'` 11 | dir="`xdg-user-dir PICTURES`/Screenshots" 12 | file="Screenshot_${time}_${geometry}.png" 13 | 14 | # Buttons 15 | screen="" 16 | area="" 17 | window="" 18 | infive="" 19 | inten="" 20 | 21 | # notify and view screenshot 22 | notify_view () { 23 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Copied to clipboard." 24 | viewnior ${dir}/"$file" 25 | if [[ -e "$dir/$file" ]]; then 26 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Saved." 27 | else 28 | dunstify -u low --replace=699 -i /usr/share/archcraft/icons/dunst/picture.png "Screenshot Deleted." 29 | fi 30 | } 31 | 32 | # countdown 33 | countdown () { 34 | for sec in `seq $1 -1 1`; do 35 | dunstify -t 1000 --replace=699 -i /usr/share/archcraft/icons/dunst/timer.png "Taking shot in : $sec" 36 | sleep 1 37 | done 38 | } 39 | 40 | # take shots 41 | shotnow () { 42 | cd ${dir} && sleep 0.5 && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 43 | notify_view 44 | } 45 | 46 | shot5 () { 47 | countdown '5' 48 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 49 | notify_view 50 | } 51 | 52 | shot10 () { 53 | countdown '10' 54 | sleep 1 && cd ${dir} && maim -u -f png | tee "$file" | xclip -selection clipboard -t image/png 55 | notify_view 56 | } 57 | 58 | shotwin () { 59 | cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | tee "$file" | xclip -selection clipboard -t image/png 60 | notify_view 61 | } 62 | 63 | shotarea () { 64 | cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | tee "$file" | xclip -selection clipboard -t image/png 65 | notify_view 66 | } 67 | 68 | if [[ ! -d "$dir" ]]; then 69 | mkdir -p "$dir" 70 | fi 71 | 72 | # Variable passed to rofi 73 | options="$screen\n$area\n$window\n$infive\n$inten" 74 | 75 | chosen="$(echo -e "$options" | $rofi_command -p 'Take Screenshot' -dmenu -selected-row 0)" 76 | case $chosen in 77 | $screen) 78 | shotnow 79 | ;; 80 | $area) 81 | shotarea 82 | ;; 83 | $window) 84 | shotwin 85 | ;; 86 | $infive) 87 | shot5 88 | ;; 89 | $inten) 90 | shot10 91 | ;; 92 | esac 93 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/askpass.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | 3 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 4 | 5 | @import "new_colors.rasi" 6 | 7 | * { 8 | background-color: @background; 9 | text-color: @foreground; 10 | font: "JetBrains Mono Nerd Font Medium 10"; 11 | } 12 | 13 | window { 14 | width: 300px; 15 | padding: 25px; 16 | border: 1px; 17 | border-radius: 0px; 18 | border-color: @brdr; 19 | location: center; 20 | x-offset: 0; 21 | y-offset: -4%; 22 | } 23 | 24 | entry { 25 | expand: true; 26 | width: 150px; 27 | text-color: @selected; 28 | } 29 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/confirm.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | @import "new_colors.rasi" 5 | 6 | * { 7 | background-color: @background; 8 | text-color: @foreground; 9 | font: "JetBrains Mono Nerd Font 10"; 10 | } 11 | 12 | window { 13 | width: 230px; 14 | padding: 25px; 15 | border: 1px; 16 | border-radius: 0px; 17 | border-color: @brdr; 18 | location: center; 19 | x-offset: 0; 20 | y-offset: -4%; 21 | } 22 | 23 | entry { 24 | expand: true; 25 | width: 150px; 26 | text-color: @selected; 27 | } 28 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/networkmenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 400px; 23 | height: 420px; 24 | location: center; 25 | anchor: center; 26 | x-offset: 0; 27 | y-offset: 0; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 8px; 33 | padding: 6px 0px 6px 0px; 34 | background-color: @background; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @selected; 38 | border-radius: 0px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: "直"; 44 | border-radius: 8px; 45 | background-color: @background-alt; 46 | text-color: @foreground; 47 | padding: 6px 10px 6px 10px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | placeholder: ""; 56 | expand: true; 57 | horizontal-align: 0; 58 | blink: false; 59 | padding: 6px; 60 | } 61 | 62 | inputbar { 63 | children: [ textbox-prompt-colon, prompt, entry ]; 64 | spacing: 0; 65 | background-color: @background; 66 | text-color: @foreground; 67 | border: 0px; 68 | border-radius: 0px; 69 | border-color: @selected; 70 | expand: false; 71 | margin: 0px 0px 0px 0px; 72 | padding: 0px; 73 | position: center; 74 | } 75 | 76 | case-indicator { 77 | background-color: @background; 78 | text-color: @foreground; 79 | spacing: 0; 80 | } 81 | 82 | 83 | listview { 84 | background-color: @background; 85 | columns: 1; 86 | lines: 8; 87 | spacing: 4px; 88 | cycle: true; 89 | dynamic: true; 90 | layout: vertical; 91 | } 92 | 93 | mainbox { 94 | background-color: @background; 95 | children: [ inputbar, listview ]; 96 | spacing: 10px; 97 | padding: 20px; 98 | } 99 | 100 | element { 101 | background-color: @background; 102 | text-color: @foreground; 103 | orientation: horizontal; 104 | border-radius: 0px; 105 | padding: 6px; 106 | } 107 | 108 | element-icon { 109 | background-color: inherit; 110 | text-color: inherit; 111 | horizontal-align: 0.5; 112 | vertical-align: 0.5; 113 | size: 0px; 114 | border: 0px; 115 | } 116 | 117 | element-text { 118 | background-color: inherit; 119 | text-color: inherit; 120 | expand: true; 121 | horizontal-align: 0; 122 | vertical-align: 0.5; 123 | margin: 2px 0px 2px 2px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | } 140 | 141 | element.selected.urgent { 142 | border-color: @selected; 143 | } 144 | 145 | element.urgent, 146 | element.selected.active { 147 | background-color: @off; 148 | text-color: @background; 149 | border-color: @off; 150 | } 151 | 152 | element.selected.active { 153 | border-color: @selected; 154 | } 155 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/networkmenu_config.ini: -------------------------------------------------------------------------------- 1 | ## Copyright (C) 2020-2022 Aditya Shakya 2 | ## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 3 | 4 | [dmenu] 5 | dmenu_command = rofi -dmenu -theme ~/.config/herbstluftwm/rofi/themes/networkmenu.rasi 6 | # # Note that dmenu_command can contain arguments as well like `rofi -width 30` 7 | # # Rofi and dmenu are set to case insensitive by default `-i` 8 | # l = number of lines to display, defaults to number of total network options 9 | # fn = font string 10 | # nb = normal background (name, #RGB, or #RRGGBB) 11 | # nf = normal foreground 12 | # sb = selected background 13 | # sf = selected foreground 14 | # b = (just set to empty value and menu will appear at the bottom 15 | # m = number of monitor to display on 16 | # p = Custom Prompt for the networks menu 17 | # pinentry = Pinentry command 18 | # rofi_highlight = # (Default: False) use rofi highlighting instead of '**' 19 | 20 | # # override normal foreground and background colors (dmenu) or use the 21 | # # -password option (rofi) to obscure passphrase entry 22 | # [dmenu_passphrase] 23 | # nf = #222222 24 | # nb = #222222 25 | # rofi_obscure = True 26 | 27 | [editor] 28 | terminal = alacritty 29 | gui_if_available = True 30 | # terminal = 31 | # gui_if_available = 32 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/new_colors.rasi: -------------------------------------------------------------------------------- 1 | * { 2 | background: #0f0f0f; 3 | background-alt: #222222; 4 | brdr: #222222; 5 | foreground: #f0f0f0; 6 | foresel: #f0f0f0; 7 | selected: #222222; 8 | urgent: #E06C75; 9 | on: #87A181; 10 | off: #D88B9F; 11 | } 12 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/powermenu.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | show-icons: false; 6 | display-drun: ""; 7 | drun-display-format: "{name}"; 8 | disable-history: false; 9 | click-to-exit: true; 10 | location: 4; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | /* Line Responsible For Button Layouts */ 16 | /* BUTTON = TRUE */ 17 | 18 | window { 19 | transparency: "real"; 20 | background-color: @background; 21 | text-color: @foreground; 22 | border: 1px; 23 | border-color: @brdr; 24 | border-radius: 0px; 25 | width: 88px; 26 | x-offset: -20px; 27 | y-offset: 0px; 28 | } 29 | 30 | prompt { 31 | enabled: true; 32 | margin: 0px 0px 0px 0px; 33 | padding: 8px; 34 | background-color: @background-alt; 35 | text-color: @foreground; 36 | border: 0px 0px 0px 0px; 37 | border-color: @background; 38 | border-radius: 10px; 39 | } 40 | 41 | textbox-prompt-colon { 42 | expand: false; 43 | str: ""; 44 | border-radius: 0px; 45 | background-color: @selected; 46 | text-color: @background; 47 | padding: 8px 12px 8px 12px; 48 | font: "Iosevka Nerd Font 10"; 49 | } 50 | 51 | entry { 52 | background-color: @background-alt; 53 | text-color: @foreground; 54 | placeholder-color: @foreground; 55 | expand: true; 56 | horizontal-align: 0; 57 | placeholder: "Search..."; 58 | blink: true; 59 | border: 0px 0px 0px 0px; 60 | border-color: @background; 61 | border-radius: 0px; 62 | padding: 8px; 63 | } 64 | 65 | inputbar { 66 | children: [ textbox-prompt-colon, prompt ]; 67 | background-color: @background-alt; 68 | text-color: @foreground; 69 | expand: false; 70 | border: 0px 0px 0px 0px; 71 | border-radius: 0px; 72 | border-color: @background; 73 | margin: 0px 0px 0px 0px; 74 | padding: 0px; 75 | position: center; 76 | } 77 | 78 | case-indicator { 79 | background-color: @background; 80 | text-color: @foreground; 81 | spacing: 0; 82 | } 83 | 84 | 85 | listview { 86 | background-color: @background; 87 | columns: 1; 88 | lines: 5; 89 | spacing: 10px; 90 | cycle: false; 91 | dynamic: true; 92 | layout: vertical; 93 | } 94 | 95 | mainbox { 96 | background-color: @background; 97 | children: [ listview ]; 98 | spacing: 15px; 99 | padding: 15px; 100 | } 101 | 102 | element { 103 | background-color: @background; 104 | text-color: @foreground; 105 | orientation: horizontal; 106 | border-radius: 0px; 107 | padding: 12.5px 5px 10px 5px; 108 | } 109 | 110 | element-icon { 111 | background-color: inherit; 112 | text-color: inherit; 113 | horizontal-align: 0.5; 114 | vertical-align: 0.5; 115 | size: 0px; 116 | border: 0px; 117 | } 118 | 119 | element-text { 120 | background-color: inherit; 121 | text-color: inherit; 122 | font: "feather 14"; 123 | expand: true; 124 | horizontal-align: 0.5; 125 | vertical-align: 0.5; 126 | margin: 0px; 127 | } 128 | 129 | element selected { 130 | background-color: @selected; 131 | text-color: @foreground; 132 | border: 0px 0px 0px 0px; 133 | border-radius: 10px; 134 | border-color: @background; 135 | } 136 | 137 | element.active, 138 | element.selected.urgent { 139 | background-color: @on; 140 | text-color: @background; 141 | border-color: @on; 142 | } 143 | 144 | element.selected.urgent { 145 | border-color: @background; 146 | } 147 | 148 | element.urgent, 149 | element.selected.active { 150 | background-color: @off; 151 | text-color: @background; 152 | border-color: @off; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @background; 157 | } 158 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/screenshot.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Nerd Font 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | disable-history: false; 10 | click-to-exit: true; 11 | } 12 | 13 | @import "new_colors.rasi" 14 | 15 | window { 16 | transparency: "real"; 17 | background-color: @background; 18 | text-color: @foreground; 19 | border: 1px; 20 | border-color: @brdr; 21 | border-radius: 0px; 22 | width: 380px; 23 | location: center; 24 | anchor: center; 25 | x-offset: 0; 26 | y-offset: 0; 27 | } 28 | 29 | prompt { 30 | enabled: true; 31 | margin: 0px 0px 0px 8px; 32 | padding: 6px 0px 6px 0px; 33 | background-color: @background; 34 | text-color: @foreground; 35 | border: 0px 0px 0px 0px; 36 | border-color: @selected; 37 | border-radius: 0px; 38 | } 39 | 40 | textbox-prompt-colon { 41 | expand: false; 42 | str: ""; 43 | border-radius: 8px; 44 | background-color: @background-alt; 45 | text-color: @foreground; 46 | padding: 6px 10px 6px 10px; 47 | font: "Iosevka Nerd Font 10"; 48 | } 49 | 50 | entry { 51 | background-color: @background; 52 | text-color: @background; 53 | placeholder-color: @background; 54 | placeholder: ""; 55 | expand: true; 56 | horizontal-align: 0; 57 | blink: false; 58 | padding: 6px; 59 | } 60 | 61 | inputbar { 62 | children: [ textbox-prompt-colon, prompt ]; 63 | spacing: 0; 64 | background-color: @background; 65 | text-color: @foreground; 66 | border: 0px; 67 | border-radius: 0px; 68 | border-color: @selected; 69 | expand: false; 70 | margin: 0px 0px 0px 0px; 71 | padding: 0px; 72 | position: center; 73 | } 74 | 75 | case-indicator { 76 | background-color: @background; 77 | text-color: @foreground; 78 | spacing: 0; 79 | } 80 | 81 | 82 | listview { 83 | background-color: @background; 84 | columns: 6; 85 | lines: 1; 86 | spacing: 10px; 87 | cycle: true; 88 | dynamic: true; 89 | layout: vertical; 90 | } 91 | 92 | mainbox { 93 | background-color: @background; 94 | children: [ inputbar, listview ]; 95 | spacing: 10px; 96 | padding: 20px; 97 | } 98 | 99 | element { 100 | background-color: @background; 101 | text-color: @foreground; 102 | orientation: horizontal; 103 | border-radius: 8px; 104 | padding: 14px; 105 | } 106 | 107 | element-icon { 108 | background-color: inherit; 109 | text-color: inherit; 110 | horizontal-align: 0.5; 111 | vertical-align: 0.5; 112 | size: 0px; 113 | border: 0px; 114 | } 115 | 116 | element-text { 117 | background-color: inherit; 118 | text-color: inherit; 119 | font: "feather 16"; 120 | expand: true; 121 | horizontal-align: 0.5; 122 | vertical-align: 0.5; 123 | margin: 0px; 124 | } 125 | 126 | element selected { 127 | background-color: @selected; 128 | text-color: @foreground; 129 | border: 0px; 130 | border-radius: 8px; 131 | border-color: @selected; 132 | } 133 | 134 | element.active, 135 | element.selected.urgent { 136 | background-color: @on; 137 | text-color: @background; 138 | border-color: @on; 139 | border-radius: 8px; 140 | } 141 | 142 | element.selected.urgent { 143 | border-color: @selected; 144 | } 145 | 146 | element.urgent, 147 | element.selected.active { 148 | background-color: @off; 149 | text-color: @background; 150 | border-color: @off; 151 | border-radius: 8px; 152 | } 153 | 154 | element.selected.active { 155 | border-color: @selected; 156 | } 157 | -------------------------------------------------------------------------------- /mountain/bspwm/rofi/themes/window.rasi: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2020-2022 Aditya Shakya */ 2 | /* Everyone is permitted to copy and distribute copies of this file under GNU-GPL3 */ 3 | 4 | configuration { 5 | font: "JetBrains Mono Medium 10"; 6 | show-icons: false; 7 | display-drun: ""; 8 | drun-display-format: "{icon} {name}"; 9 | display-window: "Windows :"; 10 | window-format: " {w} · {c} · {t}"; 11 | disable-history: false; 12 | click-to-exit: true; 13 | } 14 | 15 | @import "new_colors.rasi" 16 | 17 | window { 18 | transparency: "real"; 19 | background-color: @background; 20 | text-color: @foreground; 21 | border: 0px; 22 | border-color: @selected; 23 | border-radius: 0px; 24 | width: 450px; 25 | location: center; 26 | anchor: center; 27 | x-offset: 0; 28 | y-offset: 0; 29 | } 30 | 31 | prompt { 32 | enabled: true; 33 | margin: 0px 0px 0px 8px; 34 | padding: 6px 0px 6px 0px; 35 | background-color: @background; 36 | text-color: @foreground; 37 | border: 0px 0px 0px 0px; 38 | border-color: @selected; 39 | border-radius: 0px; 40 | } 41 | 42 | textbox-prompt-colon { 43 | expand: false; 44 | str: ""; 45 | border-radius: 8px; 46 | background-color: @background-alt; 47 | text-color: @foreground; 48 | padding: 6px 10px 6px 10px; 49 | font: "Iosevka Nerd Font 10"; 50 | } 51 | 52 | entry { 53 | background-color: @background; 54 | text-color: @background; 55 | placeholder-color: @background; 56 | placeholder: ""; 57 | expand: true; 58 | horizontal-align: 0; 59 | blink: false; 60 | padding: 6px; 61 | } 62 | 63 | inputbar { 64 | children: [ textbox-prompt-colon, prompt ]; 65 | spacing: 0; 66 | background-color: @background; 67 | text-color: @foreground; 68 | border: 0px; 69 | border-radius: 0px; 70 | border-color: @selected; 71 | expand: false; 72 | margin: 0px 0px 0px 0px; 73 | padding: 0px; 74 | position: center; 75 | } 76 | 77 | case-indicator { 78 | background-color: @background; 79 | text-color: @foreground; 80 | spacing: 0; 81 | } 82 | 83 | 84 | listview { 85 | background-color: @background; 86 | columns: 1; 87 | lines: 6; 88 | spacing: 4px; 89 | cycle: true; 90 | dynamic: true; 91 | layout: vertical; 92 | } 93 | 94 | mainbox { 95 | background-color: @background; 96 | children: [ inputbar, listview ]; 97 | spacing: 10px; 98 | padding: 20px; 99 | } 100 | 101 | element { 102 | background-color: @background; 103 | text-color: @foreground; 104 | orientation: horizontal; 105 | border-radius: 0px; 106 | padding: 5px; 107 | } 108 | 109 | element-icon { 110 | background-color: inherit; 111 | text-color: inherit; 112 | horizontal-align: 0.5; 113 | vertical-align: 0.5; 114 | size: 0px; 115 | border: 0px; 116 | } 117 | 118 | element-text { 119 | background-color: inherit; 120 | text-color: inherit; 121 | expand: true; 122 | horizontal-align: 0; 123 | vertical-align: 0.5; 124 | margin: 2px 0px 2px 2px; 125 | } 126 | 127 | element selected { 128 | background-color: @selected; 129 | text-color: @foreground; 130 | border: 0px; 131 | border-radius: 8px; 132 | border-color: @selected; 133 | } 134 | 135 | element.active, 136 | element.selected.urgent { 137 | background-color: @on; 138 | text-color: @background; 139 | border-color: @on; 140 | border-radius: 10px; 141 | } 142 | 143 | element.selected.urgent { 144 | border-color: @selected; 145 | } 146 | 147 | element.urgent, 148 | element.selected.active { 149 | background-color: @off; 150 | text-color: @background; 151 | border-color: @off; 152 | border-radius: 10px; 153 | } 154 | 155 | element.selected.active { 156 | border-color: @selected; 157 | } 158 | -------------------------------------------------------------------------------- /mountain/dunst/dunstrc: -------------------------------------------------------------------------------- 1 | [global] 2 | monitor = 0 3 | follow = mouse 4 | geometry = "547x50-10+50" 5 | indicate_hidden = yes 6 | shrink = no 7 | separator_height = 4 8 | separator_color = auto 9 | padding = 15 10 | horizontal_padding = 15 11 | frame_width = 7 12 | sort = no 13 | idle_threshold = 120 14 | font = JetBrains Mono 10 15 | line_height = 4 16 | markup = full 17 | format = %s\n%b 18 | alignment = left 19 | show_age_threshold = 60 20 | word_wrap = yes 21 | ignore_newline = no 22 | stack_duplicates = false 23 | hide_duplicate_count = yes 24 | show_indicators = no 25 | icon_position = left 26 | max_icon_size = 48 27 | sticky_history = yes 28 | history_length = 1000 29 | browser = x-www-browser -new-tab 30 | always_run_script = true 31 | title = Dunst 32 | class = Dunst 33 | 34 | [shortcuts] 35 | close = ctrl+shift+space 36 | close_all = ctrl+shift+space 37 | history = ctrl+grave 38 | context = ctrl+shift+period 39 | 40 | [urgency_low] 41 | timeout = 2 42 | background = "#0f0f0f" 43 | foreground = "#f0f0f0" 44 | frame_color = "#222222" 45 | 46 | [urgency_normal] 47 | timeout = 5 48 | background = "#0f0f0f" 49 | foreground = "#f0f0f0" 50 | frame_color = "#222222" 51 | 52 | [urgency_critical] 53 | timeout = 0 54 | background = "#0f0f0f" 55 | foreground = "#f0f0f0" 56 | frame_color = "#222222" 57 | 9 58 | -------------------------------------------------------------------------------- /mountain/wallpapers/test: -------------------------------------------------------------------------------- 1 | ff 2 | -------------------------------------------------------------------------------- /mountain/wallpapers/wall.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/FastShard/Themes/007b9715c1697e85799a8311e428089d9f99ec2b/mountain/wallpapers/wall.jpg -------------------------------------------------------------------------------- /mountain/zathura/zathurarc: -------------------------------------------------------------------------------- 1 | set adjust-open "best-fit" 2 | set pages-per-row 1 3 | set scroll-page-aware "true" 4 | set smooth-scroll "true" 5 | set scroll-full-overlap 0.01 6 | set scroll-step 100 7 | set zoom-min 10 8 | set guioptions "" 9 | set font "inconsolata 15" 10 | set default-bg "#0f0f0f" 11 | set default-fg "#CDD6F4" 12 | set statusbar-fg "#CDD6F4" 13 | set statusbar-bg "#0f0f0f" 14 | set inputbar-bg "#0f0f0f" 15 | set inputbar-fg "#CDD6F4" 16 | set notification-error-bg "#AC4142" 17 | set notification-error-fg "#0f0f0f" 18 | set notification-warning-bg "#AC4142" 19 | set notification-warning-fg "#0f0f0f" 20 | set highlight-color "#F4BF75" 21 | set highlight-active-color "#6A9FB5" 22 | set completion-highlight-fg "#0f0f0f" 23 | set completion-highlight-bg "#90A959" 24 | set completion-bg "#0f0f0f" 25 | set completion-fg "#CDD6F4" 26 | set notification-bg "#90A959" 27 | set notification-fg "#0f0f0f" 28 | set recolor "true" 29 | set recolor-lightcolor "#0f0f0f" 30 | set recolor-darkcolor "#CDD6F4" 31 | set recolor-reverse-video "true" 32 | set recolor-keephue "true" 33 | set render-loading "false" 34 | set scroll-step 50 35 | unmap f 36 | map f toggle_fullscreen 37 | map [fullscreen] f toggle_fullscreen 38 | --------------------------------------------------------------------------------