Yet Another BSPWM Rice

This commit is contained in:
trueold89 2023-08-08 13:11:15 +03:00
commit 90ce724185
Signed by: trueold89
GPG Key ID: C122E85DD49E6B30
34271 changed files with 198037 additions and 0 deletions

46
Dots/.config/bspwm/bspwmrc Executable file
View File

@ -0,0 +1,46 @@
#!/bin/bash
#############
# Autostart #
#############
#SXHKD
pgrep -x sxhkd > /dev/null || sxhkd &
#Dunst
dunst -b &
##############
# Appearance #
##############
#Wallpaper
feh --bg-fill ~/.wall.jpg &
#Polybar
~/.config/polybar/launch.sh &
#Picom
picom --experimental-backends --backend glx -b &
#Cursor
xsetroot -cursor_name left_ptr
##############
# BSPC #
##############
#Workspaces
bspc monitor -d 1 2 3 4 5 6 7 8 9
#Borders and gaps
bspc config border_width 0
bspc config window_gap 15
bspc config split_ratio 0.5
bspc config gapless_monocle false
bspc config paddingless_monocle true
bspc config automatic_scheme spiral
#Mouse
bspc config focus_follows_pointer true
bspc config pointer_modifier super

254
Dots/.config/dunst/dunstrc Executable file
View File

@ -0,0 +1,254 @@
[global]
###########
# Monitor #
###########
monitor = 0
follow = none
############
# Geometry #
############
width = 250
height = 120
origin = top-right
offset = 10x50
scale = 0
notification_limit = 3
corner_radius = 12
###############
# ProgressBar #
###############
progress_bar = false
progress_bar_height = 10
progress_bar_frame_width = 1
progress_bar_min_width = 150
progress_bar_max_width = 300
progress_bar_corner_radius = 0
#############
# Different #
#############
icon_corner_radius = 6
indicate_hidden = yes
transparency = 20
sort = yes
markup = full
show_age_threshold = 25
ellipsize = middle
ignore_newline = no
stack_duplicates = true
hide_duplicate_count = true
browser = /usr/bin/firefox
always_run_script = true
title = Dunst
class = Dunst
show_indicators = no
ignore_dbusclose = false
###########
# Padding #
###########
separator_color = frame
separator_height = 2
padding = 8
horizontal_padding = 8
text_icon_padding = 0
line_height = 0
#########
# Frame #
#########
frame_width = 2
frame_color = "#FFFFFF"
gap_size = 0
########
# Text #
########
font = Montserrat 12
format = "<b>%s</b>\n%b"
alignment = left
vertical_alignment = center
#########
# Icons #
#########
enable_recursive_icon_lookup = true
icon_theme = Colloid-grey-dracula-dark, Adwaita
icon_position = left
min_icon_size = 16
max_icon_size = 32
icon_path = ~/.local/share/icons/Colloid-grey-dracula-dark/16/status/:~/.local/share/icons/Colloid-grey-dracula-dark/16/devices/
###########
# History #
###########
sticky_history = yes
history_length = 20
#########
# Mouse #
#########
mouse_left_click = close_current
mouse_middle_click = do_action, close_current
mouse_right_click = close_all
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#202020"
foreground = "#ffffff"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_normal]
background = "#202020"
foreground = "#ffffff"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#default_icon = /path/to/icon
[urgency_critical]
background = "#202020"
foreground = "#ffffff"
frame_color = "#AC3131"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#default_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# icon_position
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
# hide_text
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View File

@ -0,0 +1,18 @@
##########
# Colors #
##########
background #202020
background_opacity 0.8
foreground #EAEAEA
font_size 14.0
selection_background #424242
selection_foreground #FFFFFF
cursor #FFFFFF
#########
# Fonts #
#########
font_family MesloLGS NF
font_size 15

44
Dots/.config/picom.conf Normal file
View File

@ -0,0 +1,44 @@
##############
# Animations #
##############
#Need: https://github.com/kiosion/picom or other picom fork with animations support
animations = true;
animation-for-open-window = "zoom";
animation-for-menu-window = "zoom";
###########
# Corners #
###########
corner-radius = 12;
rounded-corners-exclude = [ "class_g = 'Polybar'", "class_g = 'Dunst'" ];
###########
# Backend #
###########
vsync = true;
###########
# Opacity #
###########
inactive-opacity = 1;
active-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
########
# Blur #
########
blur: {
method = "dual_kawase";
strength = 8;
deviation =1.0;
background = false;
background-frame = false;
background-fixed = false;
kern = "3x3box";
}

View File

@ -0,0 +1,11 @@
;;;;;;;;;;;;;;;;;;
; Polybar Colors ;
;;;;;;;;;;;;;;;;;;
[color]
bg = #aa202020
fg = #EAEAEA
fg-alt = #424242
trans = #00000000
white = #FFFFFF
black = #000000

View File

@ -0,0 +1,110 @@
;;;;;;;;;;;;;;;
; WM Settings ;
;;;;;;;;;;;;;;;
[global/wm]
margin-bottom = 0
margin-top = 0
wm-name = bspwm
wm-restack = bspwm
enable-ipc = true
;;;;;;;;;;;
; Include ;
;;;;;;;;;;;
include-file = ~/.config/polybar/modules.ini
include-file = ~/.config/polybar/colors.ini
;;;;;;;;;;;;;;;;
; Bar Position ;
;;;;;;;;;;;;;;;;
[bar/main]
monitor =
monitor-fallback =
monitor-strict = false
override-redirect = false
bottom = false
fixed-center = true
width = 100%
height = 30
offset-x = 0
offset-y = 0
radius-top = 0.0
radius-bottom = 0.0
padding = 3
;;;;;;;;;;;;;;;;;;;;
; Colors and Fonts ;
;;;;;;;;;;;;;;;;;;;;
background = ${color.bg}
foreground = ${color.fg}
pseudo-transparency = true
font-0 = "Montserrat-ExtraBold:size=12;3"
font-1 = "Iosevka Nerd Font:size=12;3"
;;;;;;;;;;;
; Modules ;
;;;;;;;;;;;
module-margin-left = 3
module-margin-right = 3
modules-left = workspaces
modules-center = date
modules-right = keyboard
;;;;;;;;
; Tray ;
;;;;;;;;
tray-position = right
tray-detached = false
tray-maxsize = 16
tray-background = ${color.bg}
tray-offset-x = 0
tray-offset-y = 0
tray-padding = 0
tray-scale = 1.0
;;;;;;;;;;;;
; Controls ;
;;;;;;;;;;;;
scroll-up = bspwm-desknext
scroll-down = bspwm-deskprev
click-left =
click-middle =
click-right =
double-click-left =
double-click-middle =
double-click-right =
;;;;;;;;;;;;;;;;;;;;;;;;
; Application Settings ;
;;;;;;;;;;;;;;;;;;;;;;;;
[settings]
throttle-output = 5
throttle-output-for = 10
screenchange-reload = false
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over

3
Dots/.config/polybar/launch.sh Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/bash
killall -q polybar
polybar -q main -c ~/.config/polybar/config.ini &

View File

@ -0,0 +1,127 @@
[module/date]
type = internal/date
; Seconds to sleep between updates
interval = 1.0
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
;;date = %Y-%m-%d%
; Optional time format
time = "%H:%M"
; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
;;date-alt = %A, %d %B %Y
time-alt = "%a, %d %b %Y"
; Available tags:
; <label> (default)
format = <label>
; Available tokens:
; %date%
; %time%
; Default: %date%
label = %time%
[module/workspaces]
type = internal/xworkspaces
; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false
; Create click handler used to focus desktop
; Default: true
enable-click = true
; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = true
; icon-[0-9]+ = <desktop-name>;<icon>
; NOTE: The desktop name needs to match the name configured by the WM
; You can get a list of the defined desktops using:
; $ xprop -root _NET_DESKTOP_NAMES
icon-default =
; Available tags:
; <label-monitor>
; <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
; Default: <label-state>
format = <label-state>
format-padding = 1
format-background = ${color.bg}
; Available tokens:
; %name%
; Default: %name%
label-monitor = %name%
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-active =
label-active-foreground = ${color.fg}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-occupied =
label-occupied-foreground = ${color.fg}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-urgent =
label-urgent-foreground = ${color.bg}
; Available tokens:
; %name%
; %icon%
; %index%
; Default: %icon% %name%
label-empty =
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-padding = 1
[module/keyboard]
type = internal/xkeyboard
; List of indicators to ignore
blacklist-0 = num lock
blacklist-1 = scroll lock
; Available tags:
; <label-layout> (default)
; <label-indicator> (default)
format = <label-layout> <label-indicator>
; Available tokens:
; %layout%
; %name%
; %number%
; Default: %layout%
label-layout = " %layout%"
; Available tokens:
; %name%
; Default: %name%
label-indicator-on = %name%
label-indicator-on-foreground = ${color.primary}

BIN
Dots/.config/rofi/bg.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

BIN
Dots/.config/rofi/bgalt.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 533 KiB

View File

@ -0,0 +1,174 @@
/*****----- Configuration -----*****/
configuration {
modi: "drun,run";
show-icons: true;
drun-display-format: "{name}";
window-format: "{w} · {c} · {t}";
}
/*****----- Global Properties -----*****/
* {
font: "Montsserat Medium 10";
/*****-----background: #202020;-----*****/
background: rgba(32, 32, 32, 0.7);
background-alt: #424242;
foreground: #FFFFFF;
selected: #191919;
active: #a6e3a1;
urgent: #a6e3a1;
}
/*****----- Main Window -----*****/
window {
/* properties for window widget */
transparency: "real";
location: center;
anchor: center;
fullscreen: false;
width: 1000px;
x-offset: 0px;
y-offset: 0px;
/* properties for all widgets */
enabled: true;
border-radius: 12px;
cursor: "default";
background-color: @background;
}
/*****----- Main Box -----*****/
mainbox {
enabled: true;
spacing: 0px;
background-color: transparent;
orientation: horizontal;
children: [ "imagebox", "listbox" ];
}
imagebox {
padding: 20px;
background-color: transparent;
background-image: url("~/.config/rofi/bg.jpg", height);
orientation: vertical;
children: [ "inputbar" ];
}
listbox {
spacing: 20px;
padding: 20px;
background-color: transparent;
orientation: vertical;
children: [ "message", "listview" ];
}
/*****----- Inputbar -----*****/
inputbar {
enabled: true;
spacing: 10px;
padding: 15px;
border-radius: 10px;
background-color: @background-alt;
text-color: @foreground;
children: [ "textbox-prompt-colon", "entry" ];
}
textbox-prompt-colon {
enabled: true;
expand: false;
str: "";
background-color: inherit;
text-color: inherit;
}
entry {
enabled: true;
background-color: inherit;
text-color: inherit;
cursor: text;
placeholder: "Search";
placeholder-color: inherit;
}
/*****----- Listview -----*****/
listview {
enabled: true;
columns: 1;
lines: 8;
cycle: true;
dynamic: true;
scrollbar: false;
layout: vertical;
reverse: false;
fixed-height: true;
fixed-columns: true;
spacing: 10px;
background-color: transparent;
text-color: @foreground;
cursor: "default";
}
/*****----- Elements -----*****/
element {
enabled: true;
spacing: 15px;
padding: 8px;
border-radius: 10px;
background-color: transparent;
text-color: @foreground;
cursor: pointer;
}
element normal.normal {
background-color: inherit;
text-color: inherit;
}
element normal.urgent {
background-color: @urgent;
text-color: @foreground;
}
element normal.active {
background-color: @active;
text-color: @foreground;
}
element selected.normal {
background-color: @selected;
text-color: @foreground;
}
element selected.urgent {
background-color: @urgent;
text-color: @foreground;
}
element selected.active {
background-color: @urgent;
text-color: @foreground;
}
element-icon {
background-color: transparent;
text-color: inherit;
size: 32px;
cursor: inherit;
}
element-text {
background-color: transparent;
text-color: inherit;
cursor: inherit;
vertical-align: 0.5;
horizontal-align: 0.0;
}
/*****----- Message -----*****/
message {
background-color: transparent;
}
textbox {
padding: 15px;
border-radius: 10px;
background-color: @background-alt;
text-color: @foreground;
vertical-align: 0.5;
horizontal-align: 0.0;
}
error-message {
padding: 15px;
border-radius: 20px;
background-color: @background;
text-color: @foreground;
}

59
Dots/.config/sxhkd/sxhkdrc Executable file
View File

@ -0,0 +1,59 @@
########
# Apps #
########
#Rofi
super + Tab
rofi -show drun -theme ~/.config/rofi/default.rasi
#Kitty
super {_,shift} + Return
{kitty,kitty tmux attach}
#################
# BSPWM Control #
#################
#SmartMove
super + shift + {h,j,k,l}
bspc node -s {east,west,north,south}
#Presel
super + ctrl + {h,j,k,l}
bspc node --presel-dir {east,west,north,south}
#Quit / Restart
super + shift + {e,r}
bspc {quit,wm -r}
super + shift + c
pkill -USR1 -x sxhkd
#Close
super + shift + q
bspc node -c
#Monocle mode
super + shift + m
bspc desktop -l next
#Change window state
super + {r,space,f}
bspc node -t {tiled,floating,fullscreen}
#Change window flags
super + ctrl + {z,x,c}
bspc node -g {marked,locked,sticky}
#Media
{XF86AudioPlay,XF86AudioPause,XF86AudioPrev,XF86AudioNext}
playerctl {play,pause,previous,next}
#Switch windows
super + {_,shift + }{Left,Down,Up,Right}
bspc node -{f,s} {west,south,north,east}
#Workspaces
super + bracket{left,right}
bspc desktop -f {prev,next}.local
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}' --follow

View File

@ -0,0 +1,20 @@
################
# Main Options #
################
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
###########
# Plugins #
###########
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dreamsofcode-io/catppuccin-tmux'
run '~/.tmux/plugins/tpm/tpm'
#Catppuccin settings
set -g @catppuccin_flavour 'latte'

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,3 @@
[Icon Theme]
Name=Bibata-Modern-Classic
Inherits="Bibata-Modern-Classic"

View File

@ -0,0 +1 @@
left_ptr_watch

View File

@ -0,0 +1 @@
sb_v_double_arrow

View File

@ -0,0 +1 @@
sb_h_double_arrow

View File

@ -0,0 +1 @@
crossed_circle

View File

@ -0,0 +1 @@
left_ptr_watch

View File

@ -0,0 +1 @@
sb_h_double_arrow

View File

@ -0,0 +1 @@
sb_v_double_arrow

View File

@ -0,0 +1 @@
left_ptr_watch

View File

@ -0,0 +1 @@
question_arrow

Binary file not shown.

View File

@ -0,0 +1 @@
dnd-link

View File

@ -0,0 +1 @@
move

View File

@ -0,0 +1 @@
left_ptr

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
bd_double_arrow

View File

@ -0,0 +1 @@
plus

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
grabbing

View File

@ -0,0 +1 @@
sb_h_double_arrow

View File

@ -0,0 +1 @@
tcross

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
cross

Binary file not shown.

View File

@ -0,0 +1 @@
question_arrow

View File

@ -0,0 +1 @@
left_ptr

View File

@ -0,0 +1 @@
cross

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
grabbing

View File

@ -0,0 +1 @@
grabbing

Binary file not shown.

View File

@ -0,0 +1 @@
dotbox

Binary file not shown.

View File

@ -0,0 +1 @@
sb_v_double_arrow

View File

@ -0,0 +1 @@
sb_down_arrow

View File

@ -0,0 +1 @@
pencil

View File

@ -0,0 +1 @@
right_ptr

View File

@ -0,0 +1 @@
right_ptr

View File

@ -0,0 +1 @@
dotbox

View File

@ -0,0 +1 @@
right_side

View File

@ -0,0 +1 @@
sb_h_double_arrow

View File

@ -0,0 +1 @@
fd_double_arrow

View File

@ -0,0 +1 @@
grabbing

Some files were not shown because too many files have changed in this diff Show More