On ArtixLinux
This commit is contained in:
parent
8f4504f812
commit
fd26fb954b
20 changed files with 260 additions and 149 deletions
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -18,3 +18,14 @@
|
|||
**/vifm/vifminfo.json
|
||||
**/nvim/.netrwhist
|
||||
README.html
|
||||
**/.local/share/qutebrowser/adblock-cache.dat
|
||||
**/.local/share/qutebrowser/cmd-history
|
||||
**/.local/share/qutebrowser/crash.log
|
||||
**/.local/share/qutebrowser/history.sqlite
|
||||
**/.local/share/qutebrowser/history.sqlite-shm
|
||||
**/.local/share/qutebrowser/history.sqlite-wal
|
||||
**/.local/share/qutebrowser/psl
|
||||
**/.local/share/qutebrowser/qutebrowser/
|
||||
**/.local/share/qutebrowser/sessions/
|
||||
**/.local/share/qutebrowser/state
|
||||
**/.local/share/qutebrowser/webengine/
|
||||
|
|
|
@ -1,55 +1,115 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
##################################################
|
||||
# Environment #
|
||||
##################################################
|
||||
|
||||
export STARDICT_DATA_DIR=$XDG_DATA_HOME/stardict
|
||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
export QT_PLATFORM_PLUGIN="kde"
|
||||
export XDG_CURRENT_DESKTOP="KDE"
|
||||
export KRITA_NO_STYLE_OVERRIDE=1
|
||||
export GO111MODULE=on
|
||||
export STARDICT_DATA_DIR=$XDG_DATA_HOME/stardict
|
||||
#export GTK_CSD=0
|
||||
#export GTK_USE_PORTAL=1
|
||||
#export GTK_MODULES="appmenu-gtk-module"
|
||||
#export LD_PRELOAD="/usr/lib/libgtk3-nocsd.so.0"
|
||||
|
||||
## BSPWM config
|
||||
##################################################
|
||||
# Screen #
|
||||
##################################################
|
||||
|
||||
xrandr \
|
||||
--dpi 96 \
|
||||
--output DisplayPort-0 --off \
|
||||
--output DisplayPort-1 --mode 1920x1080 --rate 144 --pos 0x0 --primary \
|
||||
--output HDMI-A-0 --off \
|
||||
--output HDMI-A-1 --off \
|
||||
--output DVI-D-0 --off
|
||||
# https://pcmonitors.info/reviews/aoc-c24g1/
|
||||
xcalib -d :0 "$HOME/.config/xcalib/AOC C24G1.icm" &
|
||||
echo "Xft.dpi: 96" | xrdb -merge
|
||||
## Cursor
|
||||
xsetroot -cursor_name left_ptr &
|
||||
xbanish &
|
||||
## Colors / Wallpaper
|
||||
xrdb -merge -q "${HOME}/.Xresources" && "${HOME}/.fehbg" && wal -Rnq
|
||||
## No screensaver
|
||||
xset s off
|
||||
xset -dpms
|
||||
xset r off
|
||||
|
||||
##################################################
|
||||
# BSPWM #
|
||||
##################################################
|
||||
|
||||
bspc monitor -f primary
|
||||
bspc config focus_follows_pointer true
|
||||
|
||||
bspc config border_width 1
|
||||
bspc config window_gap 6
|
||||
bspc config top_padding 34
|
||||
bspc config left_padding 0
|
||||
bspc config right_padding 0
|
||||
bspc config bottom_padding 0
|
||||
|
||||
bspc config split_ratio 0.52
|
||||
bspc config borderless_monocle true
|
||||
bspc config gapless_monocle true
|
||||
bspc config pointer_modifier mod1
|
||||
|
||||
## BSPWM Rules
|
||||
# BSPWM Rules
|
||||
bspc rule -a Wine monitor=DisplayPort-0
|
||||
|
||||
bspc rule -a equalizer state=fullscreen manage=off
|
||||
bspc rule -a steamwebhelper state=fullscreen
|
||||
bspc rule -a foreground state=fullscreen manage=off
|
||||
|
||||
## Swallow
|
||||
# Swallow
|
||||
pgrep -fl 'pidswallow -gl' || fish -c 'pidswallow -gl &'
|
||||
|
||||
## Manage desktops
|
||||
"${HOME}/.local/share/go/bin/btops" &
|
||||
|
||||
## Bar
|
||||
"${HOME}/.config/polybar/launch.sh" &
|
||||
|
||||
# Shortcuts
|
||||
sxhkd -m 1 &
|
||||
|
||||
playerctld daemon &
|
||||
mpDris2 &
|
||||
##################################################
|
||||
# Compositor #
|
||||
##################################################
|
||||
|
||||
"${HOME}/bin/eww-x11" daemon &
|
||||
"${HOME}/bin/eww-x11" open cover &
|
||||
"${HOME}/bin/eww-x11" open clock &
|
||||
picom -b &
|
||||
redshift -l 44.481:0.3545 &
|
||||
|
||||
##################################################
|
||||
# Widgets #
|
||||
##################################################
|
||||
|
||||
# Appmenu
|
||||
kded5 &
|
||||
qdbus org.kde.kded5 /kded org.kde.kded5.loadModule appmenu
|
||||
"${HOME}/bin/qmenu_registrar" &
|
||||
|
||||
# Notifications
|
||||
dunst &
|
||||
# Bar
|
||||
"${HOME}/.config/polybar/launch.sh" &
|
||||
# Manage desktops
|
||||
"${HOME}/.local/share/go/bin/btops" &
|
||||
# Widgets
|
||||
"${HOME}/bin/eww-x11" daemon &
|
||||
"${HOME}/bin/eww-x11" open clock &
|
||||
#TODO#vdirsyncer sync &
|
||||
|
||||
##################################################
|
||||
# Music #
|
||||
##################################################
|
||||
|
||||
pipewire &
|
||||
pipewire-pulse &
|
||||
wireplumber &
|
||||
|
||||
##################################################
|
||||
# Sound #
|
||||
##################################################
|
||||
|
||||
mpd &
|
||||
playerctld daemon &
|
||||
mpDris2 &
|
||||
|
||||
"${HOME}/bin/transmission-rss"
|
||||
|
||||
vdirsyncer sync &
|
||||
## Foreground
|
||||
#kitty -o background_opacity=0 -o window_padding_width="0 0" --class=foreground -o clear_all_shortcuts=yes -o cursor_shape=underline sh -c "kitty +kitten icat --transfer-mode=stream --silent --align=left --z-index=-1 --place='1920x1080@0x0' --hold ~/Krita/space-dream-foreground.png" &
|
||||
#kitty -o background_opacity=0 -o window_padding_width="0 5" --class=equalizer -o clear_all_shortcuts=yes sh -c "cava" &
|
||||
|
|
|
@ -40,7 +40,7 @@ constant = " "
|
|||
" " = ["spectacle"]
|
||||
" " = ["gwenview", "feh", "imv", "sxiv"]
|
||||
" " = ["Bitwig Studio"]
|
||||
"🎘 " = ["qpwgraph"]
|
||||
" " = ["qpwgraph"]
|
||||
" " = ["Audacity"]
|
||||
" " = ["kcharselect"]
|
||||
" " = ["scrcpy"]
|
||||
|
@ -65,3 +65,6 @@ constant = " "
|
|||
" " = ["kate"]
|
||||
"🐤" = ["XIVLauncher.Core"]
|
||||
"" = ["kdeconnect.app"]
|
||||
" "= ["discover"]
|
||||
" "=["ProtonUp-Qt"]
|
||||
" " = ["easyeffects","lsp-plugins"]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
window {
|
||||
background-color: rgba($background,70%);
|
||||
color: $foreground;
|
||||
font-family: Iosevka Nerd Font;
|
||||
font-family: IosevkaLyteTerm Nerd Font;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.clock {
|
||||
|
@ -176,7 +176,7 @@ $white: #ffffff;
|
|||
//}
|
||||
|
||||
.bar {
|
||||
font-family: Iosevka Nerd Font;
|
||||
font-family: IosevkaLyteTerm Nerd Font;
|
||||
font-size: 16px;
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
@ -185,13 +185,13 @@ $white: #ffffff;
|
|||
margin: 0 5px;
|
||||
& > &__icon {
|
||||
margin-right: 5px;
|
||||
font-family: Iosevka Nerd Font;
|
||||
font-family: IosevkaLyteTerm Nerd Font;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.workspaces {
|
||||
font-family: Iosevka Nerd Font;
|
||||
font-family: IosevkaLyteTerm Nerd Font;
|
||||
font-size: 12px;
|
||||
margin-right: 20px;
|
||||
|
||||
|
|
|
@ -1,14 +1,44 @@
|
|||
#################################
|
||||
# Animations #
|
||||
# Transitions #
|
||||
#################################
|
||||
# requires https://github.com/jonaburg/picom
|
||||
# (These are also the default values)
|
||||
transition-length = 300
|
||||
transition-pow-x = 0.1
|
||||
transition-pow-y = 0.1
|
||||
transition-pow-w = 0.1
|
||||
transition-pow-h = 0.1
|
||||
size-transition = true
|
||||
|
||||
# When windows get moved or resized it transitions window position
|
||||
transition = true;
|
||||
|
||||
# How many pixels move window to make the first position in transition (defaults to 20)
|
||||
transition-offset = 20;
|
||||
|
||||
# Direction of transition (top, right, bottom, left) e.g: "right" direction will make
|
||||
# all windows come from right to left
|
||||
|
||||
# (smart-x, smart-y) are smart direction that will check if there are
|
||||
# multiple windows that splits the screen and will change their directions,
|
||||
# in "smart-x" it changes direction of left window to "right" and direction of
|
||||
# right window to "left", if screen is not splited and a window is taking
|
||||
# a lot of screen it will change that window direction to "left".
|
||||
# "smart-y" is also exactly like "smart-x" but instead of translating directions to
|
||||
# "right" and "left", it translate to "top" and "bottom"
|
||||
transition-direction = "smart-y";
|
||||
|
||||
# Function that calculates new position of window (defaults to "ease-out-cubic")
|
||||
# see https://easings.net for list of all functions
|
||||
# naming conventions are different to that site tho, e.g "easeInSine" is listed
|
||||
# on site but here that translated to "ease-in-sine"
|
||||
#transition-timing-function = "ease-out-cubic";
|
||||
transition-timing-function = "ease-in-sine";
|
||||
|
||||
# Time between frames in transition. (0.01 - 1.0, defaults to 0.028)
|
||||
transition-step = 0.028;
|
||||
|
||||
# Similar to opacity rules but determites transition direction e.g:
|
||||
# "right: name *= 'Firefox'" will make firefox transition direction to right
|
||||
# Specify a list of transition rules, in the format `DIRECTION:PATTERN`
|
||||
|
||||
# for disabling transition on specific patterns use "none" keyword as a direction
|
||||
# e.g: use "none: window_type = 'popup_menu'" for disabling transitions on popup menus
|
||||
transition-rule = [
|
||||
"none: window_type = 'popup_menu'"
|
||||
];
|
||||
|
||||
#################################
|
||||
# Corners #
|
||||
|
@ -38,16 +68,16 @@ round-borders = 1;
|
|||
shadow = true
|
||||
|
||||
# The blur radius for shadows, in pixels. (defaults to 12)
|
||||
shadow-radius = 12
|
||||
shadow-radius = 7
|
||||
|
||||
# The opacity of shadows. (0.0 - 1.0, defaults to 0.75)
|
||||
shadow-opacity = .75
|
||||
|
||||
# The left offset for shadows, in pixels. (defaults to -15)
|
||||
shadow-offset-x = -15;
|
||||
shadow-offset-x = -7;
|
||||
|
||||
# The top offset for shadows, in pixels. (defaults to -15)
|
||||
shadow-offset-y = -15;
|
||||
shadow-offset-y = -7;
|
||||
|
||||
# Red color value of shadow (0.0 - 1.0, defaults to 0).
|
||||
shadow-red = 0
|
||||
|
@ -118,7 +148,7 @@ fade-in-step = 0.03;
|
|||
fade-out-step = 0.03;
|
||||
|
||||
# The time between steps in fade step, in milliseconds. (> 0, defaults to 10)
|
||||
fade-delta = 4
|
||||
fade-delta = 6
|
||||
|
||||
# Specify a list of conditions of windows that should not be faded.
|
||||
# don't need this, we disable fading for all normal windows with wintypes: {}
|
||||
|
@ -283,6 +313,7 @@ backend = "glx";
|
|||
#backend = "xrender";
|
||||
|
||||
|
||||
dithered-present = false
|
||||
# Enable/disable VSync.
|
||||
# vsync = false
|
||||
vsync = false
|
||||
|
@ -396,7 +427,7 @@ glx-no-rebind-pixmap = true
|
|||
# has actually changed. Potentially degrades the performance, but might fix some artifacts.
|
||||
# The opposing option is use-damage
|
||||
#
|
||||
use-damage = false
|
||||
use-damage = true
|
||||
# use-damage = true
|
||||
|
||||
# Use X Sync fence to sync clients' draw calls, to make sure all draw
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
;
|
||||
;=====================================================
|
||||
[fonts]
|
||||
font-0 = Iosevka Nerd Font:size=11:style=Heavy,Regular:antialias=true;1
|
||||
font-1 = Iosevka Nerd Font:style=Medium:size=17;3
|
||||
font-2 = Symbola:size=11:style=Heavy,Regular:antialias=true;1
|
||||
font-0 = IosevkaLyteTerm Nerd Font:size=11:style=Heavy,Regular:antialias=true;1
|
||||
font-1 = IosevkaLyteTerm Nerd Font:style=Medium:size=17;3
|
||||
font-2 = Symbols Nerd Font:size=14:antialias=true;1
|
||||
font-3 = Noto Sans CJK JP:size=14:antialias=true;1
|
||||
|
||||
[colors]
|
||||
|
@ -62,13 +62,13 @@ modules-right = date
|
|||
|
||||
[module/fancy-left]
|
||||
type = custom/text
|
||||
content = "%{T3}%{T-}%{O-19pt}"
|
||||
content = "%{T2} %{T-}%{O-19pt}"
|
||||
content-foreground = ${colors.primary}
|
||||
content-padding = 0
|
||||
|
||||
[module/fancy-right]
|
||||
type = custom/text
|
||||
content = "%{O-19pt}%{T3}%{T-}"
|
||||
content = "%{O-19pt}%{T2}%{T-}"
|
||||
content-foreground = ${colors.primary}
|
||||
content-padding = 0
|
||||
|
||||
|
@ -282,7 +282,7 @@ time-alt =
|
|||
|
||||
# format-prefix =
|
||||
;format-prefix =
|
||||
format-prefix = " "
|
||||
format-prefix = " "
|
||||
;format-prefix = ""
|
||||
format-prefix-foreground = ${colors.primary}
|
||||
label = %date%%time%
|
||||
|
|
|
@ -237,8 +237,8 @@ super + @XF86AudioMute
|
|||
@XF86ScreenSaver
|
||||
slock
|
||||
|
||||
super + t
|
||||
bspc query --nodes --node focused | pidswallow -t
|
||||
super + r
|
||||
pidswallow -t (bspc query --nodes --node focused)
|
||||
|
||||
super + ctrl + {Left,Down,Up,Right}
|
||||
bspwm_resize {west,south,north,east}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
configuration {
|
||||
font: "Iosevka Nerd Font 11";
|
||||
font: "IosevkaLyteTerm Nerd Font 11";
|
||||
icon-theme: "Deepin2022-Dark";
|
||||
// icon-theme: "buuf-nestort";
|
||||
show-icons: true;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Based on https://github.com/adi1090x/rofi/blob/master/launchers-git/blurry_full.rasi */
|
||||
|
||||
configuration {
|
||||
font: "Iosevka Nerd Font 11";
|
||||
font: "IosevkaLyteTerm Nerd Font 11";
|
||||
show-icons: true;
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* Based on https://github.com/adi1090x/rofi/blob/master/launchers-git/blurry_full.rasi */
|
||||
|
||||
configuration {
|
||||
font: "Iosevka Nerd Font 11";
|
||||
font: "IosevkaLyteTerm Nerd Font 11";
|
||||
show-icons: false;
|
||||
threads: 0;
|
||||
scroll-method: 0;
|
||||
|
|
|
@ -210,12 +210,12 @@ C script-binding uosc/chapters #! Utils > Chapters
|
|||
W script-binding webm/display-webm-encoder #! Utils > Generate webm
|
||||
M script-binding manager-update-all #! Utils > Manager update all
|
||||
|
||||
CTRL+1 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode A (HQ)" #! Shaders > Mode A (HQ)
|
||||
CTRL+2 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode B (HQ)" #! Shaders > Mode B (HQ)
|
||||
CTRL+3 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode C (HQ)" #! Shaders > Mode C (HQ)
|
||||
CTRL+4 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_Restore_CNN_M.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode A+A (HQ)" #! Shaders > Mode A+A (HQ)
|
||||
CTRL+5 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Restore_CNN_Soft_M.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode B+B (HQ)" #! Shaders > Mode B+B (HQ)
|
||||
CTRL+6 no-osd change-list glsl-shaders set "~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Restore_CNN_M.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode C+A (HQ)" #! Shaders > Mode C+A (HQ)
|
||||
CTRL+1 no-osd change-list glsl-shaders set "~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode A (HQ)" #! Shaders > Mode A (HQ)
|
||||
CTRL+2 no-osd change-list glsl-shaders set "~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode B (HQ)" #! Shaders > Mode B (HQ)
|
||||
CTRL+3 no-osd change-list glsl-shaders set "~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode C (HQ)" #! Shaders > Mode C (HQ)
|
||||
CTRL+4 no-osd change-list glsl-shaders set "~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_M.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode A+A (HQ)" #! Shaders > Mode A+A (HQ)
|
||||
CTRL+5 no-osd change-list glsl-shaders set "~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_Soft_M.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode B+B (HQ)" #! Shaders > Mode B+B (HQ)
|
||||
CTRL+6 no-osd change-list glsl-shaders set "~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Upscale_Denoise_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_M.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"; show-text "Anime4K: Mode C+A (HQ)" #! Shaders > Mode C+A (HQ)
|
||||
|
||||
CTRL+0 no-osd change-list glsl-shaders clr ""; show-text "GLSL shaders cleared" #! Shaders > Clear
|
||||
esc quit
|
||||
|
|
|
@ -43,5 +43,10 @@
|
|||
"git": "https://github.com/ekisu/mpv-webm",
|
||||
"whitelist":"webm%.lua$",
|
||||
"dest":"~~/scripts"
|
||||
},
|
||||
{
|
||||
"git": "https://github.com/mpv-player/mpv",
|
||||
"whitelist":"autoload.lua$",
|
||||
"dest":"~~/scripts"
|
||||
}
|
||||
]
|
||||
|
|
|
@ -33,7 +33,7 @@ icc-profile="~~/icc/AOC C24G1.icm"
|
|||
###########################
|
||||
|
||||
#video-sync=display-resample
|
||||
interpolation=yes
|
||||
#interpolation=yes
|
||||
tscale=oversample
|
||||
interpolation-threshold=-1
|
||||
## wayland-disable-vsync=yes
|
||||
|
@ -59,7 +59,7 @@ deband-grain=5 # Range 0-4096. Inject grain to cover up bad banding, higher valu
|
|||
# shader #
|
||||
##########
|
||||
|
||||
glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"
|
||||
glsl-shaders="~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_VL.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"
|
||||
|
||||
scale=spline36
|
||||
cscale=spline36
|
||||
|
@ -98,5 +98,5 @@ loop-file=inf
|
|||
[720p]
|
||||
profile-desc=Low quality
|
||||
profile-cond=width <= 1280 and height <= 720
|
||||
glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Restore_CNN_Soft_M.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"
|
||||
# glsl-shaders="~~/shaders/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K_Upscale_CNN_x2_M.glsl"
|
||||
glsl-shaders="~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_Soft_M.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"
|
||||
# glsl-shaders="~~/shaders/Anime4K/Anime4K_Clamp_Highlights.glsl:~~/shaders/Anime4K/Anime4K_Restore_CNN_Soft_VL.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_VL.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x2.glsl:~~/shaders/Anime4K/Anime4K_AutoDownscalePre_x4.glsl:~~/shaders/Anime4K/Anime4K_Upscale_CNN_x2_M.glsl"
|
||||
|
|
140
startx/.xprofile
140
startx/.xprofile
|
@ -1,72 +1,72 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
xrandr \
|
||||
--dpi 96 \
|
||||
--output DisplayPort-0 --off \
|
||||
--output DisplayPort-1 --mode 1920x1080 --rate 144 --pos 0x0 --primary \
|
||||
--output HDMI-A-0 --off \
|
||||
--output HDMI-A-1 --off \
|
||||
--output DVI-D-0 --off
|
||||
|
||||
# https://pcmonitors.info/reviews/aoc-c24g1/
|
||||
xcalib -d :0 "$HOME/.config/xcalib/AOC C24G1.icm"
|
||||
#dispwin -d1 "$HOME/.config/xcalib/AOC C24G1.icm"
|
||||
# https://tftcentral.co.uk/articles/icc_profiles/p1
|
||||
# dispwin -d2 "$HOME/.config/xcalib/aoc_2367_user.icm"
|
||||
|
||||
echo "Xft.dpi: 96" | xrdb -merge
|
||||
|
||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
export QT_PLATFORM_PLUGIN="kde"
|
||||
export XDG_CURRENT_DESKTOP="KDE"
|
||||
export KRITA_NO_STYLE_OVERRIDE=1
|
||||
export GO111MODULE=on
|
||||
export STARDICT_DATA_DIR=$XDG_DATA_HOME/stardict
|
||||
#export GTK_CSD=0
|
||||
#export GTK_USE_PORTAL=1
|
||||
#export GTK_MODULES="appmenu-gtk-module"
|
||||
#export LD_PRELOAD="/usr/lib/libgtk3-nocsd.so.0"
|
||||
|
||||
## Screens
|
||||
bspc monitor -f primary
|
||||
|
||||
## Keyboard and shortcuts
|
||||
# setxkbmap -layout "dvorak" -option "caps:escape,lv3:ralt_switch,compose:sclk"
|
||||
|
||||
|
||||
# My keyboard's quote key broke down
|
||||
# xmodmap -e "keycode 66 = apostrophe quotedbl" &
|
||||
|
||||
## Cursor
|
||||
xsetroot -cursor_name left_ptr &
|
||||
xbanish &
|
||||
|
||||
## Colors / Wallpaper
|
||||
xrdb -merge -q "${HOME}/.Xresources" && "${HOME}/.fehbg" && wal -Rnq
|
||||
|
||||
## Music
|
||||
#sleep 3
|
||||
mount -a &
|
||||
#sleep 3
|
||||
# https://docs.voidlinux.org/config/media/pipewire.html
|
||||
pipewire &
|
||||
wireplumber &
|
||||
pipewire-pulse &
|
||||
mpd &
|
||||
transmission-daemon --port 9091 --allowed "127.0.0.1"
|
||||
"${HOME}/bin/transmission-rss"
|
||||
|
||||
## No screensaver
|
||||
xset s off
|
||||
xset -dpms
|
||||
xset r off
|
||||
|
||||
## No time to waste
|
||||
# xset r rate 300 50 &
|
||||
|
||||
## Compositor
|
||||
picom --experimental-backends --backend glx -b &
|
||||
redshift -l 44.481:0.3545 &
|
||||
|
||||
## Peripherals
|
||||
xsetwacom set "$(xsetwacom --list devices | awk '/Pen stylus/ { if ($7 == "id:") { print $8 } }')" MapToOutput DisplayPort-0 &
|
||||
### xrandr \
|
||||
### --dpi 96 \
|
||||
### --output DisplayPort-0 --off \
|
||||
### --output DisplayPort-1 --mode 1920x1080 --rate 144 --pos 0x0 --primary \
|
||||
### --output HDMI-A-0 --off \
|
||||
### --output HDMI-A-1 --off \
|
||||
### --output DVI-D-0 --off
|
||||
###
|
||||
### # https://pcmonitors.info/reviews/aoc-c24g1/
|
||||
### xcalib -d :0 "$HOME/.config/xcalib/AOC C24G1.icm"
|
||||
### #dispwin -d1 "$HOME/.config/xcalib/AOC C24G1.icm"
|
||||
### # https://tftcentral.co.uk/articles/icc_profiles/p1
|
||||
### # dispwin -d2 "$HOME/.config/xcalib/aoc_2367_user.icm"
|
||||
###
|
||||
### echo "Xft.dpi: 96" | xrdb -merge
|
||||
###
|
||||
### export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
### export QT_PLATFORM_PLUGIN="kde"
|
||||
### export XDG_CURRENT_DESKTOP="KDE"
|
||||
### export KRITA_NO_STYLE_OVERRIDE=1
|
||||
### export GO111MODULE=on
|
||||
### export STARDICT_DATA_DIR=$XDG_DATA_HOME/stardict
|
||||
### #export GTK_CSD=0
|
||||
### #export GTK_USE_PORTAL=1
|
||||
### #export GTK_MODULES="appmenu-gtk-module"
|
||||
### #export LD_PRELOAD="/usr/lib/libgtk3-nocsd.so.0"
|
||||
###
|
||||
### ## Screens
|
||||
### bspc monitor -f primary
|
||||
###
|
||||
### ## Keyboard and shortcuts
|
||||
### # setxkbmap -layout "dvorak" -option "caps:escape,lv3:ralt_switch,compose:sclk"
|
||||
###
|
||||
###
|
||||
### # My keyboard's quote key broke down
|
||||
### # xmodmap -e "keycode 66 = apostrophe quotedbl" &
|
||||
###
|
||||
### ## Cursor
|
||||
### xsetroot -cursor_name left_ptr &
|
||||
### xbanish &
|
||||
###
|
||||
### ## Colors / Wallpaper
|
||||
### xrdb -merge -q "${HOME}/.Xresources" && "${HOME}/.fehbg" && wal -Rnq
|
||||
###
|
||||
### ## Music
|
||||
### #sleep 3
|
||||
### mount -a &
|
||||
### #sleep 3
|
||||
### # https://docs.voidlinux.org/config/media/pipewire.html
|
||||
### pipewire &
|
||||
### wireplumber &
|
||||
### pipewire-pulse &
|
||||
### mpd &
|
||||
### transmission-daemon --port 9091 --allowed "127.0.0.1"
|
||||
### "${HOME}/bin/transmission-rss"
|
||||
###
|
||||
### ## No screensaver
|
||||
### xset s off
|
||||
### xset -dpms
|
||||
### xset r off
|
||||
###
|
||||
### ## No time to waste
|
||||
### # xset r rate 300 50 &
|
||||
###
|
||||
### ## Compositor
|
||||
### picom --experimental-backends --backend glx -b &
|
||||
### redshift -l 44.481:0.3545 &
|
||||
###
|
||||
### ## Peripherals
|
||||
### xsetwacom set "$(xsetwacom --list devices | awk '/Pen stylus/ { if ($7 == "id:") { print $8 } }')" MapToOutput DisplayPort-0 &
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.6 MiB After Width: | Height: | Size: 1.7 MiB |
|
@ -52,7 +52,7 @@ set PATH $PATH $HOME/.local/share/cargo/bin
|
|||
## Packages
|
||||
set -x XBPS_DISTDIR "$HOME/.void-packages"
|
||||
|
||||
abbr v "xbpsui"
|
||||
abbr v "pacui"
|
||||
|
||||
## Games
|
||||
set -x SDL_AUDIODRIVER alsa
|
||||
|
@ -61,7 +61,7 @@ set -x SDL_AUDIODRIVER alsa
|
|||
|
||||
alias imv 'imv -c "exec _wid=\$(xdo id);xprop -f WM_CLIENT_MACHINE 8s -set WM_CLIENT_MACHINE \$(hostname) -id \$_wid;xprop -f _NET_WM_PID 32c -set _NET_WM_PID \$imv_pid -id \$_wid;pidswallow -gt \$_wid"'
|
||||
alias wal 'wal -o bspwmrc'
|
||||
alias powa 'sudo poweroff'
|
||||
alias powa 'loginctl poweroff'
|
||||
alias bocchi 'sudo poweroff'
|
||||
alias play 'env SOX_OPTS="--buffer 20000 --play-rate-arg -hs" play'
|
||||
alias docker 'podman'
|
||||
|
@ -90,7 +90,7 @@ abbr torrent 'aria2c --bt-metadata-only=true --bt-save-metadata=true'
|
|||
|
||||
## Navigation
|
||||
abbr ls 'exa' # ls with colors
|
||||
abbr r 'vifm'
|
||||
abbr r 'ranger'
|
||||
|
||||
## Git
|
||||
abbr g:a 'git add -A'
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#: individual font faces and even specify special fonts for particular
|
||||
#: characters.
|
||||
|
||||
font_family Iosevka Nerd Font
|
||||
font_family IosevkaLyteTerm Nerd Font
|
||||
bold_font auto
|
||||
italic_font auto
|
||||
bold_italic_font auto
|
||||
|
|
|
@ -18,7 +18,7 @@ maketemp() {
|
|||
}
|
||||
|
||||
previewclear() {
|
||||
kitty +kitten icat --transfer-mode=stream --silent --clear
|
||||
kitty +kitten icat --silent --clear
|
||||
}
|
||||
|
||||
text() {
|
||||
|
@ -34,7 +34,7 @@ archive() {
|
|||
}
|
||||
|
||||
draw() {
|
||||
kitty +kitten icat --transfer-mode=stream --silent --align=left --place="${WIDTH}x${HEIGHT}@${X}x${Y}" --z-index=-1 "$1"
|
||||
kitty +kitten icat --transfer-mode=memory --silent --align=left --place="${WIDTH}x${HEIGHT}@${X}x${Y}" --z-index=-1 "$1"
|
||||
}
|
||||
|
||||
image() {
|
||||
|
|
|
@ -142,9 +142,9 @@ set rulerformat=
|
|||
|
||||
" All
|
||||
fileviewer <*>
|
||||
\ preview %c:p %px %py %pw %ph %N
|
||||
\ preview %c:p %px %py %pw %ph >/dev/tty </dev/tty %N
|
||||
\ %pc
|
||||
\ preview clear
|
||||
\ preview clear >/dev/tty </dev/tty %N
|
||||
|
||||
" CSV/Excel
|
||||
filetype *.csv,*.xlsx libreoffice %c %i
|
||||
|
|
|
@ -257,7 +257,8 @@ c.content.notifications.enabled = False
|
|||
# Valid values:
|
||||
# - system: Use the system wide proxy.
|
||||
# - none: Don't use any proxy
|
||||
c.content.proxy = 'http://127.0.0.1:8118'
|
||||
# c.content.proxy = 'http://127.0.0.1:8118'
|
||||
c.content.proxy = "none"
|
||||
|
||||
# Allow websites to register protocol handlers via
|
||||
# `navigator.registerProtocolHandler`.
|
||||
|
@ -410,7 +411,7 @@ c.url.open_base_url = False
|
|||
# the search engine name to the search term, e.g. `:open google
|
||||
# qutebrowser`.
|
||||
# Type: Dict
|
||||
c.url.searchengines = {'DEFAULT': 'https://search.neptune.one/?q={}', 'yt': 'https://tube.neptune.one/results?search_query={}', 'nyaa': 'https://nyaa.si/?f=0&c=0_0&q={}' }
|
||||
c.url.searchengines = {'DEFAULT': 'https://search.neptune.one/?q={}', 'tube': 'https://tube.neptune.one/results?search_query={}', 'nyaa': 'https://nyaa.si/?f=0&c=0_0&q={}' }
|
||||
|
||||
# Page(s) to open at the start.
|
||||
# Type: List of FuzzyUrl, or FuzzyUrl
|
||||
|
@ -486,31 +487,31 @@ c.colors.webpage.preferred_color_scheme = 'dark'
|
|||
# font setting, it's replaced with the fonts listed here. If set to an
|
||||
# empty value, a system-specific monospace default is used.
|
||||
# Type: List of Font, or Font
|
||||
c.fonts.default_family = ['Iosevka Nerd Font']
|
||||
c.fonts.default_family = ['IosevkaLyteTerm Nerd Font']
|
||||
|
||||
# Font family for standard fonts.
|
||||
# Type: FontFamily
|
||||
c.fonts.web.family.standard = 'Iosevka Nerd Font'
|
||||
c.fonts.web.family.standard = 'IosevkaLyteTerm Nerd Font'
|
||||
|
||||
# Font family for fixed fonts.
|
||||
# Type: FontFamily
|
||||
c.fonts.web.family.fixed = 'Iosevka Nerd Font'
|
||||
c.fonts.web.family.fixed = 'IosevkaLyteTerm Nerd Font'
|
||||
|
||||
# Font family for serif fonts.
|
||||
# Type: FontFamily
|
||||
c.fonts.web.family.serif = 'Iosevka Nerd Font'
|
||||
c.fonts.web.family.serif = 'IosevkaLyteTerm Nerd Font'
|
||||
|
||||
# Font family for sans-serif fonts.
|
||||
# Type: FontFamily
|
||||
c.fonts.web.family.sans_serif = 'Iosevka Nerd Font'
|
||||
c.fonts.web.family.sans_serif = 'IosevkaLyteTerm Nerd Font'
|
||||
|
||||
# Font family for cursive fonts.
|
||||
# Type: FontFamily
|
||||
c.fonts.web.family.cursive = 'Iosevka Nerd Font'
|
||||
c.fonts.web.family.cursive = 'IosevkaLyteTerm Nerd Font'
|
||||
|
||||
# Font family for fantasy fonts.
|
||||
# Type: FontFamily
|
||||
c.fonts.web.family.fantasy = 'Iosevka Nerd Font'
|
||||
c.fonts.web.family.fantasy = 'IosevkaLyteTerm Nerd Font'
|
||||
|
||||
c.fonts.tabs.selected = 'bold default_size default_family'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue