Skip to content

Commit

Permalink
Mojave theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Anler Hernández Peral committed Jul 6, 2018
1 parent aa0815e commit e3fca66
Show file tree
Hide file tree
Showing 16 changed files with 316 additions and 134 deletions.
12 changes: 6 additions & 6 deletions .config/dunst/dunstrc
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
frame_width = 3

# Defines color of the frame around the notification window.
frame_color = "#aaaaaa"
frame_color = "#261a18"

# Define a color for the separator.
# possible values are:
Expand All @@ -85,7 +85,7 @@

### Text ###

font = Monospace 8
font = Fantasque Sans Mono 12

# The spacing between lines. If the height is smaller than the
# font height, it will get raised to the font height.
Expand Down Expand Up @@ -245,21 +245,21 @@
[urgency_low]
# IMPORTANT: colors have to be defined in quotation marks.
# Otherwise the "#" and following would be interpreted as a comment.
background = "#222222"
foreground = "#888888"
background = "#261a18"
foreground = "#c07f46"
timeout = 10
# Icon for notifications with low urgency, uncomment to enable
#icon = /path/to/icon

[urgency_normal]
background = "#285577"
background = "#261a18"
foreground = "#ffffff"
timeout = 10
# Icon for notifications with normal urgency, uncomment to enable
#icon = /path/to/icon

[urgency_critical]
background = "#900000"
background = "#684632"
foreground = "#ffffff"
frame_color = "#ff0000"
timeout = 0
Expand Down
13 changes: 13 additions & 0 deletions .config/dunst/reload
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env sh

pkill dunst

notify-send -u critical "Test message: critical test 1"
notify-send -u normal "Test message: normal test 2"
notify-send -u low "Test message: low test 3"
notify-send -u critical "Test message: critical test 4"
notify-send -u normal "Test message: normal test 5"
notify-send -u low "Test message: low test 6"
notify-send -u critical "Test message: critical test 7"
notify-send -u normal "Test message: normal test 8"
notify-send -u low "Test message: low test 9"
37 changes: 20 additions & 17 deletions .config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ mode "resize" {

bindsym $mod+r mode "resize"

set $lock betterlockscreen -l blur
# set $lock betterlockscreen -l blur
set $lock i3lock-fancy -p -t ''
set $lock-fun i3lock -i $HOME/.config/i3/lock-bank.png
set $mode_system System (l) lock, (L) lock funny, (E) logout, (s) suspend, (h) hibernate, (R) reboot, (S) shutdown
mode "$mode_system" {
Expand Down Expand Up @@ -206,19 +207,13 @@ bindsym $mod+n exec emojione-picker

bindsym $mod+minus [class="^(.(?<!URxvt|Zeal|TelegramDesktop))*?$"] scratchpad show

exec --no-startup-id i3-msg "exec TMUX_AUTOSTART=no urxvt -title quake"
exec --no-startup-id TMUX_AUTOSTART=no urxvt -name quake

for_window [class="^Peek"] floating enable
for_window [title="Ediff"] floating enable

for_window [title="^quake$"] move scratchpad
for_window [title="^quake$"] resize shrink width 10000px
for_window [title="^quake$"] resize grow width 882px
for_window [title="^quake$"] resize shrink height 10000px
for_window [title="^quake$"] resize grow height 520px
for_window [title="^quake$"] move right 400px
for_window [title="^quake$"] move down 350px
bindsym $mod+grave [class="URxvt"] scratchpad show
for_window [instance="^quake$"] move scratchpad
bindsym $mod+grave [instance="^quake$"] scratchpad show; [instance="^quake$"] fullscreen enable

exec --no-startup-id telegram-desktop
for_window [class="TelegramDesktop"] move scratchpad
Expand All @@ -232,14 +227,22 @@ exec_always --no-startup-id $HOME/.config/polybar/launch
# exec --no-startup-id $HOME/.config/polybar/autohide

# ----------------------- Eye candy ----------------------------

set $bg-color-bar #0d1a3a
# ======================= Ghost theme
# set $bg-color-bar #0d1a3a
# set $text-color-bar #c93b59
# set $bg-color #b532b2
# set $inactive-bg-color #0d1a3a
# set $text-color #ffffff
# set $inactive-text-color #666666
# set $urgent-bg-color #f9d72e
# ======================= Mojave theme
set $bg-color-bar #261a18
set $text-color-bar #c93b59
set $bg-color #b532b2
set $inactive-bg-color #0d1a3a
set $text-color #ffffff
set $inactive-text-color #666666
set $urgent-bg-color #f9d72e
set $bg-color #c07f46
set $inactive-bg-color #261a18
set $text-color #261a18
set $inactive-text-color #c07f46
set $urgent-bg-color #cbb0ac

# window colors
# border background text indicator
Expand Down
123 changes: 45 additions & 78 deletions .config/polybar/config
Original file line number Diff line number Diff line change
@@ -1,37 +1,44 @@
[colors]
black = #261a18
white = #ffffff
yellow = #c07f46
red = #d0253d
blue = #687592

[bar/i3wmthemer_bar]
monitor = ${env:MONITOR}

background = ${colors.black}
foreground = ${colors.white}
line-color = ${colors.black}
border-color = ${colors.black}

width = 100%
height = 27
radius = 0
fixed-center = false
bottom = true

background = #0d1a3a
foreground = #657b83

line-size = 3
line-color = #ffffffe

border-size = 0
border-color = #ffffff

padding-left = 0
padding-right = 2
padding-right = 0

module-margin-left = 1
module-margin-right = 2

font-0 = "Fantasque Sans Mono:pixelsize=10;1"
font-1 = "Font Awesome 5 Free:style=Solid:pixelsize=10;1"
font-2 = "Font Awesome 5 Brands:pixelsize=10;1"
module-margin-right = 1

modules-left = date
modules-center = i3
modules-right = eth eth-usbc wlan pavolume filesystem battery1 battery2 powermenu
font-0 = "Fantasque Sans Mono:pixelsize=14;3"
font-1 = "Font Awesome 5 Free:style=Solid:pixelsize=14;3"
font-2 = "Font Awesome 5 Brands:pixelsize=14;3"
font-3 = "Noto Color Emoji:pixelsize=14;3"
font-4 = "Symbola:pixelsize=14;3"

tray-position = right
;tray-padding =
modules-left = i3
modules-center = date
; eth eth-usbc wlan pavolume filesystem battery1 battery2
modules-right = pavolume

cursor-click = pointer
cursor-scroll = ns-resize
Expand All @@ -47,37 +54,37 @@ wrapping-scroll = false
pin-workspaces = true

label-mode-padding = 2
label-mode-foreground = #0d1a3a
label-mode-background = #f9d72e

label-focused = %index%
label-focused-background = #b532b2
label-focused-foreground = #ffffff

label-focused-padding = 2

label-unfocused = %index%
label-unfocused-background = #302f56
label-unfocused-foreground = #7E807E
label-unfocused-padding = 2

label-visible = %index%
label-visible-background = #0d1a3a
label-visible-foreground = #ffffff
label-visible-padding = 2

label-urgent = %index%
label-urgent-background = #d0253d
label-urgent-padding = 2

label-mode-foreground = ${colors.black}
label-mode-background = ${colors.yellow}
label-focused-background = ${colors.yellow}
label-focused-foreground = ${colors.black}
label-unfocused-background = ${colors.black}
label-unfocused-foreground = ${colors.white}
label-visible-background = ${colors.black}
label-visible-foreground = ${colors.white}
label-urgent-background = ${colors.red}

[module/wlan]
type = internal/network
interface = wlp3s0
interval = 3.0

format-connected = <ramp-signal> <label-connected>
format-connected-foreground = #ffffff
format-connected-background = #0d1a3a
format-connected-padding = 2
format-connected = <ramp-signal>

label-connected = %essid%

format-disconnected =
Expand All @@ -87,18 +94,15 @@ ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = #b532b2

[module/eth-usbc]
type = internal/network
interface = enp60s0u1u2
interval = 3.0

format-connected-padding = 2
format-connected-foreground = #ffffff
format-connected-background = #0d1a3a

format-connected-prefix = " "
format-connected-prefix-foreground = #b532b2
label-connected = %local_ip%

format-disconnected =
Expand All @@ -109,10 +113,7 @@ interface = enp0s31f6
interval = 3.0

format-connected-padding = 2
format-connected-foreground = #ffffff
format-connected-background = #0d1a3a
format-connected-prefix = " "
format-connected-prefix-foreground = #b532b2
label-connected = %local_ip%

format-disconnected =
Expand All @@ -127,49 +128,17 @@ date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S

format-foreground = ${colors.white}
format-background = ${colors.blue}

format-prefix = 
format-foreground = #0d1a3a
format-background = #d0253d
format-padding = 2

label = %date% %time%

[module/powermenu]
type = custom/menu

expand-right = true

format-spacing = 1

label-open = 
label-open-foreground = #657b83
label-close =  cancel
label-close-foreground = #d0253d
label-separator = |
label-separator-foreground = #c93b59

menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2

menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = sudo reboot

menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0

[settings]
screenchange-reload = true

[global/wm]
margin-top = 0
margin-bottom = 0

[module/filesystem]
type = internal/fs

Expand All @@ -178,7 +147,7 @@ mount-0 = /

; Seconds to sleep between updates
; Default: 30
interval = 10
interval = 300

; Display fixed precision values
; Default: false
Expand All @@ -197,8 +166,6 @@ click-right = exec pavucontrol
click-left = ~/.config/polybar/pavolume --togmute
scroll-up = ~/.config/polybar/pavolume --up
scroll-down = ~/.config/polybar/pavolume --down
; format-foreground = ${colors.foreground}
; format-background = ${colors.background}

[module/battery1]
type = internal/battery
Expand All @@ -222,8 +189,8 @@ adapter = ADP1
; Default: 5
poll-interval = 5

label-charging = [external ↑ %percentage%%]
label-discharging = [external ↓ %percentage%%]
label-charging = E⇡
label-discharging = E↯

[module/battery2]
type = internal/battery
Expand All @@ -247,5 +214,5 @@ adapter = ADP1
; Default: 5
poll-interval = 5

label-charging = [internal ↑ %percentage%%]
label-discharging = [internal ↓ %percentage%%]
label-charging = I⇡ %percentage%%
label-discharging = I↯ %percentage%%
Loading

0 comments on commit e3fca66

Please sign in to comment.