diff --git a/Placidity-Bspwm/README.md b/Placidity-Bspwm/README.md new file mode 100644 index 0000000..30567d2 --- /dev/null +++ b/Placidity-Bspwm/README.md @@ -0,0 +1,44 @@ +# Onedark Setup + +![onedark-rice](https://user-images.githubusercontent.com/82205152/122727874-2523df00-d295-11eb-8c8e-0baa94e92d68.png) + +- Repo to my Vim-dotfiles : https://github.com/Mangeshrex/vim-dots. +- The Dotfiles for this rice are stored in the onedark folder in this repository. +- The colorscheme used is onedark but the colors are edited. + +# Nord Bspwm Screenshot +![Nord](https://user-images.githubusercontent.com/82205152/119094670-f6fd7600-ba2e-11eb-934d-b494e6714c6e.png) + + + +# Bspwm-Dots +This is a repo of my dotfiles contain's all the cli-tools or apps I use. + +# To be Noted +- The Above Image has my latest setup of ArchLinux Bspwm. +- Install All the Below Listed Polybar fonts. +- Do not forget to configure your Workspace Names in polybar if you want the workspace name on the bar. + That can be changed in your bspwmrc `bspc monitor -d 1 2 3 4 5` at this line. +- Here I used Kitty as my default terminal emulator. +- Color scheme : Nord with some variations. +- You need to edit some values like in the bar like wlan or monitor or some other things. +- Also to note in the polybar menu module I have my name in Japanese you can change that to anything you want or maybe icon. +- That fetch in the first picture is now improved and can be found [here](https://github.com/Mangeshrex/rxfetch) + +# Dependencies +- Material Design Icons +- Nerd Fonts JetbrainsMono + +# Programs Used in this RICE. +- [cava](https://github.com/karlstav/cava) = Console Based Audio Visualizor for +- [neofetch](https://github.com/dylanaraps/neofetch) = System Fetching tool. +- [rxfetch](https://github.com/Mangeshrex/rxfetch) = Custom made system-info fetch tool. +- [gtop](https://github.com/aksakalli/gtop) = System Monitoring Dashboard. +- [shell-color-scripts](https://github.com/stark/Color-Scripts) = Some cool color scripts for adding bling to my terminal. +- [kitty](https://sw.kovidgoyal.net/kitty/)= A terminal emulator. +- [Polybar](https://github.com/polybar/polybar) = A fast and easy to use statusbar. +- [vim](https://www.vim.org/) = A useful text editor that i mostly prefer. +- [My Dmenu](https://github.com/Mangeshrex/Nordic-dmenu-dots) = My Build for dmenu. +- [alacritty](https://github.com/alacritty/alacritty) = Alacritty Terminal Emulator +- [Zathura](https://github.com/pwmt/zathura) = A Document Viewer. + diff --git a/Placidity-Bspwm/bspwm/bspwmrc b/Placidity-Bspwm/bspwm/bspwmrc new file mode 100644 index 0000000..ee9cf57 --- /dev/null +++ b/Placidity-Bspwm/bspwm/bspwmrc @@ -0,0 +1,45 @@ +#! /bin/sh + +#################################################### +# # +# ██████╗ ███████╗██████╗ ██╗ ██╗███╗ ███╗ # +# ██╔══██╗██╔════╝██╔══██╗██║ ██║████╗ ████║ # +# ██████╔╝███████╗██████╔╝██║ █╗ ██║██╔████╔██║ # +# ██╔══██╗╚════██║██╔═══╝ ██║███╗██║██║╚██╔╝██║ # +# ██████╔╝███████║██║ ╚███╔███╔╝██║ ╚═╝ ██║ # +# ╚═════╝ ╚══════╝╚═╝ ╚══╝╚══╝ ╚═╝ ╚═╝ # +##################################################### + + +pgrep -x sxhkd > /dev/null || sxhkd & +bspc monitor -d 1 2 3 4 5 + +########## Window Settings ############## +bspc config border_width 2 +bspc config window_gap 10 +bspc config focus_follows_pointer true +bspc config split_ratio 0.50 +bspc config borderless_monocle true +bspc config gapless_monocle true + +########## Border Colors ################# +bspc config focused_border_color "#2E3440" +bspc config normal_border_color "#2E3440" + +######### Program settings ################ +bspc rule -a Gimp desktop='^8' state=floating follow=on +bspc rule -a TelegramDesktop desktop='^4' +bspc rule -a Firefox desktop='^2' + +######### Other Settings ################ +xsetroot -cursor_name left_ptr & +xbacklight -set 30 + +######## MY picom :) ################### +picom & + +######## THe real beauty behind rice #### +nitrogen --restore & + +######### My Bar ############### +polybar main diff --git a/Placidity-Bspwm/cava/config b/Placidity-Bspwm/cava/config new file mode 100644 index 0000000..feb3106 --- /dev/null +++ b/Placidity-Bspwm/cava/config @@ -0,0 +1,40 @@ +[color] + +# Colors can be one of seven predefined: black, blue, cyan, green, magenta, red, white, yellow. # Or defined by hex code '#xxxxxx' (hex code must be within ''). User defined colors requires # ncurses output method and a terminal that can change color definitions such as Gnome-terminal or rxvt. +# if supported, ncurses mode will be forced on if user defined colors are used. +# default is to keep current terminal color + background = default + foreground = default + +# Gradient mode, only hex defined colors (and thereby ncurses mode) are supported, +# background must also be defined in hex or remain commented out. 1 = on, 0 = off. +# You can define as many as 8 different colors. They range from bottom to top of screen + +gradient = 10 + +gradient_count = 6 + +gradient_color_1 = '#4C566A' + +gradient_color_2 = '#5E81AC' + +gradient_color_3 = '#81A1C1' + +gradient_color_4 = '#88C0D0' + +gradient_color_5 = '#D8DEE9' + +gradient_color_6 = '#E5E9F0' + +[smoothing] + +# Percentage value for integral smoothing. Takes values from 0 - 100. +# Higher values means smoother, but less precise. 0 to disable. +; integral = 10 +# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable. +; monstercat = 0 +; waves = 3 + +# Set gravity percentage for "drop off". Higher values means bars will drop faster. +# Accepts only non-negative values. 50 means half gravity, 200 means double. Set to 0 to disable "drop off". +;gravity = 100 diff --git a/Placidity-Bspwm/kitty/kitty.conf b/Placidity-Bspwm/kitty/kitty.conf new file mode 100644 index 0000000..d8e1bbf --- /dev/null +++ b/Placidity-Bspwm/kitty/kitty.conf @@ -0,0 +1,70 @@ +# Nord Colorscheme for Kitty +# Based on: +# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192 +# - https://github.com/arcticicestudio/nord-hyper + + +font_family JetBrainsMono-Bold +bold_font JetBrainsMono-Bold +italic_font JetBrainsMono-Italic +bold_italic_font Operator Mono Lig Book Italic + +font_size 10.0 + +# The window padding (in pts) (blank area between the text and the window border) +window_padding_width 12 + +#opactiy +background_opacity 3.50 + +#: The width (in pts) of window borders. Will be rounded to the +#: nearest number of pixels based on screen resolution. Note that +#: borders are displayed only when more than one window is visible. +#: They are meant to separate multiple windows. +window_margin_width 5 + +#: The window padding (in pts) (blank area between the text and the +#: window border) +active_border_color #282c34 + +foreground #D8DEE9 +background #2E3440 +selection_foreground #000000 +selection_background #FFFACD +url_color #0087BD +cursor #81A1C1 + +# black +color0 #3B4252 +color8 #4C566A + +# red +color1 #BF616A +color9 #BF616A + +# green +color2 #A3BE8C +color10 #A3BE8C + +# yellow +color3 #EBCB8B +color11 #EBCB8B + +# blue +color4 #81A1C1 +color12 #81A1C1 + +# magenta +color5 #B48EAD +color13 #B48EAD + +# cyan +color6 #88C0D0 +color14 #8FBCBB + +# white +color7 #E5E9F0 +color15 #ECEFF4 + +include nord.conf + diff --git a/Placidity-Bspwm/mrfetch b/Placidity-Bspwm/mrfetch new file mode 100644 index 0000000..b33e4d6 --- /dev/null +++ b/Placidity-Bspwm/mrfetch @@ -0,0 +1,36 @@ + +#colors +bold="(tput bold)" +magenta="$(tput setaf 5)" +green="$(tput setaf 2)" +white="$(tput setaf 7)" +blue="$(tput setaf 4)" +red="$(tput setaf 1)" +black="(tput setaf 0)" +yellow="$(tput setaf 3)" +cyan="$(tput setaf 6)" + +c0="${reset}${bold}" +c1="${reset}${magenta}" +c2="${reset}${green}" +c3="${reset}${white}" +c4="${reset}${blue}" +c5="${reset}${red}" +c6="${reset}${yellow}" +c7="${reset}${cyan}" + +#Fetch Values +echo " " +echo " Welcome, $USER in $HOSTNAME" +echo " " +echo " ${c1}os${c3} ==> $(source /etc/os-release && echo $PRETTY_NAME)" +echo " ${c1}kr${c3} ==> $(uname -r)" +echo " ${c1}pkgs${c3} ==> $(pacman -Qq | wc -l)" +echo " ${c1}sh${c3} ==> $(echo $SHELL)" +echo " ${c1}up${c3} ==>$(uptime -p | sed 's/up//')" +echo " ${c1}ram${c3} ==> $(free | grep Mem | awk '{print $3 / 1024}')" + +echo " " +echo " ${c6}󰮯 ${c6} ${c2}󰊠 ${c2} ${c4}󰊠 ${c4} ${c5}󰊠 ${c5} ${c7}󰊠 ${c7}" +echo " " + diff --git a/Placidity-Bspwm/picom/picom.conf b/Placidity-Bspwm/picom/picom.conf new file mode 100644 index 0000000..e4b26dd --- /dev/null +++ b/Placidity-Bspwm/picom/picom.conf @@ -0,0 +1,76 @@ +corner-radius = 8.0; +rounded-corners-exclude = [ + "class_g = 'URxvt'", + "class_g = 'XTerm'", + "class_g = 'Polybar'", + "class_g = 'code-oss'", + "class_g = 'firefox'", + "class_g = 'Tint2'", +]; + +#----------------- Blur Method ----------------------------- +# +##blur: { +# method = "dual_kawase"; +# strength = 0.70; +# background = true; +# background-frame = true; +# background-fixed = true; +#} +# +#blur-background-exclude = [ +# "class_g = 'slop'" +#]; +#backend = "glx"; + +#----------------- Transparency ---------------------------- + +inactive-opacity = 1.0; +active-opacity = 1.0; +frame-opacity = 1.0; +inactive-opacity-override = false; +opacity-rule = [ + "10:class_g = 'Bspwm'", + "10:class_i = 'presel_feedback'", +]; + +#----------------- Fade Effects ---------------------------- + +fading = true; +fade-delta = 2; +fade-in-step = 0.03; +fade-out-step = 0.03; +fade-exclude = [ ]; + +#----------------- Win Type -------------------------------- + +wintypes : +{ + popup_menu = + { + opacity = 1.0; + fade = false; + }; + dropdown_menu = + { + opacity = 1.0; + fade = false; + }; + dnd = + { + shadow = true; + fade = false; + }; + dock = + { + shadow = false; + }; + tooltip = + { + fade = false; + shadow = true; + opacity = 1.0; + focus = true; + }; +}; + diff --git a/Placidity-Bspwm/polybar/config b/Placidity-Bspwm/polybar/config new file mode 100644 index 0000000..9d33fba --- /dev/null +++ b/Placidity-Bspwm/polybar/config @@ -0,0 +1,355 @@ +;==================================================== +; +; +; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ +; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ +; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ +; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ +; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ +; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ +; +; +; To learn more about how to configure Polybar +; go to https://github.com/polybar/polybar +; +; The README contains a lot of information +; +;========================================================== + +[colors] +background = #3B4252 +foreground = ${xrdb:foreground} +color0 = ${xrdb:color0} +color1 = ${xrdb:color1} +color2 = ${xrdb:color2} +color3 = ${xrdb:color3} +color4 = ${xrdb:color4} +color5 = ${xrdb:color5} + +color8 = ${xrdb:color8} +color9 = ${xrdb:color9} +color10 = ${xrdb:color10} +color11 = ${xrdb:color11} +color12 = ${xrdb:color12} +color13 = ${xrdb:color13} +color14 = ${xrdb:color14} +color15 = ${xrdb:color15} +dark-light = #272A2B +active-light = #313435 + +[bar/main] +monitor = LVDS-1 +width = 98% +height = 36 +offset-x = 1% +offset-y = 2% +radius = 9 +fixed-center = false +bottom = false +background = ${colors.background} +foreground = ${colors.foreground} +line-size = 4 +border-size = 2 +border-top-size = 2 +border-bottom-size = 4 +border-left-size = 4 +border-right-size = 4 +;border-top-color = #88c0d0 +;border-left-color = #88c0d0 +;border-right-color = #88c0d0 +padding-left = 0 +padding-right = 1 +padding-top = 4 +module-margin-right = 0 +module-margin-left = 0 + +font-0 = JetBrainsMono-Bold:style:Bold:pixelsize=11;1 +font-1 = Material Design Icons:size=12;1 +font-2 = unifont:pixelsize=12;2 +font-3 = JetBrainsMono Nerd Font:pixelsize=31;7 + +modules-left = menu bspwm xwindow +modules-center = +modules-right = temperature mem wlan pulseaudio date powermenu + +wm-restack = bspwm +;wm-restack = i3 + +;override redirect = false + +scroll-up = bspwm-desknext +scroll-down = bspwm-deskprev + +;scroll-up = i3wm-wsnext + +;scroll-down = i3wm-wsprev + +cursor-click = pointer +cursor-scroll = ns-resize + +[module/round-right] +type = custom/text +content = %{T3}%{T-} +content-foreground = #81A1C1 + +[module/xwindow] +type = internal/xwindow + +label = %title:..% +label-maxlen = 20 +label-foreground = #D8DEE9 +label-padding = 1 + +; Used instead of label when there is no window title +label-empty = "Desktop" +label-empty-foreground = ${color.blue-light} +label-empty-padding = 2 + +[module/filesystem] +type = internal/fs +interval = 25 +mount-0 = / +label-foreground = #88c0d0 +label-mounted = %{F#88C0D0}%mountpoint%%{F-}: %percentage_used% %{F#99C0D0} +label-unmounted = %mountpoint% not mounted +label-mounted-underline = #88c0d0 + +[module/bspwm] +type = internal/bspwm + +pin-workspaces = true +inline-mode = true +enable-click = true +enable-scroll = true +reverse-scroll = false + +format = + +ws-icon-0 =1;%{F#4C566A}󰣇 +ws-icon-1 =2;%{F#4C566A}󰊯 +ws-icon-2 =3;%{F#4C566A}󰅭 +ws-icon-3 =4;%{F#4C566A}󰔁 +ws-icon-4 =5;%{F#4C566A}󰎆 +ws-icon-5 =6;%{F#4C566A}󰊠 + +label-focused = %icon% +label-focused-background= #81a1c1 +label-focused-padding = 1 + +label-occupied = %icon% +label-occupied-padding = 1 +label-occupied-foreground = #4C566A + +label-urgent = %icon% +;label-urgent-background = ${colors.alert} +label-urgent-padding = 1 +label-urgent-background = #f19cd7 + +label-empty = %icon% +label-empty-foreground = #D8DEE9 +label-empty-padding = 1 + +; Separator in between workspaces + label-separator = " " + +[module/i3] +type = internal/i3 +format = +index-sort = true +wrapping-scroll = false + +; Only show workspaces on the same output as the bar +;pin-workspaces = true + +label-mode-padding = 2 +label-mode-foreground = #000 +label-mode-background = ${colors.primary} + +; focused = Active workspace on focused monitor +label-focused = %index% +label-focused-background = ${colors.background-alt} +label-focused-underline= ${colors.primary} +label-focused-padding = 2 + +; unfocused = Inactive workspace on any monitor +label-unfocused = %index% +label-unfocused-padding = 2 + +; visible = Active workspace on unfocused monitor +label-visible = %index% +label-visible-background = ${self.label-focused-background} +label-visible-underline = ${self.label-focused-underline} +label-visible-padding = ${self.label-focused-padding} + +; urgent = Workspace with urgency hint set +label-urgent = %index% +label-urgent-background = ${colors.alert} +label-urgent-padding = 2 + +; Separator in between workspaces +; label-separator = | +[module/menu] +type = custom/text +content = レックス +content-background = #81A1C1 +content-foreground = #4C566A +click-left = dmenu_run -l 17 -p RUN +;content-underline = #4C566A +content-padding= 1 + +[module/powermenu] +type = custom/text +content = 󰐥 +click-left = ~/.config/polybar/scripts/dmenu.sh & +;content-background = #B48EAD +content-foreground = #B48EAD +content-padding = 1 + +[module/cpu] +type = internal/cpu +interval = 2 +format-prefix = "󰻟 " +format-prefix-foreground = #d08770 +format-underline = #d08770 +label = %percentage%% +label-foreground = #d08770 +label-padding = 1 +format-margin = 1 + +[module/mem] +type = custom/script +exec = free -m | sed -n 's/^Mem:\s\+[0-9]\+\s\+\([0-9]\+\)\s.\+/\1/p' +format =