Please work please work PLEASE
parent
e3c2d1b295
commit
42d7473046
|
@ -0,0 +1,237 @@
|
||||||
|
Xft.dpi: 128
|
||||||
|
Xft.antialias: true
|
||||||
|
Xft.hinting: true
|
||||||
|
Xft.rgba: rgb
|
||||||
|
Xft.autohint: false
|
||||||
|
Xft.hintstyle: hintslight
|
||||||
|
Xft.lcdfilter: lcddefault
|
||||||
|
|
||||||
|
XTerm*background: #222D31
|
||||||
|
XTerm*foreground: #d8d8d8
|
||||||
|
XTerm*pointerColor: #1ABB9B
|
||||||
|
XTerm*faceName: Fixed
|
||||||
|
XTerm*faceSize: 11
|
||||||
|
XTerm*reverseVideo: on
|
||||||
|
XTerm*selectToClipboard: true
|
||||||
|
|
||||||
|
*background: #222D31
|
||||||
|
*foreground: #d8d8d8
|
||||||
|
*fading: 8
|
||||||
|
*fadeColor: black
|
||||||
|
*cursorColor: #1ABB9B
|
||||||
|
*pointerColorBackground: #2B2C2B
|
||||||
|
*pointerColorForeground: #16A085
|
||||||
|
|
||||||
|
!! black dark/light
|
||||||
|
*color0: #222D31
|
||||||
|
*color8: #585858
|
||||||
|
|
||||||
|
!! red dark/light
|
||||||
|
*color1: #ab4642
|
||||||
|
*color9: #ab4642
|
||||||
|
|
||||||
|
!! green dark/light
|
||||||
|
*color2: #7E807E
|
||||||
|
*color10: #8D8F8D
|
||||||
|
|
||||||
|
!! yellow dark/light
|
||||||
|
*color3: #f7ca88
|
||||||
|
*color11: #f7ca88
|
||||||
|
|
||||||
|
!! blue dark/light
|
||||||
|
*color4: #7cafc2
|
||||||
|
*color12: #7cafc2
|
||||||
|
|
||||||
|
!! magenta dark/light
|
||||||
|
*color5: #ba8baf
|
||||||
|
*color13: #ba8baf
|
||||||
|
|
||||||
|
!! cyan dark/light
|
||||||
|
*color6: #1ABB9B
|
||||||
|
*color14: #1ABB9B
|
||||||
|
|
||||||
|
!! white dark/light
|
||||||
|
*color7: #d8d8d8
|
||||||
|
*color15: #f8f8f8
|
||||||
|
|
||||||
|
Xcursor.theme: xcursor-breeze
|
||||||
|
Xcursor.size: 0
|
||||||
|
|
||||||
|
URxvt.font: xft:TerminessTTFNerdFontMono:pixelsize=36
|
||||||
|
!URxvt.font: xft:mononoki:size=8
|
||||||
|
|
||||||
|
! alternative font settings with 'terminus':
|
||||||
|
! URxvt.font: -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
|
||||||
|
! URxvt.bold.font: -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
|
||||||
|
!! terminus names see end of file!
|
||||||
|
|
||||||
|
URxvt.depth: 32
|
||||||
|
URxvt.background: [100]#222D31
|
||||||
|
URxvt*scrollBar: false
|
||||||
|
URxvt*mouseWheelScrollPage: false
|
||||||
|
URxvt*cursorBlink: true
|
||||||
|
URxvt*background: black
|
||||||
|
URxvt*foreground: grey
|
||||||
|
URxvt*saveLines: 5000
|
||||||
|
|
||||||
|
! for 'fake' transparency (without Compton) uncomment the following three lines
|
||||||
|
! URxvt*inheritPixmap: true
|
||||||
|
! URxvt*transparent: true
|
||||||
|
! URxvt*shading: 138
|
||||||
|
|
||||||
|
! Normal copy-paste keybindings without perls
|
||||||
|
URxvt.iso14755: false
|
||||||
|
URxvt.keysym.Shift-Control-V: eval:paste_clipboard
|
||||||
|
URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
|
||||||
|
!Xterm escape codes, word by word movement
|
||||||
|
URxvt.keysym.Control-Left: \033[1;5D
|
||||||
|
URxvt.keysym.Shift-Control-Left: \033[1;6D
|
||||||
|
URxvt.keysym.Control-Right: \033[1;5C
|
||||||
|
URxvt.keysym.Shift-Control-Right: \033[1;6C
|
||||||
|
URxvt.keysym.Control-Up: \033[1;5A
|
||||||
|
URxvt.keysym.Shift-Control-Up: \033[1;6A
|
||||||
|
URxvt.keysym.Control-Down: \033[1;5B
|
||||||
|
URxvt.keysym.Shift-Control-Down: \033[1;6B
|
||||||
|
! Rxvt.perl-ext-common: ...,clipboard
|
||||||
|
! URxvt.keysym.M-C-c: perl:clipboard:copy
|
||||||
|
! URxvt.keysym.M-v: perl:clipboard:paste
|
||||||
|
! URxvt.keysym.M-C-v: perl:clipboard:paste_escaped
|
||||||
|
! URxvt*termName: string
|
||||||
|
! URxvt*geometry: geometry
|
||||||
|
! URxvt*chdir: string
|
||||||
|
! URxvt*loginShell: boolean
|
||||||
|
! URxvt*multiClickTime: number
|
||||||
|
! URxvt*jumpScroll: boolean
|
||||||
|
! URxvt*skipScroll: boolean
|
||||||
|
! URxvt*pastableTabs: boolean
|
||||||
|
! URxvt*scrollstyle: plain
|
||||||
|
! URxvt*scrollBar_right: boolean
|
||||||
|
! URxvt*scrollBar_floating: true
|
||||||
|
! URxvt*scrollBar_align: mode
|
||||||
|
! URxvt*thickness: number
|
||||||
|
! URxvt*scrollTtyOutput: boolean
|
||||||
|
! URxvt*scrollTtyKeypress: boolean
|
||||||
|
! URxvt*scrollWithBuffer: boolean
|
||||||
|
! URxvt*tintColor: !7DA55
|
||||||
|
! URxvt*blurRadius: HxV
|
||||||
|
! URxvt*fading: number
|
||||||
|
! URxvt*fadeColor: color
|
||||||
|
! URxvt*utmpInhibit: boolean
|
||||||
|
! URxvt*urgentOnBell: boolean
|
||||||
|
! URxvt*visualBell: boolean
|
||||||
|
! URxvt*mapAlert: boolean
|
||||||
|
! URxvt*meta8: boolean
|
||||||
|
! URxvt*tripleclickwords: boolean
|
||||||
|
! URxvt*insecure: boolean
|
||||||
|
! URxvt*cursorUnderline: boolean
|
||||||
|
! URxvt*pointerBlank: boolean
|
||||||
|
! URxvt*color0: color
|
||||||
|
! URxvt*color1: color
|
||||||
|
! URxvt*color2: color
|
||||||
|
! URxvt*color3: color
|
||||||
|
! URxvt*color4: color
|
||||||
|
! URxvt*color5: color
|
||||||
|
! URxvt*color6: color
|
||||||
|
! URxvt*color7: color
|
||||||
|
! URxvt*color8: color
|
||||||
|
! URxvt*color9: color
|
||||||
|
! URxvt*color10: color
|
||||||
|
! URxvt*color11: color
|
||||||
|
! URxvt*color12: color
|
||||||
|
! URxvt*color13: color
|
||||||
|
! URxvt*color14: color
|
||||||
|
! URxvt*color15: color
|
||||||
|
! URxvt*colorBD: color
|
||||||
|
! URxvt*colorIT: color
|
||||||
|
! URxvt*colorUL: color
|
||||||
|
! URxvt*colorRV: color
|
||||||
|
! URxvt*underlineColor: color
|
||||||
|
! URxvt*scrollColor: color
|
||||||
|
! URxvt*troughColor: color
|
||||||
|
! URxvt*highlightColor: color
|
||||||
|
! URxvt*highlightTextColor: color
|
||||||
|
! URxvt*cursorColor: color
|
||||||
|
! URxvt*cursorColor2: color
|
||||||
|
! URxvt*pointerColor: color
|
||||||
|
! URxvt*pointerColor2: color
|
||||||
|
! URxvt*borderColor: color
|
||||||
|
! URxvt*iconFile: file
|
||||||
|
! URxvt*font: fontname
|
||||||
|
! URxvt*boldFont: fontname
|
||||||
|
! URxvt*italicFont: fontname
|
||||||
|
! URxvt*boldItalicFont: fontname
|
||||||
|
! URxvt*intensityStyles: boolean
|
||||||
|
! URxvt*inputMethod: name
|
||||||
|
! URxvt*preeditType: style
|
||||||
|
! URxvt*imLocale: string
|
||||||
|
! URxvt*imFont: fontname
|
||||||
|
! URxvt*title: string
|
||||||
|
! URxvt*iconName: string
|
||||||
|
! URxvt*buffered: boolean
|
||||||
|
! URxvt*depth: number
|
||||||
|
! URxvt*visual: number
|
||||||
|
! URxvt*transient-for: windowid
|
||||||
|
! URxvt*override-redirect: boolean
|
||||||
|
! URxvt*hold: boolean
|
||||||
|
! URxvt*externalBorder: number
|
||||||
|
! URxvt*internalBorder: number
|
||||||
|
! URxvt*borderLess: true
|
||||||
|
! URxvt*lineSpace: number
|
||||||
|
! URxvt*letterSpace: number
|
||||||
|
! URxvt*skipBuiltinGlyphs: boolean
|
||||||
|
! URxvt*pointerBlankDelay: number
|
||||||
|
! URxvt*backspacekey: string
|
||||||
|
! URxvt*deletekey: string
|
||||||
|
! URxvt*print-pipe: string
|
||||||
|
! URxvt*modifier: modifier
|
||||||
|
! URxvt*cutchars: string
|
||||||
|
! URxvt*answerbackString: string
|
||||||
|
! URxvt*secondaryScreen: boolean
|
||||||
|
! URxvt*secondaryScroll: boolean
|
||||||
|
! URxvt*perl-lib: string
|
||||||
|
! URxvt*perl-eval: perl-eval
|
||||||
|
! URxvt*perl-ext-common: string
|
||||||
|
! URxvt*perl-ext: string
|
||||||
|
! URxvt*iso14755: boolean
|
||||||
|
! URxvt*iso14755_52: boolean
|
||||||
|
! URxvt*xrm: string
|
||||||
|
! URxvt*keysym.sym: keysym
|
||||||
|
! URxvt*background.border: boolean
|
||||||
|
! URxvt*background.expr: string
|
||||||
|
! URxvt*background.interval: seconds
|
||||||
|
! URxvt*bell-command: string
|
||||||
|
! URxvt*kuake.hotkey: string
|
||||||
|
! URxvt*matcher.button: string
|
||||||
|
! URxvt*matcher.launcher: string
|
||||||
|
! URxvt*matcher.launcher.*: string
|
||||||
|
! URxvt*matcher.pattern.*: string
|
||||||
|
! URxvt*matcher.rend.*: string
|
||||||
|
! URxvt*remote-clipboard.fetch: string
|
||||||
|
! URxvt*remote-clipboard.store: string
|
||||||
|
! URxvt*searchable-scrollback: string
|
||||||
|
! URxvt*selection-autotransform.*: string
|
||||||
|
! URxvt*selection-pastebin.cmd: string
|
||||||
|
! URxvt*selection-pastebin.url: string
|
||||||
|
! URxvt*selection.pattern-0: string
|
||||||
|
! URxvt*tab-bg: colour
|
||||||
|
! URxvt*tab-fg: colour
|
||||||
|
! URxvt*tabbar-bg: colour
|
||||||
|
! URxvt*tabbar-fg: colour
|
||||||
|
! URxvt*url-launcher: string
|
||||||
|
|
||||||
|
! The Terminus font uses the following X-names:
|
||||||
|
! -xos4-terminus-medium-r-normal--12-120-72-72-c-60-iso10646-1
|
||||||
|
! -xos4-terminus-medium-r-normal--14-140-72-72-c-80-iso10646-1
|
||||||
|
! -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
|
||||||
|
! -xos4-terminus-medium-r-normal--20-200-72-72-c-100-iso10646-1
|
||||||
|
! -xos4-terminus-medium-r-normal--22-220-72-72-c-110-iso10646-1
|
||||||
|
! -xos4-terminus-medium-r-normal--24-240-72-72-c-120-iso10646-1
|
||||||
|
! -xos4-terminus-medium-r-normal--28-280-72-72-c-140-iso10646-1
|
||||||
|
! -xos4-terminus-medium-r-normal--32-320-72-72-c-160-iso10646-1
|
||||||
|
! -xos4-terminus-bold-r-normal--12-120-72-72-c-60-iso10646-1
|
||||||
|
! -xos4-terminus-bold-r-normal--14-140-72-72-c-80-iso10646-1
|
||||||
|
! -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
|
||||||
|
! -xos4-terminus-bold-r-normal--20-200-72-72-c-100-iso10646-1
|
||||||
|
! -xos4-terminus-bold-r-normal--24-240-72-72-c-120-iso10646-1
|
||||||
|
! -xos4-terminus-bold-r-normal--28-280-72-72-c-140-iso10646-1
|
||||||
|
! -xos4-terminus-bold-r-normal--32-320-72-72-c-160-iso10646-1
|
|
@ -0,0 +1,139 @@
|
||||||
|
#
|
||||||
|
# ~/.bashrc
|
||||||
|
#
|
||||||
|
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
|
||||||
|
colors() {
|
||||||
|
local fgc bgc vals seq0
|
||||||
|
|
||||||
|
printf "Color escapes are %s\n" '\e[${value};...;${value}m'
|
||||||
|
printf "Values 30..37 are \e[33mforeground colors\e[m\n"
|
||||||
|
printf "Values 40..47 are \e[43mbackground colors\e[m\n"
|
||||||
|
printf "Value 1 gives a \e[1mbold-faced look\e[m\n\n"
|
||||||
|
|
||||||
|
# foreground colors
|
||||||
|
for fgc in {30..37}; do
|
||||||
|
# background colors
|
||||||
|
for bgc in {40..47}; do
|
||||||
|
fgc=${fgc#37} # white
|
||||||
|
bgc=${bgc#40} # black
|
||||||
|
|
||||||
|
vals="${fgc:+$fgc;}${bgc}"
|
||||||
|
vals=${vals%%;}
|
||||||
|
|
||||||
|
seq0="${vals:+\e[${vals}m}"
|
||||||
|
printf " %-9s" "${seq0:-(default)}"
|
||||||
|
printf " ${seq0}TEXT\e[m"
|
||||||
|
printf " \e[${vals:+${vals+$vals;}}1mBOLD\e[m"
|
||||||
|
done
|
||||||
|
echo; echo
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
[ -r /usr/share/bash-completion/bash_completion ] && . /usr/share/bash-completion/bash_completion
|
||||||
|
|
||||||
|
# Change the window title of X terminals
|
||||||
|
case ${TERM} in
|
||||||
|
xterm*|rxvt*|Eterm*|aterm|kterm|gnome*|interix|konsole*)
|
||||||
|
PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\007"'
|
||||||
|
;;
|
||||||
|
screen*)
|
||||||
|
PROMPT_COMMAND='echo -ne "\033_${USER}@${HOSTNAME%%.*}:${PWD/#$HOME/\~}\033\\"'
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
use_color=true
|
||||||
|
|
||||||
|
# Set colorful PS1 only on colorful terminals.
|
||||||
|
# dircolors --print-database uses its own built-in database
|
||||||
|
# instead of using /etc/DIR_COLORS. Try to use the external file
|
||||||
|
# first to take advantage of user additions. Use internal bash
|
||||||
|
# globbing instead of external grep binary.
|
||||||
|
safe_term=${TERM//[^[:alnum:]]/?} # sanitize TERM
|
||||||
|
match_lhs=""
|
||||||
|
[[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)"
|
||||||
|
[[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)"
|
||||||
|
[[ -z ${match_lhs} ]] \
|
||||||
|
&& type -P dircolors >/dev/null \
|
||||||
|
&& match_lhs=$(dircolors --print-database)
|
||||||
|
[[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true
|
||||||
|
|
||||||
|
if ${use_color} ; then
|
||||||
|
# Enable colors for ls, etc. Prefer ~/.dir_colors #64489
|
||||||
|
if type -P dircolors >/dev/null ; then
|
||||||
|
if [[ -f ~/.dir_colors ]] ; then
|
||||||
|
eval $(dircolors -b ~/.dir_colors)
|
||||||
|
elif [[ -f /etc/DIR_COLORS ]] ; then
|
||||||
|
eval $(dircolors -b /etc/DIR_COLORS)
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ${EUID} == 0 ]] ; then
|
||||||
|
PS1='\[\033[01;31m\][\h\[\033[01;36m\] \W\[\033[01;31m\]]\$\[\033[00m\] '
|
||||||
|
else
|
||||||
|
PS1='\[\033[01;32m\][\u@\h\[\033[01;37m\] \W\[\033[01;32m\]]\$\[\033[00m\] '
|
||||||
|
fi
|
||||||
|
|
||||||
|
alias ls='ls --color=auto'
|
||||||
|
alias grep='grep --colour=auto'
|
||||||
|
alias egrep='egrep --colour=auto'
|
||||||
|
alias fgrep='fgrep --colour=auto'
|
||||||
|
else
|
||||||
|
if [[ ${EUID} == 0 ]] ; then
|
||||||
|
# show root@ when we don't have colors
|
||||||
|
PS1='\u@\h \W \$ '
|
||||||
|
else
|
||||||
|
PS1='\u@\h \w \$ '
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
unset use_color safe_term match_lhs sh
|
||||||
|
|
||||||
|
alias cp="cp -i" # confirm before overwriting something
|
||||||
|
alias df='df -h' # human-readable sizes
|
||||||
|
alias free='free -m' # show sizes in MB
|
||||||
|
alias np='nano -w PKGBUILD'
|
||||||
|
alias more=less
|
||||||
|
|
||||||
|
xhost +local:root > /dev/null 2>&1
|
||||||
|
|
||||||
|
complete -cf sudo
|
||||||
|
|
||||||
|
# Bash won't get SIGWINCH if another process is in the foreground.
|
||||||
|
# Enable checkwinsize so that bash will check the terminal size when
|
||||||
|
# it regains control. #65623
|
||||||
|
# http://cnswww.cns.cwru.edu/~chet/bash/FAQ (E11)
|
||||||
|
shopt -s checkwinsize
|
||||||
|
|
||||||
|
shopt -s expand_aliases
|
||||||
|
|
||||||
|
# export QT_SELECT=4
|
||||||
|
|
||||||
|
# Enable history appending instead of overwriting. #139609
|
||||||
|
shopt -s histappend
|
||||||
|
|
||||||
|
#
|
||||||
|
# # ex - archive extractor
|
||||||
|
# # 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 ;;
|
||||||
|
*) echo "'$1' cannot be extracted via ex()" ;;
|
||||||
|
esac
|
||||||
|
else
|
||||||
|
echo "'$1' is not a valid file"
|
||||||
|
fi
|
||||||
|
}
|
|
@ -0,0 +1,302 @@
|
||||||
|
[global]
|
||||||
|
frame_width = 1
|
||||||
|
frame_color = "#E57B81"
|
||||||
|
|
||||||
|
font = Noto Sans 10
|
||||||
|
|
||||||
|
# Allow a small subset of html markup:
|
||||||
|
# <b>bold</b>
|
||||||
|
# <i>italic</i>
|
||||||
|
# <s>strikethrough</s>
|
||||||
|
# <u>underline</u>
|
||||||
|
#
|
||||||
|
# For a complete reference see
|
||||||
|
# <http://developer.gnome.org/pango/stable/PangoMarkupFormat.html>.
|
||||||
|
# If markup is not allowed, those tags will be stripped out of the
|
||||||
|
# message.
|
||||||
|
markup = yes
|
||||||
|
|
||||||
|
# The format of the message. Possible variables are:
|
||||||
|
# %a appname
|
||||||
|
# %s summary
|
||||||
|
# %b body
|
||||||
|
# %i iconname (including its path)
|
||||||
|
# %I iconname (without its path)
|
||||||
|
# %p progress value if set ([ 0%] to [100%]) or nothing
|
||||||
|
# Markup is allowed
|
||||||
|
format = "%s %p\n%b"
|
||||||
|
|
||||||
|
# Sort messages by urgency.
|
||||||
|
sort = yes
|
||||||
|
|
||||||
|
# Show how many messages are currently hidden (because of geometry).
|
||||||
|
indicate_hidden = yes
|
||||||
|
|
||||||
|
# Alignment of message text.
|
||||||
|
# Possible values are "left", "center" and "right".
|
||||||
|
alignment = left
|
||||||
|
|
||||||
|
# The frequency with wich text that is longer than the notification
|
||||||
|
# window allows bounces back and forth.
|
||||||
|
# This option conflicts with "word_wrap".
|
||||||
|
# Set to 0 to disable.
|
||||||
|
bounce_freq = 5
|
||||||
|
|
||||||
|
|
||||||
|
# Show age of message if message is older than show_age_threshold
|
||||||
|
# seconds.
|
||||||
|
# Set to -1 to disable.
|
||||||
|
show_age_threshold = 60
|
||||||
|
|
||||||
|
# Split notifications into multiple lines if they don't fit into
|
||||||
|
# geometry.
|
||||||
|
word_wrap = no
|
||||||
|
|
||||||
|
# Ignore newlines '\n' in notifications.
|
||||||
|
ignore_newline = no
|
||||||
|
|
||||||
|
|
||||||
|
# The geometry of the window:
|
||||||
|
# [{width}]x{height}[+/-{x}+/-{y}]
|
||||||
|
# The geometry of the message window.
|
||||||
|
# The height is measured in number of notifications everything else
|
||||||
|
# in pixels. If the width is omitted but the height is given
|
||||||
|
# ("-geometry x2"), the message window expands over the whole screen
|
||||||
|
# (dmenu-like). If width is 0, the window expands to the longest
|
||||||
|
# message displayed. A positive x is measured from the left, a
|
||||||
|
# negative from the right side of the screen. Y is measured from
|
||||||
|
# the top and down respectevly.
|
||||||
|
# The width can be negative. In this case the actual width is the
|
||||||
|
# screen width minus the width defined in within the geometry option.
|
||||||
|
geometry = "0x4-25+25"
|
||||||
|
|
||||||
|
# Shrink window if it's smaller than the width. Will be ignored if
|
||||||
|
# width is 0.
|
||||||
|
shrink = yes
|
||||||
|
|
||||||
|
# The transparency of the window. Range: [0; 100].
|
||||||
|
# This option will only work if a compositing windowmanager is
|
||||||
|
# present (e.g. xcompmgr, compiz, etc.).
|
||||||
|
transparency = 15
|
||||||
|
|
||||||
|
# Don't remove messages, if the user is idle (no mouse or keyboard input)
|
||||||
|
# for longer than idle_threshold seconds.
|
||||||
|
# Set to 0 to disable.
|
||||||
|
# default 120
|
||||||
|
idle_threshold = 120
|
||||||
|
|
||||||
|
# Which monitor should the notifications be displayed on.
|
||||||
|
monitor = 0
|
||||||
|
|
||||||
|
# Display notification on focused monitor. Possible modes are:
|
||||||
|
# mouse: follow mouse pointer
|
||||||
|
# keyboard: follow window with keyboard focus
|
||||||
|
# none: don't follow anything
|
||||||
|
#
|
||||||
|
# "keyboard" needs a windowmanager that exports the
|
||||||
|
# _NET_ACTIVE_WINDOW property.
|
||||||
|
# This should be the case for almost all modern windowmanagers.
|
||||||
|
#
|
||||||
|
# If this option is set to mouse or keyboard, the monitor option
|
||||||
|
# will be ignored.
|
||||||
|
follow = mouse
|
||||||
|
|
||||||
|
# Should a notification popped up from history be sticky or timeout
|
||||||
|
# as if it would normally do.
|
||||||
|
sticky_history = yes
|
||||||
|
|
||||||
|
# Maximum amount of notifications kept in history
|
||||||
|
history_length = 20
|
||||||
|
|
||||||
|
# Display indicators for URLs (U) and actions (A).
|
||||||
|
show_indicators = yes
|
||||||
|
|
||||||
|
# The height of a single line. If the height is smaller than the
|
||||||
|
# font height, it will get raised to the font height.
|
||||||
|
# This adds empty space above and under the text.
|
||||||
|
line_height = 0
|
||||||
|
|
||||||
|
# Draw a line of "separator_height" pixel height between two
|
||||||
|
# notifications.
|
||||||
|
# Set to 0 to disable.
|
||||||
|
separator_height = 1
|
||||||
|
|
||||||
|
# Padding between text and separator.
|
||||||
|
# padding = 8
|
||||||
|
padding = 8
|
||||||
|
|
||||||
|
# Horizontal padding.
|
||||||
|
horizontal_padding = 10
|
||||||
|
|
||||||
|
# Define a color for the separator.
|
||||||
|
# possible values are:
|
||||||
|
# * auto: dunst tries to find a color fitting to the background;
|
||||||
|
# * foreground: use the same color as the foreground;
|
||||||
|
# * frame: use the same color as the frame;
|
||||||
|
# * anything else will be interpreted as a X color.
|
||||||
|
separator_color = #263238
|
||||||
|
|
||||||
|
# Print a notification on startup.
|
||||||
|
# This is mainly for error detection, since dbus (re-)starts dunst
|
||||||
|
# automatically after a crash.
|
||||||
|
startup_notification = false
|
||||||
|
|
||||||
|
# dmenu path.
|
||||||
|
dmenu = /usr/bin/dmenu -p dunst:
|
||||||
|
|
||||||
|
# Browser for opening urls in context menu.
|
||||||
|
browser = palemoon
|
||||||
|
|
||||||
|
# Align icons left/right/off
|
||||||
|
icon_position = left
|
||||||
|
|
||||||
|
# Paths to default icons.
|
||||||
|
icon_path = /usr/share/icons/Adwaita/16x16/status/:/usr/share/icons/Adwaita/16x16/devices/
|
||||||
|
|
||||||
|
# Limit icons size.
|
||||||
|
max_icon_size=128
|
||||||
|
|
||||||
|
[shortcuts]
|
||||||
|
|
||||||
|
# Shortcuts are specified as [modifier+][modifier+]...key
|
||||||
|
# Available modifiers are "ctrl", "mod1" (the alt-key), "mod2",
|
||||||
|
# "mod3" and "mod4" (windows-key).
|
||||||
|
# Xev might be helpful to find names for keys.
|
||||||
|
|
||||||
|
# Close notification.
|
||||||
|
close = mod1+space
|
||||||
|
|
||||||
|
# Close all notifications.
|
||||||
|
# close_all = ctrl+shift+space
|
||||||
|
close_all = ctrl+mod1+space
|
||||||
|
|
||||||
|
# Redisplay last message(s).
|
||||||
|
# On the US keyboard layout "grave" is normally above TAB and left
|
||||||
|
# of "1".
|
||||||
|
history = ctrl+mod4+h
|
||||||
|
|
||||||
|
# Context menu.
|
||||||
|
context = ctrl+mod1+c
|
||||||
|
|
||||||
|
[urgency_low]
|
||||||
|
# IMPORTANT: colors have to be defined in quotation marks.
|
||||||
|
# Otherwise the "#" and following would be interpreted as a comment.
|
||||||
|
background = "#060C13"
|
||||||
|
foreground = "#E57B81"
|
||||||
|
timeout = 10
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
background = "#060C13"
|
||||||
|
foreground = "#E57B81"
|
||||||
|
timeout = 10
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
background = "#060C13"
|
||||||
|
foreground = "#E57B81"
|
||||||
|
timeout = 0
|
||||||
|
|
||||||
|
|
||||||
|
# Every section that isn't one of the above is interpreted as a rules to
|
||||||
|
# override settings for certain messages.
|
||||||
|
# Messages can be matched by "appname", "summary", "body", "icon", "category",
|
||||||
|
# "msg_urgency" and you can override the "timeout", "urgency", "foreground",
|
||||||
|
# "background", "new_icon" and "format".
|
||||||
|
# Shell-like globbing will get expanded.
|
||||||
|
#
|
||||||
|
# SCRIPTING
|
||||||
|
# You can specify a script that gets run when the rule matches by
|
||||||
|
# setting the "script" option.
|
||||||
|
# The script will be called as follows:
|
||||||
|
# script appname summary body icon urgency
|
||||||
|
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
|
||||||
|
#
|
||||||
|
# NOTE: if you don't want a notification to be displayed, set the format
|
||||||
|
# to "".
|
||||||
|
# NOTE: It might be helpful to run dunst -print in a terminal in order
|
||||||
|
# to find fitting options for rules.
|
||||||
|
|
||||||
|
#[espeak]
|
||||||
|
# summary = "*"
|
||||||
|
# script = dunst_espeak.sh
|
||||||
|
|
||||||
|
#[script-test]
|
||||||
|
# summary = "*script*"
|
||||||
|
# script = dunst_test.sh
|
||||||
|
|
||||||
|
#[ignore]
|
||||||
|
# # This notification will not be displayed
|
||||||
|
# summary = "foobar"
|
||||||
|
# format = ""
|
||||||
|
|
||||||
|
#[signed_on]
|
||||||
|
# appname = Pidgin
|
||||||
|
# summary = "*signed on*"
|
||||||
|
# urgency = low
|
||||||
|
#
|
||||||
|
#[signed_off]
|
||||||
|
# appname = Pidgin
|
||||||
|
# summary = *signed off*
|
||||||
|
# urgency = low
|
||||||
|
#
|
||||||
|
#[says]
|
||||||
|
# appname = Pidgin
|
||||||
|
# summary = *says*
|
||||||
|
# urgency = critical
|
||||||
|
#
|
||||||
|
#[twitter]
|
||||||
|
# appname = Pidgin
|
||||||
|
# summary = *twitter.com*
|
||||||
|
# urgency = normal
|
||||||
|
#
|
||||||
|
#[Claws Mail]
|
||||||
|
# appname = claws-mail
|
||||||
|
# category = email.arrived
|
||||||
|
# urgency = normal
|
||||||
|
# background = "#060C13"
|
||||||
|
# foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
#[mute.sh]
|
||||||
|
# appname = mute
|
||||||
|
# category = mute.sound
|
||||||
|
# script = mute.sh
|
||||||
|
#
|
||||||
|
#[JDownloader]
|
||||||
|
# appname = JDownloader
|
||||||
|
# category = JD
|
||||||
|
# background = "#060C13"
|
||||||
|
# foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
#[newsbeuter]
|
||||||
|
# summary = *Feeds*
|
||||||
|
# background = "#060C13"
|
||||||
|
# foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
[irc]
|
||||||
|
appname = weechat
|
||||||
|
timeout = 0
|
||||||
|
background = "#060C13"
|
||||||
|
foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
[weechat hl]
|
||||||
|
appname = weechat
|
||||||
|
category = weechat.HL
|
||||||
|
background = "#060C13"
|
||||||
|
foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
[weechat pn]
|
||||||
|
appname = weechat
|
||||||
|
category = weechat.PM
|
||||||
|
background = "#060C13"
|
||||||
|
foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
#[CMUS]
|
||||||
|
# appname = CMUS
|
||||||
|
# category = cmus
|
||||||
|
# background = "#060C13"
|
||||||
|
# foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# background = "#060C13"
|
||||||
|
# foreground = "#E57B81"
|
||||||
|
#
|
||||||
|
# vim: ft=cfg
|
|
@ -0,0 +1 @@
|
||||||
|
scrot_dir=/home/cdnutter/Pictures
|
|
@ -0,0 +1,445 @@
|
||||||
|
# i3 config file (v4)
|
||||||
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
# set default desktop layout (default is tiling)
|
||||||
|
# workspace_layout tabbed <stacking|tabbed>
|
||||||
|
|
||||||
|
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||||
|
default_border pixel 1
|
||||||
|
default_floating_border normal
|
||||||
|
|
||||||
|
# Hide borders
|
||||||
|
hide_edge_borders none
|
||||||
|
|
||||||
|
# change borders
|
||||||
|
bindsym $mod+u border none
|
||||||
|
bindsym $mod+y border pixel 1
|
||||||
|
bindsym $mod+n border normal
|
||||||
|
|
||||||
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
|
# is used in the bar {} block below.
|
||||||
|
font xft:URWGothic-Book 11
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# start a terminal
|
||||||
|
bindsym $mod+Return exec kitty
|
||||||
|
bindsym $mod+Shift+Return exec cool-retro-term
|
||||||
|
|
||||||
|
# kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# start program launcher
|
||||||
|
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||||
|
|
||||||
|
# launch categorized menu
|
||||||
|
#bindsym $mod+z exec --no-startup-id morc_menu
|
||||||
|
|
||||||
|
################################################################################################
|
||||||
|
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||||
|
################################################################################################
|
||||||
|
|
||||||
|
exec --no-startup-id volumeicon
|
||||||
|
bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
|
||||||
|
#exec --no-startup-id pulseaudio
|
||||||
|
#exec --no-startup-id pa-applet
|
||||||
|
#bindsym $mod+Ctrl+m exec pavucontrol
|
||||||
|
|
||||||
|
################################################################################################
|
||||||
|
|
||||||
|
# Screen brightness controls
|
||||||
|
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
|
||||||
|
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
|
||||||
|
|
||||||
|
# Start Applications
|
||||||
|
bindsym $mod+Ctrl+b exec kitty -e 'bmenu'
|
||||||
|
bindsym $mod+F2 exec vivaldi-stable
|
||||||
|
bindsym $mod+F3 exec pcmanfm
|
||||||
|
#bindsym $mod+F3 exec ranger
|
||||||
|
bindsym $mod+Shift+F3 exec pcmanfm_pkexec
|
||||||
|
bindsym $mod+F5 exec kitty -e ncmpcpp
|
||||||
|
bindsym $mod+t exec --no-startup-id pkill picom
|
||||||
|
bindsym $mod+Ctrl+t exec --no-startup-id picom -b
|
||||||
|
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
|
||||||
|
bindsym Print exec --no-startup-id i3-scrot
|
||||||
|
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||||
|
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||||
|
#bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||||
|
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||||
|
|
||||||
|
# focus_follows_mouse no
|
||||||
|
|
||||||
|
# change focus
|
||||||
|
bindsym $mod+j focus left
|
||||||
|
bindsym $mod+k focus down
|
||||||
|
bindsym $mod+l focus up
|
||||||
|
bindsym $mod+semicolon focus right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# move focused window
|
||||||
|
bindsym $mod+Shift+j move left
|
||||||
|
bindsym $mod+Shift+k move down
|
||||||
|
bindsym $mod+Shift+l move up
|
||||||
|
bindsym $mod+Shift+semicolon move right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
# workspace back and forth (with/without active container)
|
||||||
|
workspace_auto_back_and_forth yes
|
||||||
|
bindsym $mod+b workspace back_and_forth
|
||||||
|
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||||
|
|
||||||
|
# split orientation
|
||||||
|
bindsym $mod+h split h;exec notify-send 'tile horizontally'
|
||||||
|
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||||
|
bindsym $mod+q split toggle
|
||||||
|
|
||||||
|
# toggle fullscreen mode for the focused container
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# toggle tiling / floating
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# toggle sticky
|
||||||
|
bindsym $mod+Shift+s sticky toggle
|
||||||
|
|
||||||
|
# focus the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
# move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
|
#navigate workspaces next / previous
|
||||||
|
bindsym $mod+Ctrl+Right workspace next
|
||||||
|
bindsym $mod+Ctrl+Left workspace prev
|
||||||
|
|
||||||
|
# Workspace names
|
||||||
|
# to display names or symbols instead of plain workspace numbers you can use
|
||||||
|
# something like: set $ws1 1:mail
|
||||||
|
# set $ws2 2:
|
||||||
|
set $ws1 1
|
||||||
|
set $ws2 2
|
||||||
|
set $ws3 3
|
||||||
|
set $ws4 4
|
||||||
|
set $ws5 5
|
||||||
|
set $ws6 6
|
||||||
|
set $ws7 7
|
||||||
|
set $ws8 8
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+1 workspace $ws1
|
||||||
|
bindsym $mod+2 workspace $ws2
|
||||||
|
bindsym $mod+3 workspace $ws3
|
||||||
|
bindsym $mod+4 workspace $ws4
|
||||||
|
bindsym $mod+5 workspace $ws5
|
||||||
|
bindsym $mod+6 workspace $ws6
|
||||||
|
bindsym $mod+7 workspace $ws7
|
||||||
|
bindsym $mod+8 workspace $ws8
|
||||||
|
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||||
|
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
||||||
|
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
||||||
|
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
||||||
|
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
||||||
|
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||||
|
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||||
|
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||||
|
|
||||||
|
# Move to workspace with focused container
|
||||||
|
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||||
|
|
||||||
|
# Open applications on specific workspaces
|
||||||
|
# assign [class="Thunderbird"] $ws1
|
||||||
|
# assign [class="Pale moon"] $ws2
|
||||||
|
# assign [class="Pcmanfm"] $ws3
|
||||||
|
# assign [class="Skype"] $ws5
|
||||||
|
|
||||||
|
# Open specific applications in floating mode
|
||||||
|
for_window [title="alsamixer"] floating enable border pixel 1
|
||||||
|
for_window [class="calamares"] floating enable border normal
|
||||||
|
for_window [class="Clipgrab"] floating enable
|
||||||
|
for_window [title="File Transfer*"] floating enable
|
||||||
|
for_window [class="fpakman"] floating enable
|
||||||
|
for_window [class="Galculator"] floating enable border pixel 1
|
||||||
|
for_window [class="GParted"] floating enable border normal
|
||||||
|
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Lightdm-settings"] floating enable
|
||||||
|
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Manjaro-hello"] floating enable
|
||||||
|
for_window [class="Manjaro Settings Manager"] floating enable border normal
|
||||||
|
for_window [title="MuseScore: Play Panel"] floating enable
|
||||||
|
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Oblogout"] fullscreen enable
|
||||||
|
for_window [class="octopi"] floating enable
|
||||||
|
for_window [title="About Pale Moon"] floating enable
|
||||||
|
for_window [class="Pamac-manager"] floating enable
|
||||||
|
for_window [class="Pavucontrol"] floating enable
|
||||||
|
for_window [class="qt5ct"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Simple-scan"] floating enable border normal
|
||||||
|
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||||
|
for_window [class="Skype"] floating enable border normal
|
||||||
|
for_window [class="Timeset-gui"] floating enable border normal
|
||||||
|
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||||
|
for_window [class="Xfburn"] floating enable
|
||||||
|
|
||||||
|
# Open specific applications floating -- NEW OPTIONS
|
||||||
|
for_window [class="lutris"] floating enable border normal
|
||||||
|
|
||||||
|
# switch to workspace with urgent window automatically
|
||||||
|
for_window [urgent=latest] focus
|
||||||
|
|
||||||
|
# reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
|
bindsym $mod+Shift+r restart
|
||||||
|
|
||||||
|
# exit i3 (logs you out of your X session)
|
||||||
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
# Set shut down, restart and locking features
|
||||||
|
bindsym $mod+0 mode "$mode_system"
|
||||||
|
set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
||||||
|
mode "$mode_system" {
|
||||||
|
bindsym l exec --no-startup-id i3exit lock, mode "default"
|
||||||
|
bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
||||||
|
bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
||||||
|
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||||||
|
bindsym h exec --no-startup-id i3exit hibernate, mode "default"
|
||||||
|
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||||||
|
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
||||||
|
|
||||||
|
# exit system mode: "Enter" or "Escape"
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Resize window (you can also use the mouse for that)
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
mode "resize" {
|
||||||
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
|
# Pressing left will shrink the window’s width.
|
||||||
|
# Pressing right will grow the window’s width.
|
||||||
|
# Pressing up will shrink the window’s height.
|
||||||
|
# Pressing down will grow the window’s height.
|
||||||
|
bindsym j resize shrink width 5 px or 5 ppt
|
||||||
|
bindsym k resize grow height 5 px or 5 ppt
|
||||||
|
bindsym l resize shrink height 5 px or 5 ppt
|
||||||
|
bindsym semicolon resize grow width 5 px or 5 ppt
|
||||||
|
|
||||||
|
# same bindings, but for the arrow keys
|
||||||
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym Down resize grow height 10 px or 10 ppt
|
||||||
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym Right resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
|
# exit resize mode: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Lock screen
|
||||||
|
bindsym $mod+9 exec --no-startup-id blurlock
|
||||||
|
|
||||||
|
# Autostart applications
|
||||||
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||||
|
#exec --no-startup-id manjaro-hello
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
exec --no-startup-id xfce4-power-manager
|
||||||
|
exec --no-startup-id pamac-tray
|
||||||
|
exec --no-startup-id clipit
|
||||||
|
# exec --no-startup-id blueman-applet
|
||||||
|
# exec_always --no-startup-id sbxkb
|
||||||
|
# exec --no-startup-id start_conky_maia
|
||||||
|
# exec --no-startup-id start_conky_green
|
||||||
|
exec --no-startup-id xautolock -time 10 -locker blurlock
|
||||||
|
exec_always --no-startup-id ff-theme-util
|
||||||
|
exec_always --no-startup-id fix_xcursor
|
||||||
|
|
||||||
|
# Color palette used for the terminal ( ~/.Xresources file )
|
||||||
|
# Colors are gathered based on the documentation:
|
||||||
|
# https://i3wm.org/docs/userguide.html#xresources
|
||||||
|
# Change the variable name at the place you want to match the color
|
||||||
|
# of your terminal like this:
|
||||||
|
# [example]
|
||||||
|
# If you want your bar to have the same background color as your
|
||||||
|
# terminal background change the line 362 from:
|
||||||
|
# background #14191D
|
||||||
|
# to:
|
||||||
|
# background $term_background
|
||||||
|
# Same logic applied to everything else.
|
||||||
|
#set_from_resource $term_background background
|
||||||
|
#set_from_resource $term_foreground foreground
|
||||||
|
#set_from_resource $term_color0 color0
|
||||||
|
#set_from_resource $term_color1 color1
|
||||||
|
#set_from_resource $term_color2 color2
|
||||||
|
#set_from_resource $term_color3 color3
|
||||||
|
#set_from_resource $term_color4 color4
|
||||||
|
#set_from_resource $term_color5 color5
|
||||||
|
#set_from_resource $term_color6 color6
|
||||||
|
#set_from_resource $term_color7 color7
|
||||||
|
#set_from_resource $term_color8 color8
|
||||||
|
#set_from_resource $term_color9 color9
|
||||||
|
#set_from_resource $term_color10 color10
|
||||||
|
#set_from_resource $term_color11 color11
|
||||||
|
#set_from_resource $term_color12 color12
|
||||||
|
#set_from_resource $term_color13 color13
|
||||||
|
#set_from_resource $term_color14 color14
|
||||||
|
#set_from_resource $term_color15 color15
|
||||||
|
|
||||||
|
set_from_resource $fg i3wm.color7
|
||||||
|
set_From_resource $bg i3wm.color2
|
||||||
|
|
||||||
|
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||||
|
#bar {
|
||||||
|
# i3bar_command i3bar
|
||||||
|
# status_command i3status
|
||||||
|
# position bottom
|
||||||
|
|
||||||
|
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
|
||||||
|
# tray_output primary
|
||||||
|
# tray_output eDP1
|
||||||
|
|
||||||
|
# bindsym button4 nop
|
||||||
|
# bindsym button5 nop
|
||||||
|
# font xft:URWGothic-Book 11
|
||||||
|
# strip_workspace_numbers yes
|
||||||
|
|
||||||
|
# colors {
|
||||||
|
# background #222D31
|
||||||
|
# statusline #F9FAF9
|
||||||
|
# separator #454947
|
||||||
|
|
||||||
|
# border backgr. text
|
||||||
|
# focused_workspace #F9FAF9 #16a085 #292F34
|
||||||
|
# active_workspace #595B5B #353836 #FDF6E3
|
||||||
|
# inactive_workspace #595B5B #222D31 #EEE8D5
|
||||||
|
# binding_mode #16a085 #2C2C2C #F9FAF9
|
||||||
|
# urgent_workspace #16a085 #FDF6E3 #E5201D
|
||||||
|
# }
|
||||||
|
#}
|
||||||
|
|
||||||
|
# hide/unhide i3status bar
|
||||||
|
bindsym $mod+m bar mode toggle
|
||||||
|
|
||||||
|
# Theme colors
|
||||||
|
# class border backgr. text indic. child_border
|
||||||
|
client.focused $bg $bg $bg $fg $bg #556064 #556064 #80FFF9 #FDF6E3
|
||||||
|
client.focused_inactive $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||||
|
client.unfocused $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||||
|
client.urgent $bg $bg $bg $fg $bg #CB4B16 #FDF6E3 #1ABC9C #268BD2
|
||||||
|
client.placeholder $bg $bg $bg $fg $bg #000000 #0c0c0c #ffffff #000000
|
||||||
|
|
||||||
|
client.background $bg #2B2C2B
|
||||||
|
|
||||||
|
#############################
|
||||||
|
### settings for i3-gaps: ###
|
||||||
|
#############################
|
||||||
|
|
||||||
|
# Set inner/outer gaps
|
||||||
|
gaps inner 14
|
||||||
|
gaps outer -2
|
||||||
|
|
||||||
|
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
||||||
|
# gaps inner|outer current|all set|plus|minus <px>
|
||||||
|
# gaps inner all set 10
|
||||||
|
# gaps outer all plus 5
|
||||||
|
|
||||||
|
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||||
|
smart_gaps on
|
||||||
|
|
||||||
|
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||||
|
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||||
|
smart_borders no_gaps
|
||||||
|
|
||||||
|
# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.
|
||||||
|
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||||
|
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||||
|
|
||||||
|
mode "$mode_gaps" {
|
||||||
|
bindsym o mode "$mode_gaps_outer"
|
||||||
|
bindsym i mode "$mode_gaps_inner"
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
mode "$mode_gaps_inner" {
|
||||||
|
bindsym plus gaps inner current plus 5
|
||||||
|
bindsym minus gaps inner current minus 5
|
||||||
|
bindsym 0 gaps inner current set 0
|
||||||
|
|
||||||
|
bindsym Shift+plus gaps inner all plus 5
|
||||||
|
bindsym Shift+minus gaps inner all minus 5
|
||||||
|
bindsym Shift+0 gaps inner all set 0
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
mode "$mode_gaps_outer" {
|
||||||
|
bindsym plus gaps outer current plus 5
|
||||||
|
|
||||||
|
|
||||||
|
bindsym minus gaps outer current minus 5
|
||||||
|
bindsym 0 gaps outer current set 0
|
||||||
|
|
||||||
|
bindsym Shift+plus gaps outer all plus 5
|
||||||
|
bindsym Shift+minus gaps outer all minus 5
|
||||||
|
bindsym Shift+0 gaps outer all set 0
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Custom Scripts
|
||||||
|
|
||||||
|
exec_always --no-startup-id wal -i ~/Pictures/Wallpapers/
|
||||||
|
exec_always sh ~/.config/polybar/launch.sh
|
||||||
|
exec_always sh ~/.scripts/pywal-dunst.sh
|
||||||
|
|
||||||
|
exec pkill picom
|
||||||
|
exec picom -b -f
|
||||||
|
|
||||||
|
exec mpd ~/.config/mpd/mpd.conf
|
||||||
|
exec mpc update
|
||||||
|
|
||||||
|
exec synergyc --no-tray --restart --name Gray 192.168.1.236:24800
|
||||||
|
|
||||||
|
# Extra
|
||||||
|
|
||||||
|
#exec kitty ~/.scripts/monitor-setup.sh
|
|
@ -0,0 +1,434 @@
|
||||||
|
# i3 config file (v4)
|
||||||
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
|
||||||
|
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
||||||
|
set $mod Mod4
|
||||||
|
|
||||||
|
# set default desktop layout (default is tiling)
|
||||||
|
# workspace_layout tabbed <stacking|tabbed>
|
||||||
|
|
||||||
|
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
||||||
|
default_border pixel 1
|
||||||
|
default_floating_border normal
|
||||||
|
|
||||||
|
# Hide borders
|
||||||
|
hide_edge_borders none
|
||||||
|
|
||||||
|
# change borders
|
||||||
|
bindsym $mod+u border none
|
||||||
|
bindsym $mod+y border pixel 1
|
||||||
|
bindsym $mod+n border normal
|
||||||
|
|
||||||
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
|
# is used in the bar {} block below.
|
||||||
|
font xft:URWGothic-Book 11
|
||||||
|
|
||||||
|
# Use Mouse+$mod to drag floating windows
|
||||||
|
floating_modifier $mod
|
||||||
|
|
||||||
|
# start a terminal
|
||||||
|
bindsym $mod+Return exec kitty
|
||||||
|
|
||||||
|
# kill focused window
|
||||||
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
|
# start program launcher
|
||||||
|
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||||
|
|
||||||
|
# launch categorized menu
|
||||||
|
#bindsym $mod+z exec --no-startup-id morc_menu
|
||||||
|
|
||||||
|
################################################################################################
|
||||||
|
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
||||||
|
################################################################################################
|
||||||
|
|
||||||
|
exec --no-startup-id volumeicon
|
||||||
|
bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
|
||||||
|
#exec --no-startup-id pulseaudio
|
||||||
|
#exec --no-startup-id pa-applet
|
||||||
|
#bindsym $mod+Ctrl+m exec pavucontrol
|
||||||
|
|
||||||
|
################################################################################################
|
||||||
|
|
||||||
|
# Screen brightness controls
|
||||||
|
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
|
||||||
|
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
|
||||||
|
|
||||||
|
# Start Applications
|
||||||
|
bindsym $mod+Ctrl+b exec kitty -e 'bmenu'
|
||||||
|
bindsym $mod+F2 exec vivaldi-stable
|
||||||
|
bindsym $mod+F3 exec pcmanfm
|
||||||
|
#bindsym $mod+F3 exec ranger
|
||||||
|
bindsym $mod+Shift+F3 exec pcmanfm_pkexec
|
||||||
|
bindsym $mod+F5 exec kitty -e ncmpcpp
|
||||||
|
bindsym $mod+t exec --no-startup-id pkill picom
|
||||||
|
bindsym $mod+Ctrl+t exec --no-startup-id picom -b
|
||||||
|
bindsym $mod+Shift+d --release exec "killall dunst; exec notify-send 'restart dunst'"
|
||||||
|
bindsym Print exec --no-startup-id i3-scrot
|
||||||
|
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
|
||||||
|
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
|
||||||
|
#bindsym $mod+Shift+h exec xdg-open /usr/share/doc/manjaro/i3_help.pdf
|
||||||
|
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
|
||||||
|
|
||||||
|
# focus_follows_mouse no
|
||||||
|
|
||||||
|
# change focus
|
||||||
|
bindsym $mod+j focus left
|
||||||
|
bindsym $mod+k focus down
|
||||||
|
bindsym $mod+l focus up
|
||||||
|
bindsym $mod+semicolon focus right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Left focus left
|
||||||
|
bindsym $mod+Down focus down
|
||||||
|
bindsym $mod+Up focus up
|
||||||
|
bindsym $mod+Right focus right
|
||||||
|
|
||||||
|
# move focused window
|
||||||
|
bindsym $mod+Shift+j move left
|
||||||
|
bindsym $mod+Shift+k move down
|
||||||
|
bindsym $mod+Shift+l move up
|
||||||
|
bindsym $mod+Shift+semicolon move right
|
||||||
|
|
||||||
|
# alternatively, you can use the cursor keys:
|
||||||
|
bindsym $mod+Shift+Left move left
|
||||||
|
bindsym $mod+Shift+Down move down
|
||||||
|
bindsym $mod+Shift+Up move up
|
||||||
|
bindsym $mod+Shift+Right move right
|
||||||
|
|
||||||
|
# workspace back and forth (with/without active container)
|
||||||
|
workspace_auto_back_and_forth yes
|
||||||
|
bindsym $mod+b workspace back_and_forth
|
||||||
|
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
||||||
|
|
||||||
|
# split orientation
|
||||||
|
bindsym $mod+h split h;exec notify-send 'tile horizontally'
|
||||||
|
bindsym $mod+v split v;exec notify-send 'tile vertically'
|
||||||
|
bindsym $mod+q split toggle
|
||||||
|
|
||||||
|
# toggle fullscreen mode for the focused container
|
||||||
|
bindsym $mod+f fullscreen toggle
|
||||||
|
|
||||||
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
|
bindsym $mod+s layout stacking
|
||||||
|
bindsym $mod+w layout tabbed
|
||||||
|
bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
|
# toggle tiling / floating
|
||||||
|
bindsym $mod+Shift+space floating toggle
|
||||||
|
|
||||||
|
# change focus between tiling / floating windows
|
||||||
|
bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
|
# toggle sticky
|
||||||
|
bindsym $mod+Shift+s sticky toggle
|
||||||
|
|
||||||
|
# focus the parent container
|
||||||
|
bindsym $mod+a focus parent
|
||||||
|
|
||||||
|
# move the currently focused window to the scratchpad
|
||||||
|
bindsym $mod+Shift+minus move scratchpad
|
||||||
|
|
||||||
|
# Show the next scratchpad window or hide the focused scratchpad window.
|
||||||
|
# If there are multiple scratchpad windows, this command cycles through them.
|
||||||
|
bindsym $mod+minus scratchpad show
|
||||||
|
|
||||||
|
#navigate workspaces next / previous
|
||||||
|
bindsym $mod+Ctrl+Right workspace next
|
||||||
|
bindsym $mod+Ctrl+Left workspace prev
|
||||||
|
|
||||||
|
# Workspace names
|
||||||
|
# to display names or symbols instead of plain workspace numbers you can use
|
||||||
|
# something like: set $ws1 1:mail
|
||||||
|
# set $ws2 2:
|
||||||
|
set $ws1 1
|
||||||
|
set $ws2 2
|
||||||
|
set $ws3 3
|
||||||
|
set $ws4 4
|
||||||
|
set $ws5 5
|
||||||
|
set $ws6 6
|
||||||
|
set $ws7 7
|
||||||
|
set $ws8 8
|
||||||
|
|
||||||
|
# switch to workspace
|
||||||
|
bindsym $mod+1 workspace $ws1
|
||||||
|
bindsym $mod+2 workspace $ws2
|
||||||
|
bindsym $mod+3 workspace $ws3
|
||||||
|
bindsym $mod+4 workspace $ws4
|
||||||
|
bindsym $mod+5 workspace $ws5
|
||||||
|
bindsym $mod+6 workspace $ws6
|
||||||
|
bindsym $mod+7 workspace $ws7
|
||||||
|
bindsym $mod+8 workspace $ws8
|
||||||
|
|
||||||
|
# Move focused container to workspace
|
||||||
|
bindsym $mod+Ctrl+1 move container to workspace $ws1
|
||||||
|
bindsym $mod+Ctrl+2 move container to workspace $ws2
|
||||||
|
bindsym $mod+Ctrl+3 move container to workspace $ws3
|
||||||
|
bindsym $mod+Ctrl+4 move container to workspace $ws4
|
||||||
|
bindsym $mod+Ctrl+5 move container to workspace $ws5
|
||||||
|
bindsym $mod+Ctrl+6 move container to workspace $ws6
|
||||||
|
bindsym $mod+Ctrl+7 move container to workspace $ws7
|
||||||
|
bindsym $mod+Ctrl+8 move container to workspace $ws8
|
||||||
|
|
||||||
|
# Move to workspace with focused container
|
||||||
|
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
|
||||||
|
bindsym $mod+Shift+2 move container to workspace $ws2; workspace $ws2
|
||||||
|
bindsym $mod+Shift+3 move container to workspace $ws3; workspace $ws3
|
||||||
|
bindsym $mod+Shift+4 move container to workspace $ws4; workspace $ws4
|
||||||
|
bindsym $mod+Shift+5 move container to workspace $ws5; workspace $ws5
|
||||||
|
bindsym $mod+Shift+6 move container to workspace $ws6; workspace $ws6
|
||||||
|
bindsym $mod+Shift+7 move container to workspace $ws7; workspace $ws7
|
||||||
|
bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||||
|
|
||||||
|
# Open applications on specific workspaces
|
||||||
|
# assign [class="Thunderbird"] $ws1
|
||||||
|
# assign [class="Pale moon"] $ws2
|
||||||
|
# assign [class="Pcmanfm"] $ws3
|
||||||
|
# assign [class="Skype"] $ws5
|
||||||
|
|
||||||
|
# Open specific applications in floating mode
|
||||||
|
for_window [title="alsamixer"] floating enable border pixel 1
|
||||||
|
for_window [class="calamares"] floating enable border normal
|
||||||
|
for_window [class="Clipgrab"] floating enable
|
||||||
|
for_window [title="File Transfer*"] floating enable
|
||||||
|
for_window [class="fpakman"] floating enable
|
||||||
|
for_window [class="Galculator"] floating enable border pixel 1
|
||||||
|
for_window [class="GParted"] floating enable border normal
|
||||||
|
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Lightdm-settings"] floating enable
|
||||||
|
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Manjaro-hello"] floating enable
|
||||||
|
for_window [class="Manjaro Settings Manager"] floating enable border normal
|
||||||
|
for_window [title="MuseScore: Play Panel"] floating enable
|
||||||
|
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Oblogout"] fullscreen enable
|
||||||
|
for_window [class="octopi"] floating enable
|
||||||
|
for_window [title="About Pale Moon"] floating enable
|
||||||
|
for_window [class="Pamac-manager"] floating enable
|
||||||
|
for_window [class="Pavucontrol"] floating enable
|
||||||
|
for_window [class="qt5ct"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Qtconfig-qt4"] floating enable sticky enable border normal
|
||||||
|
for_window [class="Simple-scan"] floating enable border normal
|
||||||
|
for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||||
|
for_window [class="Skype"] floating enable border normal
|
||||||
|
for_window [class="Timeset-gui"] floating enable border normal
|
||||||
|
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||||
|
for_window [class="Xfburn"] floating enable
|
||||||
|
|
||||||
|
# switch to workspace with urgent window automatically
|
||||||
|
for_window [urgent=latest] focus
|
||||||
|
|
||||||
|
# reload the configuration file
|
||||||
|
bindsym $mod+Shift+c reload
|
||||||
|
|
||||||
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||||
|
bindsym $mod+Shift+r restart
|
||||||
|
|
||||||
|
# exit i3 (logs you out of your X session)
|
||||||
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
# Set shut down, restart and locking features
|
||||||
|
bindsym $mod+0 mode "$mode_system"
|
||||||
|
set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (h)ibernate, (r)eboot, (Shift+s)hutdown
|
||||||
|
mode "$mode_system" {
|
||||||
|
bindsym l exec --no-startup-id i3exit lock, mode "default"
|
||||||
|
bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
||||||
|
bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
||||||
|
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
||||||
|
bindsym h exec --no-startup-id i3exit hibernate, mode "default"
|
||||||
|
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
||||||
|
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
||||||
|
|
||||||
|
# exit system mode: "Enter" or "Escape"
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Resize window (you can also use the mouse for that)
|
||||||
|
bindsym $mod+r mode "resize"
|
||||||
|
mode "resize" {
|
||||||
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
|
# Pressing left will shrink the window’s width.
|
||||||
|
# Pressing right will grow the window’s width.
|
||||||
|
# Pressing up will shrink the window’s height.
|
||||||
|
# Pressing down will grow the window’s height.
|
||||||
|
bindsym j resize shrink width 5 px or 5 ppt
|
||||||
|
bindsym k resize grow height 5 px or 5 ppt
|
||||||
|
bindsym l resize shrink height 5 px or 5 ppt
|
||||||
|
bindsym semicolon resize grow width 5 px or 5 ppt
|
||||||
|
|
||||||
|
# same bindings, but for the arrow keys
|
||||||
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
|
bindsym Down resize grow height 10 px or 10 ppt
|
||||||
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym Right resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
|
# exit resize mode: Enter or Escape
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Lock screen
|
||||||
|
bindsym $mod+9 exec --no-startup-id blurlock
|
||||||
|
|
||||||
|
# Autostart applications
|
||||||
|
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
|
||||||
|
exec --no-startup-id nitrogen --restore; sleep 1; compton -b
|
||||||
|
#exec --no-startup-id manjaro-hello
|
||||||
|
exec --no-startup-id nm-applet
|
||||||
|
exec --no-startup-id xfce4-power-manager
|
||||||
|
exec --no-startup-id pamac-tray
|
||||||
|
exec --no-startup-id clipit
|
||||||
|
# exec --no-startup-id blueman-applet
|
||||||
|
# exec_always --no-startup-id sbxkb
|
||||||
|
# exec --no-startup-id start_conky_maia
|
||||||
|
# exec --no-startup-id start_conky_green
|
||||||
|
exec --no-startup-id xautolock -time 10 -locker blurlock
|
||||||
|
exec_always --no-startup-id ff-theme-util
|
||||||
|
exec_always --no-startup-id fix_xcursor
|
||||||
|
|
||||||
|
# Color palette used for the terminal ( ~/.Xresources file )
|
||||||
|
# Colors are gathered based on the documentation:
|
||||||
|
# https://i3wm.org/docs/userguide.html#xresources
|
||||||
|
# Change the variable name at the place you want to match the color
|
||||||
|
# of your terminal like this:
|
||||||
|
# [example]
|
||||||
|
# If you want your bar to have the same background color as your
|
||||||
|
# terminal background change the line 362 from:
|
||||||
|
# background #14191D
|
||||||
|
# to:
|
||||||
|
# background $term_background
|
||||||
|
# Same logic applied to everything else.
|
||||||
|
#set_from_resource $term_background background
|
||||||
|
#set_from_resource $term_foreground foreground
|
||||||
|
#set_from_resource $term_color0 color0
|
||||||
|
#set_from_resource $term_color1 color1
|
||||||
|
#set_from_resource $term_color2 color2
|
||||||
|
#set_from_resource $term_color3 color3
|
||||||
|
#set_from_resource $term_color4 color4
|
||||||
|
#set_from_resource $term_color5 color5
|
||||||
|
#set_from_resource $term_color6 color6
|
||||||
|
#set_from_resource $term_color7 color7
|
||||||
|
#set_from_resource $term_color8 color8
|
||||||
|
#set_from_resource $term_color9 color9
|
||||||
|
#set_from_resource $term_color10 color10
|
||||||
|
#set_from_resource $term_color11 color11
|
||||||
|
#set_from_resource $term_color12 color12
|
||||||
|
#set_from_resource $term_color13 color13
|
||||||
|
#set_from_resource $term_color14 color14
|
||||||
|
#set_from_resource $term_color15 color15
|
||||||
|
|
||||||
|
set_from_resource $fg i3wm.color7
|
||||||
|
set_From_resource $bg i3wm.color2
|
||||||
|
|
||||||
|
# Start i3bar to display a workspace bar (plus the system information i3status if available)
|
||||||
|
#bar {
|
||||||
|
# i3bar_command i3bar
|
||||||
|
# status_command i3status
|
||||||
|
# position bottom
|
||||||
|
|
||||||
|
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
|
||||||
|
# tray_output primary
|
||||||
|
# tray_output eDP1
|
||||||
|
|
||||||
|
# bindsym button4 nop
|
||||||
|
# bindsym button5 nop
|
||||||
|
# font xft:URWGothic-Book 11
|
||||||
|
# strip_workspace_numbers yes
|
||||||
|
|
||||||
|
# colors {
|
||||||
|
# background #222D31
|
||||||
|
# statusline #F9FAF9
|
||||||
|
# separator #454947
|
||||||
|
|
||||||
|
# border backgr. text
|
||||||
|
# focused_workspace #F9FAF9 #16a085 #292F34
|
||||||
|
# active_workspace #595B5B #353836 #FDF6E3
|
||||||
|
# inactive_workspace #595B5B #222D31 #EEE8D5
|
||||||
|
# binding_mode #16a085 #2C2C2C #F9FAF9
|
||||||
|
# urgent_workspace #16a085 #FDF6E3 #E5201D
|
||||||
|
# }
|
||||||
|
#}
|
||||||
|
|
||||||
|
# hide/unhide i3status bar
|
||||||
|
bindsym $mod+m bar mode toggle
|
||||||
|
|
||||||
|
# Theme colors
|
||||||
|
# class border backgr. text indic. child_border
|
||||||
|
client.focused $bg $bg $bg $fg $bg #556064 #556064 #80FFF9 #FDF6E3
|
||||||
|
client.focused_inactive $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||||
|
client.unfocused $bg $bg $bg $fg $bg #2F3D44 #2F3D44 #1ABC9C #454948
|
||||||
|
client.urgent $bg $bg $bg $fg $bg #CB4B16 #FDF6E3 #1ABC9C #268BD2
|
||||||
|
client.placeholder $bg $bg $bg $fg $bg #000000 #0c0c0c #ffffff #000000
|
||||||
|
|
||||||
|
client.background $bg #2B2C2B
|
||||||
|
|
||||||
|
#############################
|
||||||
|
### settings for i3-gaps: ###
|
||||||
|
#############################
|
||||||
|
|
||||||
|
# Set inner/outer gaps
|
||||||
|
gaps inner 14
|
||||||
|
gaps outer -2
|
||||||
|
|
||||||
|
# Additionally, you can issue commands with the following syntax. This is useful to bind keys to changing the gap size.
|
||||||
|
# gaps inner|outer current|all set|plus|minus <px>
|
||||||
|
# gaps inner all set 10
|
||||||
|
# gaps outer all plus 5
|
||||||
|
|
||||||
|
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||||
|
smart_gaps on
|
||||||
|
|
||||||
|
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||||
|
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||||
|
smart_borders no_gaps
|
||||||
|
|
||||||
|
# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.
|
||||||
|
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||||
|
set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
|
||||||
|
bindsym $mod+Shift+g mode "$mode_gaps"
|
||||||
|
|
||||||
|
mode "$mode_gaps" {
|
||||||
|
bindsym o mode "$mode_gaps_outer"
|
||||||
|
bindsym i mode "$mode_gaps_inner"
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
mode "$mode_gaps_inner" {
|
||||||
|
bindsym plus gaps inner current plus 5
|
||||||
|
bindsym minus gaps inner current minus 5
|
||||||
|
bindsym 0 gaps inner current set 0
|
||||||
|
|
||||||
|
bindsym Shift+plus gaps inner all plus 5
|
||||||
|
bindsym Shift+minus gaps inner all minus 5
|
||||||
|
bindsym Shift+0 gaps inner all set 0
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
mode "$mode_gaps_outer" {
|
||||||
|
bindsym plus gaps outer current plus 5
|
||||||
|
|
||||||
|
|
||||||
|
bindsym minus gaps outer current minus 5
|
||||||
|
bindsym 0 gaps outer current set 0
|
||||||
|
|
||||||
|
bindsym Shift+plus gaps outer all plus 5
|
||||||
|
bindsym Shift+minus gaps outer all minus 5
|
||||||
|
bindsym Shift+0 gaps outer all set 0
|
||||||
|
|
||||||
|
bindsym Return mode "default"
|
||||||
|
bindsym Escape mode "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Custom Scripts
|
||||||
|
|
||||||
|
exec_always --no-startup-id wal -i ~/Pictures/Wallpapers/
|
||||||
|
exec_always sh ~/.config/polybar/launch.sh
|
||||||
|
exec_always sh ~/.scripts/pywal-dunst.sh
|
||||||
|
|
||||||
|
exec pkill picom
|
||||||
|
exec picom -b -f
|
||||||
|
|
||||||
|
#exec kitty ~/.scripts/monitor-setup.sh
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,856 @@
|
||||||
|
# See this wiki page for more info:
|
||||||
|
# https://github.com/dylanaraps/neofetch/wiki/Customizing-Info
|
||||||
|
print_info() {
|
||||||
|
|
||||||
|
prin
|
||||||
|
|
||||||
|
info title
|
||||||
|
#info underline
|
||||||
|
|
||||||
|
prin
|
||||||
|
|
||||||
|
info "OS" distro
|
||||||
|
info "Host" model
|
||||||
|
#info "Kernel" kernel
|
||||||
|
#info "Uptime" uptime
|
||||||
|
info "Packages" packages
|
||||||
|
info "Shell" shell
|
||||||
|
info "Resolution" resolution
|
||||||
|
info "DE" de
|
||||||
|
info "WM" wm
|
||||||
|
info "WM Theme" wm_theme
|
||||||
|
#info "Theme" theme
|
||||||
|
#info "Icons" icons
|
||||||
|
info "Terminal" term
|
||||||
|
info "Terminal Font" term_font
|
||||||
|
info "CPU" cpu
|
||||||
|
#info "GPU" gpu
|
||||||
|
info "Memory" memory
|
||||||
|
|
||||||
|
# info "GPU Driver" gpu_driver # Linux/macOS only
|
||||||
|
# info "CPU Usage" cpu_usage
|
||||||
|
# info "Disk" disk
|
||||||
|
# info "Battery" battery
|
||||||
|
# info "Font" font
|
||||||
|
# info "Song" song
|
||||||
|
# [[ "$player" ]] && prin "Music Player" "$player"
|
||||||
|
# info "Local IP" local_ip
|
||||||
|
# info "Public IP" public_ip
|
||||||
|
# info "Users" users
|
||||||
|
# info "Locale" locale # This only works on glibc systems.
|
||||||
|
|
||||||
|
prin
|
||||||
|
|
||||||
|
info cols
|
||||||
|
}
|
||||||
|
|
||||||
|
# Title
|
||||||
|
|
||||||
|
|
||||||
|
# Hide/Show Fully qualified domain name.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --title_fqdn
|
||||||
|
title_fqdn="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Kernel
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten the output of the kernel function.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --kernel_shorthand
|
||||||
|
# Supports: Everything except *BSDs (except PacBSD and PC-BSD)
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '4.8.9-1-ARCH'
|
||||||
|
# off: 'Linux 4.8.9-1-ARCH'
|
||||||
|
kernel_shorthand="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Distro
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten the output of the distro function
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'tiny', 'off'
|
||||||
|
# Flag: --distro_shorthand
|
||||||
|
# Supports: Everything except Windows and Haiku
|
||||||
|
distro_shorthand="off"
|
||||||
|
|
||||||
|
# Show/Hide OS Architecture.
|
||||||
|
# Show 'x86_64', 'x86' and etc in 'Distro:' output.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --os_arch
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Arch Linux x86_64'
|
||||||
|
# off: 'Arch Linux'
|
||||||
|
os_arch="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Uptime
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten the output of the uptime function
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'tiny', 'off'
|
||||||
|
# Flag: --uptime_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '2 days, 10 hours, 3 mins'
|
||||||
|
# tiny: '2d 10h 3m'
|
||||||
|
# off: '2 days, 10 hours, 3 minutes'
|
||||||
|
uptime_shorthand="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Memory
|
||||||
|
|
||||||
|
|
||||||
|
# Show memory pecentage in output.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --memory_percent
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '1801MiB / 7881MiB (22%)'
|
||||||
|
# off: '1801MiB / 7881MiB'
|
||||||
|
memory_percent="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Packages
|
||||||
|
|
||||||
|
|
||||||
|
# Show/Hide Package Manager names.
|
||||||
|
#
|
||||||
|
# Default: 'tiny'
|
||||||
|
# Values: 'on', 'tiny' 'off'
|
||||||
|
# Flag: --package_managers
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '998 (pacman), 8 (flatpak), 4 (snap)'
|
||||||
|
# tiny: '908 (pacman, flatpak, snap)'
|
||||||
|
# off: '908'
|
||||||
|
package_managers="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Shell
|
||||||
|
|
||||||
|
|
||||||
|
# Show the path to $SHELL
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --shell_path
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '/bin/bash'
|
||||||
|
# off: 'bash'
|
||||||
|
shell_path="off"
|
||||||
|
|
||||||
|
# Show $SHELL version
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --shell_version
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'bash 4.4.5'
|
||||||
|
# off: 'bash'
|
||||||
|
shell_version="on"
|
||||||
|
|
||||||
|
|
||||||
|
# CPU
|
||||||
|
|
||||||
|
|
||||||
|
# CPU speed type
|
||||||
|
#
|
||||||
|
# Default: 'bios_limit'
|
||||||
|
# Values: 'scaling_cur_freq', 'scaling_min_freq', 'scaling_max_freq', 'bios_limit'.
|
||||||
|
# Flag: --speed_type
|
||||||
|
# Supports: Linux with 'cpufreq'
|
||||||
|
# NOTE: Any file in '/sys/devices/system/cpu/cpu0/cpufreq' can be used as a value.
|
||||||
|
speed_type="bios_limit"
|
||||||
|
|
||||||
|
# CPU speed shorthand
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'.
|
||||||
|
# Flag: --speed_shorthand
|
||||||
|
# NOTE: This flag is not supported in systems with CPU speed less than 1 GHz
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'i7-6500U (4) @ 3.1GHz'
|
||||||
|
# off: 'i7-6500U (4) @ 3.100GHz'
|
||||||
|
speed_shorthand="off"
|
||||||
|
|
||||||
|
# Enable/Disable CPU brand in output.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --cpu_brand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Intel i7-6500U'
|
||||||
|
# off: 'i7-6500U (4)'
|
||||||
|
cpu_brand="on"
|
||||||
|
|
||||||
|
# CPU Speed
|
||||||
|
# Hide/Show CPU speed.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --cpu_speed
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||||
|
# off: 'Intel i7-6500U (4)'
|
||||||
|
cpu_speed="on"
|
||||||
|
|
||||||
|
# CPU Cores
|
||||||
|
# Display CPU cores in output
|
||||||
|
#
|
||||||
|
# Default: 'logical'
|
||||||
|
# Values: 'logical', 'physical', 'off'
|
||||||
|
# Flag: --cpu_cores
|
||||||
|
# Support: 'physical' doesn't work on BSD.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# logical: 'Intel i7-6500U (4) @ 3.1GHz' (All virtual cores)
|
||||||
|
# physical: 'Intel i7-6500U (2) @ 3.1GHz' (All physical cores)
|
||||||
|
# off: 'Intel i7-6500U @ 3.1GHz'
|
||||||
|
cpu_cores="logical"
|
||||||
|
|
||||||
|
# CPU Temperature
|
||||||
|
# Hide/Show CPU temperature.
|
||||||
|
# Note the temperature is added to the regular CPU function.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'C', 'F', 'off'
|
||||||
|
# Flag: --cpu_temp
|
||||||
|
# Supports: Linux, BSD
|
||||||
|
# NOTE: For FreeBSD and NetBSD-based systems, you'll need to enable
|
||||||
|
# coretemp kernel module. This only supports newer Intel processors.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# C: 'Intel i7-6500U (4) @ 3.1GHz [27.2°C]'
|
||||||
|
# F: 'Intel i7-6500U (4) @ 3.1GHz [82.0°F]'
|
||||||
|
# off: 'Intel i7-6500U (4) @ 3.1GHz'
|
||||||
|
cpu_temp="off"
|
||||||
|
|
||||||
|
|
||||||
|
# GPU
|
||||||
|
|
||||||
|
|
||||||
|
# Enable/Disable GPU Brand
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gpu_brand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'AMD HD 7950'
|
||||||
|
# off: 'HD 7950'
|
||||||
|
gpu_brand="on"
|
||||||
|
|
||||||
|
# Which GPU to display
|
||||||
|
#
|
||||||
|
# Default: 'all'
|
||||||
|
# Values: 'all', 'dedicated', 'integrated'
|
||||||
|
# Flag: --gpu_type
|
||||||
|
# Supports: Linux
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# all:
|
||||||
|
# GPU1: AMD HD 7950
|
||||||
|
# GPU2: Intel Integrated Graphics
|
||||||
|
#
|
||||||
|
# dedicated:
|
||||||
|
# GPU1: AMD HD 7950
|
||||||
|
#
|
||||||
|
# integrated:
|
||||||
|
# GPU1: Intel Integrated Graphics
|
||||||
|
gpu_type="all"
|
||||||
|
|
||||||
|
|
||||||
|
# Resolution
|
||||||
|
|
||||||
|
|
||||||
|
# Display refresh rate next to each monitor
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --refresh_rate
|
||||||
|
# Supports: Doesn't work on Windows.
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: '1920x1080 @ 60Hz'
|
||||||
|
# off: '1920x1080'
|
||||||
|
refresh_rate="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Gtk Theme / Icons / Font
|
||||||
|
|
||||||
|
|
||||||
|
# Shorten output of GTK Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix, Adwaita'
|
||||||
|
# off: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
gtk_shorthand="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Enable/Disable gtk2 Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk2
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
# off: 'Adwaita [GTK3]'
|
||||||
|
gtk2="on"
|
||||||
|
|
||||||
|
# Enable/Disable gtk3 Theme / Icons / Font
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --gtk3
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Numix [GTK2], Adwaita [GTK3]'
|
||||||
|
# off: 'Numix [GTK2]'
|
||||||
|
gtk3="on"
|
||||||
|
|
||||||
|
|
||||||
|
# IP Address
|
||||||
|
|
||||||
|
|
||||||
|
# Website to ping for the public IP
|
||||||
|
#
|
||||||
|
# Default: 'http://ident.me'
|
||||||
|
# Values: 'url'
|
||||||
|
# Flag: --ip_host
|
||||||
|
public_ip_host="http://ident.me"
|
||||||
|
|
||||||
|
# Public IP timeout.
|
||||||
|
#
|
||||||
|
# Default: '2'
|
||||||
|
# Values: 'int'
|
||||||
|
# Flag: --ip_timeout
|
||||||
|
public_ip_timeout=2
|
||||||
|
|
||||||
|
|
||||||
|
# Desktop Environment
|
||||||
|
|
||||||
|
|
||||||
|
# Show Desktop Environment version
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --de_version
|
||||||
|
de_version="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Disk
|
||||||
|
|
||||||
|
|
||||||
|
# Which disks to display.
|
||||||
|
# The values can be any /dev/sdXX, mount point or directory.
|
||||||
|
# NOTE: By default we only show the disk info for '/'.
|
||||||
|
#
|
||||||
|
# Default: '/'
|
||||||
|
# Values: '/', '/dev/sdXX', '/path/to/drive'.
|
||||||
|
# Flag: --disk_show
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# disk_show=('/' '/dev/sdb1'):
|
||||||
|
# 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Videos): 823G / 893G (93%)'
|
||||||
|
#
|
||||||
|
# disk_show=('/'):
|
||||||
|
# 'Disk (/): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
disk_show=('/')
|
||||||
|
|
||||||
|
# Disk subtitle.
|
||||||
|
# What to append to the Disk subtitle.
|
||||||
|
#
|
||||||
|
# Default: 'mount'
|
||||||
|
# Values: 'mount', 'name', 'dir', 'none'
|
||||||
|
# Flag: --disk_subtitle
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# name: 'Disk (/dev/sda1): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/dev/sdb2): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# mount: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Local Disk): 74G / 118G (66%)'
|
||||||
|
# 'Disk (/mnt/Videos): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# dir: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# 'Disk (Local Disk): 74G / 118G (66%)'
|
||||||
|
# 'Disk (Videos): 74G / 118G (66%)'
|
||||||
|
#
|
||||||
|
# none: 'Disk: 74G / 118G (66%)'
|
||||||
|
# 'Disk: 74G / 118G (66%)'
|
||||||
|
# 'Disk: 74G / 118G (66%)'
|
||||||
|
disk_subtitle="mount"
|
||||||
|
|
||||||
|
# Disk percent.
|
||||||
|
# Show/Hide disk percent.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --disk_percent
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Disk (/): 74G / 118G (66%)'
|
||||||
|
# off: 'Disk (/): 74G / 118G'
|
||||||
|
disk_percent="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Song
|
||||||
|
|
||||||
|
|
||||||
|
# Manually specify a music player.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'player-name'
|
||||||
|
# Flag: --music_player
|
||||||
|
#
|
||||||
|
# Available values for 'player-name':
|
||||||
|
#
|
||||||
|
# amarok
|
||||||
|
# audacious
|
||||||
|
# banshee
|
||||||
|
# bluemindo
|
||||||
|
# clementine
|
||||||
|
# cmus
|
||||||
|
# deadbeef
|
||||||
|
# deepin-music
|
||||||
|
# dragon
|
||||||
|
# elisa
|
||||||
|
# exaile
|
||||||
|
# gnome-music
|
||||||
|
# gmusicbrowser
|
||||||
|
# gogglesmm
|
||||||
|
# guayadeque
|
||||||
|
# io.elementary.music
|
||||||
|
# iTunes
|
||||||
|
# juk
|
||||||
|
# lollypop
|
||||||
|
# mocp
|
||||||
|
# mopidy
|
||||||
|
# mpd
|
||||||
|
# muine
|
||||||
|
# netease-cloud-music
|
||||||
|
# pogo
|
||||||
|
# pragha
|
||||||
|
# qmmp
|
||||||
|
# quodlibet
|
||||||
|
# rhythmbox
|
||||||
|
# sayonara
|
||||||
|
# smplayer
|
||||||
|
# spotify
|
||||||
|
# strawberry
|
||||||
|
# tomahawk
|
||||||
|
# vlc
|
||||||
|
# xmms2d
|
||||||
|
# xnoise
|
||||||
|
# yarock
|
||||||
|
music_player="auto"
|
||||||
|
|
||||||
|
# Format to display song information.
|
||||||
|
#
|
||||||
|
# Default: '%artist% - %album% - %title%'
|
||||||
|
# Values: '%artist%', '%album%', '%title%'
|
||||||
|
# Flag: --song_format
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# default: 'Song: Jet - Get Born - Sgt Major'
|
||||||
|
song_format="%artist% - %album% - %title%"
|
||||||
|
|
||||||
|
# Print the Artist, Album and Title on separate lines
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --song_shorthand
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# on: 'Artist: The Fratellis'
|
||||||
|
# 'Album: Costello Music'
|
||||||
|
# 'Song: Chelsea Dagger'
|
||||||
|
#
|
||||||
|
# off: 'Song: The Fratellis - Costello Music - Chelsea Dagger'
|
||||||
|
song_shorthand="off"
|
||||||
|
|
||||||
|
# 'mpc' arguments (specify a host, password etc).
|
||||||
|
#
|
||||||
|
# Default: ''
|
||||||
|
# Example: mpc_args=(-h HOST -P PASSWORD)
|
||||||
|
mpc_args=()
|
||||||
|
|
||||||
|
|
||||||
|
# Text Colors
|
||||||
|
|
||||||
|
|
||||||
|
# Text Colors
|
||||||
|
#
|
||||||
|
# Default: 'distro'
|
||||||
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||||
|
# Flag: --colors
|
||||||
|
#
|
||||||
|
# Each number represents a different part of the text in
|
||||||
|
# this order: 'title', '@', 'underline', 'subtitle', 'colon', 'info'
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# colors=(distro) - Text is colored based on Distro colors.
|
||||||
|
# colors=(4 6 1 8 8 6) - Text is colored in the order above.
|
||||||
|
colors=(distro)
|
||||||
|
|
||||||
|
|
||||||
|
# Text Options
|
||||||
|
|
||||||
|
|
||||||
|
# Toggle bold text
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --bold
|
||||||
|
bold="on"
|
||||||
|
|
||||||
|
# Enable/Disable Underline
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --underline
|
||||||
|
underline_enabled="on"
|
||||||
|
|
||||||
|
# Underline character
|
||||||
|
#
|
||||||
|
# Default: '-'
|
||||||
|
# Values: 'string'
|
||||||
|
# Flag: --underline_char
|
||||||
|
underline_char="-"
|
||||||
|
|
||||||
|
|
||||||
|
# Info Separator
|
||||||
|
# Replace the default separator with the specified string.
|
||||||
|
#
|
||||||
|
# Default: ':'
|
||||||
|
# Flag: --separator
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# separator="->": 'Shell-> bash'
|
||||||
|
# separator=" =": 'WM = dwm'
|
||||||
|
separator=":"
|
||||||
|
|
||||||
|
|
||||||
|
# Color Blocks
|
||||||
|
|
||||||
|
|
||||||
|
# Color block range
|
||||||
|
# The range of colors to print.
|
||||||
|
#
|
||||||
|
# Default: '0', '15'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_range
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# Display colors 0-7 in the blocks. (8 colors)
|
||||||
|
# neofetch --block_range 0 7
|
||||||
|
#
|
||||||
|
# Display colors 0-15 in the blocks. (16 colors)
|
||||||
|
# neofetch --block_range 0 15
|
||||||
|
block_range=(0 15)
|
||||||
|
|
||||||
|
# Toggle color blocks
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --color_blocks
|
||||||
|
color_blocks="on"
|
||||||
|
|
||||||
|
# Color block width in spaces
|
||||||
|
#
|
||||||
|
# Default: '3'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_width
|
||||||
|
block_width=3
|
||||||
|
|
||||||
|
# Color block height in lines
|
||||||
|
#
|
||||||
|
# Default: '1'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --block_height
|
||||||
|
block_height=1
|
||||||
|
|
||||||
|
# Color Alignment
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'num'
|
||||||
|
# Flag: --col_offset
|
||||||
|
#
|
||||||
|
# Number specifies how far from the left side of the terminal (in spaces) to
|
||||||
|
# begin printing the columns, in case you want to e.g. center them under your
|
||||||
|
# text.
|
||||||
|
# Example:
|
||||||
|
# col_offset="auto" - Default behavior of neofetch
|
||||||
|
# col_offset=7 - Leave 7 spaces then print the colors
|
||||||
|
col_offset="auto"
|
||||||
|
|
||||||
|
# Progress Bars
|
||||||
|
|
||||||
|
|
||||||
|
# Bar characters
|
||||||
|
#
|
||||||
|
# Default: '-', '='
|
||||||
|
# Values: 'string', 'string'
|
||||||
|
# Flag: --bar_char
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# neofetch --bar_char 'elapsed' 'total'
|
||||||
|
# neofetch --bar_char '-' '='
|
||||||
|
bar_char_elapsed="-"
|
||||||
|
bar_char_total="="
|
||||||
|
|
||||||
|
# Toggle Bar border
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --bar_border
|
||||||
|
bar_border="on"
|
||||||
|
|
||||||
|
# Progress bar length in spaces
|
||||||
|
# Number of chars long to make the progress bars.
|
||||||
|
#
|
||||||
|
# Default: '15'
|
||||||
|
# Values: 'num'
|
||||||
|
# Flag: --bar_length
|
||||||
|
bar_length=15
|
||||||
|
|
||||||
|
# Progress bar colors
|
||||||
|
# When set to distro, uses your distro's logo colors.
|
||||||
|
#
|
||||||
|
# Default: 'distro', 'distro'
|
||||||
|
# Values: 'distro', 'num'
|
||||||
|
# Flag: --bar_colors
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# neofetch --bar_colors 3 4
|
||||||
|
# neofetch --bar_colors distro 5
|
||||||
|
bar_color_elapsed="distro"
|
||||||
|
bar_color_total="distro"
|
||||||
|
|
||||||
|
|
||||||
|
# Info display
|
||||||
|
# Display a bar with the info.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'bar', 'infobar', 'barinfo', 'off'
|
||||||
|
# Flags: --cpu_display
|
||||||
|
# --memory_display
|
||||||
|
# --battery_display
|
||||||
|
# --disk_display
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# bar: '[---=======]'
|
||||||
|
# infobar: 'info [---=======]'
|
||||||
|
# barinfo: '[---=======] info'
|
||||||
|
# off: 'info'
|
||||||
|
cpu_display="off"
|
||||||
|
memory_display="off"
|
||||||
|
battery_display="off"
|
||||||
|
disk_display="off"
|
||||||
|
|
||||||
|
|
||||||
|
# Backend Settings
|
||||||
|
|
||||||
|
|
||||||
|
# Image backend.
|
||||||
|
#
|
||||||
|
# Default: 'ascii'
|
||||||
|
# Values: 'ascii', 'caca', 'chafa', 'jp2a', 'iterm2', 'off',
|
||||||
|
# 'termpix', 'pixterm', 'tycat', 'w3m', 'kitty'
|
||||||
|
# Flag: --backend
|
||||||
|
image_backend="ascii"
|
||||||
|
|
||||||
|
# Image Source
|
||||||
|
#
|
||||||
|
# Which image or ascii file to display.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'ascii', 'wallpaper', '/path/to/img', '/path/to/ascii', '/path/to/dir/'
|
||||||
|
# 'command output (neofetch --ascii "$(fortune | cowsay -W 30)")'
|
||||||
|
# Flag: --source
|
||||||
|
#
|
||||||
|
# NOTE: 'auto' will pick the best image source for whatever image backend is used.
|
||||||
|
# In ascii mode, distro ascii art will be used and in an image mode, your
|
||||||
|
# wallpaper will be used.
|
||||||
|
image_source="auto"
|
||||||
|
|
||||||
|
|
||||||
|
# Ascii Options
|
||||||
|
|
||||||
|
|
||||||
|
# Ascii distro
|
||||||
|
# Which distro's ascii art to display.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', 'distro_name'
|
||||||
|
# Flag: --ascii_distro
|
||||||
|
# NOTE: AIX, Alpine, Anarchy, Android, Antergos, antiX, AOSC,
|
||||||
|
# Apricity, ArcoLinux, ArchBox, ARCHlabs, ArchStrike,
|
||||||
|
# XFerience, ArchMerge, Arch, Artix, Arya, Bedrock, Bitrig,
|
||||||
|
# BlackArch, BLAG, BlankOn, BlueLight, bonsai, BSD,
|
||||||
|
# BunsenLabs, Calculate, Carbs, CentOS, Chakra, ChaletOS,
|
||||||
|
# Chapeau, Chrom*, Cleanjaro, ClearOS, Clear_Linux, Clover,
|
||||||
|
# Condres, Container_Linux, CRUX, Cucumber, Debian, Deepin,
|
||||||
|
# DesaOS, Devuan, DracOS, DragonFly, Drauger, Elementary,
|
||||||
|
# EndeavourOS, Endless, EuroLinux, Exherbo, Fedora, Feren, FreeBSD,
|
||||||
|
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Gentoo, Pentoo,
|
||||||
|
# gNewSense, GNU, GoboLinux, Grombyang, Guix, Haiku, Huayra,
|
||||||
|
# Hyperbola, janus, Kali, KaOS, KDE_neon, Kibojoe, Kogaion,
|
||||||
|
# Korora, KSLinux, Kubuntu, LEDE, LFS, Linux_Lite,
|
||||||
|
# LMDE, Lubuntu, Lunar, macos, Mageia, MagpieOS, Mandriva,
|
||||||
|
# Manjaro, Maui, Mer, Minix, LinuxMint, MX_Linux, Namib,
|
||||||
|
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nurunner,
|
||||||
|
# NuTyX, OBRevenge, OpenBSD, OpenIndiana, OpenMandriva,
|
||||||
|
# OpenWrt, osmc, Oracle, PacBSD, Parabola, Pardus, Parrot,
|
||||||
|
# Parsix, TrueOS, PCLinuxOS, Peppermint, popos, Porteus,
|
||||||
|
# PostMarketOS, Proxmox, Puppy, PureOS, Qubes, Radix, Raspbian,
|
||||||
|
# Reborn_OS, Redstar, Redcore, Redhat, Refracted_Devuan, Regata,
|
||||||
|
# Rosa, sabotage, Sabayon, Sailfish, SalentOS, Scientific, Septor,
|
||||||
|
# SharkLinux, Siduction, Slackware, SliTaz, SmartOS, Solus,
|
||||||
|
# Source_Mage, Sparky, Star, SteamOS, SunOS, openSUSE_Leap,
|
||||||
|
# openSUSE_Tumbleweed, openSUSE, SwagArch, Tails, Trisquel,
|
||||||
|
# Ubuntu-Budgie, Ubuntu-GNOME, Ubuntu-MATE, Ubuntu-Studio, Ubuntu,
|
||||||
|
# Void, Obarun, windows10, Windows7, Xubuntu, Zorin, and IRIX
|
||||||
|
# have ascii logos
|
||||||
|
# NOTE: Arch, Ubuntu, Redhat, and Dragonfly have 'old' logo variants.
|
||||||
|
# Use '{distro name}_old' to use the old logos.
|
||||||
|
# NOTE: Ubuntu has flavor variants.
|
||||||
|
# Change this to Lubuntu, Kubuntu, Xubuntu, Ubuntu-GNOME,
|
||||||
|
# Ubuntu-Studio, Ubuntu-Mate or Ubuntu-Budgie to use the flavors.
|
||||||
|
# NOTE: Arcolinux, Dragonfly, Fedora, Alpine, Arch, Ubuntu,
|
||||||
|
# CRUX, Debian, Gentoo, FreeBSD, Mac, NixOS, OpenBSD, android,
|
||||||
|
# Antrix, CentOS, Cleanjaro, ElementaryOS, GUIX, Hyperbola,
|
||||||
|
# Manjaro, MXLinux, NetBSD, Parabola, POP_OS, PureOS,
|
||||||
|
# Slackware, SunOS, LinuxLite, OpenSUSE, Raspbian,
|
||||||
|
# postmarketOS, and Void have a smaller logo variant.
|
||||||
|
# Use '{distro name}_small' to use the small variants.
|
||||||
|
ascii_distro="auto"
|
||||||
|
|
||||||
|
# Ascii Colors
|
||||||
|
#
|
||||||
|
# Default: 'distro'
|
||||||
|
# Values: 'distro', 'num' 'num' 'num' 'num' 'num' 'num'
|
||||||
|
# Flag: --ascii_colors
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
# ascii_colors=(distro) - Ascii is colored based on Distro colors.
|
||||||
|
# ascii_colors=(4 6 1 8 8 6) - Ascii is colored using these colors.
|
||||||
|
ascii_colors=(distro)
|
||||||
|
|
||||||
|
# Bold ascii logo
|
||||||
|
# Whether or not to bold the ascii logo.
|
||||||
|
#
|
||||||
|
# Default: 'on'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --ascii_bold
|
||||||
|
ascii_bold="on"
|
||||||
|
|
||||||
|
|
||||||
|
# Image Options
|
||||||
|
|
||||||
|
|
||||||
|
# Image loop
|
||||||
|
# Setting this to on will make neofetch redraw the image constantly until
|
||||||
|
# Ctrl+C is pressed. This fixes display issues in some terminal emulators.
|
||||||
|
#
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
# Flag: --loop
|
||||||
|
image_loop="off"
|
||||||
|
|
||||||
|
# Thumbnail directory
|
||||||
|
#
|
||||||
|
# Default: '~/.cache/thumbnails/neofetch'
|
||||||
|
# Values: 'dir'
|
||||||
|
thumbnail_dir="${XDG_CACHE_HOME:-${HOME}/.cache}/thumbnails/neofetch"
|
||||||
|
|
||||||
|
# Crop mode
|
||||||
|
#
|
||||||
|
# Default: 'normal'
|
||||||
|
# Values: 'normal', 'fit', 'fill'
|
||||||
|
# Flag: --crop_mode
|
||||||
|
#
|
||||||
|
# See this wiki page to learn about the fit and fill options.
|
||||||
|
# https://github.com/dylanaraps/neofetch/wiki/What-is-Waifu-Crop%3F
|
||||||
|
crop_mode="normal"
|
||||||
|
|
||||||
|
# Crop offset
|
||||||
|
# Note: Only affects 'normal' crop mode.
|
||||||
|
#
|
||||||
|
# Default: 'center'
|
||||||
|
# Values: 'northwest', 'north', 'northeast', 'west', 'center'
|
||||||
|
# 'east', 'southwest', 'south', 'southeast'
|
||||||
|
# Flag: --crop_offset
|
||||||
|
crop_offset="center"
|
||||||
|
|
||||||
|
# Image size
|
||||||
|
# The image is half the terminal width by default.
|
||||||
|
#
|
||||||
|
# Default: 'auto'
|
||||||
|
# Values: 'auto', '00px', '00%', 'none'
|
||||||
|
# Flags: --image_size
|
||||||
|
# --size
|
||||||
|
image_size="auto"
|
||||||
|
|
||||||
|
# Gap between image and text
|
||||||
|
#
|
||||||
|
# Default: '3'
|
||||||
|
# Values: 'num', '-num'
|
||||||
|
# Flag: --gap
|
||||||
|
gap=3
|
||||||
|
|
||||||
|
# Image offsets
|
||||||
|
# Only works with the w3m backend.
|
||||||
|
#
|
||||||
|
# Default: '0'
|
||||||
|
# Values: 'px'
|
||||||
|
# Flags: --xoffset
|
||||||
|
# --yoffset
|
||||||
|
yoffset=0
|
||||||
|
xoffset=0
|
||||||
|
|
||||||
|
# Image background color
|
||||||
|
# Only works with the w3m backend.
|
||||||
|
#
|
||||||
|
# Default: ''
|
||||||
|
# Values: 'color', 'blue'
|
||||||
|
# Flag: --bg_color
|
||||||
|
background_color=
|
||||||
|
|
||||||
|
|
||||||
|
# Misc Options
|
||||||
|
|
||||||
|
# Stdout mode
|
||||||
|
# Turn off all colors and disables image backend (ASCII/Image).
|
||||||
|
# Useful for piping into another command.
|
||||||
|
# Default: 'off'
|
||||||
|
# Values: 'on', 'off'
|
||||||
|
stdout="off"
|
|
@ -0,0 +1,98 @@
|
||||||
|
# Shadow
|
||||||
|
shadow = true;
|
||||||
|
shadow-radius = 7;
|
||||||
|
shadow-offset-x = -7;
|
||||||
|
shadow-offset-y = -7;
|
||||||
|
log-level = "warn";
|
||||||
|
# log-file = "/path/to/your/log/file";
|
||||||
|
# shadow-opacity = 0.7;
|
||||||
|
# shadow-red = 0.0;
|
||||||
|
# shadow-green = 0.0;
|
||||||
|
# shadow-blue = 0.0;
|
||||||
|
shadow-exclude = [
|
||||||
|
"name = 'Notification'",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g = 'Cairo-clock'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
# shadow-exclude = "n:e:Notification";
|
||||||
|
# shadow-exclude-reg = "x10+0+0";
|
||||||
|
# xinerama-shadow-crop = true;
|
||||||
|
|
||||||
|
# Opacity
|
||||||
|
inactive-opacity = 0.95;
|
||||||
|
# active-opacity = 0.8;
|
||||||
|
frame-opacity = 0.95;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
# inactive-dim = 0.2;
|
||||||
|
# inactive-dim-fixed = true;
|
||||||
|
blur-background = true;
|
||||||
|
# blur-background-frame = true;
|
||||||
|
# blur-kern = "3x3gaussian";
|
||||||
|
# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1";
|
||||||
|
# blur-background-fixed = true;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c"
|
||||||
|
];
|
||||||
|
|
||||||
|
blur:
|
||||||
|
{
|
||||||
|
method = "kernel";
|
||||||
|
size = 10;
|
||||||
|
deviation = 5.0;
|
||||||
|
};
|
||||||
|
|
||||||
|
opacity-rule = [
|
||||||
|
"100:class_g = 'vlc'",
|
||||||
|
"100:class_g = 'YACReader'",
|
||||||
|
"100:class_g = 'Zathura'",
|
||||||
|
"100:class_g = 'evince'",
|
||||||
|
"100:class_g = 'Gnome-mpv'"
|
||||||
|
];
|
||||||
|
|
||||||
|
# Fading
|
||||||
|
fading = true;
|
||||||
|
# fade-delta = 30;
|
||||||
|
fade-in-step = 0.10;
|
||||||
|
fade-out-step = 0.10;
|
||||||
|
# no-fading-openclose = true;
|
||||||
|
# no-fading-destroyed-argb = true;
|
||||||
|
fade-exclude = [ ];
|
||||||
|
|
||||||
|
# Other
|
||||||
|
backend = "glx";
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
# use-ewmh-active-win = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
refresh-rate = 0;
|
||||||
|
vsync = true;
|
||||||
|
# sw-opti = true;
|
||||||
|
# unredir-if-possible = true;
|
||||||
|
# unredir-if-possible-delay = 5000;
|
||||||
|
# unredir-if-possible-exclude = [ ];
|
||||||
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
|
detect-transient = true;
|
||||||
|
detect-client-leader = true;
|
||||||
|
invert-color-include = [ ];
|
||||||
|
# resize-damage = 1;
|
||||||
|
|
||||||
|
# GLX backend
|
||||||
|
#glx-no-stencil = true;
|
||||||
|
#glx-no-rebind-pixmap = true;
|
||||||
|
# xrender-sync-fence = true;
|
||||||
|
use-damage = false;
|
||||||
|
|
||||||
|
# Window type settings
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip = { fade = true; shadow = true; opacity = 0.95; focus = true; full-shadow = false; };
|
||||||
|
dock = { shadow = false; }
|
||||||
|
dnd = { shadow = false; }
|
||||||
|
popup_menu = { opacity = 0.95; }
|
||||||
|
dropdown_menu = { opacity = 0.95; }
|
||||||
|
};
|
|
@ -0,0 +1,283 @@
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
;;
|
||||||
|
;; ____ __ __
|
||||||
|
;; / __ \____ / /_ __/ /_ ____ ______
|
||||||
|
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||||
|
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||||
|
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||||
|
;; /____/
|
||||||
|
;;
|
||||||
|
;; Created By Aditya Shakya @adi1090x
|
||||||
|
;;
|
||||||
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
;[color]
|
||||||
|
|
||||||
|
;bg = #1F1F1F
|
||||||
|
;fg = #FFFFFF
|
||||||
|
;fg-alt = #A9ABB0
|
||||||
|
|
||||||
|
;acolor = #00897b
|
||||||
|
;curgent = #e53935
|
||||||
|
;coccupied = #1e88e5
|
||||||
|
|
||||||
|
;## Material Colors
|
||||||
|
|
||||||
|
;red = #e53935
|
||||||
|
;pink = #d81b60
|
||||||
|
;purple = #8e24aa
|
||||||
|
;deep-purple = #5e35b1
|
||||||
|
;indigo = #3949ab
|
||||||
|
;blue = #1e88e5
|
||||||
|
;light-blue = #039be5
|
||||||
|
;cyan = #00acc1
|
||||||
|
;teal = #00897b
|
||||||
|
;green = #43a047
|
||||||
|
;light-green = #7cb342
|
||||||
|
;lime = #c0ca33
|
||||||
|
;yellow = #fdd835
|
||||||
|
;amber = #ffb300
|
||||||
|
;orange = #fb8c00
|
||||||
|
;deep-orange = #f4511e
|
||||||
|
;brown = #6d4c41
|
||||||
|
;grey = #757575
|
||||||
|
;blue-gray = #546e7a
|
||||||
|
|
||||||
|
[color]
|
||||||
|
bg = ${xrdb:color0:#222}
|
||||||
|
fg = ${xrdb:color7:#222}
|
||||||
|
fg-alt = ${xrdb:color7:#222}
|
||||||
|
coccupied = ${xrdb:color1:#222}
|
||||||
|
curgent = ${xrdb:color2:#222}
|
||||||
|
acolor = ${xrdb:color3:#222}
|
||||||
|
|
||||||
|
;==========================================================
|
||||||
|
|
||||||
|
[bar/main]
|
||||||
|
monitor =
|
||||||
|
width = 100%
|
||||||
|
height = 2.5%
|
||||||
|
;offset-x = 50%
|
||||||
|
;offset-y = 2%
|
||||||
|
bottom = true
|
||||||
|
fixed-center = true
|
||||||
|
line-size = 0
|
||||||
|
|
||||||
|
dpi = 128
|
||||||
|
|
||||||
|
background = ${color.bg}
|
||||||
|
foreground = ${color.fg}
|
||||||
|
|
||||||
|
border-size = 3
|
||||||
|
border-color = ${color.bg}
|
||||||
|
|
||||||
|
module-margin-left = 1
|
||||||
|
module-margin-right = 1
|
||||||
|
|
||||||
|
;==========================================================
|
||||||
|
|
||||||
|
font-0 = "Fantasque Sans Mono:pixelsize=12;4"
|
||||||
|
font-1 = "Material Icons:size=13;6"
|
||||||
|
|
||||||
|
;==========================================================
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
|
||||||
|
;tray-position = right
|
||||||
|
;tray-padding = 0
|
||||||
|
;tray-maxsize = 16
|
||||||
|
enable-ipc = true
|
||||||
|
|
||||||
|
scroll-up = i3wm-wsnext
|
||||||
|
scroll-down = i3wm-wsprev
|
||||||
|
|
||||||
|
;== Module Location ========================================================
|
||||||
|
|
||||||
|
modules-left = menu workspaces
|
||||||
|
;term files browser settings
|
||||||
|
modules-center = mpd
|
||||||
|
modules-right = pkg volume battery network date powermenu
|
||||||
|
|
||||||
|
;== Modules ========================================================
|
||||||
|
|
||||||
|
[module/menu]
|
||||||
|
type = custom/text
|
||||||
|
;content =
|
||||||
|
content =
|
||||||
|
content-padding = 1
|
||||||
|
content-background = ${color.acolor}
|
||||||
|
content-foreground = ${color.fg}
|
||||||
|
|
||||||
|
click-left = rofi
|
||||||
|
click-middle = $HOME/.config/polybar/scripts/menu_full
|
||||||
|
|
||||||
|
;click-left = $HOME/.config/polybar/scripts/menu
|
||||||
|
;click-right = $HOME/.config/polybar/scripts/color-switch.sh
|
||||||
|
|
||||||
|
[module/workspaces]
|
||||||
|
type = internal/xworkspaces
|
||||||
|
pin-workspaces = false
|
||||||
|
enable-click = true
|
||||||
|
enable-scroll = true
|
||||||
|
format-padding = 0
|
||||||
|
|
||||||
|
icon-0 = 1;
|
||||||
|
icon-1 = 2;
|
||||||
|
icon-2 = 3;
|
||||||
|
icon-3 = 4;
|
||||||
|
icon-4 = 5;
|
||||||
|
icon-5 = 6;
|
||||||
|
icon-6 = 7;
|
||||||
|
icon-7 = 8;
|
||||||
|
icon-default =
|
||||||
|
|
||||||
|
format = <label-state>
|
||||||
|
label-active = %icon%
|
||||||
|
label-occupied = %icon%
|
||||||
|
label-urgent = %icon%
|
||||||
|
label-empty = %icon%
|
||||||
|
|
||||||
|
label-occupied-padding = 1
|
||||||
|
label-empty-padding = 1
|
||||||
|
label-urgent-padding = 1
|
||||||
|
label-active-padding = 1
|
||||||
|
|
||||||
|
label-active-foreground = ${color.acolor}
|
||||||
|
label-urgent-foreground = ${color.curgent}
|
||||||
|
label-empty-foreground = ${color.fg}
|
||||||
|
label-occupied-foreground = ${color.coccupied}
|
||||||
|
|
||||||
|
label-active-underline = ${color.acolor}
|
||||||
|
label-urgent-underline = ${color.curgent}
|
||||||
|
label-occupied-underline = ${color.coccupied}
|
||||||
|
|
||||||
|
[module/term]
|
||||||
|
type = custom/text
|
||||||
|
content =
|
||||||
|
content-foreground = ${color.fg-alt}
|
||||||
|
click-left = termite &
|
||||||
|
click-middle = urxvt &
|
||||||
|
click-right = xfce4-terminal &
|
||||||
|
|
||||||
|
[module/files]
|
||||||
|
type = custom/text
|
||||||
|
content =
|
||||||
|
content-padding = 1
|
||||||
|
content-foreground = ${color.fg-alt}
|
||||||
|
click-left = thunar &
|
||||||
|
click-right = ranger &
|
||||||
|
|
||||||
|
[module/browser]
|
||||||
|
type = custom/text
|
||||||
|
content =
|
||||||
|
content-padding = 1
|
||||||
|
content-foreground = ${color.fg-alt}
|
||||||
|
click-left = chromium &
|
||||||
|
click-right = firefox &
|
||||||
|
|
||||||
|
[module/settings]
|
||||||
|
type = custom/text
|
||||||
|
content =
|
||||||
|
content-padding = 1
|
||||||
|
content-foreground = ${color.fg-alt}
|
||||||
|
click-left = xfce4-settings &
|
||||||
|
click-right = lxappearance &
|
||||||
|
|
||||||
|
;==========================================================
|
||||||
|
|
||||||
|
[module/mpd]
|
||||||
|
type = internal/mpd
|
||||||
|
;format-online = <toggle> <label-song>
|
||||||
|
format-online = <label-song>
|
||||||
|
|
||||||
|
icon-play =
|
||||||
|
icon-pause =
|
||||||
|
|
||||||
|
label-song-maxlen = 125
|
||||||
|
label-song-ellipsis = true
|
||||||
|
|
||||||
|
;==========================================================
|
||||||
|
|
||||||
|
[module/pkg]
|
||||||
|
type = custom/script
|
||||||
|
exec = $HOME/.config/polybar/scripts/updates.sh
|
||||||
|
;exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
|
||||||
|
;label = %{A1:termite -e "aurman -Syyu" & disown:} %{A3:termite -e "aurman -Syyu" & disown:}%output%%{A} %{A}
|
||||||
|
tail = true
|
||||||
|
|
||||||
|
[module/battery]
|
||||||
|
type = internal/battery
|
||||||
|
full-at = 99
|
||||||
|
time-format = %I:%M
|
||||||
|
battery = BAT0
|
||||||
|
adapter = AC
|
||||||
|
format-charging = <animation-charging> <label-charging>
|
||||||
|
;label-charging = %percentage%% (%time%)
|
||||||
|
label-charging = %percentage%%
|
||||||
|
format-discharging = <ramp-capacity> <label-discharging>
|
||||||
|
;label-discharging = %percentage%% (%time%)
|
||||||
|
label-discharging = %percentage%%
|
||||||
|
format-full = <label-full>
|
||||||
|
|
||||||
|
format-full-prefix = " "
|
||||||
|
ramp-capacity-0 =
|
||||||
|
ramp-capacity-1 =
|
||||||
|
ramp-capacity-2 =
|
||||||
|
ramp-capacity-3 =
|
||||||
|
ramp-capacity-4 =
|
||||||
|
|
||||||
|
ramp-capacity-0-foreground = ${color.red}
|
||||||
|
ramp-capacity-foreground = ${color.fg}
|
||||||
|
bar-capacity-width = 10
|
||||||
|
|
||||||
|
animation-charging-0 = ""
|
||||||
|
animation-charging-1 = ""
|
||||||
|
animation-charging-2 = ""
|
||||||
|
animation-charging-3 = ""
|
||||||
|
animation-charging-4 = ""
|
||||||
|
|
||||||
|
animation-charging-framerate = 750
|
||||||
|
|
||||||
|
[module/volume]
|
||||||
|
type = internal/alsa
|
||||||
|
;speaker-mixer = Speaker
|
||||||
|
;headphone-mixer = Headphone
|
||||||
|
;headphone-id = 16
|
||||||
|
;mapped = true
|
||||||
|
format-volume = <ramp-volume> <label-volume>
|
||||||
|
label-volume = %percentage%%
|
||||||
|
format-muted-prefix = " "
|
||||||
|
label-muted = MUTE
|
||||||
|
|
||||||
|
ramp-volume-0 =
|
||||||
|
ramp-volume-1 =
|
||||||
|
ramp-volume-2 =
|
||||||
|
ramp-volume-3 =
|
||||||
|
ramp-volume-4 =
|
||||||
|
ramp-volume-5 =
|
||||||
|
ramp-volume-6 =
|
||||||
|
|
||||||
|
[module/network]
|
||||||
|
type = custom/script
|
||||||
|
exec = $HOME/.config/polybar/scripts/check-network
|
||||||
|
click-left = networkmanager_dmenu &
|
||||||
|
click-right = networkmanager_dmenu &
|
||||||
|
tail = true
|
||||||
|
|
||||||
|
[module/date]
|
||||||
|
type = internal/date
|
||||||
|
interval = 30
|
||||||
|
label = %time%
|
||||||
|
time = %I:%M %p
|
||||||
|
time-alt = %Y-%m-%d
|
||||||
|
|
||||||
|
[module/powermenu]
|
||||||
|
type = custom/text
|
||||||
|
content =
|
||||||
|
content-padding = 1
|
||||||
|
content-background = ${color.acolor}
|
||||||
|
content-foreground = ${color.fg}
|
||||||
|
click-left = $HOME/.config/polybar/scripts/sysmenu
|
||||||
|
click-right = $HOME/.config/polybar/scripts/sysmenu
|
||||||
|
|
||||||
|
;== EOF ========================================================
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
# 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 polybar
|
||||||
|
polybar main -c $HOME/.config/polybar/config.ini &
|
|
@ -0,0 +1,20 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
count=0
|
||||||
|
disconnected=""
|
||||||
|
wireless_connected=""
|
||||||
|
ethernet_connected=""
|
||||||
|
|
||||||
|
ID="$(ip link | awk '/state UP/ {print $2}')"
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then
|
||||||
|
if [[ $ID == e* ]]; then
|
||||||
|
echo "$ethernet_connected" ; sleep 25
|
||||||
|
else
|
||||||
|
echo "$wireless_connected" ; sleep 25
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "$disconnected" ; sleep 0.5
|
||||||
|
fi
|
||||||
|
done
|
|
@ -0,0 +1,117 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
#
|
||||||
|
# checkupdates: Safely print a list of pending updates.
|
||||||
|
#
|
||||||
|
# Copyright (c) 2013 Kyle Keen <keenerd@gmail.com>
|
||||||
|
#
|
||||||
|
# This program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
#
|
||||||
|
|
||||||
|
declare -r myname='checkupdates'
|
||||||
|
declare -r myver='1.0.0'
|
||||||
|
|
||||||
|
plain() {
|
||||||
|
(( QUIET )) && return
|
||||||
|
local mesg=$1; shift
|
||||||
|
printf "${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
|
||||||
|
}
|
||||||
|
|
||||||
|
msg() {
|
||||||
|
(( QUIET )) && return
|
||||||
|
local mesg=$1; shift
|
||||||
|
printf "${GREEN}==>${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
|
||||||
|
}
|
||||||
|
|
||||||
|
msg2() {
|
||||||
|
(( QUIET )) && return
|
||||||
|
local mesg=$1; shift
|
||||||
|
printf "${BLUE} ->${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&1
|
||||||
|
}
|
||||||
|
|
||||||
|
ask() {
|
||||||
|
local mesg=$1; shift
|
||||||
|
printf "${BLUE}::${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}" "$@" >&1
|
||||||
|
}
|
||||||
|
|
||||||
|
warning() {
|
||||||
|
local mesg=$1; shift
|
||||||
|
printf "${YELLOW}==> $(gettext "WARNING:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
error() {
|
||||||
|
local mesg=$1; shift
|
||||||
|
printf "${RED}==> $(gettext "ERROR:")${ALL_OFF}${BOLD} ${mesg}${ALL_OFF}\n" "$@" >&2
|
||||||
|
}
|
||||||
|
|
||||||
|
# check if messages are to be printed using color
|
||||||
|
unset ALL_OFF BOLD BLUE GREEN RED YELLOW
|
||||||
|
if [[ -t 2 && ! $USE_COLOR = "n" ]]; then
|
||||||
|
# prefer terminal safe colored and bold text when tput is supported
|
||||||
|
if tput setaf 0 &>/dev/null; then
|
||||||
|
ALL_OFF="$(tput sgr0)"
|
||||||
|
BOLD="$(tput bold)"
|
||||||
|
BLUE="${BOLD}$(tput setaf 4)"
|
||||||
|
GREEN="${BOLD}$(tput setaf 2)"
|
||||||
|
RED="${BOLD}$(tput setaf 1)"
|
||||||
|
YELLOW="${BOLD}$(tput setaf 3)"
|
||||||
|
else
|
||||||
|
ALL_OFF="\e[1;0m"
|
||||||
|
BOLD="\e[1;1m"
|
||||||
|
BLUE="${BOLD}\e[1;34m"
|
||||||
|
GREEN="${BOLD}\e[1;32m"
|
||||||
|
RED="${BOLD}\e[1;31m"
|
||||||
|
YELLOW="${BOLD}\e[1;33m"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
readonly ALL_OFF BOLD BLUE GREEN RED YELLOW
|
||||||
|
|
||||||
|
|
||||||
|
if (( $# > 0 )); then
|
||||||
|
echo "${myname} v${myver}"
|
||||||
|
echo
|
||||||
|
echo "Safely print a list of pending updates"
|
||||||
|
echo
|
||||||
|
echo "Usage: ${myname}"
|
||||||
|
echo
|
||||||
|
echo 'Note: Export the "CHECKUPDATES_DB" variable to change the path of the temporary database.'
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! type -P fakeroot >/dev/null; then
|
||||||
|
error 'Cannot find the fakeroot binary.'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -z $CHECKUPDATES_DB ]]; then
|
||||||
|
CHECKUPDATES_DB="${TMPDIR:-/tmp}/checkup-db-${USER}/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
trap 'rm -f $CHECKUPDATES_DB/db.lck' INT TERM EXIT
|
||||||
|
|
||||||
|
DBPath="$(pacman-conf DBPath)"
|
||||||
|
if [[ -z "$DBPath" ]] || [[ ! -d "$DBPath" ]]; then
|
||||||
|
DBPath="/var/lib/pacman/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p "$CHECKUPDATES_DB"
|
||||||
|
ln -s "${DBPath}/local" "$CHECKUPDATES_DB" &> /dev/null
|
||||||
|
if ! fakeroot -- pacman -Sy --dbpath "$CHECKUPDATES_DB" --logfile /dev/null &> /dev/null; then
|
||||||
|
error 'Cannot fetch updates'
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
pacman -Qu --dbpath "$CHECKUPDATES_DB" 2> /dev/null | grep -v '\[.*\]'
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
# vim: set noet:
|
|
@ -0,0 +1,100 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya
|
||||||
|
## Github : adi1090x
|
||||||
|
# Custom Rofi Script
|
||||||
|
|
||||||
|
BORDER="#1F1F1F"
|
||||||
|
SEPARATOR="#1F1F1F"
|
||||||
|
FOREGROUND="#FFFFFF"
|
||||||
|
BACKGROUND="#1F1F1F"
|
||||||
|
BACKGROUND_ALT="#252525"
|
||||||
|
HIGHLIGHT_BACKGROUND="#00897b"
|
||||||
|
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||||
|
|
||||||
|
BLACK="#000000"
|
||||||
|
WHITE="#ffffff"
|
||||||
|
RED="#e53935"
|
||||||
|
GREEN="#43a047"
|
||||||
|
YELLOW="#fdd835"
|
||||||
|
BLUE="#1e88e5"
|
||||||
|
MAGENTA="#00897b"
|
||||||
|
CYAN="#00acc1"
|
||||||
|
PINK="#d81b60"
|
||||||
|
PURPLE="#8e24aa"
|
||||||
|
INDIGO="#3949ab"
|
||||||
|
TEAL="#00897b"
|
||||||
|
LIME="#c0ca33"
|
||||||
|
AMBER="#ffb300"
|
||||||
|
ORANGE="#fb8c00"
|
||||||
|
BROWN="#6d4c41"
|
||||||
|
GREY="#757575"
|
||||||
|
BLUE_GREY="#546e7a"
|
||||||
|
DEEP_PURPLE="#5e35b1"
|
||||||
|
DEEP_ORANGE="#f4511e"
|
||||||
|
LIGHT_BLUE="#039be5"
|
||||||
|
LIGHT_GREEN="#7cb342"
|
||||||
|
|
||||||
|
SDIR="$HOME/.config/polybar/scripts"
|
||||||
|
|
||||||
|
# Launch Rofi
|
||||||
|
MENU="$(rofi -no-lazy-grab -sep "|" -dmenu -i -p 'Style :' \
|
||||||
|
-hide-scrollbar true \
|
||||||
|
-bw 0 \
|
||||||
|
-lines 5 \
|
||||||
|
-line-padding 10 \
|
||||||
|
-padding 20 \
|
||||||
|
-width 30 \
|
||||||
|
-xoffset 68 -yoffset -70 \
|
||||||
|
-location 7 \
|
||||||
|
-columns 2 \
|
||||||
|
-show-icons -icon-theme "Papirus" \
|
||||||
|
-font "Fantasque Sans Mono 10" \
|
||||||
|
-color-enabled true \
|
||||||
|
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||||
|
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
<<< "♥ amber|♥ blue|♥ blue-grey|♥ brown|♥ cyan|♥ deep-orange|♥ deep-purple|♥ green|♥ grey|♥ indigo|♥ blue-light|♥ green-light|♥ lime|♥ orange|♥ pink|♥ purple|♥ red|♥ teal|♥ yellow|♥ amber-dark|♥ blue-dark|♥ blue-grey-dark|♥ brown-dark|♥ cyan-dark|♥ deep-orange-dark|♥ deep-purple-dark|♥ green-dark|♥ grey-dark|♥ indigo-dark|♥ blue-light-dark|♥ green-light-dark|♥ lime-dark|♥ orange-dark|♥ pink-dark|♥ purple-dark|♥ red-dark|♥ teal-dark|♥ yellow-dark")"
|
||||||
|
case "$MENU" in
|
||||||
|
## Light Colors
|
||||||
|
*amber) $SDIR/colors-light.sh -amber ;;
|
||||||
|
*blue) $SDIR/colors-light.sh -blue ;;
|
||||||
|
*blue-grey) $SDIR/colors-light.sh -blue-grey ;;
|
||||||
|
*brown) $SDIR/colors-light.sh -brown ;;
|
||||||
|
*cyan) $SDIR/colors-light.sh -cyan ;;
|
||||||
|
*deep-orange) $SDIR/colors-light.sh -deep-orange ;;
|
||||||
|
*deep-purple) $SDIR/colors-light.sh -deep-purple ;;
|
||||||
|
*green) $SDIR/colors-light.sh -green ;;
|
||||||
|
*grey) $SDIR/colors-light.sh -grey ;;
|
||||||
|
*indigo) $SDIR/colors-light.sh -indigo ;;
|
||||||
|
*blue-light) $SDIR/colors-light.sh -light-blue ;;
|
||||||
|
*green-light) $SDIR/colors-light.sh -light-green ;;
|
||||||
|
*lime) $SDIR/colors-light.sh -lime ;;
|
||||||
|
*orange) $SDIR/colors-light.sh -orange ;;
|
||||||
|
*pink) $SDIR/colors-light.sh -pink ;;
|
||||||
|
*purple) $SDIR/colors-light.sh -purple ;;
|
||||||
|
*red) $SDIR/colors-light.sh -red ;;
|
||||||
|
*teal) $SDIR/colors-light.sh -teal ;;
|
||||||
|
*yellow) $SDIR/colors-light.sh -yellow ;;
|
||||||
|
## Dark Colors
|
||||||
|
*amber-dark) $SDIR/colors-dark.sh -amber ;;
|
||||||
|
*blue-dark) $SDIR/colors-dark.sh -blue ;;
|
||||||
|
*blue-grey-dark) $SDIR/colors-dark.sh -blue-grey ;;
|
||||||
|
*brown-dark) $SDIR/colors-dark.sh -brown ;;
|
||||||
|
*cyan-dark) $SDIR/colors-dark.sh -cyan ;;
|
||||||
|
*deep-orange-dark) $SDIR/colors-dark.sh -deep-orange ;;
|
||||||
|
*deep-purple-dark) $SDIR/colors-dark.sh -deep-purple ;;
|
||||||
|
*green-dark) $SDIR/colors-dark.sh -green ;;
|
||||||
|
*grey-dark) $SDIR/colors-dark.sh -grey ;;
|
||||||
|
*indigo-dark) $SDIR/colors-dark.sh -indigo ;;
|
||||||
|
*blue-light-dark) $SDIR/colors-dark.sh -light-blue ;;
|
||||||
|
*green-light-dark) $SDIR/colors-dark.sh -light-green ;;
|
||||||
|
*lime-dark) $SDIR/colors-dark.sh -lime ;;
|
||||||
|
*orange-dark) $SDIR/colors-dark.sh -orange ;;
|
||||||
|
*pink-dark) $SDIR/colors-dark.sh -pink ;;
|
||||||
|
*purple-dark) $SDIR/colors-dark.sh -purple ;;
|
||||||
|
*red-dark) $SDIR/colors-dark.sh -red ;;
|
||||||
|
*teal-dark) $SDIR/colors-dark.sh -teal ;;
|
||||||
|
*yellow-dark) $SDIR/colors-dark.sh -yellow
|
||||||
|
esac
|
|
@ -0,0 +1,263 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya
|
||||||
|
## Github : adi1090x
|
||||||
|
|
||||||
|
PDIR="$HOME/.config/polybar"
|
||||||
|
LAUNCH="polybar-msg cmd restart"
|
||||||
|
|
||||||
|
if [[ $1 = "-amber" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #ffb300/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#ffb300"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-blue" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #1e88e5/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#1e88e5"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-blue-grey" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #546e7a/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#546e7a"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-brown" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #6d4c41/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#6d4c41"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-cyan" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #00acc1/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00acc1"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-deep-orange" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #f4511e/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#f4511e"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-deep-purple" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #5e35b1/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#5e35b1"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-green" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #43a047/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#43a047"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-grey" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #757575/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#757575"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-indigo" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #3949ab/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#3949ab"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-light-blue" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #039be5/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#039be5"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-light-green" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #7cb342/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#7cb342"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-lime" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #c0ca33/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#c0ca33"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-orange" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #fb8c00/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fb8c00"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-pink" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #d81b60/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#d81b60"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-purple" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #8e24aa/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#8e24aa"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-red" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #e53935/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#e53935"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-teal" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #00897b/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#00897b"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-yellow" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #1F1F1F/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #A9ABB0/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #fdd835/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/menu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/menu_full
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/sysmenu
|
||||||
|
sed -i -e 's/HIGHLIGHT_BACKGROUND=.*/HIGHLIGHT_BACKGROUND="#fdd835"/g' $PDIR/scripts/color-switch.sh
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Available options:
|
||||||
|
-amber -blue -blue-grey -brown
|
||||||
|
-cyan -deep-orange -deep-purple -green
|
||||||
|
-grey -indigo -light-blue -light-green
|
||||||
|
-lime -orange -pink -purple
|
||||||
|
-red -teal -yellow"
|
||||||
|
fi
|
|
@ -0,0 +1,187 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya
|
||||||
|
## Github : adi1090x
|
||||||
|
|
||||||
|
PDIR="$HOME/.config/polybar"
|
||||||
|
LAUNCH="polybar-msg cmd restart"
|
||||||
|
|
||||||
|
if [[ $1 = "-amber" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #ffb300/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-blue" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #1e88e5/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-blue-grey" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #546e7a/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-brown" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #6d4c41/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-cyan" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #00acc1/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-deep-orange" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #f4511e/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-deep-purple" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #5e35b1/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-green" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #43a047/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-grey" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #757575/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-indigo" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #3949ab/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-light-blue" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #039be5/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-light-green" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #7cb342/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-lime" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #c0ca33/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-orange" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #fb8c00/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-pink" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #d81b60/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-purple" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #8e24aa/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-red" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #e53935/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-teal" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #00897b/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
elif [[ $1 = "-yellow" ]]; then
|
||||||
|
# Replacing colors
|
||||||
|
sed -i -e 's/bg = .*/bg = #FFFFFF/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg = .*/fg = #2E2E2E/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/fg-alt = .*/fg-alt = #424242/g' $PDIR/config.ini
|
||||||
|
sed -i -e 's/acolor = .*/acolor = #fdd835/g' $PDIR/config.ini
|
||||||
|
# Restarting polybar
|
||||||
|
$LAUNCH &
|
||||||
|
|
||||||
|
else
|
||||||
|
echo "Available options:
|
||||||
|
-amber -blue -blue-grey -brown
|
||||||
|
-cyan -deep-orange -deep-purple -green
|
||||||
|
-grey -indigo -light-blue -light-green
|
||||||
|
-lime -orange -pink -purple
|
||||||
|
-red -teal -yellow"
|
||||||
|
fi
|
|
@ -0,0 +1,63 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Custom Rofi Script
|
||||||
|
|
||||||
|
BORDER="#1F1F1F"
|
||||||
|
SEPARATOR="#1F1F1F"
|
||||||
|
FOREGROUND="#FFFFFF"
|
||||||
|
BACKGROUND="#1F1F1F"
|
||||||
|
BACKGROUND_ALT="#252525"
|
||||||
|
HIGHLIGHT_BACKGROUND="#00897b"
|
||||||
|
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||||
|
|
||||||
|
BLACK="#000000"
|
||||||
|
WHITE="#ffffff"
|
||||||
|
RED="#e53935"
|
||||||
|
GREEN="#43a047"
|
||||||
|
YELLOW="#fdd835"
|
||||||
|
BLUE="#1e88e5"
|
||||||
|
MAGENTA="#00897b"
|
||||||
|
CYAN="#00acc1"
|
||||||
|
PINK="#d81b60"
|
||||||
|
PURPLE="#8e24aa"
|
||||||
|
INDIGO="#3949ab"
|
||||||
|
TEAL="#00897b"
|
||||||
|
LIME="#c0ca33"
|
||||||
|
AMBER="#ffb300"
|
||||||
|
ORANGE="#fb8c00"
|
||||||
|
BROWN="#6d4c41"
|
||||||
|
GREY="#757575"
|
||||||
|
BLUE_GREY="#546e7a"
|
||||||
|
DEEP_PURPLE="#5e35b1"
|
||||||
|
DEEP_ORANGE="#f4511e"
|
||||||
|
LIGHT_BLUE="#039be5"
|
||||||
|
LIGHT_GREEN="#7cb342"
|
||||||
|
|
||||||
|
# Launch Rofi
|
||||||
|
rofi -no-lazy-grab -show drun \
|
||||||
|
-display-drun "Applications :" -drun-display-format "{name}" \
|
||||||
|
-hide-scrollbar true \
|
||||||
|
-bw 0 \
|
||||||
|
-lines 10 \
|
||||||
|
-line-padding 10 \
|
||||||
|
-padding 20 \
|
||||||
|
-width 30 \
|
||||||
|
-xoffset 68 -yoffset -70 \
|
||||||
|
-location 7 \
|
||||||
|
-columns 2 \
|
||||||
|
-show-icons -icon-theme "Papirus" \
|
||||||
|
-font "Fantasque Sans Mono 10" \
|
||||||
|
-color-enabled true \
|
||||||
|
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||||
|
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND"
|
||||||
|
|
||||||
|
# More Options
|
||||||
|
# -fullscreen \
|
||||||
|
|
||||||
|
# Theming help
|
||||||
|
# color window = background, border, separator
|
||||||
|
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||||
|
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||||
|
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
|
|
@ -0,0 +1,64 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Custom Rofi Script
|
||||||
|
|
||||||
|
BORDER="#1F1F1F"
|
||||||
|
SEPARATOR="#1F1F1F"
|
||||||
|
FOREGROUND="#FFFFFF"
|
||||||
|
BACKGROUND="#1F1F1F"
|
||||||
|
BACKGROUND_ALT="#252525"
|
||||||
|
HIGHLIGHT_BACKGROUND="#00897b"
|
||||||
|
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||||
|
|
||||||
|
BLACK="#000000"
|
||||||
|
WHITE="#ffffff"
|
||||||
|
RED="#e53935"
|
||||||
|
GREEN="#43a047"
|
||||||
|
YELLOW="#fdd835"
|
||||||
|
BLUE="#1e88e5"
|
||||||
|
MAGENTA="#00897b"
|
||||||
|
CYAN="#00acc1"
|
||||||
|
PINK="#d81b60"
|
||||||
|
PURPLE="#8e24aa"
|
||||||
|
INDIGO="#3949ab"
|
||||||
|
TEAL="#00897b"
|
||||||
|
LIME="#c0ca33"
|
||||||
|
AMBER="#ffb300"
|
||||||
|
ORANGE="#fb8c00"
|
||||||
|
BROWN="#6d4c41"
|
||||||
|
GREY="#757575"
|
||||||
|
BLUE_GREY="#546e7a"
|
||||||
|
DEEP_PURPLE="#5e35b1"
|
||||||
|
DEEP_ORANGE="#f4511e"
|
||||||
|
LIGHT_BLUE="#039be5"
|
||||||
|
LIGHT_GREEN="#7cb342"
|
||||||
|
|
||||||
|
# Launch Rofi
|
||||||
|
rofi -no-lazy-grab -show drun \
|
||||||
|
-display-drun "Applications :" -drun-display-format "{name}" \
|
||||||
|
-hide-scrollbar true \
|
||||||
|
-bw 0 \
|
||||||
|
-lines 10 \
|
||||||
|
-line-padding 15 \
|
||||||
|
-padding 60 \
|
||||||
|
-width 30 \
|
||||||
|
-xoffset 10 -yoffset 40 \
|
||||||
|
-location 1 \
|
||||||
|
-fullscreen \
|
||||||
|
-columns 4 \
|
||||||
|
-show-icons -icon-theme "Papirus" \
|
||||||
|
-font "Fantasque Sans Mono 10" \
|
||||||
|
-color-enabled true \
|
||||||
|
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||||
|
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND"
|
||||||
|
|
||||||
|
# More Options
|
||||||
|
# -fullscreen \
|
||||||
|
|
||||||
|
# Theming help
|
||||||
|
# color window = background, border, separator
|
||||||
|
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||||
|
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||||
|
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
|
|
@ -0,0 +1,69 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Custom Rofi Script
|
||||||
|
|
||||||
|
BORDER="#1F1F1F"
|
||||||
|
SEPARATOR="#1F1F1F"
|
||||||
|
FOREGROUND="#FFFFFF"
|
||||||
|
BACKGROUND="#1F1F1F"
|
||||||
|
BACKGROUND_ALT="#252525"
|
||||||
|
HIGHLIGHT_BACKGROUND="#00897b"
|
||||||
|
HIGHLIGHT_FOREGROUND="#1F1F1F"
|
||||||
|
|
||||||
|
BLACK="#000000"
|
||||||
|
WHITE="#ffffff"
|
||||||
|
RED="#e53935"
|
||||||
|
GREEN="#43a047"
|
||||||
|
YELLOW="#fdd835"
|
||||||
|
BLUE="#1e88e5"
|
||||||
|
MAGENTA="#00897b"
|
||||||
|
CYAN="#00acc1"
|
||||||
|
PINK="#d81b60"
|
||||||
|
PURPLE="#8e24aa"
|
||||||
|
INDIGO="#3949ab"
|
||||||
|
TEAL="#00897b"
|
||||||
|
LIME="#c0ca33"
|
||||||
|
AMBER="#ffb300"
|
||||||
|
ORANGE="#fb8c00"
|
||||||
|
BROWN="#6d4c41"
|
||||||
|
GREY="#757575"
|
||||||
|
BLUE_GREY="#546e7a"
|
||||||
|
DEEP_PURPLE="#5e35b1"
|
||||||
|
DEEP_ORANGE="#f4511e"
|
||||||
|
LIGHT_BLUE="#039be5"
|
||||||
|
LIGHT_GREEN="#7cb342"
|
||||||
|
|
||||||
|
# Launch Rofi
|
||||||
|
MENU="$(rofi -no-lazy-grab -sep "|" -dmenu -i -p 'System :' \
|
||||||
|
-hide-scrollbar true \
|
||||||
|
-bw 0 \
|
||||||
|
-lines 4 \
|
||||||
|
-line-padding 10 \
|
||||||
|
-padding 20 \
|
||||||
|
-width 15 \
|
||||||
|
-xoffset -68 -yoffset -70 \
|
||||||
|
-location 5 \
|
||||||
|
-columns 1 \
|
||||||
|
-show-icons -icon-theme "Papirus" \
|
||||||
|
-font "Fantasque Sans Mono 10" \
|
||||||
|
-color-enabled true \
|
||||||
|
-color-window "$BACKGROUND,$BORDER,$SEPARATOR" \
|
||||||
|
-color-normal "$BACKGROUND_ALT,$FOREGROUND,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-active "$BACKGROUND,$MAGENTA,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
-color-urgent "$BACKGROUND,$YELLOW,$BACKGROUND_ALT,$HIGHLIGHT_BACKGROUND,$HIGHLIGHT_FOREGROUND" \
|
||||||
|
<<< " Lock| Logout| Reboot| Shutdown")"
|
||||||
|
case "$MENU" in
|
||||||
|
*Lock) i3lock ;;
|
||||||
|
*Logout) openbox --exit;;
|
||||||
|
*Reboot) systemctl reboot ;;
|
||||||
|
*Shutdown) systemctl -i poweroff
|
||||||
|
esac
|
||||||
|
|
||||||
|
# More Options
|
||||||
|
# -fullscreen \
|
||||||
|
|
||||||
|
# Theming help
|
||||||
|
# color window = background, border, separator
|
||||||
|
# color normal = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||||
|
# color active = background, foreground, background-alt, highlight-background, highlight-foreground
|
||||||
|
# color urgent = background, foreground, background-alt, highlight-background, highlight-foreground
|
|
@ -0,0 +1,46 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
BAR_ICON=""
|
||||||
|
NOTIFY_ICON=/usr/share/icons/Papirus/32x32/apps/system-software-update.svg
|
||||||
|
|
||||||
|
get_total_updates() { UPDATES=$(checkupdates 2>/dev/null | wc -l); }
|
||||||
|
|
||||||
|
while true; do
|
||||||
|
get_total_updates
|
||||||
|
|
||||||
|
# notify user of updates
|
||||||
|
if hash notify-send &>/dev/null; then
|
||||||
|
if (( UPDATES > 50 )); then
|
||||||
|
notify-send -u critical -i $NOTIFY_ICON \
|
||||||
|
"You really need to update!!" "$UPDATES New packages"
|
||||||
|
elif (( UPDATES > 25 )); then
|
||||||
|
notify-send -u normal -i $NOTIFY_ICON \
|
||||||
|
"You should update soon" "$UPDATES New packages"
|
||||||
|
elif (( UPDATES > 2 )); then
|
||||||
|
notify-send -u low -i $NOTIFY_ICON \
|
||||||
|
"$UPDATES New packages"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# when there are updates available
|
||||||
|
# every 10 seconds another check for updates is done
|
||||||
|
while (( UPDATES > 0 )); do
|
||||||
|
if (( UPDATES == 1 )); then
|
||||||
|
echo " $UPDATES"
|
||||||
|
elif (( UPDATES > 1 )); then
|
||||||
|
echo " $UPDATES"
|
||||||
|
else
|
||||||
|
echo $BAR_ICON
|
||||||
|
fi
|
||||||
|
sleep 10
|
||||||
|
get_total_updates
|
||||||
|
done
|
||||||
|
|
||||||
|
# when no updates are available, use a longer loop, this saves on CPU
|
||||||
|
# and network uptime, only checking once every 30 min for new updates
|
||||||
|
while (( UPDATES == 0 )); do
|
||||||
|
echo $BAR_ICON
|
||||||
|
sleep 1800
|
||||||
|
get_total_updates
|
||||||
|
done
|
||||||
|
done
|
|
@ -0,0 +1,4 @@
|
||||||
|
configuration {
|
||||||
|
theme: "~/.cache/wal/colors-rofi-dark";
|
||||||
|
font: "Fantasque Sans Mono 12";
|
||||||
|
}
|
|
@ -0,0 +1,24 @@
|
||||||
|
#
|
||||||
|
# ~/.dmenurc
|
||||||
|
#
|
||||||
|
|
||||||
|
## define the font for dmenu to be used
|
||||||
|
DMENU_FN="Noto-10.5"
|
||||||
|
|
||||||
|
## background colour for unselected menu-items
|
||||||
|
DMENU_NB="#222D31"
|
||||||
|
|
||||||
|
## textcolour for unselected menu-items
|
||||||
|
DMENU_NF="#F9FAF9"
|
||||||
|
|
||||||
|
## background colour for selected menu-items
|
||||||
|
DMENU_SB="#16A085"
|
||||||
|
|
||||||
|
## textcolour for selected menu-items
|
||||||
|
DMENU_SF="#F9FAF9"
|
||||||
|
|
||||||
|
## command for the terminal application to be used:
|
||||||
|
TERMINAL_CMD="terminal -e"
|
||||||
|
|
||||||
|
## export our variables
|
||||||
|
DMENU_OPTIONS="-fn $DMENU_FN -nb $DMENU_NB -nf $DMENU_NF -sf $DMENU_SF -sb $DMENU_SB"
|
|
@ -0,0 +1 @@
|
||||||
|
fcc68469-8fed-4aab-9eb9-5c89b052a74f
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,136 @@
|
||||||
|
[/home/cdnutter/Documents/latex-cs.pdf]
|
||||||
|
page=2
|
||||||
|
offset=0
|
||||||
|
zoom=1.4747664360943489
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.5233609645817634
|
||||||
|
position-y=0.062484975604783548
|
||||||
|
time=1599178795
|
||||||
|
jumplist=
|
||||||
|
|
||||||
|
[UhK6hCo8UnJLlSMYvPawOJcDk4uIaiXNrPTNsPCTOtM=]
|
||||||
|
page=2
|
||||||
|
offset=0
|
||||||
|
zoom=1.4747664360943489
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.5233609645817634
|
||||||
|
position-y=0.062484975604783548
|
||||||
|
time=1599178795
|
||||||
|
|
||||||
|
[/tmp/vim-latex-live-preview-0jy184rn/home/cdnutter/Documents/test.pdf]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=1.2278928534749634
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.43444846292947559
|
||||||
|
position-y=0.5
|
||||||
|
time=1599164042
|
||||||
|
jumplist=
|
||||||
|
|
||||||
|
[CcxE1uXBUcOCKwKLHLJeOUf99oeaktXm3yFIr2libmQ=]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=0.92253407473701199
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.5
|
||||||
|
position-y=0.5
|
||||||
|
time=1599163771
|
||||||
|
|
||||||
|
[/tmp/vim-latex-live-preview-hpcad9b3/home/cdnutter/Documents/test.pdf]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=0.92253407473701199
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.5
|
||||||
|
position-y=0.5
|
||||||
|
time=1599163929
|
||||||
|
jumplist=
|
||||||
|
|
||||||
|
[JK3nabMQ2ejYU4dlqcRMlpymljvKZAH8k+7uMQb9qq0=]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=0.92253407473701199
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.5
|
||||||
|
position-y=0.5
|
||||||
|
time=1599163929
|
||||||
|
|
||||||
|
[jMDDNvF5Gqa0RqvcRhSPMqHsN5DlZ91qokKjbdTxUZ0=]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=1.2278928534749634
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.43444846292947559
|
||||||
|
position-y=0.5
|
||||||
|
time=1599164042
|
||||||
|
|
||||||
|
[/home/cdnutter/School/homework-and-stuffs/cpsc323/Assignment 1 AnthonyLe2019.pdf]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=1.3513057093103944
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.48034247020987864
|
||||||
|
position-y=0.25861046874946414
|
||||||
|
time=1599253823
|
||||||
|
jumplist=
|
||||||
|
|
||||||
|
[++F9HOD9QGozR1Z3zAsXiaIxIq03Y9pgnOtorY0BRDk=]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=1.3513057093103944
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.48034247020987864
|
||||||
|
position-y=0.25861046874946414
|
||||||
|
time=1599253823
|
||||||
|
|
||||||
|
[/home/cdnutter/School/homework-and-stuffs/cpsc335/proj1/335-p1-cella-ant-x15.pdf]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=1.1841240053460425
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.5
|
||||||
|
position-y=0.40507220852412823
|
||||||
|
time=1599502529
|
||||||
|
jumplist=
|
||||||
|
|
||||||
|
[R99ngYIhQBuB0S8YHF0I/T+NGGMx6g1fdtp6m0rGZ0g=]
|
||||||
|
page=0
|
||||||
|
offset=0
|
||||||
|
zoom=1.1841240053460425
|
||||||
|
rotate=0
|
||||||
|
pages-per-row=1
|
||||||
|
first-page-column=1:2
|
||||||
|
page-right-to-left=false
|
||||||
|
position-x=0.5
|
||||||
|
position-y=0.40507220852412823
|
||||||
|
time=1599502529
|
|
@ -0,0 +1,2 @@
|
||||||
|
:LLPStartPreview
|
||||||
|
:q
|
Binary file not shown.
|
@ -0,0 +1 @@
|
||||||
|
15646
|
|
@ -0,0 +1,6 @@
|
||||||
|
q
|
||||||
|
q
|
||||||
|
q
|
||||||
|
q
|
||||||
|
q
|
||||||
|
q
|
|
@ -0,0 +1,2 @@
|
||||||
|
https://hnrss.org/frontpage
|
||||||
|
https://lukesmith.xyz/rss.xml
|
|
@ -0,0 +1,8 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
for ((;;))
|
||||||
|
do
|
||||||
|
sl
|
||||||
|
done
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
xrandr --rate 144
|
||||||
|
|
||||||
|
# This will be something cool in like a day or two.
|
|
@ -0,0 +1,3 @@
|
||||||
|
#! /usr/bin/env bash
|
||||||
|
|
||||||
|
kitty -e ncmpcpp
|
|
@ -0,0 +1,41 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ $UID != 0 ] ; then
|
||||||
|
echo "Must be root!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
patch_dir=/home/$(logname)/.cache/wal
|
||||||
|
if [ ! "$1" = "" ] ; then
|
||||||
|
patch_dir=$1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Patch dir is $patch_dir"
|
||||||
|
|
||||||
|
vivaldi_path=$(dirname $(find /opt -name "vivaldi-bin"))
|
||||||
|
|
||||||
|
if [ "$vivaldi_path" = "" ] ; then
|
||||||
|
echo "Cannot find vivaldi path"
|
||||||
|
exit 2
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "Patching vivaldi located at $vivaldi_path"
|
||||||
|
|
||||||
|
# backup browser.html
|
||||||
|
cp "$vivaldi_path/resources/vivaldi/browser.html" "$vivaldi_path/resources/vivaldi/browser.html-$(date +%Y-%m-%dT%H-%M-%S)"
|
||||||
|
|
||||||
|
# add custom.js
|
||||||
|
if [ -f "$patch_dir/vivaldi.js" ] ; then
|
||||||
|
echo "Using js file: $path_dir/vivaldi.js"
|
||||||
|
|
||||||
|
# copy js
|
||||||
|
cp -f "$patch_dir/vivaldi.js" "$vivaldi_path/resources/vivaldi/style/custom.js"
|
||||||
|
|
||||||
|
# patch browser.html
|
||||||
|
js_patched=$(grep '<script src="style/custom.js"><\/script>' $vivaldi_path/resources/vivaldi/browser.html)
|
||||||
|
if [ "$js_patched" = "" ] ; then
|
||||||
|
echo "Browser.html have been patched"
|
||||||
|
sed -i -e 's/<\/body>/<script src="style\/custom.js"><\/script> <\/body>/' "$vivaldi_path/resources/vivaldi/browser.html"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
ls | sort -R | tail -$N | while read file; do
|
||||||
|
|
||||||
|
neofetch --ascii ~/.scripts/ascii/file
|
||||||
|
|
||||||
|
done
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Terminate already running bar instances
|
||||||
|
killall -q polybar
|
||||||
|
# If all your bars have ipc enabled, you can also use
|
||||||
|
# polybar-msg cmd quit
|
||||||
|
|
||||||
|
# Launch bar1 and bar2
|
||||||
|
echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log
|
||||||
|
polybar bar1 >>/tmp/polybar1.log 2>&1 &
|
||||||
|
polybar bar2 >>/tmp/polybar2.log 2>&1 &
|
||||||
|
|
||||||
|
echo "Bars launched..."
|
|
@ -0,0 +1 @@
|
||||||
|
sudo mount.cifs //192.168.1.176/data /mnt/purple/ -o user=admin
|
|
@ -0,0 +1,36 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# _ _ _
|
||||||
|
# __| |_ _ _ __ ___| |___ ____ _| |
|
||||||
|
# / _` | | | | '_ \/ __| __\ \ /\ / / _` | |
|
||||||
|
# | (_| | |_| | | | \__ \ |_ \ V V / (_| | |
|
||||||
|
# \__,_|\__,_|_| |_|___/\__| \_/\_/ \__,_|_|
|
||||||
|
# Author: Kwest Ambani
|
||||||
|
# Created: 02.08.19
|
||||||
|
|
||||||
|
# get pywal colors
|
||||||
|
kolor00=$(sed -n 1p ~/.cache/wal/colors)
|
||||||
|
kolor01=$(sed -n 2p ~/.cache/wal/colors)
|
||||||
|
kolor02=$(sed -n 3p ~/.cache/wal/colors)
|
||||||
|
kolor03=$(sed -n 4p ~/.cache/wal/colors)
|
||||||
|
kolor04=$(sed -n 5p ~/.cache/wal/colors)
|
||||||
|
kolor05=$(sed -n 6p ~/.cache/wal/colors)
|
||||||
|
kolor06=$(sed -n 7p ~/.cache/wal/colors)
|
||||||
|
kolor07=$(sed -n 8p ~/.cache/wal/colors)
|
||||||
|
kolor08=$(sed -n 9p ~/.cache/wal/colors)
|
||||||
|
kolor09=$(sed -n 10p ~/.cache/wal/colors)
|
||||||
|
kolor10=$(sed -n 11p ~/.cache/wal/colors)
|
||||||
|
kolor11=$(sed -n 12p ~/.cache/wal/colors)
|
||||||
|
kolor12=$(sed -n 13p ~/.cache/wal/colors)
|
||||||
|
kolor13=$(sed -n 14p ~/.cache/wal/colors)
|
||||||
|
kolor14=$(sed -n 15p ~/.cache/wal/colors)
|
||||||
|
kolor15=$(sed -n 16p ~/.cache/wal/colors)
|
||||||
|
|
||||||
|
# inject pywal colors into dunst config
|
||||||
|
sed -i "s/background = .*/background = \"$kolor00\"/g" ~/.config/dunst/dunstrc
|
||||||
|
sed -i "s/foreground = .*/foreground = \"$kolor04\"/g" ~/.config/dunst/dunstrc
|
||||||
|
sed -i "s/frame_color = .*/frame_color = \"$kolor04\"/g" ~/.config/dunst/dunstrc
|
||||||
|
|
||||||
|
pkill dunst
|
||||||
|
dunst &
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
cp ~/.cache/wal-discord/style.css ~/.config/discordcanary/0.0.103/modules/discord_desktop_core/ && cd ~/.config/discordcanary/0.0.103/modules/discord_desktop_core/ && mv style.css discord-custom.css
|
|
@ -0,0 +1,62 @@
|
||||||
|
set nocompatible
|
||||||
|
set wildmenu
|
||||||
|
filetype off
|
||||||
|
|
||||||
|
autocmd BufRead,BufNewFile *.md,*.text,*.txt setlocal spell
|
||||||
|
set complete+=kspell
|
||||||
|
set clipboard=unnamedplus
|
||||||
|
|
||||||
|
set rtp+=~/.vim/bundle/Vundle.vim
|
||||||
|
call vundle#begin()
|
||||||
|
|
||||||
|
""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
||||||
|
Plugin 'gmarik/Vundle.vim'
|
||||||
|
|
||||||
|
" Python
|
||||||
|
Plugin 'vim-scripts/indentpython.vim'
|
||||||
|
Plugin 'Vimjas/vim-python-pep8-indent'
|
||||||
|
Plugin 'vim-python/python-syntax'
|
||||||
|
|
||||||
|
" Ease of use
|
||||||
|
Plugin 'dkarter/bullets.vim'
|
||||||
|
Plugin 'tpope/vim-surround'
|
||||||
|
|
||||||
|
" Latex
|
||||||
|
Plugin 'xuhdev/vim-latex-live-preview'
|
||||||
|
|
||||||
|
"""""""""""""""""""""""""""""""""""""""""""""""""
|
||||||
|
|
||||||
|
call vundle#end()
|
||||||
|
|
||||||
|
colorscheme wal
|
||||||
|
|
||||||
|
syntax on
|
||||||
|
syntax enable
|
||||||
|
set t_Co=256
|
||||||
|
set autoindent
|
||||||
|
set smartindent
|
||||||
|
set shiftwidth=4
|
||||||
|
set expandtab
|
||||||
|
set number
|
||||||
|
set tabstop=4
|
||||||
|
let g:python_highlight_all = 1
|
||||||
|
set encoding=utf-8
|
||||||
|
set termencoding=utf-8
|
||||||
|
set showmatch
|
||||||
|
set incsearch
|
||||||
|
|
||||||
|
let &t_SI .= "\<Esc>[?2004h"
|
||||||
|
let &t_EI .= "\<Esc>[?2004l"
|
||||||
|
|
||||||
|
inoremap <special> <expr> <Esc>[200~ XTermPasteBegin()
|
||||||
|
|
||||||
|
function! XTermPasteBegin()
|
||||||
|
set pastetoggle=<Esc>[201~
|
||||||
|
set paste
|
||||||
|
return ""
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
autocmd FileType tex nnoremap <buffer> <C-c> :LLPStartPreview <Enter>
|
||||||
|
|
||||||
|
let g:livepreview_previewer = 'zathura'
|
|
@ -0,0 +1,66 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# ~/.xinitrc
|
||||||
|
#
|
||||||
|
# Executed by startx (run your window manager from here)
|
||||||
|
|
||||||
|
userresources=$HOME/.Xresources
|
||||||
|
usermodmap=$HOME/.Xmodmap
|
||||||
|
sysresources=/etc/X11/xinit/.Xresources
|
||||||
|
sysmodmap=/etc/X11/xinit/.Xmodmap
|
||||||
|
|
||||||
|
DEFAULT_SESSION='i3 --shmlog-size 0'
|
||||||
|
|
||||||
|
# merge in defaults and keymaps
|
||||||
|
|
||||||
|
if [ -f $sysresources ]; then
|
||||||
|
xrdb -merge $sysresources
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f $sysmodmap ]; then
|
||||||
|
xmodmap $sysmodmap
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$userresources" ]; then
|
||||||
|
xrdb -merge "$userresources"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "$usermodmap" ]; then
|
||||||
|
xmodmap "$usermodmap"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# start some nice programs
|
||||||
|
|
||||||
|
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
|
||||||
|
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
|
||||||
|
[ -x "$f" ] && . "$f"
|
||||||
|
done
|
||||||
|
unset f
|
||||||
|
fi
|
||||||
|
|
||||||
|
get_session(){
|
||||||
|
local dbus_args=(--sh-syntax --exit-with-session)
|
||||||
|
case $1 in
|
||||||
|
awesome) dbus_args+=(awesome) ;;
|
||||||
|
bspwm) dbus_args+=(bspwm-session) ;;
|
||||||
|
budgie) dbus_args+=(budgie-desktop) ;;
|
||||||
|
cinnamon) dbus_args+=(cinnamon-session) ;;
|
||||||
|
deepin) dbus_args+=(startdde) ;;
|
||||||
|
enlightenment) dbus_args+=(enlightenment_start) ;;
|
||||||
|
fluxbox) dbus_args+=(startfluxbox) ;;
|
||||||
|
gnome) dbus_args+=(gnome-session) ;;
|
||||||
|
i3|i3wm) dbus_args+=(i3 --shmlog-size 0) ;;
|
||||||
|
jwm) dbus_args+=(jwm) ;;
|
||||||
|
kde) dbus_args+=(startkde) ;;
|
||||||
|
lxde) dbus_args+=(startlxde) ;;
|
||||||
|
lxqt) dbus_args+=(lxqt-session) ;;
|
||||||
|
mate) dbus_args+=(mate-session) ;;
|
||||||
|
xfce) dbus_args+=(xfce4-session) ;;
|
||||||
|
openbox) dbus_args+=(openbox-session) ;;
|
||||||
|
*) dbus_args+=($DEFAULT_SESSION) ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
echo "dbus-launch ${dbus_args[*]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
exec $(get_session)
|
|
@ -0,0 +1,120 @@
|
||||||
|
# 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.
|
||||||
|
export ZSH="/home/cdnutter/.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
|
||||||
|
ZSH_THEME="clean"
|
||||||
|
|
||||||
|
# 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" )
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
plugins=(git)
|
||||||
|
|
||||||
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
# 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"
|
||||||
|
|
||||||
|
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||||
|
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||||
|
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||||
|
# For a full list of active aliases, run `alias`.
|
||||||
|
#
|
||||||
|
# Example aliases
|
||||||
|
# alias zshconfig="mate ~/.zshrc"
|
||||||
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
|
#########################################################################
|
||||||
|
|
||||||
|
## Alias
|
||||||
|
|
||||||
|
alias icat="kitty +kitten icat"
|
||||||
|
alias please="sudo"
|
||||||
|
alias cd..="cd .."
|
||||||
|
alias sl="sh ~/.scripts/loop-sl.sh"
|
||||||
|
|
||||||
|
## wal
|
||||||
|
|
||||||
|
(cat ~/.cache/wal/sequences &)
|
||||||
|
cat ~/.cache/wal/sequences
|
||||||
|
|
||||||
|
## neofetch
|
||||||
|
|
||||||
|
##neofetch --ascii ~/.scripts/ascii/bla
|
||||||
|
|
||||||
|
## Zathura-Pywal
|
||||||
|
export PATH="/home/cdnutter/.local/bin:$PATH"
|
Loading…
Reference in New Issue