Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
c379f7a204 | |||
ed82588786 |
@ -1,17 +0,0 @@
|
|||||||
# .bash_profile
|
|
||||||
|
|
||||||
# Get the aliases and functions
|
|
||||||
[ -f $HOME/.bashrc ] && . $HOME/.bashrc
|
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NOREPARENTING=1
|
|
||||||
export PATH="$PATH:/opt/texlive/2023/bin/x86_64-linux/"
|
|
||||||
|
|
||||||
# SSHAGENT
|
|
||||||
export SSH_AUTH_SOCK=${HOME}/.ssh/agent
|
|
||||||
if ! pgrep -u ${USER} ssh-agent > /dev/null; then
|
|
||||||
rm -f ${SSH_AUTH_SOCK}
|
|
||||||
fi
|
|
||||||
if [ ! -S ${SSH_AUTH_SOCK} ]; then
|
|
||||||
eval $(ssh-agent -a ${SSH_AUTH_SOCK} 2> /dev/null)
|
|
||||||
fi
|
|
||||||
|
|
54
.bashrc
54
.bashrc
@ -14,9 +14,6 @@ source /etc/profile
|
|||||||
|
|
||||||
|
|
||||||
# PS1 shell color
|
# PS1 shell color
|
||||||
## simple white ps1 without git
|
|
||||||
#PS1='\[\e[0m\][\[\e[0m\]\u\[\e[0m\]@\[\e[0m\]\H \[\e[0m\]\W\[\e[0m\]]\[\e[0m\]\$ \[\e[0m\]'
|
|
||||||
|
|
||||||
## based on: https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/
|
## based on: https://www.cyberciti.biz/faq/bash-shell-change-the-color-of-my-shell-prompt-under-linux-or-unix/
|
||||||
## get current branch in git repo
|
## get current branch in git repo
|
||||||
function parse_git_branch() {
|
function parse_git_branch() {
|
||||||
@ -82,14 +79,6 @@ killport () {
|
|||||||
kill $(lsof -t -i:"$1")
|
kill $(lsof -t -i:"$1")
|
||||||
}
|
}
|
||||||
|
|
||||||
## Enable runit service (for Void Linux)
|
|
||||||
function sv-enable () {
|
|
||||||
if test -e /etc/sv/$1; then
|
|
||||||
doas ln -sv /etc/sv/$1 /var/service/
|
|
||||||
else
|
|
||||||
echo "Error: /etc/sv/$1 does not exist"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
## Switch keyboard layouts
|
## Switch keyboard layouts
|
||||||
function xkb-switch () {
|
function xkb-switch () {
|
||||||
@ -126,47 +115,33 @@ m3u8-download() {
|
|||||||
youtube-dl -f $format_code --hls-prefer-native "$1"
|
youtube-dl -f $format_code --hls-prefer-native "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
## GPG functions
|
|
||||||
gpg_encrypt () {
|
|
||||||
output=~/"${1}".$(date +%s).enc
|
|
||||||
#gpg --encrypt --armor --output ${output} -r 0x0000 -r 0x0001 -r 0x0002 "${1}" && echo "${1} -> ${output}"
|
|
||||||
gpg --encrypt --armor --output ${output} "${1}" && echo "${1} -> ${output}"
|
|
||||||
}
|
|
||||||
|
|
||||||
gpg_decrypt () {
|
|
||||||
output=$(echo "${1}" | rev | cut -c16- | rev)
|
|
||||||
gpg --decrypt --output ${output} "${1}" && echo "${1} -> ${output}"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
# Aliases and Exports
|
# Aliases and Exports
|
||||||
## utility
|
## utility
|
||||||
alias cal="cal -m"
|
alias cal="cal -m"
|
||||||
|
|
||||||
## shell
|
## shell
|
||||||
#set -o vi # vim keybinding in terminal
|
set -o vi # vim keybinding in terminal
|
||||||
EDITOR=vim # prefered editor
|
EDITOR=vim # prefered editor
|
||||||
stty -ixon # reverse i search bash
|
stty -ixon # reverse i search bash
|
||||||
complete -cf doas # doas completion
|
|
||||||
alias ls="ls --color=auto"
|
alias ls="ls --color=auto"
|
||||||
alias ll="ls -lFh"
|
alias ll="ls -lFh"
|
||||||
alias la="ls -alh"
|
alias la="ls -alh"
|
||||||
alias l="ls -CF"
|
alias l="ls -CF"
|
||||||
alias ld="ls -d -F */"
|
alias ld="ls -d -F */"
|
||||||
alias lda="ls -l -d -p */"
|
alias lda="ls -l -d -p */"
|
||||||
export HISTCONTROL=ignoredups # fuckin history identical vole
|
|
||||||
|
|
||||||
## network
|
## network
|
||||||
|
|
||||||
## shortcuts
|
## shortcuts
|
||||||
alias lgfr="cd ~/git/fr/"
|
alias lgfr="cd ~/git/filiprojek/"
|
||||||
alias lgfw="cd ~/git/fofrweb/"
|
alias lgfw="cd ~/git/fofrweb/"
|
||||||
alias lbc="cd ~/git/fr/pedf/bc"
|
alias lbc="cd ~/git/fr/pedf/bc"
|
||||||
|
|
||||||
## programs
|
## programs
|
||||||
alias r="ranger"
|
alias r="ranger"
|
||||||
alias feh="feh --scale-down"
|
alias feh="feh --scale-down"
|
||||||
#alias dragon="dragon-drop"
|
alias dragon="dragon-drop"
|
||||||
alias xclip="xclip -selection c"
|
alias xclip="xclip -selection c"
|
||||||
alias grep='grep --color=auto'
|
alias grep='grep --color=auto'
|
||||||
alias passmenu="passmenu -l 10"
|
alias passmenu="passmenu -l 10"
|
||||||
@ -174,7 +149,6 @@ alias speedtest="speedtest-cli"
|
|||||||
alias "cd.."="cd .."
|
alias "cd.."="cd .."
|
||||||
alias df='df -h' # human-readable sizes
|
alias df='df -h' # human-readable sizes
|
||||||
alias free='free -m' # show sizes in MB
|
alias free='free -m' # show sizes in MB
|
||||||
alias tldr='tldr -t base16' # colors
|
|
||||||
|
|
||||||
## gpg encryption
|
## gpg encryption
|
||||||
# verify signature for isos
|
# verify signature for isos
|
||||||
@ -207,12 +181,11 @@ alias wttrfull="curl -s wttr.in/Prague?qM"
|
|||||||
alias whatsmyip="dig +short myip.opendns.com @resolver1.opendns.com"
|
alias whatsmyip="dig +short myip.opendns.com @resolver1.opendns.com"
|
||||||
alias htmlvlna="vlna -s -r -x 266E6273703B"
|
alias htmlvlna="vlna -s -r -x 266E6273703B"
|
||||||
alias fuck='doas $(history -p \!\!)'
|
alias fuck='doas $(history -p \!\!)'
|
||||||
alias sudo="doas"
|
alias doas="sudo"
|
||||||
|
|
||||||
## void xbps aliases
|
## void xbps aliases
|
||||||
#alias xi="doas xbps-install"
|
alias xi="doas xbps-install"
|
||||||
alias xi="doas xi"
|
alias xq="doas xbps-query -Rs"
|
||||||
alias xq="xbps-query -Rs"
|
|
||||||
alias xr="doas xbps-remove"
|
alias xr="doas xbps-remove"
|
||||||
alias xrd="doas xbps-remove -R" # remove all dependencies
|
alias xrd="doas xbps-remove -R" # remove all dependencies
|
||||||
alias xu="doas xbps-install -Suv" # update
|
alias xu="doas xbps-install -Suv" # update
|
||||||
@ -220,27 +193,18 @@ alias xreinstall="doas xbps-install -f"
|
|||||||
alias xlu="xbps-install -Suvn" # list packages requiring updates
|
alias xlu="xbps-install -Suvn" # list packages requiring updates
|
||||||
|
|
||||||
## random
|
## random
|
||||||
|
#alias vim="nvim"
|
||||||
alias todo="vim ~/_todo.md"
|
alias todo="vim ~/_todo.md"
|
||||||
alias schm="~/.screenlayout/home.sh"
|
alias schm="~/.screenlayout/home.sh"
|
||||||
alias sclp="~/.screenlayout/laptop.sh"
|
alias sclp="~/.screenlayout/laptop.sh"
|
||||||
|
|
||||||
### bare git repo alias for dotfiles
|
### bare git repo alias for dotfiles
|
||||||
alias config="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
|
alias config="/usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME"
|
||||||
|
|
||||||
|
|
||||||
# Exports
|
# Exports
|
||||||
export PATH="$PATH:$HOME/.cargo/bin"
|
export PATH="$PATH:$HOME/.cargo/bin"
|
||||||
export PATH="$PATH:$HOME/.local/bin"
|
export PATH="$PATH:$HOME/.local/bin"
|
||||||
export PATH="$PATH:/var/lib/flatpak/exports/bin"
|
export PATH="$PATH:/var/lib/flatpak/exports/bin"
|
||||||
export PATH="$PATH:$HOME/.local/share/flatpak/exports/bin"
|
export PATH="$PATH:$HOME/.local/share/flatpak/exports/bin"
|
||||||
export PATH="$PATH:/home/fr/git/microlab/wpa_tui/dmenu_scripts"
|
|
||||||
|
|
||||||
# Locales Exports
|
|
||||||
export LC_ALL=en_US.UTF-8
|
|
||||||
export LANG=en_US.UTF-8
|
|
||||||
export LANGUAGE=en_US.UTF-8
|
|
||||||
|
|
||||||
# autologin on tty1
|
|
||||||
# if [ -z "$DISPLAY" ] && [ "$(fgconsole)" -eq 1 ]; then
|
|
||||||
# exec startx
|
|
||||||
# fi
|
|
||||||
|
|
||||||
|
neofetch
|
||||||
|
1
.config/alacritty/.gitignore
vendored
1
.config/alacritty/.gitignore
vendored
@ -1 +0,0 @@
|
|||||||
alacritty.yml
|
|
@ -1,86 +0,0 @@
|
|||||||
font:
|
|
||||||
normal:
|
|
||||||
family: LiterationMono Nerd Font Mono
|
|
||||||
style: Regular
|
|
||||||
|
|
||||||
bold:
|
|
||||||
family: LiterationMono Nerd Font Mono
|
|
||||||
style: Bold
|
|
||||||
|
|
||||||
italic:
|
|
||||||
family: LiterationMono Nerd Font Mono
|
|
||||||
style: Italic
|
|
||||||
|
|
||||||
bold_italic:
|
|
||||||
family: LiterationMono Nerd Font Mono
|
|
||||||
style: Bold Italic
|
|
||||||
|
|
||||||
|
|
||||||
size: 8
|
|
||||||
|
|
||||||
# Base16 Default Dark - alacritty color config
|
|
||||||
# Chris Kempson (http://chriskempson.com)
|
|
||||||
colors:
|
|
||||||
# Default colors
|
|
||||||
primary:
|
|
||||||
background: '0x181818'
|
|
||||||
# foreground: '0xd8d8d8'
|
|
||||||
# background: '0x000000'
|
|
||||||
foreground: '0xffffff'
|
|
||||||
|
|
||||||
# Colors the cursor will use if `custom_cursor_colors` is true
|
|
||||||
cursor:
|
|
||||||
text: '0x181818'
|
|
||||||
cursor: '0xd8d8d8'
|
|
||||||
|
|
||||||
# Normal colors
|
|
||||||
normal:
|
|
||||||
black: '0x181818'
|
|
||||||
red: '0xab4642'
|
|
||||||
green: '0xa1b56c'
|
|
||||||
yellow: '0xf7ca88'
|
|
||||||
blue: '0x7cafc2'
|
|
||||||
magenta: '0xba8baf'
|
|
||||||
cyan: '0x86c1b9'
|
|
||||||
white: '0xd8d8d8'
|
|
||||||
|
|
||||||
bright:
|
|
||||||
black: '0x181818'
|
|
||||||
red: '0xab4642'
|
|
||||||
green: '0xa1b56c'
|
|
||||||
yellow: '0xf7ca88'
|
|
||||||
blue: '0x7cafc2'
|
|
||||||
magenta: '0xba8baf'
|
|
||||||
cyan: '0x86c1b9'
|
|
||||||
white: '0xd8d8d8'
|
|
||||||
|
|
||||||
# Bright colors
|
|
||||||
# bright:
|
|
||||||
# black: '0x585858'
|
|
||||||
# red: '0xdc9656'
|
|
||||||
# green: '0x282828'
|
|
||||||
# yellow: '0x383838'
|
|
||||||
# blue: '0xb8b8b8'
|
|
||||||
# magenta: '0xe8e8e8'
|
|
||||||
# cyan: '0xa16946'
|
|
||||||
# white: '0xf8f8f8'
|
|
||||||
|
|
||||||
indexed_colors:
|
|
||||||
- { index: 16, color: '0xdc9656' }
|
|
||||||
- { index: 17, color: '0xa16946' }
|
|
||||||
- { index: 18, color: '0x282828' }
|
|
||||||
- { index: 19, color: '0x383838' }
|
|
||||||
- { index: 20, color: '0xb8b8b8' }
|
|
||||||
- { index: 21, color: '0xe8e8e8' }
|
|
||||||
|
|
||||||
draw_bold_text_with_bright_colors: false
|
|
||||||
|
|
||||||
window:
|
|
||||||
opacity: 0.9
|
|
||||||
|
|
||||||
key_bindings:
|
|
||||||
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
|
|
||||||
|
|
||||||
env:
|
|
||||||
TERM: xterm-256color
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
local set = vim.opt
|
local set = vim.opt
|
||||||
|
|
||||||
set.mouse = 'a'
|
set.mouse = 'a'
|
||||||
set.encoding = 'UTF-8'
|
set.encoding = 'utf-8'
|
||||||
set.fileencoding = 'UTF-8'
|
set.fileencoding = 'UTF-8'
|
||||||
|
|
||||||
set.number = true
|
set.number = true
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
vim.o.tabstop = 2
|
|
||||||
vim.o.softtabstop = 2
|
|
||||||
vim.o.shiftwidth = 2
|
|
||||||
vim.o.expandtab = true
|
|
||||||
|
|
@ -1,4 +0,0 @@
|
|||||||
return {
|
|
||||||
'windwp/nvim-autopairs',
|
|
||||||
config = function() require("nvim-autopairs").setup {} end
|
|
||||||
}
|
|
@ -1,10 +0,0 @@
|
|||||||
return {
|
|
||||||
{
|
|
||||||
'akinsho/bufferline.nvim',
|
|
||||||
config = function()
|
|
||||||
vim.opt.termguicolors = true
|
|
||||||
require("bufferline").setup{}
|
|
||||||
end
|
|
||||||
},
|
|
||||||
}
|
|
||||||
|
|
@ -1,10 +0,0 @@
|
|||||||
# If a config.py file exists, this file is ignored unless it's explicitly loaded
|
|
||||||
# via config.load_autoconfig(). For more information, see:
|
|
||||||
# https://github.com/qutebrowser/qutebrowser/blob/master/doc/help/configuring.asciidoc#loading-autoconfigyml
|
|
||||||
# DO NOT edit this file by hand, qutebrowser will overwrite it.
|
|
||||||
# Instead, create a config.py - see :help for details.
|
|
||||||
|
|
||||||
config_version: 2
|
|
||||||
settings:
|
|
||||||
tabs.show:
|
|
||||||
global: always
|
|
@ -1,186 +0,0 @@
|
|||||||
# Autogenerated config.py
|
|
||||||
#
|
|
||||||
# NOTE: config.py is intended for advanced users who are comfortable
|
|
||||||
# with manually migrating the config file on qutebrowser upgrades. If
|
|
||||||
# you prefer, you can also configure qutebrowser using the
|
|
||||||
# :set/:bind/:config-* commands without having to write a config.py
|
|
||||||
# file.
|
|
||||||
#
|
|
||||||
# Documentation:
|
|
||||||
# qute://help/configuring.html
|
|
||||||
# qute://help/settings.html
|
|
||||||
|
|
||||||
# Change the argument to True to still load settings configured via autoconfig.yml
|
|
||||||
config.load_autoconfig(False)
|
|
||||||
|
|
||||||
# setting dark mode
|
|
||||||
config.set("colors.webpage.darkmode.enabled", True)
|
|
||||||
|
|
||||||
# Which cookies to accept. With QtWebEngine, this setting also controls
|
|
||||||
# other features with tracking capabilities similar to those of cookies;
|
|
||||||
# including IndexedDB, DOM storage, filesystem API, service workers, and
|
|
||||||
# AppCache. Note that with QtWebKit, only `all` and `never` are
|
|
||||||
# supported as per-domain values. Setting `no-3rdparty` or `no-
|
|
||||||
# unknown-3rdparty` per-domain on QtWebKit will have the same effect as
|
|
||||||
# `all`. If this setting is used with URL patterns, the pattern gets
|
|
||||||
# applied to the origin/first party URL of the page making the request,
|
|
||||||
# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped
|
|
||||||
# from URLs, so URL patterns using paths will not match. With
|
|
||||||
# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so
|
|
||||||
# you will typically need to set this setting for `example.com` when the
|
|
||||||
# cookie is set on `somesubdomain.example.com` for it to work properly.
|
|
||||||
# To debug issues with this setting, start qutebrowser with `--debug
|
|
||||||
# --logfilter network --debug-flag log-cookies` which will show all
|
|
||||||
# cookies being set.
|
|
||||||
# Type: String
|
|
||||||
# Valid values:
|
|
||||||
# - all: Accept all cookies.
|
|
||||||
# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
|
|
||||||
# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
|
|
||||||
# - never: Don't accept cookies at all.
|
|
||||||
config.set('content.cookies.accept', 'all', 'chrome-devtools://*')
|
|
||||||
|
|
||||||
# Which cookies to accept. With QtWebEngine, this setting also controls
|
|
||||||
# other features with tracking capabilities similar to those of cookies;
|
|
||||||
# including IndexedDB, DOM storage, filesystem API, service workers, and
|
|
||||||
# AppCache. Note that with QtWebKit, only `all` and `never` are
|
|
||||||
# supported as per-domain values. Setting `no-3rdparty` or `no-
|
|
||||||
# unknown-3rdparty` per-domain on QtWebKit will have the same effect as
|
|
||||||
# `all`. If this setting is used with URL patterns, the pattern gets
|
|
||||||
# applied to the origin/first party URL of the page making the request,
|
|
||||||
# not the request URL. With QtWebEngine 5.15.0+, paths will be stripped
|
|
||||||
# from URLs, so URL patterns using paths will not match. With
|
|
||||||
# QtWebEngine 5.15.2+, subdomains are additionally stripped as well, so
|
|
||||||
# you will typically need to set this setting for `example.com` when the
|
|
||||||
# cookie is set on `somesubdomain.example.com` for it to work properly.
|
|
||||||
# To debug issues with this setting, start qutebrowser with `--debug
|
|
||||||
# --logfilter network --debug-flag log-cookies` which will show all
|
|
||||||
# cookies being set.
|
|
||||||
# Type: String
|
|
||||||
# Valid values:
|
|
||||||
# - all: Accept all cookies.
|
|
||||||
# - no-3rdparty: Accept cookies from the same origin only. This is known to break some sites, such as GMail.
|
|
||||||
# - no-unknown-3rdparty: Accept cookies from the same origin only, unless a cookie is already set for the domain. On QtWebEngine, this is the same as no-3rdparty.
|
|
||||||
# - never: Don't accept cookies at all.
|
|
||||||
config.set('content.cookies.accept', 'all', 'devtools://*')
|
|
||||||
|
|
||||||
# Value to send in the `Accept-Language` header. Note that the value
|
|
||||||
# read from JavaScript is always the global value.
|
|
||||||
# Type: String
|
|
||||||
config.set('content.headers.accept_language', '', 'https://matchmaker.krunker.io/*')
|
|
||||||
|
|
||||||
# User agent to send. The following placeholders are defined: *
|
|
||||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
|
||||||
# The underlying WebKit version (set to a fixed value with
|
|
||||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
|
||||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
|
||||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
|
||||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
|
||||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
|
||||||
# running qutebrowser version. The default value is equal to the
|
|
||||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
|
||||||
# read from JavaScript is always the global value. With QtWebEngine
|
|
||||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
|
||||||
# JavaScript requires a restart.
|
|
||||||
# Type: FormatString
|
|
||||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/')
|
|
||||||
|
|
||||||
# User agent to send. The following placeholders are defined: *
|
|
||||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
|
||||||
# The underlying WebKit version (set to a fixed value with
|
|
||||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
|
||||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
|
||||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
|
||||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
|
||||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
|
||||||
# running qutebrowser version. The default value is equal to the
|
|
||||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
|
||||||
# read from JavaScript is always the global value. With QtWebEngine
|
|
||||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
|
||||||
# JavaScript requires a restart.
|
|
||||||
# Type: FormatString
|
|
||||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:90.0) Gecko/20100101 Firefox/90.0', 'https://accounts.google.com/*')
|
|
||||||
|
|
||||||
# User agent to send. The following placeholders are defined: *
|
|
||||||
# `{os_info}`: Something like "X11; Linux x86_64". * `{webkit_version}`:
|
|
||||||
# The underlying WebKit version (set to a fixed value with
|
|
||||||
# QtWebEngine). * `{qt_key}`: "Qt" for QtWebKit, "QtWebEngine" for
|
|
||||||
# QtWebEngine. * `{qt_version}`: The underlying Qt version. *
|
|
||||||
# `{upstream_browser_key}`: "Version" for QtWebKit, "Chrome" for
|
|
||||||
# QtWebEngine. * `{upstream_browser_version}`: The corresponding
|
|
||||||
# Safari/Chrome version. * `{qutebrowser_version}`: The currently
|
|
||||||
# running qutebrowser version. The default value is equal to the
|
|
||||||
# unchanged user agent of QtWebKit/QtWebEngine. Note that the value
|
|
||||||
# read from JavaScript is always the global value. With QtWebEngine
|
|
||||||
# between 5.12 and 5.14 (inclusive), changing the value exposed to
|
|
||||||
# JavaScript requires a restart.
|
|
||||||
# Type: FormatString
|
|
||||||
config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99 Safari/537.36', 'https://*.slack.com/*')
|
|
||||||
|
|
||||||
# Load images automatically in web pages.
|
|
||||||
# Type: Bool
|
|
||||||
config.set('content.images', True, 'chrome-devtools://*')
|
|
||||||
|
|
||||||
# Load images automatically in web pages.
|
|
||||||
# Type: Bool
|
|
||||||
config.set('content.images', True, 'devtools://*')
|
|
||||||
|
|
||||||
# Enable JavaScript.
|
|
||||||
# Type: Bool
|
|
||||||
config.set('content.javascript.enabled', True, 'chrome-devtools://*')
|
|
||||||
|
|
||||||
# Enable JavaScript.
|
|
||||||
# Type: Bool
|
|
||||||
config.set('content.javascript.enabled', True, 'devtools://*')
|
|
||||||
|
|
||||||
# Enable JavaScript.
|
|
||||||
# Type: Bool
|
|
||||||
config.set('content.javascript.enabled', True, 'chrome://*/*')
|
|
||||||
|
|
||||||
# Enable JavaScript.
|
|
||||||
# Type: Bool
|
|
||||||
config.set('content.javascript.enabled', True, 'qute://*/*')
|
|
||||||
|
|
||||||
# Allow websites to show notifications.
|
|
||||||
# Type: BoolAsk
|
|
||||||
# Valid values:
|
|
||||||
# - true
|
|
||||||
# - false
|
|
||||||
# - ask
|
|
||||||
config.set('content.notifications.enabled', False, 'https://www.youtube.com')
|
|
||||||
|
|
||||||
# Position of the tab bar.
|
|
||||||
# Type: Position
|
|
||||||
# Valid values:
|
|
||||||
# - top
|
|
||||||
# - bottom
|
|
||||||
# - left
|
|
||||||
# - right
|
|
||||||
c.tabs.position = 'left'
|
|
||||||
|
|
||||||
# Value to use for `prefers-color-scheme:` for websites. The "light"
|
|
||||||
# value is only available with QtWebEngine 5.15.2+. On older versions,
|
|
||||||
# it is the same as "auto". The "auto" value is broken on QtWebEngine
|
|
||||||
# 5.15.2 due to a Qt bug. There, it will fall back to "light"
|
|
||||||
# unconditionally.
|
|
||||||
# Type: String
|
|
||||||
# Valid values:
|
|
||||||
# - auto: Use the system-wide color scheme setting.
|
|
||||||
# - light: Force a light theme.
|
|
||||||
# - dark: Force a dark theme.
|
|
||||||
c.colors.webpage.preferred_color_scheme = 'dark'
|
|
||||||
|
|
||||||
# Render all web contents using a dark theme. Example configurations
|
|
||||||
# from Chromium's `chrome://flags`: - "With simple HSL/CIELAB/RGB-based
|
|
||||||
# inversion": Set `colors.webpage.darkmode.algorithm` accordingly. -
|
|
||||||
# "With selective image inversion": Set
|
|
||||||
# `colors.webpage.darkmode.policy.images` to `smart`. - "With selective
|
|
||||||
# inversion of non-image elements": Set
|
|
||||||
# `colors.webpage.darkmode.threshold.text` to 150 and
|
|
||||||
# `colors.webpage.darkmode.threshold.background` to 205. - "With
|
|
||||||
# selective inversion of everything": Combines the two variants above.
|
|
||||||
# Type: Bool
|
|
||||||
c.colors.webpage.darkmode.enabled = False
|
|
||||||
|
|
||||||
|
|
||||||
config.bind('xt', 'config-cycle tabs.show always never')
|
|
@ -1,3 +1,3 @@
|
|||||||
set preview_images true
|
set preview_images true
|
||||||
set preview_images_method ueberzug
|
set preview_images alacritty
|
||||||
|
|
||||||
|
24
.xinitrc
24
.xinitrc
@ -1,24 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# Make sure this is before the 'exec' command or it won't be sourced.
|
|
||||||
[ -f /etc/xprofile ] && . /etc/xprofile
|
|
||||||
[ -f ~/.xprofile ] && . ~/.xprofile
|
|
||||||
[ -f ~/.Xresources ] && xrdb -merge -I$HOME ~/.Xresources
|
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
|
|
||||||
eval "$(dbus-launch --sh-syntax --exit-with-session)"
|
|
||||||
|
|
||||||
feh --bg-center "$HOME/Pictures/bg.png" &
|
|
||||||
|
|
||||||
xautolock -locker lock-us -secure -time 1 &
|
|
||||||
|
|
||||||
#pipewire &
|
|
||||||
dbus-run-session pipewire &
|
|
||||||
pipewire-pulse &
|
|
||||||
wireplumber &
|
|
||||||
|
|
||||||
dwmblocks &
|
|
||||||
|
|
||||||
dbus-launch --sh-syntax --exit-with-session dwm
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
|||||||
#gentoo-pipewire-launcher &
|
|
||||||
ssh-agent &
|
|
||||||
TPADID=$(xinput | grep "Synaptics" | awk '{print $5}' | awk -F "=" '{print $2}')
|
|
||||||
xinput disable $TPADID
|
|
||||||
xinput set-prop "TPPS/2 IBM TrackPoint" "libinput Accel Speed" 0.9
|
|
||||||
|
|
||||||
xdg-settings set default-web-browser firefox.desktop
|
|
Loading…
Reference in New Issue
Block a user