New font configuration. Fixed mime associations
This commit is contained in:
parent
60d6eb34bf
commit
afa6ce6902
|
@ -420,3 +420,6 @@
|
|||
# set_stack_tag = "volume"
|
||||
#
|
||||
# vim: ft=cfg
|
||||
[sound]
|
||||
summary = "*"
|
||||
script = ~/Scripts/dunst_message.sh
|
||||
|
|
20
.config/fontconfig/avail/69-emoji-monospace.conf
Normal file
20
.config/fontconfig/avail/69-emoji-monospace.conf
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!-- Priority:
|
||||
! 1. The generic family OR specific family
|
||||
! 2. The emoji font family (defined in 60-generic.conf)
|
||||
! 3. All the rest
|
||||
!-->
|
||||
|
||||
<alias binding="weak">
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>emoji</family>
|
||||
<family>Liberation Mono</family>
|
||||
<family>Fira Mono</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
25
.config/fontconfig/avail/69-emoji.conf
Normal file
25
.config/fontconfig/avail/69-emoji.conf
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!-- Priority:
|
||||
! 1. The generic family OR specific family
|
||||
! 2. The emoji font family (defined in 60-generic.conf)
|
||||
! 3. All the rest
|
||||
!-->
|
||||
|
||||
<alias binding="weak">
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>emoji</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
<alias binding="weak">
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>emoji</family>
|
||||
</prefer>
|
||||
</alias>
|
||||
|
||||
</fontconfig>
|
30
.config/fontconfig/avail/70-no-dejavu.conf
Normal file
30
.config/fontconfig/avail/70-no-dejavu.conf
Normal file
|
@ -0,0 +1,30 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!--
|
||||
! Sorry DejaVu... but you're treadin' on my emoji!
|
||||
! I've gotta keep you around for package dependency reasons, though.
|
||||
!-->
|
||||
|
||||
<selectfont>
|
||||
<rejectfont>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>DejaVu Sans</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>DejaVu Serif</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>DejaVu Sans Mono</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
</fontconfig>
|
25
.config/fontconfig/avail/70-no-mozilla-emoji.conf
Normal file
25
.config/fontconfig/avail/70-no-mozilla-emoji.conf
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
|
||||
<fontconfig>
|
||||
|
||||
<!--
|
||||
No to the baked-in Firefox emoji font.
|
||||
Firefox version <= 60 uses EmojiOne Mozilla, while newer uses Twemoji Mozilla
|
||||
-->
|
||||
|
||||
<selectfont>
|
||||
<rejectfont>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>EmojiOne Mozilla</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
<pattern>
|
||||
<patelt name="family">
|
||||
<string>Twemoji Mozilla</string>
|
||||
</patelt>
|
||||
</pattern>
|
||||
</rejectfont>
|
||||
</selectfont>
|
||||
|
||||
</fontconfig>
|
1
.config/fontconfig/conf.d/69-emoji-monospace.conf
Symbolic link
1
.config/fontconfig/conf.d/69-emoji-monospace.conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
../avail/69-emoji-monospace.conf
|
1
.config/fontconfig/conf.d/69-emoji.conf
Symbolic link
1
.config/fontconfig/conf.d/69-emoji.conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
../avail/69-emoji.conf
|
1
.config/fontconfig/conf.d/70-no-dejavu.conf
Symbolic link
1
.config/fontconfig/conf.d/70-no-dejavu.conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
../avail/70-no-dejavu.conf
|
1
.config/fontconfig/conf.d/70-no-mozilla-emoji.conf
Symbolic link
1
.config/fontconfig/conf.d/70-no-mozilla-emoji.conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
../avail/70-no-mozilla-emoji.conf
|
|
@ -29,4 +29,31 @@
|
|||
<edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
|
||||
<edit mode="assign" name="lcdfilter"><const>lcdlight</const></edit>
|
||||
</match>
|
||||
|
||||
<!-- Prefer Liberation -->
|
||||
<alias>
|
||||
<family>sans-serif</family>
|
||||
<prefer>
|
||||
<family>Liberation Sans</family>
|
||||
</prefer>
|
||||
<default><family>Liberation Sans</family></default>
|
||||
</alias>
|
||||
|
||||
<alias>
|
||||
<family>serif</family>
|
||||
<prefer>
|
||||
<family>Liberation Serif</family>
|
||||
</prefer>
|
||||
<default><family>Liberation Serif</family></default>
|
||||
</alias>
|
||||
<!-- Monospace fonts are handled by 69-emoji-monospace.conf -->
|
||||
<!--
|
||||
<alias>
|
||||
<family>monospace</family>
|
||||
<prefer>
|
||||
<family>Liberation Mono</family>
|
||||
</prefer>
|
||||
<default><family>Liberation Mono</family></default>
|
||||
</alias>
|
||||
-->
|
||||
</fontconfig>
|
||||
|
|
|
@ -42,15 +42,21 @@ exec --no-startup-id "xscreensaver -no-splash" # Screensaver
|
|||
exec --no-startup-id "./Scripts/xscreensaverstopper.sh" # Screensaver inhibitor
|
||||
exec --no-startup-id "compton -b" # Compositor
|
||||
exec --no-startup-id "nitrogen --restore" # Wallpaper
|
||||
exec --no-startup-id "udiskie --notify --automount" # Automounter
|
||||
# dunst is used for notifications
|
||||
|
||||
# Background software
|
||||
exec --no-startup-id "blueman-manager" # Bluetooth
|
||||
exec --no-startup-id "cantata"
|
||||
exec --no-startup-id "nextcloud"
|
||||
exec --no-startup-id "pavucontrol"
|
||||
|
||||
# Applications
|
||||
exec --no-startup-id "nextcloud --background"
|
||||
exec --no-startup-id "telegram-desktop"
|
||||
exec --no-startup-id "cantata"
|
||||
|
||||
set $refresh_i3status killall -SIGUSR1 i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status
|
||||
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
||||
bindsym XF86AudioStop exec --no-startup-id mpc stop
|
||||
|
@ -153,7 +159,7 @@ set $ws6 "6:lutris"
|
|||
set $ws7 "7"
|
||||
set $ws8 "8"
|
||||
set $ws9 "9"
|
||||
set $ws10 "10"
|
||||
set $ws10 "10:tray"
|
||||
|
||||
# switch to workspace
|
||||
bindsym Mod4+1 workspace $ws1
|
||||
|
@ -226,23 +232,44 @@ bindsym Mod4+o move workspace to output left
|
|||
#######################################################################
|
||||
#exec i3-config-wizard
|
||||
for_window [class="Arandr"] floating enable
|
||||
for_window [class="cantata"] floating enable, move scratchpad
|
||||
for_window [class="TelegramDesktop"] floating enable, move scratchpad
|
||||
for_window [title="^Telegram$"] floating enable, move scratchpad
|
||||
for_window [class="itch"] floating enable
|
||||
# for_window [class="Wine"] floating enable
|
||||
for_window [class="mpv"] floating enabler, move position center
|
||||
for_window [class="vlc"] floating enable
|
||||
for_window [class="Sxiv"] floating enable
|
||||
for_window [class="Steam"] move container to workspace $ws5
|
||||
for_window [title="Steam"] move container to workspace $ws5
|
||||
for_window [title="Friends List"] move container to workspace $ws5, resize set width 400px
|
||||
for_window [class="Lutris"] move container to workspace $ws6
|
||||
for_window [class="Gimp"] move container to workspace $ws4
|
||||
for_window [class="Blender"] move container to workspace $ws4
|
||||
for_window [class="krita"] move container to workspace $ws4
|
||||
for_window [class="firefox"] move container to workspace $ws3
|
||||
|
||||
# services
|
||||
for_window [class="Nextcloud"] floating disable, move container to workspace $ws10
|
||||
for_window [class="Blueman-manager"] move container to workspace $ws10
|
||||
for_window [class="Pavucontrol"] move container to workspace $ws10e
|
||||
for_window [class="cantata"] floating disable, move container to workspace $ws10
|
||||
|
||||
# Steam
|
||||
# https://github.com/ValveSoftware/steam-for-linux/issues/1040
|
||||
for_window [class="^Steam$" title="^Friends$"] floating enable
|
||||
for_window [class="^Steam$" title="Steam - News"] floating enable
|
||||
for_window [class="^Steam$" title=".* - Chat"] floating enable
|
||||
for_window [class="^Steam$" title="^Settings$"] floating enable
|
||||
for_window [class="^Steam$" title=".* - event started"] floating enable
|
||||
for_window [class="^Steam$" title=".* CD key"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam - Self Updater$"] floating enable
|
||||
for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
|
||||
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
|
||||
for_window [title="^Steam Keyboard$"] floating enable
|
||||
for_window [class="^Steam$"] move container to workspace $ws5
|
||||
# for_window [title="^Friends List$"] move container to workspace $ws5, resize set width 400px
|
||||
|
||||
mouse_warping none
|
||||
|
||||
# Special keysyms
|
||||
bindsym Mod4+t [class="TelegramDesktop"] scratchpad show
|
||||
|
||||
# gaps
|
||||
smart_borders on
|
||||
smart_gaps on
|
||||
|
|
|
@ -16,7 +16,7 @@ image/gif=sxiv_browser.desktop
|
|||
image/jpeg=sxiv_browser.desktop
|
||||
image/png=sxiv_browser.desktop
|
||||
image/svg+xml=inkscape.desktop
|
||||
inode/directory=ranger_terminal.desktop
|
||||
inode/directory=pcmanfm.desktop
|
||||
video/mp4=mpv.desktop
|
||||
video/quicktime=mpv.desktop
|
||||
video/x-msvideo=mpv.desktop
|
||||
|
|
|
@ -68,7 +68,7 @@ set vcs_backend_bzr disabled
|
|||
set vcs_backend_svn disabled
|
||||
|
||||
# Use one of the supported image preview protocols
|
||||
set preview_images false
|
||||
set preview_images true
|
||||
|
||||
# Set the preview image method. Supported methods:
|
||||
#
|
||||
|
@ -349,7 +349,8 @@ map @ console -p6 shell %%s
|
|||
map # console shell -p%space
|
||||
map s console shell%space
|
||||
map r chain draw_possible_programs; console open_with%%space
|
||||
map f console find%space
|
||||
# map f console find%space
|
||||
map f console scout -ftsea%space
|
||||
map cd console cd%space
|
||||
|
||||
map <C-p> chain console; eval fm.ui.console.history_move(-1)
|
||||
|
|
|
@ -253,7 +253,8 @@ handle_mime() {
|
|||
# Image
|
||||
image/*)
|
||||
# Preview as text conversion
|
||||
img2txt --gamma=0.6 --width="${PV_WIDTH}" -- "${FILE_PATH}" && exit 4
|
||||
img2txt --format=utf8 --gamma=0.6 --width="${PV_WIDTH}" -- "${FILE_PATH}" && exit 4
|
||||
#catimg -w "${PV_WIDTH}" -- "${FILE_PATH}" && exit 4
|
||||
#exiftool "${FILE_PATH}" && exit 5
|
||||
exit 1;;
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
set pages-per-row 2
|
||||
set pages-per-row 1
|
||||
set page-cache-size 1
|
||||
set adjust-open "best-fit"
|
||||
|
||||
set render-loading "false"
|
||||
set render-loading false
|
||||
set statusbar-home-tilde true
|
||||
set selection-notification true
|
||||
set selection-clipboard clipboard
|
||||
unmap f
|
||||
map f toggle_fullscreen
|
||||
|
|
3
.vimrc
3
.vimrc
|
@ -83,7 +83,8 @@ if has("gui_running")
|
|||
set guioptions-=T " remove toolbar
|
||||
set guioptions-=r " remove right-hand scroll bar
|
||||
set guioptions-=L " remove left-hand scroll bar
|
||||
set guifont=Fura\ Code\ Nerd\ Font\ 11
|
||||
set guifont=Fira\ Code\ 11
|
||||
"set guifont=Fura\ Code\ Nerd\ Font\ 11
|
||||
set guiheadroom=0
|
||||
endif
|
||||
|
||||
|
|
1
.zshrc
1
.zshrc
|
@ -55,6 +55,7 @@ alias emsdksetup='source $EMSDK/emsdk_env.sh'
|
|||
alias runwinesteam="MESA_GL_VERSION_OVERRIDE=3.3COMPAT PULSE_LATENCY_MSEC=60 run-desktop.py ~/.local/share/applications/wine/Programs/Steam/Steam.desktop"
|
||||
alias rbackup="restic -r rclone:hubic:ChimeraLinux"
|
||||
alias bat="bat --theme base16"
|
||||
alias wine32="WINEPREFIX=~/.wine32 wine"
|
||||
# https://github.com/chriskempson/base16-shell
|
||||
# git clone https://github.com/chriskempson/base16-shell.git ~/.config/base16-shell
|
||||
#source $HOME/.config/base16-shell/scripts/base16-default-dark.sh
|
||||
|
|
Loading…
Reference in New Issue
Block a user