Compare commits

...

5 commits

Author SHA1 Message Date
bae0b15aea kanshi 2022-04-10 17:40:42 -03:00
70532a57c4 zsh: gdl 2022-04-10 17:26:19 -03:00
b62bb008e8 zsh: gap 2022-04-10 17:26:15 -03:00
e659194e2a vis: rose-pine-dawn-colorless 2022-04-10 17:22:43 -03:00
a27f567650 i3status-wrapper: Usar colores de themer.lua 2022-04-10 16:56:56 -03:00
6 changed files with 67 additions and 4 deletions

8
.config/kanshi/config Normal file
View file

@ -0,0 +1,8 @@
profile {
output LVDS-1 enable
}
profile {
output HDMI-A-1 enable position 1366,0 scale 1
#output LVDS-1 enable position 0,312
output LVDS-1 disable
}

View file

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
. ~/.profile . ~/.profile
. ~/.cache/themer.lua/shell
i3status | while true; do i3status | while true; do
read line read line
@ -10,9 +11,9 @@ i3status | while true; do
else else
zeit="$(zeit tracking --no-colors)" zeit="$(zeit tracking --no-colors)"
if echo "$zeit" | grep -F tracking >/dev/null; then if echo "$zeit" | grep -F tracking >/dev/null; then
color="#FF0000" color="$accent"
else else
color="#000000" color="$foreground"
fi fi
zeit_obj='{"name":"zeit","instance":"zeit","color":"'$color'","markup":"none","full_text":"'$zeit'"}' zeit_obj='{"name":"zeit","instance":"zeit","color":"'$color'","markup":"none","full_text":"'$zeit'"}'
json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")" json_array="$(echo $json_array | jq ". |= [$zeit_obj] + .")"

@ -1 +1 @@
Subproject commit 53b2f5caad07178e75a85464f4e6e059685bced7 Subproject commit 08f35148f1ef99c6cb0aa1feb69681e0a592b895

View file

@ -0,0 +1,51 @@
-- vis-minimal-theme (https://github.com/erf/vis-minimal-theme)
-- light by Erlend Lind Madsen
-- Modified by Nulo
local text = '#575279'
local subtle = '#797593'
local muted = '#9893a5'
local base = '#faf4ed'
local surface = '#fffaf3'
local overlay = '#f2e9e1'
local highlight_med = '#dfdad9'
local lexers = vis.lexers
lexers.STYLE_DEFAULT ='back:'..base..',fore:'..text
lexers.STYLE_NOTHING = 'back:'..base
lexers.STYLE_CLASS = 'fore:'..text
lexers.STYLE_COMMENT = 'fore:'..muted
lexers.STYLE_CONSTANT = 'fore:'..text
lexers.STYLE_DEFINITION = 'fore:'..text
lexers.STYLE_ERROR = 'fore:'..text
lexers.STYLE_FUNCTION = 'fore:'..text
lexers.STYLE_KEYWORD = 'fore:'..muted
lexers.STYLE_LABEL = 'fore:'..text
lexers.STYLE_NUMBER = 'fore:'..subtle
lexers.STYLE_OPERATOR = 'fore:'..text
lexers.STYLE_REGEX = 'fore:'..subtle
lexers.STYLE_STRING = 'fore:'..subtle
lexers.STYLE_PREPROCESSOR = 'fore:'..text
lexers.STYLE_TAG = 'fore:'..text
lexers.STYLE_TYPE = 'fore:'..text
lexers.STYLE_VARIABLE = 'fore:'..text
lexers.STYLE_WHITESPACE = ''
lexers.STYLE_EMBEDDED = 'back:'..overlay
lexers.STYLE_IDENTIFIER = 'fore:'..text
lexers.STYLE_LINENUMBER = 'fore:'..subtle
lexers.STYLE_LINENUMBER_CURSOR = lexers.STYLE_LINENUMBER
lexers.STYLE_CURSOR = 'back:'..muted
lexers.STYLE_CURSOR_PRIMARY = lexers.STYLE_CURSOR..',fore:'..subtle
lexers.STYLE_CURSOR_LINE = 'underlined'
lexers.STYLE_COLOR_COLUMN = 'back:'..highlight_med
lexers.STYLE_SELECTION = 'back:'..highlight_med
lexers.STYLE_STATUS = 'back:'..base..',fore:'..muted
lexers.STYLE_STATUS_FOCUSED = 'back:'..overlay..',fore:'..text
lexers.STYLE_SEPARATOR = lexers.STYLE_DEFAULT
lexers.STYLE_INFO = 'fore:default,back:default'
lexers.STYLE_EOF = ''

View file

@ -11,7 +11,7 @@ plugins = {
local disable_formating = false local disable_formating = false
vis.events.subscribe(vis.events.INIT, function() vis.events.subscribe(vis.events.INIT, function()
require 'themes/minimal-light' require 'themes/rose-pine-dawn-colorless'
require 'plugins/commentary' require 'plugins/commentary'
vis:map(vis.modes.NORMAL, ',f', ':fzf<Enter>') vis:map(vis.modes.NORMAL, ',f', ':fzf<Enter>')

3
.zshrc
View file

@ -47,6 +47,7 @@ alias gco='git checkout'
alias gl='git log' alias gl='git log'
alias gs='git status' alias gs='git status'
alias ga='git add' alias ga='git add'
alias gap='git add -p'
alias gt='git tag' alias gt='git tag'
alias gp='git push' alias gp='git push'
alias gpo='git push origin' # Para tags: git push origin 1.0.2 / gpo 1.0.2 alias gpo='git push origin' # Para tags: git push origin 1.0.2 / gpo 1.0.2
@ -55,7 +56,9 @@ alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
alias gd='gitdf' alias gd='gitdf'
alias gdc='gitdf commit' alias gdc='gitdf commit'
alias gdcp='gitdf commit -p' alias gdcp='gitdf commit -p'
alias gdl='git log'
alias gda='gitdf add' alias gda='gitdf add'
alias gdap='gitdf add -p'
alias gds='gitdf status' alias gds='gitdf status'
alias gdp='gitdf push' alias gdp='gitdf push'