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"
|
||||
@@ -9,30 +9,21 @@
|
||||
(setq user-full-name "Marc Sastre Rienitz"
|
||||
user-mail-address "marc@sastre.cat")
|
||||
|
||||
;; Doom exposes five (optional) variables for controlling fonts in Doom. Here
|
||||
;; are the three important ones:
|
||||
;;
|
||||
;; + `doom-font'
|
||||
;; + `doom-variable-pitch-font'
|
||||
;; + `doom-big-font' -- used for `doom-big-font-mode'; use this for
|
||||
;; presentations or streaming.
|
||||
;;
|
||||
;; They all accept either a font-spec, font string ("Input Mono-12"), or xlfd
|
||||
;; font string. You generally only need these two:
|
||||
;; (setq doom-font (font-spec :family "monospace" :size 12 :weight 'semi-light)
|
||||
;; doom-variable-pitch-font (font-spec :family "sans" :size 13))
|
||||
(setq doom-font (font-spec :family "Iosevka" :size 15))
|
||||
(setq doom-unicode-font (font-spec :family "Iosevka Nerd Font" :size 15))
|
||||
|
||||
;; There are two ways to load a theme. Both assume the theme is installed and
|
||||
;; available. You can either set `doom-theme' or manually load a theme with the
|
||||
;; `load-theme' function. This is the default:
|
||||
(setq doom-theme 'doom-zenburn)
|
||||
|
||||
;; This determines the style of line numbers in effect. If set to `nil', line
|
||||
;; numbers are disabled. For relative line numbers, set this to `relative'.
|
||||
(setq display-line-numbers-type t)
|
||||
|
||||
;; Fonts
|
||||
(setq doom-font (font-spec :family "Iosevka" :size 15))
|
||||
(setq doom-unicode-font (font-spec :family "Iosevka Nerd Font" :size 15))
|
||||
|
||||
;; Themeing
|
||||
;; (load! "themes/base16-samfelag.el")
|
||||
(use-package base16-theme
|
||||
:init (add-to-list 'custom-theme-load-path "~/.config/doom/themes")
|
||||
:ensure t
|
||||
:config
|
||||
(load-theme 'base16-samfelag t))
|
||||
|
||||
;; Here are some additional functions/macros that could help you configure Doom:
|
||||
;;
|
||||
@@ -143,15 +134,16 @@
|
||||
;; -----------------------------------------------------------------------------
|
||||
;; Appearance - Prettify
|
||||
;; -----------------------------------------------------------------------------
|
||||
(load! "prettify-utils.el")
|
||||
(load! "modules/prettify-utils.el")
|
||||
|
||||
(pretty-hook python-mode
|
||||
;; ("def" "𝙛")
|
||||
;; ("class" "𝙘")
|
||||
("None" "∅")
|
||||
("lambda" "λ")
|
||||
("not in" "∉")
|
||||
("in" "∈"))
|
||||
'("None" "∅")
|
||||
'("lambda" "λ")
|
||||
'("not in" "∉")
|
||||
'("in" "∈"))
|
||||
|
||||
|
||||
(pretty-hook emacs-lisp-mode)
|
||||
;; ("defun" "𝙛")
|
||||
|
||||
@@ -49,6 +49,8 @@
|
||||
;; ...Or *all* packages (NOT RECOMMENDED; will likely break things)
|
||||
;(unpin! t)
|
||||
|
||||
(package! base16-theme)
|
||||
|
||||
(package! parinfer)
|
||||
|
||||
;; Editor
|
||||
|
||||
25
config/doom/themes/base16-samfelag-theme.el
Normal file
25
config/doom/themes/base16-samfelag-theme.el
Normal file
@@ -0,0 +1,25 @@
|
||||
(require 'base16-theme)
|
||||
|
||||
(defvar base16-samfelag-theme-colors
|
||||
'(:base00 "#383838"
|
||||
:base01 "#404040"
|
||||
:base02 "#606060"
|
||||
:base03 "#6f6f6f"
|
||||
:base04 "#808080"
|
||||
:base05 "#dcdccc"
|
||||
:base06 "#c0c0c0"
|
||||
:base07 "#ffffff"
|
||||
:base08 "#dca3a3"
|
||||
:base09 "#dfaf8f"
|
||||
:base0A "#e0cf9f"
|
||||
:base0B "#5f7f5f"
|
||||
:base0C "#93e0e3"
|
||||
:base0D "#7cb8bb"
|
||||
:base0E "#dc8cc3"
|
||||
:base0F "#000000")
|
||||
"All colors for Base16 Samfelag are defined here.")
|
||||
|
||||
(deftheme base16-samfelag)
|
||||
(base16-theme-define 'base16-samfelag base16-samfelag-theme-colors)
|
||||
(provide-theme 'base16-samfelag)
|
||||
(provide 'base16-samfelag-theme)
|
||||
Reference in New Issue
Block a user