Compare commits
No commits in common. "ecabff30f51b19f31fd71920290265d1752cfb4e" and "8879ebd80fc82c2e15aa73d96ff2d06948159be3" have entirely different histories.
ecabff30f5
...
8879ebd80f
37 changed files with 1131 additions and 60 deletions
11
.bash_profile
Executable file
11
.bash_profile
Executable file
|
@ -0,0 +1,11 @@
|
|||
. ~/.profile
|
||||
if ! "$REMOTE" && test "$(tty)" = /dev/tty1; then
|
||||
mkdir -p "$HOME/.local/share/river"
|
||||
log="$HOME/.local/share/river/$(date +%Y-%m-%d@%H:%M:%S).log"
|
||||
exec env \
|
||||
XDG_CURRENT_DESKTOP=river \
|
||||
XDG_SESSION_DESKTOP=river \
|
||||
dbus-run-session river -log-level debug >"$log" 2>&1
|
||||
fi
|
||||
. ~/.bashrc
|
||||
|
52
.bashrc
Normal file
52
.bashrc
Normal file
|
@ -0,0 +1,52 @@
|
|||
source ~/.profile
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# History config
|
||||
export HISTSIZE=10000
|
||||
export HISTFILESIZE=10000
|
||||
shopt -s histappend # Append to history file instead of overwriting
|
||||
shopt -s cmdhist # Write a multi line command in a single line
|
||||
PROMPT_COMMAND="history -a;$PROMPT_COMMAND" # Save history on every command
|
||||
|
||||
stty -ixon # Make bash receive C-s for history search
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Aliases
|
||||
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
|
||||
alias ssh='TERM=xterm-256color ssh'
|
||||
alias e="$EDITOR"
|
||||
alias r="trash -r"
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# Notify terminal of current working directory
|
||||
# https://codeberg.org/dnkl/foot/wiki#user-content-bash-and-zsh
|
||||
_urlencode() {
|
||||
local length="${#1}"
|
||||
for (( i = 0; i < length; i++ )); do
|
||||
local c="${1:$i:1}"
|
||||
case $c in
|
||||
%) printf '%%%02X' "'$c" ;;
|
||||
*) printf "%s" "$c" ;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
|
||||
osc7_cwd() {
|
||||
printf '\e]7;file://%s%s\e\\' "$HOSTNAME" "$(_urlencode "$PWD")"
|
||||
}
|
||||
|
||||
if ! "$REMOTE"; then
|
||||
PROMPT_COMMAND="osc7_cwd;$PROMPT_COMMAND"
|
||||
fi
|
||||
|
||||
# ------------------------------------------------------------------------------
|
||||
# GPG SSH agent
|
||||
if ! "$REMOTE"; then
|
||||
unset SSH_AGENT_PID
|
||||
if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
||||
# Start if not started
|
||||
gpg-agent --daemon 2>/dev/null
|
||||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
fi
|
||||
fi
|
||||
|
|
@ -1 +0,0 @@
|
|||
/home/diablo/.cache/themer.lua/fnott
|
BIN
.config/fnott/juntos.mp3
Normal file
BIN
.config/fnott/juntos.mp3
Normal file
Binary file not shown.
|
@ -1,16 +0,0 @@
|
|||
[scrollback]
|
||||
lines = 10000
|
||||
|
||||
[mouse]
|
||||
hide-when-typing=yes
|
||||
|
||||
[main]
|
||||
font=monospace:pixelsize=22
|
||||
line-height=33px
|
||||
vertical-letter-offset=3px
|
||||
|
||||
pad=4x4
|
||||
|
||||
initial-window-size-chars=120x24
|
||||
|
||||
include = ~/.cache/themer.lua/foot
|
26
.config/mpd/mpd.conf
Normal file
26
.config/mpd/mpd.conf
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Read the user manual for documentation: http://www.musicpd.org/doc/user/
|
||||
|
||||
playlist_directory "~/.mpd/playlists"
|
||||
db_file "~/.mpd/database"
|
||||
state_file "~/.mpd/state"
|
||||
sticker_file "~/.mpd/sticker.sql"
|
||||
|
||||
log_file "syslog"
|
||||
|
||||
bind_to_address "~/.mpd/socket"
|
||||
restore_paused "yes"
|
||||
save_absolute_paths_in_playlists "yes"
|
||||
#
|
||||
# This setting defines a list of tag types that will be extracted during the
|
||||
# audio file discovery process. The complete list of possible values can be
|
||||
# found in the user manual.
|
||||
#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc"
|
||||
|
||||
audio_output {
|
||||
type "pulse"
|
||||
name "My Pulse Output"
|
||||
}
|
||||
|
||||
|
||||
replaygain "auto"
|
||||
#volume_normalization "no"
|
BIN
.config/river/boyfriends-ships.png
Normal file
BIN
.config/river/boyfriends-ships.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 157 KiB |
BIN
.config/river/boyfriends-ships2.png
Normal file
BIN
.config/river/boyfriends-ships2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 511 KiB |
|
@ -1 +0,0 @@
|
|||
-l -34.61315 -L -58.37723
|
33
.config/river/init
Executable file
33
.config/river/init
Executable file
|
@ -0,0 +1,33 @@
|
|||
#!/bin/sh
|
||||
|
||||
dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=river
|
||||
riverctl spawn "pgrep -x pipewire >/dev/null || pipewire"
|
||||
riverctl spawn "/usr/libexec/xdg-desktop-portal-wlr"
|
||||
|
||||
~/.config/river/load-colors
|
||||
|
||||
brillo -I
|
||||
riverctl spawn "pgrep -x foot >/dev/null || foot --server"
|
||||
if test -f ~/.config/river/coordenadas; then
|
||||
riverctl spawn "pgrep -x wlsunset >/dev/null || wlsunset $(cat ~/.config/river/coordenadas)"
|
||||
else
|
||||
echo "¡Falta ~/.config/river/coordenadas!"
|
||||
fi
|
||||
riverctl spawn "pgrep -x syncthing >/dev/null || syncthing -no-browser"
|
||||
# yambar spawned by load-colors
|
||||
riverctl spawn "pgrep -x kanshi >/dev/null || kanshi"
|
||||
|
||||
riverctl set-repeat 30 290
|
||||
|
||||
riverctl xcursor-theme Adwaita
|
||||
|
||||
riverctl focus-follows-cursor normal
|
||||
|
||||
riverctl float-filter-add title Picture-in-Picture
|
||||
riverctl float-filter-add title "Firefox — Sharing Indicator"
|
||||
riverctl float-filter-add app-id fzf
|
||||
|
||||
~/.config/river/keys
|
||||
|
||||
riverctl spawn "pgrep -x stacktile >/dev/null || stacktile --per-tag-config --drop-empty-configs --primary-sublayout=stack --inner-padding=0 --outer-padding=0"
|
||||
riverctl default-layout stacktile
|
120
.config/river/keys
Executable file
120
.config/river/keys
Executable file
|
@ -0,0 +1,120 @@
|
|||
#!/bin/sh
|
||||
|
||||
mod="Mod4" # Super
|
||||
|
||||
riverctl map normal $mod Q close
|
||||
|
||||
riverctl map normal $mod+Shift E exit
|
||||
|
||||
riverctl map normal $mod J focus-view next
|
||||
riverctl map normal $mod K focus-view previous
|
||||
|
||||
riverctl map normal $mod+Shift J swap next
|
||||
riverctl map normal $mod+Shift K swap previous
|
||||
|
||||
riverctl map normal None Super_L spawn "killall -SIGUSR1 river-tag-overlay"
|
||||
|
||||
# Mod+Period and Mod+Comma to focus the next/previous output
|
||||
#riverctl map normal $mod Period focus-output next
|
||||
#riverctl map normal $mod Comma focus-output previous
|
||||
|
||||
# Mod+Shift+{Period,Comma} to send the focused view to the next/previous output
|
||||
#riverctl map normal $mod+Shift Period send-to-output next
|
||||
#riverctl map normal $mod+Shift Comma send-to-output previous
|
||||
|
||||
riverctl map normal $mod Return zoom
|
||||
|
||||
riverctl map normal $mod H send-layout-cmd stacktile "primary_ratio -0.05"
|
||||
riverctl map normal $mod L send-layout-cmd stacktile "primary_ratio +0.05"
|
||||
riverctl map normal $mod+Shift H send-layout-cmd stacktile "primary_count +1"
|
||||
riverctl map normal $mod+Shift L send-layout-cmd stacktile "primary_count -1"
|
||||
|
||||
riverctl declare-mode move-resize
|
||||
riverctl map normal $mod R enter-mode move-resize
|
||||
|
||||
riverctl map move-resize $mod R enter-mode normal
|
||||
riverctl map move-resize None Escape enter-mode normal
|
||||
riverctl map move-resize None Return enter-mode normal
|
||||
|
||||
riverctl map move-resize None H move left 100
|
||||
riverctl map move-resize None J move down 100
|
||||
riverctl map move-resize None K move up 100
|
||||
riverctl map move-resize None L move right 100
|
||||
|
||||
riverctl map move-resize Control H snap left
|
||||
riverctl map move-resize Control J snap down
|
||||
riverctl map move-resize Control K snap up
|
||||
riverctl map move-resize Control L snap right
|
||||
|
||||
riverctl map move-resize Shift H resize horizontal -100
|
||||
riverctl map move-resize Shift J resize vertical 100
|
||||
riverctl map move-resize Shift K resize vertical -100
|
||||
riverctl map move-resize Shift L resize horizontal 100
|
||||
|
||||
riverctl map-pointer normal $mod BTN_LEFT move-view
|
||||
riverctl map-pointer normal $mod BTN_RIGHT resize-view
|
||||
|
||||
define_tag() {
|
||||
riverctl map normal $mod $2 set-focused-tags $1
|
||||
riverctl map normal $mod+Shift $2 set-view-tags $1
|
||||
riverctl map normal $mod+Alt $2 toggle-focused-tags $1
|
||||
riverctl map normal $mod+Shift+Alt $2 toggle-view-tags $1
|
||||
}
|
||||
|
||||
define_tag $((1 << 0)) Z
|
||||
define_tag $((1 << 1)) X
|
||||
define_tag $((1 << 2)) C
|
||||
define_tag $((1 << 3)) B
|
||||
define_tag $((1 << 4)) N
|
||||
define_tag $((1 << 5)) M
|
||||
define_tag $((1 << 6)) less
|
||||
define_tag $((1 << 7)) greater
|
||||
define_tag $((1 << 8)) question
|
||||
|
||||
all_tags=$(((1 << 32) - 1))
|
||||
riverctl map normal $mod 0 set-focused-tags $all_tags
|
||||
riverctl map normal $mod+Shift 0 set-view-tags $all_tags
|
||||
|
||||
riverctl map normal $mod Space toggle-float
|
||||
riverctl map normal $mod G toggle-fullscreen
|
||||
|
||||
riverctl map normal $mod Up send-layout-cmd stacktile "primary_position top"
|
||||
riverctl map normal $mod Right send-layout-cmd stacktile "primary_position right"
|
||||
riverctl map normal $mod Down send-layout-cmd stacktile "primary_position bottom"
|
||||
riverctl map normal $mod Left send-layout-cmd stacktile "primary_position left"
|
||||
riverctl map normal $mod H send-layout-cmd stacktile "all_primary toggle"
|
||||
|
||||
riverctl declare-mode passthrough
|
||||
riverctl map normal $mod F11 enter-mode passthrough
|
||||
|
||||
riverctl map passthrough $mod F11 enter-mode normal
|
||||
|
||||
riverctl map normal $mod grave spawn 'pamixer --default-source --toggle-mute'
|
||||
|
||||
riverctl map normal $mod A spawn 'fnottctl actions'
|
||||
riverctl map normal $mod S spawn 'fnottctl dismiss'
|
||||
|
||||
for mode in normal locked
|
||||
do
|
||||
# https://github.com/cdemoulins/pamixer
|
||||
riverctl map $mode None XF86AudioRaiseVolume spawn 'pamixer -i 5'
|
||||
riverctl map $mode None XF86AudioLowerVolume spawn 'pamixer -d 5'
|
||||
riverctl map $mode None XF86AudioMute spawn 'pamixer --toggle-mute'
|
||||
riverctl map $mode None XF86AudioMicMute spawn 'pamixer --default-source --toggle-mute'
|
||||
|
||||
# https://github.com/altdesktop/playerctl
|
||||
riverctl map $mode None XF86AudioMedia spawn 'playerctl play-pause'
|
||||
riverctl map $mode None XF86AudioPlay spawn 'playerctl play-pause'
|
||||
riverctl map $mode None XF86AudioPrev spawn 'playerctl previous'
|
||||
riverctl map $mode None XF86AudioNext spawn 'playerctl next'
|
||||
|
||||
riverctl map $mode None XF86MonBrightnessUp spawn 'brillo -A 5; brillo -O'
|
||||
riverctl map $mode None XF86MonBrightnessDown spawn 'brillo -U 5; brillo -O'
|
||||
done
|
||||
|
||||
riverctl map normal $mod+Shift N spawn lock
|
||||
riverctl map normal $mod+Shift M spawn 'lock && doas pm-suspend'
|
||||
riverctl map normal $mod I spawn footclient
|
||||
riverctl map normal $mod U spawn fuzzel-run
|
||||
riverctl map normal $mod backslash spawn buscar-archivos
|
||||
riverctl map normal None Print spawn 'grimshot copy area'
|
14
.config/river/load-colors
Executable file
14
.config/river/load-colors
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
. ~/.config/river/colors
|
||||
|
||||
riverctl background-color 0x$background
|
||||
riverctl border-color-focused 0x$border_focused
|
||||
riverctl border-color-unfocused 0x$border_unfocused
|
||||
riverctl border-width 5
|
||||
riverctl spawn 'killall yambar ; yambar'
|
||||
|
||||
riverctl spawn "killall fnott >/dev/null ; fnott"
|
||||
|
||||
if test -n "$bg"; then
|
||||
riverctl spawn "killall swaybg ; swaybg --image '$bg'"
|
||||
fi
|
|
@ -1,5 +1,3 @@
|
|||
include ~/.cache/themer.lua/sway-colors
|
||||
|
||||
### Variables
|
||||
#
|
||||
set $mod Mod4
|
||||
|
@ -32,11 +30,11 @@ output * bg "~/Pictures/crash-novyj-albom-charli-xcx.jpg" fill
|
|||
# Example configuration:
|
||||
#
|
||||
exec swayidle -w \
|
||||
timeout 300 'lock' \
|
||||
timeout 300 'swaylock -f -c ffffff' \
|
||||
timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
before-sleep 'lock'
|
||||
bindsym $mod+m exec lock
|
||||
bindsym $mod+Shift+m exec "lock && doas su -c 'echo mem > /sys/power/state'"
|
||||
before-sleep 'swaylock -f -c ffffff'
|
||||
bindsym $mod+m exec swaylock
|
||||
bindsym $mod+Shift+m exec "swaylock -f && doas su -c 'echo mem > /sys/power/state'"
|
||||
|
||||
### Input configuration
|
||||
#
|
||||
|
@ -199,17 +197,17 @@ bar {
|
|||
strip_workspace_numbers yes
|
||||
|
||||
colors {
|
||||
statusline $foreground
|
||||
background $background
|
||||
focused_workspace $accent $accent $background
|
||||
active_workspace $accentish $accentish $background
|
||||
inactive_workspace $background $background $foreground
|
||||
statusline #000000
|
||||
background #ffffff
|
||||
focused_workspace #cf1bff #cf1bff #ffffff
|
||||
active_workspace #eca6ff #eca6ff #ffffff
|
||||
inactive_workspace #dfdfdf #dfdfdf #000000
|
||||
}
|
||||
}
|
||||
|
||||
client.focused $accent $accent $background
|
||||
client.focused_inactive $accentish $accentish $foreground
|
||||
client.unfocused $backgroundish $background $foreground
|
||||
client.focused #cf1bff #cf1bff #ffffff
|
||||
client.focused_inactive #eca6ff #eca6ff #000000
|
||||
client.unfocused #cccccc #ffffff #000000
|
||||
titlebar_border_thickness 1
|
||||
|
||||
bindsym $mod+z exec fnottctl dismiss
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 53b2f5caad07178e75a85464f4e6e059685bced7
|
62
.config/themer/fnott.ini.sh
Executable file
62
.config/themer/fnott.ini.sh
Executable file
|
@ -0,0 +1,62 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
|
||||
|
||||
echo "# Autogenerated by ~/.config/themer/fnott.ini.sh
|
||||
|
||||
edge-margin-vertical=5
|
||||
edge-margin-horizontal=5
|
||||
padding-vertical=10
|
||||
padding-horizontal=10
|
||||
notification-margin=5
|
||||
selection-helper=fuzzel-run -d
|
||||
play-sound=mpv \${filename}
|
||||
|
||||
border-color=909090
|
||||
border-size=0
|
||||
title-font=sans serif:style=Italic:size=8
|
||||
summary-font=sans serif:style=Bold:size=16
|
||||
body-font=sans serif:size=12
|
||||
" > ~/.config/fnott/fnott.ini
|
||||
|
||||
rose_pine () {
|
||||
echo "
|
||||
background=$base
|
||||
title-color=$text
|
||||
summary-color=$text
|
||||
body-color=$text
|
||||
" >> ~/.config/fnott/fnott.ini
|
||||
}
|
||||
mono () {
|
||||
echo "
|
||||
background=$backgroundish
|
||||
title-color=$foreground
|
||||
summary-color=$foreground
|
||||
body-color=$foreground
|
||||
" >> ~/.config/fnott/fnott.ini
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
rose_pine
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
mono
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
mono
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
113
.config/themer/foot.ini.sh
Executable file
113
.config/themer/foot.ini.sh
Executable file
|
@ -0,0 +1,113 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
|
||||
|
||||
echo "# Autogenerated by ~/.config/themer/foot.ini.sh
|
||||
[scrollback]
|
||||
lines = 10000
|
||||
|
||||
[mouse]
|
||||
hide-when-typing=yes
|
||||
|
||||
[main]
|
||||
font=monospace:pixelsize=22
|
||||
line-height=33px
|
||||
vertical-letter-offset=3px
|
||||
|
||||
pad=4x4
|
||||
|
||||
initial-window-size-chars=120x24
|
||||
" > ~/.config/foot/foot.ini
|
||||
|
||||
rose_pine () {
|
||||
if $dark; then
|
||||
alpha=1
|
||||
else
|
||||
alpha=1
|
||||
fi
|
||||
echo "
|
||||
[cursor]
|
||||
color = $inactive $text
|
||||
|
||||
[colors]
|
||||
background = $base
|
||||
foreground = $text
|
||||
alpha = $alpha
|
||||
|
||||
selection-foreground = $text
|
||||
selection-background = $highlight
|
||||
|
||||
urls = $iris
|
||||
|
||||
regular0 = $overlay
|
||||
regular1 = $love
|
||||
regular2 = $pine
|
||||
regular3 = $gold
|
||||
regular4 = $foam
|
||||
regular5 = $iris
|
||||
regular6 = $rose
|
||||
regular7 = $text
|
||||
|
||||
bright0 = $subtle
|
||||
bright1 = $love
|
||||
bright2 = $pine
|
||||
bright3 = $gold
|
||||
bright4 = $foam
|
||||
bright5 = $iris
|
||||
bright6 = $rose
|
||||
bright7 = $text
|
||||
" >> ~/.config/foot/foot.ini
|
||||
}
|
||||
mono () {
|
||||
if $dark; then
|
||||
echo "include = /usr/share/foot/themes/selenized-black" >> ~/.config/foot/foot.ini
|
||||
else
|
||||
echo "
|
||||
[colors]
|
||||
foreground=000000
|
||||
background=ffffff
|
||||
|
||||
regular0=ffffff # black (or white in a bright theme)
|
||||
regular1=7f1010 # red
|
||||
regular2=009A57 # green
|
||||
regular3=813e00 # yellow
|
||||
regular4=0186C7 # blue
|
||||
regular5=721045 # magenta
|
||||
regular6=00538b # cyan
|
||||
regular7=000000 # white (or black in a bright theme)
|
||||
|
||||
bright0=e4e4e4
|
||||
bright1=ff8686
|
||||
bright2=bcd2aa
|
||||
bright3=989838
|
||||
bright4=00AEFF
|
||||
bright5=8888CC
|
||||
bright6=4FA8A8
|
||||
bright7=000000" >> ~/.config/foot/foot.ini
|
||||
fi
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
rose_pine
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
mono
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
mono
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
64
.config/themer/fuzzel.sh
Executable file
64
.config/themer/fuzzel.sh
Executable file
|
@ -0,0 +1,64 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "#!/bin/sh
|
||||
# Autogenerated by ~/.config/themer/fuzzel.sh
|
||||
" > ~/.local/bin/fuzzel-run
|
||||
|
||||
rose_pine () {
|
||||
echo "
|
||||
export background=$base
|
||||
export foreground=$text
|
||||
export selection_background=$highlight
|
||||
export selection_foreground=$text
|
||||
export border=$text
|
||||
export accent=$iris
|
||||
" >> ~/.local/bin/fuzzel-run
|
||||
}
|
||||
mono () {
|
||||
echo "
|
||||
export background=$background
|
||||
export foreground=$foreground
|
||||
export selection_background=$backgroundish
|
||||
export selection_foreground=$foreground
|
||||
export border=$foreground
|
||||
export accent=$foreground
|
||||
" >> ~/.local/bin/fuzzel-run
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
rose_pine
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
mono
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
mono
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "
|
||||
exec fuzzel --terminal=footclient --font='monospace:pixelsize=22' \
|
||||
--prompt='➦ ' \
|
||||
--no-icons \
|
||||
--width=40 \
|
||||
--background=\${background}ff --text-color=\${foreground}ff \
|
||||
--match-color=\${accent}ff \
|
||||
--selection-color=\${selection_background}ff --selection-text-color=\${selection_foreground}ff \
|
||||
--horizontal-pad=12 \
|
||||
--border-width=1 --border-color=\${border}ff --border-radius=2 \"\$@\"
|
||||
" >> ~/.local/bin/fuzzel-run
|
||||
chmod +x ~/.local/bin/fuzzel-run
|
44
.config/themer/gtk.sh
Executable file
44
.config/themer/gtk.sh
Executable file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
dark_light () {
|
||||
if "$dark"; then
|
||||
gsettings set org.gnome.desktop.interface gtk-theme Adwaita
|
||||
# gsettings set org.freedesktop.appearance color-scheme 1
|
||||
echo '# Autogenerated by ~/.config/themer/gtk.sh
|
||||
gtk-theme-name="Adwaita-dark"' > ~/.gtkrc-2.0
|
||||
else
|
||||
gsettings set org.gnome.desktop.interface gtk-theme Adwaita-light
|
||||
# gsettings set org.freedesktop.appearance color-scheme 2
|
||||
echo '# Autogenerated by ~/.config/themer/gtk.sh
|
||||
gtk-theme-name="Adwaita"' > ~/.gtkrc-2.0
|
||||
fi
|
||||
echo "# Autogenerated by ~/.config/themer/gtk.sh
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme = $dark
|
||||
gtk-decoration-layout=menu:" > ~/.config/gtk-3.0/settings.ini
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
dark_light
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
dark_light
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
dark_light
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
dark_light
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
dark_light
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
42
.config/themer/lock.sh
Executable file
42
.config/themer/lock.sh
Executable file
|
@ -0,0 +1,42 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
generate () {
|
||||
echo "#!/bin/sh
|
||||
# Autogenerated by ~/.config/themer/lock.sh
|
||||
setsid -f swaylockd --color $background \
|
||||
--show-failed-attempts
|
||||
sleep 1
|
||||
" > ~/.local/bin/lock
|
||||
}
|
||||
|
||||
rose_pine () {
|
||||
background=$base generate
|
||||
}
|
||||
mono () {
|
||||
generate
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
rose_pine
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
mono
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
mono
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
58
.config/themer/river-colors.sh
Executable file
58
.config/themer/river-colors.sh
Executable file
|
@ -0,0 +1,58 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
echo "#!/bin/sh
|
||||
# Autogenerated by ~/.config/themer/river-colors.sh
|
||||
" > ~/.config/river/colors
|
||||
|
||||
rose_pine () {
|
||||
if $dark; then
|
||||
border_focused=$iris
|
||||
border_unfocused=$inactive
|
||||
else
|
||||
border_focused=$subtle
|
||||
border_unfocused=$overlay
|
||||
fi
|
||||
echo "
|
||||
export background=$base
|
||||
export foreground=$text
|
||||
export border_focused=$border_focused
|
||||
export border_unfocused=$border_unfocused
|
||||
export dark=$dark
|
||||
" >> ~/.config/river/colors
|
||||
}
|
||||
mono () {
|
||||
test ! "$dark" = true && bg="export bg=~/.config/river/wallpapers/'Abyss Reflections - Cat ears.png'"
|
||||
echo "
|
||||
export background=$background
|
||||
export foreground=$foreground
|
||||
export border_focused=$accent
|
||||
export border_unfocused=$backgroundish
|
||||
export dark=$dark
|
||||
$bg
|
||||
" >> ~/.config/river/colors
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
rose_pine
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
mono
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
mono
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
7
.config/themer/themes/mono-light.sh
Normal file
7
.config/themer/themes/mono-light.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
export background=ffffff
|
||||
export backgroundish=dfdfdf
|
||||
export foreground=000000
|
||||
export foregroundish=333333
|
||||
export accent=cf1bff
|
||||
export dark=false
|
7
.config/themer/themes/mono.sh
Normal file
7
.config/themer/themes/mono.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
export background=000000
|
||||
export backgroundish=333333
|
||||
export foreground=bbbbbb
|
||||
export foregroundish=777777
|
||||
export accent=907aa9
|
||||
export dark=true
|
17
.config/themer/themes/rose-pine-dawn.sh
Normal file
17
.config/themer/themes/rose-pine-dawn.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
export base=faf4ed
|
||||
export surface=fffaf3
|
||||
export overlay=f2e9de
|
||||
export inactive=9893a5
|
||||
export subtle=6e6a86
|
||||
export text=575279
|
||||
export love=b4637a
|
||||
export gold=ea9d34
|
||||
export rose=d7827e
|
||||
export pine=286983
|
||||
export foam=56949f
|
||||
export iris=907aa9
|
||||
export highlight=eee9e6
|
||||
export highlightInactive=f2ede9
|
||||
export highlightOverlay=e4dfde
|
||||
export dark=false
|
17
.config/themer/themes/rose-pine-moon.sh
Normal file
17
.config/themer/themes/rose-pine-moon.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
export base=232136
|
||||
export surface=2a273f
|
||||
export overlay=393552
|
||||
export inactive=59546d
|
||||
export subtle=817c9c
|
||||
export text=e0def4
|
||||
export love=eb6f92
|
||||
export gold=f6c177
|
||||
export rose=ea9a97
|
||||
export pine=3e8fb0
|
||||
export foam=9ccfd8
|
||||
export iris=c4a7e7
|
||||
export highlight=312f44
|
||||
export highlightInactive=2a283d
|
||||
export highlightOverlay=3f3c53
|
||||
export dark=true
|
17
.config/themer/themes/rose-pine.sh
Normal file
17
.config/themer/themes/rose-pine.sh
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
export base=191724
|
||||
export surface=1f1d2e
|
||||
export overlay=26233a
|
||||
export inactive=555169
|
||||
export subtle=6e6a86
|
||||
export text=e0def4
|
||||
export love=eb6f92
|
||||
export gold=f6c177
|
||||
export rose=ebbcba
|
||||
export pine=31748f
|
||||
export foam=9ccfd8
|
||||
export iris=c4a7e7
|
||||
export highlight=2a2837
|
||||
export highlightInactive=211f2d
|
||||
export highlightOverlay=3a384a
|
||||
export dark=true
|
43
.config/themer/waylock.sh
Executable file
43
.config/themer/waylock.sh
Executable file
|
@ -0,0 +1,43 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
rose_pine () {
|
||||
echo "# Autogenerated by ~/.config/themer/waylock.sh
|
||||
[colors]
|
||||
init_color = 0x$base
|
||||
input_color = 0x$pine
|
||||
fail_color = 0x$love
|
||||
" > ~/.config/waylock/waylock.toml
|
||||
}
|
||||
mono () {
|
||||
echo "# Autogenerated by ~/.config/themer/waylock.sh
|
||||
[colors]
|
||||
init_color = 0x$background
|
||||
input_color = 0x$foreground
|
||||
fail_color = 0x$foregroundish
|
||||
" > ~/.config/waylock/waylock.toml
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
rose_pine
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
mono
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
mono
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
44
.config/themer/yambar.sh
Executable file
44
.config/themer/yambar.sh
Executable file
|
@ -0,0 +1,44 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
rose_pine () {
|
||||
echo "# Autogenerated by ~/.config/themer/yambar.sh
|
||||
background: &bg ${base}ff
|
||||
foreground: &fg ${text}ff
|
||||
accent: &accent ${iris}ff
|
||||
" > ~/.config/yambar/config.yml
|
||||
}
|
||||
mono () {
|
||||
echo "# Autogenerated by ~/.config/themer/yambar.sh
|
||||
background: &bg ${background}ff
|
||||
backgroundish: &bgish ${backgroundish}ff
|
||||
foreground: &fg ${foreground}ff
|
||||
accent: &accent ${accent}ff
|
||||
" > ~/.config/yambar/config.yml
|
||||
}
|
||||
|
||||
if test "$1" = rose-pine; then
|
||||
. ~/.config/themer/themes/rose-pine.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-dawn; then
|
||||
. ~/.config/themer/themes/rose-pine-dawn.sh
|
||||
rose_pine
|
||||
elif test "$1" = rose-pine-moon; then
|
||||
. ~/.config/themer/themes/rose-pine-moon.sh
|
||||
rose_pine
|
||||
elif test "$1" = mono; then
|
||||
. ~/.config/themer/themes/mono.sh
|
||||
mono
|
||||
elif test "$1" = mono-light; then
|
||||
. ~/.config/themer/themes/mono-light.sh
|
||||
mono
|
||||
else
|
||||
if test -n "$1"; then
|
||||
echo "I don't know that theme"
|
||||
else
|
||||
echo "No theme specified"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat ~/.config/yambar/real-config.yml >> ~/.config/yambar/config.yml
|
142
.config/yambar/real-config.yml
Normal file
142
.config/yambar/real-config.yml
Normal file
|
@ -0,0 +1,142 @@
|
|||
bar:
|
||||
height: 16
|
||||
location: top
|
||||
layer: top
|
||||
spacing: 8
|
||||
right-margin: 8
|
||||
background: *bg
|
||||
foreground: *fg
|
||||
|
||||
font: sans-serif:size=12
|
||||
|
||||
left:
|
||||
- river:
|
||||
anchors:
|
||||
base: &river_base
|
||||
margin: 8
|
||||
tag: id
|
||||
default: &river_default
|
||||
default: {string: {text: "{id}"}}
|
||||
values: &river_values
|
||||
1: {string: {text: "I"}}
|
||||
2: {string: {text: "II"}}
|
||||
3: {string: {text: "III"}}
|
||||
4: {string: {text: "IV"}}
|
||||
5: {string: {text: "V"}}
|
||||
6: {string: {text: "VI"}}
|
||||
7: {string: {text: "VII"}}
|
||||
8: {string: {text: "VIII"}}
|
||||
9: {string: {text: "IX"}}
|
||||
10: {empty: {}}
|
||||
11: {empty: {}}
|
||||
12: {empty: {}}
|
||||
13: {empty: {}}
|
||||
14: {empty: {}}
|
||||
15: {empty: {}}
|
||||
16: {empty: {}}
|
||||
17: {empty: {}}
|
||||
18: {empty: {}}
|
||||
19: {empty: {}}
|
||||
20: {empty: {}}
|
||||
21: {empty: {}}
|
||||
22: {empty: {}}
|
||||
23: {empty: {}}
|
||||
24: {empty: {}}
|
||||
25: {empty: {}}
|
||||
26: {empty: {}}
|
||||
27: {empty: {}}
|
||||
28: {empty: {}}
|
||||
29: {empty: {}}
|
||||
30: {empty: {}}
|
||||
31: {empty: {}}
|
||||
32: {empty: {}}
|
||||
content:
|
||||
map:
|
||||
tag: state
|
||||
values:
|
||||
focused:
|
||||
map:
|
||||
<<: *river_base
|
||||
deco: {background: {color: *accent}}
|
||||
values:
|
||||
<<: *river_values
|
||||
1: {string: {text: "I", foreground: *bg}}
|
||||
2: {string: {text: "II", foreground: *bg}}
|
||||
3: {string: {text: "III", foreground: *bg}}
|
||||
4: {string: {text: "IV", foreground: *bg}}
|
||||
5: {string: {text: "V", foreground: *bg}}
|
||||
6: {string: {text: "VI", foreground: *bg}}
|
||||
7: {string: {text: "VII", foreground: *bg}}
|
||||
8: {string: {text: "VIII", foreground: *bg}}
|
||||
9: {string: {text: "IX", foreground: *bg}}
|
||||
unfocused:
|
||||
map:
|
||||
<<: *river_base
|
||||
values:
|
||||
<<: *river_values
|
||||
invisible:
|
||||
map:
|
||||
tag: occupied
|
||||
values:
|
||||
true:
|
||||
map:
|
||||
deco: {background: {color: *bgish}}
|
||||
<<: *river_base
|
||||
values:
|
||||
<<: *river_values
|
||||
false:
|
||||
map:
|
||||
<<: *river_base
|
||||
values:
|
||||
<<: *river_values
|
||||
right:
|
||||
- network:
|
||||
name: eth0
|
||||
content:
|
||||
map:
|
||||
tag: carrier
|
||||
default: {empty: {}}
|
||||
values:
|
||||
true:
|
||||
map:
|
||||
tag: state
|
||||
values:
|
||||
down: {string: {text: Ethernet down, foreground: *accent}}
|
||||
up:
|
||||
map:
|
||||
tag: ipv4
|
||||
default: {string: {text: Ethernet}}
|
||||
values:
|
||||
"": {string: {text: Ethernet sin IPv4, foreground: *accent}}
|
||||
- network:
|
||||
name: wlan0
|
||||
content:
|
||||
map:
|
||||
tag: state
|
||||
values:
|
||||
down: {string: {text: WiFi down, foreground: *accent}}
|
||||
up:
|
||||
map:
|
||||
tag: ipv4
|
||||
default: {string: {text: WiFi}}
|
||||
values:
|
||||
"": {string: {text: WiFi sin IPv4, foreground: *accent}}
|
||||
|
||||
- battery:
|
||||
name: BAT0
|
||||
poll-interval: 30
|
||||
content:
|
||||
map:
|
||||
tag: state
|
||||
values:
|
||||
discharging: {string: {text: "{capacity}%"}}
|
||||
unknown: {string: {text: "{capacity}% limite"}}
|
||||
not charging: {string: {text: "{capacity}% limite"}}
|
||||
charging: {string: {text: "{capacity}% cargando"}}
|
||||
full: {string: {text: "{capacity}% full"}}
|
||||
|
||||
- clock:
|
||||
date-format: "%A %d of %B"
|
||||
content:
|
||||
- string: {text: " {date}", right-margin: 12}
|
||||
- string: {text: " {time}"}
|
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -10,6 +10,3 @@
|
|||
[submodule ".config/vis/plugins/fzf-mru"]
|
||||
path = .config/vis/plugins/fzf-mru
|
||||
url = https://github.com/peaceant/vis-fzf-mru
|
||||
[submodule "/home/diablo/.config/themer.lua"]
|
||||
path = /home/diablo/.config/themer.lua
|
||||
url = https://gitea.nulo.in/Nulo/themer.lua
|
||||
|
|
8
.inputrc
Normal file
8
.inputrc
Normal file
|
@ -0,0 +1,8 @@
|
|||
$include /etc/inputrc
|
||||
set completion-ignore-case on
|
||||
set completion-query-items -1
|
||||
set show-all-if-unmodified on
|
||||
set show-all-if-ambiguous off
|
||||
set colored-completion-prefix on
|
||||
set colored-stats on
|
||||
set visible-stats on
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
. ~/.cache/themer.lua/fuzzel
|
||||
|
||||
exec fuzzel \
|
||||
--terminal=footclient \
|
||||
--font='monospace:pixelsize=22' \
|
||||
--prompt='➦ ' \
|
||||
--no-icons \
|
||||
--width=40 \
|
||||
--background=${background}ff \
|
||||
--text-color=${foreground}ff \
|
||||
--match-color=${accent}ff \
|
||||
--selection-color=${selection_background}ff \
|
||||
--selection-text-color=${selection_foreground}ff \
|
||||
--horizontal-pad=12 \
|
||||
--border-width=1 \
|
||||
--border-color=${border}ff \
|
||||
--border-radius=2 "$@"
|
11
.local/bin/notificar-informacion.sh
Executable file
11
.local/bin/notificar-informacion.sh
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
battery="$(upower -i /org/freedesktop/UPower/devices/battery_BAT0)"
|
||||
get_battery_value () {
|
||||
echo "$battery" | grep "$1" | awk '{ print $2 }'
|
||||
}
|
||||
title="$(date +%T)"
|
||||
body="\
|
||||
$(date +"%A %d of %B")
|
||||
$(get_battery_value percentage) $(get_battery_value state)\
|
||||
"
|
||||
notify-send --expire-time=5000 "$title" "$body"
|
6
.local/bin/start-mpd
Executable file
6
.local/bin/start-mpd
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
mkdir -p ~/.mpd
|
||||
mkdir -p ~/.mpd/playlists
|
||||
|
||||
mpd
|
|
@ -1,11 +1,16 @@
|
|||
#!/bin/sh
|
||||
set -ex
|
||||
set -e
|
||||
|
||||
if test -n "$1"; then
|
||||
. ~/.config/themer/themes/"$1".sh
|
||||
~/.config/themer/fuzzel.sh
|
||||
~/.config/themer/lock.sh
|
||||
~/.config/themer/gtk.sh
|
||||
# ~/.config/themer/river-colors.sh "$1"
|
||||
~/.config/themer/foot.ini.sh "$1"
|
||||
~/.config/themer/fnott.ini.sh "$1"
|
||||
~/.config/themer/yambar.sh "$1"
|
||||
~/.config/themer/fuzzel.sh "$1"
|
||||
~/.config/themer/lock.sh "$1"
|
||||
~/.config/themer/waylock.sh "$1"
|
||||
~/.config/themer/gtk.sh "$1"
|
||||
# ~/.config/river/load-colors
|
||||
else
|
||||
echo "No theme specified"
|
||||
exit 1
|
||||
|
|
88
.local/share/applications/nvim.desktop
Normal file
88
.local/share/applications/nvim.desktop
Normal file
|
@ -0,0 +1,88 @@
|
|||
[Desktop Entry]
|
||||
Name=Neovim
|
||||
GenericName=Text Editor
|
||||
GenericName[de]=Texteditor
|
||||
GenericName[fr]=Éditeur de texte
|
||||
GenericName[ru]=Текстовый редактор
|
||||
GenericName[sr]=Едитор текст
|
||||
GenericName[tr]=Metin Düzenleyici
|
||||
Comment=Edit text files
|
||||
Comment[af]=Redigeer tekslêers
|
||||
Comment[am]=የጽሑፍ ፋይሎች ያስተካክሉ
|
||||
Comment[ar]=حرّر ملفات نصية
|
||||
Comment[az]=Mətn fayllarını redaktə edin
|
||||
Comment[be]=Рэдагаваньне тэкставых файлаў
|
||||
Comment[bg]=Редактиране на текстови файлове
|
||||
Comment[bn]=টেক্স্ট ফাইল এডিট করুন
|
||||
Comment[bs]=Izmijeni tekstualne datoteke
|
||||
Comment[ca]=Edita fitxers de text
|
||||
Comment[cs]=Úprava textových souborů
|
||||
Comment[cy]=Golygu ffeiliau testun
|
||||
Comment[da]=Redigér tekstfiler
|
||||
Comment[de]=Textdateien bearbeiten
|
||||
Comment[el]=Επεξεργασία αρχείων κειμένου
|
||||
Comment[en_CA]=Edit text files
|
||||
Comment[en_GB]=Edit text files
|
||||
Comment[es]=Edita archivos de texto
|
||||
Comment[et]=Redigeeri tekstifaile
|
||||
Comment[eu]=Editatu testu-fitxategiak
|
||||
Comment[fa]=ویرایش پروندههای متنی
|
||||
Comment[fi]=Muokkaa tekstitiedostoja
|
||||
Comment[fr]=Éditer des fichiers texte
|
||||
Comment[ga]=Eagar comhad Téacs
|
||||
Comment[gu]=લખાણ ફાઇલોમાં ફેરફાર કરો
|
||||
Comment[he]=ערוך קבצי טקסט
|
||||
Comment[hi]=पाठ फ़ाइलें संपादित करें
|
||||
Comment[hr]=Uređivanje tekstualne datoteke
|
||||
Comment[hu]=Szövegfájlok szerkesztése
|
||||
Comment[id]=Edit file teks
|
||||
Comment[it]=Modifica file di testo
|
||||
Comment[ja]=テキストファイルを編集します
|
||||
Comment[kn]=ಪಠ್ಯ ಕಡತಗಳನ್ನು ಸಂಪಾದಿಸು
|
||||
Comment[ko]=텍스트 파일을 편집합니다
|
||||
Comment[lt]=Redaguoti tekstines bylas
|
||||
Comment[lv]=Rediģēt teksta failus
|
||||
Comment[mk]=Уреди текстуални фајлови
|
||||
Comment[ml]=വാചക രചനകള് തിരുത്തുക
|
||||
Comment[mn]=Текст файл боловсруулах
|
||||
Comment[mr]=गद्य फाइल संपादित करा
|
||||
Comment[ms]=Edit fail teks
|
||||
Comment[nb]=Rediger tekstfiler
|
||||
Comment[ne]=पाठ फाइललाई संशोधन गर्नुहोस्
|
||||
Comment[nl]=Tekstbestanden bewerken
|
||||
Comment[nn]=Rediger tekstfiler
|
||||
Comment[no]=Rediger tekstfiler
|
||||
Comment[or]=ପାଠ୍ଯ ଫାଇଲଗୁଡ଼ିକୁ ସମ୍ପାଦନ କରନ୍ତୁ
|
||||
Comment[pa]=ਪਾਠ ਫਾਇਲਾਂ ਸੰਪਾਦਨ
|
||||
Comment[pl]=Edytor plików tekstowych
|
||||
Comment[pt]=Editar ficheiros de texto
|
||||
Comment[pt_BR]=Edite arquivos de texto
|
||||
Comment[ro]=Editare fişiere text
|
||||
Comment[ru]=Редактирование текстовых файлов
|
||||
Comment[sk]=Úprava textových súborov
|
||||
Comment[sl]=Urejanje datotek z besedili
|
||||
Comment[sq]=Përpuno files teksti
|
||||
Comment[sr]=Уређујте текст фајлове
|
||||
Comment[sr@Latn]=Izmeni tekstualne datoteke
|
||||
Comment[sv]=Redigera textfiler
|
||||
Comment[ta]=உரை கோப்புகளை தொகுக்கவும்
|
||||
Comment[th]=แก้ไขแฟ้มข้อความ
|
||||
Comment[tk]=Metin faýllary editle
|
||||
Comment[tr]=Metin dosyaları düzenleyin
|
||||
Comment[uk]=Редактор текстових файлів
|
||||
Comment[vi]=Soạn thảo tập tin văn bản
|
||||
Comment[wa]=Asspougnî des fitchîs tecses
|
||||
Comment[zh_CN]=编辑文本文件
|
||||
Comment[zh_TW]=編輯文字檔
|
||||
TryExec=nvim
|
||||
Exec=footclient nvim %F
|
||||
Type=Application
|
||||
Keywords=Text;editor;
|
||||
Keywords[fr]=Texte;éditeur;
|
||||
Keywords[ru]=текст;текстовый редактор;
|
||||
Keywords[sr]=Текст;едитор;
|
||||
Keywords[tr]=Metin;düzenleyici;
|
||||
Icon=nvim
|
||||
Categories=Utility;TextEditor;
|
||||
StartupNotify=false
|
||||
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;
|
63
.xkb/symbols/us-nulo
Normal file
63
.xkb/symbols/us-nulo
Normal file
|
@ -0,0 +1,63 @@
|
|||
// /usr/share/X11/xkb/symbols/us
|
||||
// Thanks to https://unix.stackexchange.com/questions/591754/make-specific-key-sticky
|
||||
default partial alphanumeric_keys
|
||||
xkb_symbols "basic" {
|
||||
include "us(altgr-intl)"
|
||||
|
||||
name[Group1] = "English (US, nullified)";
|
||||
|
||||
// Sticky Alt and AltGr
|
||||
key <RALT> {
|
||||
type[Group1]= "ONE_LEVEL",
|
||||
symbols[Group1]= [ ISO_Level3_Shift ],
|
||||
actions[Group1]= [ LatchMods(modifiers=AltGr) ]
|
||||
};
|
||||
key <LALT> {
|
||||
type[Group1]= "ONE_LEVEL",
|
||||
symbols[Group1]= [ Alt_L ],
|
||||
actions[Group1]= [ LatchMods(modifiers=Mod1) ]
|
||||
};
|
||||
|
||||
// Shift keys
|
||||
// Both are sticky, when any of them are pressed twice, they act as Shift Lock.
|
||||
// TODO: make it lock on Caps Lock instead of Shift (for e.x. typing numbers angrily "YOU OWE ME 10 BUCKS!")
|
||||
key <LFSH> {
|
||||
type[Group1] = "ONE_LEVEL",
|
||||
symbols[Group1] = [ Shift_L ],
|
||||
actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ]
|
||||
// This doesn't work correctly
|
||||
//actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ]
|
||||
};
|
||||
key <RTSH> {
|
||||
type[Group1] = "ONE_LEVEL",
|
||||
symbols[Group1] = [ Shift_R ],
|
||||
actions[Group1] = [ LatchMods(modifiers=Shift,latchToLock,clearLocks) ]
|
||||
// This doesn't work correctly
|
||||
//actions[Group1] = [ LatchMods(modifiers=Shift), LockMods(modifiers = Lock) ]
|
||||
|
||||
};
|
||||
|
||||
// Sticky Ctrls
|
||||
key <LCTL> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Control_L ],
|
||||
actions[Group1]=[LatchMods(modifiers=Control)]
|
||||
};
|
||||
key <RCTL> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Control_R ],
|
||||
actions[Group1]=[LatchMods(modifiers=Control)]
|
||||
};
|
||||
|
||||
// Sticky Wins
|
||||
key <LWIN> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Super_L ],
|
||||
actions[Group1]=[LatchMods(modifiers=Mod4)]
|
||||
};
|
||||
key <RWIN> {
|
||||
type[Group1]="ONE_LEVEL",
|
||||
symbols[Group1]=[ Super_R ],
|
||||
actions[Group1]=[LatchMods(modifiers=Mod4)]
|
||||
};
|
||||
};
|
1
.zshrc
1
.zshrc
|
@ -53,7 +53,6 @@ alias gpo='git push origin' # Para tags: git push origin 1.0.2 / gpo 1.0.2
|
|||
|
||||
alias gitdf='git --git-dir=$HOME/.config/dotfiles/ --work-tree=$HOME'
|
||||
alias gd='gitdf'
|
||||
alias gdc='gitdf commit'
|
||||
alias gdcp='gitdf commit -p'
|
||||
alias gda='gitdf add'
|
||||
alias gds='gitdf status'
|
||||
|
|
Loading…
Reference in a new issue