1
0
Fork 0
mirror of https://github.com/Horhik/dotfiles.git synced 2024-11-25 09:31:34 +00:00

some changes

This commit is contained in:
horhik 2021-08-25 16:36:27 +03:00
parent 946f25a1ae
commit d7f0d5eef0
58 changed files with 7641 additions and 167 deletions

View file

@ -89,13 +89,13 @@ padding:
font:
size: 10
normal:
family: Mononoki Nerd Font
family: Mononoki
style: Medium
bold:
family: Mononoki Nerd Font
family: Mononoki
style: Bold
italic:
family: Mononoki Nerd Font
family: Mononoki
style: Italic
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
@ -105,31 +105,36 @@ font:
# Colors (Tomorrow Night)
colors:
# COLORSCHEME: Cobalt2.yaml
# Default colors
primary:
# hard contrast: background = '#1d2021'
background: '#282828'
# soft contrast: background = '#32302f'
foreground: '#ebdbb2'
background: '0x122637'
foreground: '0xffffff'
# Normal colors
# Colors the cursor will use if `custom_cursor_colors` is true
normal:
black: '#282828'
red: '#cc241d'
green: '#98971a'
yellow: '#d79921'
blue: '#458588'
magenta: '#b16286'
cyan: '#689d6a'
white: '#a89984'
black: '0x000000'
red: '0xff0000'
green: '0x37dd21'
yellow: '0xfee409'
blue: '0x1460d2'
magenta: '0xff005d'
cyan: '0x00bbbb'
white: '0xbbbbbb'
# Bright colors
bright:
black: '#928374'
red: '#fb4934'
green: '#b8bb26'
yellow: '#fabd2f'
blue: '#83a598'
magenta: '#d3869b'
cyan: '#8ec07c'
white: '#ebdbb2'
black: '0x545454'
red: '0xf40d17'
green: '0x3bcf1d'
yellow: '0xecc809'
blue: '0x5555ff'
magenta: '0xff55ff'
cyan: '0x6ae3f9'
white: '0xffffff'
cursor:
text: '0x122637'
cursor: '0xf0cb09'
# Normal colors

View file

@ -0,0 +1,74 @@
#!/bin/bash
pgrep -x sxhkd > /dev/null || sxhkd &
enact -w --pos left &
if [[ $(xrandr --query | grep 'HDMI-A-0') != *disconnected* ]]; then
enact --pos left
bspc monitor "HDMI-A-0" -d 1 2 3 4 5
bspc monitor eDP -d 6 7 8 9 0
$HOME/.config/polybar/launch.sh duo
else
$HOME/.config/polybar/launch.sh
bspc monitor eDP -d 1 2 3 4 5 6 7 8 9 0
fi
#tint2 &
#          
bspc config border_width 3
bspc config active_border_ctopolor "#657b83"
bspc config normal_border_color "#002b36"
bspc config focused_border_color "#073642"
bspc config window_gap 0
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 mplaye2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off
#Startup
export MAIN_DISPLAY=eDP
export SECOND_DISPLAY=HDMI1
export BINSCRIPTS=$HOME/.local/bin/
$HOME/scripts/startup/touchpad.sh &
$HOME/scripts/startup/wifi.sh &
#$HOME/scripts/startup/spotifyshit &
$HOME/.local/bin/fullscreen-daemon &
picom --experimental-backends&
blueman-tray &
setxkbmap -layout us,ru &
nitrogen --restore
# --- Scratchpads --- #
# terminal dropdown
bspc rule -a dropdown sticky=on state=floating hidden=on
alacritty --class dropdown --title dropdown -e "tmux" &
tmux new -s scratchpad
# mixer dropdown
bspc rule -a pulsemixer sticky=on state=floating hidden=on
alacritty --class pulsemixer --title pulsemixer -e "pulsemixer" &
# $HOME/scripts/startup/spotifyshit &
# bspc rule -a Spotify sticky=on state=floating hidden=on
# spotify
# $HOME/scripts/startup/spotifyshit &
bspc() {
echo $@ | grep -q " fullscreen" && touch /tmp/bspcblock
/usr/local/bin/bspc $@
}
killall flameshot

View file

@ -0,0 +1,12 @@
#!/usr/bin/env bash
class=$2
typ3=$1 #"class" # or name
id=$(xdotool search --$typ3 $class)
if [ "$id" != "" ]
then
bspc node "$id" --flag hidden --to-desktop focused -f --state floating
fi

View file

@ -0,0 +1,70 @@
# For the benefit of emacs users: -*- shell-script -*-
###########################
# xbindkeys configuration #
###########################
#
# Version: 1.8.7
#
# If you edit this file, do not forget to uncomment any lines
# that you change.
# The pound(#) symbol may be used anywhere for comments.
#
# To specify a key, you can use 'xbindkeys --key' or
# 'xbindkeys --multikey' and put one of the two lines in this file.
#
# The format of a command line is:
# "command to start"
# associated key
#
#
# A list of keys is in /usr/include/X11/keysym.h and in
# /usr/include/X11/keysymdef.h
# The XK_ is not needed.
#
# List of modifier:
# Release, Control, Shift, Mod1 (Alt), Mod2 (NumLock),
# Mod3 (CapsLock), Mod4, Mod5 (Scroll).
#
# The release modifier is not a standard X modifier, but you can
# use it if you want to catch release events instead of press events
# By defaults, xbindkeys does not pay attention with the modifiers
# NumLock, CapsLock and ScrollLock.
# Uncomment the lines above if you want to pay attention to them.
#keystate_numlock = enable
#keystate_capslock = enable
#keystate_scrolllock= enable
# Examples of commands:
"xbindkeys_show"
control+shift + q
# set directly keycode (here control + f with my keyboard)
"xterm"
c:41 + m:0x4
# specify a mouse button
"xterm"
control + b:2
#"xterm -geom 50x20+20+20"
# Shift+Mod2+alt + s
#
## set directly keycode (here control+alt+mod2 + f with my keyboard)
#"xterm"
# alt + c:0x29 + m:4 + mod2
#
## Control+Shift+a release event starts rxvt
#"rxvt"
# release+control+shift + a
#
## Control + mouse button 2 release event starts rxvt
#"rxvt"
# Control + b:2 + Release
##################################
# End of xbindkeys configuration #
##################################

View file

@ -0,0 +1,5 @@
dropdown_enabled=$(cat /tmp/dropdown | grep 'dropdown')
if [[ $dropdown_enabled == dropdown ]];
then
echo true
fi

181
home/bspwm/.config/sxhkd/sxhkdrc Executable file
View file

@ -0,0 +1,181 @@
#
# wm independent hotkeys
#
# terminal emulator
super + Return
alacritty
# program launcher
super + p
rofi -show drun
super + shift + p
rofi-pass
alt + Tab
rofi -show
super + e
rofimoji
ctrl + space
xkb-switch -n
# make sxhkd reload its configuration files:
super + Escape
pkill -USR1 -x sxhkd
#
# 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 + Enter
bspc node -s biggest.window
#
# state/flags
#
# set the window state
super + {t,shift + t,s}
bspc node -t {tiled,pseudo_tiled,floating}
super + f
bspc node -t 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 + {v,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,e}
bspc {desktop -f,node -d} '^{1-9,10,11}'
#
# 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}
#
# System
#
XF86MonBrightness{Down,Up}
light { -U 10,-T 10}
#
# My hotkeys
#
super + shift + a
anki
super + shift + s
flameshot gui
#
# Scratchpads
#
# Terminal
super + u
$HOME/.config/bspwm/scratchpad classname dropdown
# Audio mixer
super + shift + m
$HOME/.config/bspwm/scratchpad classname pulsemixer
#
# Applicons
#
super + alt + a
anki
super + alt + t
ticktick
super + alt + d
duolingo-desktop
super + alt + e
emacs

View file

@ -108,7 +108,7 @@ method = ncurses
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = ascii
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
@ -137,15 +137,13 @@ foreground = cyan
# You can define as many as 8 different colors. They range from bottom to top of screen
gradient = 7
gradient_count = 7
gradient_color_1 = '#689d6a'
gradient_color_2 = '#98971a'
gradient_color_3 = '#fabd2f'
gradient_color_4 = '#d79921'
gradient_color_5 = '#fe8019'
gradient_color_6 = '#d65d0e'
gradient_color_7 = '#cc241d'
gradient_color_1 = '#002b36'
gradient_color_2 = '#073642'
gradient_color_3 = '#586e75'
gradient_color_4 = '#657b83'
gradient_color_5 = '#839496'
gradient_color_6 = '#93a1a1'
gradient_color_7 = '#eee8d5'
[smoothing]
@ -159,7 +157,7 @@ waves = 5
# 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 = 800
; gravity = 100
# In bar height, bars that would have been lower that this will not be drawn.

View file

@ -0,0 +1,176 @@
## Configuration file for CAVA. Default values are commented out. Use either ';' or '#' for commenting.
# |
# | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░░░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░█▀▄░█▀█░▀█▀░█▀▀░▀█▀░█░░░█▀▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░█░█░█░█░░█░░█▀▀░░█░░█░░░█▀▀░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░▀▀░░▀▀▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
# |
[general]
# Smoothing mode. Can be 'normal', 'scientific' or 'waves'. DEPRECATED as of 0.6.0
mode = scientific
# Accepts only non-negative values.
; framerate = 60
# 'autosens' will attempt to decrease sensitivity if the bars peak. 1 = on, 0 = off
# new as of 0.6.0 autosens of low values (dynamic range)
# 'overshoot' allows bars to overshoot (in % of terminal height) without initiating autosens. DEPRECATED as of 0.6.0
; autosens = 1
; overshoot = 20
# Manual sensitivity in %. Autosens must be turned off for this to take effect.
# 200 means double height. Accepts only non-negative values.
; sensitivity = 100
# The number of bars (0-200). 0 sets it to auto (fill up console).
# Bars' width and space between bars in number of characters.
; bars = 0
; bar_width = 2
; bar_spacing = 1
# Lower and higher cutoff frequencies for lowest and highest bars
# the bandwidth of the visualizer.
# Note: there is a minimum total bandwidth of 43Mhz x number of bars.
# Cava will automatically increase the higher cutoff if a too low band is specified.
; lower_cutoff_freq = 50
; higher_cutoff_freq = 10000
# FFT buffer is set in the exponent of 2 and must be between 8 - 16, 8 = 256, 16 = 65536
# this is the audio buffer used to create the spectrum
# increasing the will improve the accuracy of the visualization,
# but will also make it slower and increase CPU usage
# anything below 10 and above 13 is considered experimental.
; FFTbufferSize = 12;
[input]
# Audio capturing method. Possible methods are: 'pulse', 'alsa', 'fifo', 'sndio' or 'shmem'
# Defaults to 'pulse', 'alsa' or 'fifo', in that order, dependent on what support cava was built with.
#
# All input methods uses the same config variable 'source'
# to define where it should get the audio.
#
# For pulseaudio 'source' will be the source. Default: 'auto', which uses the monitor source of the default sink
# (all pulseaudio sinks(outputs) have 'monitor' sources(inputs) associated with them).
#
# For alsa 'source' will be the capture device.
# For fifo 'source' will be the path to fifo-file.
# For shmem 'source' will be /squeezelite-AA:BB:CC:DD:EE:FF where 'AA:BB:CC:DD:EE:FF' will be squeezelite's MAC address
; method = pulse
; source = auto
; method = alsa
; source = hw:Loopback,1
; method = fifo
; source = /tmp/mpd.fifo
; sample_rate = 44100
; sample_bits = 16
; method = shmem
; source = /squeezelite-AA:BB:CC:DD:EE:FF
; method = portaudio
; source = auto
[output]
# Output method. Can be 'ncurses', 'noncurses' or 'raw'.
# 'noncurses' uses a custom framebuffer technique and draws only changes
# from frame to frame. As of version 0.7.0 'noncurses' is default.
#
# 'raw' is an 8 or 16 bit (configurable via the 'bit_format' option) data
# stream of the bar heights that can be used to send to other applications.
# 'raw' defaults to 200 bars, which can be adjusted in the 'bars' option above.
method = ncurses
# Visual channels. Can be 'stereo' or 'mono'.
# 'stereo' mirrors both channels with low frequencies in center.
# 'mono' outputs left to right lowest to highest frequencies.
# 'mono_option' set mono to either take input from 'left', 'right' or 'average'.
; channels = stereo
; mono_option = average
# Raw output target. A fifo will be created if target does not exist.
; raw_target = /dev/stdout
# Raw data format. Can be 'binary' or 'ascii'.
; data_format = binary
# Binary bit format, can be '8bit' (0-255) or '16bit' (0-65530).
; bit_format = 16bit
# Ascii max value. In 'ascii' mode range will run from 0 to value specified here
; ascii_max_range = 1000
# Ascii delimiters. In ascii format each bar and frame is separated by a delimiters.
# Use decimal value in ascii table (i.e. 59 = ';' and 10 = '\n' (line feed)).
; bar_delimiter = 59
; frame_delimiter = 10
[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.
# default is to keep current terminal color
background = default
foreground = cyan
# 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 = 7
gradient_count = 7
gradient_color_1 = '#002b36'
gradient_color_2 = '#073642'
gradient_color_3 = '#586e75'
gradient_color_4 = '#657b83'
gradient_color_5 = '#839496'
gradient_color_6 = '#93a1a1'
gradient_color_7 = '#eee8d5'
[smoothing]
# Percentage value for integral smoothing. Takes values from 0 - 100.
# Higher values means smoother, but less precise. 0 to disable.
; integral = 77
# Disables or enables the so-called "Monstercat smoothing" with or without "waves". Set to 0 to disable.
monstercat = 2
waves = 5
# 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
# In bar height, bars that would have been lower that this will not be drawn.
; ignore = 0
[eq]
# This one is tricky. You can have as much keys as you want.
# Remember to uncomment more then one key! More keys = more precision.
# Look at readme.md on github for further explanations and examples.
; 1 = 1 # bass
; 2 = 1
; 3 = 1 # midtone
; 4 = 1
; 5 = 1 # treble

View file

@ -64,7 +64,7 @@
frame_width = 0
# Defines color of the frame around the notification window.
frame_color = "#44475a"
frame_color = "#002b36"
# Define a color for the separator.
# possible values are:
@ -182,7 +182,7 @@
dmenu = /usr/bin/dmenu -p dunst:
# Browser for opening urls in context menu.
browser = /usr/bin/firefox -new-tab
browfdf6e3ser = /usr/bin/firefox -new-tab
# Always run rule-defined scripts, even if the notification is suppressed
always_run_script = true
@ -212,7 +212,7 @@
# corners.
# The radius will be automatically lowered if it exceeds half of the
# notification height to avoid clipping text and/or icons.
corner_radius = 5
corner_radius = 0
### Legacy
@ -274,25 +274,25 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#282828"
foreground = "#ebdbb2"
frame_color = "#689d6a"
background = "#073642"
foreground = "#fdf6e3"
frame_color = "#859900"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon
[urgency_normal]
background = "#282828"
foreground = "#ebdbb2"
frame_color = "#d79921"
background = "#002b36"
foreground = "#fdf6e3"
frame_color = "#cb4b16"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon
[urgency_critical]
background = "#cc241d"
foreground = "#fbf1c7"
frame_color = "#fb4934"
background = "#dc322f"
foreground = "#fdf6e3"
frame_color = "#dc322f"
timeout = 0
# Icon for notifications with critical urgency, uncomment to enable
icon = ~/Pictures/icons/warning.svg

View file

@ -0,0 +1,144 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!--
Twitter Color Emoji SVGinOT Font
Fontconfig fonts.conf for a Bitstream Vera default
https://github.com/eosrei/twemoji-color-font
The DejaVu font family is based on the Bitstream Vera font family to provide
greater unicode coverage. The only way to override the emoji it includes is
to make the emoji font the primary system font. This shouldn't be a problem,
but a number of programs do not correctly use font fallback resulting in font
rendering errors everywhere.
This font.conf makes Bitstream Vera the default font for Serif, Sans-Serif,
and Monospace font requests since it does not contain any Unicode Emoji
characters. Twitter Color Emoji font is the first fallback, followed by DejaVu
(or whatever the existing default is) to provide everything else.
Install required fonts with:
sudo apt-get install ttf-bitstream-vera
Test with:
fc-match -s serif
fc-match -s sans-serif
fc-match -s monospace
-->
<fontconfig>
<match target="font">
<!-- If the requested font is Bitstream Vera Serif -->
<test name="family" compare="eq">
<string>Bitstream Vera Serif</string>
</test>
<!-- Replace the entire match list with Bitstream Vera Serif alone -->
<edit name="family" mode="assign_replace">
<string>Bitstream Vera Serif</string>
</edit>
<!-- Assign the serif family -->
<edit name="family" mode="append_last">
<string>serif</string>
</edit>
</match>
<match>
<!-- If the requested font is serif -->
<test qual="any" name="family">
<string>serif</string>
</test>
<!-- Make Bitstream Vera Serif the first result -->
<edit name="family" mode="prepend_first">
<string>Bitstream Vera Serif</string>
</edit>
<!-- Followed by Twitter Color Emoji -->
<edit name="family" mode="prepend_first">
<string>Twitter Color Emoji</string>
</edit>
</match>
<match target="font">
<!-- If the requested font is Bitstream Vera Sans -->
<test name="family" compare="eq">
<string>Bitstream Vera Sans</string>
</test>
<!-- Replace the entire match list with Bitstream Vera Sans alone -->
<edit name="family" mode="assign_replace">
<string>Bitstream Vera Sans</string>
</edit>
<!-- Assign the sans-serif family -->
<edit name="family" mode="append_last">
<string>sans-serif</string>
</edit>
</match>
<match target="pattern">
<!-- If the requested font is sans-serif -->
<test qual="any" name="family">
<string>sans-serif</string>
</test>
<!-- Make Bitstream Vera Sans the first result -->
<edit name="family" mode="prepend_first">
<string>Bitstream Vera Sans</string>
</edit>
<!-- Followed by Twitter Color Emoji -->
<edit name="family" mode="prepend_first">
<string>Twitter Color Emoji</string>
</edit>
</match>
<match target="font">
<!-- If the requested font is Bitstream Vera Sans Mono -->
<test name="family" compare="eq">
<string>Bitstream Vera Sans Mono</string>
</test>
<!-- Replace the entire match list with Bitstream Vera Sans Mono alone -->
<edit name="family" mode="assign_replace">
<string>Bitstream Vera Sans Mono</string>
</edit>
<!-- Assign the monospace family last -->
<edit name="family" mode="append_last">
<string>monospace</string>
</edit>
</match>
<match target="pattern">
<!-- If the requested font is monospace -->
<test qual="any" name="family">
<string>monospace</string>
</test>
<!--
Make Bitstream Vera Sans Mono the first result
Note: If you want a different monospace font, this is where you change it.
-->
<edit name="family" mode="prepend_first">
<string>Bitstream Vera Sans Mono</string>
</edit>
<!-- Followed by Twitter Color Emoji -->
<edit name="family" mode="prepend_first">
<string>Twitter Color Emoji</string>
</edit>
</match>
<!-- Add emoji generic family -->
<alias binding="strong">
<family>emoji</family>
<default><family>Twitter Color Emoji</family></default>
</alias>
<!-- Alias requests for the other emoji fonts -->
<alias binding="strong">
<family>Apple Color Emoji</family>
<prefer><family>Twitter Color Emoji</family></prefer>
<default><family>sans-serif</family></default>
</alias>
<alias binding="strong">
<family>Segoe UI Emoji</family>
<prefer><family>Twitter Color Emoji</family></prefer>
<default><family>sans-serif</family></default>
</alias>
<alias binding="strong">
<family>Noto Color Emoji</family>
<prefer><family>Twitter Color Emoji</family></prefer>
<default><family>sans-serif</family></default>
</alias>
</fontconfig>

View file

@ -0,0 +1,24 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<selectfont>
<rejectfont>
<pattern>
<patelt name="family">
<string>DejaVu Sans</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>DejaVu Serif</string>
</patelt>
</pattern>
<pattern>
<patelt name="family">
<string>DejaVu Sans Mono</string>
</patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>

View file

@ -0,0 +1,14 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<!-- Generated by Font Manager. Do NOT edit this file. -->
<fontconfig>
<selectfont>
<rejectfont>
<pattern>
<patelt name="family">
<string>Noto Kufi Arabic</string>
</patelt>
</pattern>
</rejectfont>
</selectfont>
</fontconfig>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Twemoji</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Twemoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Twemoji</family>
</prefer>
</alias>
</fontconfig>

View file

@ -0,0 +1,13 @@
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>monospace</family>
<prefer>
<family>Mononoki</family>
<family>Twitter Color Emoji</family>
<family>Twemoji</family>
<family>Noto Emoji</family>
</prefer>
</alias>
</fontconfig>

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="font">
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>false</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="rgba" mode="assign">
<const>none</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="lcdfilter" mode="assign">
<const>lcdnone</const>
</edit>
<edit name="dpi" mode="assign">
<double>102</double>
</edit>
</match>
</fontconfig>

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
<family>sans-serif</family>
<prefer>
<family>Twitter Color Emoji</family>
</prefer>
</alias>
<alias>
<family>serif</family>
<prefer>
<family>Twitter Color Emoji</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>Twitter Color Emoji</family>
</prefer>
</alias>
</fontconfig>

4
home/gtk/.config/gtk-2.0/gtkfilechooser.ini Executable file → Normal file
View file

@ -2,8 +2,8 @@
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=0
GeometryY=0
GeometryX=2496
GeometryY=54
GeometryWidth=768
GeometryHeight=972
SortColumn=modified

7
home/gtk/.config/gtk-3.0/bookmarks Executable file → Normal file
View file

@ -1,10 +1,5 @@
file:///home/horhik/KB
file:///home/horhik/.config/eww
file:///home/horhik/Documents/Icons/Notion%20Icons%203.0
file:///usr/share/icons/Papirus-Dark/96x96
file:///tmp/mozilla_horhik0
file:///home/horhik/code
file:///home/horhik/Documents
file:///home/horhik/Music
file:///home/horhik/Pictures
file:///home/horhik/Videos
file:///home/horhik/Downloads

15
home/gtk/.config/gtk-3.0/settings.ini Executable file → Normal file
View file

@ -1,17 +1,2 @@
[Settings]
gtk-theme-name=Adwaita-dark
gtk-icon-theme-name=Papirus-Dark
gtk-font-name=Roboto 11
gtk-cursor-theme-size=18
gtk-toolbar-style=GTK_TOOLBAR_ICONS
gtk-toolbar-icon-size=GTK_ICON_SIZE_BUTTON
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull
gtk-xft-rgba=rgb
gtk-cursor-theme-name=Premium
gtk-application-prefer-dark-theme=0

0
home/gtk/.config/gtk-4.0/settings.ini Executable file → Normal file
View file

View file

@ -0,0 +1,188 @@
rounded-corners-exclude = [
# "class_g = 'awesome'",
# "class_g = 'Polybar'",
"class_g *= 'dwm'",
"class_g = 'Xmobar'",
"class_g = 'xmobar'",
"class_g = 'firefox'",
"name = 'xmobar'",
"name *= 'emacs'",
"class_g = 'emacs'"
# "class_g *= 'awesome'",
];
rounded-corners-rule = [
"5:class_g = 'Dunst'",
"0:class_g = 'awesome'",
"0:name = 'xmobar'",
"0:name = 'firefox'",
"0:class_g = 'Xmobar'",
"0:name = 'Xmobar'",
"0:class_g = 'xmonad'",
"5:class_g = 'Go-for-it'",
"5:class_g = 'Deadd-notification-center'",
"5:class_g = 'emacs'",
"50:name = 'video0'"
];
corner-radius = 0;
round-borders = 0;
round-borders-exclude = [
"name = 'Notification area'"
];
round-borders-rule = [
"3:class_g = 'XTerm'",
"3:class_g = 'URxvt'",
"3:class_g = 'Alacritty'",
"3:class_g = 'eww'",
"0:name = 'xmobar'",
"0:name = 'firefox'",
"0:class_g = 'Xmobar'",
"0:class_g = 'xmonad'",
"5:class_g = 'Dunst'",
"3:class_g = 'eww'",
"5:class_g = 'Signal'",
"5:class_g = 'Deadd-notification-center'"
];
shadow = true;
shadow-radius = 15;
shadow-opacity = 0.6;
shadow-offset-x = -9;
shadow-offset-y = -7;
shadow-exclude = [
"name = 'Polybar'",
"class_g *= 'border'",
"class_g *= 'awesome'",
"name = 'xmobar'",
"class_g = 'Conky'",
"class_g *= 'dwm'",
"class_g = 'Polybar'",
"class_g ?= 'Notify-osd'",
"class_g = 'Cairo-clock'",
"_GTK_FRAME_EXTENTS@:c"
];
fading = false;
fade-out-step = 0.001;
inactive-opacity = 1;
frame-opacity = 1;
inactive-opacity-override = false;
inactive-dim = 0;
focus-exclude = [ "class_g = 'Cairo-clock'" ];
opacity-rule = [
"90:name *= 'blur_full'"
# "80:name = 'emacs@dropdown'",
# "75:class_g *= 'Spotify'",
# "85:class_g *= 'Anki'",
#
# "85:class_g *= 'Go-for-it'",
# "95:class_g *= 'notion'",
# "95:class_g = 'Emacs'",
# "90:class_g *= 'Alacritty'",
# "78:class_g *= 'Zathura'",
# "80:class_g = 'dropdown'",
# "50:class_g = 'Firefox'",
# "90:class_g *= 'emacs'",
# "90:class_g = 'dmenu'",
# "90:class_g = 'Evolution'",
# "98:name *= 'alacritty'",
# "90:name = 'emacs'",
# "95:class_g = 'Polybar'",
# "85:name *= 'scratchpad'",
# "85:class_g= 'Dunst'",
# "85:name *= 'Rust Programming Language'",
# "95:class_g = 'Deadd-notification-center'",
# "85:class_g *= 'ticktick'"
]
#blur:
#{
# method = "kawase";
# size = 20;
# deviation = 10.0;
#};
#blur-kern = "3x3box";
blur-background-exclude = [
"window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c"
];
backend = "glx";
glx-no-stencli = true;
vsync = false
mark-wmwin-focused = true;
mark-ovredir-focused = true;
detect-rounded-corners = true
detect-client-opacity = true;
refresh-rate = 0
unredir-if-possible = false
detect-transient = true
detect-client-leader = true
use-damage = true
log-level = "warn";
wintypes:
{
tooltip = {
fade = false;
shadow = true;
opacity = 1;
focus = true;
};
dock = {
full-shadow = true;
opacity = 1;
}
dnd = {
shadow = false;
}
popup_menu = {
full-shaodw = false;
opacity = 1;
}
dropdown_menu = {
full-shaodw = false;
opacity = 1;
}
notification = {
fade = true;
shadow = true;
opacity = 0.9;
focus = true;
corner-radius = 3;
round-borders = 3;
};
};

View file

@ -0,0 +1,431 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ____
;; / __ )____ ___________
;; / __ / __ `/ ___/ ___/
;; / /_/ / /_/ / / (__ )
;; /_____/\__,_/_/ /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/volume]
type = internal/alsa
format-volume = <bar-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
format-muted = <label-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 = <ramp-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 = <bar>
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 = <ramp>
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 = <bar-capacity>
format-charging-background = ${color.mf}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <bar-capacity>
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 = <animation-charging>
format-charging-background = ${color.green}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <ramp-capacity>
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 = <bar-load> <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%percentage%%"
bar-load-width = 10
bar-load-gradient = false
bar-load-indicator =
bar-load-indicator-foreground = ${color.fg}
bar-load-indicator-font = 2
bar-load-fill =
bar-load-foreground-0 = ${color.bn}
bar-load-foreground-1 = ${color.bn}
bar-load-foreground-2 = ${color.bn}
bar-load-foreground-3 = ${color.bm}
bar-load-foreground-4 = ${color.bm}
bar-load-foreground-5 = ${color.bm}
bar-load-foreground-6 = ${color.bd}
bar-load-foreground-7 = ${color.bd}
bar-load-foreground-8 = ${color.bd}
bar-load-fill-font = 2
bar-load-empty =
bar-load-empty-foreground = ${color.fg}
bar-load-empty-font = 2
[module/cpu_bar_i]
type = internal/cpu
interval = 0.5
format =
format-background = ${color.teal}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/filesystem_bar]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = false
format-mounted = <bar-used> <label-mounted>
format-mounted-background = ${color.mf}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
label-mounted = %used%/%total%
bar-used-width = 10
bar-used-gradient = false
bar-used-indicator =
bar-used-indicator-foreground = ${color.fg}
bar-used-indicator-font = 2
bar-used-fill =
bar-used-foreground-0 = ${color.bn}
bar-used-foreground-1 = ${color.bn}
bar-used-foreground-2 = ${color.bn}
bar-used-foreground-3 = ${color.bn}
bar-used-foreground-4 = ${color.bn}
bar-used-foreground-5 = ${color.bm}
bar-used-foreground-6 = ${color.bm}
bar-used-foreground-7 = ${color.bd}
bar-used-foreground-8 = ${color.bd}
bar-used-fill-font = 2
bar-used-empty =
bar-used-empty-foreground = ${color.fg}
bar-used-empty-font = 2
[module/filesystem_bar_i]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted =
format-mounted-background = ${color.green}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted =
format-unmounted-background = ${color.red}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/memory_bar]
type = internal/memory
interval = 2
format = <bar-used> <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%mb_used%"
bar-used-width = 10
bar-used-gradient = false
bar-used-indicator =
bar-used-indicator-foreground = ${color.fg}
bar-used-indicator-font = 2
bar-used-fill =
bar-used-foreground-0 = ${color.bn}
bar-used-foreground-1 = ${color.bn}
bar-used-foreground-2 = ${color.bn}
bar-used-foreground-3 = ${color.bm}
bar-used-foreground-4 = ${color.bm}
bar-used-foreground-5 = ${color.bm}
bar-used-foreground-6 = ${color.bd}
bar-used-foreground-7 = ${color.bd}
bar-used-foreground-8 = ${color.bd}
bar-used-fill-font = 2
bar-used-empty =
bar-used-empty-foreground = ${color.fg}
bar-used-empty-font = 2
[module/memory_bar_i]
type = internal/memory
interval = 3
format =
format-background = ${color.brown}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/mpd_bar]
type = internal/mpd
interval = 1
format-online = <label-song> <bar-progress> <label-time>
format-online-background = ${color.mf}
format-online-padding = 1
label-song = "%title%"
label-song-maxlen = 25
label-song-ellipsis = true
label-offline = "mpd is offline"
icon-play =
icon-pause =
icon-stop =
icon-prev =
icon-next =
bar-progress-width = 10
bar-progress-gradient = true
bar-progress-indicator =
bar-progress-indicator-foreground = ${color.fg}
bar-progress-indicator-font = 2
bar-progress-fill =
bar-progress-foreground-0 = ${color.bn}
bar-progress-foreground-1 = ${color.bn}
bar-progress-foreground-2 = ${color.bn}
bar-progress-foreground-3 = ${color.bm}
bar-progress-foreground-4 = ${color.bm}
bar-progress-foreground-5 = ${color.bm}
bar-progress-foreground-6 = ${color.bd}
bar-progress-foreground-7 = ${color.bd}
bar-progress-foreground-8 = ${color.bd}
bar-progress-fill-font = 2
bar-progress-empty =
bar-progress-empty-foreground = ${color.fg}
bar-progress-empty-font = 2
[module/mpd_bar_i]
type = internal/mpd
interval = 2
format-online = <toggle>
format-online-background = ${color.red}
format-online-padding = 1
icon-play =
icon-pause =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,75 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ______ __
;; / ____/___ / /___ __________
;; / / / __ \/ / __ \/ ___/ ___/
;; / /___/ /_/ / / /_/ / / (__ )
;; \____/\____/_/\____/_/ /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[color]
;; Active Colors
bg = #f0282a36
fg = #d8dee9
fg-alt = #d8dee9
#mf = #4c566a
mf = #f0282a36
# mf = #3b4252
ac = #3b4252
;; Bars
bn = #a3be8c
bm = #d08770
bd = #bf616a
trans = #00000000
white = #FFFFFF
black = #000000
;; Colors
# red = #ff5555
# pink = #ff79c6
# purple =#bd93f9
# blue = #6272a4
# cyan = #8be9fd
# teal = #81a1c1k
# green = #50fa7b
# lime = #a3be8c
# yellow = #f1fa8c
# amber = #d08779
# orange = #ffb86c
# brown = #AC8476
# grey = #8C8C8C
# indigo = #6C77BB
# blue-gray = #6D8895
red = #ff5555
pink = #44475a
purple =#44475a
blue = #44475a
cyan = #ff5555
teal = #44475a
green = #44475a
lime = #44475a
yellow = #44475a
amber = #44475a
orange = #44475a
brown = #44475a
grey = #44475a
indigo = #44475a
blue-gray = #44475a
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,475 @@
;; |
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░░░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█▀▄░█▀█░▀█▀░█▀▀░▀█▀░█░░░█▀▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█░█░█░█░░█░░█▀▀░░█░░█░░░█▀▀░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░▀▀░░▀▀▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ____ __ __
;; / __ \____ / /_ __/ /_ ____ ______
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
;; /_/ \____/_/\__, /_.___/\__,_/_/
;; /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Global WM Settings
[global/wm]
; Adjust the _NET_WM_STRUT_PARTIAL top value
; Used for top aligned bars
margin-bottom = 0
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
; Used for bottom aligned bars
margin-top = 0
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; File Inclusion
; include an external file, like module file, etc.
include-file = ~/.config/polybar/colors.ini
include-file = ~/.config/polybar/modules.ini
include-file = ~/.config/polybar/user_modules.ini
include-file = ~/.config/polybar/bars.ini
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Bar Settings
[bar/main]
; Use either of the following command to list available outputs:
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor = eDP
; Use the specified monitor as a fallback if the main one is not found.
monitor-fallback =
; Require the monitor to be in connected state
; XRandR sometimes reports my monitor as being disconnected (when in use)
width = 100%
height = 20
offset-x = 0%
offset-y = 0%
top = true
fixed-center = false
line-size = 2
cursor-click = pointer
#background = ${color.bg}
background = ${color.bg}
foreground = ${color.fg}
border-right = 3
border-left= 0
border-top=0
border-bottom = 0
border-color = transparent
radius = 0
; fonts are defined using <font-name>;<vertical-offset>
; font names are specified using a fontconfig pattern.
; font-0 = notosans-regular:size=8;2
; font-1 = materialicons:size=10
; font-2 = termsynu:size=8;-1
; font-3 = fontawesome:size=10
; see the fonts wiki page for more details
font-0 = "Mononoki Nerd Font:size=10;2"
font-1 = "typicons:size=12;2"
font-2 = "xos4 Terminus:size=12;2"
font-3 = :FontAwesome:style=Regular:pixelsize=12"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome 5 Free:size:12"
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
;; Available modules
;;
;alsa backlight battery
;bspwm cpu date
;filesystem github bspwm
;memory mpd wired-network
;network pulseaudio temperature
;keyboard title workspaces
;;
;; User modules
;checknetwork updates window_switch launcher powermenu sysmenu menu style
;;
;; Bars
;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar
modules-left = bspwm
modules-center = title tray
modules-right = updates_i updates battery_i battery memory_i memory pulseaudio_i pulseaudio network_i network keyboard_i keyboard date_i date sysmenu_i sysmenu
; The separator will be inserted between the output of each module
separator =
; This value is used to add extra spacing between elements
; @deprecated: This parameter will be removed in an upcoming version
spacing = 0
; Opacity value between 0.0 and 1.0 used on fade in/out
dim-value = 1.0
; Value to be used to set the WM_NAME atom
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name = bspwm
; Locale used to localize various module data (e.g. date)
; Expects a valid libc locale, for example: sv_SE.UTF-8
locale =
; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
; left
; center
; right
; none
tray-position = right
; If true, the bar will not shift its
; contents when the tray changes
tray-detached = false
; Tray icon max size
tray-maxsize = 16
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
; Enable pseudo transparency
; Will automatically be enabled if a fully transparent
; background color is defined using `tray-background`
tray-transparent = false
; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
tray-background = ${color.bg}
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
tray-offset-x = 1
tray-offset-y = 0
; Pad the sides of each tray icon
tray-padding = 0
; Scale factor for tray clients
tray-scale = 1.0
; Restack the bar window and put it above the
; selected window manager's root
;
; Fixes the issue where the bar is being drawn
; on top of fullscreen window's
;
; Currently supported WM's:
; bspwm
; i3 (requires: `override-redirect = true`)
wm-restack =
; Set a DPI values used when rendering text
; This only affects scalable fonts
; dpi =
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
double-click-left =
double-click-middle =
double-click-right =
; Requires polybar to be built with xcursor support (xcb-util-cursor)
; Possible values are:
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-scroll =
;; WM Workspace Specific
; bspwm
;;scroll-up = bspwm-desknext
;;scroll-down = bspwm-deskprev
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
;i3
;;scroll-up = i3wm-wsnext
;;scroll-down = i3wm-wsprev
;;scroll-up = i3-msg workspace next_on_output
;;scroll-down = i3-msg workspace prev_on_output
;openbox
;awesome
;etc
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Application Settings
[bar/second]
; Use either of the following command to list available outputs:
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor = HDMI-A-0
; Use the specified monitor as a fallback if the main one is not found.
width = 100%
height = 20
offset-x = 0%
offset-y = 0%
top = true
fixed-center = false
line-size = 2
cursor-click = pointer
background = ${color.bg}
foreground = ${color.fg}
border-right = 0
border-left= 0
border-top=0
border-bottom = 0
border-color = transparent
radius = 0
font-0 = "Mononoki Nerd Font:size=10;2"
font-1 = "typicons:size=12;2"
font-2 = "xos4 Terminus:size=12;2"
font-3 = "FontAwesome:style=Regular:pixelsize=12"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome 5 Free:size:12"
; Modules are added to one of the available blocks
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
;; Available modules
;;
;alsa backlight battery
;bspwm cpu date
;filesystem github i3
;memory mpd wired-network
;network pulseaudio temperature
;keyboard title workspaces
;;
;; User modules
;checknetwork updates window_switch launcher powermenu sysmenu menu style
;;
;; Bars
;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar
modules-left = bspwm
modules-center = title
modules-right = cpu_i cpu filesystem_i filesystem pulseaudio_i pulseaudio keyboard_i keyboard
; The separator will be inserted between the output of each module
separator =
; This value is used to add extra spacing between elements
; @deprecated: This parameter will be removed in an upcoming version
spacing = 0
; Opacity value between 0.0 and 1.0 used on fade in/out
dim-value = 1.0
; Value to be used to set the WM_NAME atom
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name =bspwm
; Locale used to localize various module data (e.g. date)
; Expects a valid libc locale, for example: sv_SE.UTF-8
locale =
; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
; left
; center
; right
; none
tray-position = none
; If true, the bar will not shift its
; contents when the tray changes
tray-detached = true
; Tray icon max size
tray-maxsize = 16
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
; Enable pseudo transparency
; Will automatically be enabled if a fully transparent
; background color is defined using `tray-background`
tray-transparent = false
; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
tray-background = ${color.bg}
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
tray-offset-x = 0
tray-offset-y = 0
; Pad the sides of each tray icon
tray-padding = 0
; Scale factor for tray clients
tray-scale = 1.0
; Restack the bar window and put it above the
; selected window manager's root
;
; Fixes the issue where the bar is being drawn
; on top of fullscreen window's
;
; Currently supported WM's:
; bspwm
; i3 (requires: `override-redirect = true`)
wm-restack =
;override-redirect = true
; Set a DPI values used when rendering text
; This only affects scalable fonts
; dpi =
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
double-click-left =
double-click-middle =
double-click-right =
; Requires polybar to be built with xcursor support (xcb-util-cursor)
; Possible values are:
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-scroll =
;; WM Workspace Specific
; bspwm
;;scroll-up = bspwm-desknext
;;scroll-down = bspwm-deskprev
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
;i3
;;scroll-up = i3wm-wsnext
;;scroll-down = i3wm-wsprev
;;scroll-up = i3-msg workspace next_on_output
;;scroll-down = i3-msg workspace prev_on_output
;openbox
;awesome
;etc
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Application Settings
[settings]
; The throttle settings lets the eventloop swallow up til X events
; if they happen within Y millisecond after first event was received.
; This is done to prevent flood of update event.
;
; For example if 5 modules emit an update event at the same time, we really
; just care about the last one. But if we wait too long for events to swallow
; the bar would appear sluggish so we continue if timeout
; expires or limit is reached.
throttle-output = 5
throttle-output-for = 10
; Time in milliseconds that the input handler will wait between processing events
throttle-input-for = 30
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
screenchange-reload = false
; Compositing operators
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
; Define fallback values used by all module formats
format-foreground =
format-background =
format-underline =
format-overline =
format-spacing =
format-padding =
format-margin =
format-offset =
; Enables pseudo-transparency for the bar
; If set to true the bar can be transparent without a compositor.
pseudo-transparency = false
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,13 @@
#!/usr/bin/env sh
## Add this to your wm startup file.
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar -c ~/.config/polybar/themes/monolit-dracula/config.ini main &
polybar -c ~/.config/polybar/themes/monolit-dracula/config.ini second &

View file

@ -0,0 +1,783 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; __ ___ __ __
;; / |/ /___ ____/ /_ __/ /__ _____
;; / /|_/ / __ \/ __ / / / / / _ \/ ___/
;; / / / / /_/ / /_/ / /_/ / / __(__ )
;; /_/ /_/\____/\__,_/\__,_/_/\___/____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/alsa]
type = internal/alsa
format-volume = <label-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
label-volume = %percentage%%
format-muted-background = ${color.mf}
format-muted-foreground = ${color.red}
format-muted-padding = 1
label-muted = "Muted"
label-muted-foreground = ${color.red}
[module/alsa_i]
type = internal/alsa
format-volume = <ramp-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/backlight]
type = internal/xbacklight
card = intel_backlight
format = <ramp>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = %percentage%%
; Available tags:
; <label> (default)
; <ramp>
; <bar>
; Available tokens:
; %percentage% (default)
; Only applies if <ramp> is used
ramp-0 = 🌕
ramp-1 = 🌔
ramp-2 = 🌓
ramp-3 = 🌒
ramp-4 = 🌑
; Only applies if <bar> is used
bar-width = 10
bar-indicator = |
bar-fill =
bar-empty =
[module/backlight_i]
type = internal/xbacklight
card = intel_backlight
format = <ramp>
format-background = ${color.lime}
format-foreground = ${color.fg}
format-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/battery]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 2
time-format = %H:%M
format-charging = <label-charging>
format-charging-background = ${color.mf}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <label-discharging>
format-discharging-background = ${color.mf}
format-discharging-foreground = ${color.fg}
format-discharging-padding = 1
label-charging = %percentage%%
label-discharging = %percentage%%
label-full = Fully!
label-full-foreground = ${color.fg}
label-full-background = ${color.mf}
label-full-padding = 1
[module/battery_i]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 2
time-format = %H:%M
format-charging = <animation-charging>
format-charging-background = ${color.green}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <ramp-capacity>
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/bspwm]
type = internal/bspwm
Only show workspaces defined on the same output as the bar
NOTE: The bspwm and XRandR monitor names must match, which they do by default.
Default: true
pin-workspaces = true
Output mode flags after focused state label
Default: false
inline-mode = false
Create click handler used to focus workspace
Default: true
enable-click = false
Create scroll handlers used to cycle workspaces
Default: true
enable-scroll = false
Set the scroll cycle direction
Default: true
reverse-scroll = false
Use fuzzy (partial) matching on labels when assigning
icons to workspaces
Example: code;♚ will apply the icon to all workspaces
containing 'code' in the label
Default: false
fuzzy-match = true
ws-icon-[0-9]+ = label;icon
Note that the label needs to correspond with the bspwm workspace name
ws-icon-0 = code;♚
ws-icon-1 = office;♛
ws-icon-2 = graphics;♜
ws-icon-3 = mail;♝
ws-icon-4 = web;♞
ws-icon-default =
Available tags:
<label-monitor>
<label-state> - gets replaced with <label-(focused|urgent|occupied|empty)>
<label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)>
Default: <label-state>
format = <label-state> <label-mode>
Available tokens:
%name%
Default: %name%
label-monitor = %name%
If any values for label-dimmed-N are defined, the workspace/mode
colors will get overridden with those values if the monitor is out of focus
To only override workspaces in a specific state, use:
label-dimmed-focused
label-dimmed-occupied
label-dimmed-urgent
label-dimmed-empty
label-dimmed-foreground = #555
label-dimmed-underline = ${bar/top.background}
label-dimmed-focused-background = #f00
Available tokens:
%name%
%icon%
%index%
Default: %icon% %name%
label-focused = %icon%
label-focused-foreground = #ffffff
label-focused-background = #3f3f3f
label-focused-underline = #fba922
Available tokens:
%name%
%icon%
%index%
Default: %icon% %name%
label-occupied = %icon%
label-occupied-underline = #555555
Available tokens:
%name%
%icon%
%index%
Default: %icon% %name%
label-urgent = %icon%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-underline = #9b0a20
Available tokens:
%name%
%icon%
%index%
Default: %icon% %name%
label-empty = %icon%
label-empty-foreground = #55
The following labels will be used to indicate the layout/mode
for the focused workspace. Requires <label-mode>
Available tokens:
None
abel-monocle =
abel-tiled =
abel-fullscreen =
abel-floating =
abel-pseudotiled = P
abel-locked =
abel-locked-foreground = #bd2c40
abel-sticky =
abel-sticky-foreground = #fba922
abel-private =
abel-private-foreground = #bd2c40
Separator in between workspaces
label-separator = |
label-separator-padding = 1
label-separator-foreground = #ffb52a
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/cpu]
type = internal/cpu
interval = 0.5
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%percentage%%"
[module/cpu_i]
type = internal/cpu
interval = 0.5
format =
format-background = ${color.teal}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/date]
type = internal/date
interval = 1.0
time = %I:%M %p
time-alt = %Y-%m-%d%
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = %time%
[module/date_i]
type = internal/date
interval = 1.0
time =
time-alt =
format = <label>
format-background = ${color.amber}
format-foreground = ${color.fg}
format-padding = 1
label = %time%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted = <label-mounted>
format-mounted-background = ${color.mf}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted = <label-unmounted>
format-unmounted-background = ${color.mf}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
label-mounted = "%free%"
label-unmounted = %mountpoint%: not mounted
[module/filesystem_i]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted =
format-mounted-background = ${color.green}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted =
format-unmounted-background = ${color.red}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;[module/github]
;;type = internal/github
; Accessing an access token stored in file
;;token = ${file:/path/to/file/containing/github/access.token}
; Accessing an access token stored in an environment variable
;;token = ${env:GITHUB_ACCESS_TOKEN}
; Whether empty notifications should be displayed or not
;;empty-notifications = false
; Number of seconds in between requests
;;interval = 10
; Available tags:
; <label> (default)
;;format = <label>
; Available tokens:
; %notifications% (default)
; Default: Notifications: %notifications%
;;label = %notifications%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/i3]
type = internal/i3
pin-workspaces = true
strip-wsnumbers = false
index-sort = true
enable-click = true
enable-scroll = true
wrapping-scroll = false
reverse-scroll = false
;①②③④⑤⑥⑦⑧⑨⑩
;              
ws-icon-0 = "2;"
ws-icon-1 = "3;"
ws-icon-2 = "4;"
ws-icon-3 = "5;"
ws-icon-4 = "6;"
ws-icon-5 = "7;"
ws-icon-6 = "8;"
ws-icon-7 = "9;"
ws-icon-8 = "10;"
ws-icon-9 = "1;"
ws-icon-default = "null"
format = <label-state> <label-mode>
label-focused = %icon% %name%
label-focused-foreground = ${color.fg}
label-focused-background = ${color.ac}
label-focused-underline = ${color.ac}
label-focused-padding = 1
label-unfocused = %icon% %name%
label-unfocused-foreground = ${color.fg}
label-unfocused-background = ${color.mf}
label-unfocused-underline = ${color.mf}
label-unfocused-padding = 1
label-visible = %icon% %name%
label-visible-underline = ${color.ac}
label-visible-padding = 1
label-mode = %mode%
label-mode-padding = 2
label-mode-background = ${color.ac}
label-urgent = %icon% %name%
label-urgent-foreground = ${color.fg}
label-urgent-background = ${color.red}
label-urgent-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/memory]
type = internal/memory
interval = 3
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%mb_used%"
[module/memory_i]
type = internal/memory
interval = 3
format =
format-background = ${color.brown}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/mpd]
type = internal/mpd
interval = 2
format-online = <label-song> <icon-next>
format-online-background = ${color.mf}
format-online-padding = 1
label-song = "%artist% - %title%"
label-song-maxlen = 20
label-song-ellipsis = true
label-offline = "MPD is offline"
icon-play =
icon-pause =
icon-stop =
icon-prev =
icon-next =
[module/mpd_i]
type = internal/mpd
interval = 2
format-online = <toggle>
format-online-background = ${color.red}
format-online-padding = 1
icon-play =
icon-pause =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/network]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
unknown-as-up = true
format-connected = <label-connected>
format-connected-background = ${color.mf}
format-connected-foreground = ${color.fg}
format-connected-padding = 1
format-disconnected = <label-disconnected>
format-disconnected-background = ${color.mf}
format-disconnected-foreground = ${color.fg}
format-disconnected-padding = 1
label-connected = "%essid%"
label-disconnected = "Disconnected"
[module/network_i]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
unknown-as-up = true
format-connected = <ramp-signal>
format-connected-background = ${color.purple}
format-connected-foreground = ${color.fg}
format-connected-padding = 1
format-disconnected = <label-disconnected>
format-disconnected-background = ${color.purple}
format-disconnected-foreground = ${color.fg}
format-disconnected-padding = 1
label-disconnected =
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/pulseaudio]
type = internal/pulseaudio
sink = alsa_output.pci-0000_12_00.3.analog-stereo
use-ui-max = true
interval = 5
format-volume = <label-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
label-muted = Muted
format-muted-background = ${color.mf}
format-muted-foreground = ${color.red}
format-muted-padding = 1
[module/pulseaudio_i]
type = internal/alsa
format-volume = <ramp-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/temperature]
type = internal/temperature
interval = 0.5
thermal-zone = 0
warn-temperature = 60
units = true
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
format-warn = <label-warn>
format-warn-background = ${color.mf}
format-warn-foreground = ${color.red}
format-warn-padding = 1
label = %temperature-c%
label-warn = "%temperature-c%"
[module/temperature_i]
type = internal/temperature
interval = 0.5
thermal-zone = 0
warn-temperature = 60
units = true
format = <ramp>
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
format-warn = <ramp>
format-warn-background = ${color.cyan}
format-warn-foreground = ${color.fg}
format-warn-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format = <label-layout> <label-indicator>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-layout = %layout%
label-indicator = %name%
label-indicator-foreground = ${color.fg}
[module/keyboard_i]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format =
format-background = ${color.blue-gray}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/title]
type = internal/xwindow
format = <label>
format-foreground = ${color.fg-alt}
label = %title%
label-maxlen = 40
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = true
strip-wsnumbers = false
index-sort = true
enable-click = true
enable-scroll = true
;
;icon-0 = 1;1
;icon-1 = 2;2
;icon-2 = 3;3
;icon-3 = 4;4
;icon-4 = 5;5
;icon-5 = 6;6
;icon-6 = 7;7
;icon-7 = 8;8
;icon-8 = 9;9
;icon-9 = 10;0
;icon-default = 
;
icon-0 = 1;www
icon-1 = 2;prog
icon-2 = 3;debug
icon-3 = 4;chat
icon-4 = 5;λ
icon-6 = 6;</>
icon-7 = 7;study
icon-8 = 8;music
icon-9 = 9;youtube
icon-default = null
format = <label-state>
format-padding = 0
label-monitor = %name%
label-active = %icon%
label-active-foreground = ${color.fg}
label-active-background = ${color.ac}
label-occupied = %icon%
label-occupied-foreground = ${color.fg}
label-occupied-background = ${color.bg}
label-urgent = %icon%
label-urgent-foreground = ${color.fg}
label-urgent-background = ${color.red}
label-empty = %icon%
label-empty-foreground = ${color.fg}
label-empty-background = ${color.mf}
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,296 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; __ __ __ ___ __ __
;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____
;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/
;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ )
;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/checknetwork]
type = custom/script
exec = ~/.config/polybar/scripts/check-network
tail = true
interval = 5
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = networkmanager_dmenu &
click-middle = networkmanager_dmenu &
click-right = networkmanager_dmenu &
[module/checknetwork_i]
type = custom/text
content =
content-background = ${color.green}
content-foreground = ${color.fg}
content-padding = 1
click-left = networkmanager_dmenu &
click-middle = networkmanager_dmenu &
click-right = networkmanager_dmenu &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
tail = true
interval = 5
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = ~/.config/polybar/scripts/lupdates &
[module/updates_i]
type = custom/text
content =
content-background = ${color.ac}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/lupdates &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/window_switch]
type = custom/text
content = Switch
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = skippy-xd
click-middle = skippy-xd
click-right = ~/.config/polybar/scripts/windows
[module/window_switch_i]
type = custom/text
content =
content-background = ${color.pink}
content-foreground = ${color.fg}
content-padding = 1
click-left = skippy-xd
click-middle = skippy-xd
click-right = ~/.config/polybar/scripts/windows
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/launcher]
type = custom/text
content = Menu
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/launcher
click-right = ~/.config/polybar/scripts/launcher-alt
[module/launcher_i]
type = custom/text
content =
content-background = ${color.red}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/launcher
click-right = ~/.config/polybar/scripts/launcher-alt
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/separator]
type = custom/text
content = |
content-background = ${color.bg}
content-foreground = ${color.bg}
content-padding = 0.5
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/sysmenu]
type = custom/text
content = System
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/powermenu
click-right = ~/.config/polybar/scripts/powermenu-alt
[module/sysmenu_i]
type = custom/text
content =
content-background = ${color.cyan}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/powermenu
click-right = ~/.config/polybar/scripts/powermenu-alt
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/powermenu]
type = custom/menu
expand-right = true
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = shutdown
menu-0-1-exec = menu-open-2
menu-1-0 = back
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = systemctl reboot
menu-2-0 = shutdown
menu-2-0-exec = systemctl poweroff
menu-2-1 = back
menu-2-1-exec = menu-open-0
format-spacing = 1
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-open = Power
label-close =
label-separator = |
label-open-foreground = ${color.fg}
label-close-foreground = ${color.red}
label-separator-foreground = ${color.grey}
[module/powermenu_i]
type = custom/text
content =
content-background = ${color.cyan}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/menu]
type = custom/menu
expand-right = true
menu-0-0 = Apps
menu-0-0-exec = ~/.config/polybar/scripts/launcher &
menu-0-1 = Files
menu-0-1-exec = thunar &
menu-0-2 = Terminal
menu-0-2-exec = termite &
menu-0-3 = Browser
menu-0-3-exec = firefox &
format-spacing = 1
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-open = Menu
label-close =
label-separator = |
label-open-foreground = ${color.fg}
label-close-foreground = ${color.red}
label-separator-foreground = ${color.grey}
[module/menu_i]
type = custom/text
content =
content-background = ${color.red}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/style]
type = custom/text
content = Style
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/style-switch.sh &
click-right = ~/.config/polybar/scripts/style-switch.sh &
[module/style_i]
type = custom/text
content =
content-background = ${color.orange}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/style-switch.sh &
click-right = ~/.config/polybar/scripts/style-switch.sh &
[module/redshift_i]
type = custom/text
content =
content-background = ${color.orange}
content-foreground = ${color.fg}
content-padding = 1
exec = echo " "
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
interval=0.5
[module/redshift]
type = custom/script
format-prefix = " "
content-background = ${color.orange}
content-foreground = ${color.fg}
exec = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh temperature
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
interval=0.5
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,431 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ____
;; / __ )____ ___________
;; / __ / __ `/ ___/ ___/
;; / /_/ / /_/ / / (__ )
;; /_____/\__,_/_/ /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/volume]
type = internal/alsa
format-volume = <bar-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
format-muted = <label-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 = <ramp-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 = <bar>
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 = <ramp>
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 = <bar-capacity>
format-charging-background = ${color.mf}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <bar-capacity>
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 = <animation-charging>
format-charging-background = ${color.green}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <ramp-capacity>
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 = <bar-load> <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%percentage%%"
bar-load-width = 10
bar-load-gradient = false
bar-load-indicator =
bar-load-indicator-foreground = ${color.fg}
bar-load-indicator-font = 2
bar-load-fill =
bar-load-foreground-0 = ${color.bn}
bar-load-foreground-1 = ${color.bn}
bar-load-foreground-2 = ${color.bn}
bar-load-foreground-3 = ${color.bm}
bar-load-foreground-4 = ${color.bm}
bar-load-foreground-5 = ${color.bm}
bar-load-foreground-6 = ${color.bd}
bar-load-foreground-7 = ${color.bd}
bar-load-foreground-8 = ${color.bd}
bar-load-fill-font = 2
bar-load-empty =
bar-load-empty-foreground = ${color.fg}
bar-load-empty-font = 2
[module/cpu_bar_i]
type = internal/cpu
interval = 0.5
format =
format-background = ${color.teal}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/filesystem_bar]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = false
format-mounted = <bar-used> <label-mounted>
format-mounted-background = ${color.mf}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
label-mounted = %used%/%total%
bar-used-width = 10
bar-used-gradient = false
bar-used-indicator =
bar-used-indicator-foreground = ${color.fg}
bar-used-indicator-font = 2
bar-used-fill =
bar-used-foreground-0 = ${color.bn}
bar-used-foreground-1 = ${color.bn}
bar-used-foreground-2 = ${color.bn}
bar-used-foreground-3 = ${color.bn}
bar-used-foreground-4 = ${color.bn}
bar-used-foreground-5 = ${color.bm}
bar-used-foreground-6 = ${color.bm}
bar-used-foreground-7 = ${color.bd}
bar-used-foreground-8 = ${color.bd}
bar-used-fill-font = 2
bar-used-empty =
bar-used-empty-foreground = ${color.fg}
bar-used-empty-font = 2
[module/filesystem_bar_i]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted =
format-mounted-background = ${color.green}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted =
format-unmounted-background = ${color.red}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/memory_bar]
type = internal/memory
interval = 2
format = <bar-used> <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%mb_used%"
bar-used-width = 10
bar-used-gradient = false
bar-used-indicator =
bar-used-indicator-foreground = ${color.fg}
bar-used-indicator-font = 2
bar-used-fill =
bar-used-foreground-0 = ${color.bn}
bar-used-foreground-1 = ${color.bn}
bar-used-foreground-2 = ${color.bn}
bar-used-foreground-3 = ${color.bm}
bar-used-foreground-4 = ${color.bm}
bar-used-foreground-5 = ${color.bm}
bar-used-foreground-6 = ${color.bd}
bar-used-foreground-7 = ${color.bd}
bar-used-foreground-8 = ${color.bd}
bar-used-fill-font = 2
bar-used-empty =
bar-used-empty-foreground = ${color.fg}
bar-used-empty-font = 2
[module/memory_bar_i]
type = internal/memory
interval = 3
format =
format-background = ${color.brown}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/mpd_bar]
type = internal/mpd
interval = 1
format-online = <label-song> <bar-progress> <label-time>
format-online-background = ${color.mf}
format-online-padding = 1
label-song = "%title%"
label-song-maxlen = 25
label-song-ellipsis = true
label-offline = "mpd is offline"
icon-play =
icon-pause =
icon-stop =
icon-prev =
icon-next =
bar-progress-width = 10
bar-progress-gradient = true
bar-progress-indicator =
bar-progress-indicator-foreground = ${color.fg}
bar-progress-indicator-font = 2
bar-progress-fill =
bar-progress-foreground-0 = ${color.bn}
bar-progress-foreground-1 = ${color.bn}
bar-progress-foreground-2 = ${color.bn}
bar-progress-foreground-3 = ${color.bm}
bar-progress-foreground-4 = ${color.bm}
bar-progress-foreground-5 = ${color.bm}
bar-progress-foreground-6 = ${color.bd}
bar-progress-foreground-7 = ${color.bd}
bar-progress-foreground-8 = ${color.bd}
bar-progress-fill-font = 2
bar-progress-empty =
bar-progress-empty-foreground = ${color.fg}
bar-progress-empty-font = 2
[module/mpd_bar_i]
type = internal/mpd
interval = 2
format-online = <toggle>
format-online-background = ${color.red}
format-online-padding = 1
icon-play =
icon-pause =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,75 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ______ __
;; / ____/___ / /___ __________
;; / / / __ \/ / __ \/ ___/ ___/
;; / /___/ /_/ / / /_/ / / (__ )
;; \____/\____/_/\____/_/ /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[color]
;; Active Colors
bg = #002b36
fg = #fdf6e3
fg-alt = #eee8d5
#mf = #4c566a
mf = #f0282a36
# mf = #073642
ac = #93a1a1
;; Bars
bn = #859900
bm = #cb4b16
bd = #dc322f
trans = #00000000
white = #FFFFFF
black = #000000
;; Colors
# red = #ff5555
# pink = #ff79c6
# purple =#bd93f9
# blue = #6272a4
# cyan = #8be9fd
# teal = #81a1c1k
# green = #50fa7b
# lime = #a3be8c
# yellow = #f1fa8c
# amber = #d08779
# orange = #ffb86c
# brown = #AC8476
# grey = #8C8C8C
# indigo = #6C77BB
# blue-gray = #6D8895
red = #dc322f
pink = #6c71c4
purple =#d33682
blue = #268bd2
cyan = #6c71c4
teal = #2aa198
green = #859900
lime = #b58900
yellow = #b58900
amber = #b58900
orange = #cb4b16
brown = #cb4b16
grey = #839496
indigo = #002b36
blue-gray = #586e75
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,475 @@
;; |
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░░░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█▀▄░█▀█░▀█▀░█▀▀░▀█▀░█░░░█▀▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░█░█░█░█░░█░░█▀▀░░█░░█░░░█▀▀░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░▀▀░░▀▀▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ____ __ __
;; / __ \____ / /_ __/ /_ ____ ______
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
;; /_/ \____/_/\__, /_.___/\__,_/_/
;; /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Global WM Settings
[global/wm]
; Adjust the _NET_WM_STRUT_PARTIAL top value
; Used for top aligned bars
margin-bottom = 0
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
; Used for bottom aligned bars
margin-top = 0
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; File Inclusion
; include an external file, like module file, etc.
include-file = ~/.config/polybar/colors.ini
include-file = ~/.config/polybar/modules.ini
include-file = ~/.config/polybar/user_modules.ini
include-file = ~/.config/polybar/bars.ini
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Bar Settings
[bar/main]
; Use either of the following command to list available outputs:
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor = eDP
; Use the specified monitor as a fallback if the main one is not found.
monitor-fallback =
; Require the monitor to be in connected state
; XRandR sometimes reports my monitor as being disconnected (when in use)
width = 100%
height = 20
offset-x = 0%
offset-y = 0%
top = true
fixed-center = false
line-size = 2
cursor-click = pointer
#background = ${color.bg}
background = ${color.bg}
foreground = ${color.fg}
border-right = 0
border-left= 0
border-top=0
border-bottom = 0
border-color = transparent
radius = 0
; fonts are defined using <font-name>;<vertical-offset>
; font names are specified using a fontconfig pattern.
; font-0 = notosans-regular:size=8;2
; font-1 = materialicons:size=10
; font-2 = termsynu:size=8;-1
; font-3 = fontawesome:size=10
; see the fonts wiki page for more details
font-0 = "Mononoki Nerd Font:size=10;2"
font-1 = "typicons:size=12;2"
font-2 = "xos4 Terminus:size=12;2"
font-3 = :FontAwesome:style=Regular:pixelsize=12"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome 5 Free:size:12"
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
;; Available modules
;;
;alsa backlight battery
;bspwm cpu date
;filesystem github bspwm
;memory mpd wired-network
;network pulseaudio temperature
;keyboard title workspaces
;;
;; User modules
;checknetwork updates window_switch launcher powermenu sysmenu menu style
;;
;; Bars
;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar
modules-left = workspaces
modules-center = title tray
modules-right = battery_i battery memory_i memory pulseaudio_i pulseaudio network_i network keyboard_i keyboard date_i date sysmenu_i sysmenu
; The separator will be inserted between the output of each module
separator =
; This value is used to add extra spacing between elements
; @deprecated: This parameter will be removed in an upcoming version
spacing = 0
; Opacity value between 0.0 and 1.0 used on fade in/out
dim-value = 0.0
; Value to be used to set the WM_NAME atom
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name = bspwm
; Locale used to localize various module data (e.g. date)
; Expects a valid libc locale, for example: sv_SE.UTF-8
locale =
; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
; left
; center
; right
; none
tray-position = right
; If true, the bar will not shift its
; contents when the tray changes
tray-detached = false
; Tray icon max size
tray-maxsize = 16
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
; Enable pseudo transparency
; Will automatically be enabled if a fully transparent
; background color is defined using `tray-background`
tray-transparent = false
; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
tray-background = ${color.bg}
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
tray-offset-x = 1
tray-offset-y = 0
; Pad the sides of each tray icon
tray-padding = 0
; Scale factor for tray clients
tray-scale = 1.0
; Restack the bar window and put it above the
; selected window manager's root
;
; Fixes the issue where the bar is being drawn
; on top of fullscreen window's
;
; Currently supported WM's:
; bspwm
; i3 (requires: `override-redirect = true`)
wm-restack =
; Set a DPI values used when rendering text
; This only affects scalable fonts
; dpi =
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
double-click-left =
double-click-middle =
double-click-right =
; Requires polybar to be built with xcursor support (xcb-util-cursor)
; Possible values are:
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-scroll =
;; WM Workspace Specific
; bspwm
;;scroll-up = bspwm-desknext
;;scroll-down = bspwm-deskprev
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
;i3
;;scroll-up = i3wm-wsnext
;;scroll-down = i3wm-wsprev
;;scroll-up = i3-msg workspace next_on_output
;;scroll-down = i3-msg workspace prev_on_output
;openbox
;awesome
;etc
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Application Settings
[bar/second]
; Use either of the following command to list available outputs:
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor = HDMI-A-0
; Use the specified monitor as a fallback if the main one is not found.
width = 100%
height = 20
offset-x = 0%
offset-y = 0%
top = true
fixed-center = false
line-size = 2
cursor-click = pointer
background = ${color.bg}
foreground = ${color.fg}
border-right = 0
border-left= 0
border-top=0
border-bottom = 0
border-color = transparent
radius = 0
font-0 = "Mononoki Nerd Font:size=10;2"
font-1 = "typicons:size=12;2"
font-2 = "xos4 Terminus:size=12;2"
font-3 = "FontAwesome:style=Regular:pixelsize=12"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome 5 Free:size:12"
; Modules are added to one of the available blocks
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
;; Available modules
;;
;alsa backlight battery
;bspwm cpu date
;filesystem github i3
;memory mpd wired-network
;network pulseaudio temperature
;keyboard title workspaces
;;
;; User modules
;checknetwork updates window_switch launcher powermenu sysmenu menu style
;;
;; Bars
;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar
modules-left = workspaces
modules-center = title
modules-right = cpu_i cpu filesystem_i filesystem pulseaudio_i pulseaudio keyboard_i keyboard
; The separator will be inserted between the output of each module
separator =
; This value is used to add extra spacing between elements
; @deprecated: This parameter will be removed in an upcoming version
spacing = 0
; Opacity value between 0.0 and 1.0 used on fade in/out
dim-value = 1.0
; Value to be used to set the WM_NAME atom
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name =bspwm
; Locale used to localize various module data (e.g. date)
; Expects a valid libc locale, for example: sv_SE.UTF-8
locale =
; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
; left
; center
; right
; none
tray-position = none
; If true, the bar will not shift its
; contents when the tray changes
tray-detached = true
; Tray icon max size
tray-maxsize = 16
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
; Enable pseudo transparency
; Will automatically be enabled if a fully transparent
; background color is defined using `tray-background`
tray-transparent = false
; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
tray-background = ${color.bg}
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
tray-offset-x = 0
tray-offset-y = 0
; Pad the sides of each tray icon
tray-padding = 0
; Scale factor for tray clients
tray-scale = 1.0
; Restack the bar window and put it above the
; selected window manager's root
;
; Fixes the issue where the bar is being drawn
; on top of fullscreen window's
;
; Currently supported WM's:
; bspwm
; i3 (requires: `override-redirect = true`)
wm-restack =
;override-redirect = true
; Set a DPI values used when rendering text
; This only affects scalable fonts
; dpi =
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
double-click-left =
double-click-middle =
double-click-right =
; Requires polybar to be built with xcursor support (xcb-util-cursor)
; Possible values are:
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-scroll =
;; WM Workspace Specific
; bspwm
;;scroll-up = bspwm-desknext
;;scroll-down = bspwm-deskprev
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
;i3
;;scroll-up = i3wm-wsnext
;;scroll-down = i3wm-wsprev
;;scroll-up = i3-msg workspace next_on_output
;;scroll-down = i3-msg workspace prev_on_output
;openbox
;awesome
;etc
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Application Settings
[settings]
; The throttle settings lets the eventloop swallow up til X events
; if they happen within Y millisecond after first event was received.
; This is done to prevent flood of update event.
;
; For example if 5 modules emit an update event at the same time, we really
; just care about the last one. But if we wait too long for events to swallow
; the bar would appear sluggish so we continue if timeout
; expires or limit is reached.
throttle-output = 5
throttle-output-for = 10
; Time in milliseconds that the input handler will wait between processing events
throttle-input-for = 30
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
screenchange-reload = false
; Compositing operators
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
; Define fallback values used by all module formats
format-foreground =
format-background =
format-underline =
format-overline =
format-spacing =
format-padding =
format-margin =
format-offset =
; Enables pseudo-transparency for the bar
; If set to true the bar can be transparent without a compositor.
pseudo-transparency = false
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,17 @@
#!/usr/bin/sh
## Add this to your wm startup file.
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar -c ~/.config/polybar/config.ini main &
if [ $1 = duo ]
then
polybar -c ~/.config/polybar/config.ini second &
fi

View file

@ -0,0 +1,767 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; __ ___ __ __
;; / |/ /___ ____/ /_ __/ /__ _____
;; / /|_/ / __ \/ __ / / / / / _ \/ ___/
;; / / / / /_/ / /_/ / /_/ / / __(__ )
;; /_/ /_/\____/\__,_/\__,_/_/\___/____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/alsa]
type = internal/alsa
format-volume = <label-volume>
format-volume-background = ${color.mg}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
label-volume = %percentage%%
format-muted-background = ${color.mg}
format-muted-foreground = ${color.red}
format-muted-padding = 1
label-muted = "Muted"
label-muted-foreground = ${color.red}
[module/alsa_i]
type = internal/alsa
format-volume = <ramp-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/backlight]
type = internal/xbacklight
card = intel_backlight
format = <ramp>
format-background = ${color.mg}
format-foreground = ${color.fg}
format-padding = 1
label = %percentage%%
; Available tags:
; <label> (default)
; <ramp>
; <bar>
; Available tokens:
; %percentage% (default)
; Only applies if <ramp> is used
ramp-0 = 🌕
ramp-1 = 🌔
ramp-2 = 🌓
ramp-3 = 🌒
ramp-4 = 🌑
; Only applies if <bar> is used
bar-width = 10
bar-indicator = |
bar-fill =
bar-empty =
[module/backlight_i]
type = internal/xbacklight
card = intel_backlight
format = <ramp>
format-background = ${color.lime}
format-foreground = ${color.fg}
format-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/battery]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 2
time-format = %H:%M
format-charging = <label-charging>
format-charging-background = ${color.mg}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <label-discharging>
format-discharging-background = ${color.mg}
format-discharging-foreground = ${color.fg}
format-discharging-padding = 1
label-charging = %percentage%%
label-discharging = %percentage%%
label-full = Full
label-full-foreground = ${color.fg}
label-full-background = ${color.mg}
label-full-padding = 1
# 
[module/battery_i]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 2
time-format = %H:%M
format-charging = <animation-charging>
format-charging-background = ${color.mg}
format-charging-foreground = ${color.green}
format-charging-padding = 1
format-discharging = <ramp-capacity>
format-discharging-background = ${color.mg}
format-discharging-foreground = ${color.pink}
format-discharging-padding = 1
label-charging = %percentage%%
label-discharging = %percentage%%
label-full = " "
label-full-background = ${color.mg}
label-full-foreground = ${color.green}
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/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = false
enable-click = true
enable-scroll = true
reverse-scroll = false
fuzzy-match = true
;ws-icon-[0-9]=label;icon
;;Note that the label needs to correspond with the bspwm workspace name
;ws-icon-0 = code;♚
;ws-icon-1 = office;♛
;ws-icon-2 = graphics;♜
;ws-icon-3 = mail;♝
;ws-icon-4 = web;♞
;ws-icon-default = ♟
;
;;Available tags:
;; <label-monitor>
;; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)>
;; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)>
;;Default: <label-state>
;format = <label-state> <label-mode>
;
;;Available tokens:
;; %name%
;;Default: %name%
;label-monitor = %name%
;
;;If any values for label-dimmed-N are defined, the workspace/mode
;;colors will get overridden with those values if the monitor is out of focus
;;To only override workspaces in a specific state, use:
;; label-dimmed-focused
;;; label-dimmed-occupied
;;; label-dimmed-urgent
;; label-dimmed-empty
;label-dimmed-foreground = #555
;label-dimmed-underline = ${bar/top.background}
;label-dimmed-focused-background = #f00
;
;;Available tokens:
;; %name%
;;; %icon%
;; %index%
;;Default: %icon% %name%
;label-focused = %icon%
;label-focused-foreground = #ffffff
;label-focused-background = #3f3f3f
;label-focused-underline = #fba922
;
;;Available tokens:
;; %name%
;;; %icon%
;; %index%
;;Default: %icon% %name%
;label-occupied = %icon%
;label-occupied-underline = #555555
;
;;Available tokens:
;; %name%
;;; %icon%
;; %index%
;;Default: %icon% %name%
;label-urgent = %icon%
;label-urgent-foreground = #000000
;label-urgent-background = #bd2c40
;label-urgent-underline = #9b0a20
;
;;Available tokens:
;; %name%
;;; %icon%
;; %index%
;;Default: %icon% %name%
;label-empty = %icon%
;label-empty-foreground = #55
;
;;The following labels will be used to indicate the layout/mode
;;for the focused workspace. Requires <label-mode>
;;;
;;Available tokens:
;; None
;abel-monocle = 
;abel-tiled = 
;abel-fullscreen = 
;abel-floating = 
;abel-pseudotiled = P
;abel-locked = 
;abel-locked-foreground = #bd2c40
;abel-sticky = 
;abel-sticky-foreground = #fba922
;abel-private = 
;abel-private-foreground = #bd2c40
;
;;Separator in between workspaces
;label-separator = |
;label-separator-padding = 1
;label-separator-foreground = #ffb52a
;
;;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;
[module/cpu]
type = internal/cpu
interval = 0.5
format = <label>
format-background = ${color.mg}
format-foreground = ${color.fg}
format-padding = 1
label = "%percentage%%"
[module/cpu_i]
type = internal/cpu
interval = 0.5
format = " "
format-background = ${color.mg}
format-foreground = ${color.teal}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/date]
type = internal/date
interval = 1.0
time = %I:%M %p
time-alt = %Y-%m-%d%
format = <label>
format-background = ${color.mg}
format-foreground = ${color.fg}
format-padding = 1
label = %time%
[module/date_i]
type = internal/date
interval = 1.0
time = ""
time-alt = " "
format = <label>
format-background = ${color.mg}
format-foreground = ${color.amber}
format-padding = 1
label = %time%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted = <label-mounted>
format-mounted-background = ${color.mg}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted = <label-unmounted>
format-unmounted-background = ${color.mg}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
label-mounted = "%free%"
label-unmounted = %mountpoint%: not mounted
[module/filesystem_i]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted = " "
format-mounted-background = ${color.mg}
format-mounted-foreground = ${color.green}
format-mounted-padding = 1
format-unmounted = " "
format-unmounted-background = ${color.mg}
format-unmounted-foreground = ${color.red}
format-unmounted-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;[module/github]
;;type = internal/github
; Accessing an access token stored in file
;;token = ${file:/path/to/file/containing/github/access.token}
; Accessing an access token stored in an environment variable
;;token = ${env:GITHUB_ACCESS_TOKEN}
; Whether empty notifications should be displayed or not
;;empty-notifications = false
; Number of seconds in between requests
;;interval = 10
; Available tags:
; <label> (default)
;;format = <label>
; Available tokens:
; %notifications% (default)
; Default: Notifications: %notifications%
;;label = %notifications%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/i3]
type = internal/i3
pin-workspaces = true
strip-wsnumbers = false
index-sort = true
enable-click = true
enable-scroll = true
wrapping-scroll = false
reverse-scroll = false
;①②③④⑤⑥⑦⑧⑨⑩
;              
ws-icon-0 = "2;"
ws-icon-1 = "3;"
ws-icon-2 = "4;"
ws-icon-3 = "5;"
ws-icon-4 = "6;"
ws-icon-5 = "7;"
ws-icon-6 = "8;"
ws-icon-7 = "9;"
ws-icon-8 = "10;"
ws-icon-9 = "1;"
ws-icon-default = "null"
format = <label-state> <label-mode>
label-focused = %icon% %name%
label-focused-foreground = ${color.fg}
label-focused-background = ${color.ac}
label-focused-underline = ${color.ac}
label-focused-padding = 1
label-unfocused = %icon% %name%
label-unfocused-foreground = ${color.fg}
label-unfocused-background = ${color.mg}
label-unfocused-underline = ${color.mg}
label-unfocused-padding = 1
label-visible = %icon% %name%
label-visible-underline = ${color.ac}
label-visible-padding = 1
label-mode = %mode%
label-mode-padding = 2
label-mode-background = ${color.ac}
label-urgent = %icon% %name%
label-urgent-foreground = ${color.fg}
label-urgent-background = ${color.red}
label-urgent-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/memory]
type = internal/memory
interval = 3
format = <label>
format-background = ${color.mg}
format-foreground = ${color.fg}
format-padding = 1
label = "%mb_used%"
[module/memory_i]
type = internal/memory
interval = 3
format = ""
format-background = ${color.mg}
format-foreground = ${color.yellow}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/mpd]
type = internal/mpd
interval = 2
format-online = <label-song> <icon-next>
format-online-background = ${color.mg}
format-online-padding = 1
label-song = "%artist% - %title%"
label-song-maxlen = 20
label-song-ellipsis = true
label-offline = "MPD is offline"
icon-play =
icon-pause =
icon-stop =
icon-prev =
icon-next =
[module/mpd_i]
type = internal/mpd
interval = 2
format-online = <toggle>
format-online-background = ${color.red}
format-online-padding = 1
icon-play =
icon-pause =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/network]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
unknown-as-up = true
format-connected = <label-connected>
format-connected-background = ${color.mg}
format-connected-foreground = ${color.fg}
format-connected-padding = 1
format-disconnected = <label-disconnected>
format-disconnected-background = ${color.mg}
format-disconnected-foreground = ${color.fg}
format-disconnected-padding = 1
label-connected = "%essid%"
label-disconnected = "Disconnected"
[module/network_i]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
unknown-as-up = true
format-connected = <ramp-signal>
format-connected-background = ${color.purple}
format-connected-foreground = ${color.fg}
format-connected-padding = 1
format-disconnected = <label-disconnected>
format-disconnected-background = ${color.purple}
format-disconnected-foreground = ${color.fg}
format-disconnected-padding = 1
label-disconnected =
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/pulseaudio]
type = internal/pulseaudio
sink = alsa_output.pci-0000_12_00.3.analog-stereo
use-ui-max = true
interval = 5
format-volume = <label-volume>
format-volume-background = ${color.mg}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
label-muted = "0%"
format-muted-background = ${color.mg}
format-muted-foreground = ${color.red}
format-muted-padding = 1
[module/pulseaudio_i]
type = internal/alsa
format-volume = <ramp-volume>
format-volume-background = ${color.mg}
format-volume-foreground = ${color.blue}
format-volume-padding = 1
format-muted-background = ${color.mg}
format-muted-foreground = ${color.red}
format-muted-padding = 1
label-muted = " "
label-muted-foreground = ${color.gray}
ramp-volume-0 = " "
ramp-volume-1 = " "
ramp-volume-2 = " "
ramp-volume-3 = " "
ramp-volume-4 = " "
ramp-headphones-0 = " "
ramp-headphones-1 = " "
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/temperature]
type = internal/temperature
interval = 0.5
thermal-zone = 0
warn-temperature = 60
units = true
format = <label>
format-background = ${color.mg}
format-foreground = ${color.fg}
format-padding = 1
format-warn = <label-warn>
format-warn-background = ${color.mg}
format-warn-foreground = ${color.red}
format-warn-padding = 1
label = %temperature-c%
label-warn = "%temperature-c%"
[module/temperature_i]
type = internal/temperature
interval = 0.5
thermal-zone = 0
warn-temperature = 60
units = true
format = <ramp>
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
format-warn = <ramp>
format-warn-background = ${color.cyan}
format-warn-foreground = ${color.fg}
format-warn-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format = <label-layout> <label-indicator>
format-background = ${color.mg}
format-foreground = ${color.fg}
format-padding = 0
label-layout = %layout%
label-indicator = %name%
label-indicator-foreground = ${color.fg}
[module/keyboard_i]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format = " "
format-background = ${color.mg}
format-foreground = ${color.blue-gray}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/title]
type = internal/xwindow
format = <label>
format-foreground = ${color.fg-alt}
label = %title%
label-maxlen = 40
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = true
strip-wsnumbers = false
index-sort = true
enable-click = true
enable-scroll = true
;
;icon-0 = 1;1
;icon-1 = 2;2
;icon-2 = 3;3
;icon-3 = 4;4
;icon-4 = 5;5
;icon-5 = 6;6
;icon-6 = 7;7
;icon-7 = 8;8
;icon-8 = 9;9
;icon-9 = 10;0
;icon-default = 
;
icon-0 ="0; "
icon-1 ="1; "
icon-2 ="2; "
icon-3 ="3; "
icon-4 ="4; "
icon-5 ="5; "
icon-6 ="6; "
icon-7 ="7; "
icon-8 ="8; "
icon-9 ="9; "
format = <label-state>
format-padding = 0
label-monitor = %name%
label-active = %icon%
label-active-foreground = ${color.cyan}
label-active-background = ${color.mg}
label-occupied = %icon%
label-occupied-foreground = ${color.fg}
label-occupied-background = ${color.bg}
label-urgent = %icon%
label-urgent-foreground = ${color.red}
label-urgent-background = ${color.mg}
label-empty = %icon%
label-empty-foreground = ${color.fg}
label-empty-background = ${color.mg}
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,296 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; __ __ __ ___ __ __
;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____
;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/
;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ )
;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/checknetwork]
type = custom/script
exec = ~/.config/polybar/scripts/check-network
tail = true
interval = 5
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = networkmanager_dmenu &
click-middle = networkmanager_dmenu &
click-right = networkmanager_dmenu &
[module/checknetwork_i]
type = custom/text
content =
content-background = ${color.green}
content-foreground = ${color.fg}
content-padding = 1
click-left = networkmanager_dmenu &
click-middle = networkmanager_dmenu &
click-right = networkmanager_dmenu &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
tail = true
interval = 5
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = ~/.config/polybar/scripts/lupdates &
[module/updates_i]
type = custom/text
content =
content-background = ${color.ac}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/lupdates &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/window_switch]
type = custom/text
content = Switch
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = skippy-xd
click-middle = skippy-xd
click-right = ~/.config/polybar/scripts/windows
[module/window_switch_i]
type = custom/text
content =
content-background = ${color.pink}
content-foreground = ${color.fg}
content-padding = 1
click-left = skippy-xd
click-middle = skippy-xd
click-right = ~/.config/polybar/scripts/windows
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/launcher]
type = custom/text
content = Menu
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/launcher
click-right = ~/.config/polybar/scripts/launcher-alt
[module/launcher_i]
type = custom/text
content =
content-background = ${color.red}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/launcher
click-right = ~/.config/polybar/scripts/launcher-alt
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/separator]
type = custom/text
content = |
content-background = ${color.bg}
content-foreground = ${color.bg}
content-padding = 0.5
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/sysmenu]
type = custom/text
content = System
content-background = ${color.mg}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/powermenu
click-right = ~/.config/polybar/scripts/powermenu-alt
[module/sysmenu_i]
type = custom/text
content = ""
content-background = ${color.mg}
content-foreground = ${color.cyan}
content-padding = 1
click-left = ~/.config/polybar/scripts/powermenu
click-right = ~/.config/polybar/scripts/powermenu-alt
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/powermenu]
type = custom/menu
expand-right = true
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = shutdown
menu-0-1-exec = menu-open-2
menu-1-0 = back
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = systemctl reboot
menu-2-0 = shutdown
menu-2-0-exec = systemctl poweroff
menu-2-1 = back
menu-2-1-exec = menu-open-0
format-spacing = 1
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-open = Power
label-close =
label-separator = |
label-open-foreground = ${color.fg}
label-close-foreground = ${color.red}
label-separator-foreground = ${color.grey}
[module/powermenu_i]
type = custom/text
content =
content-background = ${color.cyan}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/menu]
type = custom/menu
expand-right = true
menu-0-0 = Apps
menu-0-0-exec = ~/.config/polybar/scripts/launcher &
menu-0-1 = Files
menu-0-1-exec = thunar &
menu-0-2 = Terminal
menu-0-2-exec = termite &
menu-0-3 = Browser
menu-0-3-exec = firefox &
format-spacing = 1
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-open = Menu
label-close =
label-separator = |
label-open-foreground = ${color.fg}
label-close-foreground = ${color.red}
label-separator-foreground = ${color.grey}
[module/menu_i]
type = custom/text
content =
content-background = ${color.red}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/style]
type = custom/text
content = Style
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/style-switch.sh &
click-right = ~/.config/polybar/scripts/style-switch.sh &
[module/style_i]
type = custom/text
content =
content-background = ${color.orange}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/style-switch.sh &
click-right = ~/.config/polybar/scripts/style-switch.sh &
[module/redshift_i]
type = custom/text
content =
content-background = ${color.orange}
content-foreground = ${color.fg}
content-padding = 1
exec = echo " "
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
interval=0.5
[module/redshift]
type = custom/script
format-prefix = " "
content-background = ${color.orange}
content-foreground = ${color.fg}
exec = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh temperature
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
interval=0.5
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,431 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ____
;; / __ )____ ___________
;; / __ / __ `/ ___/ ___/
;; / /_/ / /_/ / / (__ )
;; /_____/\__,_/_/ /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/volume]
type = internal/alsa
format-volume = <bar-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
format-muted = <label-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 = <ramp-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 = <bar>
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 = <ramp>
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 = <bar-capacity>
format-charging-background = ${color.mf}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <bar-capacity>
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 = <animation-charging>
format-charging-background = ${color.green}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <ramp-capacity>
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 = <bar-load> <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%percentage%%"
bar-load-width = 10
bar-load-gradient = false
bar-load-indicator =
bar-load-indicator-foreground = ${color.fg}
bar-load-indicator-font = 2
bar-load-fill =
bar-load-foreground-0 = ${color.bn}
bar-load-foreground-1 = ${color.bn}
bar-load-foreground-2 = ${color.bn}
bar-load-foreground-3 = ${color.bm}
bar-load-foreground-4 = ${color.bm}
bar-load-foreground-5 = ${color.bm}
bar-load-foreground-6 = ${color.bd}
bar-load-foreground-7 = ${color.bd}
bar-load-foreground-8 = ${color.bd}
bar-load-fill-font = 2
bar-load-empty =
bar-load-empty-foreground = ${color.fg}
bar-load-empty-font = 2
[module/cpu_bar_i]
type = internal/cpu
interval = 0.5
format =
format-background = ${color.teal}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/filesystem_bar]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = false
format-mounted = <bar-used> <label-mounted>
format-mounted-background = ${color.mf}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
label-mounted = %used%/%total%
bar-used-width = 10
bar-used-gradient = false
bar-used-indicator =
bar-used-indicator-foreground = ${color.fg}
bar-used-indicator-font = 2
bar-used-fill =
bar-used-foreground-0 = ${color.bn}
bar-used-foreground-1 = ${color.bn}
bar-used-foreground-2 = ${color.bn}
bar-used-foreground-3 = ${color.bn}
bar-used-foreground-4 = ${color.bn}
bar-used-foreground-5 = ${color.bm}
bar-used-foreground-6 = ${color.bm}
bar-used-foreground-7 = ${color.bd}
bar-used-foreground-8 = ${color.bd}
bar-used-fill-font = 2
bar-used-empty =
bar-used-empty-foreground = ${color.fg}
bar-used-empty-font = 2
[module/filesystem_bar_i]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted =
format-mounted-background = ${color.green}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted =
format-unmounted-background = ${color.red}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/memory_bar]
type = internal/memory
interval = 2
format = <bar-used> <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%mb_used%"
bar-used-width = 10
bar-used-gradient = false
bar-used-indicator =
bar-used-indicator-foreground = ${color.fg}
bar-used-indicator-font = 2
bar-used-fill =
bar-used-foreground-0 = ${color.bn}
bar-used-foreground-1 = ${color.bn}
bar-used-foreground-2 = ${color.bn}
bar-used-foreground-3 = ${color.bm}
bar-used-foreground-4 = ${color.bm}
bar-used-foreground-5 = ${color.bm}
bar-used-foreground-6 = ${color.bd}
bar-used-foreground-7 = ${color.bd}
bar-used-foreground-8 = ${color.bd}
bar-used-fill-font = 2
bar-used-empty =
bar-used-empty-foreground = ${color.fg}
bar-used-empty-font = 2
[module/memory_bar_i]
type = internal/memory
interval = 3
format =
format-background = ${color.brown}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/mpd_bar]
type = internal/mpd
interval = 1
format-online = <label-song> <bar-progress> <label-time>
format-online-background = ${color.mf}
format-online-padding = 1
label-song = "%title%"
label-song-maxlen = 25
label-song-ellipsis = true
label-offline = "mpd is offline"
icon-play =
icon-pause =
icon-stop =
icon-prev =
icon-next =
bar-progress-width = 10
bar-progress-gradient = true
bar-progress-indicator =
bar-progress-indicator-foreground = ${color.fg}
bar-progress-indicator-font = 2
bar-progress-fill =
bar-progress-foreground-0 = ${color.bn}
bar-progress-foreground-1 = ${color.bn}
bar-progress-foreground-2 = ${color.bn}
bar-progress-foreground-3 = ${color.bm}
bar-progress-foreground-4 = ${color.bm}
bar-progress-foreground-5 = ${color.bm}
bar-progress-foreground-6 = ${color.bd}
bar-progress-foreground-7 = ${color.bd}
bar-progress-foreground-8 = ${color.bd}
bar-progress-fill-font = 2
bar-progress-empty =
bar-progress-empty-foreground = ${color.fg}
bar-progress-empty-font = 2
[module/mpd_bar_i]
type = internal/mpd
interval = 2
format-online = <toggle>
format-online-background = ${color.red}
format-online-padding = 1
icon-play =
icon-pause =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,78 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ______ __
;; / ____/___ / /___ __________
;; / / / __ \/ / __ \/ ___/ ___/
;; / /___/ /_/ / / /_/ / / (__ )
;; \____/\____/_/\____/_/ /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[color]
;; Active Colors
bg = #f0282a36
fg = #d8dee9
fg-alt = #d8dee9
fgo = #50fa7b
fgs = #ffb86c
fgl = #bd93f9
#mf = #4c566a
mf = #282a36
# mf = #3b4252
ac = #3b4252
;; Bars
bn = #a3be8c
bm = #d08770
bd = #bf616a
trans = #00000000
white = #FFFFFF
black = #000000
;; Colors
# red = #ff5555
# pink = #ff79c6
# purple =#bd93f9
# blue = #6272a4
# cyan = #8be9fd
# teal = #81a1c1k
# green = #50fa7b
# lime = #a3be8c
# yellow = #f1fa8c
# amber = #d08779
# orange = #ffb86c
# brown = #AC8476
# grey = #8C8C8C
# indigo = #6C77BB
# blue-gray = #6D8895
red = #ff5555
pink = #44475a
purple =#44475a
blue = #44475a
cyan = #ff5555
teal = #44475a
green = #44475a
lime = #44475a
yellow = #44475a
amber = #44475a
orange = #44475a
brown = #44475a
grey = #44475a
indigo = #44475a
blue-gray = #44475a
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,492 @@
;; |
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░█░█░█▀█░█▀▄░█░█░▀█▀░█░█░▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░█▀█░█░█░█▀▄░█▀█░░█░░█▀▄░░░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░▀░▀░▀▀▀░▀░▀░▀░▀░▀▀▀░▀░▀░░░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░█▀▄░█▀█░▀█▀░█▀▀░▀█▀░█░░░█▀▀░█▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░█░█░█░█░░█░░█▀▀░░█░░█░░░█▀▀░▀▀█░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░▀▀░░▀▀▀░░▀░░▀░░░▀▀▀░▀▀▀░▀▀▀░▀▀▀░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;; | ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; ____ __ __
;; / __ \____ / /_ __/ /_ ____ ______
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
;; /_/ \____/_/\__, /_.___/\__,_/_/
;; /____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Global WM Settings
[global/wm]
; Adjust the _NET_WM_STRUT_PARTIAL top value
; Used for top aligned bars
margin-bottom = 0
; Adjust the _NET_WM_STRUT_PARTIAL bottom value
; Used for bottom aligned bars
margin-top = 0
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; File Inclusion
; include an external file, like module file, etc.
include-file = ~/.config/polybar/colors.ini
include-file = ~/.config/polybar/modules.ini
include-file = ~/.config/polybar/user_modules.ini
include-file = ~/.config/polybar/bars.ini
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Bar Settings
[bar/main]
height = 25
offset-x = 77.3%
offset-y = 0.5%
monitor = eDP1
monitor-fallback =
width = 22%
top = true
fixed-center = false
line-size = 2
cursor-click = pointer
#background = ${color.bg}
background = ${color.bg}
foreground = ${color.fg}
border-right = 0
border-left= 0
border-top=0
border-bottom = 0
border-color = transparent
radius = 0
font-0 = "FantasqueSansMono Nerd Font:size=10;2"
font-1 = "Typicons:size=12;2"
font-2 = "Terminus:size=12;2"
font-3 = "Material:size=12;2"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome Brands:size:12"
modules-left =
modules-center =
modules-right = redshift_i redshift battery_i battery memory_i memory pulseaudio_i pulseaudio network_i network keyboard_i keyboard date_i date
separator =
spacing = 0
dim-value = 1.0
wm-name = bspwm
locale =
wm-restack =
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
double-click-left =
double-click-middle =
double-click-right =
cursor-scroll =
;; WM Workspace Specific
; bspwm
scroll-up =
scroll-down =
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
[bar/main3]
monitor = eDP1
monitor-fallback =
width = 20%
height = 25
offset-x =42%
offset-y = 0.5%
top = true
line-size = 2
cursor-click = pointer
background = ${color.bg}
foreground = ${color.fg}
border-right = 0
border-left= 0
border-top= 0
border-bottom = 0
border-color = transparent
radius = 0
font-0 = "FantasqueSansMono Nerd Font:size=10;2"
font-1 = "typicons:size=12;2"
font-2 = "xos4 Terminus:size=12;2"
font-3 = "FontAwesome:style=Regular:pixelsize=12"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome 5 Free:size:12"
modules-left =
modules-center = title
modules-right =
separator =
spacing = 0
dim-value = 1.0
wm-name = bspwm
locale =
wm-restack =
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
double-click-left =
double-click-middle =
double-click-right =
cursor-scroll =
;; WM Workspace Specific
; bspwm
scroll-up =
scroll-down =
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
[bar/main2]
monitor = eDP1
monitor-fallback =
width = 19%
height = 25
offset-x = 12
offset-y = 0.5%
top = true
line-size = 2
cursor-click = pointer
background = ${color.bg}
foreground = ${color.fg}
border-right = 0
border-left= 0
border-top= 0
border-bottom = 0
border-color = transparent
radius = 0
font-0 = "FantasqueSansMono Nerd Font:size=10;2"
font-1 = "typicons:size=12;2"
font-2 = "xos4 Terminus:size=12;2"
font-3 = "FontAwesome:style=Regular:pixelsize=12"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome 5 Free:size:12"
modules-left =
modules-center = bspwm
modules-right =
separator =
spacing = 0
dim-value = 1.0
wm-name = bspwm
locale =
wm-restack =
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
double-click-left =
double-click-middle =
double-click-right =
cursor-scroll =
;; WM Workspace Specific
tray-position = left
tray-detached = true
tray-maxsize = 48
tray-transparent = false
tray-background = ${color.bg}
tray-offset-x = 21.5%
tray-offset-y =
; Pad the sides of each tray icon
tray-padding = 0
; Scale factor for tray clients
tray-scale = 1.0
; bspwm
scroll-up =
scroll-down =
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
[bar/second]
; Use either of the following command to list available outputs:
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor = HDMI1
; Use the specified monitor as a fallback if the main one is not found.
width = 100%
height = 25
offset-x = 5%
offset-y = 2%
top = true
fixed-center = false
line-size = 2
cursor-click = pointer
background = ${color.bg}
foreground = ${color.fg}
border-right = 0
border-left= 0
border-top=0
border-bottom = 0
border-color = transparent
radius = 0
font-0 = "FantasqueSansMono Nerd Font:size=10;2"
font-1 = "typicons:size=12;2"
font-2 = "xos4 Terminus:size=12;2"
font-3 = "FontAwesome:style=Regular:pixelsize=12"
font-4 = "JetBrainsMono Nerd Font:size:12"
font-5 = "Font Awesome 5 Free:size:12"
; Modules are added to one of the available blocks
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
;; Available modules
;;
;alsa backlight battery
;bspwm cpu date
;filesystem github i3
;memory mpd wired-network
;network pulseaudio temperature
;keyboard title workspaces
;;
;; User modules
;checknetwork updates window_switch launcher powermenu sysmenu menu style
;;
;; Bars
;cpu_bar memory_bar filesystem_bar mpd_bar
;volume brightness battery_bar
modules-left = bspwm
modules-center = title
modules-right = cpu_i cpu filesystem_i filesystem pulseaudio_i pulseaudio keyboard_i keyboard
; The separator will be inserted between the output of each module
separator =
; This value is used to add extra spacing between elements
; @deprecated: This parameter will be removed in an upcoming version
spacing = 0
; Opacity value between 0.0 and 1.0 used on fade in/out
dim-value = 1.0
; Value to be used to set the WM_NAME atom
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name = bspwm
; Locale used to localize various module data (e.g. date)
; Expects a valid libc locale, for example: sv_SE.UTF-8
locale =
; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
; left
; center
; right
; none
tray-position = right
; If true, the bar will not shift its
; contents when the tray changes
tray-detached = true
; Tray icon max size
tray-maxsize = 16
; DEPRECATED! Since 3.3.0 the tray always uses pseudo-transparency
; Enable pseudo transparency
; Will automatically be enabled if a fully transparent
; background color is defined using `tray-background`
tray-transparent = false
; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
tray-background = ${color.bg}
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
tray-offset-x = 0
tray-offset-y = 0
; Pad the sides of each tray icon
tray-padding = 0
; Scale factor for tray clients
tray-scale = 1.0
; Restack the bar window and put it above the
; selected window manager's root
;
; Fixes the issue where the bar is being drawn
; on top of fullscreen window's
;
; Currently supported WM's:
; bspwm
; i3 (requires: `override-redirect = true`)
wm-restack =
;override-redirect = true
; Set a DPI values used when rendering text
; This only affects scalable fonts
; dpi =
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
double-click-left =
double-click-middle =
double-click-right =
; Requires polybar to be built with xcursor support (xcb-util-cursor)
; Possible values are:
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-scroll =
;; WM Workspace Specific
; bspwm
;;scroll-up = bspwm-desknext
;;scroll-down = bspwm-deskprev
;;scroll-up = bspc desktop -f prev.local
;;scroll-down = bspc desktop -f next.local
;i3
;;scroll-up = i3wm-wsnext
;;scroll-down = i3wm-wsprev
;;scroll-up = i3-msg workspace next_on_output
;;scroll-down = i3-msg workspace prev_on_output
;openbox
;awesome
;etc
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Application Settings
[settings]
; The throttle settings lets the eventloop swallow up til X events
; if they happen within Y millisecond after first event was received.
; This is done to prevent flood of update event.
;
; For example if 5 modules emit an update event at the same time, we really
; just care about the last one. But if we wait too long for events to swallow
; the bar would appear sluggish so we continue if timeout
; expires or limit is reached.
throttle-output = 5
throttle-output-for = 10
; Time in milliseconds that the input handler will wait between processing events
throttle-input-for = 30
; Reload upon receiving XCB_RANDR_SCREEN_CHANGE_NOTIFY events
screenchange-reload = false
; Compositing operators
; @see: https://www.cairographics.org/manual/cairo-cairo-t.html#cairo-operator-t
compositing-background = source
compositing-foreground = over
compositing-overline = over
compositing-underline = over
compositing-border = over
; Define fallback values used by all module formats
format-foreground =
format-background =
format-underline =
format-overline =
format-spacing =
format-padding =
format-margin =
format-offset =
; Enables pseudo-transparency for the bar
; If set to true the bar can be transparent without a compositor.
pseudo-transparency = false
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,16 @@
#!/usr/bin/env sh
## Add this to your wm startup file.
# Terminate already running bar instances
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar -c ~/.config/polybar/themes/monolit-dracula/config.ini main &
polybar -c ~/.config/polybar/themes/monolit-dracula/config.ini main2 &
polybar -c ~/.config/polybar/themes/monolit-dracula/config.ini main3 &
polybar -c ~/.config/polybar/themes/monolit-dracula/config.ini second &

View file

@ -0,0 +1,726 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; __ ___ __ __
;; / |/ /___ ____/ /_ __/ /__ _____
;; / /|_/ / __ \/ __ / / / / / _ \/ ___/
;; / / / / /_/ / /_/ / /_/ / / __(__ )
;; /_/ /_/\____/\__,_/\__,_/_/\___/____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/alsa]
type = internal/alsa
format-volume = <label-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
label-volume = %percentage%%
format-muted-background = ${color.mf}
format-muted-foreground = ${color.red}
format-muted-padding = 1
label-muted = "Muted"
label-muted-foreground = ${color.red}
[module/alsa_i]
type = internal/alsa
format-volume = <ramp-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/backlight]
type = internal/xbacklight
card = intel_backlight
format = <ramp>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = %percentage%%
; Available tags:
; <label> (default)
; <ramp>
; <bar>
; Available tokens:
; %percentage% (default)
; Only applies if <ramp> is used
ramp-0 = 🌕
ramp-1 = 🌔
ramp-2 = 🌓
ramp-3 = 🌒
ramp-4 = 🌑
; Only applies if <bar> is used
bar-width = 10
bar-indicator = |
bar-fill =
bar-empty =
[module/backlight_i]
type = internal/xbacklight
card = intel_backlight
format = <ramp>
format-background = ${color.lime}
format-foreground = ${color.fg}
format-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/battery]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 2
time-format = %H:%M
format-charging = <label-charging>
format-charging-background = ${color.mf}
format-charging-foreground = ${color.fg}
format-charging-padding = 1
format-discharging = <label-discharging>
format-discharging-background = ${color.mf}
format-discharging-foreground = ${color.fg}
format-discharging-padding = 1
label-charging = %percentage%%
label-discharging = %percentage%%
label-full = Full!
label-full-foreground = ${color.fgo}
label-full-background = ${color.mf}
label-full-padding = 1
[module/battery_i]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 2
time-format = %H:%M
format-charging = <animation-charging>
format-charging-background = ${color.mf}
format-charging-foreground = ${color.fgs}
format-charging-padding = 1
format-discharging = <ramp-capacity>
format-discharging-background = ${color.mf}
format-discharging-foreground = ${color.fgo}
format-discharging-padding = 1
label-charging = %percentage%%
label-discharging = %percentage%%
label-full =
label-full-background = ${color.mf}
label-full-foreground = ${color.fgl}
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-4 =
animation-charging-framerate = 750
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/bspwm]
type = internal/bspwm
pin-workspaces = true
inline-mode = true
enable-click = true
enable-scroll = true
reverse-scroll = true
fuzzy-match = true
;①②③④⑤⑥⑦⑧⑨⑩
;              
ws-icon-0 = "1;"
ws-icon-1 = "2;"
ws-icon-2 = "3;"
ws-icon-3 = "4;"
ws-icon-4 = "5;"
ws-icon-5 = "6;"
ws-icon-6 = "7;"
ws-icon-7 = "8;"
ws-icon-8 = "9;"
ws-icon-9 = "0;"
ws-icon-default = " "
format = "<label-state> <label-mode>"
label-focused = " %icon% "
label-focused-foreground = ${color.fgo}
label-focused-background = ${color.bg}
label-focused-underline = ${color.bg}
label-focused-padding = 1
label-unfocused = " %icon% %name% "
label-unfocused-foreground = ${color.fg}
label-unfocused-background = ${color.mf}
label-unfocused-underline = ${color.mf}
label-unfocused-padding = 1
label-visible = " %icon% %name% "
label-visible-underline = ${color.ac}
label-visible-padding = 1
label-mode = %mode%
label-mode-padding = 1
label-mode-background = ${color.ac}
label-urgent = " %icon% %name% "
label-urgent-foreground = ${color.fg}
label-urgent-background = ${color.red}
label-urgent-padding = 1
label-occupied = " %icon% %name% "
label-occupied-foreground = ${color.fgs}
label-occupied-background = ${color.bg}
label-empty = " %name% "
label-empty-foreground = #6272a4
label-separator =
label-separator-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/cpu]
type = internal/cpu
interval = 0.5
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%percentage%%"
[module/cpu_i]
type = internal/cpu
interval = 0.5
format =
format-background = ${color.teal}
format-foreground = ${color.fg}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/date]
type = internal/date
interval = 1.0
time = %I:%M %p
time-alt = %Y-%m-%d%
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = %time%
[module/date_i]
type = internal/date
interval = 1.0
time = " "
time-alt =" "
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fgl}
format-padding = 1
label = %time%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/filesystem]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted = <label-mounted>
format-mounted-background = ${color.mf}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted = <label-unmounted>
format-unmounted-background = ${color.mf}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
label-mounted = "%free%"
label-unmounted = %mountpoint%: not mounted
[module/filesystem_i]
type = internal/fs
mount-0 = /
interval = 10
fixed-values = true
format-mounted =
format-mounted-background = ${color.green}
format-mounted-foreground = ${color.fg}
format-mounted-padding = 1
format-unmounted =
format-unmounted-background = ${color.red}
format-unmounted-foreground = ${color.fg}
format-unmounted-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;[module/github]
;;type = internal/github
; Accessing an access token stored in file
;;token = ${file:/path/to/file/containing/github/access.token}
; Accessing an access token stored in an environment variable
;;token = ${env:GITHUB_ACCESS_TOKEN}
; Whether empty notifications should be displayed or not
;;empty-notifications = false
; Number of seconds in between requests
;;interval = 10
; Available tags:
; <label> (default)
;;format = <label>
; Available tokens:
; %notifications% (default)
; Default: Notifications: %notifications%
;;label = %notifications%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/i3]
type = internal/i3
pin-workspaces = true
strip-wsnumbers = false
index-sort = true
enable-click = true
enable-scroll = true
wrapping-scroll = false
reverse-scroll = false
;①②③④⑤⑥⑦⑧⑨⑩
;              
ws-icon-0 = "2;"
ws-icon-1 = "3;"
ws-icon-2 = "4;"
ws-icon-3 = "5;"
ws-icon-4 = "6;"
ws-icon-5 = "7;"
ws-icon-6 = "8;"
ws-icon-7 = "9;"
ws-icon-8 = "10;"
ws-icon-9 = "1;"
ws-icon-default = "null"
format = <label-state> <label-mode>
label-focused = %icon% %name%
label-focused-foreground = ${color.fg}
label-focused-background = ${color.ac}
label-focused-underline = ${color.ac}
label-focused-padding = 1
label-unfocused = %icon% %name%
label-unfocused-foreground = ${color.fg}
label-unfocused-background = ${color.mf}
label-unfocused-underline = ${color.mf}
label-unfocused-padding = 1
label-visible = %icon% %name%
label-visible-underline = ${color.ac}
label-visible-padding = 1
label-mode = %mode%
label-mode-padding = 2
label-mode-background = ${color.ac}
label-urgent = %icon% %name%
label-urgent-foreground = ${color.fg}
label-urgent-background = ${color.red}
label-urgent-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/memory]
type = internal/memory
interval = 3
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label = "%mb_used%"
[module/memory_i]
type = internal/memory
interval = 3
format =
format-background = ${color.mf}
format-foreground = ${color.fgs}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/mpd]
type = internal/mpd
interval = 2
format-online = <label-song> <icon-next>
format-online-background = ${color.mf}
format-online-padding = 1
label-song = "%artist% - %title%"
label-song-maxlen = 20
label-song-ellipsis = true
label-offline = "MPD is offline"
icon-play =
icon-pause =
icon-stop =
icon-prev =
icon-next =
[module/mpd_i]
type = internal/mpd
interval = 2
format-online = <toggle>
format-online-background = ${color.red}
format-online-padding = 1
icon-play =
icon-pause =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/network]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
unknown-as-up = true
format-connected = <label-connected>
format-connected-background = ${color.mf}
format-connected-foreground = ${color.fg}
format-connected-padding = 1
format-disconnected = <label-disconnected>
format-disconnected-background = ${color.mf}
format-disconnected-foreground = ${color.fg}
format-disconnected-padding = 1
label-connected = "%essid%"
label-disconnected = "Disconnected"
[module/network_i]
type = internal/network
interface = wlp3s0
interval = 1.0
accumulate-stats = true
unknown-as-up = true
format-connected = <ramp-signal>
format-connected-background = ${color.purple}
format-connected-foreground = ${color.fg}
format-connected-padding = 1
format-disconnected = <label-disconnected>
format-disconnected-background = ${color.purple}
format-disconnected-foreground = ${color.fg}
format-disconnected-padding = 1
label-disconnected =
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/pulseaudio]
type = internal/pulseaudio
sink = alsa_output.pci-0000_12_00.3.analog-stereo
use-ui-max = true
interval = 5
format-volume = <label-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
label-muted = Muted
format-muted-background = ${color.mf}
format-muted-foreground = ${color.red}
format-muted-padding = 1
[module/pulseaudio_i]
type = internal/alsa
format-volume = <ramp-volume>
format-volume-background = ${color.mf}
format-volume-foreground = ${color.fg}
format-volume-padding = 1
format-muted-background = ${color.mf}
format-muted-foreground = ${color.fgl}
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/temperature]
type = internal/temperature
interval = 0.5
thermal-zone = 0
warn-temperature = 60
units = true
format = <label>
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
format-warn = <label-warn>
format-warn-background = ${color.mf}
format-warn-foreground = ${color.red}
format-warn-padding = 1
label = %temperature-c%
label-warn = "%temperature-c%"
[module/temperature_i]
type = internal/temperature
interval = 0.5
thermal-zone = 0
warn-temperature = 60
units = true
format = <ramp>
format-background = ${color.cyan}
format-foreground = ${color.fg}
format-padding = 1
format-warn = <ramp>
format-warn-background = ${color.cyan}
format-warn-foreground = ${color.fg}
format-warn-padding = 1
ramp-0 =
ramp-1 =
ramp-2 =
ramp-3 =
ramp-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/keyboard]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format = "<label-layout><label-indicator>"
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-layout = "%layout%"
label-indicator = %name%
label-indicator-foreground = ${color.fg}
[module/keyboard_i]
type = internal/xkeyboard
blacklist-0 = num lock
blacklist-1 = scroll lock
format =
format-background = ${color.mf}
format-foreground = ${color.fgo}
format-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/title]
type = internal/xwindow
format = <label>
format-foreground = ${color.fg-alt}
label = %title%
label-maxlen = 40
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/workspaces]
type = internal/xworkspaces
pin-workspaces = true
strip-wsnumbers = false
index-sort = true
enable-click = true
enable-scroll = true
;
;icon-0 = 1;1
;icon-1 = 2;2
;icon-2 = 3;3
;icon-3 = 4;4
;icon-4 = 5;5
;icon-5 = 6;6
;icon-6 = 7;7
;icon-7 = 8;8
;icon-8 = 9;9
;icon-9 = 10;0
;icon-default = 
;
icon-0 = 1;www
icon-1 = 2;prog
icon-2 = 3;debug
icon-3 = 4;chat
icon-4 = 5;λ
icon-6 = 6;</>
icon-7 = 7;study
icon-8 = 8;music
icon-9 = 9;youtube
icon-default = null
format = <label-state>
format-padding = 0
label-monitor = %name%
label-active = %icon%
label-active-foreground = ${color.fg}
label-active-background = ${color.ac}
label-occupied = %icon%
label-occupied-foreground = ${color.fg}
label-occupied-background = ${color.bg}
label-urgent = %icon%
label-urgent-foreground = ${color.fg}
label-urgent-background = ${color.red}
label-empty = %icon%
label-empty-foreground = ${color.fg}
label-empty-background = ${color.mf}
label-active-padding = 1
label-urgent-padding = 1
label-occupied-padding = 1
label-empty-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -0,0 +1,296 @@
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;;
;; __ __ __ ___ __ __
;; / / / /_______ _____ / |/ /___ ____/ /_ __/ /__ _____
;; / / / / ___/ _ \/ ___/ / /|_/ / __ \/ __ / / / / / _ \/ ___/
;; / /_/ (__ ) __/ / / / / / /_/ / /_/ / /_/ / / __(__ )
;; \____/____/\___/_/ /_/ /_/\____/\__,_/\__,_/_/\___/____/
;;
;; Created By Aditya Shakya @adi1090x
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/checknetwork]
type = custom/script
exec = ~/.config/polybar/scripts/check-network
tail = true
interval = 5
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = networkmanager_dmenu &
click-middle = networkmanager_dmenu &
click-right = networkmanager_dmenu &
[module/checknetwork_i]
type = custom/text
content =
content-background = ${color.green}
content-foreground = ${color.fg}
content-padding = 1
click-left = networkmanager_dmenu &
click-middle = networkmanager_dmenu &
click-right = networkmanager_dmenu &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
tail = true
interval = 5
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
click-left = ~/.config/polybar/scripts/lupdates &
[module/updates_i]
type = custom/text
content =
content-background = ${color.ac}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/lupdates &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/window_switch]
type = custom/text
content = Switch
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = skippy-xd
click-middle = skippy-xd
click-right = ~/.config/polybar/scripts/windows
[module/window_switch_i]
type = custom/text
content =
content-background = ${color.pink}
content-foreground = ${color.fg}
content-padding = 1
click-left = skippy-xd
click-middle = skippy-xd
click-right = ~/.config/polybar/scripts/windows
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/launcher]
type = custom/text
content = Menu
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/launcher
click-right = ~/.config/polybar/scripts/launcher-alt
[module/launcher_i]
type = custom/text
content =
content-background = ${color.red}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/launcher
click-right = ~/.config/polybar/scripts/launcher-alt
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/separator]
type = custom/text
content = |
content-background = ${color.bg}
content-foreground = ${color.bg}
content-padding = 0.5
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/sysmenu]
type = custom/text
content = System
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/powermenu
click-right = ~/.config/polybar/scripts/powermenu-alt
[module/sysmenu_i]
type = custom/text
content =
content-background = ${color.cyan}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/powermenu
click-right = ~/.config/polybar/scripts/powermenu-alt
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/powermenu]
type = custom/menu
expand-right = true
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = shutdown
menu-0-1-exec = menu-open-2
menu-1-0 = back
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = systemctl reboot
menu-2-0 = shutdown
menu-2-0-exec = systemctl poweroff
menu-2-1 = back
menu-2-1-exec = menu-open-0
format-spacing = 1
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-open = Power
label-close =
label-separator = |
label-open-foreground = ${color.fg}
label-close-foreground = ${color.red}
label-separator-foreground = ${color.grey}
[module/powermenu_i]
type = custom/text
content =
content-background = ${color.cyan}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/menu]
type = custom/menu
expand-right = true
menu-0-0 = Apps
menu-0-0-exec = ~/.config/polybar/scripts/launcher &
menu-0-1 = Files
menu-0-1-exec = thunar &
menu-0-2 = Terminal
menu-0-2-exec = termite &
menu-0-3 = Browser
menu-0-3-exec = firefox &
format-spacing = 1
format-background = ${color.mf}
format-foreground = ${color.fg}
format-padding = 1
label-open = Menu
label-close =
label-separator = |
label-open-foreground = ${color.fg}
label-close-foreground = ${color.red}
label-separator-foreground = ${color.grey}
[module/menu_i]
type = custom/text
content =
content-background = ${color.red}
content-foreground = ${color.fg}
content-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/style]
type = custom/text
content = Style
content-background = ${color.mf}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/style-switch.sh &
click-right = ~/.config/polybar/scripts/style-switch.sh &
[module/style_i]
type = custom/text
content =
content-background = ${color.orange}
content-foreground = ${color.fg}
content-padding = 1
click-left = ~/.config/polybar/scripts/style-switch.sh &
click-right = ~/.config/polybar/scripts/style-switch.sh &
[module/redshift_i]
type = custom/text
content =
content-background = ${color.mf}
content-foreground = ${color.fgs}
content-padding = 1
exec = echo " "
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
interval=0.5
[module/redshift]
type = custom/script
format-prefix = " "
content-background = ${color.orange}
content-foreground = ${color.fg}
exec = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh temperature
click-left = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh toggle
scroll-up = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh increase
scroll-down = source ~/.config/polybar/scripts/redshift/env.sh && ~/.config/polybar/scripts/redshift/redshift.sh decrease
interval=0.5
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; __________ ______
;; / ____/ __ \/ ____/
;; / __/ / / / / /_
;; / /___/ /_/ / __/
;; /_____/\____/_/
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_

View file

@ -63,18 +63,13 @@
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(custom-safe-themes
'("75b8719c741c6d7afa290e0bb394d809f0cc62045b93e1d66cd646907f8e6d43" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
'(package-selected-packages
'(neotree treemacs-persp spaceline-all-the-icons all-the-icons-ivy-rich all-the-icons-ivy treemacs-the-icons dired-icon treemacs-magit treemacs-projectile nlinum linum-mode unicode-fonts ewal-doom-themes ivy-rich which-key counsel org-roam treemacs-evil treemacs-all-the-icons treemacs use-package general gruvbox-theme flycheck-rust cargo linum-relative ac-racer lusty-explorer doom-modeline doom-themes rainbow-delimiters evil-mc rustic lsp-mode avy)))
(use-package doom-themes)
'(custom-enabled-themes '(gruvbox))
(use-package gruvbox-theme
:ensure t
:config
(load-theme 'doom-gruvbox)
)
(use-package doom-themes
:ensure t
:init
(load-theme 'doom-solarized-dark)
)
(setq use-package-always-ensure t)
@ -82,6 +77,7 @@
#+end_src
#+RESULTS:
: t
** Modeline
#+begin_src emacs-lisp
@ -500,6 +496,8 @@
#+end_src
#+RESULTS:
** Company-mode
#+begin_src emacs-lisp
(use-package company
@ -514,7 +512,8 @@
(company-idle-delay 0.0))
(use-package company-box
:hook (company-mode . company-box-mode)) #+end_src
:hook (company-mode . company-box-mode))
#+end_src
#+RESULTS:
* Org
@ -760,7 +759,6 @@
#+end_src
#+RESULTS:
: org-roam-protocol
* Languages
** Flycheck
@ -824,3 +822,5 @@
;; (direnv-mode))
;; (add-hook 'lsp-mode-hook #'direnv-update-environment)
#+end_src
#+RESULTS:

View file

@ -27,58 +27,18 @@
(global-visual-line-mode)
(require 'use-package)
(custom-set-variables
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ansi-color-names-vector
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
'(custom-safe-themes
'("6b1abd26f3e38be1823bd151a96117b288062c6cde5253823539c6926c3bb178" "75b8719c741c6d7afa290e0bb394d809f0cc62045b93e1d66cd646907f8e6d43" "7661b762556018a44a29477b84757994d8386d6edee909409fabe0631952dad9" default))
'(exwm-floating-border-color "#504945")
'(fci-rule-color "#7c6f64")
'(highlight-tail-colors ((("#363627" "#363627") . 0) (("#323730" "#323730") . 20)))
'(jdee-db-active-breakpoint-face-colors (cons "#0d1011" "#fabd2f"))
'(jdee-db-requested-breakpoint-face-colors (cons "#0d1011" "#b8bb26"))
'(jdee-db-spec-breakpoint-face-colors (cons "#0d1011" "#928374"))
'(objed-cursor-color "#fb4934")
'(package-selected-packages
'(neotree treemacs-persp spaceline-all-the-icons all-the-icons-ivy-rich all-the-icons-ivy treemacs-the-icons dired-icon treemacs-magit treemacs-projectile nlinum linum-mode unicode-fonts ewal-doom-themes ivy-rich which-key counsel org-roam treemacs-evil treemacs-all-the-icons treemacs use-package general gruvbox-theme flycheck-rust cargo linum-relative ac-racer lusty-explorer doom-modeline doom-themes rainbow-delimiters evil-mc rustic lsp-mode avy))
'(pdf-view-midnight-colors (cons "#ebdbb2" "#282828"))
'(rustic-ansi-faces
["#282828" "#fb4934" "#b8bb26" "#fabd2f" "#83a598" "#cc241d" "#8ec07c" "#ebdbb2"])
'(vc-annotate-background "#282828")
'(vc-annotate-color-map
(list
(cons 20 "#b8bb26")
(cons 40 "#cebb29")
(cons 60 "#e3bc2c")
(cons 80 "#fabd2f")
(cons 100 "#fba827")
(cons 120 "#fc9420")
(cons 140 "#fe8019")
(cons 160 "#ed611a")
(cons 180 "#dc421b")
(cons 200 "#cc241d")
(cons 220 "#db3024")
(cons 240 "#eb3c2c")
(cons 260 "#fb4934")
(cons 280 "#e05744")
(cons 300 "#c66554")
(cons 320 "#ac7464")
(cons 340 "#7c6f64")
(cons 360 "#7c6f64")))
'(vc-annotate-very-old-color nil))
(use-package doom-themes)
'(custom-enabled-themes '(gruvbox))
(use-package gruvbox-theme
:ensure t
:config
(load-theme 'doom-gruvbox)
)
'(neotree treemacs-persp spaceline-all-the-icons all-the-icons-ivy-rich all-the-icons-ivy treemacs-the-icons dired-icon treemacs-magit treemacs-projectile nlinum linum-mode unicode-fonts ewal-doom-themes ivy-rich which-key counsel org-roam treemacs-evil treemacs-all-the-icons treemacs use-package general gruvbox-theme flycheck-rust cargo linum-relative ac-racer lusty-explorer doom-modeline doom-themes rainbow-delimiters evil-mc rustic lsp-mode avy)))
(use-package doom-themes
:ensure t
:init
(load-theme 'doom-solarized-dark)
)
(setq use-package-always-ensure t)
(use-package doom-modeline
@ -424,7 +384,12 @@
:config
(setq which-key-idle-delay 0.3))
(use-package ivy-rich
(use-package all-the-icons-ivy-rich
:ensure t
:init (all-the-icons-ivy-rich-mode 1))
(use-package ivy-rich
:init
(ivy-rich-mode 1))
@ -438,7 +403,6 @@
:custom
(company-minimum-prefix-length 1)
(company-idle-delay 0.0))
;;(setq company-clang-executable "~/code/competitive/clang++")
(use-package company-box
:hook (company-mode . company-box-mode))
@ -665,11 +629,13 @@
)
(use-package lsp-mode
:hook ((prog-mode). lsp)
:init
(setq lsp-keymap-prefix "C-SPC c")
;;(setq lsp-client-packages nil)
:config
(add-hook 'c++-mode-hook #'lsp-mode)
(add-hook 'rust-mode-hook #'lsp-mode)
(add-hook 'c-mode-hook #'lsp-mode)
;;(setq lsp-clients-clangd-executable "/home/horhik/code/competitive/clangd")
;;(setq lsp-clients-clangd-default-executable "/home/horhik/code/competitive/clangd")
;;(lsp-mode . lsp-enable-which-key-integration)

View file

@ -1,5 +1,5 @@
set -g @plugin 'egel/tmux-gruvbox'
set -g @tmux-gruvbox 'dark' # or 'light'
set -g @plugin 'seebi/tmux-colors-solarized'
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
@ -22,7 +22,9 @@ run '~/.config/tmux/plugins/tpm/tpm'
# Activity monitoring
set-option -g prefix C-space
#unbind C-b
#set -g prefix C-space
#bind C-space send-refix
setw -g monitor-activity on
set -g visual-activity on
@ -47,3 +49,6 @@ bind -r K resize-pane -U
bind -r J resize-pane -D
bind -r H resize-pane -L
bind -r L resize-pane -R
#THEME
set -g @colors-solarized 'dark'

View file

@ -44,7 +44,7 @@ Plug 'preservim/nerdtree'
Plug 'phanviet/vim-monokai-pro'
Plug 'sonph/onehalf', {'rtp': 'vim/'}
Plug 'sheerun/vim-polyglot'
Plug 'ayu-theme/ayu-vim' " or other package manager
"Plug 'ayu-theme/ayu-vim' " or other package manager
Plug 'sickill/vim-monokai'
Plug 'yarisgutierrez/ayu-lightline'
Plug 'vim-airline/vim-airline'
@ -57,7 +57,8 @@ Plug 'lervag/vimtex'
Plug 'ap/vim-css-color'
Plug 'joshdick/onedark.vim'
Plug 'dracula/vim'
Plug 'morhetz/gruvbox'
" Plug 'morhetz/gruvbox'
Plug 'altercation/vim-colors-solarized'
Plug 'rust-lang/rust.vim'
call plug#end()
@ -73,8 +74,9 @@ let g:molokai_original = 1
" ---AirLine--- "
let g:airline_powerline_fonts = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tabline#left_sep = ' '
let g:airline#extensions#tabline#left_alt_sep = '|'
let g:airline#extensions#tabline#buffer_nr_show = 1
"let g:airline#extensions#tabline#left_sep = ' '
"let g:airline#extensions#tabline#left_alt_sep = '|'
"Use 24-bit (true-color) mode in Vim/Neovim when outside tmux.
"If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
@ -96,11 +98,13 @@ endif
set termguicolors " enable true colors support
"let ayucolor="mirage" " for mirage version of theme
let ayucolor="dark" " for dark version of theme
"let ayucolor="dark" " for dark version of theme
" colorscheme onedark
let g:gruvbox_italic=1
colorscheme gruvbox
let g:airline_theme='gruvbox'
set background=dark
"let g:gruvbox_italic=1
colo solarized
colorscheme solarized
let g:airline_theme='solarized'
let g:onedark_terminal_italics = 1

385
home/zsh/.zshrc Executable file → Normal file
View file

@ -1,3 +1,364 @@
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
#installation via script from github
#export ZSH="/home/$USER/.oh-my-zsh"
#installation via yay -S oh-my-zsh-git
export ZSH=/usr/share/oh-my-zsh/
# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
# if you installed the package oh-my-zsh-powerline-theme-git then you type here "powerline" as zsh theme
ZSH_THEME="robyshell"
# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )
# ZSH_THEME_RANDOM_IGNORED=(pygmalion tjkirch_mod)
# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true
# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"
# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"
# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
# User configuration
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment
# export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
#### ARCOLINUX SETTINGS ####
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
export HISTCONTROL=ignoreboth:erasedups
# Make nano the default editor
export EDITOR='nvim'
export VISUAL='nvim'
#PS1='[\u@\h \W]\$ '
if [ -d "$HOME/.bin" ] ;
then PATH="$HOME/.bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ;
then PATH="$HOME/.local/bin:$PATH"
fi
#list
alias ls='ls --color=auto'
alias la='ls -a'
alias ll='ls -la'
alias l='ls'
alias l.="ls -A | egrep '^\.'"
#fix obvious typo's
alias cd..='cd ..'
alias pdw="pwd"
alias udpate='sudo pacman -Syyu'
alias upate='sudo pacman -Syyu'
alias updte='sudo pacman -Syyu'
alias updqte='sudo pacman -Syyu'
alias upqll="yay -Syu --noconfirm"
alias upal="yay -Syu --noconfirm"
## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
#readable output
alias df='df -h'
#pacman unlock
alias unlock="sudo rm /var/lib/pacman/db.lck"
alias rmpacmanlock="sudo rm /var/lib/pacman/db.lck"
#arcolinux logout unlock
alias rmlogoutlock="sudo rm /tmp/arcologout.lock"
#free
alias free="free -mt"
#use all cores
alias uac="sh ~/.bin/main/000*"
#continue download
alias wget="wget -c"
#userlist
alias userlist="cut -d: -f1 /etc/passwd"
#merge new settings
alias merge="xrdb -merge ~/.Xresources"
# Aliases for software managment
# pacman or pm
alias pacman='sudo pacman --color auto'
alias update='sudo pacman -Syyu'
# yay as aur helper - updates everything
alias pksyua="yay -Syu --noconfirm"
alias upall="yay -Syu --noconfirm"
#ps
alias psa="ps auxf"
alias psgrep="ps aux | grep -v grep | grep -i -e VSZ -e"
#grub update
alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg"
#add new fonts
alias update-fc='sudo fc-cache -fv'
#copy/paste all content of /etc/skel over to home folder - backup of config created - beware
alias skel='cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) && cp -rf /etc/skel/* ~'
#backup contents of /etc/skel to hidden backup folder in home/user
alias bupskel='cp -Rf /etc/skel ~/.skel-backup-$(date +%Y.%m.%d-%H.%M.%S)'
#copy bashrc-latest over on bashrc - cb= copy bashrc
#alias cb='sudo cp /etc/skel/.bashrc ~/.bashrc && source ~/.bashrc'
#copy /etc/skel/.zshrc over on ~/.zshrc - cb= copy zshrc
alias cz='sudo cp /etc/skel/.zshrc ~/.zshrc && exec zsh'
#switch between bash and zsh
alias tobash="sudo chsh $USER -s /bin/bash && echo 'Now log out.'"
alias tozsh="sudo chsh $USER -s /bin/zsh && echo 'Now log out.'"
#switch between lightdm and sddm
alias tolightdm="sudo pacman -S lightdm lightdm-gtk-greeter lightdm-gtk-greeter-settings --noconfirm --needed ; sudo systemctl enable lightdm.service -f ; echo 'Lightm is active - reboot now'"
alias tosddm="sudo pacman -S sddm --noconfirm --needed ; sudo systemctl enable sddm.service -f ; echo 'Sddm is active - reboot now'"
#quickly kill conkies
alias kc='killall conky'
#hardware info --short
alias hw="hwinfo --short"
#skip integrity check
alias yayskip='yay -S --mflags --skipinteg'
alias trizenskip='trizen -S --skipinteg'
#check vulnerabilities microcode
alias microcode='grep . /sys/devices/system/cpu/vulnerabilities/*'
#get fastest mirrors in your neighborhood
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
alias mirrord="sudo reflector --latest 30 --number 10 --sort delay --save /etc/pacman.d/mirrorlist"
alias mirrors="sudo reflector --latest 30 --number 10 --sort score --save /etc/pacman.d/mirrorlist"
alias mirrora="sudo reflector --latest 30 --number 10 --sort age --save /etc/pacman.d/mirrorlist"
#our experimental - best option for the moment
alias mirrorx="sudo reflector --age 6 --latest 20 --fastest 20 --threads 5 --sort rate --protocol https --save /etc/pacman.d/mirrorlist"
alias mirrorxx="sudo reflector --age 6 --latest 20 --fastest 20 --threads 20 --sort rate --protocol https --save /etc/pacman.d/mirrorlist"
#mounting the folder Public for exchange between host and guest on virtualbox
alias vbm="sudo /usr/local/bin/arcolinux-vbox-share"
#shopt
#shopt -s autocd # change to named directory
#shopt -s cdspell # autocorrects cd misspellings
#shopt -s cmdhist # save multi-line commands in history as single line
#shopt -s dotglob
#shopt -s histappend # do not overwrite history
#shopt -s expand_aliases # expand aliases
#youtube-dl
alias yta-aac="youtube-dl --extract-audio --audio-format aac "
alias yta-best="youtube-dl --extract-audio --audio-format best "
alias yta-flac="youtube-dl --extract-audio --audio-format flac "
alias yta-m4a="youtube-dl --extract-audio --audio-format m4a "
alias yta-mp3="youtube-dl --extract-audio --audio-format mp3 "
alias yta-opus="youtube-dl --extract-audio --audio-format opus "
alias yta-vorbis="youtube-dl --extract-audio --audio-format vorbis "
alias yta-wav="youtube-dl --extract-audio --audio-format wav "
alias ytv-best="youtube-dl -f bestvideo+bestaudio "
#Recent Installed Packages
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"
alias riplong="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -3000 | nl"
#iso and version used to install ArcoLinux
alias iso="cat /etc/dev-rel | awk -F '=' '/ISO/ {print $2}'"
#Cleanup orphaned packages
alias cleanup='sudo pacman -Rns $(pacman -Qtdq)'
#search content with ripgrep
alias rg="rg --sort path"
#get the error messages from journalctl
alias jctl="journalctl -p 3 -xb"
#nano for important configuration files
#know what you do in these files
alias nlightdm="sudo $EDITOR /etc/lightdm/lightdm.conf"
alias npacman="sudo $EDITOR /etc/pacman.conf"
alias ngrub="sudo $EDITOR /etc/default/grub"
alias nconfgrub="sudo $EDITOR /boot/grub/grub.cfg"
alias nmkinitcpio="sudo $EDITOR /etc/mkinitcpio.conf"
alias nmirrorlist="sudo $EDITOR /etc/pacman.d/mirrorlist"
alias nsddm="sudo $EDITOR /etc/sddm.conf"
alias nfstab="sudo $EDITOR /etc/fstab"
alias nnsswitch="sudo $EDITOR /etc/nsswitch.conf"
alias nsamba="sudo $EDITOR /etc/samba/smb.conf"
alias nb="$EDITOR ~/.bashrc"
alias nz="$EDITOR ~/.zshrc"
#gpg
#verify signature for isos
alias gpg-check="gpg2 --keyserver-options auto-key-retrieve --verify"
alias fix-gpg-check="gpg2 --keyserver-options auto-key-retrieve --verify"
#receive the key of a developer
alias gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys"
alias fix-gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys"
alias fix-key="[ -d ~/.gnupg ] || mkdir ~/.gnupg ; cp /etc/pacman.d/gnupg/gpg.conf ~/.gnupg/ ; echo 'done'"
#maintenance
alias big="expac -H M '%m\t%n' | sort -h | nl"
alias downgrada="sudo downgrade --ala-url https://bike.seedhost.eu/arcolinux/"
#systeminfo
alias probe="sudo -E hw-probe -all -upload"
#shutdown or reboot
alias ssn="sudo shutdown now"
alias sr="sudo reboot"
#update betterlockscreen images
alias bls="betterlockscreen -u /usr/share/backgrounds/arcolinux/"
#give the list of all installed desktops - xsessions desktops
alias xd="ls /usr/share/xsessions"
# # ex = EXtractor for all kinds of archives
# # usage: ex <file>
ex ()
{
if [ -f $1 ] ; then
case $1 in
*.tar.bz2) tar xjf $1 ;;
*.tar.gz) tar xzf $1 ;;
*.bz2) bunzip2 $1 ;;
*.rar) unrar x $1 ;;
*.gz) gunzip $1 ;;
*.tar) tar xf $1 ;;
*.tbz2) tar xjf $1 ;;
*.tgz) tar xzf $1 ;;
*.zip) unzip $1 ;;
*.Z) uncompress $1;;
*.7z) 7z x $1 ;;
*.deb) ar x $1 ;;
*.tar.xz) tar xf $1 ;;
*.tar.zst) tar xf $1 ;;
*) echo "'$1' cannot be extracted via ex()" ;;
esac
else
echo "'$1' is not a valid file"
fi
}
#create a file called .zshrc-personal and put all your personal aliases
#in there. They will not be overwritten by skel.
[[ -f ~/.zshrc-personal ]] && . ~/.zshrc-personal
# reporting tools - install when not installed
# install neofetch
#neofetch
# install screenfetch
#screenfetch
# install ufetch-git
#ufetch
# install ufetch-arco-git
#ufetch-arco
# install arcolinux-paleofetch-git
#paleofetch
# install alsi
#alsi
# install arcolinux-bin-git - standard on ArcoLinux isos (or sfetch - smaller)
#hfetch
# install lolcat
#sfetch | lolcat
export CC=/usr/bin/clang
export CXX=/usr/bin/clang++
@ -26,17 +387,19 @@ alias rd='rustc -g --emit="obj,link"'
compile_and_run() {
rustc -g --emit="obj,link" $1 && gdb ${1%.*}
}
}
alias rdr=compile_and_run
alias aia=ankiaudio
alias picom="killall picom; picom --experimental-backends &;"
alias cc="cargo check"
alias ct="cargo test"
alias gc="git clone"
alias gs="git status"
alias vim="nvim"
alias rdr=compile_and_run
alias aia=ankiaudio
alias picom="killall picom; picom --experimental-backends &;"
alias cc="cargo check"
alias ct="cargo test"
alias gc="git clone"
alias gs="git status"
alias vim="nvim"
neofetch
eval $(thefuck --alias)
# eval $(thefuck --alias)
if [ -e /home/horhik/.nix-profile/etc/profile.d/nix.sh ]; then . /home/horhik/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.