Browse Source

urxvt -> (x)st + tabbed

master
Maxim Likhachev 6 years ago
parent
commit
07ecd7046a
  1. 56
      etc/X/Xdefaults
  2. 51
      etc/X/Xdefaults.urxvt
  3. 42
      etc/X/Xdefaults.xst
  4. 0
      etc/X/colorscheme.alternate
  5. 70
      etc/X/colorscheme.light
  6. 0
      etc/X/colorscheme.tango
  7. 5
      etc/shell/bash/aliases
  8. 10
      etc/shell/bash/bashrc
  9. 7
      etc/soft/packages.list
  10. 2
      etc/soft/vim/vimrc
  11. 8
      etc/wm/musca/musca_start.AuthenticAMD

56
etc/X/Xdefaults

@ -1,46 +1,3 @@ @@ -1,46 +1,3 @@
!Общие настройки (U)Rxvt
!URxvt*font:xft:DejaVu Sans Mono:pixelsize=12
URxvt*font:xft:DejaVuSansMono Nerd Font Mono:pixelsize=12
!URxvt*font:xft:BlexMono Nerd Font Mono:pixelsize=12
!URxvt*font:xft:Anonymice Nerd Font Mono:pixelsize=12
!URxvt*font:xft:InconsolataLGC Nerd Font Mono:pixelsize=12
!URxvt*font:xft:LiterationMono Nerd Font Mono:pixelsize=12
!URxvt*faceName:DejaVu Sans Mono
URxvt*pixelsize:12
!URxvt*letterSpace: 0
!Ctrl+Print or Shilft+Print to save screen with scrollbar.
URxvt.print-pipe: cat > $HOME/shell-`\date +%Y-%m-%d_%H:%M:%S`.dump
URxvt*scrollBar: false
URxvt.cursorColor: #AAAAAA
URxvt*termName: urxvt
URxvt.saveLines: 2000
!Настрока клавиатуры для URxvt
URxvt*keysym.Control-Up: \033[1;5A
URxvt*keysym.Control-Down: \033[1;5B
URxvt*keysym.Control-Left: \033[1;5D
URxvt*keysym.Control-Right: \033[1;5C
URxvt.keysym.C-Prior: \033[6;5~
URxvt.keysym.C-Next: \033[5;5~
URxvt.keysym.C-Home: \033[7;7^
URxvt.keysym.C-End: \033[8;8^
URxvt.keysym.Home: \033[7~
! do not scroll with output
URxvt*scrollTtyOutput: false
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt*scrollWithBuffer: true
! scroll back to the bottom on keypress
URxvt*scrollTtyKeypress: true
!Настрока шрифтов
Xft.antialias: true
@ -61,14 +18,11 @@ rofi.location: 1 @@ -61,14 +18,11 @@ rofi.location: 1
rofi.padding: 5
rofi.fixed-num-lines: false
!Настройки эмуляторов терминалов
#include "/home/maks/.shellrc/etc/X/Xdefaults.urxvt"
#include "/home/maks/.shellrc/etc/X/Xdefaults.xst"
!Цветовые схемы
#include "/home/maks/.shellrc/etc/X/urxvt.light"
#include "/home/maks/.shellrc/etc/X/colorscheme.light"
#include "/home/maks/.shellrc/etc/X/rofi.paper"
!Расширения Perl
#include "/home/maks/.shellrc/etc/soft/urxvt/extensions.conf"
!Отключение расширений Perl
!URxvt.perl-ext:
!URxvt.perl-ext-common:

51
etc/X/Xdefaults.urxvt

@ -0,0 +1,51 @@ @@ -0,0 +1,51 @@
!Общие настройки (U)Rxvt
!URxvt*font:xft:DejaVu Sans Mono:pixelsize=12
URxvt*font:xft:DejaVuSansMono Nerd Font Mono:pixelsize=12
!URxvt*font:xft:BlexMono Nerd Font Mono:pixelsize=12
!URxvt*font:xft:Anonymice Nerd Font Mono:pixelsize=12
!URxvt*font:xft:InconsolataLGC Nerd Font Mono:pixelsize=12
!URxvt*font:xft:LiterationMono Nerd Font Mono:pixelsize=12
!URxvt*faceName:DejaVu Sans Mono
URxvt*pixelsize:12
!URxvt*letterSpace: 0
!Ctrl+Print or Shilft+Print to save screen with scrollbar.
URxvt.print-pipe: cat > $HOME/shell-`\date +%Y-%m-%d_%H:%M:%S`.dump
URxvt*scrollBar: false
URxvt.cursorColor: #AAAAAA
URxvt*termName: urxvt
URxvt.saveLines: 2000
!Настрока клавиатуры для URxvt
URxvt*keysym.Control-Up: \033[1;5A
URxvt*keysym.Control-Down: \033[1;5B
URxvt*keysym.Control-Left: \033[1;5D
URxvt*keysym.Control-Right: \033[1;5C
URxvt.keysym.C-Prior: \033[6;5~
URxvt.keysym.C-Next: \033[5;5~
URxvt.keysym.C-Home: \033[7;7^
URxvt.keysym.C-End: \033[8;8^
URxvt.keysym.Home: \033[7~
! do not scroll with output
URxvt*scrollTtyOutput: false
! scroll in relation to buffer (with mouse scroll or Shift+Page Up)
URxvt*scrollWithBuffer: true
! scroll back to the bottom on keypress
URxvt*scrollTtyKeypress: true
!Отключение расширений Perl
!URxvt.perl-ext:
!URxvt.perl-ext-common:
!Расширения Perl
#include "/home/maks/.shellrc/etc/soft/urxvt/extensions.conf"

42
etc/X/Xdefaults.xst

@ -0,0 +1,42 @@ @@ -0,0 +1,42 @@
! These are all possible options, presented with default values.
! xst will fallback to *.option if st.option is not present.
! see src/config.h for more information about option meanings.
! These options only take effect on startup.
st.termname: st-256color
! if you do not set shell, precedence is: -e arg, utmp option, SHELL env var, /etc/passwd shell
st.shell: /bin/bash
! The following options options can be reloaded via USR1 signal.
! st.font: Liberation Mono:pixelsize=12:antialias=true:autohint=true;
st.font: DejaVuSansMono Nerd Font Mono:pixelsize=13:antialias=true:autohint=true
st.borderpx: 0
! Available cursor values: 2 4 6 7 = █ _ | ☃ ( 1 3 5 are blinking versions)
st.cursorshape: 2
! thickness of underline and bar cursors
st.cursorthickness: 1
! 0: normal blinking, 1: leave cursor border and blink with cursors background
st.cursorblinkstyle: 0
! 0: cursor blinks with a constant interval; 1: blinking cycle resets on key input
st.cursorblinkontype: 1
st.bold_font: 0
st.xfps: 120
st.actionfps: 30
! Amount of lines scrolled
st.mouseScrollLines: 3
! Kerning / character bounding-box height multiplier
st.chscale: 1.0
! Kerning / character bounding-box width multiplier
st.cwscale: 1.0
! blinking timeout for terminal and cursor blinking (0 disables)
st.blinktimeout: 800
! bell volume. Value between -100 and 100. (0 disables)
st.bellvolume: 100
! this is a char that is exposed like so: `printf '\033[z'`
st.prompt_char: $
! This option is can be preedit style. Available values: `root` `overthespot` (Default taken `root`)
st.imstyle: root
! opacity==255 means what terminal will be not transparent, 0 - fully transparent
st.opacity: 255

0
etc/X/urxvt.alternate → etc/X/colorscheme.alternate

70
etc/X/urxvt.light → etc/X/colorscheme.light

@ -70,3 +70,73 @@ URxvt*color14: rgb:30/60/80 @@ -70,3 +70,73 @@ URxvt*color14: rgb:30/60/80
! bold white
URxvt*color15: rgb:7F/77/76
!Цветовая схема xst
! st.foreground: #a7a7a7
! st.background: #1e1e1e
! st.color0: #1e1e1e
! st.color1: #cf6a4c
! st.color2: #8f9d6a
! st.color3: #f9ee98
! st.color4: #7587a6
! st.color5: #9b859d
! st.color6: #afc4db
! st.color7: #a7a7a7
! st.color8: #5f5a60
! st.color9: #cf6a4c
! st.color10: #8f9d6a
! st.color11: #f9ee98
! st.color12: #7587a6
! st.color13: #9b859d
! st.color14: #afc4db
! st.color15: #ffffff
! st.color16: #cda869
! st.color17: #9b703f
! st.color18: #323537
! st.color19: #464b50
! st.color20: #838184
! st.color21: #c3c3c3
st.background: #D9D9D9
st.foreground: #000000
st.cursorfg: #5b5b5b
st.reverse-cursorfg: #e29b00
! black
st.color0: #3B3B3C
! red
st.color1: #cd0000
! green
st.color2: #20A330
! yellow
st.color3: #b8b800
! blue
st.color4: #0000cd
! magenta
st.color5: #b217b2
! cyan
st.color6: #00b0b0
! white (light grey really)
st.color7: #beb262
! bold black (i.e. dark grey)
st.color8: #808080
! bold red
st.color9: #800000
! bold green
st.color10: #005020
! bold yellow
st.color11: #995500
! bold blue
st.color12: #004080
! bold magenta
st.color13: #443300
! bold cyan
st.color14: #306080
! bold white
st.color15: #7F7776
st.color16: #cda869
st.color17: #9b703f
st.color18: #323537
st.color19: #464b50
st.color20: #838184
st.color21: #c3c3c3

0
etc/X/urxvt.tango → etc/X/colorscheme.tango

5
etc/shell/bash/aliases

@ -56,6 +56,7 @@ alias xlock="i3lock -i $SHELLRC/etc/wm/locker.png" #noindex @@ -56,6 +56,7 @@ alias xlock="i3lock -i $SHELLRC/etc/wm/locker.png" #noindex
#- Замена стандартных путей для конфигурационных файлов
alias mpd="mpd $SHELLRC/etc/media/mpd/mpd.conf" #noindex
alias mpdr="\mpd $SHELLRC/etc/media/mpd/mpd_remote.conf" #noindex
alias vi="vim -u NONE" #noindex
alias vim="vim -N -i $SHELLRC/var/vim/viminfo -p $*" #noindex
alias lsi="TERM=xterm-256color lsi" #noindex
alias mutt="TERM=xterm-256color neomutt -F $SHELLRC/etc/mail/mutt/muttrc && echo "0" > $MD/new" #noindex
@ -202,7 +203,9 @@ alias :e="vim" #noindex @@ -202,7 +203,9 @@ alias :e="vim" #noindex
#- Написание текстов в Vim
write() {
urxvtc -fn 'xft:TrixiePro:pixelsize=20' \
# urxvtc -fn 'xft:TrixiePro:pixelsize=20' \
# -e bash -c "vim '+colorscheme $1' '+Goyo 60%' $2"
xst -f 'TrixiePro:pixelsize=22' \
-e bash -c "vim '+colorscheme $1' '+Goyo 60%' $2"
}
alias :w="write OneHalfDark" #noindex

10
etc/shell/bash/bashrc

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
#!/bin/bash ####################################################################
#
# Изменён: Ср 09 май 2018 00:40:39
# Изменён: Пн 31 дек 2018 17:10:09
#
################################################################################
@ -248,8 +248,14 @@ PS2="$green-> $rstc" @@ -248,8 +248,14 @@ PS2="$green-> $rstc"
PS3="$green+> $rstc"
PS4="$green++ $rstc"
short_pwd() {
# echo -en ' '
# pwd | sed 's@/home/'$USER'@~@; s@^\([~/][^/]*/\).*\(\(/[^/]*\)\{3\}\)$@\1\2@'
pwd | sed 's@/home/'$USER'@~@; s@^\(\([~/][^/]*\)\{1\}/\).*\(\(/[^/]*\)\{2\}\)$@\1...\3@'
}
# PROMPT_COMMAND="history -a; history -n;"
PROMPT_COMMAND="history -a;"
PROMPT_COMMAND='history -a;echo -en "\033]0;$(short_pwd)\007"'
export CDPATH=".:~/FILES:~/FILES/Projects:~/Downloads"
export PROMPT_DIRTRIM=3 #В приглашении показывать 3 директории

7
etc/soft/packages.list

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
xclip
hstr
hstr #История команд
conky
source-highlight
scrot
@ -8,14 +8,15 @@ zathura-pdf-poppler @@ -8,14 +8,15 @@ zathura-pdf-poppler
zathura-djvu
telnet-bsd
geeqie
dunst
dunst #Уведомления
fm -> nnn
sdcv
vim
mutt
viewnior -> sxiv
networkmanager -> connman + https://github.com/eurogiciel-oss/connman-json-client
tig
tig #?
ls https://github.com/illinoisjackson/even-better-ls
xst https://github.com/gnotclub/xst
ufed

2
etc/soft/vim/vimrc

@ -238,6 +238,8 @@ hi SignColor ctermbg=64 ctermfg=lightyellow guibg=grey guifg=RoyalBlue3 @@ -238,6 +238,8 @@ hi SignColor ctermbg=64 ctermfg=lightyellow guibg=grey guifg=RoyalBlue3
" {{{ СТРОКА СОСТОЯНИЯ
" ##############################################################################
" set titlestring=\ %t\ (%{expand('%:p:h')})
set showcmd " Показывать размер выделенной области
set ch=1 " Количество строк
set cmdheight=1 " Коммандная строка в одну линию

8
etc/wm/musca/musca_start.AuthenticAMD

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
[~/.musca_start]
#
# Изменён: Ср 13 дек 2017 19:34:39
# Изменён: Пн 31 дек 2018 17:17:42
#
#Цветовая схема#{{{
@ -45,7 +45,8 @@ refresh @@ -45,7 +45,8 @@ refresh
#Использование dmenu#{{{
# Терминал
bind on Mod4+t exec urxvtc
# bind on Mod4+t exec urxvtc
bind on Mod4+t exec xstab
# dmenu
bind on Mod4+x exec dmenu_exec
@ -209,7 +210,8 @@ set dmenu dmenu -i -fn '-*-fixed-*-*-*-*-15-*-*-*-*-*-*-*' @@ -209,7 +210,8 @@ set dmenu dmenu -i -fn '-*-fixed-*-*-*-*-15-*-*-*-*-*-*-*'
# Запуск программ#{{{
exec conky
exec xbindkeys -f $SHELLRC/etc/X/xbindkeysrc.$(uname -i)
exec urxvtd -q -o -f
exec xrdb ~/.Xdefaults
# exec urxvtd -q -o -f
#exec xmodmap $SHELLRC/etc/X/Xmodmaprc.AuthenticAMD
#}}}

Loading…
Cancel
Save