Updated Nord theme (i3/rofi)

This commit is contained in:
dbroqua 2020-08-09 14:04:21 +02:00
parent 9ef6008669
commit bf287bde2e
3 changed files with 139 additions and 40 deletions

View file

@ -1,6 +1,6 @@
set $mod Mod4
font pango:DejaVu Sans Mono 10
font pango:DejaVu Sans Mono 9
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -117,22 +117,53 @@ mode "resize" {
bindsym $mod+r mode "resize"
# -------------------------------------------------------------------------------------------------
# COLORS
#
set $nord0 #2E3440
set $nord1 #3B4252
set $nord2 #434C5E
set $nord3 #4C566A
set $nord4 #D8DEE9
set $nord5 #E5E9F0
set $nord6 #ECEFF4
set $nord7 #8FBCBB
set $nord8 #88C0D0
set $nord9 #81A1C1
set $nord10 #5E81AC
set $nord11 #BF616A
set $nord12 #D08770
set $nord13 #EBCB8B
set $nord14 #A3BE8C
set $nord15 #B48EAD
#colors border back text indicator child_border
client.focused $nord9 $nord9 $nord0 $nord9 $nord9
client.focused_inactive $nord0 $nord0 $nord9 $nord0 $nord0
client.unfocused $nord0 $nord0 $nord9 $nord0 $nord0
client.urgent $nord13 $nord13 $nord0 $nord13 $nord13
client.placeholder $nord13 $nord13 $nord0 $nord13 $nord13
client.background $nord9
# -------------------------------------------------------------------------------------------------
# I3STATUS
#
bar {
# font pango:DejaVu Sans Mono, Icons 10
# font pango:DejaVu Sans Mono, Icons 9
status_command py3status
colors {
background $nord0
statusline $nord8
statusline $nord9
focused_workspace $nord3 $nord8
active_workspace $nord3 $nord8
inactive_workspace $nord8 $nord3
urgent_workspace $nord3 $nord15
focused_workspace $nord0 $nord9
active_workspace $nord0 $nord9
inactive_workspace $nord9 $nord0
urgent_workspace $nord0 $nord13
}
}
@ -207,9 +238,13 @@ bindsym XF86MonBrightnessDown exec --no-startup-id ~/Bin/brightness.sh down
bindsym XF86MonBrightnessUp exec --no-startup-id ~/Bin/brightness.sh up
# Spotify
bindsym XF86AudioPlay exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bindsym XF86AudioPrev exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
bindsym XF86AudioNext exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
#bindsym XF86AudioPlay exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
#bindsym XF86AudioPrev exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
#bindsym XF86AudioNext exec qdbus org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
# Rhythmbox
bindsym XF86AudioPlay exec qdbus org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.PlayPause
bindsym XF86AudioPrev exec qdbus org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Previous
bindsym XF86AudioNext exec qdbus org.mpris.MediaPlayer2.rhythmbox /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Next
# Take Screenshot
bindsym Print exec ~/Bin/screenshooter.sh
@ -221,35 +256,6 @@ bindsym XF86Display exec ~/Bin/screenlayout.sh
# Calendar
bindsym $mod+c exec "rxvt-unicode -e khal interactive"
# -------------------------------------------------------------------------------------------------
# COLORS
#
set $nord0 #2E3440
set $nord1 #3B4252
set $nord2 #434C5E
set $nord3 #4C566A
set $nord4 #D8DEE9
set $nord5 #E5E9F0
set $nord6 #ECEFF4
set $nord7 #8FBCBB
set $nord8 #88C0D0
set $nord9 #81A1C1
set $nord10 #5E81AC
set $nord11 #BF616A
set $nord12 #D08770
set $nord13 #EBCB8B
set $nord14 #A3BE8C
set $nord15 #B48EAD
#colors border back text indicator child_border
client.focused $nord3 $nord8 $nord0 $nord15 $nord8
client.focused_inactive $nord8 $nord3 $nord5 $nord15 $nord8
client.unfocused $nord8 $nord3 $nord5 $nord15 $nord3
client.urgent $nord3 $nord15 $nord0 $nord15 $nord15
client.placeholder $nord8 $nord8 $nord8
client.background $nord0
# -------------------------------------------------------------------------------------------------
# APP DEFAULT POSITION/DECORATIONS
#

View file

@ -1 +1 @@
rofi.theme: /usr/share/rofi/themes/Arc-Dark.rasi
rofi.theme: nord

93
config/rofi/nord.rasi Normal file
View file

@ -0,0 +1,93 @@
* {
nord0: #2e3440;
nord1: #3b4252;
nord2: #434c5e;
nord3: #4c566a;
nord4: #d8dee9;
nord5: #e5e9f0;
nord6: #eceff4;
nord7: #8fbcbb;
nord8: #88c0d0;
nord9: #81a1c1;
nord10: #5e81ac;
nord11: #bf616a;
nord12: #d08770;
nord13: #ebcb8b;
nord14: #a3be8c;
nord15: #b48ead;
background-color: @nord1;
border: 0px;
margin: 0px;
padding: 0px;
spacing: 0px;
text-color: @nord4;
}
#window {
location: north;
width: 33%;
}
#inputbar {
text-color: @nord3;
padding: 6px;
margin: 0px 0px 2px;
children: [ entry ];
}
#entry {
background-color: @nord3;
text-color: @nord4;
padding: 5px;
}
#message {
border: 0px 0px 1px;
border-color: @nord3;
padding: 0px 0px 6px 7px;
}
#listview {
lines: 10;
padding: 2px 0px 0px;
scrollbar: true;
}
#element {
padding: 0px 0px 0px 7px;
margin: 0px 0px 5px 0px;
text-color: @nord4;
}
#element.normal.normal {
text-color: @nord4;
}
#element.normal.urgent {
text-color: @nord11;
}
#element.normal.active {
text-color: @nord10;
}
#element.alternate.normal {
text-color: @nord4;
}
#element.alternate.urgent {
text-color: @nord11;
}
#element.alternate.active {
text-color: @nord10;
}
#element.selected.normal {
background-color: @nord8;
text-color: @nord1;
}
#element.selected.urgent {
background-color: @nord11;
text-color: @nord4;
}
#element.selected.active {
background-color: @nord10;
text-color: @nord4;
}
#scrollbar {
handle-color: @nord3;
handle-width: 0.50em;
}
#button.selected {
background-color: @nord8;
text-color: @nord4;
}