urxvt-font-size icon indicating copy to clipboard operation
urxvt-font-size copied to clipboard

Everything works except dynamic resize shortcut

Open dzbyr opened this issue 2 years ago • 0 comments

I've been trying every solution in google but nothing is changing, no dynamic font resizing with urxvt using a shortcut. At least different fonts and transparency works like a charm. Also, echo -e "\033]710;fixed\033\\" this escape sequence works, and it's getting an entire terminal font size smaller.

I'm sharing for my entire script because of any conflict. So I couldn't find my missing point.

!!
Xft.dpi:       96
Xft.antialias: true
Xft.hinting:   true
Xft.rgba:      rgb
Xft.autohint:  false
Xft.hintstyle: hintslight
Xft.lcdfilter: lcddefault

XTerm*background:        #222D31
XTerm*foreground:        #d8d8d8
XTerm*pointerColor:      #1ABB9B
XTerm*faceName:          Fixed
XTerm*faceSize:          11
XTerm*reverseVideo:      on
XTerm*selectToClipboard: true

*background:                      #222D31
*foreground:                      #d8d8d8
*fading:                          8
*fadeColor:                       #d8d8d8
*cursorColor:                     #d8d8d8
*pointerColorBackground:          #d8d8d8
*pointerColorForeground:          #d8d8d8

!! black dark/light
*color0:                          #222D31
*color8:                          #585858

!! red dark/light
*color1:                          #ab4642
*color9:                          #ab4642

!! green dark/light
*color2:                          #7E807E
*color10:                         #8D8F8D

!! yellow dark/light
*color3:                          #f7ca88
*color11:                         #f7ca88

!! blue dark/light
*color4:                          #7cafc2
*color12:                         #7cafc2

!! magenta dark/light
*color5:                          #ba8baf
*color13:                         #ba8baf

!! cyan dark/light
*color6:                          #1ABB9B
*color14:                         #1ABB9B

!! white dark/light
*color7:                          #d8d8d8
*color15:                         #f8f8f8

!Xcursor.theme: xcursor-breeze
!Xcursor.size:                     0
!! rxvt colored terminal from https://wiki.archlinux.org/title/Color_output_in_console#rxvt-unicode
URxvt.colorIT:      #87af5f
URxvt.colorBD:      #d7d7d7
URxvt.colorUL:      #87afd7


if [ "$TERM" = "linux" ]; then
    _SEDCMD='s/.*\*color\([0-9]\{1,\}\).*#\([0-9a-fA-F]\{6\}\).*/\1 \2/p'
    for i in $(sed -n "$_SEDCMD" $HOME/.Xresources | awk '$1 < 16 {printf "\\e]P%X%s", $1, $2}'); do
        echo -en "$i"
    done
    clear
fi

URxvt.font:  9x15,xft:TerminessTTFNerdFontMono
! xft:ProFontIIx Nerd Font:size=11, xft:DejaVu Sans Mono for Powerline:size=14, xft:IPAGothic:size=12      

! alternative font settings with 'terminus':
! URxvt.font:      -xos4-terminus-medium-r-normal--16-160-72-72-c-80-iso10646-1
! URxvt.bold.font: -xos4-terminus-bold-r-normal--16-160-72-72-c-80-iso10646-1
!! terminus names see end of file!

URxvt.depth:                      32
URxvt.background:                 [100]#7cafc2
URxvt*scrollBar:                  false
URxvt*mouseWheelScrollPage:       false
URxvt*cursorBlink:                false
URxvt*background:                 black
URxvt*foreground:                 grey
URxvt*saveLines:                  5000

! for 'fake' transparency (without Compton) uncomment the following three lines
URxvt*inheritPixmap:            true
URxvt*transparent: true
! URxvt*shading: 0 to 99 darkens, 101 to 200 lightens
URxvt*shading: 10
!
!!resize-font
! Outomatic font size 
! mkdir ~/.urxvt/ext/ && cd ~/.urxvt/ext/ && git clone https://github.com/majutsushi/urxvt-font-size
URxvt.keysym.Shift-Up:     font-size:increase
URxvt.keysym.Shift-Down:   font-size:decrease
URxvt.keysym.Shift-S-Up:   font-size:incglobal
URxvt.keysym.Shift-S-Down: font-size:decglobal
URxvt.keysym.Shift-equal:  font-size:reset
URxvt.keysym.Shift-slash:  font-size:show
URxvt.font-size.step: 4

!URxvt.keysym.Shift-+:      font-size:increase
!URxvt.keysym.Shift--:    font-size:decrease
!URxvt.keysym.Shift-S-Up:        font-size:incglobal
!URxvt.keysym.Shift-S-Down:      font-size:decglobal
!URxvt.keysym.Shift-equal:       font-size:reset
!URxvt.keysym.Shift-slash:       font-size:show
!URxvt.font-size.step: 2
! Normal copy-paste keybindings without perls
URxvt.iso14755:                   false
URxvt.keysym.Shift-Control-V:     eval:paste_clipboard
URxvt.keysym.Shift-Control-C:     eval:selection_to_clipboard
!Xterm escape codes, word by word movement
!URxvt.keysym.Control-Left:        \033[1;5D

The version of urxvt is rxvt-unicode (urxvt) v9.31 - released: 2023-01-02

I moved uxrvt perl script to $HOME

tree ~/.urxvt/
/home/axe/.urxvt/
├── ext
│   └── font-size
├── font-size
└── urxvtd-axe-inspiron9999

dzbyr avatar Feb 05 '23 01:02 dzbyr