Compare commits
No commits in common. "04490b619bce0b356ef81aab52e54fd1cde1ffab" and "76d9e00c779f1e188081d53c81da2489666ed525" have entirely different histories.
04490b619b
...
76d9e00c77
8 changed files with 18 additions and 74 deletions
|
@ -19,14 +19,11 @@
|
|||
# fi
|
||||
|
||||
# Selenized Black
|
||||
# https://github.com/jan-warchol/selenized/blob/e93e0d9fb47c7485f18fa16f9bdb70c2ee7fb5db/the-values.md
|
||||
export bg_0=181818
|
||||
export bg_1=252525
|
||||
export bg_2=3b3b3b
|
||||
export dim_0=777777
|
||||
export fg_0=b9b9b9
|
||||
export fg_1=dedede
|
||||
export fg_accent=368aeb
|
||||
export bg=181818
|
||||
export bg2=252525
|
||||
export fg=b9b9b9
|
||||
export fg2=dedede
|
||||
export hl=368aeb
|
||||
|
||||
# solarized light
|
||||
# export bg=fdf6e3
|
||||
|
|
|
@ -67,16 +67,6 @@ define_tag $((1 << 4)) Y
|
|||
define_tag $((1 << 5)) Comma
|
||||
define_tag $((1 << 6)) Period
|
||||
define_tag $((1 << 7)) Slash
|
||||
define_tag $((1 << 11)) 1
|
||||
define_tag $((1 << 12)) 2
|
||||
define_tag $((1 << 13)) 3
|
||||
define_tag $((1 << 14)) 4
|
||||
define_tag $((1 << 15)) 5
|
||||
define_tag $((1 << 16)) 6
|
||||
define_tag $((1 << 17)) 7
|
||||
define_tag $((1 << 18)) 8
|
||||
define_tag $((1 << 19)) 9
|
||||
define_tag $((1 << 20)) 0
|
||||
|
||||
all_tags=$(((1 << 32) - 1))
|
||||
riverctl map normal $mod 0 set-focused-tags $all_tags
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/bin/sh
|
||||
. ~/.config/river/colors
|
||||
|
||||
riverctl background-color 0x$bg_0
|
||||
riverctl border-color-focused 0x$fg_1
|
||||
riverctl border-color-unfocused 0x$dim_0
|
||||
riverctl background-color 0x$bg
|
||||
riverctl border-color-focused 0x$fg
|
||||
riverctl border-color-unfocused 0x$bg2
|
||||
riverctl border-width 2
|
||||
riverctl spawn yambar-run
|
||||
|
|
|
@ -30,16 +30,6 @@ bar:
|
|||
6: {string: {text: ","}}
|
||||
7: {string: {text: "."}}
|
||||
8: {string: {text: "/"}}
|
||||
12: {string: {text: "1"}}
|
||||
13: {string: {text: "2"}}
|
||||
14: {string: {text: "3"}}
|
||||
15: {string: {text: "4"}}
|
||||
16: {string: {text: "5"}}
|
||||
17: {string: {text: "6"}}
|
||||
18: {string: {text: "7"}}
|
||||
19: {string: {text: "8"}}
|
||||
20: {string: {text: "9"}}
|
||||
21: {string: {text: "0"}}
|
||||
content:
|
||||
map:
|
||||
tag: state
|
||||
|
@ -56,16 +46,6 @@ bar:
|
|||
6: {string: {text: ",", foreground: *accent}}
|
||||
7: {string: {text: ".", foreground: *accent}}
|
||||
8: {string: {text: "/", foreground: *accent}}
|
||||
12: {string: {text: "1", foreground: *accent}}
|
||||
13: {string: {text: "2", foreground: *accent}}
|
||||
14: {string: {text: "3", foreground: *accent}}
|
||||
15: {string: {text: "4", foreground: *accent}}
|
||||
16: {string: {text: "5", foreground: *accent}}
|
||||
17: {string: {text: "6", foreground: *accent}}
|
||||
18: {string: {text: "7", foreground: *accent}}
|
||||
19: {string: {text: "8", foreground: *accent}}
|
||||
20: {string: {text: "9", foreground: *accent}}
|
||||
21: {string: {text: "0", foreground: *accent}}
|
||||
deco: {stack: [background: {color: *bg2}]}
|
||||
unfocused: {map: {<<: *river_base}}
|
||||
invisible:
|
||||
|
|
|
@ -5,8 +5,8 @@ exec fuzzel --terminal=footclient --font='Inter:style=Bold:size=11' \
|
|||
--prompt="➦ " \
|
||||
--no-icons \
|
||||
--width=20 \
|
||||
--background=${bg_0}ff --text-color=${fg_0}ff \
|
||||
--match-color=${fg_accent}ff \
|
||||
--selection-color=${bg_1}ff --selection-text-color=${fg_0}ff \
|
||||
--background=${bg}ff --text-color=${fg}ff \
|
||||
--match-color=${hl}ff \
|
||||
--selection-color=${bg2}ff --selection-text-color=${fg}ff \
|
||||
--horizontal-pad=12 \
|
||||
--border-width=1 --border-color=${fg_0}ff --border-radius=2
|
||||
--border-width=1 --border-color=${fg}ff --border-radius=2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
. ~/.config/river/colors
|
||||
setsid -f swaylockd --color "$bg_0"
|
||||
setsid -f swaylockd --color "$bg"
|
||||
sleep 1
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# https://www.coreboot.org/Board:lenovo/x230
|
||||
|
||||
usage () {
|
||||
echo "usage: $0 start_threshold stop_threshold"
|
||||
exit 1
|
||||
}
|
||||
|
||||
if expr "$1" : '[0-9][0-9]*$'>/dev/null; then
|
||||
start_threshold="$(printf '%x' "$1")"
|
||||
else
|
||||
usage
|
||||
fi
|
||||
|
||||
if expr "$2" : '[0-9][0-9]*$'>/dev/null; then
|
||||
stop_threshold="$(printf '%x' "$2")"
|
||||
else
|
||||
usage
|
||||
fi
|
||||
|
||||
ectool -w 0xb0 -z "$start_threshold"
|
||||
ectool -w 0xb1 -z "$stop_threshold"
|
|
@ -4,11 +4,11 @@ killall yambar
|
|||
|
||||
config="$(mktemp)"
|
||||
|
||||
echo "background: &bg ${bg_0}ff
|
||||
background2: &bg2 ${bg_1}ff
|
||||
foreground: &fg ${fg_0}ff
|
||||
foreground2: &fg2 ${fg_1}ff
|
||||
accent: &accent ${fg_accent}ff
|
||||
echo "background: &bg ${bg}ff
|
||||
background2: &bg2 ${bg2}ff
|
||||
foreground: &fg ${fg}ff
|
||||
foreground2: &fg2 ${fg2}ff
|
||||
accent: &accent ${hl}ff
|
||||
" > "$config"
|
||||
cat ~/.config/yambar/config.yml >> "$config"
|
||||
|
||||
|
|
Loading…
Reference in a new issue