add foot config, disable caching in mpv

This commit is contained in:
Јован Ђокић-Шумарац 2024-07-12 01:38:39 +02:00
parent 1a3d1cea06
commit 475062edb2
12 changed files with 370 additions and 183 deletions

254
.config/foot/foot.ini Normal file
View file

@ -0,0 +1,254 @@
# -*- conf -*-
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
# title=foot
# locked-title=no
font = FiraCode Nerd Font:size=12
# font-bold=<bold variant of regular font>
# font-italic=<italic variant of regular font>
# font-bold-italic=<bold+italic variant of regular font>
# font-size-adjustment=1.0
# line-height=<font metrics>
# letter-spacing=0
# horizontal-letter-offset=0
# vertical-letter-offset=0
# underline-offset=<font metrics>
# underline-thickness=<font underline thickness>
# box-drawings-uses-font-glyphs=no
# dpi-aware=no
# initial-window-size-pixels=700x500 # Or,
# initial-window-size-chars=<COLSxROWS>
# initial-window-mode=windowed
# pad=0x0 # optionally append 'center'
# resize-delay-ms=100
# notify=notify-send -a ${app-id} -i ${app-id} ${title} ${body}
# bold-text-in-bright=no
# word-delimiters=,│`|:"'()[]{}<>
# selection-target=primary
# workers=<number of logical CPUs>
# utmp-helper=/usr/lib/utempter/utempter # When utmp backend is libutempter (Linux)
# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ulog (FreeBSD)
[tweak]
font-monospace-warn=no
[environment]
# name=value
[bell]
# urgent=no
# notify=no
# visual=no
# command=
# command-focused=no
[scrollback]
lines=10000
# multiplier=3.0
# indicator-position=relative
# indicator-format=""
[url]
# launch=xdg-open ${url}
# label-letters=sadfjklewcmpgh
# osc8-underline=url-mode
# protocols=http, https, ftp, ftps, file, gemini, gopher
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
[cursor]
# style=block
# blink=no
# beam-thickness=1.5
# underline-thickness=<font underline thickness>
[mouse]
# hide-when-typing=no
# alternate-scroll-mode=yes
[touch]
# long-press-delay=400
[colors]
background = 0a0a0a
foreground = d6dae4
regular0 = 1f1f1f
regular1 = f71118
regular2 = 2cc55d
regular3 = ecb90f
regular4 = 2a84d2
regular5 = 4e59b7
regular6 = 0f80d5
regular7 = d6dae4
bright0 = d6dae4
bright1 = de342e
bright2 = 1dd260
bright3 = f2bd09
bright4 = 0f80d5
bright5 = 524fb9
bright6 = 0f7cda
bright7 = ffffff
selection-foreground = 000000
selection-background = 777777
alpha=1.0
# background=242424
# foreground=ffffff
# flash=7f7f00
# flash-alpha=0.5
## Normal/regular colors (color palette 0-7)
# regular0=242424 # black
# regular1=f62b5a # red
# regular2=47b413 # green
# regular3=e3c401 # yellow
# regular4=24acd4 # blue
# regular5=f2affd # magenta
# regular6=13c299 # cyan
# regular7=e6e6e6 # white
## Bright colors (color palette 8-15)
# bright0=616161 # bright black
# bright1=ff4d51 # bright red
# bright2=35d450 # bright green
# bright3=e9e836 # bright yellow
# bright4=5dc5f8 # bright blue
# bright5=feabf2 # bright magenta
# bright6=24dfc4 # bright cyan
# bright7=ffffff # bright white
## dimmed colors (see foot.ini(5) man page)
# dim0=<not set>
# ...
# dim7=<not-set>
## The remaining 256-color palette
# 16 = <256-color palette #16>
# ...
# 255 = <256-color palette #255>
## Misc colors
# selection-foreground=<inverse foreground/background>
# selection-background=<inverse foreground/background>
# jump-labels=<regular0> <regular3> # black-on-yellow
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
# search-box-no-match=<regular0> <regular1> # black-on-red
# search-box-match=<regular0> <regular3> # black-on-yellow
# urls=<regular3>
[csd]
# preferred=server
# size=26
# font=<primary font>
# color=<foreground color>
# hide-when-maximized=no
# double-click-to-maximize=yes
# border-width=0
# border-color=<csd.color>
# button-width=26
# button-color=<background color>
# button-minimize-color=<regular4>
# button-maximize-color=<regular2>
# button-close-color=<regular1>
[key-bindings]
# scrollback-up-page=Shift+Page_Up
# scrollback-up-half-page=none
# scrollback-up-line=none
# scrollback-down-page=Shift+Page_Down
# scrollback-down-half-page=none
# scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
# clipboard-copy=Control+Shift+c XF86Copy
# clipboard-paste=Control+Shift+v XF86Paste
# primary-paste=Shift+Insert
# search-start=Control+Shift+r
# font-increase=Control+plus Control+equal Control+KP_Add
# font-decrease=Control+minus Control+KP_Subtract
# font-reset=Control+0 Control+KP_0
# spawn-terminal=Control+Shift+n
# minimize=none
# maximize=none
# fullscreen=none
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
# pipe-selected=[xargs -r firefox] none
# pipe-command-output=[wl-copy] none # Copy last command's output to the clipboard
# show-urls-launch=Control+Shift+o
# show-urls-copy=none
# show-urls-persistent=none
# prompt-prev=Control+Shift+z
# prompt-next=Control+Shift+x
# unicode-input=Control+Shift+u
# noop=none
[search-bindings]
# cancel=Control+g Control+c Escape
# commit=Return
# find-prev=Control+r
# find-next=Control+s
# cursor-left=Left Control+b
# cursor-left-word=Control+Left Mod1+b
# cursor-right=Right Control+f
# cursor-right-word=Control+Right Mod1+f
# cursor-home=Home Control+a
# cursor-end=End Control+e
# delete-prev=BackSpace
# delete-prev-word=Mod1+BackSpace Control+BackSpace
# delete-next=Delete
# delete-next-word=Mod1+d Control+Delete
# extend-char=Shift+Right
# extend-to-word-boundary=Control+w Control+Shift+Right
# extend-to-next-whitespace=Control+Shift+w
# extend-line-down=Shift+Down
# extend-backward-char=Shift+Left
# extend-backward-to-word-boundary=Control+Shift+Left
# extend-backward-to-next-whitespace=none
# extend-line-up=Shift+Up
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
# primary-paste=Shift+Insert
# unicode-input=none
# quit=none
# scrollback-up-page=Shift+Page_Up
# scrollback-up-half-page=none
# scrollback-up-line=none
# scrollback-down-page=Shift+Page_Down
# scrollback-down-half-page=none
# scrollback-down-line=none
# scrollback-home=none
# scrollback-end=none
[url-bindings]
# cancel=Control+g Control+c Control+d Escape
# toggle-url-visible=t
[text-bindings]
# \x03=Mod4+c # Map Super+c -> Ctrl+c
[mouse-bindings]
# scrollback-up-mouse=BTN_BACK
# scrollback-down-mouse=BTN_FORWARD
# selection-override-modifiers=Shift
# primary-paste=BTN_MIDDLE
# select-begin=BTN_LEFT
# select-begin-block=Control+BTN_LEFT
# select-extend=BTN_RIGHT
# select-extend-character-wise=Control+BTN_RIGHT
# select-word=BTN_LEFT-2
# select-word-whitespace=Control+BTN_LEFT-2
# select-quote = BTN_LEFT-3
# select-row=BTN_LEFT-4
# vim: ft=dosini

View file

@ -7,7 +7,7 @@ decoration {
rounding = 15
blur {
enabled = true
enabled = false
new_optimizations = true
xray = false
passes = 3
@ -15,8 +15,6 @@ decoration {
}
animations {
enabled = 1
bezier = overshot, 0.05, 0.9, 0.1, 1.05
@ -31,6 +29,5 @@ animations {
animation = fade, 1, 10, smoothIn
animation = fadeDim, 1, 10, smoothIn
animation = workspaces, 1, 6, default
}

View file

@ -25,7 +25,7 @@ env = GDK_BACKEND,wayland
env = SDL_VIDEODRIVER, wayland
env = CLUTTER_BACKEND, wayland
env = BROWSER,qutebrowser
env = TERM,kitty
env = BROWSER, chromium
env = TERM, footclient
env = EDITOR, nvim
env = _JAVA_AWT_WM_NONREPARENTING, 1

View file

@ -8,33 +8,32 @@ input {
follow_mouse = 1
numlock_by_default = 1
repeat_rate = 50
repeat_delay = 300
numlock_by_default = 1
force_no_accel = true
touchpad {
scroll_factor = 0.4
natural_scroll = false
disable_while_typing = true
tap-to-click = true
tap-and-drag = true
disable_while_typing = true
}
}
general {
col.active_border=rgba(cba6f7ff) rgba(89b4faff) rgba(94e2d5ff) 10deg
col.inactive_border = 0xff45475a
col.active_border = rgba(cba6f7ff) rgba(89b4faff) rgba(94e2d5ff) 10deg
gaps_in = 7
gaps_out = 15
layout = dwindle
border_size = 0
}
@ -46,11 +45,11 @@ gestures {
misc {
disable_hyprland_logo = true
enable_swallow = 1
swallow_regex = ^(kitty)$
vfr = true
vrr = 1
swallow_regex = ^(kitty)$
enable_swallow = 1
disable_hyprland_logo = true
}

View file

@ -1,14 +1,11 @@
# /$$ /$$ /$$ /$$
# | $$ | $$ | $$ | $$
# | $$ | $$ /$$ /$$ /$$$$$$ /$$$$$$ | $$ /$$$$$$ /$$$$$$$ /$$$$$$$
# | $$$$$$$$| $$ | $$ /$$__ $$ /$$__ $$| $$ |____ $$| $$__ $$ /$$__ $$
# | $$__ $$| $$ | $$| $$ \ $$| $$ \__/| $$ /$$$$$$$| $$ \ $$| $$ | $$
# | $$ | $$| $$ | $$| $$ | $$| $$ | $$ /$$__ $$| $$ | $$| $$ | $$
# | $$ | $$| $$$$$$$| $$$$$$$/| $$ | $$| $$$$$$$| $$ | $$| $$$$$$$
# |__/ |__/ \____ $$| $$____/ |__/ |__/ \_______/|__/ |__/ \_______/
# /$$ | $$| $$
# | $$$$$$/| $$
# \______/ |__/
# _________________.---.______
# (_(______________(_o o_(____()
# .___.'. .'.___.
# who cares? \ o Y o /
# put the \ \__ __/ /
# tranny on the '.__'-'__.'
# choping block '''
source = ~/.config/hypr/monitors.conf
source = ~/.config/hypr/general.conf
@ -27,9 +24,8 @@ exec-once = avizo-client
exec-once = waybar
exec-once = hyprpaper
exec-once = ~/bin/xdg-portal-hyprland
# exec-once = wl-paste --watch cliphist store
exec-once = wl-paste --watch cliphist store
exec-once = hypridle
exec-once = wayland-pipewire-idle-inhibit
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = foot --server
#exec-once = hyprpm reload -n

View file

@ -1,36 +1,19 @@
general {
disable_loading_bar = false
grace = 3
hide_cursor = true
immediate_render = true
ignore_empty_input = true
disable_loading_bar = true
}
background {
monitor = eDP-1
monitor =
path = /home/brk/pics/kill.png
}
background {
monitor = HDMI-A-1
path = /home/brk/pics/kill.png
}
background {
monitor = DP-1
path = /home/brk/pics/kill.png
}
input-field {
monitor = HDMI-A-1
size = 200, 50
outline_thickness = 3
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = false
outer_color = rgb(151515)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
monitor =
placeholder_text = <i>Input Password...</i>
hide_input = false
position = 0, -550
@ -39,52 +22,12 @@ input-field {
}
input-field {
monitor = DP-1
size = 200, 50
outline_thickness = 3
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = false
outer_color = rgb(151515)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, -400
halign = center
valign = center
}
input-field {
monitor = eDP-1
size = 200, 50
outline_thickness = 3
dots_size = 0.33 # Scale of input-field height, 0.2 - 0.8
dots_spacing = 0.15 # Scale of dots' absolute size, 0.0 - 1.0
dots_center = false
outer_color = rgb(151515)
inner_color = rgb(200, 200, 200)
font_color = rgb(10, 10, 10)
fade_on_empty = true
placeholder_text = <i>Input Password...</i> # Text rendered in the input box when it's empty.
hide_input = false
position = 0, -400
halign = center
valign = center
}
label {
monitor = HDMI-A-1
monitor =
text = O Flame, cleanse me
color = rgba(200, 200, 200, 1.0)
font_size = 25
font_family = Noto Sans
font_family = Pragmasevka Nerd Font
position = 0, -450
halign = center

View file

@ -16,7 +16,7 @@ bind = SUPER, L, exec, hyprlock
bind = SUPER, V, exec, clippy
bind = SUPER, B, exec, killall -SIGUSR1 waybar
bind = SUPERSHIFT, B, exec, killall -SIGUSR2 waybar
bind = CTRLSHIFT, Escape, exec, footclient --class btoppy -e btop
bind = CTRLSHIFT, Escape, exec, footclient --title btoppy -e btop
bind = SUPER, E, exec, iwgtk
bind = SUPER, C, exec, /usr/bin/discord --enable-features=UseOzonePlatform,WaylandWindowDecorations --ozone-platform=wayland
bind = SUPERSHIFT, E, exec, footclient --title blueterm -e bluetuith

View file

@ -1,9 +1,9 @@
# MONITOR LAYOUT
# monitor = HDMI-A-1, disabled
#
# monitor = HDMI-A-1, 2560x1440@75, 0x0, 1.0, bitdepth, 10
# monitor = DP-1, disabled
# monitor = eDP-1, 1920x1080@120, 0x0, 1
# monitor = eDP-1, disabled
#
# monitor=HDMI-A-1,2560x1440@75,1920x0,1.0,bitdepth,10
# monitor=eDP-1,1920x1080@120,0x0,1.0,bitdepth,10

View file

@ -25,9 +25,9 @@ windowrule=center,title:^(blueterm)$
windowrule=size 45% 60%,title:^(blueterm)$
windowrule=float,title:^(btop)$
windowrule=center,title:^(btop)$
windowrule=size 75% 65%,title:^(btop)$
windowrule=float,title:^(btoppy)$
windowrule=center,title:^(btoppy)$
windowrule=size 75% 65%,title:^(btoppy)$
windowrule=float,class:^(steam)$
windowrule=center,class:^(steam)$

View file

@ -41,9 +41,9 @@ ytdl-format=bestvideo[height<=?1080][fps<=?30][vcodec!=?vp9][protocol!=http_dash
# Cache #
#########
cache=yes
demuxer-max-bytes=10GiB
demuxer-max-back-bytes=5GiB
cache=no
demuxer-max-bytes=3GiB
demuxer-max-back-bytes=2GiB
#############

View file

@ -57,7 +57,7 @@
"cpu": {
"interval": 1,
"format": " \t{usage}%",
"max-length": 7,
"max-length": 10,
"min-length": 4
},

View file

@ -69,7 +69,7 @@ set guioptions ""
# zathurarc-dark
set font "inconsolata 15"
set default-bg rgba(0,0,0,0.7) #00
set default-bg rgba(19,19,19,1) #00
set default-fg "#F7F7F6" #01
set statusbar-fg "#B0B0B0" #04
@ -110,6 +110,4 @@ map [fullscreen] f toggle_fullscreen
map i recolor
#
set database "sqlite"