aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar pinoinha <matheusrbarros03@gmail.com> 2024-06-11 17:09:26 +0000
committerGravatar pinoinha <matheusrbarros03@gmail.com> 2024-06-11 17:09:26 +0000
commitbf575b81b5ac67b2908e3e20a1aff42371e4b303 (patch)
tree196b012c62f9fd276380302da2e168913aced272
parent8adece33bca406c64c4558b8d0b6c78b90945a0f (diff)
sertania com wide-mod
-rw-r--r--.Xresources53
-rw-r--r--.bashrc17
-rwxr-xr-x.profile85
-rw-r--r--.xinitrc34
-rw-r--r--foot/foot.ini61
-rw-r--r--kanata/akko.kbd61
6 files changed, 38 insertions, 273 deletions
diff --git a/.Xresources b/.Xresources
deleted file mode 100644
index c842ef0..0000000
--- a/.Xresources
+++ /dev/null
@@ -1,53 +0,0 @@
-! Mouse cursor size
-Xcursor.size: 48
-
-! scale DPI
-Xft.dpi: 150
-
-! font config
-Xft.autohint: 0
-Xft.antialias: 1
-Xft.hinting: 1
-Xft.hintstyle: hintslight
-
-! Colors
-*background: #101112
-*foreground: #f5f5f5
-*cursor.color: #ffffff
-
-! xterm config
-
-! sets the $TERM variable properly
-XTerm.termName: xterm-256color
-
-! ensures that xterm uses the system locale
-XTerm*locale: true
-
-! fixes Alt key
-XTerm*metaSendsEscape: true
-
-! fixes the backspace key
-XTerm*backarrowKey: false
-XTerm.ttyModes: erase ^?
-
-! blinking cursor
-XTerm*cursorBlink: true
-XTerm*cursorColor: #dfdfdf
-
-! font
-XTerm*faceName: Hack:style=Regular:size=16
-
-! keybindings
-! these NEED to have the 'vt100' identifier
-XTerm.vt100.translations: #override \n\
- Shift Ctrl <Key>U: scroll-back(1,halfpage) \n\
- Shift Ctrl <Key>D: scroll-forw(1,halfpage) \n\
- Shift <KeyPress> Insert:insert-selection(SELECT, CUT_BUFFER0) \n\
- Ctrl <Key>KP_Add: larger-vt-font() \n\
- Ctrl <Key>KP_Subtract: smaller-vt-font() \n\
- Ctrl <Key>0: set-vt-font(d) \n\
- Ctrl Shift <Key>C: copy-selection(CLIPBOARD) \n\
- Ctrl Shift <Key>V: insert-selection(CLIPBOARD) \n\
- Shift Ctrl <Key>Return: spawn-new-terminal() \n\
- <Btn1Up>: select-end(PRIMARY, CLIPBOARD, CUT_BUFFER0) \n\
- <Btn2Up>: insert-selection(PRIMARY)
diff --git a/.bashrc b/.bashrc
deleted file mode 100644
index 0611a4e..0000000
--- a/.bashrc
+++ /dev/null
@@ -1,17 +0,0 @@
-# If not running interactively, don't do anything
-[[ $- != *i* ]] && return
-
-alias ls='ls --color=auto'
-
-# Importando os aliases
-[ -f "$HOME/.config/aliases" ] && . "$HOME/.config/aliases"
-
-# Importando as variáveis de ambiente
-[ -f "$HOME/.config/env" ] && . "$HOME/.config/env"
-
-# Usa o bash-completion, se possível
-[[ $PS1 && -f /usr/share/bash-completion/bash_completion ]] && \
- . /usr/share/bash-completion/bash_completion
-
-# Lança o X automaticamente
-[ `tty` = '/dev/tty1' ] && startx
diff --git a/.profile b/.profile
deleted file mode 100755
index f54acfc..0000000
--- a/.profile
+++ /dev/null
@@ -1,85 +0,0 @@
-#!/bin/sh
-
-# Configuração das variáveis de ambiente
-
-# EDITOR
-export EDITOR="/usr/bin/vim"
-export VISUAL="/usr/bin/alacritty -e vim"
-export SUDO_EDITOR="/usr/bin/visudo"
-
-export SSH_ASKPASS="/usr/bin/pinentry-gtk-2"
-
-# runit
-export SVDIR="$HOME/.runit/runsvdir"
-
-# LESS options
-export LESS="-R"
-
-# PAGER
-export PAGER="less"
-
-# BROWSER
-export BROWSER="firefox"
-
-# BROWSER_CLI
-export BROWSER_CLI="w3m -T text/html -I UTF-8"
-
-# for custom dmenu scripts
-export DMENU_CMD="$HOME/bin/dmenu_wrapper"
-
-# fzf
-export FZF_DEFAULT_COMMAND='fd --hidden'
-
-# TERMINAL
-#export TERMINAL="/usr/bin/xterm"
-export TERMINAL="${TERMINAL:=/usr/bin/alacritty}"
-
-# XDG dirs
-export XDG_DATA_HOME="${XDG_DATA_HOME:="$HOME/.local/share"}"
-export XDG_CACHE_HOME="${XDG_CACHE_HOME:="$HOME/.cache"}"
-export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:="$HOME/.config"}"
-
-# Go path
-export GOPATH="$XDG_DATA_HOME/go"
-export GOBIN="$GOPATH/bin"
-
-# cargo
-export CARGO_HOME="$XDG_DATA_HOME/cargo"
-export CARGO_BIN="$CARGO_HOME/bin"
-
-# ruby
-export RUBYPATH="$XDG_DATA_HOME/gem/ruby/3.0.0/bin"
-
-# for java applications
-export _JAVA_AWT_WM_NONREPARENTING=1
-
-# rustup
-export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
-
-# weechat
-export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
-
-# GTK-2.0
-export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
-
-# gopass
-export PASSWORD_STORE_DIR="$HOME/.password-store"
-
-# shell history
-export HISTFILE="/tmp/.$(id -nu)-history"
-
-# CUDA
-export CUDA_CACHE_PATH="$XDG_CACHE_HOME"/nv
-
-# stack
-export STACK_ROOT="$XDG_DATA_HOME"/stack
-
-# man pages in /usr/local/man
-export MANPATH="/usr/local/man":$MANPATH
-
-# shell prompt
-export PS1="$(echo -e '\[\033[1;31m\][\[\033[1;34m\]$(id -nu)\[\033[1;33m\]@\[\033[1;35m\]$(hostname)\[\033[1;31m\]] \[\033[1;32m\]$(basename "$PWD" | sed "s,bombom,~,") \[\033[33m\]$\[\033[0m\] ')"
-
-export PATH="$HOME/bin":"$CARGO_BIN":"$GOBIN":"$RUBYPATH":$PATH
-
-. "/home/bombom/.local/share/cargo/env"
diff --git a/.xinitrc b/.xinitrc
deleted file mode 100644
index d5c95e4..0000000
--- a/.xinitrc
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-
-# chama o xresources
-[ -f "$HOME/.Xresources" ] && xrdb "$HOME/.Xresources"
-
-# mata qualquer instancia previa do kmonad
-pgrep -x kmonad && pkill -x kmonad
-
-# configuração do teclado
-[ -f "$HOME/.config/kmonad/ideapad.kbd" ] && kmonad "$HOME/.config/kmonad/ideapad.kbd" &
-
-# configuracao do akko
-[ -f "$HOME/.local/bin/akko_config" ] && . "$HOME/.local/bin/akko_config" &
-
-# Setta um wallpaper aleatorio
-wallpaper &
-
-# Inicializa o dunst
-dunst &
-
-# Inicializa o Redshift
-redshift &
-
-# Ativa o numlock
-numlockx &
-
-# esconde o mouse quando uma tecla é pressionada
-xbanish &
-
-# inicia o pulseaudio
-pulseaudio --start
-
-# lança o gerenciador de janelas (deve ser a última linha)
-exec herbstluftwm
diff --git a/foot/foot.ini b/foot/foot.ini
index 2709bef..a7028cb 100644
--- a/foot/foot.ini
+++ b/foot/foot.ini
@@ -60,6 +60,7 @@ protocols=http, https, ftp, ftps, file, gemini, gopher
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
[cursor]
+color=232136 e0def4
style=beam
# color=<inverse foreground/background>
blink=yes
@@ -75,47 +76,25 @@ blink=yes
[colors]
alpha=0.80
-background=0f111b
-foreground=ecf0c1
-
-# Normal/regular colors (color palette 0-7)
-regular0=101112 # black
-regular1=e33400 # red
-regular2=5ccc96 # green
-regular3=b3a1e6 # yellow
-regular4=00a3cc # blue
-regular5=f2ce00 # magenta
-regular6=7a5ccc # cyan
-regular7=686f9a # white
-
-## Bright colors (color palette 8-15)
-# bright0=616161 # bright black
-# bright1=ff4d51 # bright red
-# bright2=35d450 # bright green
-# bright3=e9e836 # bright yellow
-# bright4=5dc5f8 # bright blue
-# bright5=feabf2 # bright magenta
-# bright6=24dfc4 # bright cyan
-# bright7=ffffff # bright white
-
-## dimmed colors (see foot.ini(5) man page)
-# dim0=<not set>
-# ...
-# dim7=<not-set>
-
-## The remaining 256-color palette
-# 16 = <256-color palette #16>
-# ...
-# 255 = <256-color palette #255>
-
-## Misc colors
-# selection-foreground=<inverse foreground/background>
-# selection-background=<inverse foreground/background>
-# jump-labels=<regular0> <regular3> # black-on-yellow
-# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
-# search-box-no-match=<regular0> <regular1> # black-on-red
-# search-box-match=<regular0> <regular3> # black-on-yellow
-# urls=<regular3>
+background=232136
+foreground=e0def4
+regular0=393552 # black (Overlay)
+regular1=eb6f92 # red (Love)
+regular2=3e8fb0 # green (Pine)
+regular3=f6c177 # yellow (Gold)
+regular4=9ccfd8 # blue (Foam)
+regular5=c4a7e7 # magenta (Iris)
+regular6=ea9a97 # cyan (Rose)
+regular7=e0def4 # white (Text)
+
+bright0=393552 # bright black (Overlay)
+bright1=eb6f92 # bright red (Love)
+bright2=3e8fb0 # bright green (Pine)
+bright3=f6c177 # bright yellow (Gold)
+bright4=9ccfd8 # bright blue (Foam)
+bright5=c4a7e7 # bright magenta (Iris)
+bright6=ea9a97 # bright cyan (Rose)
+bright7=e0def4 # bright white (Text)
[csd]
# preferred=server
diff --git a/kanata/akko.kbd b/kanata/akko.kbd
index 4767364..9459528 100644
--- a/kanata/akko.kbd
+++ b/kanata/akko.kbd
@@ -62,19 +62,8 @@
lsft (one-shot-release 1000 lsft)
lctl (one-shot-release 1000 lctl)
- a (tap-hold-press 150 150 a @num)
+ ralt (tap-hold-press 150 150 ralt @num)
spc (tap-hold-press 150 150 spc @nav)
-
- ;; mouse
- mous (layer-switch mouse)
- mup (movemouse-up 10 10)
- mdn (movemouse-down 10 10)
- mlft (movemouse-left 10 10)
- mrgt (movemouse-right 10 10)
- mwup (mwheel-up 10 50)
- mwdn (mwheel-down 10 50)
- mlc (chord m-chords mlc)
- mrc (chord m-chords mrc)
)
(defchords chords 150
@@ -103,8 +92,8 @@
(v ) v
(q ) q
(. ) .
- (m ) m
(h ) h
+ (m ) m
(y ) y
(w ) w
@@ -140,24 +129,18 @@
(f d) +
(o e) S-8
(u i) S-7
- (@ccedilha m) S--
- (d h) -
+ (@ccedilha h) S--
+ (d m) -
(e y) /
(i w) S-\
)
-(defchords m-chords 500
- (mlc ) mlft
- (mrc ) mrgt
- (mlc mrc) mmid
-)
-
(deflayer sertania
esc f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 bspc grv
- tab x @l @c @p @b @k @f @o @u ' - = \
- caps s @r @t @n @, @ç @d @e @i @a / ret
- z j @g @v @q @. @m @h @y @w ; rsft
- @acc lmet lalt @spc ralt rctl
+ tab x @l @c @p @b - @k @f @o @u ' = \
+ caps s @r @t @n @, / @ç @d @e @i a ret
+ z j @g @v @q @. \ @h @m @y @w ;
+ @acc lmet lalt @spc @ralt rctl
)
(deflayer empty
@@ -170,32 +153,24 @@
(deflayer nav
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ pgup up pgdn _ _ _ _
- _ _ @lalt @lctl @lsft _ _ lft down rght _ _ _
- _ _ _ _ @lmet _ _ home _ end _ _
+ _ _ _ _ _ _ _ _ pgup up pgdn _ _ _
+ _ _ @lalt @lctl @lsft _ _ _ lft down rght _ _
+ _ _ _ _ @lmet _ _ _ home _ end _
_ _ _ _ _ _
)
(deflayer num
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ 9 8 7 _ _ _ _ _ _ _ _ _
- _ _ 6 5 4 _ _ @lsft @lctl @lalt _ _ _
- _ 3 2 1 0 _ _ @lmet _ _ _ _
+ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
+ _ _ 9 8 7 _ _ _ _ _ _ _ _ _
+ _ _ 6 5 4 _ _ _ _ @lsft @lctl @lalt _
+ _ 3 2 1 0 _ _ _ _ @lmet _ _
_ _ _ _ _ _
)
-(deflayer mouse
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ @mlc @mup @mrc _ _ _ _
- _ _ _ _ _ _ _ @mlft @mdn @mrgt _ _ _
- _ _ _ _ _ _ _ @mwup _ @mwdn _ _
- _ _ _ _ _ _
-)
-
(deflayer acentos
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- _ _ _ _ _ _ _ @í @é @ê @ú _ _ _
- _ _ @lalt @lctl @lsft _ _ @á @ã @à @â _ _
- _ _ _ _ @lmet _ _ @ó @ô @õ _ _
+ _ _ _ _ _ _ _ _ @í @é @ê @ú _ _
+ _ _ @lalt @lctl @lsft _ _ _ @á @ã @à @â _
+ _ _ _ _ @lmet _ _ _ @ó @ô @õ _
_ _ _ _ _ _
)