Add files via upload

added onedark dotfiles
This commit is contained in:
Mangeshrex 2021-05-28 19:29:05 +05:30 committed by GitHub
parent 8204d78df2
commit b8745a2ec8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 1346 additions and 0 deletions

View file

@ -0,0 +1,103 @@
# Font configuration (changes require restart)
font:
# The normal (roman) font face to use.
normal:
family: Victor Mono Bold Nerd Font Complete Mono
# Style can be specified to pick a specific face.
style: Regular
# The bold font face
bold:
family: Victor Mono Bold Nerd Font Complete Mono
# Style can be specified to pick a specific face. style: Bold
# The italic font face
italic:
family: Victor Mono Bold Nerd Font Complete Mono
# Style can be specified to pick a specific face. style: Italic
size: 9.8
# Background Opacity
background_opacity: 1.0
env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use `alacritty` if it is
# available, otherwise `xterm-256color` is used.
TERM: xterm-256color
window:
# Window dimensions (changes require restart)
#
# Specified in number of columns/lines, not pixels.
# If both are `0`, this setting is ignored.
#dimensions:
# columns: 0
# lines: 0
# Window position (changes require restart)
#
# Specified in number of pixels.
# If the position is not set, the window manager will handle the placement.
#position:
# x: 0
# y: 0
# Window padding (changes require restart)
#
# Blank space added around the window in pixels. This padding is scaled
# by DPI and the specified value is always added at both opposing sides.
padding:
x: 10
y: 10
scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
history: 5000
# Base16 Material Palenight 256 - alacritty color config
# Nate Peterson
colors:
# Default colors
primary:
background: '0x1e222a'
foreground: '0x979eab'
# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0x979eab'
cursor: '0x1a1b26'
# Normal colors
normal:
black: '0x353b45'
red: '0xe06c75'
green: '0x98c379'
yellow: '0xe5c07b'
blue: '0x61afef'
magenta: '0x9a7ecc'
cyan: '0x56b6c2'
white: '0xabb2bf'
# Bright colors
bright:
black: '0x393e48'
red: '0xe06c75'
green: '0x98c379'
yellow: '0xe5c07b'
blue: '0x61afef'
magenta: '0x9a7ecc'
cyan: '0x56b6c2'
white: '0xabb2bf'
indexed_colors:
- { index: 16, color: '0xf78c6c' }
- { index: 17, color: '0xff5370' }
- { index: 18, color: '0x444267' }
- { index: 19, color: '0x32374d' }
- { index: 20, color: '0x8796b0' }
- { index: 21, color: '0x959dcb' }

454
onedark/bashrc Normal file
View file

@ -0,0 +1,454 @@
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
alias ls='logo-ls'
alias la='logo-ls -A'
alias ll='logo-ls -al'
alias cs='colorscript -e'
alias neo='neofetch'
alias wall='xwallpaper --zoom'
alias ssh='TERM=xterm-color ssh -C -4'
alias mocp='mocp -T transparent-background'
PS1='\e[1;31m󰮯 \e[0m\w \e[1;34m󰄾 \e[0m'
LARIZA_ACCEPTED_LANGUAGE=en-US
LARIZA_DOWNLOAD_DIR=/var/tmp
LARIZA_ENABLE_CONSOLE_TO_STDOUT=
LARIZA_FIFO_SUFFIX=/var/run/user/$UID/lariza.fifo-$LARIZA_FIFO_SUFFIX
LARIZA_HISTORY_FILE=
LARIZA_HOME_URI=about:blank
LARIZA_TAB_POS=top
LARIZA_TAB_WIDTH_CHARS=20
LARIZA_USER_AGENT=
LARIZA_ZOOM=1.0
#NIkks Prompt
#PS1="\n\[\e[32;1m\](\[\e[37;1m\]\u\[\e[32;1m\])-(\`if [ \$? = 0 ]; then echo \[\e[33m\]^_^\[\e[0m\]; else echo \[\e[31m\]O_O\[\e[0m\]; fi\`)-(\[\e[37;1m\]\w\[\e[32;1m\])\n(\[\[\e[37;1m\]! \!\[\e[32;1m\])-> \[\e[0m\]"
if type rg &> /dev/null; then
export FZF_DEFAULT_COMMAND='rg --files'
export FZF_DEFAULT_OPTS='-m --height 50% --border'
fi
. "$HOME/.cargo/env"
rfetch
#!/bin/sh
## +-----------------------------------+-----------------------------------+
## | |
## | FANCY BASH PROMT |
## | |
## | Copyright (c) 2018, Andres Gongora <mail@andresgongora.com>. |
## | |
## | This program is free software: you can redistribute it and/or modify |
## | it under the terms of the GNU General Public License as published by |
## | the Free Software Foundation, either version 3 of the License, or |
## | (at your option) any later version. |
## | |
## | This program is distributed in the hope that it will be useful, |
## | but WITHOUT ANY WARRANTY; without even the implied warranty of |
## | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
## | GNU General Public License for more details. |
## | |
## | You should have received a copy of the GNU General Public License |
## | along with this program. If not, see <http://www.gnu.org/licenses/>. |
## | |
## +-----------------------------------------------------------------------+
##
## DESCRIPTION:
## This script updates your "PS1" environment variable to display colors.
## Addicitionally, it also shortens the name of your current part to maximum
## 25 characters, which is quite useful when working in deeply nested folders.
##
##
##
## INSTALLATION:
## Copy this script to your home folder and rename it to ".fancy-bash-promt.sh"
## Run this command from any terminal:
## echo "source ~/.fancy-bash-promt.sh" >> ~/.bashrc
##
## Alternatively, copy the content of this file into your .bashrc file
##
##
##
## FUNCTIONS:
##
## * bash_prompt_command()
## This function takes your current working directory and stores a shortened
## version in the variable "NEW_PWD".
##
## * format_font()
## A small helper function to generate color formating codes from simple
## number codes (defined below as local variables for convenience).
##
## * bash_prompt()
## This function colorizes the bash promt. The exact color scheme can be
## configured here. The structure of the function is as follows:
## 1. A. Definition of available colors for 16 bits.
## 1. B. Definition of some colors for 256 bits (add your own).
## 2. Configuration >> EDIT YOUR PROMT HERE<<.
## 4. Generation of color codes.
## 5. Generation of window title (some terminal expect the first
## part of $PS1 to be the window title)
## 6. Formating of the bash promt ($PS1).
##
## * Main script body:
## It calls the adequate helper functions to colorize your promt and sets
## a hook to regenerate your working directory "NEW_PWD" when you change it.
##
################################################################################
## FUNCTIONS ##
################################################################################
##
## ARRANGE $PWD AND STORE IT IN $NEW_PWD
## * The home directory (HOME) is replaced with a ~
## * The last pwdmaxlen characters of the PWD are displayed
## * Leading partial directory names are striped off
## /home/me/stuff -> ~/stuff (if USER=me)
## /usr/share/big_dir_name -> ../share/big_dir_name (if pwdmaxlen=20)
##
## Original source: WOLFMAN'S color bash promt
## https://wiki.chakralinux.org/index.php?title=Color_Bash_Prompt#Wolfman.27s
##
bash_prompt_command() {
# How many characters of the $PWD should be kept
local pwdmaxlen=25
# Indicate that there has been dir truncation
local trunc_symbol=".."
# Store local dir
local dir=${PWD##*/}
# Which length to use
pwdmaxlen=$(( ( pwdmaxlen < ${#dir} ) ? ${#dir} : pwdmaxlen ))
NEW_PWD=${PWD/#$HOME/\~}
local pwdoffset=$(( ${#NEW_PWD} - pwdmaxlen ))
# Generate name
if [ ${pwdoffset} -gt "0" ]
then
NEW_PWD=${NEW_PWD:$pwdoffset:$pwdmaxlen}
NEW_PWD=${trunc_symbol}/${NEW_PWD#*/}
fi
}
##
## GENERATE A FORMAT SEQUENCE
##
format_font()
{
## FIRST ARGUMENT TO RETURN FORMAT STRING
local output=$1
case $# in
2)
eval $output="'\[\033[0;${2}m\]'"
;;
3)
eval $output="'\[\033[0;${2};${3}m\]'"
;;
4)
eval $output="'\[\033[0;${2};${3};${4}m\]'"
;;
*)
eval $output="'\[\033[0m\]'"
;;
esac
}
##
## COLORIZE BASH PROMT
##
bash_prompt() {
############################################################################
## COLOR CODES ##
## These can be used in the configuration below ##
############################################################################
## FONT EFFECT
local NONE='0'
local BOLD='1'
local DIM='2'
local UNDERLINE='4'
local BLINK='5'
local INVERT='7'
local HIDDEN='8'
## COLORS
local DEFAULT='9'
local BLACK='0'
local RED='1'
local GREEN='2'
local YELLOW='3'
local BLUE='4'
local MAGENTA='5'
local CYAN='6'
local L_GRAY='7'
local D_GRAY='60'
local L_RED='61'
local L_GREEN='62'
local L_YELLOW='63'
local L_BLUE='64'
local L_MAGENTA='65'
local L_CYAN='66'
local WHITE='67'
## TYPE
local RESET='0'
local EFFECT='0'
local COLOR='30'
local BG='40'
## 256 COLOR CODES
local NO_FORMAT="\[\033[0m\]"
local ORANGE_BOLD="\[\033[1;38;5;208m\]"
local TOXIC_GREEN_BOLD="\[\033[1;38;5;118m\]"
local RED_BOLD="\[\033[1;38;5;1m\]"
local CYAN_BOLD="\[\033[1;38;5;87m\]"
local BLACK_BOLD="\[\033[1;38;5;0m\]"
local WHITE_BOLD="\[\033[1;38;5;15m\]"
local GRAY_BOLD="\[\033[1;90m\]"
local BLUE_BOLD="\[\033[1;38;5;74m\]"
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## CONFIGURE HERE ##
############################################################################
## CONFIGURATION ##
## Choose your color combination here ##
############################################################################
local FONT_COLOR_1=$BLACK
local BACKGROUND_1=$BLUE
local TEXTEFFECT_1=$BOLD
local FONT_COLOR_2=$BLACK
local BACKGROUND_2=$WHITE
local TEXTEFFECT_2=$BOLD
local FONT_COLOR_3=$WHITE
local BACKGROUND_3=$BLACK
local TEXTEFFECT_3=$BOLD
local PROMT_FORMAT=$WHITE_BOLD
############################################################################
## EXAMPLE CONFIGURATIONS ##
## I use them for different hosts. Test them out ;) ##
############################################################################
## CONFIGURATION: BLUE-WHITE
if [ "$HOSTNAME" = dell ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLUE; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$L_BLUE; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$D_GRAY; BACKGROUND_3=$WHITE; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$CYAN_BOLD
fi
## CONFIGURATION: BLACK-RED
if [ "$HOSTNAME" = giraff6 ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$WHITE; BACKGROUND_3=$RED; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$RED_BOLD
fi
## CONFIGURATION: RED-BLACK
#FONT_COLOR_1=$WHITE; BACKGROUND_1=$RED; TEXTEFFECT_1=$BOLD
#FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
#FONT_COLOR_3=$WHITE; BACKGROUND_3=$BLACK; TEXTEFFECT_3=$BOLD
#PROMT_FORMAT=$RED_BOLD
## CONFIGURATION: CYAN-BLUE
if [ "$HOSTNAME" = sharkoon ]; then
FONT_COLOR_1=$BLACK; BACKGROUND_1=$L_CYAN; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$L_BLUE; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$WHITE; BACKGROUND_3=$BLUE; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$CYAN_BOLD
fi
## CONFIGURATION: GRAY-SCALE
if [ "$HOSTNAME" = giraff ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$WHITE; BACKGROUND_3=$L_GRAY; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$BLACK_BOLD
fi
## CONFIGURATION: GRAY-CYAN
if [ "$HOSTNAME" = light ]; then
FONT_COLOR_1=$WHITE; BACKGROUND_1=$BLACK; TEXTEFFECT_1=$BOLD
FONT_COLOR_2=$WHITE; BACKGROUND_2=$D_GRAY; TEXTEFFECT_2=$BOLD
FONT_COLOR_3=$BLACK; BACKGROUND_3=$L_CYAN; TEXTEFFECT_3=$BOLD
PROMT_FORMAT=$CYAN_BOLD
fi
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
############################################################################
## TEXT FORMATING ##
## Generate the text formating according to configuration ##
############################################################################
## CONVERT CODES: add offset
FC1=$(($FONT_COLOR_1+$COLOR))
BG1=$(($BACKGROUND_1+$BG))
FE1=$(($TEXTEFFECT_1+$EFFECT))
FC2=$(($FONT_COLOR_2+$COLOR))
BG2=$(($BACKGROUND_2+$BG))
FE2=$(($TEXTEFFECT_2+$EFFECT))
FC3=$(($FONT_COLOR_3+$COLOR))
BG3=$(($BACKGROUND_3+$BG))
FE3=$(($TEXTEFFECT_3+$EFFECT))
FC4=$(($FONT_COLOR_4+$COLOR))
BG4=$(($BACKGROUND_4+$BG))
FE4=$(($TEXTEFFECT_4+$EFFECT))
## CALL FORMATING HELPER FUNCTION: effect + font color + BG color
local TEXT_FORMAT_1
local TEXT_FORMAT_2
local TEXT_FORMAT_3
local TEXT_FORMAT_4
format_font TEXT_FORMAT_1 $FE1 $FC1 $BG1
format_font TEXT_FORMAT_2 $FE2 $FC2 $BG2
format_font TEXT_FORMAT_3 $FC3 $FE3 $BG3
format_font TEXT_FORMAT_4 $FC4 $FE4 $BG4
# GENERATE PROMT SECTIONS
local PROMT_USER=$"$TEXT_FORMAT_1 \u "
local PROMT_HOST=$"$TEXT_FORMAT_2 \h "
local PROMT_PWD=$"$TEXT_FORMAT_3 \${NEW_PWD} "
local PROMT_INPUT=$"$PROMT_FORMAT "
############################################################################
## SEPARATOR FORMATING ##
## Generate the separators between sections ##
## Uses background colors of the sections ##
############################################################################
## CONVERT CODES
TSFC1=$(($BACKGROUND_1+$COLOR))
TSBG1=$(($BACKGROUND_2+$BG))
TSFC2=$(($BACKGROUND_2+$COLOR))
TSBG2=$(($BACKGROUND_3+$BG))
TSFC3=$(($BACKGROUND_3+$COLOR))
TSBG3=$(($DEFAULT+$BG))
## CALL FORMATING HELPER FUNCTION: effect + font color + BG color
local SEPARATOR_FORMAT_1
local SEPARATOR_FORMAT_2
local SEPARATOR_FORMAT_3
format_font SEPARATOR_FORMAT_1 $TSFC1 $TSBG1
format_font SEPARATOR_FORMAT_2 $TSFC2 $TSBG2
format_font SEPARATOR_FORMAT_3 $TSFC3 $TSBG3
# GENERATE SEPARATORS WITH FANCY TRIANGLE
local TRIANGLE=$'\uE0B0'
local SEPARATOR_1=$SEPARATOR_FORMAT_1$TRIANGLE
local SEPARATOR_2=$SEPARATOR_FORMAT_2$TRIANGLE
local SEPARATOR_3=$SEPARATOR_FORMAT_3$TRIANGLE
############################################################################
## WINDOW TITLE ##
## Prevent messed up terminal-window titles ##
############################################################################
case $TERM in
xterm*|rxvt*)
local TITLEBAR='\[\033]0;\u:${NEW_PWD}\007\]'
;;
*)
local TITLEBAR=""
;;
esac
############################################################################
## BASH PROMT ##
## Generate promt and remove format from the rest ##
############################################################################
PS1="$TITLEBAR\n${PROMT_USER}${SEPARATOR_1}${PROMT_HOST}${SEPARATOR_2}${PROMT_PWD}${SEPARATOR_3}${PROMT_INPUT}"
## For terminal line coloring, leaving the rest standard
none="$(tput sgr0)"
trap 'echo -ne "${none}"' DEBUG
}
################################################################################
## MAIN ##
################################################################################
## Bash provides an environment variable called PROMPT_COMMAND.
## The contents of this variable are executed as a regular Bash command
## just before Bash displays a prompt.
## We want it to call our own command to truncate PWD and store it in NEW_PWD
PROMPT_COMMAND=bash_prompt_command
## Call bash_promnt only once, then unset it (not needed any more)
## It will set $PS1 with colors and relative to $NEW_PWD,
## which gets updated by $PROMT_COMMAND on behalf of the terminal
bash_prompt
unset bash_prompt
### EOF ###

38
onedark/bspwm/bspwmrc Normal file
View file

@ -0,0 +1,38 @@
#! /bin/sh
pgrep -x sxhkd > /dev/null || sxhkd &
bspc monitor -d I II III IV V VI VII
############Window Settings ####################
bspc config border_width 1
bspc config window_gap 5
bspc config focus_follows_pointer true
bspc config split_ratio 0.50
bspc config borderless_monocle false
bspc config gapless_monocle true
bspc config top_padding 20
########## Border Colors #################
bspc config focused_border_color "#353b45"
bspc config normal_border_color "#353b45"
######### Program settings ################
bspc rule -a spotify ='^5'
bspc rule -a TelegramDesktop desktop='^4'
bspc rule -a Firefox desktop='^2'
bspc rule -a Zathura state=tiled
dunst &
######### Other Settings ################
xsetroot -cursor_name left_ptr &
xbacklight -set 30
xinput set-prop 12 309 1
######## MY picom :) ###################
#picom --config ~/.config/picom/picom.conf --experimental-backends &
######## THe real beauty behind rice ####
xwallpaper --zoom ~/wall/forest1.png
######### My Bar ###############
polybar example -c ~/.config/polybar/config.ini

39
onedark/cava/config Normal file
View file

@ -0,0 +1,39 @@
[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 = '#abb2bf'
gradient_color_2 = '#61afef'
gradient_color_3 = '#e5c07b'
gradient_color_4 = '#98c379'
gradient_color_5 = '#e06c75'
gradient_color_6 = '#353b45'
[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 = 1
# 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 = 200

134
onedark/dunst/dunstrc Normal file
View file

@ -0,0 +1,134 @@
[global]
monitor = 0
follow = mouse
geometry = "300x60-20+48"
indicate_hidden = yes
shrink = no
separator_height = 0
padding = 10
horizontal_padding = 20
frame_width = 2
sort = no
idle_threshold = 120
font = Victor Mono Medium Oblique Nerd Font Complete Mono 8
line_height = 3
markup = full
format = %s\n%b
alignment = left
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
stack_duplicates = false
hide_duplicate_count = yes
show_indicators = no
icon_position = left
sticky_history = yes
history_length = 20
always_run_script = true
title = Dunst
class = Dunst
[shortcuts]
# Shortcuts are specified as [modifier+][modifier+]...key
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
# "mod3" and "mod4" (windows-key).
# Xev might be helpful to find names for keys.
# Close notification.
close = ctrl+space
# Close all notifications.
close_all = ctrl+shift+space
# Redisplay last message(s).
# On the US keyboard layout "grave" is normally above TAB and left
# of "1". Make sure this key actually exists on your keyboard layout,
# e.g. check output of 'xmodmap -pke'
history = ctrl+grave
# Context menu.
context = ctrl+shift+period
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#1e222a"
foreground = "#979eab"
timeout = 2
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#1e222a"
foreground = "#979eab"
timeout = 4
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#1e222a"
foreground = "#979eab"
frame_color = "#e06c75"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
#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", "summary", "body", "icon", "category",
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
# "background", "new_icon" and "format".
# Shell-like globbing will get expanded.
#
# 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: if you don't want a notification to be displayed, set the format
# to "".
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# format = ""
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = 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
#
# vim: ft=cfg

47
onedark/kitty/kitty.conf Normal file
View file

@ -0,0 +1,47 @@
# Nord Colorscheme for Kitty
# Based on:
# - https://gist.github.com/marcusramberg/64010234c95a93d953e8c79fdaf94192
# - https://github.com/arcticicestudio/nord-hyper
font_family CascadiaMono
bold_font JetBrainsMono-Bold
italic_font JetBrainsMono-Italic
bold_italic_font JetBrainsMono-BoldItalic
font_size 10
# The window padding (in pts) (blank area between the text and the window border)
window_padding_width 10
#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
foreground #979eab
background #1e222a
cursor #cccccc
color0 #282c34
color1 #e06c75
color2 #98c379
color3 #e5c07b
color4 #61afef
color5 #be5046
color6 #56b6c2
color7 #979eab
color8 #393e48
color9 #d19a66
color10 #56b6c2
color11 #e5c07b
color12 #61afef
color13 #be5046
color14 #56b6c2
color15 #abb2bf
selection_foreground #282c34
selection_background #979eab

294
onedark/polybar/config.ini Normal file
View file

@ -0,0 +1,294 @@
[colors]
background = ${xrdb:background}
foreground = ${xrdb:foreground}
color0 = ${xrdb:color0}
color1 = ${xrdb:color1}
color2 = ${xrdb:color2}
color3 = ${xrdb:color3}
color4 = ${xrdb:color4}
color5 = ${xrdb:color5}
color6 = ${xrdb:color6}
color7 = ${xrdb:color7}
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/example]
tray-position = left
monitor = LVDS-1
width = 100%
height = 22
padding-left = 1
padding-right = 0
background = ${colors.background}
foreground = ${colors.foreground}
bottom = false
border-top-size = 4
border-bottom-size = 4
border-top-color = ${colors.background}
border-bottom-color = ${colors.background}
line-size = 1
wm-restack = bspwm
modules-left =round-left bspwm round-right
modules-center =
modules-right = pacup temperature alsa cpu round-left mem round-right spaces wlan round-left time round-right powermenu
font-0 = JetBrainsMono Nerd Font:style=Bold:pixelsize=11;2
font-1 = JetBrainsMono Nerd Font:size=17;4
font-2 = Material Design Icons:style=Bold:size=13;3
font-3 = unifont:fontformat=truetype:size=13:antialias=true;
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 65
label-foreground = ${colors.color7}
format = <ramp> <label>
;format-underline = #b48ead
format-warn = <ramp> <label-warn>
format-warn-underline = #b48ead
label = %temperature-c%
label-warn = %temperature-c%
label-warn-backgroud = #b48ead
format-padding = 1
ramp-0 = 󰸁
ramp-foreground = ${colors.color11}
[module/pacup]
type = custom/script
exec = ~/.config/polybar/scripts/pacup.sh
label = 󰏖 %output%
interval = 1000
label-foreground = #61afef
format-padding = 1
format-margin = 0
[module/spaces]
type = custom/text
content = %{T3} %{T-}
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = true
enable-click = true
enable-scroll = true
reverse-scroll = false
format = <label-state>
ws-icon-0 =I;%{F#e06c75}󰣇
ws-icon-1 =II;%{F#98c379}󰊯
ws-icon-2 =III;%{F#e5c07b}
ws-icon-3 =IV;%{F#61afef}󰔁
ws-icon-4 =V;%{F#9a7ecc}󰎆
ws-icon-5 =VI;%{F#56b6c2}󰊠
label-separator = ""
label-spearator-background = ${colors.color8}
label-focused = %icon%
label-focused-foreground = ${colors.foreground}
label-focused-underline = #61afef
label-focused-padding = 1
label-focused-background = ${colors.color8}
label-occupied = %icon%
label-occupied-foreground = #ffffff
label-occupied-padding = 1
label-occupied-background = ${colors.color8}
label-empty = %icon%
label-empty-foreground =#ffffff
label-empty-padding = 1
label-empty-background = ${colors.color8}
label-urgent = %icon%
label-urgent-foreground = #88C0D0
label-urgent-padding = 1
label-urgent-background = ${colors.color8}
[module/round-left]
type = custom/text
content = %{T2}%{T-}
content-foreground = ${colors.color8}
[module/round-right]
type = custom/text
content = %{T2}%{T-}
content-foreground = ${colors.color8}
[module/alsa]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume = " "
label-volume-foreground = ${colors.color6}
format-muted-foreground = ${colors.colors.colo76}
label-muted = 󰚙
format-muted-padding = 1
format-muted-background = #2b2f37
bar-volume-width = 10
bar-volume-foreground-0 = #61afef
bar-volume-foreground-1 = #61afef
bar-volume-foreground-2 = #61afef
bar-volume-foreground-3 = #61afef
bar-volume-foreground-4 = #61afef
bar-volume-foreground-5 = #61afef
bar-volume-foreground-6 = #61afef
bar-volume-gradient = false
bar-volume-indicator =
bar-volume-indicator-foreground = #61afef
bar-volume-indicator-font = 2
bar-volume-fill =
bar-volume-fill-foreground = #61afef
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.foreground}
format-volume-padding = 1
[module/time]
type = internal/date
interval = 60
format = <label>
format-background = ${colors.color8}
format-padding = 0
date = %{F#56b6c2}󰥔 %{F-}%{F#abb2bf}%H:%M%{F-}
time-alt = %{F#56b6c2}󰃭 %{F-}%{F#abb2bf}%a, %b %d%{F-}
label = %date%%time%
[module/mem]
type = custom/script
exec = free -m | sed -n 's/^Mem:\s\+[0-9]\+\s\+\([0-9]\+\)\s.\+/\1/p'
format = <label>
format-prefix = 󰍛
format-background = ${colors.color8}
format-padding = 0
label = %output%M used
label-padding = 1
format-prefix-foreground = ${colors.color1}
format-margin = 0
[module/menu]
type = custom/text
content = 󱓞
;content-background = #81A1C1
content-foreground = #61afef
click-left = rofi -show drun
;content-underline = #4C566A
content-padding= 1
[module/powermenu]
type = custom/text
content = 󰐥
click-left = ~/.config/polybar/scripts/dmenu.sh
;content-background = #81A1C1
content-foreground = ${colors.foreground}
content-padding = 1
content-margin = 0
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected = <label-connected>
label-connected = "󰤨 "
label-connected-foreground = ${colors.color4}
label-disconnected = "󰤭 "
label-disconnedted-foreground = ${colors.color4}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 98
format-charging = <animation-charging> <label-charging>
label-charging = %percentage%%
format-charging-foreground = ${colors.color4}
format-charging-background = ${colors.background}
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %percentage%%
format-discharging-foreground = ${colors.foreground}
format-discharging-background = ${colors.background}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.color4}
format-foreground = ${colors.color4}
format-background = ${colors.background}
label-discharging-foreground = ${colors.foreground}
label-charging-foreground = ${colors.color4}
label-padding = 1
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
ramp-capacity-foreground = ${colors.foreground}
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
animation-charging-foreground = ${colors.color4}
animation-charging-framerate = 750
format-charging-padding = 1
format-discharging-padding = 1
[module/xbacklight]
type = internal/xbacklight
format = <label>
format-prefix = " "
label = %percentage%%
format-prefix-foreground = #61afef
label-foreground = #D8DEE9
format-padding = 1
[module/cpu]
type = internal/cpu
interval = 2.5
format = <label>
format-padding = 1
format-margin = 0
label = %{F#98c379}󰻟 %{F-}%percentage%%
;format-background = ${colors.color12}
format-foreground =${colors.color7}
[module/xwindow]
type = internal/xwindow
label = %title:..%
label-maxlen = 20
label-foreground = ${colors.foreground}
label-padding = 1
; Used instead of label when there is no window title
label-empty = "Desktop"
;label-empty-foreground = ${color.blue-light}
abel-empty-padding = 2

1
onedark/rofi/config Normal file
View file

@ -0,0 +1 @@
rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi

89
onedark/rofi/config.rasi Normal file
View file

@ -0,0 +1,89 @@
* {
black: #000000;
red: #eb6e67;
green: #95ee8f;
yellow: #f8c456;
blue: #6eaafb;
mangenta: #d886f3;
cyan: #6cdcf7;
emphasis: #50536b;
text: #dfdfdf;
text-alt: #b2b2b2;
fg: #abb2bf;
bg: #282c34;
spacing: 0;
background-color: transparent;
font: "JetBrains Mono Nerd Font 12";
text-color: @text;
}
window {
transparency: "real";
fullscreen: true;
background-color: #282c34dd;
}
mainbox {
padding: 30% 30%;
}
inputbar {
margin: 0px 0px 20px 0px;
children: [prompt, textbox-prompt-colon, entry, case-indicator];
}
prompt {
text-color: @blue;
}
textbox-prompt-colon {
expand: false;
str: ":";
text-color: @text-alt;
}
entry {
margin: 0px 10px;
}
listview {
spacing: 5px;
dynamic: true;
scrollbar: true;
}
element {
padding: 5px;
text-color: @text-alt;
highlight: bold #95ee8f; /* green */
border-radius: 20px;
}
element selected {
background-color: @emphasis;
text-color: @text;
}
element urgent, element selected urgent {
text-color: @red;
}
element active, element selected active {
text-color: @purple;
}
message {
padding: 5px;
border-radius: 3px;
background-color: @emphasis;
border: 1px;
border-color: @cyan;
}
button selected {
padding: 5px;
border-radius: 3px;
background-color: @emphasis;
}

123
onedark/sxhkd/sxhkdrc Normal file
View file

@ -0,0 +1,123 @@
# wm independent hotkeys
#
# terminal emulator
super + Return
alacritty
# program launcher
super + space
rofi -lines 12 -padding 18 -width 60 -location 0 -show drun -sidebar-mode -columns 3 -font 'JetBrainsMono Italic 10'
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
# screenshot
super + Print
maim "/home/$USER/Pictures/$(date).png"
super + shift + x
maim -s -o "/home/$USER/Pictures/$(date).png"
#
# bspwm hotkeys
#
# quit/restart bspwm
super + alt + {q,r}
bspc {quit,wm -r}
# close and kill
super + {_,shift + }w
bspc node -{c,k}
# alternate between the tiled and monocle layout
super + m
bspc desktop -l next
# send the newest marked node to the newest preselected node
super + y
bspc node newest.marked.local -n newest.!automatic.local
# swap the current node and the biggest window
super + g
bspc node -s biggest.window
#
# state/flags
#
# set the window state
super + {t,shift + t,s,f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags
super + ctrl + {m,x,y,z}
bspc node -g {marked,locked,sticky,private}
#
# focus/swap
#
# focus the node in the given direction
super + {_,shift + }{h,j,k,l}
bspc node -{f,s} {west,south,north,east}
# focus the node for the given path jump
super + {p,b,comma,period}
bspc node -f @{parent,brother,first,second}
# focus the next/previous window in the current desktop
super + {_,shift + }c
bspc node -f {next,prev}.local.!hidden.window
# focus the next/previous desktop in the current monitor
super + bracket{left,right}
bspc desktop -f {prev,next}.local
# focus the last node/desktop
super + {grave,Tab}
bspc {node,desktop} -f last
# focus the older or newer node in the focus history
super + {o,i}
bspc wm -h off; \
bspc node {older,newer} -f; \
bspc wm -h on
# focus or send to the given desktop
super + {_,shift + }{1-9,0}
bspc {desktop -f,node -d} '^{1-9,10}'
#
# preselect
#
# preselect the direction
super + ctrl + {h,j,k,l}
bspc node -p {west,south,north,east}
# preselect the ratio
super + ctrl + {1-9}
bspc node -o 0.{1-9}
# cancel the preselection for the focused node
super + ctrl + space
bspc node -p cancel
# cancel the preselection for the focused desktop
super + ctrl + shift + space
bspc query -N -d | xargs -I id -n 1 bspc node id -p cancel
#
# move/resize
#
# expand a window by moving one of its side outward
super + alt + {h,j,k,l}
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
# contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
# move a floating window
super + {Left,Down,Up,Right}
bspc node -v {-20 0,0 20,0 -20,20 0}

24
onedark/zathura/zathurarc Normal file
View file

@ -0,0 +1,24 @@
# My One-Dark themed Zathura Settings
set default-bg "#1e222a"
set default-fg "#979eab"
set statusbar-fg "#979eab"
set statusbar-bg "#353b45"
set inputbar-fg "#d3c6aa"
set notification-error-bg "#1e222a"
set notification-error-fg "#979eab"
set highlight-color "#abb2bf"
set highlight-active-color "#61afef"
set notification-bg "#1e222a"
set notification-fg "#979eab"
set recolor-lightcolor "#1e222a"
set recolor-darkcolor "#979eab"
set recolor "true"
set font "mononoki Italic Nerd Font Complete Mono 12"