Changes
This commit is contained in:
parent
5c1270830c
commit
1f4d4ab9df
23
archive.sh
23
archive.sh
@ -1,18 +1,24 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
dir=$PWD
|
set -x
|
||||||
scripts_subdir=$(echo "$PWD/scripts")
|
|
||||||
|
dotfiles_root="$(dirname "$0")"
|
||||||
|
dotfiles_root="$(realpath "$dotfiles_root")"
|
||||||
|
scripts_dir="${dotfiles_root}/scripts"
|
||||||
|
config_dir="${dotfiles_root}/config"
|
||||||
|
|
||||||
|
echo "$scripts_dir"
|
||||||
|
|
||||||
rsync -a ~/pictures/wallpapers/* wallpapers/
|
rsync -a ~/pictures/wallpapers/* wallpapers/
|
||||||
cp ~/.chama "$scripts_subdir/chama"
|
cp ~/.chama "${scripts_dir}/chama"
|
||||||
|
|
||||||
cd config
|
cd "$config_dir" || exit
|
||||||
rsync -a --exclude 'bookmarks' ~/.config/qutebrowser .
|
rsync -a --exclude 'bookmarks' ~/.config/qutebrowser .
|
||||||
rsync -a ~/.config/bspwm .
|
rsync -a ~/.config/bspwm .
|
||||||
rsync -a ~/.config/sxhkd .
|
rsync -a ~/.config/sxhkd .
|
||||||
rsync -a ~/.config/tint2/tint2rc tint2/
|
rsync -a ~/.config/tint2/tint2rc tint2/
|
||||||
|
|
||||||
cd ~/bin
|
cd ~/bin || exit
|
||||||
cp \
|
cp \
|
||||||
bsp-float \
|
bsp-float \
|
||||||
bsp-smove \
|
bsp-smove \
|
||||||
@ -20,8 +26,11 @@ bsp-toggle-visibility \
|
|||||||
pfetch \
|
pfetch \
|
||||||
power \
|
power \
|
||||||
qutesearch \
|
qutesearch \
|
||||||
|
qutebrowser \
|
||||||
rofi-ask \
|
rofi-ask \
|
||||||
|
"set-desktop-theme" \
|
||||||
tabc-smart-detach \
|
tabc-smart-detach \
|
||||||
sxhkd-help \
|
sxhkd-help \
|
||||||
web \
|
web \
|
||||||
$scripts_subdir
|
git-untracked \
|
||||||
|
"$scripts_dir"
|
||||||
|
@ -34,5 +34,6 @@ bspc rule -a Kupfer.py focus=on
|
|||||||
bspc rule -a Screenkey manage=off
|
bspc rule -a Screenkey manage=off
|
||||||
|
|
||||||
xsetroot -cursor_name left_ptr &
|
xsetroot -cursor_name left_ptr &
|
||||||
|
$(dirname $0)/colors
|
||||||
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
3
config/bspwm/colors
Executable file
3
config/bspwm/colors
Executable file
@ -0,0 +1,3 @@
|
|||||||
|
bspc config normal_border_color "#232530"
|
||||||
|
bspc config active_border_color "#9DA0A2"
|
||||||
|
bspc config focused_border_color "#59E1E3"
|
@ -9,9 +9,19 @@ settings:
|
|||||||
bindings.commands:
|
bindings.commands:
|
||||||
global:
|
global:
|
||||||
normal:
|
normal:
|
||||||
|
J: scroll-page 0 1
|
||||||
|
K: scroll-page 0 -1
|
||||||
gp: mode-enter passthrough
|
gp: mode-enter passthrough
|
||||||
|
h: back
|
||||||
|
l: forward
|
||||||
|
colors.webpage.preferred_color_scheme:
|
||||||
|
global: dark
|
||||||
content.autoplay:
|
content.autoplay:
|
||||||
global: false
|
global: false
|
||||||
|
content.cookies.accept:
|
||||||
|
global: no-unknown-3rdparty
|
||||||
|
content.cookies.store:
|
||||||
|
global: false
|
||||||
content.media.audio_capture:
|
content.media.audio_capture:
|
||||||
https://online-voice-recorder.com: true
|
https://online-voice-recorder.com: true
|
||||||
content.notifications.enabled:
|
content.notifications.enabled:
|
||||||
|
@ -1,28 +1,28 @@
|
|||||||
# Theme: https://github.com/alternateved/kaolin-inspired/blob/main/kaolin-dark/qutebrowser/default/base16-kaolin-dark.config.py
|
|
||||||
|
|
||||||
config.load_autoconfig()
|
config.load_autoconfig()
|
||||||
|
|
||||||
|
#START SHCHEMES BLOCK : shchemes create_theme qutebrowser
|
||||||
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
# base16-qutebrowser (https://github.com/theova/base16-qutebrowser)
|
||||||
# Base16 qutebrowser template by theova
|
# Scheme name:
|
||||||
# Kaolin-dark scheme by alternateved (http://github.com/alternateved)
|
# Scheme author:
|
||||||
# Inspired by (https://github.com/ogdenwebb/emacs-kaolin-themes)
|
# Template author: theova
|
||||||
|
# Commentary: Tinted Theming: (https://github.com/tinted-theming)
|
||||||
|
|
||||||
base00 = "#18181B"
|
base00 = "#1C1E26"
|
||||||
base01 = "#222225"
|
base01 = "#232530"
|
||||||
base02 = "#4B5254"
|
base02 = "#2E303E"
|
||||||
base03 = "#545C5E"
|
base03 = "#6F6F70"
|
||||||
base04 = "#879193"
|
base04 = "#9DA0A2"
|
||||||
base05 = "#9ba5a7"
|
base05 = "#CBCED0"
|
||||||
base06 = "#d0d0d4"
|
base06 = "#DCDFE4"
|
||||||
base07 = "#E4E4E8"
|
base07 = "#E3E6EE"
|
||||||
base08 = "#CD5C60"
|
base08 = "#E95678"
|
||||||
base09 = "#DBAC66"
|
base09 = "#FAB795"
|
||||||
base0A = "#F2C866"
|
base0A = "#FAC29A"
|
||||||
base0B = "#6FB593"
|
base0B = "#29D398"
|
||||||
base0C = "#4D9391"
|
base0C = "#59E1E3"
|
||||||
base0D = "#91B9C7"
|
base0D = "#26BBD9"
|
||||||
base0E = "#845A84"
|
base0E = "#EE64AC"
|
||||||
base0F = "#E36D5B"
|
base0F = "#F09383"
|
||||||
|
|
||||||
# set qutebrowser colors
|
# set qutebrowser colors
|
||||||
|
|
||||||
@ -302,4 +302,5 @@ c.colors.tabs.selected.even.bg = base02
|
|||||||
|
|
||||||
# Background color for webpages if unset (or empty to use the theme's
|
# Background color for webpages if unset (or empty to use the theme's
|
||||||
# color).
|
# color).
|
||||||
# c.colors.webpage.bg = base00
|
# c.colors.webpage.bg = base00
|
||||||
|
#END SHCHEMES BLOCK
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[FileDialog]
|
[FileDialog]
|
||||||
history=file:///home/dakedres/Downloads, file:///home/dakedres/downloads, file:///home/dakedres/projects/wchs-slideshow, file:///mnt/SICKSTICK/WCHS - Pictures, file:///mnt/SICKSTICK/WCHS - Website Pictures
|
history=file:///home/dakedres/music, file:///home/dakedres, file:///home/dakedres/pictures, file:///home/dakedres/pictures/wallpapers, file:///home/dakedres/splash
|
||||||
lastVisited=file:///mnt/SICKSTICK/WCHS - Website Pictures
|
lastVisited=file:///home/dakedres/splash
|
||||||
qtVersion=6.5.2
|
qtVersion=6.6.2
|
||||||
shortcuts=file:, file:///home/dakedres
|
shortcuts=file:, file:///home/dakedres
|
||||||
sidebarWidth=90
|
sidebarWidth=90
|
||||||
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2l\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\x7f\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)
|
treeViewHeader=@ByteArray(\0\0\0\xff\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x2l\0\0\0\x4\x1\x1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\x64\xff\xff\xff\xff\0\0\0\x81\0\0\0\0\0\0\0\x4\0\0\x1\x7f\0\0\0\x1\0\0\0\0\0\0\0?\0\0\0\x1\0\0\0\0\0\0\0@\0\0\0\x1\0\0\0\0\0\0\0n\0\0\0\x1\0\0\0\0\0\0\x3\xe8\0\xff\xff\xff\xff\0\0\0\0)
|
||||||
|
@ -121,7 +121,7 @@ alt + ctrl + {m,x,y,z}
|
|||||||
|
|
||||||
# focus the node in the given direction
|
# focus the node in the given direction
|
||||||
alt + {h,j,k,l,Left,Down,Up,Right}
|
alt + {h,j,k,l,Left,Down,Up,Right}
|
||||||
bspc node -{f} {west,south,north,east,west,south,north,east}
|
bspc node -{f} {west,south,north,east,west,south,north,east}
|
||||||
|
|
||||||
# focus the node for the given path jump
|
# focus the node for the given path jump
|
||||||
alt + {p,b,comma,period}
|
alt + {p,b,comma,period}
|
||||||
@ -177,9 +177,9 @@ alt + ctrl + shift + space
|
|||||||
alt + s; {h,j,k,l,Left,Down,Up,Right}
|
alt + s; {h,j,k,l,Left,Down,Up,Right}
|
||||||
bspc node -z {left -20 0,right 20 0,top 0 -20,bottom 0 20,left -20 0,right 20 0,top 0 -20,bottom 0 20}
|
bspc node -z {left -20 0,right 20 0,top 0 -20,bottom 0 20,left -20 0,right 20 0,top 0 -20,bottom 0 20}
|
||||||
|
|
||||||
move a floating window
|
# move a floating window
|
||||||
alt + {h,j,k,l}
|
# alt + {h,j,k,l}
|
||||||
bspc node -v {-30 0,0 20,0 -30,20 0}
|
# bspc node -v {-30 0,0 20,0 -30,20 0}
|
||||||
|
|
||||||
# move a not-floating window
|
# move a not-floating window
|
||||||
alt + shift + {h,j,k,l,Left,Down,Up,Right}
|
alt + shift + {h,j,k,l,Left,Down,Up,Right}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
|
#!/bin/sh
|
||||||
BROWSER=qutebrowser
|
BROWSER=qutebrowser
|
||||||
|
|
||||||
feh --bg-scale /home/dakedres/pictures/blur-pseudo-mono.png
|
feh --bg-scale /home/dakedres/.wallpaper.png
|
||||||
setxkbmap -option caps:swapescape
|
setxkbmap -option caps:swapescape
|
||||||
|
|
||||||
pipewire &
|
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
|
db=$HOME/.local/share/qutebrowser/history.sqlite
|
||||||
url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}')
|
url=$(sqlite3 "$db" "select title,url from History" | tac | rofi -dmenu | awk -F '|' '{print $NF}')
|
||||||
[ -z "$url" ] && exit
|
[ -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"
|
BIN
wallpapers/linux-wallpaper.jpg
Normal file
BIN
wallpapers/linux-wallpaper.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 334 KiB |
BIN
wallpapers/tradin.jpg
Normal file
BIN
wallpapers/tradin.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 348 KiB |
BIN
wallpapers/walkin-just-crop.jpg
Normal file
BIN
wallpapers/walkin-just-crop.jpg
Normal file
Binary file not shown.
After ![]() (image error) Size: 398 KiB |
BIN
wallpapers/walkin.png
Normal file
BIN
wallpapers/walkin.png
Normal file
Binary file not shown.
After ![]() (image error) Size: 795 KiB |
Loading…
x
Reference in New Issue
Block a user