Compare commits
5 commits
d053f9d145
...
cbf6944b11
Author | SHA1 | Date | |
---|---|---|---|
cbf6944b11 | |||
2c53ae9476 | |||
a43249dc9c | |||
58f95d32ec | |||
8d92f8c8f2 |
40 changed files with 1486 additions and 35 deletions
|
@ -27,6 +27,7 @@ alias grep-highlight='grep -e "^" -e'
|
|||
|
||||
alias hist-grep='history 0 | grep '
|
||||
|
||||
alias icat="kitty +kitten icat"
|
||||
alias ip='ip -c'
|
||||
|
||||
alias j='jump'
|
||||
|
|
|
@ -70,7 +70,7 @@ bspc rule -a 'Zathura' state='tiled'
|
|||
bspc rule -a 'sticky-note:sticky-note' state='floating' sticky='on' border='off'
|
||||
bspc rule -a 'Xarchiver' state='floating'
|
||||
|
||||
bspc rule -a 'Signal' desktop='messenger' locked='true'
|
||||
bspc rule -a 'Signal' desktop='messenger'
|
||||
bspc rule -a 'Thunderbird:Mail' desktop='messenger' locked='true'
|
||||
|
||||
$HOME/.config/polybar/launch.sh &
|
||||
|
|
|
@ -27,6 +27,9 @@ export PATH=$HOME/.local/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin:$GOPAT
|
|||
|
||||
export QT_QPA_PLATFORMTHEME="qt5ct"
|
||||
|
||||
export TERMINAL="kitty"
|
||||
export TERM="xterm-color"
|
||||
|
||||
export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc"
|
||||
|
||||
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
|
||||
|
|
63
.config/kitty/dracula.conf
Normal file
63
.config/kitty/dracula.conf
Normal file
|
@ -0,0 +1,63 @@
|
|||
# https://draculatheme.com/kitty
|
||||
#
|
||||
# Installation instructions:
|
||||
#
|
||||
# cp dracula.conf ~/.config/kitty/
|
||||
# echo "include dracula.conf" >> ~/.config/kitty/kitty.conf
|
||||
#
|
||||
# Then reload kitty for the config to take affect.
|
||||
# Alternatively copy paste below directly into kitty.conf
|
||||
|
||||
foreground #f8f8f2
|
||||
background #22212c
|
||||
selection_foreground #ffffff
|
||||
selection_background #44475a
|
||||
|
||||
url_color #8be9fd
|
||||
|
||||
# black
|
||||
color0 #22212c
|
||||
color8 #22212c
|
||||
|
||||
# red
|
||||
color1 #ff9580
|
||||
color9 #ffaa99
|
||||
|
||||
# green
|
||||
color2 #8aff80
|
||||
color10 #a2ff99
|
||||
|
||||
# yellow
|
||||
color3 #ffff80
|
||||
color11 #ffff99
|
||||
|
||||
# blue
|
||||
color4 #9580ff
|
||||
color12 #aa99ff
|
||||
|
||||
# magenta
|
||||
color5 #ff80bf
|
||||
color13 #ff99cc
|
||||
|
||||
# cyan
|
||||
color6 #80ffea
|
||||
color14 #99ffee
|
||||
|
||||
# white
|
||||
color7 #f8f8f2
|
||||
color15 #ffffff
|
||||
|
||||
# Cursor colors
|
||||
cursor #f8f8f2
|
||||
cursor_text_color #454158
|
||||
|
||||
# Tab bar colors
|
||||
active_tab_foreground #282a36
|
||||
active_tab_background #f8f8f2
|
||||
inactive_tab_foreground #282a36
|
||||
inactive_tab_background #6272a4
|
||||
|
||||
# Marks
|
||||
mark1_foreground #282a36
|
||||
mark1_background #ff5555
|
||||
55
|
1315
.config/kitty/kitty.conf
Normal file
1315
.config/kitty/kitty.conf
Normal file
File diff suppressed because it is too large
Load diff
|
@ -50,7 +50,7 @@
|
|||
[bar/portalo-base]
|
||||
inherit = bar/base
|
||||
|
||||
modules-left = bspwm
|
||||
modules-left = bspwm bsp-layout
|
||||
modules-center = mpd
|
||||
modules-right = memory cpu temperature eth check-arch-updates date
|
||||
|
||||
|
@ -71,7 +71,7 @@
|
|||
[bar/laptop-base]
|
||||
inherit = bar/base
|
||||
|
||||
modules-left = bspwm
|
||||
modules-left = bspwm bsp-layout
|
||||
modules-center = mpd
|
||||
modules-right = pulseaudio battery xbacklight memory cpu temperature wlan eth check-arch-updates date powermenu
|
||||
|
||||
|
|
|
@ -23,3 +23,17 @@
|
|||
click-left = alacritty -e sh -c "$HOME/.local/bin/archlinux-update; checkupdates > $HOME/.cache/archlinux-updates.txt; read" &
|
||||
|
||||
label = %output%
|
||||
|
||||
[module/bsp-layout]
|
||||
type = custom/script
|
||||
exec = bsp-layout get $(bspc query -D --names -d focused)
|
||||
interval = 0.1
|
||||
|
||||
format-prefix = " "
|
||||
format-prefix-foreground = ${colors.foreground}
|
||||
format-underline = ${colors.red}
|
||||
format = <label>
|
||||
|
||||
click-left = bsp-layout cycle --layouts tall,wide,grid,rgrid,monocle
|
||||
|
||||
label = %output%
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
import dracula.draw
|
||||
import keybindings
|
||||
|
||||
config.load_autoconfig()
|
||||
|
||||
|
@ -24,34 +25,7 @@ c.url.searchengines = {'DEFAULT': 'bookmarks.serguzim/?q={}'}
|
|||
|
||||
c.zoom.default = 125
|
||||
|
||||
config.bind(',v', 'spawn --userscript view_in_mpv {url}')
|
||||
config.bind(',V', 'hint links spawn --userscript view_in_mpv {hint-url}')
|
||||
|
||||
config.bind(',b', 'spawn brave {url}')
|
||||
config.bind(',B', 'hint links spawn brave {hint-url}')
|
||||
|
||||
config.bind(',j', 'spawn --userscript format_json')
|
||||
|
||||
config.bind(',g', 'open {url:scheme}://github1s.com{url:path}{url:query}')
|
||||
config.bind(',rr', 'open {url:scheme}://removeddit.com{url:path}{url:query}')
|
||||
config.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}')
|
||||
config.bind(',s', 'spawn steam steam://openurl/{url}')
|
||||
|
||||
PASS_SCRIPT_DEFAULT = 'spawn --userscript qute-pass --no-insert-mode --username-target secret --username-pattern "login: (.+)" '
|
||||
config.bind(',p', PASS_SCRIPT_DEFAULT)
|
||||
config.bind(',Pu', PASS_SCRIPT_DEFAULT + '--username-only')
|
||||
config.bind(',Pi', PASS_SCRIPT_DEFAULT + '--password-only')
|
||||
config.bind(',Po', PASS_SCRIPT_DEFAULT + '--otp-only')
|
||||
|
||||
config.bind(',q', 'spawn --userscript qr {url}')
|
||||
config.bind(',Q', 'hint links spawn --userscript qr {hint-url}')
|
||||
|
||||
|
||||
config.bind('<Alt-9>', 'tab-focus 9')
|
||||
|
||||
config.bind('<Ctrl-Tab>', 'tab-next')
|
||||
config.bind('<Ctrl-Shift-Tab>', 'tab-prev')
|
||||
|
||||
keybindings.init(config)
|
||||
|
||||
dracula.draw.blood(c, {
|
||||
'spacing': {
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
import keybindings
|
||||
|
||||
config.load_autoconfig(False)
|
||||
|
||||
c.tabs.show = 'never'
|
||||
|
@ -6,5 +8,4 @@ c.auto_save.session = False
|
|||
|
||||
c.url.start_pages = ['https://twitch.tv/']
|
||||
|
||||
config.bind('<Ctrl-Tab>', 'tab-next')
|
||||
config.bind('<Ctrl-Shift-Tab>', 'tab-prev')
|
||||
keybindings.init(config)
|
27
.config/qutebrowser/keybindings.py
Normal file
27
.config/qutebrowser/keybindings.py
Normal file
|
@ -0,0 +1,27 @@
|
|||
def init(c):
|
||||
c.bind(',v', 'spawn --userscript view_in_mpv {url}')
|
||||
c.bind(',V', 'hint links spawn --userscript view_in_mpv {hint-url}')
|
||||
|
||||
c.bind(',b', 'spawn brave {url}')
|
||||
c.bind(',B', 'hint links spawn brave {hint-url}')
|
||||
|
||||
c.bind(',j', 'spawn --userscript format_json')
|
||||
|
||||
c.bind(',g', 'open {url:scheme}://github1s.com{url:path}{url:query}')
|
||||
c.bind(',rr', 'open {url:scheme}://removeddit.com{url:path}{url:query}')
|
||||
c.bind(',rt', 'open {url:scheme}://reddit.tube{url:path}{url:query}')
|
||||
c.bind(',s', 'spawn steam steam://openurl/{url}')
|
||||
|
||||
pass_script_default = 'spawn --userscript qute-pass --no-insert-mode --username-target secret --username-pattern "login: (.+)" '
|
||||
c.bind(',p', pass_script_default)
|
||||
c.bind(',Pu', pass_script_default + '--username-only')
|
||||
c.bind(',Pi', pass_script_default + '--password-only')
|
||||
c.bind(',Po', pass_script_default + '--otp-only')
|
||||
|
||||
c.bind(',q', 'spawn --userscript qr {url}')
|
||||
c.bind(',Q', 'hint links spawn --userscript qr {hint-url}')
|
||||
|
||||
c.bind('<Alt-9>', 'tab-focus 9')
|
||||
|
||||
c.bind('<Ctrl-Tab>', 'tab-next')
|
||||
c.bind('<Ctrl-Shift-Tab>', 'tab-prev')
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
# terminal emulator
|
||||
super + Return
|
||||
alacritty
|
||||
$TERMINAL
|
||||
|
||||
# program launcher
|
||||
super + d
|
||||
|
@ -67,7 +67,8 @@ super + {_,shift + }q
|
|||
|
||||
# alternate between the tiled and monocle layout
|
||||
super + m
|
||||
bspc desktop -l next
|
||||
bsp-layout cycle --layouts tall,wide,grid,rgrid,monocle
|
||||
#bspc desktop -l next
|
||||
|
||||
# send the newest marked node to the newest preselected node
|
||||
super + y
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
[Desktop Entry]
|
||||
Name=qutebrowser-kiosk
|
||||
StartupWMClass=qutebrowser-kiosk
|
||||
GenericName=Web Browser
|
||||
GenericName[ar]=ﻢﺘﺼﻔﺣ ﺎﻠﺸﺒﻛﺓ
|
||||
GenericName[bg]=Уеб браузър
|
||||
GenericName[ca]=Navegador web
|
||||
GenericName[cs]=WWW prohlížeč
|
||||
GenericName[da]=Browser
|
||||
GenericName[de]=Web-Browser
|
||||
GenericName[el]=Περιηγητής ιστού
|
||||
GenericName[en_GB]=Web Browser
|
||||
GenericName[es]=Navegador web
|
||||
GenericName[et]=Veebibrauser
|
||||
GenericName[fi]=WWW-selain
|
||||
GenericName[fr]=Navigateur Web
|
||||
GenericName[gu]=વેબ બ્રાઉઝર
|
||||
GenericName[he]=דפדפן אינטרנט
|
||||
GenericName[hi]=वेब ब्राउज़र
|
||||
GenericName[hu]=Webböngésző
|
||||
GenericName[it]=Browser Web
|
||||
GenericName[ja]=ウェブブラウザ
|
||||
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
|
||||
GenericName[ko]=웹 브라우저
|
||||
GenericName[lt]=Žiniatinklio naršyklė
|
||||
GenericName[lv]=Tīmekļa pārlūks
|
||||
GenericName[ml]=വെബ് ബ്രൌസര്<200d>
|
||||
GenericName[mr]=वेब ब्राऊजर
|
||||
GenericName[nb]=Nettleser
|
||||
GenericName[nl]=Webbrowser
|
||||
GenericName[pl]=Przeglądarka WWW
|
||||
GenericName[pt]=Navegador Web
|
||||
GenericName[pt_BR]=Navegador da Internet
|
||||
GenericName[ro]=Navigator de Internet
|
||||
GenericName[ru]=Веб-браузер
|
||||
GenericName[sl]=Spletni brskalnik
|
||||
GenericName[sv]=Webbläsare
|
||||
GenericName[ta]=இணைய உலாவி
|
||||
GenericName[th]=เว็บเบราว์เซอร์
|
||||
GenericName[tr]=Web Tarayıcı
|
||||
GenericName[uk]=Навігатор Тенет瀏覽器
|
||||
Comment=A keyboard-driven, vim-like browser based on PyQt5
|
||||
Comment[it]= Un browser web vim-like utilizzabile da tastiera basato su PyQt5
|
||||
Icon=qutebrowser
|
||||
Type=Application
|
||||
Categories=Network;WebBrowser;
|
||||
Exec=qutebrowser -B /home/tobias/.local/share/qutebrowser-kiosk -C /home/tobias/.config/qutebrowser/config_kiosk.py --qt-arg name kiosk %u
|
||||
Terminal=false
|
||||
StartupNotify=true
|
||||
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/qute;
|
||||
Keywords=Browser
|
||||
Actions=new-window;preferences;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in a new issue