Changes
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
BROWSER=qutebrowser
|
||||
|
||||
feh --bg-scale /home/dakedres/pictures/blur-pseudo-mono.png
|
||||
feh --bg-scale /home/dakedres/.wallpaper.png
|
||||
setxkbmap -option caps:swapescape
|
||||
|
||||
pipewire &
|
||||
|
||||
15
scripts/qutebrowser
Executable file
15
scripts/qutebrowser
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
# initial idea: Florian Bruhin (The-Compiler)
|
||||
# author: Thore Bödecker (foxxx0)
|
||||
|
||||
_url="$1"
|
||||
_qb_version='1.0.4'
|
||||
_proto_version=1
|
||||
_ipc_socket="${XDG_RUNTIME_DIR}/qutebrowser/ipc-$(echo -n "$USER" | md5sum | cut -d' ' -f1)"
|
||||
_qute_bin="/home/dakedres/repos/qutebrowser/.venv/bin/qutebrowser"
|
||||
|
||||
printf '{"args": ["%s"], "target_arg": null, "version": "%s", "protocol_version": %d, "cwd": "%s"}\n' \
|
||||
"${_url}" \
|
||||
"${_qb_version}" \
|
||||
"${_proto_version}" \
|
||||
"${PWD}" | socat -lf /dev/null - UNIX-CONNECT:"${_ipc_socket}" || "$_qute_bin" "$@" &
|
||||
@@ -3,4 +3,4 @@
|
||||
db=$HOME/.local/share/qutebrowser/history.sqlite
|
||||
url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}')
|
||||
[ -z "$url" ] && exit
|
||||
qutebrowser --target window "$url"
|
||||
qutebrowser "$url"
|
||||
|
||||
26
scripts/set-desktop-theme
Executable file
26
scripts/set-desktop-theme
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
# Favorites:
|
||||
# - horizon-terminal-dark
|
||||
# - heetch
|
||||
# - blueforest
|
||||
# - tarot
|
||||
|
||||
export SCHEME=$1
|
||||
|
||||
shchemes install_tinted_scheme
|
||||
shchemes inject "$HOME/.config/qutebrowser/config.py"
|
||||
pkill -HUP qutebrowser
|
||||
|
||||
BSPWM_THEME="$HOME/.config/bspwm/colors"
|
||||
shchemes create_theme bspwm > "$BSPWM_THEME"
|
||||
"$BSPWM_THEME"
|
||||
|
||||
shchemes inject "$HOME/.config/alacritty/alacritty.toml"
|
||||
shchemes inject "$HOME/.config/rofi/config.rasi" "//"
|
||||
|
||||
WALLPAPER_OUT="$HOME/.wallpaper.png"
|
||||
shchemes create_theme imagemagick \
|
||||
| convert ~/pictures/wallpapers/tradin.jpg -dither FloydSteinberg -colorspace srgb -remap txt:- "$WALLPAPER_OUT"
|
||||
feh --bg-scale "$WALLPAPER_OUT"
|
||||
Reference in New Issue
Block a user