mirror of
https://github.com/adi1090x/rofi.git
synced 2025-12-10 04:22:48 +01:00
Compare commits
4 Commits
7f86a4489f
...
b1ac9bdea3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1ac9bdea3 | ||
|
|
fb7011ec48 | ||
|
|
cb5376452c | ||
|
|
f4d09c2ade |
@ -109,7 +109,7 @@ $ ./setup.sh
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https://github.com/davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/snubbi1954-elementary"><img src="https://github.com/snubbi1954-elementary.png" width="60px" alt="User avatar: Carl Andersen" /></a><a href="https://github.com/dgxlab"><img src="https://github.com/dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><a href="https://github.com/kobinabrandon"><img src="https://github.com/kobinabrandon.png" width="60px" alt="User avatar: Kobina Brandon" /></a><!-- sponsors -->
|
||||
<!-- sponsors --><a href="https://github.com/davidtoska"><img src="https://github.com/davidtoska.png" width="60px" alt="User avatar: David Toska" /></a><a href="https://github.com/snubbi1954-elementary"><img src="https://github.com/snubbi1954-elementary.png" width="60px" alt="User avatar: Carl Andersen" /></a><a href="https://github.com/dgxlab"><img src="https://github.com/dgxlab.png" width="60px" alt="User avatar: David Vargas" /></a><!-- sponsors -->
|
||||
</p>
|
||||
|
||||
---
|
||||
|
||||
16
files/colors/pywal.rasi
Normal file
16
files/colors/pywal.rasi
Normal file
@ -0,0 +1,16 @@
|
||||
/**
|
||||
*
|
||||
* Author : Mallar Bhattacharya
|
||||
* Github : @mallar-B
|
||||
*
|
||||
* Colors
|
||||
**/
|
||||
|
||||
* {
|
||||
background: #111213;
|
||||
background-alt: #111213;
|
||||
foreground: #ccc4ba;
|
||||
selected: #6C6658;
|
||||
active: #4E4F47;
|
||||
urgent: #897559;
|
||||
}
|
||||
14
files/scripts/pywal.sh
Normal file
14
files/scripts/pywal.sh
Normal file
@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
background=$(sed -n 's/^ *background: *\(#\([0-9a-fA-F]\{6\}\)\);.*$/\1/p' ~/.cache/wal/colors-rofi-dark.rasi)
|
||||
foreground=$(sed -n 's/^ *foreground: *\(#\([0-9a-fA-F]\{6\}\)\);.*$/\1/p' ~/.cache/wal/colors-rofi-dark.rasi)
|
||||
selected_normal_background=$(sed -n 's/^ *selected-normal-background: *\(#\([0-9a-fA-F]\{6\}\)\);.*$/\1/p' ~/.cache/wal/colors-rofi-dark.rasi)
|
||||
selected_active_background=$(sed -n 's/^ *selected-active-background: *\(#\([0-9a-fA-F]\{6\}\)\);.*$/\1/p' ~/.cache/wal/colors-rofi-dark.rasi)
|
||||
selected_urgent_background=$(sed -n 's/^ *selected-urgent-background: *\(#\([0-9a-fA-F]\{6\}\)\);.*$/\1/p' ~/.cache/wal/colors-rofi-dark.rasi)
|
||||
|
||||
sed -i "s/background: .*/background: $background;/" ~/.config/rofi/colors/pywal.rasi
|
||||
sed -i "s/background-alt: .*/background-alt: $background;/" ~/.config/rofi/colors/pywal.rasi
|
||||
sed -i "s/foreground: .*/foreground: $foreground;/" ~/.config/rofi/colors/pywal.rasi
|
||||
sed -i "s/selected: .*/selected: $selected_normal_background;/" ~/.config/rofi/colors/pywal.rasi
|
||||
sed -i "s/active: .*/active: $selected_active_background;/" ~/.config/rofi/colors/pywal.rasi
|
||||
sed -i "s/urgent: .*/urgent: $selected_urgent_background;/" ~/.config/rofi/colors/pywal.rasi
|
||||
Loading…
x
Reference in New Issue
Block a user