diff --git a/.config/bspwm/bspwmrc b/.config/bspwm/bspwmrc new file mode 100755 index 0000000..9f7a031 --- /dev/null +++ b/.config/bspwm/bspwmrc @@ -0,0 +1,34 @@ +#! /bin/sh + +pgrep -x sxhkd > /dev/null || sxhkd & + +bspc monitor -d 1 2 3 4 5 6 7 8 9 0 +#           + +bspc config border_width 2 + +bspc config active_border_color "#44475a" +bspc config normal_border_color "#282a36" +bspc config focused_border_color "#ff5555" + +bspc config window_gap 12 + +bspc config split_ratio 0.52 +bspc config borderless_monocle true +bspc config gapless_monocle true + +bspc rule -a Gimp desktop='^8' state=floating follow=on +bspc rule -a Chromium desktop='^2' +bspc rule -a mplayer2 state=floating +bspc rule -a Kupfer.py focus=on +bspc rule -a Screenkey manage=off + +#Startup + +$HOME/.config/polybar/launch.sh +$HOME/Scripts/startup/touchpad.sh +$HOME/Scripts/startup/wifi.sh + +picom & + +setxkbmap -layout us,fi,ru diff --git a/.config/polybar/polybar/bars.ini b/.config/polybar/polybar/bars.ini new file mode 100644 index 0000000..b9f055c --- /dev/null +++ b/.config/polybar/polybar/bars.ini @@ -0,0 +1,431 @@ +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ +;; +;; ____ +;; / __ )____ ___________ +;; / __ / __ `/ ___/ ___/ +;; / /_/ / /_/ / / (__ ) +;; /_____/\__,_/_/ /____/ +;; +;; Created By Aditya Shakya @adi1090x +;; +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/volume] +type = internal/alsa + +format-volume = +format-volume-background = ${color.mf} +format-volume-foreground = ${color.fg} +format-volume-padding = 1 + +format-muted = +format-muted-background = ${color.mf} +format-muted-foreground = ${color.red} +format-muted-padding = 1 + +label-volume = %percentage%% + +label-muted = "Muted" + +bar-volume-width = 10 +bar-volume-gradient = false + +bar-volume-indicator = +bar-volume-indicator-foreground = ${color.fg} +bar-volume-indicator-font = 2 + +bar-volume-fill = ━ +bar-volume-foreground-0 = ${color.bn} +bar-volume-foreground-1 = ${color.bn} +bar-volume-foreground-2 = ${color.bn} +bar-volume-foreground-3 = ${color.bn} +bar-volume-foreground-4 = ${color.bm} +bar-volume-foreground-5 = ${color.bm} +bar-volume-foreground-6 = ${color.bm} +bar-volume-foreground-7 = ${color.bd} +bar-volume-foreground-8 = ${color.bd} +bar-volume-fill-font = 2 + +bar-volume-empty = ┉ +bar-volume-empty-foreground = ${color.fg} +bar-volume-empty-font = 2 + +[module/volume_i] +type = internal/alsa + +format-volume = +format-volume-background = ${color.blue} +format-volume-foreground = ${color.fg} +format-volume-padding = 1 + +format-muted-background = ${color.blue} +format-muted-foreground = ${color.red} +format-muted-padding = 1 + +label-muted = "" +label-muted-foreground = ${color.fg} + +ramp-volume-0 =  +ramp-volume-1 =  +ramp-volume-2 =  +ramp-volume-3 =  +ramp-volume-4 =  +ramp-headphones-0 =  +ramp-headphones-1 =  + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/brightness] +type = internal/xbacklight + +card = intel_backlight + +format = +format-background = ${color.mf} +format-foreground = ${color.fg} +format-padding = 1 + +bar-width = 10 +bar-gradient = false + +bar-indicator = +bar-indicator-foreground = ${color.mf} +bar-indicator-font = 2 + +bar-fill = ━ +bar-foreground-0 = ${color.bn} +bar-foreground-1 = ${color.bn} +bar-foreground-2 = ${color.bn} +bar-foreground-3 = ${color.bm} +bar-foreground-4 = ${color.bm} +bar-foreground-5 = ${color.bd} +bar-foreground-6 = ${color.bd} +bar-foreground-7 = ${color.bd} +bar-foreground-8 = ${color.bd} +bar-fill-font = 2 + +bar-empty = ┉ +bar-empty-foreground = ${color.fg} +bar-empty-font = 2 + +[module/brightness_i] +type = internal/xbacklight + +card = intel_backlight + +format = +format-background = ${color.lime} +format-foreground = ${color.fg} +format-padding = 1 + +ramp-0 =  +ramp-1 =  +ramp-2 =  +ramp-3 =  +ramp-4 =  + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/battery_bar] +type = internal/battery + +full-at = 99 + +battery = BAT1 +adapter = ACAD + +poll-interval = 2 +time-format = %H:%M + +format-charging = +format-charging-background = ${color.mf} +format-charging-foreground = ${color.fg} +format-charging-padding = 1 + +format-discharging = +format-discharging-background = ${color.mf} +format-discharging-foreground = ${color.fg} +format-discharging-padding = 1 + +label-full = Fully Charged +label-full-foreground = ${color.fg} +label-full-background = ${color.mf} +label-full-padding = 1 + +bar-capacity-width = 10 +bar-capacity-gradient = false + +bar-capacity-indicator = +bar-capacity-indicator-foreground = ${color.fg} +bar-capacity-indicator-font = 2 + +bar-capacity-fill = ━ +bar-capacity-foreground-0 = ${color.bd} +bar-capacity-foreground-1 = ${color.bd} +bar-capacity-foreground-2 = ${color.bd} +bar-capacity-foreground-3 = ${color.bm} +bar-capacity-foreground-4 = ${color.bm} +bar-capacity-foreground-5 = ${color.bm} +bar-capacity-foreground-6 = ${color.bm} +bar-capacity-foreground-7 = ${color.bn} +bar-capacity-foreground-8 = ${color.bn} +bar-capacity-fill-font = 2 + +bar-capacity-empty = ┉ +bar-capacity-empty-foreground = ${color.fg} +bar-capacity-empty-font = 2 + +[module/battery_bar_i] +type = internal/battery + +full-at = 99 +battery = BAT1 +adapter = ACAD + +poll-interval = 2 + +time-format = %H:%M + +format-charging = +format-charging-background = ${color.green} +format-charging-foreground = ${color.fg} +format-charging-padding = 1 + +format-discharging = +format-discharging-background = ${color.pink} +format-discharging-foreground = ${color.fg} +format-discharging-padding = 1 + +label-charging = %percentage%% +label-discharging = %percentage%% + +label-full =  +label-full-background = ${color.green} +label-full-foreground = ${color.fg} +label-full-padding = 1 + +ramp-capacity-0 =  +ramp-capacity-1 =  +ramp-capacity-2 =  +ramp-capacity-3 =  + +animation-charging-0 =  +animation-charging-1 =  +animation-charging-2 =  +animation-charging-3 =  + +animation-charging-framerate = 750 + +;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ + +[module/cpu_bar] +type = internal/cpu + +interval = 0.5 + +format =