Adding dark theme

This commit is contained in:
Salim Zaidi 2023-06-23 13:56:08 +01:00
parent 9ba0e9b5ec
commit d9ad9d1c25
12 changed files with 625 additions and 0 deletions

View file

@ -0,0 +1,27 @@
colors:
# Default colors
primary:
background: '#111111'
foreground: '#FFFFFF'
# Normal colors
normal:
black: '#111111'
red: '#cc6666'
green: '#b5bd68'
yellow: '#f0c674'
blue: '#828482'
magenta: '#b294bb'
cyan: '#8abeb7'
white: '#c5c8c6'
# Bright colors
bright:
black: '#828482'
red: '#d54e53'
green: '#b9ca4a'
yellow: '#e7c547'
blue: '#828482'
magenta: '#c397d8'
cyan: '#70c0b1'
white: '#FFFFFF'

View file

@ -0,0 +1,14 @@
#!/bin/bash
cp ~/.config/scripts/themes/Darkness/dunstrc ~/.config/dunst/
cp ~/.config/scripts/themes/Darkness/config.rasi ~/.config/rofi/
cp ~/.config/scripts/themes/Darkness/colors.conf ~/.config/i3/
cp ~/.config/scripts/themes/Darkness/alacritty.yml ~/.config/alacritty/
cp ~/.config/scripts/themes/Darkness/config ~/.config/polybar/
cp ~/.config/scripts/themes/Darkness/settings.ini ~/.config/gtk-3.0/
cp ~/.config/scripts/themes/Darkness/.gtkrc-2.0 ~/

View file

@ -0,0 +1,18 @@
# DO NOT EDIT! This file will be overwritten by LXAppearance.
# Any customization should be done in ~/.gtkrc-2.0.mine instead.
include "/home/zed/.gtkrc-2.0.mine"
gtk-theme-name="Blackout"
gtk-icon-theme-name="Flat-Remix-Grey-Dark"
gtk-font-name="Sans 10"
gtk-cursor-theme-name="Sunity-cursors"
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle="hintfull"

View file

@ -0,0 +1,33 @@
window:
#padding:
#x: 10
#y: 10
class:
instance: Alacritty
general: Alacritty
opacity: 0.92
scrolling:
history: 10000
multiplier: 3
font:
normal:
family: Hack Nerd Font
style: Regular
bold:
family: Hack Nerd Font
style: Bold
italic:
family: Hack Nerd Font
style: Italic
bold_italic:
family: Hack Nerd Font
style: Bold Italic
size: 12
draw_bold_text_with_bright_colors: true
selection:
save_to_clipboard: true
import:
- ~/.config/alacritty/darkness.yml

View file

@ -0,0 +1,10 @@
######################################
# Colors
# class border bground text indicator child_border
client.focused #FFFFFF #FFFFFF #FFFFFF #FFFFFF #FFFFFF
client.focused_inactive #111111 #111111 #111111 #111111 #111111
client.unfocused #1d1f21 #1d1f21 #c5c8c6 #1d1f21 #1d1f21
client.urgent #cc6666 #cc6666 #c5c8c6 #cc6666 #cc6666
client.placeholder #282A36 #282A36 #c5c8c6 #282A36 #282A36
client.background #FFFFFF

View file

@ -0,0 +1,183 @@
[colors]
background = ##111111
background-alt = #222222
foreground = #FFFFFF
primary = #FFFFFF
secondary = #828482
alert = #cc6666
disabled = #00000
[bar/mybar]
width = 100%
height = 21pt
radius = 0.0
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3pt
border-size = 1pt
border-color = #FFFFFF
padding-left = 0
padding-right = 1
module-margin = 1
;separator = |
fixed-center = true
separator-foreground = ${colors.disabled}
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = menu date xwindow
modules-center = i3
modules-right = pulseaudio xkeyboard memory cpu wlan battery
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
tray-position = right
wm-restack = i3
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
label-unfocused = %index%
label-unfocused-padding = 2
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
label-urgent = %index%
label-urgent-background = ${colors.alert}
label-urgent-padding = 2
[module/xworkspaces]
type = internal/xworkspaces
label-active = %name%
label-active-background = ${colors.background-alt}
label-active-underline= ${colors.primary}
label-active-padding = 1
label-occupied = %name%
label-occupied-padding = 1
label-urgent = %name%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1
[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
[module/filesystem]
type = internal/fs
interval = 25
mount-0 = /home
label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
label-unmounted = %mountpoint% not mounted
label-unmounted-foreground = ${colors.disabled}
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
format-volume-prefix = "VOL "
format-volume-prefix-foreground = ${colors.foreground}
label-volume = %percentage%%
ramp-volume-0 = 🔈
ramp-volume-1 = 🔉
ramp-volume-2 = 🔊
label-muted = 🔇 muted
label-muted-foreground = ${colors.disabled}
format-muted = <label-muted>
[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock
label-layout = %layout%
label-layout-foreground = ${colors.foreground}
label-indicator-padding = 2
label-indicator-margin = 1
label-indicator-foreground = ${colors.background}
label-indicator-background = ${colors.secondary}
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground}
label = %percentage_used:2%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground}
label = %percentage:2%%
[network-base]
type = internal/network
interval = 5
format-connected = <label-connected>
format-disconnected = <label-disconnected>
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
[module/wlan]
inherit = network-base
interface-type = wireless
label-connected = %{F#F0C674}%ifname%%{F-} %essid%
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
[module/date]
type = internal/date
interval = 1
date = %H:%M
date-alt = %Y-%m-%d %H:%M:%S
label = %date%
label-foreground = ${colors.foreground}
[module/battery]
type = internal/battery
; This is useful in case the battery never reports 100% charge
; Default: 100
full-at = 99
; format-low once this charge percentage is reached
; Default: 10
; New in version 3.6.0
low-at = 5
; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
battery = BAT0
adapter = ADP1
; If an inotify event haven't been reported in this many
; seconds, manually poll for new values.
;
; Needed as a fallback for systems that don't report events
; on sysfs/procfs.
;
; Disable polling by setting the interval to 0.
;
; Default: 5
poll-interval = 5
[module/menu]
type = custom/menu
menu-0-1 = Files
menu-0-1-exec = thunar &
menu-0-2 = Terminal
menu-0-2-exec = kitty &
menu-0-3 = Browser
menu-0-3-exec = brave-browser &
format = <label-toggle> <menu>
format-foreground = ${color.primary}
label-open = 
label-close = 

View file

@ -0,0 +1,131 @@
* {
font: "Jetbrains Mono 12";
foreground: #FFFFFF;
background-color: #111111;
active-background: #c5c8c6;
urgent-background: #cc6666;
urgent-foreground: #864343;
selected-background: @active-background;
selected-urgent-background: @urgent-background;
selected-active-background: @active-background;
separatorcolor: @active-background;
bordercolor: @active-background;
}
configuration {
show-icons: true;
display-drun: "";
disable-history: false;
}
#window {
background-color: @background-color;
border: 3;
border-radius: 6;
border-color: @bordercolor;
padding: 15;
}
#mainbox {
border: 0;
padding: 0;
}
#message {
border: 0px;
border-color: @separatorcolor;
padding: 1px;
}
#textbox {
text-color: @foreground;
}
#listview {
fixed-height: 0;
border: 0px;
border-color: @bordercolor;
spacing: 2px ;
scrollbar: false;
padding: 2px 0px 0px ;
}
#element {
border: 0;
padding: 3px ;
}
#element.normal.normal {
background-color: @background-color;
text-color: @foreground;
}
#element.normal.urgent {
background-color: @urgent-background;
text-color: @urgent-foreground;
}
#element.normal.active {
background-color: @active-background;
text-color: @foreground;
}
#element.selected.normal {
background-color: @selected-background;
text-color: @foreground;
}
#element.selected.urgent {
background-color: @selected-urgent-background;
text-color: @foreground;
}
#element.selected.active {
background-color: @selected-active-background;
text-color: @foreground;
}
#element.alternate.normal {
background-color: @background-color;
text-color: @foreground;
}
#element.alternate.urgent {
background-color: @urgent-background;
text-color: @foreground;
}
#element.alternate.active {
background-color: @active-background;
text-color: @foreground;
}
#scrollbar {
width: 2px ;
border: 0;
handle-width: 8px ;
padding: 0;
}
#sidebar {
border: 2px dash 0px 0px ;
border-color: @separatorcolor;
}
#button.selected {
background-color: @selected-background;
text-color: @foreground;
}
#inputbar {
spacing: 0;
text-color: @foreground;
padding: 1px ;
}
#case-indicator {
spacing: 0;
text-color: @foreground;
}
#entry {
spacing: 0;
text-color: @foreground;
}
#prompt {
spacing: 0;
text-color: @foreground;
}
#inputbar {
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
#textbox-prompt-colon {
expand: false;
str: ">";
margin: 0px 0.3em 0em 0em ;
text-color: @foreground;
}
element-text, element-icon {
background-color: inherit;
text-color: inherit;
}

View file

@ -0,0 +1,192 @@
[global]
font = Ubuntu Mono 11
allow_markup = yes
format = "<b>%s</b>\n%b"
sort = yes
indicate_hidden = yes
alignment = left
bounce_freq = 0
show_age_threshold = 60
word_wrap = yes
ignore_newline = no
geometry = "300x5-30+20"
shrink = no
transparency = 0
idle_threshold = 120
monitor = 0
sticky_history = yes
history_length = 20
show_indicators = yes
line_height = 0
separator_height = 2
padding = 8
horizontal_padding = 16
separator_color = frame
startup_notification = false
dmenu = /usr/bin/dmenu -p dunst:
browser = /usr/bin/firefox -new-tab
icon_position = off
icon_folders = /usr/share/icons/Papirus-Dark/16x16/status/:/usr/share/icons/Papirus-Dark/16x16/devices/
[frame]
width = 3
color = "#FFFFFF"
[shortcuts]
close = ctrl+space
close_all = ctrl+shift+space
history = ctrl+grave
context = ctrl+shift+period
[urgency_low]
background = "#111111"
foreground = "#FFFFFF"
frame_color = "#FFFFFF"
timeout = 4
[urgency_normal]
background = "#111111"
foreground = "#FFFFFF"
frame_color = "#FFFFFF"
timeout = 4
[urgency_critical]
background = "#cc6666"
foreground = "#FFFFFF"
frame_color = "#FFFFFF"
timeout = 0
# Icon for notifications with low urgency, uncomment to enable
#new_icon = /path/to/icon
# Icon for notifications with normal urgency, uncomment to enable
#new_icon = /path/to/icon
# Icon for notifications with critical urgency, uncomment to enable
#new_icon = /path/to/icon
# Every section that isn't one of the above is interpreted as a rules to
# override settings for certain messages.
#
# Messages can be matched by
# appname (discouraged, see desktop_entry)
# body
# category
# desktop_entry
# icon
# match_transient
# msg_urgency
# stack_tag
# summary
#
# and you can override the
# background
# foreground
# format
# frame_color
# fullscreen
# new_icon
# set_stack_tag
# set_transient
# set_category
# timeout
# urgency
# skip_display
# history_ignore
# action_name
# word_wrap
# ellipsize
# alignment
#
# Shell-like globbing will get expanded.
#
# Instead of the appname filter, it's recommended to use the desktop_entry filter.
# GLib based applications export their desktop-entry name. In comparison to the appname,
# the desktop-entry won't get localized.
#
# SCRIPTING
# You can specify a script that gets run when the rule matches by
# setting the "script" option.
# The script will be called as follows:
# script appname summary body icon urgency
# where urgency can be "LOW", "NORMAL" or "CRITICAL".
#
# NOTE: It might be helpful to run dunst -print in a terminal in order
# to find fitting options for rules.
# Disable the transient hint so that idle_threshold cannot be bypassed from the
# client
#[transient_disable]
# match_transient = yes
# set_transient = no
#
# Make the handling of transient notifications more strict by making them not
# be placed in history.
#[transient_history_ignore]
# match_transient = yes
# history_ignore = yes
# fullscreen values
# show: show the notifications, regardless if there is a fullscreen window opened
# delay: displays the new notification, if there is no fullscreen window active
# If the notification is already drawn, it won't get undrawn.
# pushback: same as delay, but when switching into fullscreen, the notification will get
# withdrawn from screen again and will get delayed like a new notification
#[fullscreen_delay_everything]
# fullscreen = delay
#[fullscreen_show_critical]
# msg_urgency = critical
# fullscreen = show
#[espeak]
# summary = "*"
# script = dunst_espeak.sh
#[script-test]
# summary = "*script*"
# script = dunst_test.sh
#[ignore]
# # This notification will not be displayed
# summary = "foobar"
# skip_display = true
#[history-ignore]
# # This notification will not be saved in history
# summary = "foobar"
# history_ignore = yes
#[skip-display]
# # This notification will not be displayed, but will be included in the history
# summary = "foobar"
# skip_display = yes
#[signed_on]
# appname = Pidgin
# summary = "*signed on*"
# urgency = low
#
#[signed_off]
# appname = Pidgin
# summary = *signed off*
# urgency = low
#
#[says]
# appname = Pidgin
# summary = *says*
# urgency = critical
#
#[twitter]
# appname = Pidgin
# summary = *twitter.com*
# urgency = normal
#
#[stack-volumes]
# appname = "some_volume_notifiers"
# set_stack_tag = "volume"
#
# vim: ft=cfg

View file

@ -0,0 +1,15 @@
[Settings]
gtk-theme-name=Blackout
gtk-icon-theme-name=Flat-Remix-Grey-Dark
gtk-font-name=Sans 10
gtk-cursor-theme-name=Sunity-cursors
gtk-cursor-theme-size=0
gtk-toolbar-style=GTK_TOOLBAR_BOTH
gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-button-images=1
gtk-menu-images=1
gtk-enable-event-sounds=1
gtk-enable-input-feedback-sounds=1
gtk-xft-antialias=1
gtk-xft-hinting=1
gtk-xft-hintstyle=hintfull

Binary file not shown.

After

Width:  |  Height:  |  Size: 300 KiB

2
run.sh
View file

@ -207,6 +207,7 @@ tar xf Sunity-cursors.tar.gz
tar xf Adwaita-dark.tar
tar -xf Papirus.tar.xz
unzip Nordic.zip
unzip Blackout.zip
unzip Flat-Remix-Grey-Dark.zip
tar xzf Dracula.tar.gz
tar xzf Dracula-icons.tar.gz
@ -214,6 +215,7 @@ cp -r BlueSky-Clean-Dark ~/.themes
cp -r Dracula ~/.themes
cp -r Adwaita-dark ~/.themes
cp -r Nordic ~/.themes
cp -r Blackout ~/.themes
cp -r Flat-Remix-Grey-Dark ~/.icons
cp -r Papirus ~/.icons
cp -r Dracula-icons/ ~/.icons/

BIN
theme/Blackout.zip Normal file

Binary file not shown.