Compare commits

..

No commits in common. "master" and "codeium" have entirely different histories.

11 changed files with 571 additions and 320 deletions

View File

@ -1,84 +0,0 @@
# dynamic_title = true
general.live_config_reload = true
# render_timer = false
# tabspaces = 4
# "window.opacity" = 0.965
[bell]
animation = "EaseOutExpo"
duration = 0
[colors]
draw_bold_text_with_bright_colors = true
[colors.bright]
black = "0x585858"
blue = "0x7cafc2"
cyan = "0x1ABB9B"
green = "0x8D8F8D"
magenta = "0xba8baf"
red = "0xab4642"
white = "0xf8f8f8"
yellow = "0xf7ca88"
[colors.normal]
black = "0x222D31"
blue = "0x7cafc2"
cyan = "0x1ABB9B"
green = "0x7E807E"
magenta = "0xba8baf"
red = "0xab4642"
white = "0xd8d8d8"
yellow = "0xf7ca88"
[colors.primary]
background = "0x222D31"
foreground = "0xd8d8d8"
[cursor]
style = "Block"
unfocused_hollow = true
[env]
TERM = "xterm-256color"
[mouse]
hide_when_typing = false
[[mouse.bindings]]
action = "PasteSelection"
mouse = "Middle"
# [mouse.double_click]
#threshold = 300
# [mouse.triple_click]
# threshold = 300
[scrolling]
# auto_scroll = true
# faux_multiplier = 100
history = 10000
multiplier = 100
[selection]
save_to_clipboard = false
semantic_escape_chars = ",│`|:\"' ()[]{}<>"
[window]
decorations = "full"
[window.dimensions]
columns = 0
lines = 0
[window.padding]
x = 2
y = 2
[font]
normal = { family = "Hack Nerd Font", style = "Regular" }
bold = { family = "Hack Nerd Font", style = "Bold" }
italic = { family = "Hack Nerd Font", style = "Italic" }
bold_italic = { family = "Hack Nerd Font", style = "Bold Italic" }
size = 8

452
alacritty/alacritty.yml Normal file
View File

@ -0,0 +1,452 @@
# Configuration for Alacritty, the GPU enhanced terminal emulator.
# Any items in the `env` entry below will be added as
# environment variables. Some entries may override variables
# set by alacritty itself.
env:
# TERM variable
#
# This value is used to set the `$TERM` environment variable for
# each instance of Alacritty. If it is not present, alacritty will
# check the local terminfo database and use 'alacritty' if it is
# available, otherwise 'xterm-256color' is used.
TERM: xterm-256color
window:
# Window dimensions (changes require restart)
#
# Specified in number of columns/lines, not pixels.
# If both are `0`, this setting is ignored.
dimensions:
columns: 0
lines: 0
# Window padding (changes require restart)
#
# Blank space added around the window in pixels. This padding is not scaled
# by DPI and the specified value is always added at both opposing sides.
padding:
x: 2
y: 2
# Window decorations
#
# Values for `decorations`:
# - full: Borders and title bar
# - none: Neither borders nor title bar
decorations: full
scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
history: 10000
# Number of lines the viewport will move for every line scrolled when
# scrollback is enabled (history > 0).
multiplier: 100
# Faux Scrolling
#
# The `faux_multiplier` setting controls the number of lines the terminal
# should scroll when the alternate screen buffer is active. This is used
# to allow mouse scrolling for applications like `man`.
#
# Specifying `0` will disable faux scrolling.
faux_multiplier: 100
# Scroll to the bottom when new text is written to the terminal.
auto_scroll: true
# Spaces per Tab (changes require restart)
#
# This setting defines the width of a tab in cells.
#
# Some applications, like Emacs, rely on knowing about the width of a tab.
# To prevent unexpected behavior in these applications, it's also required to
# change the `it` value in terminfo when altering this setting.
tabspaces: 4
# Font configuration (changes require restart)
#
# Important font attributes like antialiasing, subpixel aa, and hinting can be
# controlled through fontconfig. Specifically, the following attributes should
# have an effect:
# - hintstyle
# - antialias
# - lcdfilter
# - rgba
#
# For instance, if you wish to disable subpixel antialiasing, you might set the
# rgba property to `none`. If you wish to completely disable antialiasing, you
# can set antialias to `false`.
#
# Please see these resources for more information on how to use fontconfig:
# - https://wiki.archlinux.org/index.php/font_configuration#Fontconfig_configuration
# - file:///usr/share/doc/fontconfig/fontconfig-user.html
#font:
# # Normal (roman) font face
# normal:
# family: Roboto Mono for Powerline
# # The `style` can be specified to pick a specific face.
# #style: Regular
#
# # Bold font face
# bold:
# family: Roboto Mono for Powerline
# # The `style` can be specified to pick a specific face.
# #style: Bold
#
# # Italic font face
# italic:
# family: Roboto Mono for Powerline
# # The `style` can be specified to pick a specific face.
# #style: Italic
#
# # Point size
# size: 12.0
#
# # Offset is the extra space around each character. `offset.y` can be thought of
# # as modifying the line spacing, and `offset.x` as modifying the letter spacing.
# offset:
# x: 0
# y: 0
#
# # Glyph offset determines the locations of the glyphs within their cells with
# # the default being at the bottom. Increasing `x` moves the glyph to the right,
# # increasing `y` moves the glyph upwards.
# glyph_offset:
# x: 0
# y: 0
#
# Scale the font size based on the monitor's DPI. This will lead to bigger text on HiDPI
# screens and make reading text a little easier.
# On X11 it is possible to change the DPI for each instance of alacritty by using
# `WINIT_HIDPI_FACTOR=1.0 alacritty` to scale the font.
#scale_with_dpi: true
# Display the time it takes to redraw each frame.
render_timer: false
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
# Colors (Manjaro i3wm)
colors:
primary:
background: '0x222D31'
foreground: '0xd8d8d8' #blanco
#foreground: '0x00cfa7' #verde
#foreground: '0x14c6cb' #azul neon
normal:
black: '0x222D31'
red: '0xab4642'
green: '0x7E807E'
yellow: '0xf7ca88'
blue: '0x7cafc2'
magenta: '0xba8baf'
cyan: '0x1ABB9B'
white: '0xd8d8d8'
bright:
black: '0x585858'
red: '0xab4642'
green: '0x8D8F8D'
yellow: '0xf7ca88'
blue: '0x7cafc2'
magenta: '0xba8baf'
cyan: '0x1ABB9B'
white: '0xf8f8f8'
# Visual Bell
#
# Any time the BEL code is received, Alacritty "rings" the visual bell. Once
# rung, the terminal background will be set to white and transition back to the
# default background color. You can control the rate of this transition by
# setting the `duration` property (represented in milliseconds). You can also
# configure the transition function by setting the `animation` property.
#
# Values for `animation`:
# - Ease
# - EaseOut
# - EaseOutSine
# - EaseOutQuad
# - EaseOutCubic
# - EaseOutQuart
# - EaseOutQuint
# - EaseOutExpo
# - EaseOutCirc
# - Linear
#
# Specifying a `duration` of `0` will disable the visual bell.
bell:
animation: EaseOutExpo
duration: 0
# Background opacity
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
# background_opacity: 0.965 # deprecated
window.opacity: 0.965
# Mouse bindings
#
# Available fields:
# - mouse
# - action
# - mods (optional)
#
# Values for `mouse`:
# - Middle
# - Left
# - Right
# - Numeric identifier such as `5`
#
# All available `mods` and `action` values are documented in the key binding
# section.
mouse_bindings:
- { mouse: Middle, action: PasteSelection }
mouse:
# Click settings
#
# The `double_click` and `triple_click` settings control the time
# alacritty should wait for accepting multiple clicks as one double
# or triple click.
double_click: { threshold: 300 }
triple_click: { threshold: 300 }
# If this is `true`, the cursor is temporarily hidden when typing.
hide_when_typing: false
#url:
# # URL launcher
# #
# # This program is executed when clicking on a text which is recognized as a URL.
# # The URL is always added to the command as the last parameter.
# launcher: xdg-open
# # URL modifiers
# #
# # These are the modifiers that need to be held down for opening URLs when clicking
# # on them. The available modifiers are documented in the key binding section.
# #modifiers: Control|Shift
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>"
# When set to `true`, selected text will be copied to both the primary and
# the selection clipboard. Otherwise, it will only be copied to the selection
# clipboard.
save_to_clipboard: false
dynamic_title: true
cursor:
# Cursor style
#
# Values for 'style':
# - ▇ Block
# - _ Underline
# - | Beam
style: Block
# If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused.
unfocused_hollow: true
# Live config reload (changes require restart)
live_config_reload: true
# Shell
#
# You can set `shell.program` to the path of your favorite shell, e.g. `/bin/fish`.
# Entries in `shell.args` are passed unmodified as arguments to the shell.
#shell:
# program: /usr/bin/zsh
# args:
# - --login
# Key bindings
#
# Key bindings are specified as a list of objects. Each binding will specify
# a key and modifiers required to trigger it, terminal modes where the binding
# is applicable, and what should be done when the key binding fires. It can
# either send a byte sequnce to the running application (`chars`), execute
# a predefined action (`action`) or fork and execute a specified command plus
# arguments (`command`).
#
# Example:
# `- { key: V, mods: Command, action: Paste }`
#
# Available fields:
# - key
# - mods (optional)
# - chars | action | command (exactly one required)
# - mode (optional)
#
# Values for `key`:
# - `A` -> `Z`
# - `F1` -> `F12`
# - `Key1` -> `Key0`
#
# A full list with available key codes can be found here:
# https://docs.rs/glutin/*/glutin/enum.VirtualKeyCode.html#variants
#
# Instead of using the name of the keys, the `key` field also supports using
# the scancode of the desired key. Scancodes have to be specified as a
# decimal number.
# This command will allow you to display the hex scancodes for certain keys:
# `showkey --scancodes`
#
# Values for `mods`:
# - Command
# - Control
# - Shift
# - Alt
#
# Multiple `mods` can be combined using `|` like this: `mods: Control|Shift`.
# Whitespace and capitalization is relevant and must match the example.
#
# Values for `chars`:
# The `chars` field writes the specified string to the terminal. This makes
# it possible to pass escape sequences.
# To find escape codes for bindings like `PageUp` ("\x1b[5~"), you can run
# the command `showkey -a` outside of tmux.
# Note that applications use terminfo to map escape sequences back to
# keys. It is therefore required to update the terminfo when
# changing an escape sequence.
#
# Values for `action`:
# - Paste
# - PasteSelection
# - Copy
# - IncreaseFontSize
# - DecreaseFontSize
# - ResetFontSize
# - ScrollPageUp
# - ScrollPageDown
# - ScrollToTop
# - ScrollToBottom
# - ClearHistory
# - Hide
# - Quit
#
# Values for `command`:
# The `command` field must be a map containing a `program` string and
# an `args` array of command line parameter strings.
#
# Example:
# `command: { program: "alacritty", args: ["-e", "vttest"] }`
#
# Values for `mode`:
# - ~AppCursor
# - AppCursor
# - ~AppKeypad
# - AppKeypad
#key_bindings:
# - { key: V, mods: Control|Shift, action: Paste }
# - { key: C, mods: Control|Shift, action: Copy }
# - { key: Paste, action: Paste }
# - { key: Copy, action: Copy }
# - { key: Q, mods: Command, action: Quit }
# - { key: W, mods: Command, action: Quit }
# - { key: Insert, mods: Shift, action: PasteSelection }
# - { key: Key0, mods: Control, action: ResetFontSize }
# - { key: Equals, mods: Control, action: IncreaseFontSize }
# - { key: Subtract, mods: Control, action: DecreaseFontSize }
# - { key: Home, chars: "\x1bOH", mode: AppCursor }
# - { key: Home, chars: "\x1b[H", mode: ~AppCursor }
# - { key: End, chars: "\x1bOF", mode: AppCursor }
# - { key: End, chars: "\x1b[F", mode: ~AppCursor }
# - { key: PageUp, mods: Shift, chars: "\x1b[5;2~" }
# - { key: PageUp, mods: Control, chars: "\x1b[5;5~" }
# - { key: PageUp, chars: "\x1b[5~" }
# - { key: PageDown, mods: Shift, chars: "\x1b[6;2~" }
# - { key: PageDown, mods: Control, chars: "\x1b[6;5~" }
# - { key: PageDown, chars: "\x1b[6~" }
# - { key: Tab, mods: Shift, chars: "\x1b[Z" }
# - { key: Back, chars: "\x7f" }
# - { key: Back, mods: Alt, chars: "\x1b\x7f" }
# - { key: Insert, chars: "\x1b[2~" }
# - { key: Delete, chars: "\x1b[3~" }
# - { key: Left, mods: Shift, chars: "\x1b[1;2D" }
# - { key: Left, mods: Control, chars: "\x1b[1;5D" }
# - { key: Left, mods: Alt, chars: "\x1b[1;3D" }
# - { key: Left, chars: "\x1b[D", mode: ~AppCursor }
# - { key: Left, chars: "\x1bOD", mode: AppCursor }
# - { key: Right, mods: Shift, chars: "\x1b[1;2C" }
# - { key: Right, mods: Control, chars: "\x1b[1;5C" }
# - { key: Right, mods: Alt, chars: "\x1b[1;3C" }
# - { key: Right, chars: "\x1b[C", mode: ~AppCursor }
# - { key: Right, chars: "\x1bOC", mode: AppCursor }
# - { key: Up, mods: Shift, chars: "\x1b[1;2A" }
# - { key: Up, mods: Control, chars: "\x1b[1;5A" }
# - { key: Up, mods: Alt, chars: "\x1b[1;3A" }
# - { key: Up, chars: "\x1b[A", mode: ~AppCursor }
# - { key: Up, chars: "\x1bOA", mode: AppCursor }
# - { key: Down, mods: Shift, chars: "\x1b[1;2B" }
# - { key: Down, mods: Control, chars: "\x1b[1;5B" }
# - { key: Down, mods: Alt, chars: "\x1b[1;3B" }
# - { key: Down, chars: "\x1b[B", mode: ~AppCursor }
# - { key: Down, chars: "\x1bOB", mode: AppCursor }
# - { key: F1, chars: "\x1bOP" }
# - { key: F2, chars: "\x1bOQ" }
# - { key: F3, chars: "\x1bOR" }
# - { key: F4, chars: "\x1bOS" }
# - { key: F5, chars: "\x1b[15~" }
# - { key: F6, chars: "\x1b[17~" }
# - { key: F7, chars: "\x1b[18~" }
# - { key: F8, chars: "\x1b[19~" }
# - { key: F9, chars: "\x1b[20~" }
# - { key: F10, chars: "\x1b[21~" }
# - { key: F11, chars: "\x1b[23~" }
# - { key: F12, chars: "\x1b[24~" }
# - { key: F1, mods: Shift, chars: "\x1b[1;2P" }
# - { key: F2, mods: Shift, chars: "\x1b[1;2Q" }
# - { key: F3, mods: Shift, chars: "\x1b[1;2R" }
# - { key: F4, mods: Shift, chars: "\x1b[1;2S" }
# - { key: F5, mods: Shift, chars: "\x1b[15;2~" }
# - { key: F6, mods: Shift, chars: "\x1b[17;2~" }
# - { key: F7, mods: Shift, chars: "\x1b[18;2~" }
# - { key: F8, mods: Shift, chars: "\x1b[19;2~" }
# - { key: F9, mods: Shift, chars: "\x1b[20;2~" }
# - { key: F10, mods: Shift, chars: "\x1b[21;2~" }
# - { key: F11, mods: Shift, chars: "\x1b[23;2~" }
# - { key: F12, mods: Shift, chars: "\x1b[24;2~" }
# - { key: F1, mods: Control, chars: "\x1b[1;5P" }
# - { key: F2, mods: Control, chars: "\x1b[1;5Q" }
# - { key: F3, mods: Control, chars: "\x1b[1;5R" }
# - { key: F4, mods: Control, chars: "\x1b[1;5S" }
# - { key: F5, mods: Control, chars: "\x1b[15;5~" }
# - { key: F6, mods: Control, chars: "\x1b[17;5~" }
# - { key: F7, mods: Control, chars: "\x1b[18;5~" }
# - { key: F8, mods: Control, chars: "\x1b[19;5~" }
# - { key: F9, mods: Control, chars: "\x1b[20;5~" }
# - { key: F10, mods: Control, chars: "\x1b[21;5~" }
# - { key: F11, mods: Control, chars: "\x1b[23;5~" }
# - { key: F12, mods: Control, chars: "\x1b[24;5~" }
# - { key: F1, mods: Alt, chars: "\x1b[1;6P" }
# - { key: F2, mods: Alt, chars: "\x1b[1;6Q" }
# - { key: F3, mods: Alt, chars: "\x1b[1;6R" }
# - { key: F4, mods: Alt, chars: "\x1b[1;6S" }
# - { key: F5, mods: Alt, chars: "\x1b[15;6~" }
# - { key: F6, mods: Alt, chars: "\x1b[17;6~" }
# - { key: F7, mods: Alt, chars: "\x1b[18;6~" }
# - { key: F8, mods: Alt, chars: "\x1b[19;6~" }
# - { key: F9, mods: Alt, chars: "\x1b[20;6~" }
# - { key: F10, mods: Alt, chars: "\x1b[21;6~" }
# - { key: F11, mods: Alt, chars: "\x1b[23;6~" }
# - { key: F12, mods: Alt, chars: "\x1b[24;6~" }
# - { key: F1, mods: Super, chars: "\x1b[1;3P" }
# - { key: F2, mods: Super, chars: "\x1b[1;3Q" }
# - { key: F3, mods: Super, chars: "\x1b[1;3R" }
# - { key: F4, mods: Super, chars: "\x1b[1;3S" }
# - { key: F5, mods: Super, chars: "\x1b[15;3~" }
# - { key: F6, mods: Super, chars: "\x1b[17;3~" }
# - { key: F7, mods: Super, chars: "\x1b[18;3~" }
# - { key: F8, mods: Super, chars: "\x1b[19;3~" }
# - { key: F9, mods: Super, chars: "\x1b[20;3~" }
# - { key: F10, mods: Super, chars: "\x1b[21;3~" }
# - { key: F11, mods: Super, chars: "\x1b[23;3~" }
# - { key: F12, mods: Super, chars: "\x1b[24;3~" }
#

View File

@ -1,58 +0,0 @@
#!/bin/bash
#
# Detecta os monitores conectados e configura o xrandr
# NOTA: solo sirve para executar a man, o udev non se entera usando xrandr
# Función para verificar a cantidade de monitores conectados
check_monitors() {
connected_monitors=$(xrandr --query | grep " connected" | wc -l)
echo "$connected_monitors"
}
# Configuracion para un monitor
single_monitor() {
xrandr --output eDP --primary --mode 1920x1200 --pos 0x0 --rotate normal \
--output HDMI-A-0 --off --output DisplayPort-0 --off \
--output DisplayPort-1 --off \
--output DisplayPort-2 --off \
--output DisplayPort-3 --off \
--output DisplayPort-4 --off \
--output DisplayPort-5 --off \
--output DisplayPort-6 --off \
--output DisplayPort-7 --off \
--output DisplayPort-8 --off \
--output DisplayPort-9 --off \
--output DisplayPort-10 --off \
--output DisplayPort-11 --off \
--output DisplayPort-12 --off
}
# Configuracion para dos monitores
dual_monitor() {
xrandr --output eDP-1 --mode 1920x1080 --pos 192x1080 --rotate normal \
--output HDMI-2 --mode 2560x1080 --pos 0x0 --rotate normal
}
# Configuracion para multiples monitores
multi_monitor() {
display_ports=$(xrandr --query | grep "DisplayPort" | grep " connected" | cut -d" " -f1)
monitor_izquierdo=$(echo $display_ports | cut -d" " -f1)
monitor_derecho=$(echo $display_ports | cut -d" " -f2)
xrandr \
--output eDP --auto --pos 863x1080 --rotate normal \
--output $monitor_izquierdo --auto --pos 0x0 --rotate normal \
--output $monitor_derecho --auto --pos 1920x0 --rotate normal
}
current_monitors=$(check_monitors)
if [ "$current_monitors" -eq 1 ]; then
# Solo monitor do portatil
single_monitor
elif [ "$current_monitors" -eq 1 ]; then
# Monitor do portatil e monitor externo (casa)
dual_monitor
else
# Multiples monitores conectados (oficina)
multi_monitor
fi

View File

@ -1 +0,0 @@
set -gx EDITOR /usr/bin/nvim

View File

@ -3,6 +3,7 @@ local lsp = require("lsp-zero")
lsp.preset("recommended")
lsp.ensure_installed({
'tsserver',
'rust_analyzer',
'jedi_language_server',
'gopls',
@ -21,24 +22,6 @@ lsp.configure('lua-language-server', {
}
})
lsp.configure('rust_analyzer', {
settings = {
["rust-analyzer"] = {
diagnostics = {
enable = true
},
checkOnSave = {
enable = true
},
procMacro = {
enable = true
},
cargo = {
allFeatures = true
}
}
}
})
local cmp = require('cmp')
local cmp_select = {behavior = cmp.SelectBehavior.Select}
@ -73,7 +56,7 @@ lsp.setup_nvim_cmp({
sources = {
-- AI sources
-- { name = 'copilot' },
-- { name = 'codeium' },
{ name = 'codeium' },
-- Other sources
{ name = 'nvim_lsp' },
{ name = 'buffer' },

View File

@ -14,6 +14,3 @@ vim.api.nvim_create_autocmd(
end,
}
)
-- codeium
-- vim.g.codeium_enabled = false

View File

@ -33,13 +33,7 @@ return require('packer').startup(function(use)
use("theprimeagen/harpoon")
use("theprimeagen/refactoring.nvim")
use("mbbill/undotree")
use({
"kdheepak/lazygit.nvim",
-- optional for floating window border decoration
requires = {
"nvim-lua/plenary.nvim",
},
})
use("tpope/vim-fugitive")
use("nvim-treesitter/nvim-treesitter-context");
use {
@ -76,12 +70,23 @@ return require('packer').startup(function(use)
-- }
-- use("CopilotC-Nvim/CopilotChat.nvim")
--
-- use("Exafunction/codeium.vim")
use {
"Exafunction/codeium.nvim",
requires = {
"nvim-lua/plenary.nvim",
"hrsh7th/nvim-cmp",
},
config = function()
require("codeium").setup({
enable_chat = true,
})
end
}
--
use("eandrju/cellular-automaton.nvim")
-- use("laytan/cloak.nvim")
use("terrortylor/nvim-comment")
use {'akinsho/bufferline.nvim', tag = "*", requires = 'kyazdani42/nvim-web-devicons'}
use {'akinsho/bufferline.nvim', tag = "v3.*", requires = 'kyazdani42/nvim-web-devicons'}
use({
'nvim-lualine/lualine.nvim',
requires = { 'kyazdani42/nvim-web-devicons', opt = true }

View File

@ -57,6 +57,3 @@ vim.keymap.set("n", "tk", ":bnext<CR>")
vim.keymap.set("n", "tj", ":bprev<CR>")
vim.keymap.set("n", "th", ":bfirst<CR>")
vim.keymap.set("n", "tl", ":blast<CR>")
-- Lazygit
vim.keymap.set("n", "<leader>gg", ":LazyGit<CR>")

View File

@ -110,7 +110,7 @@ font-3 = "Noto Sans Mono:size=10;0"
modules-left = ewmh xwindow
#modules-center = xwindow
modules-right = memory3 cpu1 temperature2 battery date
modules-right = memory3 cpu1 temperature2 date
tray-detached = false
tray-offset-x = 0
@ -501,46 +501,4 @@ label-maxlen = 50
format-foreground = ${colors.foreground}
format-background = ${colors.background}
################################################################################
[module/battery]
;https://github.com/jaagr/polybar/wiki/Module:-battery
type = internal/battery
battery = BAT0
adapter = AC0
full-at = 100
format-charging = <animation-charging> <label-charging>
label-charging = %percentage%%
format-charging-foreground = ${colors.foreground}
format-charging-background = ${colors.background}
format-charging-underline = #a3c725
format-discharging = <ramp-capacity> <label-discharging>
label-discharging = %percentage%%
format-discharging-underline = #c7ae25
format-discharging-foreground = ${colors.foreground}
format-discharging-background = ${colors.background}
format-full-prefix = " "
format-full-prefix-foreground = #a3c725
format-full-underline = #a3c725
format-foreground = ${colors.foreground}
format-background = ${colors.background}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-foreground = #c7ae25
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-foreground = #a3c725
animation-charging-framerate = 750
###############################################################################

View File

@ -2,7 +2,7 @@
# Spectrwm autostart script
setxkbmap es
setxkbmap es intl
setxkbmap -option caps:escape # mapea caps a escape
#setxkbmap -option # restaura o mapeo anterior - recordatorio
@ -19,6 +19,3 @@ udiskie --no-automount --tray &
# gajim &
#redshift -l 43.0:-7.5 -t 5700:3600 -g 0.8 -m randr &
nextcloud &
[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources

View File

@ -36,115 +36,117 @@ bar_color_selected[1] = rgb:00/80/80
bar_delay = 1
bar_font_color[1] = rgb:bb/c5/ff, rgb:e1/ac/ff, rgb:dd/ff/a7, rgb:ff/8b/92, rgb:ff/e5/85, rgb:89/dd/ff
bar_font_color_selected = black
bar_font = Noto-Sans-fonts:size=11 awesome-terminal-fonts:size=11 NotoMonoRegular:bold:size=14'
bar_justify = center
bar_format = +N:+I +S (+D) | +A
workspace_indicator = listcurrent,listactive,markcurrent,printnames
bar_at_bottom = 0
stack_enabled = 1
clock_enabled = 0
clock_format = %a %b %d %R %Z %Y
iconic_enabled = 0
maximize_hide_bar = 0
window_class_enabled = 1
window_instance_enabled = 1
window_name_enabled = 1
verbose_layout = 1
urgent_enabled = 1
bar_font = Noto-Sans-fonts:size=11 awesome-terminal-fonts:size=11 NotoMonoRegular:bold:size=14'
bar_justify = center
bar_format = +N:+I +S (+D) | +A
workspace_indicator = listcurrent,listactive,markcurrent,printnames
bar_at_bottom = 0
stack_enabled = 1
clock_enabled = 0
clock_format = %a %b %d %R %Z %Y
iconic_enabled = 0
maximize_hide_bar = 0
window_class_enabled = 1
window_instance_enabled = 1
window_name_enabled = 1
verbose_layout = 1
urgent_enabled = 1
# Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
# # dialog_ratio = 0.6
#
# # Split a non-RandR dual head setup into one region per monitor
# # (non-standard driver-based multihead is not seen by spectrwm)
# # region = screen[1]:1280x1024+0+0
# # region = screen[1]:1280x1024+1280+0
# Dialog box size ratio when using TRANSSZ quirk; 0.3 < dialog_ratio <= 1.0
# # dialog_ratio = 0.6
#
# # Split a non-RandR dual head setup into one region per monitor
# # (non-standard driver-based multihead is not seen by spectrwm)
# # region = screen[1]:1280x1024+0+0
# # region = screen[1]:1280x1024+1280+0
# ------------------------------- Workspaces -------------------------------
# ------------------------------- Workspaces -------------------------------
# Get the icons at https://www.nerdfonts.com/cheat-sheet (you need a Nerd Font)
name = ws[1]:1
name = ws[2]:2
name = ws[3]:3
name = ws[4]:4
name = ws[5]:5
name = ws[6]:6
name = ws[7]:7
name = ws[8]:8
name = ws[9]:9
# Get the icons at https://www.nerdfonts.com/cheat-sheet (you need a Nerd Font)
name = ws[1]:1
name = ws[2]:2
name = ws[3]:3
name = ws[4]:4
name = ws[5]:5
name = ws[6]:6
name = ws[7]:7
name = ws[8]:8
name = ws[9]:9
# ---------------------------------- Keys ----------------------------------
# ---------------------------------- Keys ----------------------------------
modkey = Mod4
modkey = Mod4
# ---------------- Windows -----------------
# ---------------- Windows -----------------
# Switch between windows in current stack pane
bind[focus_next] = MOD+j
bind[focus_prev] = MOD+k
# Change window sizes
bind[master_grow] = MOD+Shift+l
bind[master_shrink] = MOD+Shift+h
# Toggle floating
bind[float_toggle] = MOD+Shift+f
# Toggle fullscreen
bind[maximize_toggle] = MOD+f
# Move windows up or down in current stack
bind[swap_next] = MOD+Shift+j
bind[swap_prev] = MOD+Shift+k
# Toggle between layouts
bind[cycle_layout] = MOD+Tab
# Kill window
bind[wind_del] = MOD+w
# Focus next/prev monitor
bind[rg_next] = MOD+period
bind[rg_prev] = MOD+comma
# Restart
bind[restart] = MOD+Control+r
# Quit
bind[quit] = MOD+Control+q
# Switch between windows in current stack pane
bind[focus_next] = MOD+j
bind[focus_prev] = MOD+k
# Change window sizes
bind[master_grow] = MOD+Shift+l
bind[master_shrink] = MOD+Shift+h
# Toggle floating
bind[float_toggle] = MOD+Shift+f
# Move windows up or down in current stack
bind[swap_next] = MOD+Shift+j
bind[swap_prev] = MOD+Shift+k
# Toggle between layouts
bind[cycle_layout] = MOD+Tab
# Kill window
bind[wind_del] = MOD+w
# Focus next/prev monitor
bind[rg_next] = MOD+period
bind[rg_prev] = MOD+comma
# Restart
bind[restart] = MOD+Control+r
# Quit
bind[quit] = MOD+Control+q
# --------------- Workspaces ---------------
# --------------- Workspaces ---------------
# Go to workspace N
bind[ws_1] = MOD+1
bind[ws_2] = MOD+2
bind[ws_3] = MOD+3
bind[ws_4] = MOD+4
bind[ws_5] = MOD+5
bind[ws_6] = MOD+6
bind[ws_7] = MOD+7
bind[ws_8] = MOD+8
bind[ws_9] = MOD+9
# Go to workspace N
bind[ws_1] = MOD+1
bind[ws_2] = MOD+2
bind[ws_3] = MOD+3
bind[ws_4] = MOD+4
bind[ws_5] = MOD+5
bind[ws_6] = MOD+6
bind[ws_7] = MOD+7
bind[ws_8] = MOD+8
bind[ws_9] = MOD+9
# Move window to workspace N
bind[mvws_1] = MOD+Shift+1
bind[mvws_2] = MOD+Shift+2
bind[mvws_3] = MOD+Shift+3
bind[mvws_4] = MOD+Shift+4
bind[mvws_5] = MOD+Shift+5
bind[mvws_6] = MOD+Shift+6
bind[mvws_7] = MOD+Shift+7
bind[mvws_8] = MOD+Shift+8
bind[mvws_9] = MOD+Shift+9
# Move window to workspace N
bind[mvws_1] = MOD+Shift+1
bind[mvws_2] = MOD+Shift+2
bind[mvws_3] = MOD+Shift+3
bind[mvws_4] = MOD+Shift+4
bind[mvws_5] = MOD+Shift+5
bind[mvws_6] = MOD+Shift+6
bind[mvws_7] = MOD+Shift+7
bind[mvws_8] = MOD+Shift+8
bind[mvws_9] = MOD+Shift+9
# Send workspace to next / prev screen
# bind[rg_move_next] = MOD+Control+j
# bind[rg_move_prev] = MOD+Control+k
# Send workspace to next / prev screen
# bind[rg_move_next] = MOD+Control+j
# bind[rg_move_prev] = MOD+Control+k
# ------------------ Apps ------------------
# ------------------ Apps ------------------
# Menu
# Menu
program[menu] = dmenu_run -fn 'Noto Sans Mono:size=15'
bind[menu] = MOD+p
program[rofi] = rofi -show drun
bind[rofi] = MOD+space
# Nav
program[nav] = rofi -show
bind[nav] = MOD+Shift+space
# Terminal
#program[kitty] = sh -c 'unset LD_PRELOAD; kitty'
program[kitty] = sh -c 'unset LD_PRELOAD; alacritty'
bind[kitty] = MOD+Shift+Return
#program[xterm] = xterm
#bind[xterm] = MOD+Shift+Return
# program[alacritty] = alacritty
program[st] = st
bind[st] = MOD+Shift+Return
# Powermenu
program[powermenu] = ~/bin/power
@ -155,22 +157,25 @@ bind[powermenu] = MOD+Shift+q
# #!/bin/sh
# xdotool key super+b
# polybar-msg cmd toggle
#program[toggle_bars] = ~/bin/hide-polybar.sh
#bind[toggle_bars] = MOD+Shift+b
program[toggle_bars] = ~/bin/hide-polybar.sh
bind[toggle_bars] = MOD+Shift+b
# File explorer
program[pcmanfm] = pcmanfm
bind[pcmanfm] = MOD+e
# Redshift
program[redon] = redshift -O 2400
bind[redon] = MOD+r
program[redoff] = redshift -x
bind[redoff] = MOD+Shift+r
# Screenshot
program[flameshot] = flameshot gui
bind[flameshot] = MOD+s
program[flameshot-screen] = flameshot screen -c
bind[flameshot-screen] = MOD+Shift+s
# Lock
program[lock] = ~/bin/blurlock
# ---------------- Hardware ----------------
# Volume