Added base16 themes
This commit is contained in:
@@ -5,3 +5,5 @@ font:
|
||||
normal:
|
||||
family: Iosevka Nerd Font
|
||||
style: Regular
|
||||
import:
|
||||
- ~/.config/alacritty/theme.yml
|
||||
|
||||
@@ -12,20 +12,18 @@ font-0 = "Iosevka:size=10;2"
|
||||
font-1 = "Iosevka:size=16;2"
|
||||
font-2 = "Iosevka:size=22;4"
|
||||
|
||||
background = ${colours.trans}
|
||||
foreground = ${colours.white}
|
||||
background = ${colours/bar.bg}
|
||||
foreground = ${colours/bar.fg}
|
||||
|
||||
border-bottom-size = 5
|
||||
border-top-size = 5
|
||||
|
||||
border-left-size = 10
|
||||
border-right-size = 10
|
||||
|
||||
border-bottom-colour = ${colours.trans}
|
||||
border-top-colour = ${colours.trans}
|
||||
|
||||
border-left-colour = ${colours.trans}
|
||||
border-right-colour = ${colours.trans}
|
||||
border-bottom-color = ${colours/bar.bg}
|
||||
border-top-color = ${colours/bar.bg}
|
||||
border-left-color = ${colours/bar.bg}
|
||||
border-right-color = ${colours/bar.bg}
|
||||
|
||||
spacing = 0
|
||||
padding-left = 0
|
||||
@@ -34,8 +32,8 @@ module-margin-left = 0
|
||||
|
||||
separator = |
|
||||
separator-padding = .5
|
||||
separator-foreground = ${colours.trans}
|
||||
separator-background = ${colours.trans}
|
||||
separator-foreground = ${colours/bar.bg}
|
||||
separator-background = ${colours/bar.bg}
|
||||
|
||||
[bar/bottom]
|
||||
inherit = bar/base
|
||||
|
||||
@@ -4,82 +4,54 @@ white = #fff
|
||||
black = #000
|
||||
gray = #555
|
||||
|
||||
blue- = #498AD4
|
||||
blue = #2B6CB6
|
||||
blue+ = #173B63
|
||||
|
||||
xanadu- = #B3BCB6
|
||||
xanadu = #808F85
|
||||
xanadu+ = #606C64
|
||||
|
||||
green- = #CAE2CE
|
||||
green = #91C499
|
||||
green+ = #61A86D
|
||||
|
||||
linen- = #F9F5F0
|
||||
linen = #F2E9DC
|
||||
linen+ = #DEC6A6
|
||||
|
||||
pear- = #E8EB5C
|
||||
pear = #CFD11A
|
||||
pear+ = #8F9112
|
||||
|
||||
orange- = #FEB548
|
||||
orange = #F18F01
|
||||
orange+ = #A26201
|
||||
|
||||
apricot- = #FFAB85
|
||||
apricot = #FFCAB1
|
||||
apricot+ = #FFF1EB
|
||||
|
||||
rose- = #CC8FA0
|
||||
rose = #AB4E68
|
||||
rose+ = #7E3A4D
|
||||
[colours/bar]
|
||||
bg = ${colours.trans}
|
||||
fg = ${colour-scheme.base05}
|
||||
|
||||
[colours/date]
|
||||
bg = ${colours.pear}
|
||||
fg = ${colours.gray}
|
||||
bg = ${colour-scheme.base01}
|
||||
fg = ${colour-scheme.base05}
|
||||
|
||||
[colours/battery]
|
||||
full-bg = ${colours.green+}
|
||||
full-fg = ${colours.gray}
|
||||
charging-bg = ${colours.green}
|
||||
charging-fg = ${colours.gray}
|
||||
discharging-bg = ${colours.green}
|
||||
discharging-fg = ${colours.gray}
|
||||
low-bg = ${colours.orange}
|
||||
low-fg = ${colours.gray}
|
||||
full-bg = ${colour-scheme.base0C}
|
||||
full-fg = ${colour-scheme.base01}
|
||||
charging-bg = ${colour-scheme.base0C}
|
||||
charging-fg = ${colour-scheme.base01}
|
||||
discharging-bg = ${colour-scheme.base01}
|
||||
discharging-fg = ${colour-scheme.base05}
|
||||
low-bg = ${colour-scheme.base0E}
|
||||
low-fg = ${colour-scheme.base01}
|
||||
|
||||
[colours/workspaces]
|
||||
focused-bg = ${colours.linen+}
|
||||
focused-fg = ${colours.gray}
|
||||
unfocused-bg = ${colours.linen}
|
||||
unfocused-fg = ${colours.gray}
|
||||
urgent-bg = ${colours.orange-}
|
||||
urgent-fg = ${colours.gray}
|
||||
focused-bg = ${colour-scheme.base02}
|
||||
focused-fg = ${colour-scheme.base04}
|
||||
unfocused-bg = ${colour-scheme.base01}
|
||||
unfocused-fg = ${colour-scheme.base05}
|
||||
urgent-bg = ${colour-scheme.base0E}
|
||||
urgent-fg = ${colour-scheme.base01}
|
||||
|
||||
[colours/i3-mode]
|
||||
bg = ${colours.orange}
|
||||
fg = ${colours.gray}
|
||||
bg = ${colour-scheme.base0E}
|
||||
fg = ${colour-scheme.base01}
|
||||
|
||||
[colours/volume]
|
||||
volume-bg = ${colours.rose}
|
||||
volume-fg = ${colours.white}
|
||||
muted-bg = ${colours.rose-}
|
||||
muted-fg = ${colours.white}
|
||||
volume-bg = ${colour-scheme.base0C}
|
||||
volume-fg = ${colour-scheme.base01}
|
||||
muted-bg = ${colour-scheme.base01}
|
||||
muted-fg = ${colour-scheme.base05}
|
||||
|
||||
[colours/wireless]
|
||||
connected-bg = ${colours.apricot}
|
||||
connected-fg = ${colours.gray}
|
||||
disconnected-bg = ${colours.apricot}
|
||||
disconnected-fg = ${colours.gray}
|
||||
packetloss-bg = ${colours.apricot}
|
||||
packetloss-fg = ${colours.gray}
|
||||
connected-bg = ${colour-scheme.base0C}
|
||||
connected-fg = ${colour-scheme.base01}
|
||||
disconnected-bg = ${colour-scheme.base01}
|
||||
disconnected-fg = ${colour-scheme.base05}
|
||||
packetloss-bg = ${colour-scheme.base0E}
|
||||
packetloss-fg = ${colour-scheme.base01}
|
||||
|
||||
[colours/bluetooth]
|
||||
bg = ${colours.blue}
|
||||
fg = ${colours.white}
|
||||
bg = ${colour-scheme.base0C}
|
||||
fg = ${colour-scheme.base01}
|
||||
|
||||
[colours/spotify]
|
||||
bg = ${colours.green}
|
||||
fg = ${colours.gray}
|
||||
bg = ${colour-scheme.base0A}
|
||||
fg = ${colour-scheme.base01}
|
||||
|
||||
@@ -4,7 +4,7 @@ full-at = 100
|
||||
low-at = 20
|
||||
battery = BAT0
|
||||
adapter = ADP0
|
||||
poll-interval = 5
|
||||
poll-interval = 1
|
||||
|
||||
format-full = <label-full>
|
||||
label-full = "%{T2}%{T-} %percentage%%"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
[module/bluetooth]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/bluetooth.sh
|
||||
exec = ~/.config/rofi/menus/bluetooth/bluetooth.sh --status
|
||||
interval = 5
|
||||
click-left = ~/.config/rofi/bluetooth/bluetooth.sh
|
||||
click-left = ~/.config/rofi/menus/bluetooth/bluetooth.sh
|
||||
|
||||
format-background = ${colours/bluetooth.bg}
|
||||
format-foreground = ${colours/bluetooth.fg}
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
type = internal/network
|
||||
interface-type = wireless
|
||||
interval = 3.0
|
||||
click-left = ~/.config/rofi/wifi/wifi.sh
|
||||
|
||||
accumulate-stats = true
|
||||
;unknown-as-up = true
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
# This file is generated by nixos-rebuild
|
||||
include-file = colour-scheme.ini
|
||||
include-file = bars/bars.ini
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
bluetooth_print() {
|
||||
if bluetoothctl show | grep -q "Powered: yes"; then
|
||||
printf ''
|
||||
|
||||
devices_paired=$(bluetoothctl paired-devices | grep Device | cut -d ' ' -f 2)
|
||||
counter=0
|
||||
|
||||
for device in $devices_paired; do
|
||||
device_info=$(bluetoothctl info "$device")
|
||||
|
||||
if echo "$device_info" | grep -q "Connected: yes"; then
|
||||
device_alias=$(echo "$device_info" | grep "Alias" | cut -d ' ' -f 2-)
|
||||
|
||||
if [ $counter -gt 0 ]; then
|
||||
printf ", %s" "$device_alias"
|
||||
else
|
||||
printf " %s" "$device_alias"
|
||||
fi
|
||||
|
||||
counter=$((counter + 1))
|
||||
fi
|
||||
done
|
||||
|
||||
printf '\n'
|
||||
else
|
||||
echo " -"
|
||||
fi
|
||||
}
|
||||
|
||||
bluetooth_toggle() {
|
||||
if bluetoothctl show | grep -q "Powered: no"; then
|
||||
bluetoothctl power on >> /dev/null
|
||||
sleep 1
|
||||
|
||||
devices_paired=$(bluetoothctl paired-devices | grep Device | cut -d ' ' -f 2)
|
||||
echo "$devices_paired" | while read -r line; do
|
||||
bluetoothctl connect "$line" >> /dev/null
|
||||
done
|
||||
else
|
||||
devices_paired=$(bluetoothctl devices Paired | grep Device | cut -d ' ' -f 2)
|
||||
echo "$devices_paired" | while read -r line; do
|
||||
bluetoothctl disconnect "$line" >> /dev/null
|
||||
done
|
||||
|
||||
bluetoothctl power off >> /dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
--toggle)
|
||||
bluetooth_toggle
|
||||
;;
|
||||
*)
|
||||
bluetooth_print
|
||||
;;
|
||||
esac
|
||||
@@ -4,22 +4,13 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
show-icons: false;
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "Iosevka Nerd Font 10";
|
||||
background: #2B6CB6;
|
||||
background-alt: #498AD4;
|
||||
foreground: #FFFFFF;
|
||||
selected: #173B63;
|
||||
active: #FFCAB1;
|
||||
urgent: #FFCAB1;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
@@ -35,9 +26,9 @@ window {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 20px;
|
||||
border-color: @selected;
|
||||
border: 2px solid;
|
||||
border-radius: 15px;
|
||||
border-color: @background-alt;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
@@ -24,7 +24,7 @@ goback="Back"
|
||||
# PREFIX=projects/samfelag/config/
|
||||
|
||||
# Rofi command to pipe into, can add any options here
|
||||
dir="$HOME/$PREFIX.config/rofi/bluetooth/"
|
||||
dir="$HOME/$PREFIX.config/rofi/menus/bluetooth/"
|
||||
theme='bluetooth'
|
||||
|
||||
rofi_command="rofi -dmenu -theme ${dir}/${theme}.rasi -i -p"
|
||||
@@ -195,7 +195,7 @@ toggle_trust() {
|
||||
# Useful for status bars like polybar, etc.
|
||||
print_status() {
|
||||
if power_on; then
|
||||
printf ''
|
||||
printf ''
|
||||
|
||||
paired_devices_cmd="paired-devices"
|
||||
|
||||
@@ -217,7 +217,7 @@ print_status() {
|
||||
done
|
||||
printf "\n"
|
||||
else
|
||||
echo ""
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 77 KiB |
@@ -4,6 +4,8 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
modi: "drun,run,filebrowser,window";
|
||||
@@ -16,17 +18,6 @@ configuration {
|
||||
window-format: "{w} · {c} · {t}";
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "Iosevka Nerd Font 10";
|
||||
background: #2B6CB6;
|
||||
background-alt: #498AD4;
|
||||
foreground: #FFFFFF;
|
||||
selected: #173B63;
|
||||
active: #999999;
|
||||
urgent: #808080;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
@@ -40,7 +31,9 @@ window {
|
||||
|
||||
/* properties for all widgets */
|
||||
enabled: true;
|
||||
border: 2px solid;
|
||||
border-radius: 15px;
|
||||
border-color: @background-alt;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
@@ -57,7 +50,7 @@ mainbox {
|
||||
imagebox {
|
||||
padding: 20px;
|
||||
background-color: transparent;
|
||||
background-image: url("~/.config/rofi/images/flor01.png", width);
|
||||
background-image: url("~/.config/rofi/menus/launcher/flor01.png", width);
|
||||
orientation: vertical;
|
||||
children: [ "inputbar", "dummy", "mode-switcher" ];
|
||||
}
|
||||
@@ -3,8 +3,11 @@
|
||||
## Author : Marc Sastre, based on Aditya Shakya (adi1090x, Github : @adi1090x)
|
||||
## Rofi : Launcher
|
||||
|
||||
# Current Theme
|
||||
dir="$HOME/.config/rofi/launcher/"
|
||||
# For debugging/development purposes
|
||||
# PREFIX=projects/samfelag/config/
|
||||
|
||||
# Rofi command to pipe into, can add any options here
|
||||
dir="$HOME/$PREFIX.config/rofi/menus/launcher/"
|
||||
theme='launcher'
|
||||
|
||||
rofi -show drun -theme ${dir}/${theme}.rasi
|
||||
@@ -4,22 +4,13 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
show-icons: false;
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "Iosevka Nerd Font 10";
|
||||
background: #F18F01;
|
||||
background-alt: #FEB548;
|
||||
foreground: #444444;
|
||||
selected: #A26201;
|
||||
active: #FFCAB1;
|
||||
urgent: #FFCAB1;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
@@ -35,9 +26,9 @@ window {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 20px;
|
||||
border-color: @selected;
|
||||
border: 2px solid;
|
||||
border-radius: 15px;
|
||||
border-color: @background-alt;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
@@ -4,7 +4,7 @@
|
||||
## Rofi : Power Menu
|
||||
|
||||
# Current Theme
|
||||
dir="$HOME/.config/rofi/powermenu/"
|
||||
dir="$HOME/.config/rofi/menus/powermenu/"
|
||||
theme='powermenu'
|
||||
|
||||
# CMDs
|
||||
@@ -4,22 +4,13 @@
|
||||
*
|
||||
**/
|
||||
|
||||
@import "../../theme.rasi"
|
||||
|
||||
/*****----- Configuration -----*****/
|
||||
configuration {
|
||||
show-icons: false;
|
||||
}
|
||||
|
||||
/*****----- Global Properties -----*****/
|
||||
* {
|
||||
font: "Iosevka Nerd Font 10";
|
||||
background: #FFAB85;
|
||||
background-alt: #FFCAB1;
|
||||
foreground: #444444;
|
||||
selected: #CC8FA0;
|
||||
active: #7E3A4D;
|
||||
urgent: #7E3A4D;
|
||||
}
|
||||
|
||||
/*****----- Main Window -----*****/
|
||||
window {
|
||||
/* properties for window widget */
|
||||
@@ -35,9 +26,9 @@ window {
|
||||
enabled: true;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border: 0px solid;
|
||||
border-radius: 20px;
|
||||
border-color: @selected;
|
||||
border: 2px solid;
|
||||
border-radius: 15px;
|
||||
border-color: @background-alt;
|
||||
cursor: "default";
|
||||
background-color: @background;
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
# PREFIX=projects/samfelag/config/
|
||||
|
||||
# Rofi command to pipe into, can add any options here
|
||||
dir="$HOME/$PREFIX.config/rofi/wifi/"
|
||||
dir="$HOME/$PREFIX.config/rofi/menus/wifi/"
|
||||
theme='wifi'
|
||||
|
||||
rofi_command="rofi -dmenu -i -theme ${dir}/${theme}.rasi"
|
||||
Reference in New Issue
Block a user